/* =============================================================
   Banfana / growth  —  site.css
   Light chapters for trust and people. Black chapters for proof
   and the decision. One signature move: dark chapters rise as a
   rounded sheet and open to full bleed as you scroll into them.

   System
   - Type: 10 sizes, 3 weights (400 / 500 / 600).
   - Grid: 12 columns, 1200 max, gap 24 / 16, margins 48 / 32 / 20.
   - Space: three tiers. A = signature sections (Real Scale, closing),
     B = standard sections, C = list sections (team, videos, FAQ).
   - Motion: headings rise through a mask, content fades in.
     Hover only on things you can click, only where hover exists.
   ============================================================= */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0020-007E, U+00A0-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+25B6;
}

/* ---------- tokens ---------- */
:root {
  /* light. The page is warm stone, recessed areas cool slightly,
     raised surfaces warm toward white. Warm advances, cool recedes. */
  --base:  #F7F2EE;   /* the page */
  --card:  #FFFDFB;   /* raised: form, review cards, booking sheet, paddles */
  --field: #E8EAEC;   /* recessed: form inputs, pills */
  --well:  #E1E4E7;   /* image wells and loading placeholders */
  --vid:   #DADEE1;   /* video thumbnails, before the poster loads */
  --white: var(--card);
  --mist:  var(--well);
  --ink: #18181a;
  --ink-2: #5f5f65;   /* small text: 4.97:1 or better on every light surface */
  --ink-3: #86868b;   /* large text only (24px and up) */
  --hair: rgba(24, 24, 26, .10);
  --hair-2: rgba(24, 24, 26, .18);
  --hair-3: rgba(24, 24, 26, .28);

  /* dark */
  --black: #000000;
  --raise: #121214;
  --raise-2: #1b1b1e;
  --paper: #f5f5f7;
  --dim: #a1a1a6;     /* small text on dark: 6.7:1 or better */
  --dim-2: #6e6e73;   /* large text only */
  --hair-d: rgba(255, 255, 255, .11);
  --hair-d2: rgba(255, 255, 255, .22);

  /* brand */
  --y: #f5be1e;
  --y-hi: #ffcb2e;

  /* radius by level */
  --r-pill: 999px;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --r-xl: 40px;

  /* motion */
  --out: cubic-bezier(.16, 1, .3, 1);
  --io: cubic-bezier(.65, 0, .35, 1);
  --soft: cubic-bezier(.32, .72, 0, 1);
  --even: cubic-bezier(.45, 0, .55, 1);   /* lines and rules that draw */
  --spring: cubic-bezier(.22, 1.25, .36, 1);   /* a CTA settling into place */
  --d-1: 160ms;   /* press */
  --d-2: 240ms;   /* hover and state */
  --d-3: 400ms;   /* content fade */
  --d-4: 500ms;   /* heading rise */
  --d-5: 620ms;   /* lightbox, sheets */

  /* type scale: the only sizes on the page */
  --f: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --t-13: .8125rem;
  --t-15: .9375rem;
  --t-17: 1.0625rem;
  --t-20: 1.25rem;
  --t-24: 1.5rem;
  --t-32: 2rem;
  --t-44: 2.75rem;
  --t-56: 3.5rem;
  --t-64: 4rem;
  --t-display: clamp(3.375rem, 2.03rem + 5.52vw, 7rem);   /* 54 → 112 */

  /* roles (stepped at 1080 and 720) */
  --fs-h2: var(--t-64);
  --fs-fig: var(--t-56);
  --fs-h3: var(--t-32);
  --fs-lead: var(--t-24);

  /* layout */
  --wrap: 1200px;
  --g: 24px;
  --gut: 48px;
  --s-a: 160px;
  --s-b: 128px;
  --s-c: 96px;
  --s-head: 64px;
  --nav-h: 60px;
}
@media (max-width: 1079px) {
  :root { --fs-h2: var(--t-56); --fs-fig: var(--t-44); --gut: 32px; --s-a: 120px; --s-b: 96px; --s-c: 72px; --s-head: 56px; }
}
@media (max-width: 719px) {
  :root { --fs-h2: var(--t-44); --fs-h3: var(--t-24); --fs-lead: var(--t-20); --g: 16px; --gut: 20px; --s-a: 72px; --s-b: 64px; --s-c: 56px; --s-head: 40px; --nav-h: 56px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html:not(.rm) { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 var(--t-17)/1.5 var(--f);
  letter-spacing: -.008em;
  color: var(--ink);
  background: var(--base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
::selection { background: var(--y); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.tone-mist { background: var(--base); }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--white); text-decoration: none; font-weight: 500;
  transform: translateY(-160%); transition: transform var(--d-2) var(--out);
}
.skip:focus-visible { transform: none; }

/* focus: always visible, never a radius change */
:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sheet :focus-visible { outline-color: var(--y); }
.rail:focus-visible { outline-offset: -2px; }

/* arrows nudge toward where they point */
.arr { display: inline-block; transition: transform var(--d-2) var(--soft); }
/* on buttons the arrow travels out and a fresh one comes in behind it */
.btn .arr:not(.arr--d) { position: relative; overflow: hidden; width: .78em; height: 1.2em; text-indent: 300%; white-space: nowrap; vertical-align: middle; }
.btn .arr:not(.arr--d)::before, .btn .arr:not(.arr--d)::after {
  content: "↗"; content: "↗" / "";
  position: absolute; inset: 0; display: grid; place-items: center; text-indent: 0;
  transition: transform .42s var(--soft);
}
.btn .arr:not(.arr--d)::after { transform: translate(-110%, 110%); }

/* ---------- type ---------- */
.eyebrow {
  font-size: var(--t-15); font-weight: 500; line-height: 1.3;
  color: var(--ink-2); letter-spacing: -.004em;
}
.eyebrow__n { color: var(--ink); font-variant-numeric: tabular-nums; }

.display {
  font-size: var(--t-display);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.05em;
  color: var(--ink);
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.042em;
  color: var(--ink-3);
  text-wrap: balance;
}
.h2 em { color: var(--ink); }
/* a headline made of two sentences breaks between them, never inside, once there is room */
.phrase { display: inline-block; }
@media (min-width: 720px) { .phrase { white-space: nowrap; } }
.h2:not(:has(em)) { color: var(--ink); }

.intro {
  font-size: var(--fs-lead);
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink-2);
  max-width: 34ch;
  text-wrap: balance;
}

.head { display: grid; margin-bottom: var(--s-head); }
.head .eyebrow { margin-bottom: 16px; }
.head .intro { margin-top: 24px; }
.head--split { grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; }

.link {
  position: relative;
  display: inline-flex; align-items: center; gap: .28em;
  font-size: var(--t-15); font-weight: 500; letter-spacing: -.004em;
  color: var(--ink); text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 100% 100%; background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--d-3) var(--soft), color var(--d-2) var(--soft);
}
/* touch: the hit area reaches 44px without moving anything */
.link::after { content: ""; position: absolute; inset: -12px -6px; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .3em;
  height: var(--h); padding: 0 22px;
  border-radius: var(--r-pill);
  font-size: var(--t-17); font-weight: 500; letter-spacing: -.012em;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--d-2) var(--soft), background-color var(--d-2), box-shadow var(--d-2) var(--soft), color var(--d-2);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.965); transition-duration: var(--d-1); }
.btn--s { --h: 36px; padding: 0 16px; font-size: var(--t-15); }
.btn--s::after { content: ""; position: absolute; inset: -4px; }
.btn--l { --h: 58px; padding: 0 30px; }
.btn--block { width: 100%; }
.btn--y {
  background: var(--y); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.06), 0 1px 2px rgba(120, 80, 0, .18);
}
.btn--y:focus-visible { outline-color: var(--ink); }
.sheet .btn--y:focus-visible { outline-color: var(--y); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  color: var(--ink);
  transition: color .5s var(--io), box-shadow .5s var(--io);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247,242,238,.74);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  opacity: 0; transition: opacity var(--d-3) var(--io), background-color .5s var(--io);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--hair); }
.nav.is-dark { color: var(--paper); }
.nav.is-dark::before { background: rgba(18,18,20,.72); }
.nav.is-dark.is-scrolled { box-shadow: 0 1px 0 var(--hair-d); }
.nav__in {
  height: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; gap: 28px;
}
.nav__logo, .foot__logo { position: relative; display: block; }
.nav__logo::after, .foot__logo::after { content: ""; position: absolute; inset: -12px -4px; }
.nav__logo { margin-right: auto; }
.nav__logo img { height: 22px; width: auto; transition: filter .5s var(--io); }
/* logo tone is sampled at load (data-logo); it is only recoloured where it would lose contrast */
.nav.is-dark .nav__logo img { filter: brightness(0) invert(1); }
[data-logo="light"] .nav:not(.is-dark) .nav__logo img,
[data-logo="unknown"] .nav:not(.is-dark) .nav__logo img { filter: brightness(0); }
[data-logo="light"] .nav.is-dark .nav__logo img { filter: none; }
.js .nav__in > .btn {
  opacity: 0; visibility: hidden; translate: 0 -6px; scale: .96;
  transition: opacity var(--d-2) var(--out), translate var(--d-3) var(--soft), scale var(--d-3) var(--soft), visibility 0s linear var(--d-3),
              transform var(--d-2) var(--soft), background-color var(--d-2), box-shadow var(--d-2) var(--soft);
}
.js .nav.cta-on .nav__in > .btn {
  opacity: 1; visibility: visible; translate: none; scale: none;
  transition: opacity var(--d-3) var(--out), translate var(--d-4) var(--spring), scale var(--d-4) var(--spring), visibility 0s,
              transform var(--d-2) var(--soft), background-color var(--d-2), box-shadow var(--d-2) var(--soft);
}
.nav__links { display: flex; gap: 28px; }
.nav__links a { position: relative; font-size: var(--t-15); font-weight: 500; text-decoration: none; opacity: .82; padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: opacity var(--d-2), background-size var(--d-3) var(--soft); }
.nav__links a.is-here { opacity: 1; background-size: 100% 1px; }

/* menu button (phones): two bars that become the sheet's close cross */
.nav__menu, .menu__x { display: none; position: relative; flex: none; width: 44px; height: 44px; margin-right: -10px; color: inherit; -webkit-tap-highlight-color: transparent; }
.menu__x { display: block; }
.nav__menu span, .menu__x span { position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform var(--d-3) var(--soft); }
.nav__menu span:first-child { top: 18.5px; }
.nav__menu span:last-child { top: 24.5px; }
.menu__x span { top: 21.25px; }
.menu__x span:first-child { transform: rotate(45deg); }
.menu__x span:last-child { transform: rotate(-45deg); }

/* menu sheet: drops from the top in the raised card tone, rounded below,
   the same shape language as the chapter sheets */
.menu .menu__sheet {
  position: absolute; left: 0; right: 0; top: 0;
  max-height: 100svh; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 var(--gut) calc(20px + env(safe-area-inset-bottom));
  background: var(--card); color: var(--ink);
  border-radius: 0 0 var(--r-l) var(--r-l);
  box-shadow: 0 30px 80px -24px rgba(0,0,0,.45);
  transform: translateY(-100%);
  transition: transform .52s var(--out);
}
.menu.is-open .menu__sheet { transform: none; }
.menu__bar { display: flex; align-items: center; height: var(--nav-h); }
.menu__logo { margin-right: auto; }
.menu__logo img { height: 22px; width: auto; }
[data-logo="light"] .menu__logo img, [data-logo="unknown"] .menu__logo img { filter: brightness(0); }
.menu__list { display: grid; margin: 8px 0 24px; border-top: 1px solid var(--hair); }
.menu__list a {
  display: flex; align-items: baseline; gap: 16px; min-height: 56px; padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  font-size: var(--t-24); font-weight: 600; letter-spacing: -.022em; line-height: 1.15;
  color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: opacity var(--d-1);
}
.menu__list a:active { opacity: .55; }
.menu__n { flex: none; width: 24px; font-size: var(--t-15); font-weight: 500; letter-spacing: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.menu__cta { margin-top: 4px; }
.js .menu__list a, .js .menu__cta { opacity: 0; translate: 0 10px; transition: opacity .3s var(--out), translate .5s var(--out); }
.js .menu.is-open .menu__list a, .js .menu.is-open .menu__cta { opacity: 1; translate: none; transition-delay: calc(120ms + var(--i, 0) * 35ms); }
.menu__list a:nth-child(2) { --i: 1; } .menu__list a:nth-child(3) { --i: 2; } .menu__list a:nth-child(4) { --i: 3; }
.menu__list a:nth-child(5) { --i: 4; } .menu__list a:nth-child(6) { --i: 5; } .menu__cta { --i: 6; }
.nav__links a::after { content: ""; position: absolute; inset: -12px -8px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 104px));
  padding-bottom: clamp(72px, 8vw, 120px);
  background: var(--base);
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g); row-gap: 56px;
  align-items: center;
}
.hero__copy { grid-column: 1 / span 7; }
.panel { grid-column: 8 / span 5; }
.hero__copy .eyebrow { margin-bottom: 28px; }
.hero .display { margin-bottom: 36px; max-width: 9.5ch; }
.lead {
  font-size: var(--fs-lead); line-height: 1.35; letter-spacing: -.02em;
  font-weight: 500; color: var(--ink); max-width: 28ch; margin-bottom: 14px;
}
.hero__sub { color: var(--ink-2); max-width: 44ch; margin-bottom: 32px; }
@media (min-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 48px; }
  .hero__copy .eyebrow { margin-bottom: 20px; }
  .hero .display { margin-bottom: 28px; }
  .hero__sub { margin-bottom: 28px; }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__note { font-size: var(--t-15); color: var(--ink-2); }

/* the one yellow moment: a bar that grows under "Growing." */
.mark { position: relative; display: inline-block; z-index: 0; }
.mark::after {
  content: ""; position: absolute; z-index: -1;
  left: -.02em; right: -.04em; bottom: .075em; height: .17em;
  background: var(--y); border-radius: .04em;
  transform-origin: 0 50%; transform: scaleX(var(--mark, 1));
}

/* ---------- form panel ---------- */
.panel {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-l);
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(24,24,26,.06),
    0 1px 2px rgba(24,24,26,.04),
    0 12px 28px -10px rgba(24,24,26,.10),
    0 44px 90px -30px rgba(24,24,26,.22);
}
.panel__label { font-size: var(--t-15); font-weight: 500; line-height: 1.3; color: var(--ink-2); margin-bottom: 10px; }
.panel__title { font-size: var(--t-32); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.panel__lede { color: var(--ink-2); margin: 8px 0 24px; }

.form { display: grid; gap: 12px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; }
.field input, .field select {
  width: 100%; height: 58px;
  padding: 24px 16px 8px;
  border-radius: var(--r-s);
  border: 0; outline: 0;
  background: var(--field);
  box-shadow: inset 0 0 0 1px rgba(24,24,26,.08);
  font: 400 var(--t-17)/1.2 var(--f); letter-spacing: -.01em; color: var(--ink);
  transition: box-shadow var(--d-2) var(--soft), background-color var(--d-2) var(--soft);
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus {
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(245, 190, 30, .35);
}
.field label {
  position: absolute; left: 16px; top: 18px;
  font-size: var(--t-17); line-height: 1.3; color: var(--ink-2); pointer-events: none;
  transform-origin: 0 0;
  transition: transform .3s var(--out), color .3s;
}
.field:focus-within label,
.field:has(input:not(:placeholder-shown)) label,
.field--select label {
  transform: translateY(-10px) scale(.75);
}
.field select { cursor: pointer; padding-right: 40px; }
.field select:invalid { color: var(--ink-2); }
.field__chev { position: absolute; right: 18px; top: 26px; width: 12px; height: 8px; color: var(--ink-2); pointer-events: none; }
.field.is-bad input, .field.is-bad select { box-shadow: inset 0 0 0 1.5px #c4321c; }
.form__help { font-size: var(--t-13); color: var(--ink-2); margin: -4px 0 6px 4px; }
.form .btn--block { margin-top: 6px; height: 54px; }
.form__foot { font-size: var(--t-13); color: var(--ink-2); text-align: center; }
.form__error { font-size: var(--t-15); color: #a3260f; text-align: center; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy::after { content: ""; position: absolute; right: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid rgba(24,24,26,.22); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.field.is-nudge { animation: nudge .38s var(--soft); }
@keyframes nudge { 25% { translate: -5px 0; } 55% { translate: 4px 0; } 80% { translate: -2px 0; } }

/* ---------- clients rail ---------- */
.clients__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.clients__title { font-size: var(--t-32); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.rail img { -webkit-user-drag: none; user-select: none; }
@media (hover: hover) and (pointer: fine) {
  .rail { cursor: grab; }
  .rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
  .rail.is-drag .rail__track { pointer-events: none; user-select: none; }
}
.paddles { display: flex; gap: 10px; flex: none; }
.paddle {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); color: var(--ink); font-size: var(--t-17);
  box-shadow: 0 0 0 1px var(--hair);
  transition: box-shadow var(--d-2), opacity .3s, transform var(--d-2) var(--soft);
}
.paddle:active { transform: scale(.92); }
.paddle[disabled] { opacity: .35; cursor: default; }

.rail {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2));
}
.rail::-webkit-scrollbar { display: none; }
.rail__track {
  display: flex; gap: var(--g);
  padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2));
  width: max-content;
}
.brand { width: calc((min(100vw, var(--wrap) + var(--gut) * 2) - var(--gut) * 2 - var(--g) * 3) / 4); min-width: 240px; scroll-snap-align: start; }
.brand__img {
  aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden;
  background: var(--mist); margin-bottom: 16px;
}
.brand__img img { width: 100%; height: 100%; object-fit: cover; }
.brand h3 { font-size: var(--t-20); font-weight: 600; letter-spacing: -.016em; line-height: 1.25; }
.brand p { font-size: var(--t-15); color: var(--ink-2); margin-top: 2px; }

/* ---------- reviews ---------- */
.reviews { padding-block: var(--s-b); }
.clutch {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px 0 16px;
  border-radius: var(--r-pill); background: var(--white);
  box-shadow: 0 0 0 1px var(--hair);
  text-decoration: none; font-size: var(--t-15);
  transition: box-shadow var(--d-2) var(--soft);
}
.clutch strong { font-weight: 500; }
/* Geist has no star; name the fallback so every platform draws the same shape */
.clutch__stars { font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", system-ui, sans-serif; color: #e5a800; letter-spacing: .06em; font-size: var(--t-13); }

.reviews__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g); }
.review {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: var(--r-l);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(24,24,26,.05);
}
.review__meta { display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-15); color: var(--ink-2); font-weight: 500; margin-bottom: 24px; }
.review__meta span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
/* quote size follows length: a full sentence earns 32, a lifted fragment sits at 24 */
.review__quote {
  font-size: var(--t-32);
  font-weight: 600; line-height: 1.12; letter-spacing: -.03em;
  color: var(--ink); text-wrap: balance;
  margin-bottom: 28px;
}
.review__quote--frag { font-size: var(--t-24); line-height: 1.2; letter-spacing: -.022em; }
.review__sum { padding-top: 18px; border-top: 1px solid var(--hair); margin-bottom: 24px; }
.review__lbl { font-size: var(--t-13); font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.review__sum p:last-child { font-size: var(--t-15); color: var(--ink-2); line-height: 1.5; }
.review__by { display: flex; align-items: center; gap: 12px; margin-top: auto; margin-bottom: 18px; }
.review__by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--mist); flex: none; }
.review__by p { display: grid; font-size: var(--t-15); line-height: 1.3; }
.review__by strong { font-weight: 600; }
.review__by span { color: var(--ink-2); }

/* =============================================================
   DARK CHAPTERS
   ============================================================= */
.behind--mist-white, .behind--white { background: var(--base); }

.sheet {
  position: relative;
  background: var(--black);
  color: var(--paper);
  border-radius: var(--r-xl) var(--r-xl) 0 0;   /* static fallback */
}
.sheet.is-live {
  border-radius: 0;
  clip-path: inset(0 var(--sx, 0px) round var(--sr, 0px));
}
.sheet .eyebrow { color: var(--dim); }
.sheet .eyebrow__n { color: var(--y); }
.sheet .h2 { color: var(--dim-2); }
.sheet .h2 em { color: var(--paper); }
.sheet .h2:not(:has(em)) { color: var(--paper); }
.sheet .intro { color: var(--dim); }
.sheet .link { color: var(--paper); }

/* light sheet: the same rising shape in the raised warm tone */
.behind--light { background: var(--base); }
.lsheet { position: relative; background: var(--card); border-radius: var(--r-xl); }
.lsheet.is-live { border-radius: 0; clip-path: inset(0 var(--sx, 0px) round var(--sr, 0px)); }
/* the card tone alone is only a few points brighter than the page, so the
   sheet carries a hairline that traces its clipped edge as it opens */
.lsheet::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(24,24,26,.08); pointer-events: none; z-index: -1; }
.lsheet.is-live::before { left: var(--sx, 0px); right: var(--sx, 0px); border-radius: var(--sr, 0px); }
.lsheet .tone-mist { background: transparent; }
.lsheet .watch { padding-bottom: var(--s-c); }

/* ---------- 01 the work: a ledger ----------
   Each case is one row read left to right: screenshot (5), figure and
   period (4), note and link (3). Figures align in one column. */
.work { padding-top: var(--s-a); }
.cases { display: grid; border-top: 1px solid var(--hair-d); }
.case {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g); row-gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--hair-d);
}
.case__shot { grid-column: 1 / span 5; }
.case__text { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: var(--g); align-items: start; }
.case__kicker { grid-column: 1 / span 4; grid-row: 1; font-size: var(--t-15); font-weight: 500; color: var(--dim); margin-bottom: 12px; }
.fig {
  grid-column: 1 / span 4; grid-row: 2;
  font-size: var(--fs-fig); font-weight: 600; line-height: 1; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--paper); margin-bottom: 12px;
}
.fig > span { display: inline-block; }
.fig__a { color: #8a8a8f; }
.fig__b { color: var(--y); }
/* the end figure carries the total rule: the growth bar, used as an accountant would */
.fig > .fig__c { display: table; position: relative; color: var(--paper); margin-top: .04em; padding-bottom: 10px; }
.fig > .fig__c::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--y); transform-origin: 0 50%; }
.case__h { grid-column: 1 / span 4; grid-row: 3; font-size: var(--t-20); font-weight: 500; letter-spacing: -.016em; line-height: 1.25; }
.case__p { grid-column: 5 / span 3; grid-row: 1 / span 2; font-size: var(--t-13); line-height: 1.5; color: var(--dim); padding-top: 3px; }
.case__text .link { grid-column: 5 / span 3; grid-row: 3; align-self: end; justify-self: start; }

/* frame: one component for proof screenshots */
.frame {
  display: block; position: relative; overflow: hidden; isolation: isolate;
  border-radius: 14px; background: var(--raise);
  box-shadow: 0 0 0 1px var(--hair-d), 0 30px 60px -32px rgba(0,0,0,.9);
  cursor: zoom-in;
  transition: box-shadow var(--d-2) var(--io);
}
.frame img { width: 100%; height: auto; aspect-ratio: auto 16 / 9; transition: transform var(--d-5) var(--soft); }
/* screenshots taller than 3:4 show a 16:10 crop; the lightbox shows them whole */
.frame.is-tall img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* ---------- 02 approach: a path ----------
   Three full-contrast steps under one yellow line, the growth measure.
   With JS the line draws once and each node fills as it is reached. */
.approach { padding-top: var(--s-b); }
.approach__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.approach__head { grid-column: 1 / -1; margin-bottom: var(--s-head); }
.steps { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); padding-top: 44px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; border-radius: 2px; }
.steps::before { background: var(--hair-d); }
.steps::after { background: var(--y); transform-origin: 0 50%; }
.step { position: relative; }
.step::before, .step::after { content: ""; position: absolute; left: 0; top: -44px; width: 12px; height: 12px; border-radius: 50%; }
.step::before { background: var(--y); }
.step::after { box-shadow: 0 0 0 1.5px var(--y); opacity: 0; }
.step__n { display: block; font-size: var(--t-15); font-weight: 500; color: var(--y); font-variant-numeric: tabular-nums; margin-bottom: 16px; }
.step__h { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 12px; max-width: 14ch; }
.step__p { color: var(--dim); max-width: 34ch; }

/* ---------- 03 intelligence ----------
   Each screenshot sits whole in its own window, at its real aspect
   ratio, with the link below it. Nothing is cropped or covered. */
.intel { padding-block: var(--s-b); }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
.tool {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr;
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--raise-2) 0%, var(--raise) 60%);
  box-shadow: 0 0 0 1px var(--hair-d), inset 0 1px 0 rgba(255,255,255,.06);
}
.tool--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto; align-items: center; }
.tool__text { padding: 40px 40px 0; position: relative; z-index: 2; }
.tool--wide .tool__text { padding-bottom: 40px; }
.tool__n { display: block; font-size: var(--t-15); font-weight: 500; color: var(--y); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.tool__h { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 12px; }
.tool__p { color: var(--dim); max-width: 40ch; }

.tool__shot {
  position: relative; display: grid; align-content: end; justify-items: start; gap: 16px;
  padding: 32px 40px 36px;
  text-decoration: none; color: var(--paper); cursor: zoom-in;
}
.tool--wide .tool__shot { padding: 40px 40px 36px 0; }
.tool__win {
  position: relative; display: block; width: 100%; overflow: hidden; isolation: isolate;
  border-radius: 12px; background: var(--raise-2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 48px -28px rgba(0,0,0,.9);
  transition: box-shadow var(--d-2) var(--io);
}
.tool__win img { width: 100%; height: auto; aspect-ratio: auto 18 / 11; transition: transform var(--d-5) var(--soft); }
/* a screenshot taller than 3:4 shows a 16:10 crop; the lightbox shows it whole */
.tool__win.is-tall img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* ---------- team ---------- */
.team { padding-block: var(--s-c); }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--g); }
.person__img { aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--mist); margin-bottom: 16px; isolation: isolate; }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.1s var(--out); }
/* portrait hover, restored from the pre-Batch 1 version; mouse only so a tap never sticks */
@media (hover: hover) { .person:hover .person__img img { transform: scale(1.035); } }
.person h3 { font-size: var(--t-20); font-weight: 600; letter-spacing: -.016em; line-height: 1.25; }
.person p { font-size: var(--t-15); color: var(--ink-2); margin: 2px 0 10px; }
.person .link { color: var(--ink-2); }

/* ---------- videos ---------- */
.watch { padding-top: var(--s-c); }
.watch__sub { font-size: var(--t-24); font-weight: 600; letter-spacing: -.022em; line-height: 1.2; margin-bottom: 24px; }
.shorts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: var(--s-head); }
.longs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.vid__thumb {
  position: relative; display: block; width: 100%;
  border-radius: var(--r-m); overflow: hidden; background: var(--vid);
  isolation: isolate; margin-bottom: 14px;
}
.vid--short .vid__thumb { aspect-ratio: 9 / 16; }
.vid--long .vid__thumb { aspect-ratio: 16 / 9; }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-5) var(--soft); }
.vid__thumb::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); border-radius: inherit; pointer-events: none; }
.vid__play {
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0; color: var(--ink);
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 6px 20px -6px rgba(0,0,0,.35);
  transition: transform var(--d-2) var(--soft), background-color var(--d-2);
}
.vid__play::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-40%, -50%); border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent currentColor; }
.vid--long .vid__play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
.vid__thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid.is-playing .vid__thumb img, .vid.is-playing .vid__play { opacity: 0; }
.vid--long h3 { font-size: var(--t-20); font-weight: 600; letter-spacing: -.016em; line-height: 1.25; margin-bottom: 6px; }
.vid .link { color: var(--ink-2); }

/* ---------- faq ---------- */
.faq { padding-block: var(--s-c); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: start; }
.faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 48px); margin-bottom: 0; padding-right: 24px; }
.qa { grid-column: 5 / span 8; border-top: 1px solid var(--hair); }
.qa__item { padding: 32px 0; border-bottom: 1px solid var(--hair); }
.qa dt { font-size: var(--t-24); font-weight: 600; letter-spacing: -.022em; line-height: 1.2; margin-bottom: 12px; }
.qa dd { color: var(--ink-2); max-width: 56ch; }

/* ---------- close + footer ---------- */
.close { padding-block: var(--s-a); text-align: center; }
.close__in { display: grid; justify-items: center; }
.close .eyebrow { margin-bottom: 24px; }
.close__h {
  font-size: var(--t-display); font-weight: 600; line-height: .94; letter-spacing: -.05em;
  color: var(--paper); text-wrap: balance; margin-bottom: 28px;
}
.close__p { font-size: var(--fs-lead); line-height: 1.35; color: var(--dim); letter-spacing: -.02em; margin-bottom: 40px; max-width: 30ch; }

.foot { border-top: 1px solid var(--hair-d); }
.foot__in { display: flex; align-items: center; gap: 24px; padding-block: 36px 44px; font-size: var(--t-15); color: var(--dim); }
.foot__logo img { height: 20px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
[data-logo="light"] .foot__logo img { filter: none; opacity: 1; }
.foot__tag { margin-right: auto; }

/* =============================================================
   MODALS
   ============================================================= */
.modal {
  position: fixed; inset: 0; width: 100%; height: 100%;
  max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--ink); overflow: hidden;
}
.modal::backdrop { background: transparent; }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.42);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  opacity: 0; transition: opacity .45s var(--io);
}
.modal.is-open .modal__scrim { opacity: 1; }
.modal__x {
  position: absolute; z-index: 5; right: 20px; top: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: var(--t-24); line-height: 1;
  background: rgba(255,255,255,.16); color: #fff;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .35s var(--io) .1s, background-color var(--d-2);
}
.modal.is-open .modal__x { opacity: 1; }

/* lightbox */
.lightbox__fig {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px;
  padding: 72px 24px 32px; pointer-events: none;
}
.lightbox__img {
  max-width: min(1400px, 94vw); max-height: calc(100svh - 150px); width: auto; height: auto;
  border-radius: var(--r-m); background: #fff;
  box-shadow: 0 30px 90px -20px rgba(0,0,0,.6);
  transform-origin: 0 0; pointer-events: auto;
}
.lightbox figcaption { opacity: 0; transition: opacity .3s var(--io); pointer-events: auto; }
.lightbox.is-open figcaption { opacity: 1; transition-delay: .25s; }
.lightbox .link { color: #fff; }

/* booking sheet */
.booking__sheet {
  position: absolute; left: 50%; top: 50%;
  width: min(1040px, calc(100vw - 32px)); height: min(820px, calc(100svh - 48px));
  display: grid; grid-template-rows: auto 1fr auto;
  border-radius: var(--r-l);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 50px 120px -30px rgba(0,0,0,.45);
  overflow: hidden;
  transform: translate(-50%, -46%) scale(.96); opacity: 0;
  transition: transform var(--d-5) var(--out), opacity .35s var(--io);
}
.booking.is-open .booking__sheet { transform: translate(-50%, -50%); opacity: 1; }
.booking__head { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 24px 28px 18px; border-bottom: 1px solid var(--hair); }
.booking__head .eyebrow { margin-bottom: 4px; }
.booking__h { font-size: var(--t-32); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.modal__x--in { position: static; background: var(--field); color: var(--ink); opacity: 1; -webkit-backdrop-filter: none; backdrop-filter: none; flex: none; }
.booking__frame { position: relative; background: var(--white); }
.booking__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s var(--io); }
.booking__frame.is-ready iframe { opacity: 1; }
.booking__load {
  position: absolute; left: 50%; top: 45%; width: 28px; height: 28px; margin: -14px;
  border-radius: 50%; border: 2px solid var(--hair); border-top-color: var(--ink);
  animation: spin .9s linear infinite;
}
.booking__frame.is-ready .booking__load { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.booking__alt { padding: 14px 28px 18px; border-top: 1px solid var(--hair); font-size: var(--t-15); color: var(--ink-2); }

body.is-locked { overflow: hidden; }

/* =============================================================
   HOVER GRAMMAR
   Only interactive things respond, and only where a pointer can
   hover. Fill or ring for controls, underline for links, arrows
   nudge toward where they point, frames brighten their edge.
   ============================================================= */
@media (hover: hover) {
  .link:hover { background-size: 100% 1px; background-position: 0 100%; }
  .person .link:hover, .vid .link:hover { color: var(--ink); }
  .link:hover .arr, .tool__shot:hover .arr, .case__shot:hover ~ .case__text .arr { transform: translate(2px, -2px); }
  .btn:hover .arr--d { transform: translateY(2px); }
  .btn:hover .arr:not(.arr--d)::before { transform: translate(110%, -110%); }
  .btn:hover .arr:not(.arr--d)::after { transform: none; }

  .btn:hover { transform: translateY(-1.5px); }
  .btn:active { transform: scale(.965); }
  .btn--y:hover { background: var(--y-hi); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 18px -6px rgba(200, 140, 0, .45); }
  .btn--ghost:hover { background: rgba(24,24,26,.04); box-shadow: inset 0 0 0 1px var(--hair-3); }
  .nav__links a:hover { opacity: 1; }
  .field input:hover:not(:focus), .field select:hover:not(:focus) {
    background: color-mix(in oklab, var(--field), var(--card) 45%);
    box-shadow: inset 0 0 0 1px var(--hair-3);
  }
  .paddle:not([disabled]):hover { box-shadow: 0 0 0 1px var(--hair-3); }
  .clutch:hover { box-shadow: 0 0 0 1px var(--hair-3); }

  .frame:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.34), 0 30px 60px -32px rgba(0,0,0,.9); }
  .frame:hover img { transform: scale(1.02); }
  .tool__shot:hover .tool__win { box-shadow: 0 0 0 1px rgba(255,255,255,.34), 0 24px 48px -28px rgba(0,0,0,.9); }
  .tool__shot:hover .link { background-size: 100% 1px; background-position: 0 100%; }

  .vid__thumb:hover img { transform: scale(1.02); }
  .tool__shot:hover .tool__win img { transform: scale(1.02); }
  .vid__thumb:hover .vid__play { transform: scale(1.06); background: rgba(255,255,255,.92); }

  .modal__x:hover { background: rgba(255,255,255,.26); }
  .modal__x--in:hover { background: var(--well); }
}

/* =============================================================
   MOTION (armed by JS; content is fully visible without it)
   Headings rise through a mask (500ms). Everything else fades
   (400ms), lists stagger by 40ms, six steps at most.
   ============================================================= */
.js [data-reveal] { opacity: 0; transition: opacity var(--d-3) var(--out) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; }

/* heads and lists hold still; their parts arrive */
.js .head[data-reveal], .js .close__in[data-reveal],
.js :is(.reviews__grid, .people, .shorts, .longs, .qa, .rail__track)[data-reveal] { opacity: 1; }
.js .head[data-reveal] :is(.eyebrow, .intro, .clutch),
.js .close__in[data-reveal] > :not(.close__h),
.js :is(.reviews__grid, .people, .shorts, .longs, .qa, .rail__track)[data-reveal] > * {
  opacity: 0; transition: opacity var(--d-3) var(--out) var(--d, 0ms);
}
.js .head.in :is(.eyebrow, .intro, .clutch),
.js .close__in.in > :not(.close__h),
.js :is(.reviews__grid, .people, .shorts, .longs, .qa, .rail__track).in > * { opacity: 1; }
.head .intro, .head .clutch { --d: 200ms; }
.close__in > .close__p { --d: 200ms; }
.close__in > .btn { --d: 280ms; }
:is(.reviews__grid, .people, .shorts, .longs, .qa, .rail__track) > :nth-child(2) { --d: 40ms; }
:is(.reviews__grid, .people, .shorts, .longs, .qa, .rail__track) > :nth-child(3) { --d: 80ms; }
:is(.reviews__grid, .people, .shorts, .longs, .qa, .rail__track) > :nth-child(4) { --d: 120ms; }
:is(.reviews__grid, .people, .shorts, .longs, .qa, .rail__track) > :nth-child(5) { --d: 160ms; }
:is(.reviews__grid, .people, .shorts, .longs, .qa, .rail__track) > :nth-child(n+6) { --d: 200ms; }

/* heading rise: words sit in a mask, each line rises together */
.js .rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .rise .w > span { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform var(--d-4) var(--out) var(--d, 0ms); }
.js .in .rise .w > span, .js .rise.in .w > span { transform: none; }

/* hero intro (unchanged entrance) */
.js .hero [data-intro], .js .hero [data-panel] {
  opacity: 0; transform: translate3d(0, 18px, 0);
  transition: opacity 1s var(--out), transform 1.2s var(--out);
  transition-delay: var(--d, 0ms);
}
.js .hero [data-panel] { transform: translate3d(0, 40px, 0) scale(.985); }
.js .hero.in [data-intro], .js .hero.in [data-panel] { opacity: 1; transform: none; }
.js .hero .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .hero .w > span { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.15s var(--out); transition-delay: var(--d, 0ms); }
.js .hero.in .w > span { transform: none; }
.js .mark::after { transform: scaleX(0); transition: transform 1s var(--io) .85s; }
.js .hero.in .mark::after { transform: scaleX(1); }

/* case figures: start lands, arrow follows, end arrives last */
.js .case .fig > span { opacity: 0; transform: translate3d(0, .28em, 0); transition: opacity .7s var(--out), transform .9s var(--out); }
.js .case .fig__b { transform: translate3d(-.4em, 0, 0); }
.js .case.in .fig > span { opacity: 1; transform: none; }
.js .case.in .fig__a { transition-delay: .25s; }
.js .case.in .fig__b { transition-delay: .55s; }
.js .case.in .fig__c { transition-delay: .72s; }

/* =============================================================
   PROOF, PATH AND CLOSE (Batch 2)
   ============================================================= */

/* ledger rows: the chart draws onto its canvas, the figure lands
   start, arrow, end, then the total rule draws. Rows that enter
   together follow each other 120ms apart (--b). */
.js .case .frame img {
  -webkit-mask-image: linear-gradient(90deg, #000 48.5%, transparent 51.5%); mask-image: linear-gradient(90deg, #000 48.5%, transparent 51.5%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.js .case.in .frame img {
  -webkit-mask-position: 0 0; mask-position: 0 0;
  transition: -webkit-mask-position 1.2s var(--even) calc(var(--b, 0ms) + 80ms), mask-position 1.2s var(--even) calc(var(--b, 0ms) + 80ms), transform var(--d-5) var(--soft);
}
.js .case .fig__c::after { transform: scaleX(0); }
.js .case.in .fig__c::after { transform: scaleX(1); transition: transform .6s var(--even) calc(var(--b, 0ms) + 1.15s); }

/* path: the line draws once (1.2s, even), nodes fill on arrival (--t) */
.steps.is-armed::after { transform: scaleX(0); }
.steps.is-armed.in::after { transform: scaleX(1); transition: transform 1.2s var(--even); }
.steps.is-armed .step::before { background: var(--black); box-shadow: inset 0 0 0 2px var(--dim-2); transition: background-color .3s var(--out) var(--t, 0ms), box-shadow .3s var(--out) var(--t, 0ms); }
.steps.is-armed.in .step::before { background: var(--y); box-shadow: inset 0 0 0 2px var(--y); }
.steps.is-armed.in .step::after { animation: node .9s var(--out) var(--t, 0ms) both; }
.steps.is-armed .step > * { opacity: 0; transition: opacity var(--d-3) var(--out) calc(var(--t, 0ms) + 60ms); }
.steps.is-armed.in .step > * { opacity: 1; }
@keyframes node { 0% { opacity: 0; transform: scale(1); } 12% { opacity: .9; } 100% { opacity: 0; transform: scale(2.6); } }

/* proof: Clutch stars fill one by one */
.js .head[data-reveal] .clutch__stars > span { opacity: .2; transition: opacity .3s var(--out) calc(320ms + var(--i, 0) * 70ms); }
.js .head.in .clutch__stars > span { opacity: 1; }

/* close: the headline rises, the growth bar draws under "growth plan"
   to answer the hero, and the CTA settles into place */
.close__h .mark::after { bottom: -.04em; height: .1em; }
.js .close__h .mark::after { transition: transform 1s var(--even) .7s; }
.js .close__in.in .mark::after { transform: scaleX(1); }
.js .close__in[data-reveal] > .btn {
  translate: 0 16px; scale: .96;
  transition: opacity .5s var(--out) var(--d, 0ms), translate .9s var(--spring) var(--d, 0ms), scale .9s var(--spring) var(--d, 0ms),
              transform var(--d-2) var(--soft), background-color var(--d-2), box-shadow var(--d-2) var(--soft);
}
.js .close__in.in > .btn { translate: none; scale: none; }
.close__in > .btn { --d: 420ms; }

/* Intelligence: a soft light follows the pointer across the dark tiles.
   Ambient, not a hover state: it lights the whole bento, never a single
   "clickable" tile, and stays below the text. Mouse only. */
@media (hover: hover) and (pointer: fine) {
  .tool::before, .tool::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .6s var(--soft); }
  .tool::before { z-index: 0; background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.055), transparent 62%); }
  .tool::after { z-index: 6; padding: 1px; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.32), transparent 72%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
  .bento.is-lit .tool::before, .bento.is-lit .tool::after { opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .faq__head { grid-column: 1 / span 5; }
  .qa { grid-column: 6 / span 7; }
}
@media (max-width: 1079px) {
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case__shot { grid-column: 1 / span 6; }
  .case__text { grid-column: 7 / span 6; display: block; }
  .case__kicker, .fig { margin-bottom: 12px; }
  .case__p { margin: 10px 0 14px; padding-top: 0; }
  .step__h { font-size: var(--t-24); line-height: 1.2; letter-spacing: -.022em; }
}
@media (max-width: 899px) {
  .hero__copy, .panel { grid-column: 1 / -1; }
  .hero .display { max-width: 11ch; }
  .panel { max-width: 560px; }
  .faq__head, .qa { grid-column: 1 / -1; }
  .faq__head { position: static; padding-right: 0; margin-bottom: var(--s-head); }
  .bento { grid-template-columns: 1fr; }
  .tool--wide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .tool--wide .tool__text { padding-bottom: 0; }
  .tool--wide .tool__shot { padding: 32px 40px 36px; }
  .shorts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .shorts::-webkit-scrollbar { display: none; }
  .shorts > li { scroll-snap-align: start; }
  .longs { grid-template-columns: 1fr; gap: 40px; }
  .head--split { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 719px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .nav__in { gap: 8px; }
  .btn--s { --h: 40px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .review__meta { margin-bottom: 16px; }
  .review__quote { font-size: var(--t-24); line-height: 1.2; letter-spacing: -.022em; margin-bottom: 20px; }
  .review__sum { padding-top: 16px; margin-bottom: 20px; }
  .review__by { margin-bottom: 14px; }
  .review__quote--frag { font-size: var(--t-20); line-height: 1.3; letter-spacing: -.016em; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--g); }
  .form__row { grid-template-columns: 1fr; }
  .clients__head { align-items: start; margin-bottom: 24px; }
  .clients__title { font-size: var(--t-24); line-height: 1.2; letter-spacing: -.022em; }
  .paddles { display: none; }
  .brand { width: 72vw; min-width: 0; }
  .case { padding: 24px 0; row-gap: 20px; }
  .cases { border-top: 0; }
  .cases > .case:first-child { padding-top: 0; }
  .case__shot, .case__text { grid-column: 1 / -1; }
  .case__p { max-width: none; margin: 12px 0 14px; }
  /* the path turns: it runs down the left edge and draws downward */
  .steps { grid-template-columns: 1fr; row-gap: 40px; padding: 0 0 0 36px; }
  .steps::before, .steps::after { left: 5px; right: auto; top: 6px; bottom: 0; width: 2px; height: auto; }
  .steps::after { transform-origin: 50% 0; }
  .steps.is-armed::after { transform: scaleY(0); }
  .steps.is-armed.in::after { transform: scaleY(1); }
  .step::before, .step::after { left: -36px; top: 3px; }
  .step__h { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.022em; }
  .tool__text, .tool--wide .tool__text { padding: 28px 24px 0; }
  .tool__shot, .tool--wide .tool__shot { padding: 24px 24px 28px; gap: 14px; }
  .tool__win { border-radius: 10px; }
  .qa__item { padding: 28px 0; }
  .qa dt { font-size: var(--t-20); line-height: 1.3; letter-spacing: -.016em; }
  .watch__sub { font-size: var(--t-20); line-height: 1.3; letter-spacing: -.016em; margin-bottom: 20px; }
  .longs { gap: 32px; }
  /* the forced break only works at display width; on phones the line balances itself */
  .close__h { font-size: var(--fs-h2); line-height: 1; letter-spacing: -.042em; }
  .close__h br { display: none; }
  .foot__in { flex-wrap: wrap; gap: 12px 24px; }
  .foot__tag { margin-right: 0; flex-basis: 100%; order: 2; }
  .foot__c { order: 3; }
  .booking__sheet { left: 0; right: 0; top: auto; bottom: 0; width: 100%; height: calc(100svh - 28px); border-radius: var(--r-l) var(--r-l) 0 0; transform: translateY(100%); }
  .booking.is-open .booking__sheet { transform: none; }
  .booking__head { padding: 20px 20px 14px; }
  .booking__alt { padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}
/* small phones: logo, CTA and menu button share one row without crowding */
@media (max-width: 400px) {
  .nav__logo img { height: 20px; }
  .nav__in > .btn--s { padding: 0 12px; font-size: var(--t-13); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .hero [data-intro], .js .hero [data-panel],
  .js .head[data-reveal] :is(.eyebrow, .intro, .clutch), .js .close__in[data-reveal] > *,
  .js :is(.reviews__grid, .people, .shorts, .longs, .qa, .rail__track)[data-reveal] > *,
  .js .w > span, .js .case .fig > span {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .js .mark::after, .js .case .fig__c::after { transform: none !important; transition: none !important; }
  .js .case .frame img { -webkit-mask-image: none !important; mask-image: none !important; }
  .js .close__in[data-reveal] > .btn { translate: none !important; scale: none !important; }
  .js .head[data-reveal] .clutch__stars > span { opacity: 1 !important; transition: none !important; }
  .js .nav__in > .btn { translate: none !important; scale: none !important; }
  .menu .menu__sheet, .js .menu__list a, .js .menu__cta { transition: none !important; translate: none !important; }
  .arr, .btn .arr::before, .btn .arr::after, .vid__thumb img, .vid__play, .tool__win img, .frame img, .btn, .field.is-nudge { transition: none !important; animation: none !important; }
  @media (hover: hover) { .vid__thumb:hover img, .tool__shot:hover .tool__win img, .frame:hover img, .btn:hover, .person:hover .person__img img { transform: none; } .btn:hover .arr:not(.arr--d)::before, .btn:hover .arr:not(.arr--d)::after { transform: none; } .btn:hover .arr:not(.arr--d)::after { opacity: 0; } }
}

@media print {
  .nav, .modal, .paddles { display: none !important; }
  .sheet, .lsheet { background: #fff; color: #000; clip-path: none !important; }
}
