/* ============================================================
   EAST LIGHT — styles.css  (v5 · measured re-skin)
   Tokens below are MEASURED (see .measure/SPEC.md):
   paper #F4F4F0 · ink #343434 · dim #6D6D6D · label #999999
   type 52/52 · 32/32 · 22/30 · 18/24 · 14/20 ls1.4px
   spacing 20/40/80/120/160 · shell 1440 · gutter 80 · edge 20 · nav 72
   Display: Fraunces · UI: Inter
   ============================================================ */

/* ---------- Fonts, served from this origin ----------
   Self-hosted so the browser never opens fonts.googleapis.com and then
   fonts.gstatic.com before it can paint text — two DNS + TLS round trips
   off the critical path. Same variable files Google serves, latin and
   latin-ext ranges only; re-fetch from the Google Fonts v2 API to update. */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 650;
  font-display: swap;
  src: url('assets/fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 650;
  font-display: swap;
  src: url('assets/fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 650;
  font-display: swap;
  src: url('assets/fonts/fraunces-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 650;
  font-display: swap;
  src: url('assets/fonts/fraunces-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('assets/fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('assets/fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f4f4f0;
  --paper-grad-a: #f3f4ef;
  --ink: #343434;
  --ink-60: #6d6d6d;
  --ink-40: #999999;
  --role: #707070;
  --serif-dim: #b4b4ae;
  --line: rgba(52, 52, 52, 0.16);
  --line-soft: rgba(52, 52, 52, 0.09);
  --lime: #f8ffa9;
  --coral: #f86161;
  --placeholder: #cccccc;
  --white: #ffffff;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --shell-max: 1440px;
  --shell-pad: clamp(20px, 4.9vw, 80px);   /* 80 @1512 · 50 @1024 · 20 @390 (measured) */
  --edge: 20px;                             /* page-edge gutter: nav + footer */
  --grid-gap: 40px;
  --space-1: 20px;
  --space-2: 40px;
  --space-3: 80px;
  --space-4: 120px;
  --space-5: 160px;

  --sunset: #e75a0a;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --nav-h: 72px;
  /* nav paper sheet (driven by GSAP on home, by class elsewhere) */
  --sheet-y: -80;
  --sheet-o: 0;
}
@media (max-width: 768px) { :root { --grid-gap: 20px; } }

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
html,
body {
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--sunset); color: var(--white); }
::-moz-selection { background: var(--sunset); color: var(--white); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout primitives ---------- */
.shell {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.serif,
.h-display,
.h-statement,
.wordmark-giant,
.footer__statement {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 300;
}

.h-display {
  font-size: clamp(34px, 3.44vw, 52px);   /* 52/52 @1512 */
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
}
.h-display em { font-style: italic; font-weight: 300; }

/* Page title scale (Services / Approach heroes) */
.h-page {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 300;
  font-size: clamp(3rem, 7.6vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.h-page em { font-style: italic; }

.h-statement {
  font-size: clamp(34px, 3.44vw, 52px);   /* 52/52 @1512 */
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
}
.h-statement--italic { font-style: italic; }

/* Giant full-width wordmark — bold, like the reference */
.wordmark-giant {
  font-weight: 560;
  font-size: clamp(3rem, 14.4vw, 17.5rem);
  line-height: 0.84;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  display: block;
}

/* 14/20 · 700 · 1.4px · uppercase — nav, labels, links (measured) */
.label,
.eyebrow,
.link-caps,
.nav__link,
.nav__cta,
.subnav__label,
.footer__cols h4,
.footer__bar,
.stat__label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink);
}
/* 14/20 · 500 · 1.4px · uppercase · dim — tags, sources, secondary labels (measured) */
.eyebrow--dim,
.subnav__dim,
.stat__src {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-60);
}
.eyebrow--dim, .subnav__dim { color: var(--ink-40); }


.link-caps {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* no hover transition — the reference has none */
}
.link-caps .arr { font-size: 0.85em; }
.link-caps--u { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .link-caps--u .arr { animation: arr-float 2s var(--ease) infinite; }
  @keyframes arr-float { 0%, 100% { transform: none; } 50% { transform: translate(3px, -3px); } }
}

/* ============================================================
   NAV — bold links, bold serif wordmark
   ============================================================ */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: var(--white);
  background: transparent;
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}
.nav__inner {
  width: 100%;
  padding-inline: var(--edge);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__links {
  display: flex;
  gap: 40px;              /* measured: 20 / 110 / 230 */
  justify-self: start;
}
.nav__link,
.nav__cta { color: inherit; }
.nav__link { position: relative; }
.nav__wordmark {
  justify-self: center;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 590;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.nav__right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav.is-scrolled .nav__cta,
.nav--solid .nav__cta {
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;   /* plain, underlined, on paper */
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0 0 3px;
}

html:not(.js) .nav { position: absolute; }   /* no JS: nav only over the hero, never white on paper */

/* paper sheet that descends when the nav turns solid
   (measured: translateY -80 → 0 + opacity 0 → 1 over scrollY 80 → 140, smoothed) */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  transform: translateY(calc(var(--sheet-y) * 1px));
  opacity: var(--sheet-o);
}
html:not(.has-gsap) .nav::before {
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.nav.is-scrolled { --sheet-y: 0; --sheet-o: 1; }
.nav.is-scrolled,
.nav--solid {
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.nav--solid { background: var(--paper); }
.nav--solid::before { display: none; }
@media (prefers-reduced-motion: reduce) {
  .nav::before { transition: none; }
}
.nav.is-scrolled .nav__wordmark,
.nav--solid .nav__wordmark {
  opacity: 1;
  pointer-events: auto;
}

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 10px; justify-self: end; }
.nav__burger span { width: 24px; height: 1.7px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: var(--shell-pad);
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__main a {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.25;
}
body.menu-locked,
body.media-locked { overflow: hidden; }

@media (max-width: 860px) {
  .nav__links, .nav__right { display: none; }
  .nav__inner { grid-template-columns: 44px 1fr 44px; }
  .nav__wordmark { grid-column: 2; white-space: nowrap; font-size: 22px; }
  .nav__burger { display: flex; grid-column: 3; }
  body.menu-locked .nav__burger span:nth-child(1) { transform: translateY(6.7px) rotate(45deg); }
  body.menu-locked .nav__burger span:nth-child(2) { opacity: 0; }
  body.menu-locked .nav__burger span:nth-child(3) { transform: translateY(-6.7px) rotate(-45deg); }
}

/* ============================================================
   MEDIA SLOTS — photo drop system
   ============================================================ */
.media { position: relative; overflow: hidden; background: var(--placeholder); }
.media > img,
.media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media.is-empty > img,
.media.is-empty > video { display: none; }
.media.is-empty::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(52, 52, 52, 0.35);
}
.media.is-empty::after {
  content: "DROP → " attr(data-slot) "\A" attr(data-ratio);
  white-space: pre-line;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 2;
}

/* ============================================================
   HERO STAGE (home) — one pinned act, measured from the reference
   · pin held 3.74vh · frame 100% → 400×500 centred (power1.inOut, 0→3.53vh)
   · image sequence 01 → 02 → 03 in the frame, 04 is the card beneath it
   · giant wordmark rises −140% over the first 190px (smoothed)
   · statement chars scrubbed 2.9→3.5vh · note appears at 3.3vh
   Default CSS = STATIC layout (no JS / reduced motion): hero, then statement.
   `.stage--pin` (set by main.js when GSAP is available) = pinned layout.
   ============================================================ */
.stage {
  position: relative;
  background: var(--paper);
  --card-w: 400px;
  --card-h: 500px;
  --card-top: calc(50% - var(--card-h) / 2);
  --card-left: calc(50% - var(--card-w) / 2);
}
.stage__hero { position: relative; height: 100svh; min-height: 560px; overflow: clip; }
.stage__frame {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  background: var(--placeholder);
  z-index: 2;
}
.stage__media { position: absolute; inset: 0; }
.stage__media[data-stage-media="2"],
.stage__media[data-stage-media="3"],
.stage__media[data-stage-media="4"] { opacity: 0; visibility: hidden; }   /* revealed by the sequence */
.stage__hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(180deg, rgba(30, 30, 28, 0.25) 0%, rgba(30, 30, 28, 0) 30%, rgba(30, 30, 28, 0) 70%, rgba(30, 30, 28, 0.25) 100%);
  pointer-events: none;
}
.stage__word {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(18px, 3.2vh, 36px);
  z-index: 3;
  color: var(--white);
  pointer-events: none;
  font-size: clamp(3rem, 14.4vw, 17.5rem);
  line-height: 0.84;
  text-align: center;
  overflow: clip;
}
.stage__word .wordmark-giant { font-size: 1em; }

/* ---- statement: static layout (default) ---- */
.stage__statement { position: relative; padding-block: var(--space-4) var(--space-5); }
.statement__grid {
  position: relative;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
  min-height: calc(var(--card-h) + 160px);
}
.statement__img {
  width: var(--card-w);
  max-width: 100%;
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.statement__line1 { position: relative; z-index: 2; margin-top: -1em; }
.statement__line2 { position: relative; z-index: 2; margin-top: 24px; padding-left: 20%; }
.statement__note { margin-top: 40px; max-width: 420px; margin-left: auto; }
.statement__note .link-caps { margin-top: 40px; }
.statement__line1 .char,
.statement__line2 .char { display: inline-block; }

/* ---- statement: pinned layout (JS + GSAP) — measured positions @1512×900 ---- */
.stage--pin .stage__pin { position: relative; height: 100svh; min-height: 560px; overflow: clip; }
.stage--pin .stage__hero { position: absolute; inset: 0; height: auto; min-height: 0; overflow: visible; }
.stage--pin .stage__statement { position: absolute; inset: 0; z-index: 1; padding: 0; pointer-events: none; }
.stage--pin .statement__grid { position: absolute; inset: 0; max-width: none; padding: 0; min-height: 0; }
.stage--pin .statement__grid > * { pointer-events: auto; }
.stage--pin .statement__img {
  position: absolute;
  top: var(--card-top);
  left: var(--card-left);
  width: var(--card-w);
  height: var(--card-h);
  margin: 0;
  aspect-ratio: auto;
}
.stage--pin .statement__line1 {             /* ref: x 103, top 700 = card bottom */
  position: absolute;
  left: 6.8vw;
  top: calc(var(--card-top) + var(--card-h));
  margin: 0;
  white-space: nowrap;
}
.stage--pin .statement__line2 {             /* ref: x 416, top 776 */
  position: absolute;
  left: 27.5vw;
  top: calc(var(--card-top) + var(--card-h) + 76px);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.stage--pin .statement__note {              /* ref: x 996 (card right + 40), top 620, w 420 */
  position: absolute;
  left: calc(var(--card-left) + var(--card-w) + 40px);
  top: calc(var(--card-top) + var(--card-h) - 80px);
  width: 420px;
  max-width: calc(100vw - var(--card-left) - var(--card-w) - 60px);
  margin: 0;
}
.stage--pin .char { will-change: transform, opacity; }

@media (max-width: 1100px) {
  .stage { --card-w: 320px; --card-h: 400px; }
}
@media (max-width: 900px) {
  .stage { --card-w: 260px; --card-h: 325px; --card-top: 14vh; }
  .stage--pin .statement__line1 { left: 20px; top: calc(var(--card-top) + var(--card-h) + 20px); white-space: normal; }
  .stage--pin .statement__line2 { left: 40px; top: calc(var(--card-top) + var(--card-h) + 72px); white-space: normal; }
  .stage--pin .statement__note { left: 20px; right: 20px; width: auto; max-width: none; top: calc(var(--card-top) + var(--card-h) + 140px); }
  .stage--pin .statement__note .link-caps { margin-top: 24px; }
  .statement__line2 { padding-left: 0; }
  .statement__note { margin-left: 0; }
}
@media (max-width: 540px) {
  .stage { --card-w: 220px; --card-h: 275px; --card-top: 12vh; }
}

/* old static wave (kept for no-JS / reduced-motion) */
.wave-letter { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .stage:not(.stage--pin) .wave .wave-letter {
    opacity: 0;
    transform: translateY(0.55em) rotate(9deg);
    transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
    transition-delay: calc(var(--li) * 45ms);
  }
  .stage:not(.stage--pin) .wave.in-view .wave-letter { opacity: 1; transform: none; }
}

/* ============================================================
   STATS BAND (home) — treatment of the reference's card row:
   label row 14/20 700 · 4 cards on the 290/40 grid · 18/24 text
   ============================================================ */
.stats { padding-block: var(--space-4) var(--space-4); }
.stats__label { margin-bottom: 100px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.stat { padding: 0; }
.stat__num {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 300;
  font-size: clamp(34px, 3.44vw, 52px);     /* 52/52 (measured display size) */
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
}
.stat__label { margin-top: 24px; }
.stat__text { margin-top: 8px; font-size: 18px; line-height: 24px; font-weight: 500; color: var(--ink); max-width: 30ch; }
.stat__src { display: block; margin-top: 16px; color: var(--ink-40); }
@media (max-width: 1000px) { .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-2); } }
@media (max-width: 540px) { .stats__grid { grid-template-columns: 1fr; } }

/* ============================================================
   KIT FEATURE (home) — reference feature block, measured @1512:
   image 330 wide at x=156 · heading 52px at x=666 · para 18/24 at x=914 w=442
   ============================================================ */
.kit { padding-block: var(--space-4) var(--space-4); }
.kit__grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  column-gap: clamp(40px, 13.2vw, 200px);   /* 666 − (156+330) = 180 @1512 */
  align-items: start;
  padding-left: 40px;                        /* 156 − 116 */
}
.kit__img { width: 330px; max-width: 100%; aspect-ratio: 10 / 11; }
.kit__heading .h-display { display: block; }
.kit__heading { padding-top: 17px; }          /* 7087 − 7070 */
.kit__body {
  margin-top: 80px;                          /* 7279 − 7199 */
  margin-left: clamp(0px, 16.4vw, 248px);    /* 914 − 666 */
  max-width: 442px;
  font-size: 18px;
  line-height: 24px;
}
.kit__body .link-caps { margin-top: 40px; }
@media (max-width: 900px) {
  .kit__grid { grid-template-columns: 1fr; padding-left: 0; row-gap: 40px; }
  .kit__img { width: min(330px, 100%); }
  .kit__body { margin-left: 0; margin-top: 40px; }
}

/* ============================================================
   REACH (home — dark full-bleed) — reference: 1305px tall @1512 (0.863vw),
   white 22/30 paragraph at x=776 w=616 in the lower half
   ============================================================ */
.reach { position: relative; min-height: clamp(640px, 86.3vw, 1305px); color: var(--white); }
.reach .media { position: absolute; inset: 0; background: #23241f; }
.reach__scrim { position: absolute; inset: 0; background: rgba(16, 17, 13, 0.38); }
.reach__inner {
  position: relative;
  z-index: 2;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: var(--space-4) var(--shell-pad);
  min-height: clamp(640px, 86.3vw, 1305px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-3);
}
.reach__list-wrap { display: flex; gap: 40px; align-items: flex-start; }
.reach__label { font-size: 22px; line-height: 30px; font-weight: 500; white-space: nowrap; }
.reach__list li { font-size: 22px; line-height: 30px; font-weight: 500; }
.reach__list .amp { margin-right: 8px; }
.reach__para {
  margin-left: clamp(0px, 43.65vw, 660px);   /* 776 − 116 */
  max-width: 616px;
  font-size: 22px;
  line-height: 30px;
  font-weight: 500;
}
@media (max-width: 900px) {
  .reach__list-wrap { flex-direction: column; gap: 16px; }
  .reach__para { margin-left: 0; }
}

/* ============================================================
   TRUST BAR (home) — editorial serif ticker, framed by hairlines,
   items separated by a small sunset asterisk
   ============================================================ */
.trustbar {
  padding-block: clamp(26px, 2.6vw, 38px);
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
}
.trustbar__track {
  display: flex;
  align-items: baseline;
  width: max-content;
  animation: caps-scroll 34s linear infinite;
}
.trustbar__item {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 300;
  font-size: clamp(20px, 1.85vw, 28px);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--ink);
}
.trustbar__item:nth-child(even) { font-style: italic; }
.trustbar__item::after {
  content: "✳";
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.5em;
  color: var(--sunset);
  align-self: center;
  margin-inline: clamp(26px, 2.6vw, 48px);
}
@media (prefers-reduced-motion: reduce) {
  .trustbar__track { animation: none; flex-wrap: wrap; width: auto; row-gap: 10px; }
}

/* ============================================================
   VALUES (home)
   ============================================================ */
.values { position: relative; min-height: clamp(640px, 83.1vw, 1257px); color: var(--white); overflow: hidden; }  /* ref 1257 @1512 */
.values .media { position: absolute; inset: 0; background: #6b6337; }
.values__scrim { position: absolute; inset: 0; background: rgba(30, 28, 14, 0.22); }
.values__inner { position: relative; z-index: 2; height: clamp(640px, 83.1vw, 1257px); }
.values__item { position: absolute; font-size: 22px; line-height: 26.4px; font-weight: 500; white-space: nowrap; }  /* ref 22/26.4 white */
.values__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.values__lines path { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1; }
.values__cta {
  position: absolute;
  left: 50%;
  top: 91%;
  transform: translateX(-50%);
  color: var(--white);
}
@media (max-width: 1100px) {
  .values__item { font-size: 18px; line-height: 22px; }
}
@media (max-width: 768px) {
  .values__lines { display: none; }
  .values__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    height: auto;
    min-height: clamp(420px, 90vw, 640px);
    padding: 64px var(--edge);
  }
  .values__item, .values__cta { position: static; white-space: normal; }
  .values__cta { transform: none; margin-top: 8px; }
}
/* fallback entrance when GSAP is absent (the scrubbed draw lives in main.js) */
@media (prefers-reduced-motion: no-preference) {
  html:not(.has-gsap) .values__item,
  html:not(.has-gsap) .values__cta {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--d, 0s);
  }
  html:not(.has-gsap) .values__cta { transform: translate(-50%, 14px); }
  html:not(.has-gsap) .values__lines path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 2.4s var(--ease) 0.3s;
  }
  html:not(.has-gsap) .values.in-view .values__item { opacity: 1; transform: none; }
  html:not(.has-gsap) .values.in-view .values__cta { opacity: 1; transform: translateX(-50%); }
  html:not(.has-gsap) .values.in-view .values__lines path { stroke-dashoffset: 0; }
}

/* ============================================================
   PAGE HERO (inner pages) — big title left, paragraph right
   ============================================================ */
.page-hero { padding-top: calc(var(--nav-h) + clamp(70px, 11vh, 140px)); padding-bottom: clamp(44px, 5vw, 80px); }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 110px);
  align-items: start;
}
.page-hero__para {
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  padding-top: clamp(4px, 1.4vw, 26px);
}
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } }

/* Full-width image band under page hero */
.band { padding-block: clamp(28px, 4vw, 64px) 0; }
.band__media { width: 100%; aspect-ratio: 16 / 6.5; min-height: 300px; max-height: 70vh; }

/* Sub-nav (sticky section header, reference pattern) */
.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-block: 16px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.subnav { gap: 40px; }                                 /* label x=20 → dim x=170 (ref: 150 apart incl. width) */
.subnav__right { margin-left: auto; }
.subnav__counter {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .subnav__counter { position: static; transform: none; margin-left: auto; }
  .subnav { gap: 20px; }
}

/* ============================================================
   SERVICES — sticky serif stack + right detail blocks
   ============================================================ */
.svcstack {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 110px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 80px) clamp(60px, 8vw, 130px);
}
.svcstack__left {
  position: sticky;
  top: calc(var(--nav-h) + 70px);
}
.svcstack__names { position: relative; }
.svcstack__name {
  display: block;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.9rem, 3.5vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--serif-dim);
  transition: color 0.45s var(--ease), font-style 0s;
  cursor: pointer;
  width: fit-content;
}
.svcstack__name:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.svcstack__name.is-active {
  font-style: normal;
  color: var(--ink);
}
/* One square, travelling: it rides down to whichever service is active and swaps
   to that service's icon on the way. */
.svcstack__thumb {
  position: absolute;
  width: clamp(46px, 4.6vw, 72px);
  aspect-ratio: 1;
  z-index: 2;
  top: 0;
  left: 0;
  transition: transform 0.6s var(--ease);
  pointer-events: none;
  overflow: hidden;
}
.svcstack__thumb img { width: 100%; height: 100%; object-fit: cover; }

.svcblock { min-height: 88vh; padding-top: 10vh; }
.svcblock__group {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 18px;
}
.svcblock__title { display: none; }
.svcblock__para { font-size: 1.0625rem; line-height: 1.55; color: var(--ink); max-width: 46ch; }
.svcblock__list { margin-top: 26px; }
.svcblock__list li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
}
.svcblock .ba-mini,
.svcblock .svcmedia { margin-top: 30px; }
.svcsocial-row { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 56px); margin-top: 30px; }
.svcsocial-row .svcmedia--reel { width: min(330px, 70%); flex: 0 0 auto; }
.svcsocial-row .svcmedia { margin-top: 0; }
.svcsocial { display: flex; flex-direction: column; min-width: 230px; }
.svcsocial__label { margin-bottom: 12px; }
.svcsocial__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.svcsocial__row:first-of-type { border-top: 1px solid var(--line-soft); }
.svcsocial__row img { width: 20px; height: 20px; display: block; }
.svcsocial__row .ok { margin-left: auto; color: var(--sunset); font-size: 13px; }
.svcsocial__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 19px;
  font-weight: 500;
  color: var(--ink-60);
  max-width: 26ch;
}

@media (max-width: 900px) {
  .svcstack { grid-template-columns: 1fr; }
  .svcstack__left { position: static; }
  .svcstack__thumb { width: clamp(38px, 9vw, 52px); }
  .svcblock { min-height: 0; padding-top: 8vh; }
}

/* ---------- Before/After — scroll sweeps the wipe, a drag takes it over ----------
   Both frames are absolutely positioned at the same size, and only the after
   layer's clip edge moves, so neither photo shifts by a pixel as it sweeps.
   The whole frame is the drag surface (main.js): a bare range input only tracks
   touches that start on its thumb, which is why phones could tap but not drag. */
.ba,
.ba-mini {
  position: relative;
  overflow: hidden;
  background: var(--placeholder);
  cursor: ew-resize;
  touch-action: pan-y pinch-zoom;   /* a vertical swipe still scrolls the page */
  -webkit-user-select: none;
  user-select: none;
  --pos: 50%;   /* clip edge  · 100% = all before, 0% = all after */
  --p: 0.5;     /* the same sweep as a 0→1 number, for the labels */
}
.ba-mini { aspect-ratio: var(--ba-ar, 4 / 3); max-width: 560px; }
.ba { aspect-ratio: var(--ba-ar, 4 / 3); max-height: 80vh; }
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  backface-visibility: hidden;
  pointer-events: none;         /* the frame is the drag surface; keeps a mouse
                                   drag from turning into a native image drag */
  -webkit-user-drag: none;
}
.ba__after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
  will-change: clip-path;
}
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  pointer-events: none;
  z-index: 2;
}
.ba__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 12px rgba(30, 30, 28, 0.3);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}
/* The range input is the keyboard route into the wipe (and what screen readers
   announce). Pointer/touch dragging is handled on the frame itself, so the input
   stays out of the way of it — otherwise the two fight over the same gesture. */
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  z-index: 3;
  opacity: 0;
  background: transparent;
  border: 0;
  pointer-events: none;                /* still focusable by keyboard */
  -webkit-appearance: none;
  appearance: none;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 1px; height: 100%; }
.ba__range::-moz-range-thumb { width: 1px; height: 100%; border: 0; border-radius: 0; }
.ba:has(.ba__range:focus-visible),
.ba-mini:has(.ba__range:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) {
  .ba:hover .ba__handle::after,
  .ba-mini:hover .ba__handle::after { transform: translate(-50%, -50%) scale(1.35); }
}
.ba.is-grabbed .ba__handle::after,
.ba-mini.is-grabbed .ba__handle::after { transform: translate(-50%, -50%) scale(1.35); }
.ba__tag {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  pointer-events: none;
}
.ba__tag--before { left: 12px; background: rgba(52, 52, 52, 0.85); color: var(--paper); }
.ba__tag--after { right: 12px; background: var(--lime); color: var(--ink); }
/* each label only claims the frame while its own half is actually showing */
.ba .ba__tag--before,
.ba-mini .ba__tag--before { opacity: clamp(0, calc((1 - var(--p)) * 6.5), 1); }
.ba .ba__tag--after,
.ba-mini .ba__tag--after { opacity: clamp(0, calc(var(--p) * 6.5), 1); }
.ba.is-empty .ba__img, .ba.is-empty .ba__handle, .ba.is-empty .ba__tag, .ba.is-empty .ba__range,
.ba-mini.is-empty .ba__img, .ba-mini.is-empty .ba__handle, .ba-mini.is-empty .ba__tag, .ba-mini.is-empty .ba__range { display: none; }
.ba.is-empty::before,
.ba-mini.is-empty::before,
.svcmedia.is-empty::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(52, 52, 52, 0.35); }
.ba.is-empty::after,
.ba-mini.is-empty::after,
.svcmedia.is-empty::after {
  content: "DROP → " attr(data-slot) "\A" attr(data-ratio);
  white-space: pre-line;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink); line-height: 2;
}

/* ---------- Service media — silent looping video + finished stills ---------- */
.svcmedia {
  position: relative;
  overflow: hidden;
  background: var(--placeholder);
  aspect-ratio: var(--m-ar, 16 / 9);
  max-width: 560px;
}
.svcmedia--reel { max-width: 330px; }
.svcmedia__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.svcmedia.is-empty .svcmedia__el, .svcmedia.is-empty .ba__tag { display: none; }

/* ============================================================
   APPROACH — measured @1512×900
   hero: title 52px 2 lines at x 708 / 799 (y 275 / 335) · para 18/24 at x 902 w 306 (y 428)
         img A 324×259 at (304,561) · img B 154×193 at (708,427) · hero block ≈ 1050 tall
   pillars: 1213px pitch · title 32/32 at x 665 w 541 · numeral 265/265 200 at x 306 · text +244
   capabilities: 52px italic serif marquee, 120px gaps · CTA: img 323×258 at x 176, title 52 at x 659,
   para 18/24 at x 894 w 442
   ============================================================ */
.ap-hero {
  position: relative;
  padding: 0;
  height: clamp(720px, 69.4vw, 1050px);        /* 1050 @1512 */
  max-width: none;
}
.ap-hero__title {
  position: absolute;
  left: 46.8vw;                                 /* 708 */
  top: calc(var(--nav-h) + 203px);              /* 275 */
  width: auto;
  margin: 0;
  padding: 0;
}
.ap-hero__title .h-page {
  display: block;
  font-size: clamp(34px, 3.44vw, 52px);         /* 52/52 (measured) */
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.ap-hero__title .h-page + .h-page { padding-left: 6vw; margin-top: 8px; }   /* 799 − 708, 335 − 327 */
.ap-hero__para {
  position: absolute;
  left: 59.7vw;                                 /* 902 */
  top: 428px;
  width: 306px;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 24px;
}
.ap-hero__img-a {
  position: absolute;
  left: 20.1vw;                                 /* 304 */
  top: 561px;
  bottom: auto;
  width: 324px;
  aspect-ratio: 324 / 259;
}
.ap-hero__img-b {
  position: absolute;
  left: 46.8vw;                                 /* 708 */
  top: 427px;
  bottom: auto;
  width: 154px;
  aspect-ratio: 154 / 193;
}
@media (max-width: 1100px) {
  .ap-hero__title { left: 40vw; }
  .ap-hero__para { left: 56vw; }
}
@media (max-width: 900px) {
  .ap-hero { height: auto; padding: calc(var(--nav-h) + 80px) var(--edge) 80px; }
  .ap-hero__title, .ap-hero__para, .ap-hero__img-a, .ap-hero__img-b { position: static; width: auto; }
  .ap-hero__title .h-page { white-space: normal; }
  .ap-hero__title .h-page + .h-page { padding-left: 0; }
  .ap-hero__para { margin-top: 40px; max-width: 42ch; }
  .ap-hero__img-a { width: min(324px, 100%); margin-top: 40px; }
  .ap-hero__img-b { display: none; }
}

/* pillars — two columns centred: numeral 306→629 · text 665→1206 */
.steps-wrap .subnav { padding-inline: var(--edge); }
.steps { max-width: 900px; margin-inline: auto; position: relative; }
.steps__line {
  position: absolute;
  left: 341px;                       /* centre of the 36px gutter between the columns */
  top: 140px;
  bottom: 120px;
  width: 1px;
  background: var(--ink-40);
  transform-origin: top;
  opacity: 0.55;
}
@media (prefers-reduced-motion: no-preference) {
  html.has-gsap .steps__line { transform: scaleY(0); }   /* drawn by scroll */
}
@media (max-width: 1000px) { .steps__line { left: 218px; } }
@media (max-width: 640px) { .steps__line { display: none; } }
.step {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 323px minmax(0, 541px);
  column-gap: 36px;
  align-items: start;
  padding: 231px 0 0;                            /* title top 1301 − label row 1070 */
  height: 1213px;                                /* measured pitch */
}
.step:last-of-type { height: auto; padding-bottom: 160px; }
.step__no {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin-top: 119px;                             /* numeral top = title top + 119 */
  font-family: var(--sans);
  font-weight: 200;                              /* Messina Thin → Inter 200 */
  font-size: 265px;
  line-height: 265px;
  letter-spacing: 0;
  color: var(--ink);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.step__body { grid-column: 2; grid-row: 1; padding: 0; max-width: 541px; }
.step__title {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 300;
  font-size: 32px;
  line-height: 32px;
  letter-spacing: -0.32px;
  color: var(--ink);
}
.step__text { margin-top: 180px; font-size: 18px; line-height: 24px; color: var(--ink); max-width: 541px; }  /* 1545 − 1301 − 64 */
.step__rule { display: none; }                   /* no rule in the reference */
@media (max-width: 1000px) {
  .steps { max-width: none; padding-inline: var(--shell-pad); }
  .step { grid-template-columns: 200px minmax(0, 1fr); padding-top: 120px; height: auto; padding-bottom: 120px; }
  .step__no { font-size: 160px; line-height: 160px; margin-top: 40px; }
  .step__text { margin-top: 60px; }
}
@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; padding-block: 80px; }
  .step__no { grid-row: auto; font-size: 120px; line-height: 120px; margin-top: 0; }
  .step__body { grid-column: 1; grid-row: auto; }
  .step__text { margin-top: 32px; }
}

/* capabilities marquee — 52px italic serif, 120px gaps (measured) */
.capsband { padding-block: var(--space-2) var(--space-5); overflow: hidden; }
.capsband .subnav { max-width: none; padding-inline: var(--edge); }
.capsband__track {
  display: flex;
  align-items: baseline;
  gap: 120px;
  width: max-content;
  animation: caps-scroll 60s linear infinite;
  margin-top: 80px;                              /* 5450 − 5350 − 20 */
}
@keyframes caps-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .capsband__track { animation: none; flex-wrap: wrap; width: auto; gap: 40px; } }
.capsband__item {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 300;
  font-style: italic;                            /* all italic in the reference */
  font-size: clamp(34px, 3.44vw, 52px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
}

/* CTA feature — img 323×258 at x 176 · title 52px at x 659 · para at x 894 w 442 */
.cta-feature { padding-block: var(--space-4) var(--space-5); }
.cta-feature__grid {
  display: grid;
  grid-template-columns: 323px minmax(0, 1fr);
  column-gap: clamp(40px, 10.6vw, 160px);      /* 659 − 499 */
  align-items: start;
  padding-left: 60px;                            /* 176 − 116 */
}
.cta-feature__img { width: 323px; max-width: 100%; aspect-ratio: 323 / 258; margin-top: 31px; }  /* 6643 − 6612 */
.cta-feature__body .h-display { display: block; white-space: nowrap; }
.cta-feature__body .h-display + .h-display { padding-left: 0; margin-top: 8px; }
.cta-feature__para {
  margin-top: 30px;                              /* 6694 − (6612+52) */
  margin-left: clamp(0px, 15.5vw, 235px);        /* 894 − 659 */
  max-width: 442px;
  font-size: 18px;
  line-height: 24px;
}
.cta-feature__para .link-caps { margin-top: 40px; }
@media (max-width: 900px) {
  .cta-feature__grid { grid-template-columns: 1fr; padding-left: 0; row-gap: 40px; }
  .cta-feature__img { margin-top: 0; }
  .cta-feature__body .h-display { white-space: normal; }
  .cta-feature__para { margin-left: 0; }
}

/* ============================================================
   FAQ — centered narrow column, uppercase questions
   ============================================================ */
.faq-wrap { max-width: 760px; margin-inline: auto; padding-inline: var(--shell-pad); }
.faq-intro {
  padding-top: calc(var(--nav-h) + clamp(70px, 11vh, 130px));
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 34ch;
}
.faq-group { padding-top: clamp(64px, 8vw, 110px); }
.faq-group__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 10px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-block: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink-60);
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .a { padding-bottom: 26px; color: var(--ink-60); font-size: 0.9375rem; line-height: 1.65; max-width: 60ch; }
.faq-item .a a { border-bottom: 1px solid var(--line); }
.faq-end { padding-block: clamp(80px, 10vw, 150px) 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding-block: clamp(44px, 5vw, 80px) 0; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 120px);
  align-items: start;
}
.about__portrait .media { aspect-ratio: 4 / 5; }
.about__id { margin-top: 18px; }
.about__id strong { display: block; font-size: 1rem; font-weight: 700; letter-spacing: 0.01em; }
.about__id span { display: block; margin-top: 3px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-60); }
.about__text {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 300;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  padding-top: clamp(6px, 2vw, 30px);
}
.about__sig {
  margin-top: clamp(28px, 3.4vw, 48px);
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  color: var(--ink);
}
.about__video { padding-block: clamp(80px, 10vw, 150px) clamp(90px, 12vw, 170px); }
.about__video .media { aspect-ratio: 16 / 9; }
.about__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CLOSING CTA (simple centered)
   ============================================================ */
.cta-end { text-align: center; padding-block: clamp(90px, 12vw, 180px); }
.cta-end .h-display { max-width: 18ch; margin-inline: auto; }
.cta-end__lede { margin: 26px auto 0; max-width: 50ch; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-60); }
.cta-end__links { margin-top: 44px; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }

/* ============================================================
   FOOTER — reference @1512: statement 32/32 300 at page edge (x=20, w 575),
   "Get in touch" 104px below · columns 203 wide at x 1049 / 1289 ·
   heads 14/20 700 · links 18/24 500 at 32px pitch · bottom bar 14/20 700
   (marquee + giant wordmark are ours — kept by decision)
   ============================================================ */
.footer {
  /* measured on the reference footer: linear fade, paper at the top →
     a 70% tint of the accent at the very bottom — accent here = sunset */
  background: linear-gradient(180deg, var(--paper) 0%, color-mix(in srgb, var(--sunset) 70%, var(--paper)) 100%);
  padding-top: var(--space-4);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2);
  align-items: start;
  max-width: none;
  padding-inline: var(--edge);              /* statement sits at the page edge */
}
.footer__statement {
  font-size: clamp(24px, 2.12vw, 32px);       /* 32/32 */
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.01em;
  max-width: 575px;
}
.footer__top .link-caps { margin-top: 32px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 203px);
  gap: 36px;
}
.footer__cols h4 { margin-bottom: 20px; }
.footer__cols li { font-size: 18px; line-height: 24px; font-weight: 500; margin-bottom: 8px; }  /* 32px pitch */
.footer__cols a:hover { text-decoration: none; }
/* page hidden from the public build — red marks it for us */
.footer__cols a[href="about.html"],
.menu a[href="about.html"] { color: #c0392b; }

.footer__marquee { margin-top: var(--space-4); overflow: hidden; }
.footer__marquee-track {
  display: flex;
  align-items: baseline;
  gap: clamp(56px, 8vw, 150px);
  width: max-content;
  animation: caps-scroll 40s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .footer__marquee-track { animation: none; flex-wrap: wrap; width: auto; } }
.fmk { white-space: nowrap; color: var(--ink); line-height: 1; }
.fmk--serif { font-family: var(--display); font-weight: 300; font-size: 32px; }
.fmk--serif-i { font-family: var(--display); font-weight: 300; font-style: italic; font-size: 32px; }
.fmk--bold { font-weight: 700; font-size: 14px; line-height: 20px; letter-spacing: 1.4px; text-transform: uppercase; }
.fmk--wide { font-weight: 700; font-size: 14px; line-height: 20px; letter-spacing: 0.3em; text-transform: uppercase; }
.fmk--mono { font-family: "SF Mono", ui-monospace, monospace; font-weight: 500; font-size: 14px; line-height: 20px; letter-spacing: 0.06em; text-transform: uppercase; }

.footer__wordmark { margin-top: var(--space-3); color: var(--ink); }
.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px var(--edge) 20px;
  max-width: none;
}
.footer__bar-right { display: flex; gap: clamp(20px, 4vw, 60px); }
.footer__loc-full { display: inline; }
.footer__loc-short { display: none; }
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top .link-caps { margin-top: 40px; }
}

/* ============================================================
   REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0.001;
    transform: translateY(40px);          /* measured default: y 40 → 0 */
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .reveal--far { transform: translateY(150px); transition-duration: 0.9s; } /* numerals, big blocks */
  .reveal.in-view { opacity: 1; transform: none; }
  /* word reveal (approach headings): y 10 → 0 + fade, 140ms per word, 48ms stagger (measured) */
  .words .word {
    display: inline-block;
    opacity: 0.001;
    transform: translateY(10px);
    transition: opacity 0.14s ease-out, transform 0.14s ease-out;
    transition-delay: calc(var(--wi) * 48ms);
  }
  .words.in-view .word { opacity: 1; transform: none; }
}

/* ============================================================
   MEDIA CONTROLS — fullscreen for before/afters + videos, sound
   ============================================================ */
.mediactl {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.mediactl button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(30, 30, 28, 0.45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.mediactl svg { width: 16px; height: 16px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mediactl .mediactl__on { display: none; }
.mediactl button.is-active .mediactl__on { display: block; }
.mediactl button.is-active .mediactl__off { display: none; }
.ba:fullscreen, .ba-mini:fullscreen, .svcmedia:fullscreen, .media:fullscreen {
  background: #101010;
  max-width: none;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
:fullscreen .ba__img { object-fit: contain; }
.svcmedia:fullscreen .svcmedia__el { width: 100%; height: 100%; object-fit: contain; }
.is-empty .mediactl { display: none; }

/* Stand-in full screen for browsers with no element fullscreen (iPhone Safari
   only ever offers it to <video>, which is why the photo frames did nothing).
   main.js moves the figure in here and puts it back on close. */
.mediaov {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #101010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}
/* the frame takes the largest box of its own shape that fits — no black bars
   inside it, so the divider line never runs off past the photo */
.mediaov > .ba,
.mediaov > .ba-mini,
.mediaov > .svcmedia {
  --ov-h: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  background: none;
  max-width: none;
  height: auto;
  margin: 0;
}
.mediaov > .ba,
.mediaov > .ba-mini { width: min(100%, calc(var(--ov-h) * var(--ba-ar, 4 / 3))); }
.mediaov > .svcmedia { width: min(100%, calc(var(--ov-h) * var(--m-ar, 16 / 9))); }
.mediaov .ba__img,
.mediaov .svcmedia__el { object-fit: contain; }
.mediaov__close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  left: 12px;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(30, 30, 28, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 22px;
  line-height: 1;
}

/* ============================================================
   CURSOR GLOW — soft sunset halo over interactive elements
   (recreated from the reference's cursor: radial fade, no library)
   ============================================================ */
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(231, 90, 10, 0.95) 0%,
    rgba(231, 90, 10, 0.72) 34%,
    rgba(231, 90, 10, 0.30) 55%,
    rgba(231, 90, 10, 0) 72%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.25s var(--ease);
}
.cursor-glow.is-on { opacity: 1; }
/* fine-pointer devices: our glow replaces the native cursor entirely */
@media (pointer: fine) {
  html.has-cursor-glow,
  html.has-cursor-glow body,
  html.has-cursor-glow a,
  html.has-cursor-glow button,
  html.has-cursor-glow summary,
  html.has-cursor-glow input,
  html.has-cursor-glow textarea,
  html.has-cursor-glow label,
  html.has-cursor-glow [role="button"] { cursor: none; }
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ============================================================
   CONTACT — the enquiry page
   ============================================================ */
.contact {
  padding-top: calc(var(--nav-h) + clamp(70px, 11vh, 140px));
  padding-bottom: clamp(90px, 12vw, 180px);
}
.contact__title { margin-bottom: clamp(60px, 8vw, 120px); }
.contact__title .h-page { display: block; font-size: clamp(28px, 4.1vw, 60px); line-height: 1.06; text-wrap: balance; }
.contact__title .h-page + .h-page { padding-left: clamp(0px, 4vw, 76px); }

.cform {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cform__fields { display: flex; flex-direction: column; gap: 22px; transition: opacity 0.35s var(--ease); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* one field: the label starts inside the box and rises when the field is used */
.cfield { position: relative; }
.cfield__input {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ink);
  background: color-mix(in srgb, var(--white) 45%, var(--paper));
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 30px 18px 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cfield--area .cfield__input { resize: vertical; min-height: 132px; display: block; }
.cfield__input:focus { outline: none; border-color: var(--sunset); background-color: var(--white); }   /* colour only — the select keeps its chevron */
.cfield__label {
  position: absolute;
  left: 19px;
  top: 22px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-60);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.22s var(--ease), color 0.22s var(--ease);
}
.cfield--area .cfield__label { top: 20px; }
.cfield__input:focus + .cfield__label,
.cfield__input:not(:placeholder-shown) + .cfield__label {
  transform: translateY(-13px) scale(0.72);
  color: var(--ink);
}

/* Country: a real picker, so the answer is always a country — the phone's own
   wheel on iOS, the system dropdown on Android. */
.cfield__select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23343434' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
}
.cfield--select .cfield__label {          /* a select always shows a value — keep the label up */
  transform: translateY(-13px) scale(0.72);
  color: var(--ink);
}
.cfield__select:focus + .cfield__label { color: var(--sunset); }
.cfield__select:has(option[value=""]:checked) { color: var(--ink-60); }
.cform__bot { position: absolute; left: -9999px; }
.cfield__input:focus + .cfield__label { color: var(--sunset); }
.cfield.is-invalid .cfield__input { border-color: var(--coral); }

.cform__note { text-align: right; font-size: 13px; line-height: 18px; color: var(--ink-60); margin-top: -4px; }
.cform__actions { display: flex; justify-content: flex-end; margin-top: clamp(24px, 3vw, 44px); }
.cform__submit { cursor: pointer; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 3px; }
.cform.is-sending .cform__submit { opacity: 0.45; pointer-events: none; }

/* success state: the form fades out, the confirmation draws itself in */
.cform__done {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  background: var(--paper);
}
.cform__done[hidden] { display: none; }
.cform__tick svg { width: 44px; height: 44px; fill: none; stroke: var(--sunset); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cform__tick circle, .cform__tick path { stroke-dasharray: 130; stroke-dashoffset: 130; }
.cform.is-done .cform__tick circle { animation: draw 0.6s var(--ease) forwards; }
.cform.is-done .cform__tick path { animation: draw 0.4s var(--ease) 0.45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cform__done-title { font-family: var(--display); font-weight: 300; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; }
.cform__done-text { font-size: 16px; line-height: 24px; color: var(--ink-60); max-width: 44ch; }
.cform.is-done .cform__fields { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .cform__done { opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  .cform.is-done .cform__done { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .cform__row { grid-template-columns: 1fr; }
  .contact__title .h-page + .h-page { padding-left: 0; }
}

/* ============================================================
   APPROACH page title (matches the Services page title)
   ============================================================ */
.ap-hero__pagetitle {
  position: absolute;
  left: var(--shell-pad);
  top: calc(var(--nav-h) + 203px);
  margin: 0;
}
@media (max-width: 900px) {
  .ap-hero__pagetitle { position: static; margin-bottom: 24px; }
}

/* ============================================================
   RESPONSIVE — menu, hero framing, values, footer bar,
   services & approach reflow (≤1024 tablet · ≤700 mobile)
   ============================================================ */

/* ---------- Menu: big sections, small links + CTA beneath a rule ---------- */
.menu {
  justify-content: flex-start;
  padding: calc(var(--nav-h) + 40px) var(--shell-pad) 48px;
  gap: 0;
}
.menu__main { display: flex; flex-direction: column; gap: 6px; margin-top: 8vh; }
.menu__main a {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 300;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  line-height: 1.3;
  border-bottom: 0;
}
.menu__foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 28px; }
.menu__small { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.menu__small a { font-size: 16px; line-height: 22px; font-weight: 500; color: var(--ink); }
.menu__about { color: #c0392b !important; }   /* page hidden from the public build */
.menu__cta { display: inline-flex; align-self: flex-start; font-size: 14px; line-height: 20px; }
/* the burger turns into a cross while the menu is open */
body.menu-locked .nav { color: var(--ink); }
body.menu-locked .nav::before { transform: translateY(0); opacity: 1; }

@media (max-width: 1024px) {
  /* Hero: keep the house (left of frame) in view, never the empty pool */
  .stage__media img { object-position: 22% 50%; }
  .stage__media[data-stage-media="1"] img { object-position: 16% 50%; }
  /* …except the last frame, which hands over to the card beneath it at the end
     of the shrink. Both must crop identically or the house jumps sideways on
     the handover — so this one stays centred, like the card. */
  .stage__media[data-stage-media="4"] img,
  .statement__img img { object-position: 50% 50%; }

  /* Wordmark: EAST at the top left, LIGHT under it at the right */
  .stage__word {
    top: calc(var(--nav-h) + 8px);
    bottom: auto;
    text-align: left;
  }
  .stage__word .wordmark-giant {
    display: flex;
    flex-direction: column;
    padding-inline: var(--edge);
  }
  .stage__word .wm-part--a { align-self: flex-start; }
  .stage__word .wm-part--b { align-self: flex-end; }

  /* The listing kit reads centred, not hugged to the left */
  .kit__grid {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
    justify-items: center;
    text-align: center;
    padding-left: var(--shell-pad);
    row-gap: 40px;
  }
  .kit__heading { padding-top: 0; }
  .kit__body { margin-left: 0; margin-top: 28px; max-width: 52ch; }
  .kit__body .link-caps { justify-content: center; }

  /* Values: keep the diagonal composition, give it more room and drop the
     CTA to a centred spot well below the last label */
  .values, .values__inner { min-height: clamp(680px, 104vw, 1000px); }
  .values__cta { top: auto; bottom: 7%; }

  /* Footer bar: one quiet line */
  .footer__bar { font-size: 11px; line-height: 16px; letter-spacing: 1px; gap: 10px; }
  .footer__bar-right { gap: 14px; flex-wrap: nowrap; }
  .footer__loc-full { display: none; }
  .footer__loc-short { display: inline; }

  /* Services: drop the sticky serif list, media first, then title, then copy */
  .svcstack { display: block; padding-block: 24px 60px; }
  .svcstack__left { display: none; }
  .svcblock { display: flex; flex-direction: column; min-height: 0; padding-top: 0; padding-bottom: 72px; }
  .svcblock > .svcblock__group { order: 2; margin-bottom: 10px; }
  .svcblock > .svcblock__title {
    display: block;
    order: 3;
    font-family: var(--display);
    font-optical-sizing: auto;
    font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
    font-weight: 300;
    font-size: clamp(30px, 4.4vw, 44px);
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 16px;
  }
  .svcblock > .svcblock__para { order: 4; max-width: none; }
  .svcblock > .svcblock__list { order: 5; }
  .svcblock > .ba-mini,
  .svcblock > .svcmedia,
  .svcblock > .svcsocial-row { order: 1; margin-top: 0; margin-bottom: 26px; }
  .ba-mini { max-width: none; }
  /* Social Reels: reel above, platforms below — nothing clipped */
  .svcsocial-row { display: flex; flex-direction: column; align-items: stretch; gap: 26px; }
  .svcsocial-row .svcmedia--reel { width: 100%; max-width: 420px; }
  .svcsocial { min-width: 0; }

  /* Approach: page title + intro above, one photo, subnav stacked */
  .ap-hero { height: auto; padding: calc(var(--nav-h) + 56px) var(--shell-pad) 64px; }
  .ap-hero__pagetitle { position: static; margin-bottom: 20px; }
  .ap-hero__title, .ap-hero__para { position: static; width: auto; left: auto; top: auto; }
  /* .media children are absolutely positioned — the figure must stay a containing block */
  .ap-hero__img-a { position: relative; width: auto; left: auto; top: auto; bottom: auto; }
  .ap-hero__title { text-align: right; }    /* sits right of the page title, as on desktop */
  .ap-hero__title .h-page { white-space: normal; font-size: clamp(30px, 4.6vw, 46px); }
  .ap-hero__title .h-page + .h-page { padding-left: 0; }
  .ap-hero__para { margin-top: 28px; max-width: 52ch; }
  .ap-hero__img-a { width: 100%; max-width: 560px; margin-top: 40px; aspect-ratio: 324 / 259; }
  .ap-hero__img-b { display: none; }          /* only the handshake photo */
  .steps__line { display: none; }             /* no tracing line on tablet/mobile */
  .subnav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 20px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding-block: 20px;
  }
  .subnav__counter { display: none; }         /* the subnav isn't sticky here — a frozen 1 / 4 says nothing */
  .subnav__right { margin-left: 0; flex-basis: 100%; margin-top: 10px; }
  .capsband .subnav { padding-inline: var(--edge); }   /* 0 put the labels off the screen edge */

  /* Approach close: the CTA belongs to the capabilities bar above it, and the
     footer shouldn't sit a screen away from it */
  .capsband { padding-bottom: 48px; }
  .cta-feature { padding-block: 24px 64px; }
  .cta-feature__grid { padding-left: var(--shell-pad); }   /* the ≤900 reset dropped the gutter */
}

@media (min-width: 701px) and (max-width: 1024px) {
  .footer__loc-full { display: inline; }      /* room enough for the full city line */
  .footer__loc-short { display: none; }
}

@media (max-width: 700px) {
  .values__inner { gap: 52px; padding-block: 88px 104px; justify-content: center; }
  .values__cta { position: static; align-self: center; margin-top: 64px; transform: none; }
  .footer__bar { font-size: 10px; letter-spacing: 0.8px; flex-wrap: nowrap; }
  .footer__bar > span:first-child { display: none; }   /* keep the credit line single-row */
  .footer__bar-right { width: 100%; justify-content: space-between; }
}
