/* =========================================================
   Dr Khush Sinha — Consultant Dermatologist
   WordPress theme main stylesheet.
   Ported from the version3 HTML prototype's css/styles.css —
   design tokens and component CSS are otherwise unchanged.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Colour — peach ground, navy structure, coral accent */
  --navy:       #0C2846;
  --navy-deep:  #081C32;
  --peach:      #F6D6B8;
  --shell:      #FDF6EF;
  --sky:        #CDD7E1;
  --coral:      #E59680;
  --coral-ink:  #B04A2F;
  --ink-muted:  #5A7186;
  /* Second accent — controlled from Theme Options > Style (client picks
     Mustard / Teal / Coral-only once; see the [data-accent] overrides
     below, and dks_accent_attr() in inc/theme-options.php). */
  --accent2:          #D9A13B;
  --accent2-ink:      #8A6410;
  --accent2-contrast: #0C2846;
  --rule:       rgba(12, 40, 70, .12);
  --white:      #FFFFFF;

  /* Type families — heading face controlled from Theme Options > Style;
     see the [data-type] overrides below. */
  --font-display: "Jost", system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale */
  --text-micro: 12px;
  --text-label: 13px;
  --text-small: 15px;
  --text-body: 17px;
  --text-lead: 21px;
  --text-h3: 24px;
  --text-h2: 34px;
  --text-h1: 44px;
  --text-display-md: 56px;
  --text-display-lg: 72px;
  --text-display-xl: 96px;

  /* Weights */
  --fw-thin: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Tracking */
  --tracking-tight: -0.02em;
  --tracking-normal: 0em;
  --tracking-wide: 0.08em;
  --tracking-wider: 0.16em;
  --tracking-widest: 0.24em;

  /* Radius */
  --radius-sm: 50px;
  --radius-md: 30px;
  --radius-pill: 999px;

  /* Layout */
  --page-pad: 80px;
  --max-content: 1440px;
  --header-h: 81px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--shell);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: 3px; }

/* WordPress core relies on this utility class for skip links, search-form
   labels etc. (lesson 9) — without it those labels render visually. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(12,40,70,.6);
  clip: auto !important;
  clip-path: none;
  color: var(--navy);
  display: block;
  font-size: var(--text-small);
  font-weight: var(--fw-semibold);
  height: auto;
  left: 6px;
  line-height: normal;
  padding: 12px 18px;
  text-decoration: none;
  top: 6px;
  width: auto;
  z-index: 100000;
}

/* ---------- Typography helpers ---------- */
.display,
.serif { font-family: var(--font-display); font-weight: var(--fw-thin); letter-spacing: var(--tracking-tight); }

/* Fraunces ships WONK on by default, which produces the distorted h/m/n/s/&
   letterforms. Switch it off wherever the display face is used. */
.display, .serif, h1, h2, h3, h4,
.hero__title, .hero__subtitle, .film__title, .value-card__title,
.journey__title, .prov__name, .lead-head__title, .about-hero__title,
.svc-hero__title, .pub-hero__title, .expertise__quote, .pub__quote,
.closer__quote, .why__statement, .why__note, .footer-brand__name,
.pullquote, .philosophy__quote, .aim-sign, .pub-hero__quote {
  font-variation-settings: "WONK" 0;
  font-optical-sizing: auto; color: var(--coral-ink); font-weight: var(--fw-thin); }

.eyebrow {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  line-height: 1.23;
  text-transform: uppercase;
  color: var(--coral-ink);
}

.italic { font-style: italic; }

/* ---------- Layout primitives ---------- */
.section {
  padding-inline: var(--page-pad);
  padding-block: 100px;
}
.section--tight { padding-block: 90px; }
.section--lg { padding-block: 120px; }

.shell { max-width: var(--max-content); margin-inline: auto; }

/* ---------- Colour bands ----------
   Full-bleed background panels applied to <section>; the inner .shell still
   constrains content to the 1440px column. */
.band--peach     { background: var(--peach); color: var(--navy); }
.band--sky       { background: var(--sky);   color: var(--navy); }
.band--shell     { background: var(--shell); color: var(--navy); }
.band--navy      { background: var(--navy);  color: var(--peach); }
.band--navy-deep { background: var(--navy-deep); color: var(--peach); }

.band--navy h1, .band--navy h2, .band--navy h3,
.band--navy-deep h1, .band--navy-deep h2, .band--navy-deep h3 { color: var(--peach); }
.band--navy .eyebrow, .band--navy-deep .eyebrow { color: var(--sky); }

/* ---------- Line illustrations ---------- */
.illo { width: 64px; height: 64px; margin-bottom: 20px; overflow: visible; }
img.illo { object-fit: contain; object-position: left bottom; }
.illo__tint { fill: var(--sky); stroke: none; }
.band--sky .illo__tint { fill: var(--shell); }
.illo__accent { stroke: var(--coral); }
.band--navy .illo, .band--navy-deep .illo { color: var(--peach); }

.bleed-shell {
  padding-inline: max(var(--page-pad), calc((100% - var(--max-content)) / 2 + var(--page-pad)));
}

.divider { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.btn--primary {
  background: var(--coral);
  color: var(--navy);
  padding: 16px 32px;
  font-size: var(--text-small);
}
.btn--primary:hover { background: var(--navy); color: var(--peach); }
.btn--primary.btn--sm { padding: 12px 24px; font-size: var(--text-label); }

.btn--link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: var(--fw-semibold);
  font-size: var(--text-small);
  color: var(--navy);
}
.btn--link svg { transition: transform .2s ease; }
.btn--link:hover svg { transform: translateX(4px); }
.btn--link.on-dark { color: var(--peach); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--shell);
  border-bottom: 1px solid var(--rule);
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
  will-change: transform;
}
.site-header.is-hidden { transform: translateY(-100%); }

.site-header--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.site-header--overlay .brand__logo { transition: filter .3s ease; }
.site-header--overlay .brand__name,
.site-header--overlay .brand__role { transition: color .3s ease; }
body:not(.nav-open) .site-header--overlay:not(.is-solid) {
  background: transparent;
  border-bottom-color: transparent;
}
body:not(.nav-open) .site-header--overlay:not(.is-solid) .brand__logo { filter: brightness(0) invert(1); }
body:not(.nav-open) .site-header--overlay:not(.is-solid) .brand__name,
body:not(.nav-open) .site-header--overlay:not(.is-solid) .brand__role,
body:not(.nav-open) .site-header--overlay:not(.is-solid) .nav__link { color: var(--white); }
body:not(.nav-open) .site-header--overlay:not(.is-solid) .nav__link::after { background: var(--white); }
body:not(.nav-open) .site-header--overlay:not(.is-solid) .nav-toggle__bar { background: var(--white); }
body:not(.nav-open) .site-header--overlay:not(.is-solid) .nav .btn--primary {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--white);
  color: var(--white);
}
body:not(.nav-open) .site-header--overlay:not(.is-solid) .nav .btn--primary:hover {
  background: var(--white);
  color: var(--navy);
}
.site-header__inner {
  max-width: var(--max-content);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--page-pad);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand > span { display: flex; flex-direction: column; gap: 2px; }
.brand__logo { width: auto; height: 60px; flex-shrink: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--navy);
}
.brand__role {
  font-size: 10px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* wp_nav_menu() output — a custom walker (inc/blocks.php) emits flat <a>
   tags (no <ul><li>) to match this design exactly, so no li-margin
   workaround (lesson 3) is needed here. */
.nav { display: flex; align-items: center; gap: 44px; }
.nav__link {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--navy);
  position: relative;
  transition: color .15s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--coral);
  transition: width .2s ease;
}
.nav__link:hover { color: var(--coral-ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--coral-ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  margin: -8px;
}
.nav-toggle__bar {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle__bar + .nav-toggle__bar { margin-top: 6px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-deep); color: var(--peach); }
.site-footer__inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding: 80px 100px 48px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.footer-top {
  display: flex;
  gap: 64px;
  justify-content: space-between;
}
.footer-brand { display: flex; flex-direction: column; gap: 24px; max-width: 380px; }
.footer-brand__row { display: flex; align-items: center; gap: 14px; }
.footer-brand__logo { width: auto; height: 56px; flex-shrink: 0; filter: brightness(0) invert(1); }
.footer-brand__name {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 22px;
  color: var(--peach);
}
.footer-brand__blurb {
  font-size: var(--text-small);
  line-height: 1.65;
  color: var(--sky);
}
.footer-cols { display: flex; gap: 80px; }
.footer-col { display: flex; flex-direction: column; gap: 18px; }
.footer-col__head {
  font-size: var(--text-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin: 0;
}
.footer-col a,
.footer-col span {
  font-size: var(--text-small);
  line-height: 1.2;
  color: var(--peach);
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--peach); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(255 255 255 / 15%);
  padding-top: 28px;
}
.footer-bottom span {
  font-size: var(--text-label);
  color: var(--sky);
}

/* =========================================================
   Shared section pieces
   ========================================================= */

.value-grid { display: flex; gap: 24px; }
.value-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
.value-card__media { position: relative; margin: -36px -36px 12px; }
.value-card__img {
  width: 100%;
  max-width: none;
  height: 200px;
  object-fit: cover;
  display: block;
}
.value-card__badge {
  position: absolute;
  left: 24px;
  bottom: -18px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--accent2-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -12px rgba(12,40,70,.4);
}
.value-card__badge svg { width: 20px; height: 20px; }
.value-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--coral-ink);
}
.value-card__body { font-size: var(--text-small); line-height: 1.6; color: var(--navy); }

.tri-row { display: flex; gap: 48px; }
.tri-row__item {
  flex: 1;
  border-top: 1px solid var(--coral);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tri-row__title { font-family: var(--font-display); font-size: 22px; line-height: 1.27; color: var(--peach); }
.tri-row__body { font-size: var(--text-small); line-height: 1.6; color: var(--sky); }

/* =========================================================
   Home
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: calc(110px + var(--header-h)) 160px;
  background: var(--navy);
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8,28,50,.88) 0%, rgba(8,28,50,.6) 42%, rgba(12,40,70,.22) 72%, rgba(12,40,70,.12) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero .eyebrow { color: var(--peach); }
.hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: 84px;
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--shell);
}
.hero__subtitle {
  font-family: var(--font-display);
  font-weight: var(--fw-thin);
  font-size: 32px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--peach);
}
.hero__lede { font-size: var(--text-lead); line-height: 1.65; color: var(--shell); max-width: 560px; }
.hero__actions { display: flex; align-items: center; gap: 28px; }
.hero .btn--link { color: var(--shell); }

.film-section { padding-block: 100px 0; }
.film {
  width: calc(100% - var(--page-pad) * 2);
  max-width: calc(var(--max-content) - var(--page-pad) * 2);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  height: 470px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy);
}
.film__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,28,50,.95) 0%, rgba(8,28,50,.78) 36%, rgba(12,40,70,.18) 68%, rgba(12,40,70,.05) 100%),
    var(--film-image, url('../images/dr-khush-sinha.png')) right 46% / 56% no-repeat;
}
.film__tag {
  position: absolute;
  top: 40px; left: 48px;
  font-size: var(--text-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--peach);
}
.film__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 96px 48px 44px;
}
.film__title {
  font-family: var(--font-display);
  font-weight: var(--fw-thin);
  font-size: 44px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--peach);
}
.film__play { display: flex; align-items: center; gap: 18px; }
.film__play-btn {
  width: 72px; height: 72px;
  border: 1px solid var(--peach);
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  flex-shrink: 0;
  transition: background-color .2s ease, transform .2s ease;
}
.film__play-btn svg path { fill: var(--peach); transition: fill .2s ease; }
.film__play-btn:hover { background: var(--shell); transform: scale(1.04); }
.film__play-btn:hover svg path { fill: var(--coral-ink); }
.film__play-label {
  font-size: 14px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  color: var(--peach);
}

.commitments { display: flex; align-items: flex-start; gap: 72px; }
.commitments__intro {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.commitments__intro .lead-head__title { font-size: 38px; }
.commitments__intro::after {
  content: "";
  width: 64px;
  height: 2px;
  background: var(--accent2);
  margin-top: 8px;
}
.commitments .value-grid { flex: 1; min-width: 0; }

.lead-head { display: flex; flex-direction: column; gap: 28px; margin-bottom: 56px; }
.lead-head__title {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: 52px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
  max-width: 620px;
}
.lead-head__body { font-size: var(--text-body); line-height: 1.65; color: var(--navy); max-width: 560px; }

.journey-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.journey-head__text { display: flex; flex-direction: column; gap: 24px; }
.journey-head__cta { flex-shrink: 0; }

.journey-path { position: relative; margin-top: 72px; }
.journey-path__trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.journey-path__trail path {
  fill: none;
  stroke: var(--accent2-ink);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 0.1 12;
  opacity: .55;
}
@media (prefers-reduced-motion: no-preference) {
  .journey-path__trail path { animation: trail-march 18s linear infinite; }
}
@keyframes trail-march {
  to { stroke-dashoffset: -121; }
}

.journey-stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 48px;
  padding-bottom: 44px;
}
.journey-stop {
  position: relative;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    opacity .5s ease var(--d, 0s),
    scale .5s cubic-bezier(.34,1.56,.64,1) var(--d, 0s),
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}
.journey-stop:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -32px rgba(12,40,70,.45);
  border-color: var(--accent2);
}
.journey-stop .illo { width: 48px; height: 48px; margin-bottom: 8px; }
.journey-stop:nth-child(4) { grid-row: 2; grid-column: 3; }
.journey-stop:nth-child(5) { grid-row: 2; grid-column: 2; }
.journey-stop:nth-child(6) { grid-row: 2; grid-column: 1; }
.journey-stop:nth-child(1) { rotate: -1deg; }
.journey-stop:nth-child(2) { translate: 0 40px; rotate: 1.2deg; --d: .12s; }
.journey-stop:nth-child(3) { rotate: -0.6deg; --d: .24s; }
.journey-stop:nth-child(4) { rotate: 1deg; --d: .36s; }
.journey-stop:nth-child(5) { translate: 0 40px; rotate: -1.2deg; --d: .48s; }
.journey-stop:nth-child(6) { rotate: 0.8deg; --d: .6s; }

.journey-stop__num {
  position: absolute;
  top: -17px;
  left: 26px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--accent2);
  color: var(--accent2-contrast);
  display: grid;
  place-items: center;
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  box-shadow: 0 8px 16px -10px rgba(12,40,70,.55);
}
.journey__title { font-family: var(--font-display); font-size: 21px; line-height: 1.2; color: var(--coral-ink); }
.journey__body { font-size: var(--text-small); line-height: 1.6; color: var(--ink-muted); }

.journey-path--armed .journey-stop { opacity: 0; scale: .9; }
.journey-path--armed .journey-path__trail path { opacity: 0; transition: opacity 1.2s ease .3s; }
.journey-path--armed.is-in .journey-stop { opacity: 1; scale: 1; }
.journey-path--armed.is-in .journey-path__trail path { opacity: .5; }

.why {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: var(--peach);
  display: flex;
  flex-direction: column;
  gap: 56px;
  overflow: hidden;
}
.why__bg { position: absolute; inset: 0; z-index: -2; }
.why__bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.02);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 7s ease;
}
.why__bg-img.is-active { opacity: 1; transform: scale(1); }
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10,34,60,.9);
  mix-blend-mode: multiply;
}
.why::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8,28,50,.34);
}
.why:not(.why--has-bg)::before { background: var(--navy); mix-blend-mode: normal; }
.why:not(.why--has-bg)::after { background: none; }
.why__intro { display: flex; flex-direction: column; gap: 24px; max-width: 720px; }
.why__eyebrow { color: var(--sky); }
.why__statement {
  font-family: var(--font-display);
  font-weight: var(--fw-thin);
  font-size: 32px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--peach);
}
.why__note {
  font-family: var(--font-display);
  font-size: var(--text-lead);
  line-height: 1.4;
  color: var(--sky); font-weight: var(--fw-thin); }

.provenance {
  display: flex;
  align-items: stretch;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 20%);
  background: var(--navy);
  overflow: hidden;
  border-radius: var(--radius-md);
}
.prov {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 32px;
  border-right: 1px solid rgb(255 255 255 / 20%);
  overflow: hidden;
  transition: background-color .5s ease;
}
.prov:last-child { border-right: 0; }
.prov.is-active { background: rgba(255,255,255,.05); }
.prov__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--shell);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}
.prov.is-active .prov__bar {
  opacity: 1;
  animation: prov-fill var(--dur, 5s) linear forwards;
}
.provenance.is-paused .prov.is-active .prov__bar { animation-play-state: paused; }
@keyframes prov-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.prov__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 64px;
  max-width: 210px;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity .55s ease;
  pointer-events: none;
}
.prov.is-active .prov__logo { opacity: 0; }
[data-provenance] .prov__name,
[data-provenance] .prov__meta { opacity: 0; transition: opacity .45s ease; }
[data-provenance] .prov.is-active .prov__name,
[data-provenance] .prov.is-active .prov__meta { opacity: 1; }
.prov__name {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: 1.2;
  color: var(--peach);
}
.prov__meta { font-size: var(--text-small); line-height: 1.5; color: var(--sky); }

.why__link { align-self: flex-start; }

/* Contact / enquiry */
.contact { display: flex; gap: 96px; align-items: flex-start; }
.contact__intro { flex: 1.2; display: flex; flex-direction: column; gap: 32px; }
.contact__title {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: 52px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
}
.contact__body { font-size: 19px; line-height: 1.6; color: var(--navy); max-width: 440px; }
.contact__details { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; font-size: 16px; color: var(--navy); }

.enquiry {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.enquiry__title { font-family: var(--font-display); font-size: 24px; line-height: 1.25; color: var(--navy); }
.enquiry__note { font-size: 14px; line-height: 1.5; color: var(--navy); margin-top: 8px; }

/* ---- Gravity Forms override to match the .enquiry design (lesson 25:
   plugin CSS loads after ours, everything needs !important) ---- */
.enquiry .gform_wrapper { font-family: var(--font-sans) !important; }
.enquiry .gform_wrapper form { display: flex !important; flex-direction: column !important; gap: 22px !important; }
.enquiry .gform_wrapper .gform_body { width: 100% !important; }
.enquiry .gform_wrapper .gform_fields {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
  grid-row-gap: 0 !important;
}
.enquiry .gform_wrapper .gfield { margin: 0 !important; }
.enquiry .gform_wrapper .gfield_label {
  font-size: var(--text-micro) !important;
  font-weight: var(--fw-medium) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--ink-muted) !important;
  margin-bottom: 8px !important;
}
.enquiry .gform_wrapper .ginput_container input[type="text"],
.enquiry .gform_wrapper .ginput_container input[type="email"],
.enquiry .gform_wrapper .ginput_container input[type="tel"],
.enquiry .gform_wrapper .ginput_container textarea {
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  color: var(--navy) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ink-muted) !important;
  border-radius: 0 !important;
  padding: 0 0 12px !important;
  width: 100% !important;
  resize: none !important;
  box-shadow: none !important;
}
.enquiry .gform_wrapper input::placeholder,
.enquiry .gform_wrapper textarea::placeholder { color: var(--sky) !important; opacity: 1 !important; }
.enquiry .gform_wrapper input:focus,
.enquiry .gform_wrapper textarea:focus { outline: none !important; border-bottom-color: var(--accent2) !important; }
.enquiry .gform_wrapper .gfield_description,
.enquiry .gform_wrapper .instruction { font-size: 12px !important; color: var(--ink-muted) !important; }
.enquiry .gform_wrapper .gfield_validation_message,
.enquiry .gform_wrapper .validation_message {
  font-size: 12px !important;
  color: var(--coral-ink) !important;
  margin-top: 4px !important;
}
.enquiry .gform_wrapper .gfield_error .ginput_container input,
.enquiry .gform_wrapper .gfield_error .ginput_container textarea {
  border-bottom-color: var(--coral-ink) !important;
}
.enquiry .gform_wrapper .gform_validation_errors,
.enquiry .gform_wrapper .validation_error {
  font-size: 14px !important;
  color: var(--coral-ink) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
}
.enquiry .gform_wrapper .gform_footer { margin: 0 !important; padding: 0 !important; }
.enquiry .gform_wrapper .gform_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  border: 0 !important;
  border-radius: var(--radius-sm) !important;
  background: var(--coral) !important;
  color: var(--navy) !important;
  font-family: var(--font-sans) !important;
  font-weight: var(--fw-semibold) !important;
  font-size: var(--text-small) !important;
  letter-spacing: 0.02em !important;
  padding: 16px 32px !important;
  transition: background-color .18s ease, color .18s ease !important;
}
.enquiry .gform_wrapper .gform_button:hover { background: var(--navy) !important; color: var(--peach) !important; }
.enquiry .gform_wrapper .gform_confirmation_message {
  font-size: 15px !important;
  color: var(--accent2-ink) !important;
}

/* =========================================================
   About  (layout from screens/design-update.png)
   ========================================================= */
.about-hero {
  display: flex;
  gap: 80px;
  align-items: center;
}
.about-hero__text { flex: 1.2; display: flex; flex-direction: column; gap: 32px; justify-content: center; }
.about-hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-thin);
  font-size: 52px;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--navy);
}
.about-hero__lede { font-size: 18px; line-height: 1.65; color: var(--navy); max-width: 560px; }
.about-hero__media {
  position: relative;
  flex: 1;
  max-width: 520px;
}
.about-hero__media::before {
  content: "";
  position: absolute;
  inset: 44px -26px -26px 44px;
  background: var(--coral);
  opacity: .38;
  border-radius: var(--radius-md);
}
.about-hero__media::after {
  content: "";
  position: absolute;
  top: -28px;
  right: -34px;
  width: 110px;
  height: 132px;
  background-image: radial-gradient(var(--accent2) 1.6px, transparent 1.7px);
  background-size: 16px 16px;
  opacity: .65;
}
.about-hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius-md);
}

.prose { font-size: 19px; line-height: 1.7; color: var(--navy); }
.prose--sm { font-size: 18px; }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--coral-ink); font-weight: var(--fw-semibold); }

/* Utility for wpautop'd textarea/wysiwyg output inside bespoke containers
   (about-care__body, about-career__main, etc.) — same visual values as
   .prose--sm.prose, applied as an additional class so it never collides
   with sibling elements' own classes (e.g. .eyebrow) via specificity. */
.prose-body p { font-size: 18px; line-height: 1.7; color: var(--navy); margin: 0; }
.prose-body p + p { margin-top: 1em; }
.prose-body strong { color: var(--coral-ink); font-weight: var(--fw-semibold); }

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: rgb(246 214 184 / 55%);
  color: var(--coral-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--lg { width: 76px; height: 76px; }
.icon-badge--lg svg { width: 34px; height: 34px; }
.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgb(246 214 184 / 55%);
  color: var(--coral-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon-tile svg { width: 20px; height: 20px; }
.rule-accent { display: block; width: 56px; height: 2px; background: var(--accent2); }
.text-coral { color: var(--coral-ink); font-weight: var(--fw-semibold); }

.about-care { display: flex; align-items: center; gap: 64px; }
.about-care__head { display: flex; align-items: center; gap: 28px; flex: 0 0 340px; }
.about-care__title {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: 30px;
  line-height: 1.2;
  color: var(--navy);
}
.about-care__body { flex: 1; display: flex; flex-direction: column; gap: 20px; }

.about-career { display: flex; gap: 64px; }
.about-career__main { flex: 1.3; display: flex; flex-direction: column; gap: 24px; }
.quote-tile {
  flex: 1;
  align-self: stretch;
  background: rgb(246 214 184 / 45%);
  border-radius: var(--radius-md);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.quote-tile > svg { width: 34px; height: 34px; color: var(--coral); fill: var(--coral); stroke-width: 1; }
.quote-tile__text {
  font-family: var(--font-display);
  font-weight: var(--fw-thin);
  font-size: 22px;
  line-height: 1.45;
  color: var(--navy);
}

.about-exp { display: flex; flex-direction: column; gap: 40px; }
.about-exp__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.about-exp__quote {
  font-family: var(--font-display);
  font-weight: var(--fw-thin);
  font-size: 16px;
  line-height: 1.5;
  color: var(--coral-ink);
  max-width: 260px;
  flex-shrink: 0;
}
.about-exp__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.about-exp__item { display: flex; flex-direction: column; gap: 14px; padding-inline: 28px; }
.about-exp__item:first-child { padding-left: 0; }
.about-exp__item + .about-exp__item { border-left: 1px solid var(--rule); }
.about-exp__name { font-family: var(--font-display); font-weight: var(--fw-regular); font-size: 19px; line-height: 1.3; color: var(--navy); }
.about-exp__desc { font-size: var(--text-small); line-height: 1.55; color: var(--ink-muted); }
.info-strip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgb(205 215 225 / 40%);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--navy);
}
.info-strip svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-muted); margin-top: 2px; }

.about-roles { display: flex; gap: 64px; }
.about-roles__intro { flex: 1.2; display: flex; flex-direction: column; gap: 24px; }
.about-roles__list {
  flex: 1;
  border-left: 1px solid var(--rule);
  padding-left: 48px;
  display: flex;
  flex-direction: column;
}
.role { display: flex; gap: 18px; padding-block: 22px; }
.role + .role { border-top: 1px solid var(--rule); }
.role__title { font-family: var(--font-display); font-weight: var(--fw-regular); font-size: 19px; line-height: 1.3; color: var(--navy); }
.role__org { font-size: var(--text-label); line-height: 1.45; color: var(--ink-muted); margin-top: 4px; }

.section-head { display: flex; flex-direction: column; gap: 24px; max-width: 720px; margin-bottom: 64px; }
.section-head__title {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
}

.philosophy {
  width: calc(100% - var(--page-pad) * 2);
  max-width: calc(var(--max-content) - var(--page-pad) * 2);
  margin-inline: auto;
  margin-bottom: 120px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  box-shadow: 0 -1px 0 var(--rule), 0 24px 48px -32px rgba(12,40,70,.45);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-block: 96px;
}
.philosophy .eyebrow { margin-bottom: -8px; }
.philosophy__quote {
  font-family: var(--font-display);
  font-weight: var(--fw-thin);
  font-size: 64px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
  max-width: 1000px;
}
.philosophy__body { font-size: 18px; line-height: 1.7; color: var(--navy); max-width: 640px; }
.philosophy__lead {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-ink);
  padding-top: 8px;
}
.philosophy__questions {
  display: flex;
  width: min(760px, 100%);
  background: rgb(205 215 225 / 35%);
  border-radius: var(--radius-md);
  padding: 8px;
  margin-top: 12px;
}
.philosophy__q {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: var(--text-small);
  font-weight: var(--fw-medium);
  color: var(--navy);
}
.philosophy__q + .philosophy__q { border-left: 1px solid var(--rule); }
.philosophy__q svg { width: 20px; height: 20px; color: var(--coral-ink); flex-shrink: 0; }

.aim-quote {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--navy);
}
.aim-sign {
  font-family: var(--font-display);
  font-size: var(--text-lead);
  line-height: 1.4;
  color: var(--coral-ink);
  max-width: 620px;
  margin-top: 56px; font-weight: var(--fw-thin); }

/* =========================================================
   Services
   ========================================================= */
.svc-hero { display: flex; flex-direction: column; gap: 40px; padding-bottom: 0; }
.svc-hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: 72px;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--navy);
  max-width: 760px;
}
.svc-hero__lede { font-size: var(--text-body); line-height: 1.65; color: var(--navy); max-width: 480px; }

.stepper { position: relative; display: flex; align-items: flex-start; margin-top: 16px; }
.stepper::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 8.333%;
  right: 8.333%;
  height: 1px;
  background: var(--rule);
}
.stepper__progress {
  position: absolute;
  top: 32px;
  left: 8.333%;
  height: 1px;
  width: calc((100% - 16.666%) * var(--progress, 0));
  background: var(--accent2);
  transition: width .45s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  background: none;
  border: 0;
  padding: 0 4px;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.step__icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  border: 1px solid var(--rule);
  background: var(--white);
  padding: 12px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.step__icon img { height: 34px; width: auto; max-width: none; }
.step:hover .step__icon { border-color: var(--accent2); }
.step--done .step__icon { border-color: var(--accent2); }
.step--active .step__icon {
  border-color: var(--accent2);
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
  transform: scale(1.06);
}
.step__label { font-size: 12px; color: var(--ink-muted); text-align: center; transition: color .3s ease; }
.band--sky .step__label, .band--peach .step__label { color: var(--navy); }
.step:hover .step__label { color: var(--navy); }
.step--active .step__label { color: var(--navy); font-weight: var(--fw-medium); }

.stage {
  display: flex;
  flex-direction: row;
  gap: 56px;
  padding: 48px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 -1px 0 var(--rule), 0 24px 48px -32px rgba(12,40,70,.45);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.stage__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
}
.stage__aside { display: flex; flex-direction: column; gap: 16px; }
.stage__tag {
  font-size: var(--text-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.stage__title { font-family: var(--font-display); font-size: var(--text-h2); letter-spacing: -0.015em; line-height: 1.15; color: var(--navy); }
.stage__desc { font-size: 18px; line-height: 1.4; color: var(--ink-muted); max-width: 360px; }
.stage__list { width: 100%; }
.svc-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.svc-item:first-child { border-top: 1px solid var(--rule); }
.svc-item__num {
  flex-shrink: 0;
  width: 24px;
  font-size: var(--text-lead);
  line-height: 1;
  color: var(--accent2-ink);
}
.svc-item__name { font-size: var(--text-body); color: var(--navy); }

.stage__media {
  flex: 0 0 42%;
  align-self: stretch;
  min-height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sky);
}
.stage__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stage-scroll { position: relative; }
.stage-scroll__sticky {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 64px var(--page-pad);
  max-width: var(--max-content);
  margin-inline: auto;
}
.stage-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stage-scroll.is-enhanced .stage-scroll__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  justify-content: center;
  padding-block: clamp(72px, 11vh, 130px);
}
.stage-scroll.is-enhanced .stepper { flex-shrink: 0; }

.stage-scroll.is-enhanced .stage-stack {
  position: relative;
  gap: 0;
}
.stage-scroll.is-enhanced .stage-stack > .stage {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px);
  transition: opacity .55s ease, transform .6s cubic-bezier(.22,1,.36,1), visibility 0s linear .6s;
  pointer-events: none;
}
.stage-scroll.is-enhanced .stage-stack > .stage.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity .55s ease, transform .6s cubic-bezier(.22,1,.36,1), visibility 0s;
  pointer-events: auto;
}
.stage-scroll.is-enhanced .stage-stack > .stage.is-prev { transform: translateX(-48px); }

.cta {
  background: var(--navy);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-block: 120px;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: var(--fw-thin);
  font-size: 48px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--peach);
  max-width: 640px;
}
.cta .btn--primary { background: var(--coral); }
.cta .btn--primary:hover { background: var(--shell); color: var(--coral-ink); }

/* =========================================================
   Publications
   ========================================================= */
.pub-hero { display: flex; align-items: flex-start; gap: 80px; }
.pub-hero__main { flex: 1.15; display: flex; flex-direction: column; gap: 28px; }
.pub-hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: 60px;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--navy);
}
.pub-hero__quote {
  font-family: var(--font-display);
  font-weight: var(--fw-thin);
  font-size: 26px;
  line-height: 1.4;
  color: var(--coral-ink);
  max-width: 560px;
}
.pub-hero__aside {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 46px;
}
.pub-hero__lead { font-size: 19px; line-height: 1.6; font-weight: var(--fw-medium); color: var(--navy); }

.pub {
  display: flex;
  gap: 96px;
  padding-block: 90px;
  padding-inline: max(var(--page-pad), calc((100% - var(--max-content)) / 2 + var(--page-pad)));
  border-top: 1px solid var(--rule);
}
.pub--alt { background: var(--sky); }

.card-stack {
  padding-inline: max(var(--page-pad), calc((100% - var(--max-content)) / 2 + var(--page-pad)));
  padding-block: 40px 120px;
}
.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 56px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 -1px 0 var(--rule), 0 24px 48px -32px rgba(12,40,70,.45);
}
.stack-card + .stack-card { margin-top: 40px; }
.stack-card:nth-child(2) { top: calc(var(--header-h) + 42px); }
.stack-card:nth-child(3) { top: calc(var(--header-h) + 56px); }
.stack-card:nth-child(4) { top: calc(var(--header-h) + 70px); }
.stack-card:nth-child(odd) { background: var(--sky); }
.card-stack--flow .stack-card {
  position: static; top: auto; box-shadow: none; background: var(--white);
}
.stack-card--flow {
  /* .stack-card--flow: a self-sufficient modifier for blocks that are
     always used in "flowing" (non-sticky) context — About's four
     stack-card blocks apply this directly instead of requiring an
     outer .card-stack--flow wrapper (avoids hand-building a Group
     block in the content seeder just to get this override). Includes
     the width-centering .card-stack's own padding-inline normally
     provides — without a wrapper these blocks have nothing else
     constraining them to the shared content column, so they'd
     otherwise render edge-to-edge full width.

     background is !important because, without the .card-stack--flow
     ancestor, this is a single class (0,1,0) — lower specificity than
     .stack-card:nth-child(odd) (0,2,0) above. Depending on how many
     non-stack-card blocks precede it on the page, a card can land on
     an odd child index and pick up the sky alternation this variant
     is meant to always override. */
  position: static; top: auto; box-shadow: none; background: var(--white) !important;
  width: calc(100% - var(--page-pad) * 2);
  max-width: calc(var(--max-content) - var(--page-pad) * 2);
  margin-inline: auto;
}
/* Vertical rhythm .card-stack's own padding-block: 40px 120px normally
   provides before/after the group — approximated on the specific
   first/last blocks in the About sequence, since there's no wrapper to
   hang generic first/last-child rules on (:first-of-type/:last-of-type
   don't help here — every block on this page is a <section>, so they'd
   resolve against about-hero/about-aim, not these four cards). About's
   own hero already contributes its own 100px bottom padding before the
   first card. */
.about-care.stack-card--flow { margin-top: 40px; }
.about-roles.stack-card--flow { margin-bottom: 120px; }
.pub__aside { flex-basis: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.pub__tag {
  font-size: var(--text-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.pub__title { font-family: var(--font-display); font-size: var(--text-h2); letter-spacing: -0.015em; line-height: 1.15; color: var(--navy); }
.pub__quote { font-family: var(--font-display); font-size: 18px; line-height: 1.4; color: var(--coral-ink); font-weight: var(--fw-thin); }
.pub__main { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.pub__intro { font-size: 18px; line-height: 1.7; color: var(--navy); max-width: 600px; }

.feat {
  background: var(--shell);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feat__tag {
  font-size: var(--text-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent2-ink);
}
.feat__title { font-family: var(--font-display); font-size: 21px; line-height: 1.35; color: var(--navy); }
.feat__authors { font-size: 15px; line-height: 1.2; color: var(--navy); }
.feat__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  font-size: var(--text-label);
  font-weight: var(--fw-medium);
  color: var(--coral);
}
.feat__dot { width: 3px; height: 3px; border-radius: var(--radius-pill); background: var(--ink-muted); flex-shrink: 0; }

.pub-list { display: flex; flex-direction: column; }
.pub-row {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pub-row:last-child { border-bottom: 1px solid var(--rule); }
.pub-row__title { font-family: var(--font-display); font-size: 18px; line-height: 1.4; color: var(--navy); }
.pub-row__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--text-label); line-height: 1.23; }
.pub-row__authors { color: var(--navy); }
.pub-row__journal { color: var(--ink-muted); }

.closer { background: var(--navy); color: var(--peach); display: flex; flex-direction: column; gap: 56px; }
.closer__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; }
.closer__title {
  font-family: var(--font-display);
  font-weight: var(--fw-thin);
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--peach);
  max-width: 560px;
}
.closer__quote { font-family: var(--font-display); font-size: 20px; line-height: 1.4; color: var(--sky); max-width: 360px; font-weight: var(--fw-thin); }

/* =========================================================
   Heading face + accent — Theme Options-driven (was Style Lab)
   Same CSS mechanism the design site used for live preview
   (attribute selectors on the root element); here the attribute
   is written server-side once from ACF, not by client JS.
   See inc/theme-options.php + header.php.
   ========================================================= */
:root[data-type="jost"]      { --font-display: "Jost", system-ui, sans-serif; }
:root[data-type="bricolage"] { --font-display: "Bricolage Grotesque", system-ui, sans-serif; }
:root[data-type="marcellus"] { --font-display: "Marcellus", Georgia, "Times New Roman", serif; }
:root[data-type="italiana"]  { --font-display: "Italiana", Georgia, "Times New Roman", serif; }
:root[data-type="prata"]     { --font-display: "Prata", Georgia, "Times New Roman", serif; }
:root[data-type="zilla"]     { --font-display: "Zilla Slab", Georgia, "Times New Roman", serif; }
:root[data-type="fraunces"]  { --font-display: "Fraunces", Georgia, "Times New Roman", serif; }
:root[data-type="dmserif"]   { --font-display: "DM Serif Display", Georgia, "Times New Roman", serif; }

:root[data-accent="teal"] {
  --accent2: #256B65;
  --accent2-ink: #1D5F59;
  --accent2-contrast: #FDF6EF;
}
:root[data-accent="coral"] {
  --accent2: var(--coral);
  --accent2-ink: var(--coral-ink);
  --accent2-contrast: var(--navy);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  :root { --page-pad: 48px; }
  .hero__title { font-size: 72px; }
  .hero__subtitle { font-size: 30px; }
  .philosophy__quote { font-size: 52px; }
  .svc-hero__title, .pub-hero__title { font-size: 56px; }
  .why, .contact { gap: 56px; }
  .site-footer__inner { padding-inline: 48px; }
}

@media (max-width: 900px) {
  .section, .pub { padding-block: 72px; }
  .section--lg { padding-block: 88px; }

  .hero { padding-block: calc(88px + var(--header-h)) 100px; }
  .film-section { padding-top: 72px; }
  .film { height: 420px; }
  .film__inner { padding: 84px 32px 32px; }
  .film__title { font-size: 32px; }
  .commitments { flex-direction: column; gap: 40px; }
  .commitments__intro { flex-basis: auto; }

  .journey-head { flex-direction: column; align-items: flex-start; }
  .journey-path { margin-top: 48px; }
  .journey-path__trail { display: none; }
  .journey-stops {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 0;
    padding-left: 44px;
  }
  .journey-stops::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 12px;
    bottom: 12px;
    border-left: 3px dotted var(--accent2-ink);
    opacity: .5;
  }
  .journey-stop:nth-child(n) { grid-row: auto; grid-column: auto; translate: none; rotate: none; }
  .journey-stop__num { top: 22px; left: -44px; }

  .why, .contact, .about-hero, .pub, .stage, .pub-hero,
  .about-care, .about-career, .about-roles { flex-direction: column; gap: 40px; }
  .pub-hero__aside { padding-top: 0; }
  .about-care__head { flex-basis: auto; }
  .about-hero__media { max-width: none; }
  .about-exp__head { flex-direction: column; gap: 20px; }
  .about-exp__quote { max-width: none; }
  .about-exp__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-exp__item { padding-inline: 0; }
  .about-exp__item + .about-exp__item { border-left: 0; }
  .about-roles__list { border-left: 0; padding-left: 0; }
  .philosophy__questions { flex-direction: column; }
  .philosophy__q + .philosophy__q { border-left: 0; border-top: 1px solid var(--rule); }
  .stack-card { position: static; top: auto; padding: 40px; }
  .stack-card + .stack-card { margin-top: 24px; }
  .card-stack { padding-block: 24px 88px; }
  .stage { padding: 40px; }
  .stage-stack { gap: 24px; }
  .stage__media { flex: 0 0 auto; width: 100%; height: 300px; min-height: 0; align-self: auto; }
  .stage--flip { flex-direction: column; }
  .stage--flip .stage__aside { text-align: left; align-items: flex-start; }
  .pub__aside, .contact__intro, .enquiry, .stage__aside { flex-basis: auto; }
  .about-hero__media { min-height: 340px; }

  .provenance { flex-direction: column; }
  .prov { flex: 0 0 auto; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 20%); }
  .prov:last-child { border-bottom: 0; }

  .closer__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .value-grid, .tri-row { flex-wrap: wrap; gap: 24px; }
  .value-card, .tri-row__item { flex: 0 0 calc(50% - 12px); }

  .stepper { display: none; }

  .footer-top { flex-direction: column; gap: 40px; }
}

@media (max-width: 640px) {
  :root { --page-pad: 22px; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--shell);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--page-pad) 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .2s ease;
    box-shadow: 0 16px 28px -20px rgba(12,40,70,.4);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
  .nav__link::after { display: none; }
  .nav .btn--primary { margin-top: 16px; }
  body.nav-open { overflow: hidden; }
  .nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .brand__logo { width: auto; height: 48px; }

  .about-hero__media::before { inset: 24px -12px -12px 24px; }
  .about-hero__media::after { top: -18px; right: -6px; width: 84px; height: 100px; }

  .value-card, .tri-row__item { flex: 0 0 100%; }

  .stepper { display: none; }
  .tri-row { gap: 0; }
  .tri-row__item { border-top: 1px solid var(--coral); padding-block: 28px; }

  .hero { padding-top: calc(64px + var(--header-h)); }
  .hero__title { font-size: 52px; }
  .hero__subtitle { font-size: 26px; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__lede, .about-hero__lede { font-size: 18px; }

  .film-section { padding-top: 56px; }
  .film { height: 340px; }
  .film__inner { padding: 72px 24px 24px; gap: 28px; }
  .film__title { font-size: 26px; }

  .lead-head__title, .contact__title { font-size: 36px; }
  .about-hero__title { font-size: 38px; }
  .svc-hero__title, .pub-hero__title { font-size: 40px; }
  .philosophy { padding-block: 88px; }
  .philosophy__quote { font-size: 34px; }
  .aim-quote, .cta__title, .closer__title, .feat__title { font-size: 26px; }
  .stage__title, .pub__title { font-size: 28px; }
  .why__statement { font-size: 24px; }
  .provenance { flex-direction: column; gap: 0; }
  .prov { flex: 0 0 100%; padding: 28px; }
  .stage__body { flex-direction: column; gap: 28px; }
  .stage-scroll .stage__media { height: 220px; }
  .stage__body .stage__aside { flex-basis: 0; }
  .stage { padding: 28px; }

  .site-footer__inner { padding: 56px var(--page-pad) 40px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .feat { padding: 24px; }
}

@media print { .site-header, .nav-toggle, .lab { display: none; } }
