/* Blue Horizon — site styles
   Light editorial ground for the story, deep night sections for the work. */

:root {
  /* color */
  --paper: #ecebe7;
  --paper-2: #f6f5f2;
  --ink: #0a0d14;
  --muted: #555a64;
  --line: rgba(10, 13, 20, 0.12);
  --blue: #1f5cff;
  --blue-ink: #1546cc;
  --night: #050b18;
  --night-2: #0c1528;
  --on-night: #f2f5fa;
  --on-night-muted: #9eb0c9;
  --ice: #7cc4ff;
  --night-line: rgba(242, 245, 250, 0.12);

  /* type */
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --t-xs: 13px;
  --t-sm: 15px;
  --t-md: 17px;
  --t-lg: 21px;
  --t-xl: clamp(26px, 2.6vw, 34px);
  --t-2xl: clamp(36px, 4.8vw, 64px);
  --t-3xl: clamp(48px, 8vw, 120px);
  --t-hero: clamp(46px, 10.4vw, 168px);

  /* space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px; --s11: 192px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;

  /* shape */
  --r1: 6px; --r2: 14px; --r3: 24px; --r4: 36px; --pill: 999px;

  /* concentric shapes: inner radius = outer radius minus padding */
  --card-r: 40px;
  --card-pad: 28px;
  --card-inner-r: calc(var(--card-r) - var(--card-pad));

  /* motion: springs for anything you touch, eases for things that just appear */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: var(--ease-out);
  --spring-dur: 480ms;
  --press-dur: 120ms;
  --fast: 200ms;

  /* tracking tightens as size grows, like San Francisco's optical sizes */
  --track-display: -0.055em;
  --track-title: -0.04em;
  --track-heading: -0.025em;
  --track-body: -0.006em;
  --track-small: 0.008em;
}
/* A spring with a small settle (about 4% overshoot), close to SwiftUI's .smooth */
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.06 2%, 0.23 5%, 0.49 9%, 0.74 14%, 0.9 19%, 0.99 25%, 1.03 31%, 1.04 37%, 1.03 45%, 1.01 58%, 1 75%, 1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-md);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: var(--track-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s3) var(--s4); border-radius: var(--r1); }
.skip:focus { top: var(--s4); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s3);
  min-height: 48px; padding: 0 var(--s5);
  border-radius: var(--pill); border: 0;
  font: 500 var(--t-sm)/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--spring-dur) var(--spring), background-color var(--fast) var(--ease-out), color var(--fast) var(--ease-out), box-shadow var(--fast) var(--ease-out);
}
.btn:active { transform: scale(0.96); transition-duration: var(--press-dur), var(--fast), var(--fast), var(--fast); transition-timing-function: var(--ease-out); }
@media (hover: hover) { .btn:hover { transform: scale(1.02); } .btn:active { transform: scale(0.96); } }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.on-night .btn-ghost:hover { background: var(--on-night); color: var(--night); }
.btn .arrow { width: 16px; height: 16px; transition: transform var(--spring-dur) var(--spring); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; gap: var(--s2); align-items: center; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow .arrow { width: 14px; height: 14px; transition: transform var(--fast) var(--ease-out); }

/* ---------- header ---------- */
/* Liquid Glass lives on the navigation layer only: the floating nav, never content. */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: var(--s3) var(--gutter);
  transition: transform 560ms var(--spring);
}
.site-header.is-hidden { transform: translateY(-120%); transition-timing-function: var(--ease-in-out); transition-duration: 320ms; }
/* soft scroll-edge effect: content fades out under the floating nav instead of colliding with it */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -32px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--paper) 30%, rgba(236, 235, 231, 0));
  opacity: 0; transition: opacity 300ms var(--ease-out);
}
.site-header.is-scrolled::before { opacity: 0.9; }
.site-header.is-dark::before { background: linear-gradient(to bottom, var(--night) 30%, rgba(5, 11, 24, 0)); }
.nav {
  --nav-pad: 8px;
  max-width: var(--max); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--nav-pad) var(--nav-pad) var(--nav-pad) var(--s4);
  border-radius: var(--pill);
  background: rgba(246, 245, 242, 0.58);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(10, 13, 20, 0.04),
    0 0 0 0.5px rgba(10, 13, 20, 0.12),
    0 10px 30px -12px rgba(10, 13, 20, 0.18);
  transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.site-header.is-dark .nav {
  background: rgba(22, 30, 50, 0.52); color: var(--on-night);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 0 0 0.5px rgba(242, 245, 250, 0.16),
    0 10px 30px -12px rgba(0, 0, 0, 0.5);
}
@media (prefers-contrast: more) {
  .nav { background: var(--paper-2); box-shadow: 0 0 0 1.5px var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-dark .nav { background: var(--night); box-shadow: 0 0 0 1.5px var(--on-night); }
}
.brand { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: var(--t-md); }
.brand img { width: 28px; height: 28px; }
.nav-links { display: none; gap: var(--s5); list-style: none; margin: 0; padding: 0; font-size: var(--t-sm); }
.nav-links a { text-decoration: none; opacity: 0.72; transition: opacity var(--fast) var(--ease-out); }
.nav-links a:hover { opacity: 1; }
/* capsule inside a capsule: same centre line, so the corners stay concentric */
.nav .btn { min-height: 40px; padding: 0 var(--s4); }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(120px, 18vh, 200px); padding-bottom: var(--s8); text-align: center; }
.hero h1 { font-size: var(--t-hero); font-weight: 600; letter-spacing: var(--track-display); line-height: 0.92; }
.hero .line, .cs-hero .line { display: block; padding-bottom: 0.06em; }
.hero .line > span, .cs-hero .line > span { display: inline-block; }
.pill-video {
  display: inline-block; vertical-align: middle;
  width: 1.55em; height: 0.78em; margin: 0 0.06em 0.1em;
  border-radius: 0.2em; overflow: hidden; position: relative;
  background: var(--night);
  transform: translateZ(0);
}
.pill-video video, .pill-video img { width: 100%; height: 100%; object-fit: cover; }
.hero-sub { max-width: 34em; margin: var(--s7) auto 0; font-size: var(--t-lg); line-height: 1.45; color: var(--muted); }
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: var(--s6); }

/* ---------- logos ---------- */
.logos { padding: var(--s7) 0 var(--s9); }
.logos-label { text-align: center; font-size: var(--t-xs); color: var(--muted); margin-bottom: var(--s5); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: clamp(40px, 6vw, 88px); width: max-content; animation: marquee 38s linear infinite; }
.marquee-track img { height: clamp(44px, 5vw, 64px); width: auto; filter: brightness(0); opacity: 0.55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stage (expanding video) ---------- */
.stage { position: relative; height: 220vh; background: var(--paper); }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.stage-frame {
  position: relative; width: 100%; height: 100%;
  clip-path: inset(22% 18% 22% 18% round 28px);
  will-change: clip-path;
}
.stage-frame video, .stage-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-shade { position: absolute; inset: 0; background: rgba(5, 11, 24, 0.72); opacity: 1; }
.js .stage-shade { opacity: 0; }
.reduced .stage-shade { opacity: 1; }
.stage-copy {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center;
  color: var(--on-night); padding: var(--gutter);
}
.stage-copy p { font-size: var(--t-3xl); font-weight: 600; letter-spacing: var(--track-title); line-height: 0.98; max-width: 12em; text-wrap: balance; }
.stage-copy small { display: block; margin-top: var(--s5); font-size: var(--t-md); font-weight: 400; letter-spacing: 0; color: var(--on-night-muted); }
.no-js .stage, .reduced .stage { height: auto; }
.no-js .stage-sticky, .reduced .stage-sticky { position: relative; height: 80vh; }
.no-js .stage-frame, .reduced .stage-frame { clip-path: none; }

/* ---------- sections ---------- */
.section { padding-block: clamp(96px, 13vw, 192px); }
.section-sm { padding-block: clamp(80px, 9vw, 128px); }
.eyebrow { font-size: var(--t-sm); letter-spacing: var(--track-small); color: var(--muted); margin-bottom: var(--s5); display: flex; align-items: center; gap: var(--s2); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.on-night .eyebrow { color: var(--on-night-muted); }
.on-night .eyebrow::before { background: var(--ice); }
.h2 { font-size: var(--t-2xl); line-height: 1.02; }
.lead { font-size: var(--t-lg); line-height: 1.5; color: var(--muted); max-width: 36em; }
.on-night { background: var(--night); color: var(--on-night); }
.on-night .lead { color: var(--on-night-muted); }

/* ---------- problem ---------- */
.problem-grid { display: grid; gap: var(--s8); }
.problem-statement { font-size: var(--t-2xl); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; max-width: 18em; }
.problem-statement .w { opacity: 0.16; transition: opacity 0.2s linear; }
.no-js .problem-statement .w, .reduced .problem-statement .w { opacity: 1; }
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.problem-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); font-size: var(--t-lg); line-height: 1.4; }
.problem-list .n { font-size: var(--t-sm); color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 4px; }
@media (min-width: 960px) {
  .problem-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: var(--s9); }
}

/* call meter */
.meter { margin-top: var(--s9); display: grid; gap: var(--s5); }
.meter-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
.meter-label { display: flex; justify-content: space-between; font-size: var(--t-sm); color: var(--muted); }
.meter-label b { color: var(--ink); font-weight: 500; }
.meter-bar { height: 56px; border-radius: var(--r2); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; }
.meter-bar span { display: block; line-height: 56px; padding: 0 var(--s4); font-size: var(--t-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform-origin: left; }
.meter-bar .intro { background: #d9d7d1; color: var(--ink); }
.meter-bar .talk { background: var(--blue); color: #fff; }
.meter-bar .intro.short { flex: 0 0 8%; padding: 0; }
@media (min-width: 960px) { .meter-row { grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: var(--s5); } .meter-label { flex-direction: column; } }

/* ---------- work (horizontal) ---------- */
.work { position: relative; overflow: hidden; }
.work-head { display: grid; gap: var(--s5); margin-bottom: var(--s8); }
@media (min-width: 960px) { .work-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }
.reel-track { display: flex; gap: var(--s4); padding-inline: var(--gutter); width: max-content; }
/* Content layer: no glass here. Captions sit on a plain fill, corners concentric with the card. */
.reel {
  --reel-r: 28px; --reel-inset: 12px;
  position: relative; flex: 0 0 auto; width: clamp(220px, 24vw, 320px); aspect-ratio: 9 / 16;
  border-radius: var(--reel-r); overflow: hidden; background: var(--night-2);
  box-shadow: 0 0 0 1px var(--night-line);
  transform-origin: center center; will-change: transform, opacity;
}
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.js .reel video, .js .thumb img { transform: scale(1.12); }
.reel figcaption {
  position: absolute; left: var(--reel-inset); right: var(--reel-inset); bottom: var(--reel-inset);
  font-size: var(--t-xs); letter-spacing: var(--track-small); color: var(--on-night);
  background: rgba(5, 11, 24, 0.84); padding: var(--s2) var(--s3);
  border-radius: calc(var(--reel-r) - var(--reel-inset));
}
.thumb { position: relative; flex: 0 0 auto; width: clamp(300px, 42vw, 620px); align-self: center; border-radius: var(--r3); overflow: hidden; box-shadow: 0 0 0 1px var(--night-line); transform-origin: center center; will-change: transform, opacity; }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.thumb figcaption { padding: var(--s3) var(--s1) 0; font-size: var(--t-sm); color: var(--on-night-muted); background: var(--night); }
.thumb figcaption b { color: var(--on-night); font-weight: 500; }
.no-js .work-scroller, .reduced .work-scroller { overflow-x: auto; }
@media (max-width: 759px) { .work-scroller { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .work-scroller::-webkit-scrollbar { display: none; } .reel, .thumb { scroll-snap-align: center; } }

/* ---------- case teaser ---------- */
.case { display: grid; gap: var(--s8); padding-top: var(--s10); }
.case-media { position: relative; border-radius: var(--r3); overflow: hidden; }
.case-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); border-top: 1px solid var(--night-line); padding-top: var(--s5); }
.stat-num { font-size: clamp(26px, 3.4vw, 52px); font-weight: 600; letter-spacing: var(--track-title); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* rolling digits, like SwiftUI's .numericText() */
.roll { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.roll-col { display: block; will-change: transform; }
.roll-col > span { display: block; height: 1em; line-height: 1; }
.stat-num .unit { color: var(--ice); }
.stat-label { font-size: var(--t-sm); color: var(--on-night-muted); margin-top: var(--s2); line-height: 1.4; }
.case-quote { font-size: var(--t-xl); line-height: 1.3; letter-spacing: -0.02em; font-weight: 400; margin: 0; }
.case-quote footer { margin-top: var(--s4); font-size: var(--t-sm); color: var(--on-night-muted); letter-spacing: 0; }
.case-body { display: grid; gap: var(--s7); align-content: start; }
@media (min-width: 960px) { .case { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s9); align-items: center; } }

/* ---------- compare ---------- */
.compare { margin-top: var(--s8); border-top: 1px solid var(--line); }
.compare-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); font-size: var(--t-lg); line-height: 1.35; }
.compare-row .them { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(85, 90, 100, 0.5); text-decoration-thickness: 1px; }
.compare-row .us { font-weight: 500; }
.compare-head { font-size: var(--t-sm); color: var(--muted); padding: var(--s4) 0; }
.compare-head .us { color: var(--blue); font-weight: 500; text-decoration: none; }
@media (max-width: 599px) { .compare-row { font-size: var(--t-md); } }

/* ---------- process ---------- */
.process { display: grid; gap: var(--s8); }
.process-intro { align-self: start; }
@media (min-width: 960px) { .process { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s9); } .process-intro { position: sticky; top: 140px; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s4); padding: var(--s6) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n { font-size: var(--t-sm); color: var(--blue); font-weight: 500; font-variant-numeric: tabular-nums; padding-top: 6px; }
.step h3 { font-size: var(--t-xl); letter-spacing: -0.025em; margin-bottom: var(--s3); }
.step p { color: var(--muted); max-width: 32em; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: var(--s4); margin-top: var(--s8); }
.quote-card { background: var(--paper-2); border-radius: var(--card-r); padding: var(--card-pad); display: grid; gap: var(--s6); align-content: space-between; box-shadow: inset 0 0 0 1px var(--line); }
.quote-card blockquote { margin: 0; }
.quote-card .big { font-size: var(--t-xl); line-height: 1.2; letter-spacing: var(--track-heading); font-weight: 500; margin-bottom: var(--s4); }
.quote-card .body { color: var(--muted); }
.who { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-sm); line-height: 1.35; }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--paper); }
.who b { display: block; font-weight: 500; }
.who span { color: var(--muted); }
.quote-card.feature { background: var(--night); color: var(--on-night); box-shadow: none; }
.quote-card.feature .body, .quote-card.feature .who span { color: var(--on-night-muted); }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .quotes { grid-template-columns: repeat(6, minmax(0, 1fr)); } .quote-card:nth-child(1) { grid-column: span 4; } .quote-card:nth-child(2) { grid-column: span 2; } .quote-card:nth-child(3) { grid-column: span 3; } .quote-card:nth-child(4) { grid-column: span 3; } }

/* ---------- founder ---------- */
.founder { display: grid; gap: var(--s8); }
.founder-photo { border-radius: var(--r3); overflow: hidden; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder-copy { display: grid; gap: var(--s5); align-content: center; }
.founder-copy p { font-size: var(--t-lg); line-height: 1.5; color: var(--on-night-muted); max-width: 30em; }
.founder-copy p strong { color: var(--on-night); font-weight: 500; }
.founder-sign { font-size: var(--t-sm); color: var(--on-night-muted); }
.founder-sign b { display: block; color: var(--on-night); font-weight: 500; font-size: var(--t-md); }
@media (min-width: 960px) { .founder { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s9); } }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s9); }
.gallery figure { margin: 0; border-radius: var(--r2); overflow: hidden; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 800ms var(--ease-out); }
.gallery figure:hover img { transform: scale(1.03); }
@media (min-width: 960px) { .gallery { grid-template-columns: 1.3fr 1fr 1fr; } .gallery figure:first-child { grid-row: span 2; } .gallery figure:first-child img { aspect-ratio: auto; } }

/* ---------- pricing ---------- */
.plans { display: grid; gap: var(--s4); margin-top: var(--s8); }
.plan { position: relative; background: var(--paper-2); border-radius: var(--card-r); padding: var(--card-pad); display: flex; flex-direction: column; gap: var(--s5); box-shadow: inset 0 0 0 1px var(--line); }
.plan.popular { background: var(--night); color: var(--on-night); box-shadow: none; }
.plan-name { display: flex; justify-content: space-between; align-items: center; font-size: var(--t-lg); font-weight: 500; }
.badge { font-size: var(--t-xs); font-weight: 500; padding: var(--s1) var(--s3); border-radius: var(--pill); background: var(--blue); color: #fff; }
.price { font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: var(--t-md); font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan.popular .price small, .plan.popular .plan-term, .plan.popular .plan-desc { color: var(--on-night-muted); }
.plan-term { font-size: var(--t-sm); color: var(--muted); margin-top: calc(var(--s3) * -1); }
.plan-desc { color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: var(--s5) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s3); font-size: var(--t-sm); flex: 1; }
.plan.popular ul { border-color: var(--night-line); }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--s3); line-height: 1.45; }
.plan li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--blue); }
.plan.popular li svg { color: var(--ice); }
.plan .btn { justify-content: center; min-height: 52px; border-radius: var(--card-inner-r); }
/* cards lift on a spring; desktop pointers only */
@media (hover: hover) {
  /* .settled is added once the scroll reveal finishes, so CSS springs never fight GSAP */
  .no-js :is(.plan, .quote-card, .lesson), .reduced :is(.plan, .quote-card, .lesson), .settled { transition: transform var(--spring-dur) var(--spring), box-shadow 300ms var(--ease-out); }
  .plan:hover, .quote-card:hover, .lesson:hover { transform: translateY(-6px); }
  .plan:not(.popular):hover, .quote-card:not(.feature):hover, .lesson:hover { box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -28px rgba(10, 13, 20, 0.28); }
}
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.research { margin-top: var(--s8); display: grid; gap: var(--s5); padding: var(--card-pad); border-radius: var(--card-r); box-shadow: inset 0 0 0 1px var(--line); }
.research ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.research li { font-size: var(--t-sm); padding: var(--s2) var(--s4); border-radius: var(--pill); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.research p { color: var(--muted); }
@media (min-width: 960px) { .research { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.fine { font-size: var(--t-sm); color: var(--muted); margin-top: var(--s5); }

/* ---------- referral ---------- */
.referral { display: grid; gap: var(--s5); padding: var(--s7) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.referral .pct { font-size: var(--t-3xl); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; color: var(--blue); }
.referral p { color: var(--muted); max-width: 32em; }
.referral h3 { font-size: var(--t-xl); letter-spacing: -0.025em; margin-bottom: var(--s3); }
@media (min-width: 960px) { .referral { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s8); } }

/* ---------- final cta ---------- */
.final { text-align: center; padding-block: clamp(96px, 13vw, 192px) clamp(80px, 9vw, 128px); overflow: hidden; }
.final h2 { font-size: var(--t-3xl); letter-spacing: -0.055em; line-height: 0.95; max-width: 11em; margin-inline: auto; }
.final p { margin: var(--s6) auto 0; max-width: 30em; color: var(--on-night-muted); font-size: var(--t-lg); }
.final .hero-cta { margin-top: var(--s7); }
.final-mark { width: 88px; height: 88px; margin: 0 auto var(--s7); }

/* ---------- footer ---------- */
.site-footer { padding: var(--s8) 0 var(--s6); font-size: var(--t-sm); color: var(--on-night-muted); border-top: 1px solid var(--night-line); }
.footer-grid { display: grid; gap: var(--s6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-grid h4 { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0; color: var(--on-night-muted); margin-bottom: var(--s3); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.footer-grid a { color: var(--on-night); text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { color: var(--on-night); margin-bottom: var(--s3); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--night-line); }
.clock { font-variant-numeric: tabular-nums; color: var(--on-night); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- case study page ---------- */
.cs-hero { padding-top: clamp(120px, 18vh, 180px); padding-bottom: var(--s8); }
.cs-hero h1 { font-size: var(--t-3xl); letter-spacing: -0.055em; line-height: 0.95; max-width: 13em; }
.cs-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: var(--t-sm); }
.cs-meta dt { color: var(--muted); margin-bottom: var(--s1); }
.cs-meta dd { margin: 0; font-weight: 500; }
@media (min-width: 860px) { .cs-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cs-cover { border-radius: var(--r3); overflow: hidden; }
.cs-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.prose { display: grid; gap: var(--s5); max-width: 40em; font-size: var(--t-lg); line-height: 1.6; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--ink); font-weight: 500; }
.on-night .prose p { color: var(--on-night-muted); }
.on-night .prose p strong { color: var(--on-night); }
.cs-split { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .cs-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s9); } .cs-split > :first-child { position: sticky; top: 140px; align-self: start; } }
.pull { font-size: var(--t-2xl); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; max-width: 18em; margin: 0; }
.pull footer { font-size: var(--t-md); color: var(--muted); letter-spacing: 0; font-weight: 400; margin-top: var(--s5); }
.on-night .pull footer { color: var(--on-night-muted); }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r3); overflow: hidden; background: var(--night-2); border: 0; padding: 0; cursor: pointer; color: #fff; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.yt:hover img { transform: scale(1.02); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(5, 11, 24, 0.82); display: grid; place-items: center; transition: transform var(--spring-dur) var(--spring), background-color var(--fast) var(--ease-out); }
.yt:hover .play { transform: scale(1.08); background: var(--blue); }
.yt:active .play { transform: scale(0.94); transition-duration: var(--press-dur), var(--fast); }
.yt .play svg { width: 26px; height: 26px; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: var(--s7); }
.data th, .data td { text-align: left; padding: var(--s4) var(--s3) var(--s4) 0; border-bottom: 1px solid var(--night-line); font-size: var(--t-md); }
.data th { font-weight: 400; color: var(--on-night-muted); font-size: var(--t-sm); }
.data td:nth-child(2) { color: var(--on-night); font-weight: 500; }
.data td:nth-child(3) { color: var(--on-night-muted); }
.big-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s5); margin-top: var(--s8); }
@media (min-width: 960px) { .big-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lessons { display: grid; gap: var(--s4); margin-top: var(--s8); }
.lesson { padding: var(--card-pad); border-radius: var(--card-r); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.lesson h3 { font-size: var(--t-xl); letter-spacing: -0.025em; margin-bottom: var(--s3); }
.lesson p { color: var(--muted); }
@media (min-width: 860px) { .lessons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.timeline { list-style: none; margin: var(--s8) 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s5); padding: var(--s5) 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { color: var(--blue); font-weight: 500; font-size: var(--t-sm); padding-top: 4px; }
.timeline h3 { font-size: var(--t-lg); letter-spacing: -0.02em; margin-bottom: var(--s2); }
.timeline p { color: var(--muted); }
@media (max-width: 599px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } }
.back { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-sm); text-decoration: none; color: var(--muted); margin-bottom: var(--s6); }
.back:hover { color: var(--ink); }
.back svg { width: 14px; height: 14px; }

/* ---------- hero photo pill: real clients, crossfading ---------- */
.pill-photos img { position: absolute; inset: 0; opacity: 0; animation: pill-fade 12s infinite; }
.pill-photos img:nth-child(1) { opacity: 1; animation-delay: 0s; }
.pill-photos img:nth-child(2) { animation-delay: 3s; }
.pill-photos img:nth-child(3) { animation-delay: 6s; }
.pill-photos img:nth-child(4) { animation-delay: 9s; }
@keyframes pill-fade { 0% { opacity: 0; transform: scale(1.08); } 4% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }

.h3 { font-size: var(--t-xl); letter-spacing: var(--track-heading); line-height: 1.15; }

/* ---------- warmth slider ---------- */
.warmth { margin-top: var(--s9); display: grid; gap: var(--s7); align-items: center; }
.warmth-copy { display: grid; gap: var(--s4); align-content: start; }
.warmth-copy .eyebrow { margin-bottom: 0; }
.warmth-label { font-size: var(--t-md); color: var(--muted); margin-top: var(--s3); }
.warmth-label output { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.warmth-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: grab; margin: 0; }
.warmth-range:active { cursor: grabbing; }
.warmth-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--blue) var(--fill, 0%), #d9d7d1 var(--fill, 0%)); }
.warmth-range::-moz-range-track { height: 8px; border-radius: 999px; background: #d9d7d1; }
.warmth-range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--blue); }
.warmth-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.5px rgba(0,0,0,.12), 0 3px 8px rgba(0,0,0,.18), 0 1px 1px rgba(0,0,0,.08); transition: transform var(--spring-dur) var(--spring); }
.warmth-range::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.5px rgba(0,0,0,.12), 0 3px 8px rgba(0,0,0,.18); }
.warmth-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.warmth-ticks { display: flex; justify-content: space-between; padding: 0 9px; margin-top: calc(var(--s3) * -1); font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.warmth .fine { margin-top: 0; font-size: var(--t-xs); }
.call-card { background: var(--paper-2); border-radius: var(--card-r); padding: var(--card-pad); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(10,13,20,.35); display: grid; gap: var(--s5); transition: background-color 600ms var(--ease-out), color 600ms var(--ease-out); }
.call-top { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-sm); color: var(--muted); }
.call-dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; }
.call-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.call-who { font-size: var(--t-xs); color: var(--muted); margin-bottom: var(--s2); }
.call-line { font-size: var(--t-xl); line-height: 1.25; letter-spacing: var(--track-heading); font-weight: 500; min-height: 2.5em; }
.call-bar { height: 14px; border-radius: 999px; overflow: hidden; display: flex; background: var(--blue); }
.call-intro { display: block; height: 100%; background: #c9c6be; border-radius: 999px 0 0 999px; transition: width 700ms var(--spring); }
.call-legend { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s3); font-size: var(--t-xs); color: var(--muted); }
.call-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.k-intro { background: #c9c6be; } .k-talk { background: var(--blue); }
.call-mood { font-size: var(--t-sm); color: var(--muted); }
.call-card.is-warm { background: var(--night); color: var(--on-night); }
.call-card.is-warm .call-top, .call-card.is-warm .call-who, .call-card.is-warm .call-legend, .call-card.is-warm .call-mood { color: var(--on-night-muted); }
.call-card.is-warm .call-intro, .call-card.is-warm .k-intro { background: #3a4762; }
@media (min-width: 960px) { .warmth { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s9); } }

/* ---------- system toggle ---------- */
.system-head { display: grid; gap: var(--s6); margin-bottom: var(--s7); align-items: end; }
@media (min-width: 960px) { .system-head { grid-template-columns: minmax(0, 1fr) auto; } }
.system-switch { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-sm); }
.switch-label { color: var(--muted); transition: color 300ms var(--ease-out); }
.switch-label.is-on { color: var(--ink); font-weight: 500; }
.switch { position: relative; width: 64px; height: 38px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: #c9c6be; transition: background-color 300ms var(--ease-out); flex: 0 0 auto; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 0 0 0.5px rgba(0,0,0,.06); transition: transform var(--spring-dur) var(--spring), width 200ms var(--ease-out); }
.switch:active .switch-knob { width: 38px; }
.switch[aria-checked="true"] { background: var(--blue); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(26px); }
.switch[aria-checked="true"]:active .switch-knob { transform: translateX(20px); }

.sys {
  position: relative; height: clamp(440px, 46vw, 560px); border-radius: var(--r4); overflow: hidden;
  background: #e2e0da; box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 900ms var(--ease-out);
}
.sys::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10,13,20,.09) 1px, transparent 1px); background-size: 22px 22px; transition: opacity 900ms var(--ease-out); }
.sys.is-on { background: var(--night); }
.sys.is-on::before { opacity: 0.25; background-image: radial-gradient(rgba(124,196,255,.35) 1px, transparent 1px); }
.sys-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sys-lines .broken { stroke: rgba(10,13,20,.38); stroke-width: 2; stroke-dasharray: 4 6; stroke-linecap: round; fill: none; }
.sys-lines .flow-base { stroke: rgba(124,196,255,.22); stroke-width: 2; fill: none; }
.sys-lines .flow { stroke: var(--ice); stroke-width: 2; fill: none; stroke-dasharray: 6 14; animation: flow 1.2s linear infinite; }
.sys-lines .pulse { fill: #fff; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.sys-node {
  --x: var(--xo); --y: var(--yo); --r: var(--ro);
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  display: grid; justify-items: center; gap: var(--s2);
  transform: translate(-50%, -50%) rotate(var(--r));
  transition: left 900ms var(--spring), top 900ms var(--spring), transform 900ms var(--spring);
  animation: drift 6s ease-in-out infinite alternate;
}
.sys-node:nth-child(odd) { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes drift { to { translate: 0 -8px; } }
.sys.is-on .sys-node { --x: var(--xn); --y: var(--yn); --r: 0deg; animation: none; }
.sys .sys-node:nth-of-type(2) { transition-delay: 40ms; } .sys .sys-node:nth-of-type(3) { transition-delay: 80ms; }
.sys .sys-node:nth-of-type(4) { transition-delay: 120ms; } .sys .sys-node:nth-of-type(5) { transition-delay: 160ms; }
.sys .sys-node:nth-of-type(6) { transition-delay: 200ms; } .sys .sys-node:nth-of-type(7) { transition-delay: 240ms; }
.sys .sys-node:nth-of-type(8) { transition-delay: 280ms; }
.tile { width: clamp(54px, 6vw, 76px); aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 20px -8px rgba(10,13,20,.3), 0 0 0 0.5px rgba(10,13,20,.08); transition: background-color 600ms var(--ease-out), box-shadow 600ms var(--ease-out); }
.tile svg { width: 64%; height: 64%; overflow: visible; }
.tile svg * { transition: fill 600ms var(--ease-out), stroke 600ms var(--ease-out); }
.sys-label { display: grid; justify-items: center; text-align: center; font-size: var(--t-xs); line-height: 1.3; letter-spacing: var(--track-small); white-space: nowrap; }
.sys-label b { font-weight: 500; }
.sys-label em { font-style: normal; color: var(--muted); transition: color 600ms var(--ease-out); }
.sys.is-on .sys-label { color: var(--on-night); }
.sys.is-on .sys-label em { color: var(--ice); }
.sys.is-on .lit .tile { background: var(--blue); box-shadow: 0 10px 28px -8px rgba(31,92,255,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.sys.is-on .lit .tile .ga { fill: #fff; stroke: none; }
.sys.is-on .lit .tile .gb, .sys.is-on .lit .tile .gb-t { fill: var(--blue); }
.sys.is-on .lit .tile .gb-s { stroke: var(--blue); }
.sys.is-on .lit .tile .gb-i { fill: #fff; }
.sys.is-on .lit[data-node="record"] .gb { fill: var(--blue); }
.sys.is-on .lit[data-node="prospect"] .gb { fill: var(--ice); }
.sys-note { position: absolute; left: 50%; bottom: var(--s5); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); text-align: center; font-size: var(--t-sm); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.sys-note-off { color: var(--muted); }
.sys-note-on { color: var(--on-night); opacity: 0; transform: translate(-50%, 8px); }
.sys.is-on .sys-note-off { opacity: 0; transform: translate(-50%, -8px); }
.sys.is-done .sys-note-on { opacity: 1; transform: translate(-50%, 0); }
.section-sm .system-switch .switch-label[data-on-label] { color: var(--blue); }
.section-sm .system-switch .switch-label[data-on-label]:not(.is-on) { color: var(--muted); }
@media (max-width: 759px) {
  .sys { height: 760px; }
  .sys.is-on .sys-label em { display: none; }
  .sys-node { --x: var(--mxo); --y: var(--myo); }
  .sys.is-on .sys-node { --x: var(--mxn); --y: var(--myn); }
  .sys-note { bottom: var(--s4); font-size: var(--t-xs); }
  .tile { width: 58px; }
}

/* ---------- compare: strike-through draws in ---------- */
.js .compare-row .them { text-decoration-color: transparent; color: var(--ink); transition: text-decoration-color 500ms var(--ease-out), color 500ms var(--ease-out); }
.js .compare-row.is-struck .them { text-decoration-color: rgba(85, 90, 100, 0.6); color: var(--muted); }
.js .compare-row.compare-head .them { color: var(--muted); }
.js .compare-row:not(.compare-head) .us { opacity: 0.25; transform: translateX(-8px); transition: opacity 500ms var(--ease-out) 200ms, transform 600ms var(--spring) 200ms; }
.js .compare-row.is-struck .us { opacity: 1; transform: none; }
.reduced .compare-row .them { text-decoration-color: rgba(85, 90, 100, 0.6); color: var(--muted); }
.reduced .compare-row .us { opacity: 1; transform: none; }

/* ---------- process visual ---------- */
.pv { position: relative; height: 300px; border-radius: var(--card-r); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pv-scene { position: absolute; inset: 0; padding: var(--card-pad); display: grid; align-content: center; gap: var(--s4); opacity: 0; transform: scale(0.96); transition: opacity 400ms var(--ease-out), transform 600ms var(--spring); }
.pv-scene.is-active { opacity: 1; transform: none; }
.pv-call { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.pv-face { position: relative; aspect-ratio: 4 / 3; border-radius: var(--card-inner-r); overflow: hidden; background: #d9d7d1; display: grid; place-items: center; }
.pv-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.pv-face > span:last-child { position: absolute; left: 8px; bottom: 8px; font-size: var(--t-xs); color: #fff; background: rgba(5,11,24,.7); padding: 2px 8px; border-radius: 6px; }
.pv-you { background: var(--night-2); }
.pv-initial { font-size: 28px; font-weight: 600; color: var(--on-night); }
.pv-tags { display: flex; gap: var(--s2); }
.pv-tags span, .pv-check { font-size: var(--t-xs); padding: 4px 10px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pv-thumb { border-radius: var(--card-inner-r); overflow: hidden; }
.pv-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pv-meta { display: grid; grid-template-columns: repeat(3, auto auto); gap: var(--s2) var(--s2); align-items: center; justify-content: start; font-size: var(--t-xs); }
.pv-meta b { font-weight: 500; }
.pv-check { color: #1c7c3a; background: #e3f4e8; box-shadow: none; }
.pv-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.pv-board > div { display: grid; gap: 6px; align-content: start; background: var(--paper); border-radius: 12px; padding: 10px; min-height: 160px; }
.pv-board b { font-size: 11px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.pv-board i { display: block; height: 30px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(10,13,20,.08); }
.pv-board i.short { height: 20px; }
.pv-board i.blue { background: var(--blue); }
.pv-board i.green { background: #34c759; }
.pv-rec { position: relative; border-radius: var(--card-inner-r); overflow: hidden; }
.pv-rec img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pv-rec-badge { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(5,11,24,.7); padding: 4px 10px; border-radius: 999px; }
.pv-rec-badge i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.pv-tc { position: absolute; right: 10px; bottom: 10px; font-size: 11px; color: #fff; background: rgba(5,11,24,.7); padding: 4px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.pv-chat { display: grid; gap: var(--s2); }
.pv-chat p { max-width: 82%; font-size: var(--t-sm); line-height: 1.4; padding: 10px 14px; border-radius: 18px; }
.pv-chat .them { background: var(--paper); justify-self: start; border-bottom-left-radius: 6px; }
.pv-chat .you { background: var(--blue); color: #fff; justify-self: end; border-bottom-right-radius: 6px; }
.pv-scene.is-active .pv-chat p { animation: bubble 500ms var(--spring) both; }
.pv-scene.is-active .pv-chat p:nth-child(2) { animation-delay: 350ms; }
.pv-scene.is-active .pv-chat p:nth-child(3) { animation-delay: 700ms; }
@keyframes bubble { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.pv-chart { height: 170px; display: flex; align-items: flex-end; gap: 10px; padding-bottom: 1px; border-bottom: 1px solid var(--line); }
.pv-chart span { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: #d9d7d1; transform-origin: bottom; }
.pv-chart span:last-child { background: var(--blue); }
.pv-scene.is-active .pv-chart span { animation: grow 700ms var(--spring) both; }
.pv-scene.is-active .pv-chart span:nth-child(2) { animation-delay: 60ms; } .pv-scene.is-active .pv-chart span:nth-child(3) { animation-delay: 120ms; }
.pv-scene.is-active .pv-chart span:nth-child(4) { animation-delay: 180ms; } .pv-scene.is-active .pv-chart span:nth-child(5) { animation-delay: 240ms; }
.pv-scene.is-active .pv-chart span:nth-child(6) { animation-delay: 300ms; }
@keyframes grow { from { transform: scaleY(0); } }
.pv-caption { font-size: var(--t-xs); color: var(--muted); }
.step { transition: opacity 400ms var(--ease-out); }
.js .steps.has-active .step:not(.is-active) { opacity: 0.4; }
@media (min-width: 960px) {
  .process { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; }
  .process-intro { position: static; grid-column: 1; grid-row: 1; }
  .pv { grid-column: 1; grid-row: 2; position: sticky; top: 120px; align-self: start; height: 340px; }
  .steps { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 959px) {
  .pv { position: sticky; top: 72px; z-index: 3; height: 230px; box-shadow: inset 0 0 0 1px var(--line), 0 20px 30px -24px rgba(10,13,20,.3); }
  .pv-scene { padding: var(--s4); }
  .pv-board > div { min-height: 120px; }
  .pv-chart { height: 120px; }
  .pv-call { grid-template-columns: 1fr 1fr; }
  .pv-face { aspect-ratio: 16 / 10; }
}

/* ---------- idea generator ---------- */
.ideas-head { display: grid; gap: var(--s5); margin-bottom: var(--s8); }
@media (min-width: 960px) { .ideas-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }
.ideas-tool { display: grid; gap: var(--s7); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips legend { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-lg); font-weight: 500; letter-spacing: var(--track-heading); margin-bottom: var(--s4); padding: 0; }
.chip-step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: var(--t-sm); letter-spacing: 0; }
.chip { min-height: 48px; padding: 0 var(--s5); border-radius: 999px; border: 0; cursor: pointer; font: 500 var(--t-sm)/1 var(--font); color: var(--on-night); background: rgba(242,245,250,.07); box-shadow: inset 0 0 0 1px var(--night-line); transition: transform var(--spring-dur) var(--spring), background-color 200ms var(--ease-out), color 200ms var(--ease-out); }
.chip:hover { background: rgba(242,245,250,.13); }
.chip:active { transform: scale(0.95); transition-duration: var(--press-dur), 200ms, 200ms; }
.chip[aria-pressed="true"] { background: var(--on-night); color: var(--night); box-shadow: none; }
.idea-grid { display: grid; gap: var(--s4); perspective: 1400px; }
.idea-grid:empty { display: none; }
@media (min-width: 960px) { .idea-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.idea { border-radius: var(--card-r); padding: var(--card-pad); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); display: grid; gap: var(--s4); align-content: start; transform-origin: center top; }
.idea-thumb { aspect-ratio: 16 / 9; border-radius: var(--card-inner-r); background: linear-gradient(140deg, #1f5cff, #0b2a7a 70%); display: flex; align-items: flex-end; padding: var(--s4); overflow: hidden; position: relative; }
.idea-thumb::after { content: ""; position: absolute; right: -10%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(124,196,255,.18); }
.idea-thumb span { position: relative; z-index: 1; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: var(--track-title); line-height: 1; color: #fff; max-width: 80%; text-wrap: balance; }
.idea-format { font-size: var(--t-xs); color: var(--ice); letter-spacing: var(--track-small); }
.idea h3 { font-size: var(--t-lg); line-height: 1.3; letter-spacing: var(--track-heading); font-weight: 500; }
.idea-hook { font-size: var(--t-sm); color: var(--on-night-muted); padding-top: var(--s4); border-top: 1px solid var(--night-line); }
.idea-hook b { display: block; font-weight: 500; color: var(--on-night); margin-bottom: var(--s1); font-size: var(--t-xs); }
.ideas-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); padding: var(--card-pad); border-radius: var(--card-r); background: rgba(31,92,255,.12); box-shadow: inset 0 0 0 1px rgba(124,196,255,.25); }
.ideas-cta p { font-size: var(--t-lg); max-width: 28em; }

/* ---------- pricing deliverables graphic ---------- */
.deliv { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--card-inner-r); background: var(--paper); }
.plan.popular .deliv { background: rgba(242,245,250,.06); }
.deliv-row { display: flex; flex-wrap: wrap; gap: 5px; align-items: flex-end; }
.deliv i { display: block; border-radius: 3px; background: var(--blue); }
.plan.popular .deliv i { background: var(--ice); }
.d-long { width: 34px; height: 19px; }
.d-short { width: 11px; height: 19px; opacity: 0.55; }
.d-more { font-size: var(--t-xs); color: var(--muted); margin-left: 4px; }
.deliv-cap { font-size: 11px; color: var(--muted); }
.plan.popular .deliv-cap { color: var(--on-night-muted); }

/* ---------- reveal defaults (content always visible without JS) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}

/* keep flow lines from striking through node labels */
.sys.is-on .sys-label b, .sys.is-on .sys-label em { background: var(--night); padding: 0 6px; border-radius: 6px; }

/* ---------- problem story: a first call going cold ---------- */
.story { --heat: 0; position: relative; height: 560vh; background: var(--night); color: var(--on-night); }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.story-glow { position: absolute; inset: -10%; pointer-events: none; }
.story-glow::before, .story-glow::after { content: ""; position: absolute; inset: 0; transition: opacity 700ms var(--ease-out); }
.story-glow::before { background: radial-gradient(45% 40% at 50% 55%, rgba(255, 59, 48, 0.42), rgba(255, 59, 48, 0.08) 55%, transparent 75%); opacity: var(--heat); }
.story-glow::after { background: radial-gradient(45% 40% at 50% 55%, rgba(31, 92, 255, 0.45), rgba(31, 92, 255, 0.08) 55%, transparent 75%); opacity: 0; }
.story.is-turn .story-glow::before { opacity: 0; }
.story.is-turn .story-glow::after { opacity: 1; }
.story-top { position: absolute; top: clamp(88px, 14vh, 128px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: var(--s2); font-size: var(--t-sm); color: var(--on-night-muted); white-space: nowrap; }
.story-rec { width: 8px; height: 8px; border-radius: 50%; background: #34c759; transition: background-color 400ms var(--ease-out); }
.story[data-heat="hot"] .story-rec { background: #ff3b30; }
.story-clock { font-variant-numeric: tabular-nums; color: var(--on-night); min-width: 3.2em; transition: color 400ms var(--ease-out); }
.story[data-heat="hot"] .story-clock { color: #ff6b5e; }
.story.is-turn .story-top { opacity: 0; transition: opacity 400ms var(--ease-out); }
.story-lines { list-style: none; margin: 0; padding: 0 var(--gutter); position: relative; width: 100%; max-width: 1200px; height: 50vh; }
.story-lines li {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter);
  font-size: clamp(34px, 6.2vw, 96px); font-weight: 600; letter-spacing: var(--track-title); line-height: 1.02; text-wrap: balance;
  opacity: 0; transform: translateY(40px) scale(0.98); filter: blur(10px);
  transition: opacity 600ms var(--ease-out), transform 800ms var(--spring), filter 600ms var(--ease-out), color 600ms var(--ease-out);
}
.story-lines li.is-current { opacity: 1; transform: none; filter: none; }
.story-lines li.is-past { opacity: 0; transform: translateY(-40px) scale(0.98); filter: blur(10px); }
.story-lines .warm { color: #ffc9bf; }
.story-lines .hot { color: #ff8a7a; text-shadow: 0 0 60px rgba(255, 59, 48, 0.35); }
.story-lines .cold { color: #ff453a; text-shadow: 0 0 80px rgba(255, 59, 48, 0.55); }
.story-lines .turn { color: var(--on-night); }
.story-hint { position: absolute; bottom: var(--s7); left: 50%; transform: translateX(-50%); font-size: var(--t-xs); color: var(--on-night-muted); transition: opacity 400ms var(--ease-out); }
.story.is-moving .story-hint { opacity: 0; }
/* no JS or reduced motion: the story reads as a plain list */
.no-js .story, .reduced .story { height: auto; padding-block: var(--s10); }
.no-js .story-sticky, .reduced .story-sticky { position: static; height: auto; display: block; }
.no-js .story-lines, .reduced .story-lines { height: auto; display: grid; gap: var(--s6); }
.no-js .story-lines li, .reduced .story-lines li { position: static; opacity: 1; transform: none; filter: none; font-size: clamp(28px, 4vw, 56px); }
.no-js .story-top, .reduced .story-top, .no-js .story-hint, .reduced .story-hint, .no-js .story-glow, .reduced .story-glow { display: none; }

/* work reel thumbnails link to YouTube */
.thumb a { display: block; }
.thumb a:focus-visible { outline-offset: -3px; }

/* ---------- services: products, not tiers ---------- */
.services-head { display: grid; gap: var(--s5); margin-bottom: var(--s8); }
@media (min-width: 960px) { .services-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }
.products { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } .product.featured { grid-column: 1 / -1; } }
.product { display: grid; border-radius: var(--card-r); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.product.featured { background: var(--night); color: var(--on-night); box-shadow: none; }
@media (min-width: 900px) { .product.featured { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .product.featured .product-media { order: 2; } }
.product-media { position: relative; padding: var(--card-pad) var(--card-pad) 0; display: grid; gap: var(--s4); align-content: start; }
.product.featured .product-media { padding: var(--card-pad); align-content: center; }
.product-shot { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--card-inner-r); }
.product-body { padding: var(--card-pad); display: flex; flex-direction: column; gap: var(--s4); }
.product-tag { font-size: var(--t-xs); letter-spacing: var(--track-small); color: var(--blue); font-weight: 500; }
.product.featured .product-tag { color: var(--ice); }
.product h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: var(--track-title); line-height: 1.05; }
.product-line { font-size: var(--t-lg); color: var(--muted); line-height: 1.4; }
.product.featured .product-line { color: var(--on-night-muted); }
.product ul { list-style: none; margin: 0; padding: var(--s4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s3); font-size: var(--t-sm); }
.product.featured ul { border-color: var(--night-line); }
.product li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--s3); line-height: 1.45; }
.product li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--blue); }
.product.featured li svg { color: var(--ice); }
.product-proof { margin: auto 0 0; padding: var(--s4); border-radius: var(--card-inner-r); background: var(--paper); }
.product.featured .product-proof { background: rgba(242, 245, 250, 0.06); }
.product-proof blockquote { margin: 0; font-size: var(--t-md); line-height: 1.4; font-weight: 500; letter-spacing: var(--track-body); }
.product-proof figcaption { margin-top: var(--s2); font-size: var(--t-xs); color: var(--muted); }
.product.featured .product-proof figcaption { color: var(--on-night-muted); }
.product .btn { align-self: flex-start; }
.product.featured .btn-ghost { color: var(--on-night); }
.faces { display: flex; }
.faces img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper-2); margin-left: -12px; }
.faces img:first-child { margin-left: 0; }
.product.featured .faces img { box-shadow: 0 0 0 3px var(--night); }
.product-site { aspect-ratio: 16 / 9; border-radius: var(--card-inner-r); background: var(--night); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 10px 1fr auto; gap: 10px; }
.product-site span { grid-column: 1 / -1; height: 10px; width: 46px; border-radius: 99px; background: rgba(242,245,250,.18); }
.product-site span:nth-child(2), .product-site span:nth-child(3) { display: none; }
.product-site i { grid-column: 1 / -1; border-radius: 10px; background: linear-gradient(135deg, #1f5cff, #0b2a7a); }
.product-site b { height: 34px; border-radius: 8px; background: rgba(242,245,250,.1); }
@media (hover: hover) { .product.settled, .no-js .product, .reduced .product { transition: transform var(--spring-dur) var(--spring); } .product.settled:hover { transform: translateY(-6px); } }

/* ---------- faces wall ---------- */
.faces-marquee { margin-top: var(--s8); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.faces-track { display: flex; gap: var(--s4); width: max-content; animation: marquee 48s linear infinite; }
.faces-track img { width: clamp(120px, 14vw, 200px); aspect-ratio: 1; border-radius: var(--r4); object-fit: cover; filter: saturate(0.9); }
.faces-track img:nth-child(even) { transform: translateY(24px); }
.research-night { margin-top: var(--s9); box-shadow: inset 0 0 0 1px var(--night-line); }
.research-night p { color: var(--on-night-muted); }
.research-night li { background: rgba(242,245,250,.06); box-shadow: inset 0 0 0 1px var(--night-line); }

/* ---------- course waitlist ---------- */
.course { display: grid; gap: var(--s7); padding: clamp(28px, 5vw, 64px); border-radius: var(--r4); background: linear-gradient(160deg, #e3e8ff, var(--paper-2) 60%); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 960px) { .course { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: var(--s9); } }
.course .lead { margin-top: var(--s5); }
.signup { display: grid; gap: var(--s2); }
.signup label { font-size: var(--t-sm); font-weight: 500; margin-top: var(--s2); }
.signup input[type="text"], .signup input[type="email"] { min-height: 52px; padding: 0 var(--s4); border-radius: var(--r2); border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 400 var(--t-md) var(--font); color: var(--ink); caret-color: var(--blue); transition: box-shadow 200ms var(--ease-out); }
.signup input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.signup input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #d93025; }
.signup .btn { margin-top: var(--s4); justify-content: center; min-height: 52px; }
.signup .btn[disabled] { opacity: 0.6; cursor: progress; }
.signup-msg { font-size: var(--t-sm); min-height: 1.4em; }
.signup-msg.is-error { color: #b3261e; }
.signup-msg.is-ok { color: #1c7c3a; }
.signup .fine { margin-top: 0; font-size: var(--t-xs); }
.founder-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5); margin-top: var(--s3); }
.founder-links .btn-ghost { color: var(--on-night); }

/* ---------- about + founder pages ---------- */
.beliefs { list-style: none; margin: var(--s8) 0 0; padding: 0; border-top: 1px solid var(--night-line); }
.beliefs li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s4); padding: var(--s6) 0; border-bottom: 1px solid var(--night-line); }
.beliefs .n { color: var(--ice); font-size: var(--t-sm); font-weight: 500; padding-top: 8px; font-variant-numeric: tabular-nums; }
.beliefs h3 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: var(--track-heading); line-height: 1.15; margin-bottom: var(--s3); }
.beliefs p { color: var(--on-night-muted); max-width: 40em; }
@media (min-width: 960px) { .beliefs li { grid-template-columns: 120px minmax(0, 1fr); } }
.founder-light .prose { align-self: center; }

/* ---------- hero: the warm call ---------- */
.hero-call { text-align: left; display: grid; gap: var(--s8); align-items: center; padding-top: clamp(112px, 15vh, 168px); }
@media (min-width: 1040px) { .hero-call { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s9); min-height: 92vh; padding-bottom: var(--s9); } }
.hero-call h1 { font-size: clamp(48px, 8.4vw, 128px); letter-spacing: var(--track-display); line-height: 0.95; }
.hero-call .hero-sub { margin: var(--s6) 0 0; max-width: 30em; }
.hero-call .hero-cta { justify-content: flex-start; }
.hero-eyebrow { margin-bottom: var(--s5); }
.meet { position: relative; border-radius: var(--r4); background: #0d1424; padding: 12px; box-shadow: 0 50px 100px -40px rgba(5, 11, 24, 0.55), 0 0 0 1px rgba(10, 13, 20, 0.12); color: var(--on-night); }
.meet-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 12px; font-size: var(--t-xs); color: var(--on-night-muted); }
.meet-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(242,245,250,.18); }
.meet-bar span:first-of-type { margin-left: var(--s3); }
.meet-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.meet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.meet-tile { position: relative; aspect-ratio: 4 / 3.4; border-radius: 22px; overflow: hidden; background: #1a2338; display: grid; place-items: center; }
.meet-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.meet-name { position: absolute; left: 10px; bottom: 10px; font-size: 11px; padding: 3px 8px; border-radius: 8px; background: rgba(5,11,24,.72); color: #fff; }
.meet-avatar { width: 38%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #3b5bdb, #1f5cff); font-weight: 600; font-size: clamp(20px, 2.6vw, 34px); }
.meet-them { box-shadow: inset 0 0 0 3px var(--blue); }
.meet-speaking { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); }
.meet-speaking::before { content: ""; position: absolute; inset: 7px 6px; background: linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 6px, transparent 6px 8px, #fff 8px 10px); animation: talk 0.6s ease-in-out infinite alternate; transform-origin: center; }
@keyframes talk { to { transform: scaleY(0.4); } }
.meet-caption { margin-top: 10px; padding: 14px 16px; border-radius: 18px; background: rgba(242,245,250,.06); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.35; min-height: 3.6em; }
.meet-who { display: block; font-size: 11px; color: var(--ice); margin-bottom: 4px; }
.meet-cursor { display: inline-block; width: 2px; height: 1em; background: var(--ice); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(2, start) infinite; }
.meet-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; font-size: var(--t-xs); background: rgba(246,245,242,.82); color: var(--ink); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: 0 12px 30px -12px rgba(5,11,24,.35), inset 0 1px 0 rgba(255,255,255,.7); white-space: nowrap; }
.meet-chip b { font-size: var(--t-lg); font-variant-numeric: tabular-nums; }
.meet-chip-a { left: -18px; top: 24%; }
.meet-chip-b { right: -14px; bottom: 26%; }
.meet-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; }
@media (max-width: 1039px) { .meet-chip-a { left: 8px; top: auto; bottom: -18px; } .meet-chip-b { right: 8px; bottom: auto; top: -14px; } }
.js .meet-chip { animation: float 5s ease-in-out infinite alternate; }
.js .meet-chip-b { animation-delay: -2.5s; }
@keyframes float { to { translate: 0 -8px; } }
.story-lines .turn { font-size: clamp(30px, 5vw, 76px); }
@media (max-width: 1039px) { .meet { margin-bottom: 40px; } .meet-chip-a { bottom: -46px; left: 12px; } }
.faces-track img.wide { width: auto; height: clamp(120px, 14vw, 200px); aspect-ratio: 4 / 3; }

/* ---------- work reel: 16:9 film loops ---------- */
.thumb.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.thumb video { transform: scale(1.12); }

/* ---------- why YouTube ---------- */
.yt-head { display: grid; gap: var(--s5); margin-bottom: var(--s8); }
@media (min-width: 960px) { .yt-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } }
.yt-mark { width: 20px; height: 20px; }
#youtube .eyebrow::before { display: none; }
.yt-grid { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .yt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.yt-card { padding: var(--card-pad); border-radius: var(--card-r); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: var(--s3); align-content: start; }
.yt-card.dark { background: var(--night); color: var(--on-night); box-shadow: none; }
.yt-num { font-size: clamp(56px, 6vw, 88px); font-weight: 600; letter-spacing: var(--track-display); line-height: 0.9; font-variant-numeric: tabular-nums; margin-bottom: var(--s4); }
.yt-num span { font-size: var(--t-lg); letter-spacing: 0; font-weight: 500; color: #ff0000; margin-left: 6px; }
.yt-card h3 { font-size: var(--t-xl); letter-spacing: var(--track-heading); line-height: 1.15; }
.yt-card p:last-child { color: var(--muted); }
.yt-card.dark p:last-child { color: var(--on-night-muted); }

/* ---------- process: intro + picture pin together from step 1 ---------- */
@media (min-width: 960px) {
  .process { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: auto; align-items: start; }
  .process-left { position: sticky; top: 104px; display: grid; gap: var(--s6); grid-column: 1; grid-row: 1; }
  .process-left .process-intro, .process-left .pv { position: relative; top: auto; grid-column: auto; grid-row: auto; }
  .process-left .pv { height: clamp(240px, calc(100vh - 460px), 340px); }
  .process-left .lead { margin-top: var(--s4) !important; }
  .steps { grid-column: 2; grid-row: 1; padding-bottom: 30vh; }
}
@media (max-width: 959px) { .process-left { display: contents; } }

/* ---------- mobile + tablet menu ---------- */
.nav-toggle { display: none; position: relative; width: 44px; height: 40px; border: 0; border-radius: var(--pill); background: transparent; color: inherit; cursor: pointer; margin-left: auto; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 400ms var(--spring), top 400ms var(--spring); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
@media (max-width: 859px) {
  .nav-toggle { display: block; }
  .nav { gap: var(--s2); }
  .nav > .btn { padding: 0 var(--s4); }
}
@media (max-width: 380px) { .nav > .btn { display: none; } }
.mobile-menu {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 4px);
  max-width: var(--max); margin-inline: auto; padding: var(--s3);
  border-radius: 28px;
  background: rgba(246, 245, 242, 0.86);
  -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 0 0 0.5px rgba(10,13,20,.12), 0 24px 60px -24px rgba(10,13,20,.35);
  color: var(--ink);
  transform-origin: top center;
  animation: menu-in 420ms var(--spring) both;
}
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(0.97); } }
.site-header.is-dark .mobile-menu { background: rgba(22, 30, 50, 0.9); color: var(--on-night); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 0.5px rgba(242,245,250,.16), 0 24px 60px -24px rgba(0,0,0,.6); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 var(--s4); border-radius: 18px; font-size: var(--t-lg); font-weight: 500; letter-spacing: var(--track-heading); text-decoration: none; }
.mobile-menu li a:hover, .mobile-menu li a:focus-visible { background: rgba(10,13,20,.06); }
.site-header.is-dark .mobile-menu li a:hover { background: rgba(242,245,250,.08); }
.mobile-menu li a[aria-current="page"] { color: var(--blue); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: var(--s2); min-height: 52px; border-radius: 18px; }
@media (min-width: 860px) { .mobile-menu { display: none !important; } }

/* hero chips: keep clear of the faces */
@media (min-width: 1040px) { .meet-chip-a { left: 28px; top: auto; bottom: -22px; } .meet-chip-b { right: -14px; top: 18px; bottom: auto; } }
.course-promise { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); font-size: var(--t-md); font-weight: 500; }
.course-promise li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s3); }
.course-promise svg { width: 18px; height: 18px; margin-top: 3px; color: var(--blue); }
.course .fine { margin-top: var(--s4); }
#services .research { margin-top: var(--s7); }

/* ---------- toggle: the signal travels Notion -> booked call ---------- */
.sys-lines .draw { stroke: var(--ice); stroke-width: 2.5; fill: none; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(124,196,255,.7)); transition: stroke-dashoffset 620ms cubic-bezier(0.45, 0, 0.2, 1); }
.sys-lines .draw.is-settled { filter: none; stroke: rgba(124,196,255,.35); stroke-width: 2; }
.sys.is-on .sys-node .tile { transition: background-color 450ms var(--ease-out), box-shadow 450ms var(--ease-out), transform 500ms var(--spring); }
.sys.is-on .sys-node.lit .tile { animation: node-pop 600ms var(--spring); }
@keyframes node-pop { 0% { transform: scale(1); } 35% { transform: scale(1.14); } 100% { transform: scale(1); } }
.sys.is-on .sys-node:not(.lit) .tile { opacity: 0.55; }
.sys.is-on .sys-node:not(.lit) .sys-label { opacity: 0.45; }
.sys-label { transition: opacity 400ms var(--ease-out), color 600ms var(--ease-out); }
.sys-toast { position: absolute; z-index: 3; right: 3%; top: 8%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(246,245,242,.92); color: var(--ink); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.8); opacity: 0; transform: translateY(-10px) scale(0.96); transition: opacity 400ms var(--ease-out), transform 600ms var(--spring); pointer-events: none; max-width: 300px; }
.sys-toast-icon { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0.5px rgba(10,13,20,.12); }
.sys-toast-icon svg { width: 26px; height: 26px; }
.sys-toast b { display: block; font-size: var(--t-sm); font-weight: 600; }
.sys-toast em { display: block; font-style: normal; font-size: var(--t-xs); color: var(--muted); }
.sys.is-done .sys-toast { opacity: 1; transform: none; }
@media (max-width: 759px) { .sys-toast { right: 12px; left: 12px; top: auto; bottom: 56px; max-width: none; } }

/* ---------- websites card: SaaS-style 3D mockup ---------- */
@media (min-width: 900px) { .product.wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .product.wide .product-media { padding: var(--card-pad); align-content: center; } }
.product.wide .link-arrow { align-self: flex-start; color: var(--blue); font-size: var(--t-sm); }
.mock3d { position: relative; border-radius: var(--card-inner-r); background: radial-gradient(120% 90% at 30% 10%, #2a3c66 0%, #0c1528 55%, #050b18 100%); overflow: hidden; aspect-ratio: 16 / 11; perspective: 1800px; display: grid; place-items: center; }
.mock3d::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 6%; height: 18%; background: radial-gradient(50% 50% at 50% 50%, rgba(124,196,255,.25), transparent 70%); filter: blur(10px); pointer-events: none; }
.mock3d-stage { position: relative; width: 82%; transform-style: preserve-3d; transform: rotateX(var(--rx, 16deg)) rotateY(var(--ry, -18deg)) rotateZ(var(--rz, 3deg)) translateY(var(--ty, 0px)); transition: transform 900ms var(--spring); will-change: transform; }
.mock-browser { border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); transform: translateZ(0); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #1c1d22; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin: 0 auto; font-size: 11px; color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); padding: 3px 14px; border-radius: 6px; transform: translateX(-20px); }
.mock-browser img { width: 100%; aspect-ratio: 1600 / 944; object-fit: cover; object-position: top; }
.mock-phone { position: absolute; right: -6%; bottom: -14%; width: 24%; aspect-ratio: 420 / 862; border-radius: 22px; padding: 5px; background: #0a0a0c; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -10px rgba(0,0,0,.75); transform: translateZ(70px) rotateY(10deg); }
.mock-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 18px; }
.mock3d.is-flat .mock3d-stage { --rx: 4deg; --ry: -6deg; --rz: 0deg; --ty: -6px; }
.reduced .mock3d-stage { transform: none; }
@media (min-width: 1040px) { .meet-chip-a { left: 24px; top: -20px; bottom: auto; } .meet-chip-b { right: -16px; top: auto; bottom: 34%; } }

/* ---------- hero B: the horizon (A/B test page) ---------- */
.hero-horizon { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #050b18; color: var(--on-night); display: grid; grid-template-rows: 1fr auto; padding-top: clamp(120px, 16vh, 170px); isolation: isolate; }
.hz-sky { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 45% at 50% 78%, rgba(124,196,255,.38), rgba(31,92,255,.18) 40%, transparent 70%),
  linear-gradient(to bottom, #040914 0%, #071230 45%, #0d2156 70%, #050b18 70.2%, #03070f 100%); }
.hz-copy { text-align: center; position: relative; z-index: 2; }
.hz-copy h1 { font-size: clamp(48px, 9vw, 140px); letter-spacing: var(--track-display); line-height: 0.95; }
.hz-copy .line { display: block; padding-bottom: 0.06em; }
.hz-copy .line > span { display: inline-block; }
.hz-copy .hero-sub { margin: var(--s5) auto 0; max-width: 32em; color: var(--on-night-muted); font-size: var(--t-lg); }
.hz-copy .hero-sub strong { color: var(--on-night); font-weight: 500; }
.hz-copy .hero-cta { justify-content: center; }
.hz-copy .eyebrow { justify-content: center; }
.hz-copy .btn-ghost { color: var(--on-night); }
.hz-scene { position: relative; height: clamp(220px, 34vh, 360px); margin-top: var(--s6); }
.hz-sun { position: absolute; left: 50%; bottom: 0; width: clamp(240px, 32vw, 460px); aspect-ratio: 1; transform: translate(-50%, 46%); filter: drop-shadow(0 0 60px rgba(124,196,255,.45)); z-index: 1; }
.hz-sun img { width: 100%; height: 100%; }
.hz-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, rgba(160,210,255,.9) 30%, #fff 50%, rgba(160,210,255,.9) 70%, transparent); box-shadow: 0 0 24px 4px rgba(124,196,255,.6), 0 0 80px 10px rgba(31,92,255,.4); }
.hz-sea { position: absolute; left: 0; right: 0; top: 100%; height: 30vh; overflow: hidden; z-index: 1; background: linear-gradient(to bottom, rgba(13,33,86,.9), #03070f 70%); }
.hz-reflect { position: absolute; left: 50%; top: 0; width: clamp(240px, 32vw, 460px); aspect-ratio: 1; transform: translate(-50%, -46%) scaleY(-1); opacity: 0.22; filter: blur(6px); -webkit-mask-image: linear-gradient(to top, #000 40%, transparent 75%); mask-image: linear-gradient(to top, #000 40%, transparent 75%); }
.hz-reflect img { width: 100%; height: 100%; }
.hero-horizon + .logos { background: #03070f; }
.hero-horizon + .logos .logos-label { color: var(--on-night-muted); }
.hero-horizon + .logos .marquee-track img { filter: brightness(0) invert(1); opacity: 0.6; }
@media (max-width: 759px) { .hz-scene { height: 200px; } }
/* hero B layout fix: horizon sits ~85% down the screen, sea below it */
.hero-horizon { height: 100vh; height: 100svh; min-height: 680px; grid-template-rows: auto 1fr; padding-bottom: 15vh; }
.hz-scene { height: auto; min-height: 180px; margin-top: var(--s5); }
.hz-sun, .hz-reflect { left: 0; right: 0; margin-inline: auto; transform: translateY(46%); }
.hz-reflect { transform: translateY(-46%) scaleY(-1); }
.hz-sea { height: 15vh; }
