/* Landing kit: the one stylesheet every ad landing page loads.
   Order matters: tokens, base, the shared page layout, the section blocks a
   page can opt into (logo strip, pain with film, testimonials, centered offer,
   one-question intake), then the success screen. A new page reuses these
   classes; page-only additions (like the /audit globe in mme/) stay in their
   own module. */

/* ==================================================================== */
/* tokens */
/* ==================================================================== */
/* Multipli paid-acquisition landing pages: design tokens. Direction A, "dark
   precision" (Ryan, 2026-11-05): near-black canvas, electric-blue light for
   depth, glass on three components only, lime as the single pop. Ad pages only;
   the Multipli brand rule is unchanged. This is the only file allowed to hold
   color literals, easing curves, or non-zero durations. */

:root {
  color-scheme: dark;

  /* Canvas and surfaces */
  --canvas: #070A12;
  --surface: #0E1322;
  --surface-2: #151C30;
  --surface-3: #1C2540;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #F4F6FB;
  --text-2: #C9D0DE;      /* secondary copy, 12:1 on canvas */
  --muted: #98A2B8;       /* labels and fine print, 7.5:1 on canvas */

  /* Accents */
  --electric: #2E5BFF;    /* light, glow, rails, large marks (3.8:1, never small text) */
  --electric-ink: #8FA6FF;/* electric for small text and links, AA on canvas and surfaces */
  --lavender: #AEB8FF;    /* secondary highlights */
  --signature: #2B34E8;   /* multipli.tech's blue (the X); white on it is 7.6:1 */
  --signature-hover: #3D46FF;
  --lime: #C5F82A;        /* the one pop: buttons and the single key number */
  --lime-hover: #D6FF5E;
  --on-lime: #0A0F1E;     /* text on lime, 15:1 */
  --alert: #FF5C7A;       /* a slow result: rose red, never coral */
  --error: #FF8FA3;       /* form errors on dark, AA */
  --error-wash: rgba(255, 92, 122, 0.12);

  /* Light: glow and glass */
  --glow: radial-gradient(closest-side, rgba(46, 91, 255, 0.42), rgba(46, 91, 255, 0) 100%);
  --glow-soft: radial-gradient(closest-side, rgba(46, 91, 255, 0.22), rgba(46, 91, 255, 0) 100%);
  --glass: rgba(14, 19, 34, 0.62);
  --glass-blur: blur(18px) saturate(140%);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Elevation (one recipe: never a border and a wide shadow together) */
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.35);
  --focus-ring: 0 0 0 3px rgba(174, 184, 255, 0.45);
  --selection: rgba(46, 91, 255, 0.45);

  /* Type */
  --font-sans: "Satoshi", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --fs-dial: 9px;          /* gauge numerals, inside the SVG's own coordinate space */
  --fs-label: 0.75rem;     /* 12px */
  --fs-small: 0.875rem;    /* 14px */
  --fs-fact: 0.9375rem;    /* 15px, the fact card inside the phone */
  --fs-control: 1rem;      /* 16px, inputs and buttons (keeps iOS from zooming) */
  --fs-body: 1.0625rem;    /* 17px */
  --fs-lead: 1.25rem;      /* 20px */
  --fs-h3: 1.375rem;       /* 22px */
  --fs-card-title: 1.5rem; /* 24px */
  --fs-h2: clamp(2.125rem, 4vw, 3.25rem);
  --fs-h1: clamp(2.625rem, 5vw, 4.25rem);
  --fs-display: clamp(3rem, 7.5vw, 6.5rem);
  --fs-stack-title: clamp(1.75rem, 3.2vw, 2.625rem);
  --fs-stack-words: clamp(2.5rem, 5.2vw, 4.25rem);
  --fs-stack-big: clamp(4rem, 10vw, 8rem);
  --fs-stage: clamp(4rem, 18vw, 17rem);
  --lh-tight: 1.02;
  --lh-snug: 1.3;
  --lh-body: 1.6;
  --tracking-display: -0.035em;
  --tracking-tight: -0.02em;
  --tracking-label: 0.08em;
  --w-display: 650;
  --w-head: 600;
  --w-strong: 600;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Layout */
  --wrap: 1180px;
  --gutter: 20px;
  --measure: 62ch;
  --header-h: 64px;
  --touch-min: 44px;
  --control-h: 50px;
  --btn-h: 52px;
  --form-w: 440px;
  --portrait-w: 216px;
  --avatar: 72px;
  --logo-h: 24px;
  --step-dot: 44px;
  --faq-w: 760px;
  --phone-w: 248px;
  --face: 88px;
  --play: 64px;

  /* Radii: one scale */
  --r-sm: 8px;      /* inputs, chips */
  --r-md: 14px;     /* cards, panels, photos */
  --r-lg: 14px;     /* scroll-moment panels share the card radius */
  --r-phone: 32px;  /* the phone frame only: it depicts a device */
  --r-pill: 999px;  /* buttons and dots only */

  /* Scroll moments */
  --stack-peek: 14px;
  --statement-run: 220vh;
  --stage-run: 480vh;

  /* Motion: one curve, one ladder */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-linear: linear;
  --dur-1: 120ms;
  --dur-2: 240ms;
  --dur-3: 560ms;
  --dur-drift: 28s;
  --stagger: 140ms;
  --dur-marquee: 48s;
  --dur-scan: 2.2s;
  --dur-fact: 400ms;
  --dur-frame: 260ms;
  --dur-needle: 1400ms;
  --dur-tick: 1s;         /* the countdown bar steps once a second */
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ==================================================================== */
/* base */
/* ==================================================================== */
/* Shared base: fonts, reset, type, browser surfaces, header, buttons, footer, tags. */

@font-face {
  font-family: "Satoshi";
  src: url("/landing/fonts/satoshi-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/landing/fonts/geist-mono-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s-4)); background: var(--canvas); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--text-2);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  caret-color: var(--lime);
}

/* Author display rules must never resurrect an element marked hidden. */
[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Browser surfaces carry the palette too */
::selection { background: var(--selection); color: var(--text); }
html { scrollbar-color: var(--surface-3) var(--canvas); }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }
.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-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--lime); color: var(--on-lime); padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm); font-weight: var(--w-strong);
}
.skip-link:focus { top: var(--s-3); }

/* ---------- bands: one dark canvas, quieter surfaces for rhythm ---------- */
.band { padding: var(--s-9) 0; }
.band--light, .dark { background: var(--canvas); color: var(--text-2); }
.band--tint { background: var(--surface); color: var(--text-2); border-block: 1px solid var(--hairline); }

/* ---------- type ---------- */
h1, h2, h3 { color: var(--text); font-weight: var(--w-head); letter-spacing: var(--tracking-tight); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: var(--w-display); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: var(--tracking-display); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong { color: var(--text); font-weight: var(--w-strong); }
.lead { font-size: var(--fs-lead); line-height: 1.5; font-weight: 400; color: var(--text-2); max-width: var(--measure); }

/* ---------- x motif (the one ornament the brand owns) ---------- */
.x-mark { display: inline-block; width: 0.7em; height: 0.7em; position: relative; flex: none; }
.x-mark::before, .x-mark::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 0.14em; background: currentColor; }
.x-mark::before { transform: translateY(-50%) rotate(45deg); }
.x-mark::after { transform: translateY(-50%) rotate(-45deg); }

/* ---------- header: glass over the glow ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--surface); border-bottom: 1px solid var(--hairline);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: var(--s-4); }
.logo { display: inline-flex; align-items: center; min-height: var(--touch-min); margin-right: auto; }
.logo img { height: var(--logo-h); width: auto; }
.header-phone {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--touch-min); padding: 0 var(--s-2);
  color: var(--text-2); text-decoration: none; font-size: var(--fs-small);
  transition: color var(--dur-1) var(--ease);
}
.header-phone:hover { color: var(--text); }
.header-cta {
  display: inline-flex; align-items: center; min-height: var(--touch-min); padding: 0 var(--s-5); white-space: nowrap;
  background: var(--signature); color: #fff; border-radius: var(--r-pill);
  text-decoration: none; font-size: var(--fs-small); font-weight: var(--w-strong);
  transition: transform var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.header-cta:hover { background: var(--signature-hover); }
.header-cta:active { transform: scale(0.98); }

/* ---------- buttons: lime is the single pop ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: var(--btn-h); padding: var(--s-3) var(--s-6); text-align: center; line-height: 1.3;
  background: var(--lime); color: var(--on-lime);
  border: 0; border-radius: var(--r-pill);
  font-size: var(--fs-control); font-weight: var(--w-strong); letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.btn .icon { transition: transform var(--dur-2) var(--ease); }
.btn:hover { background: var(--lime-hover); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { cursor: progress; transform: none; background: var(--surface-3); color: var(--text-2); }

/* ---------- TODO tags (internal preview furniture, never shipped live) ---------- */
.todo-tag {
  display: inline-flex; align-items: center; gap: var(--s-1);
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500;
  color: var(--lavender); background: var(--surface-2);
  border: 1px dashed var(--lavender); border-radius: var(--r-sm);
  padding: 1px var(--s-2); vertical-align: middle; white-space: normal; max-width: 100%;
}

/* ---------- footer ---------- */
/* the site's own footer (multipli.tech), as on its contact page: the logo, the
   three link columns and the legal row on the signature blue. Same class
   names as design/forty-five/styles.css, so the markup copies across. */
.footer { background: var(--signature); color: #fff; padding: var(--s-8) 0 0; }
.footer-base { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: clamp(2rem, 5vw, 6rem); align-items: start; padding-bottom: 3rem; }
.footer-logo img { width: 170px; height: auto; filter: brightness(0) invert(1); }
.footer-col { display: grid; gap: 0.9rem; }
.footer-col-label { margin-bottom: 0.35rem; font: 500 0.68rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.footer-link { font-size: 0.98rem; line-height: 1; font-weight: 450; color: #fff; text-decoration: none; }
.footer-link:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.footer .footer-link:focus-visible, .footer .footer-logo:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }
.footer-legal { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.25); font: 500 0.68rem/1.4 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
@media (max-width: 700px) {
  .footer-base { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; }
}
/* touch: every footer link is a full 44px row */
@media (pointer: coarse) {
  .footer-col { gap: 0; }
  .footer-col-label { margin-bottom: 0.25rem; }
  .footer-link { display: flex; align-items: center; min-height: 44px; }
  .footer-logo { display: inline-flex; align-items: center; min-height: 44px; }
}

/* dev-mode badge, shown only when the form is not wired */
.dev-badge { position: fixed; left: var(--s-3); bottom: var(--s-3); z-index: 60; }

@media (max-width: 559px) {
  .header-phone .label-wide { display: none; }
  .header-phone { padding: 0 var(--s-3); }
  .logo img { height: 22px; }
  .header-cta { padding: 0 var(--s-4); }
}
@media (max-width: 379px) {
  .header-phone { display: none; }
}

/* ==================================================================== */
/* landing */
/* ==================================================================== */
/* Shared landing sections for /audit and /review. Direction A: dark precision.
   Values come from tokens.css. */

/* Grid children may shrink below their content width, so long words never push the page sideways. */
.hero-grid > *, .scope-grid > *, .local-grid > *, .speed-grid > * { min-width: 0; }

/* ---------- glass, used on three components only: header, form card, instrument ---------- */
/* Solid surface by default; translucent only where the browser can blur behind it. */
.glass { background: var(--surface); box-shadow: var(--glass-edge); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
}

/* ---------- hero: canvas and electric light behind the work ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--canvas); padding: var(--s-8) 0 var(--s-9); }
.hero::after {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  width: 1100px; height: 900px; right: -260px; top: -320px; background: var(--glow);
}
.hero-x {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(44vw, 560px); aspect-ratio: 1; top: 6%;
  right: max(-80px, calc((100vw - var(--wrap)) / 2 - 60px));
  background: url("/landing/img/the-x.webp") center / contain no-repeat;
  mix-blend-mode: screen; opacity: 0.5;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-x { animation: x-drift var(--dur-drift) var(--ease) infinite alternate; }
}
/* /audit: the jellyfish swarm from hero concept 19 fills the hero, full
   bleed; a scrim from the left keeps the headline legible, and the bottom
   edge melts into the next section */
.hero-jelly {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.hero-jelly canvas { display: block; width: 100%; height: 100%; }
.hero-jelly::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(7, 10, 18, 0.6) 0%, rgba(7, 10, 18, 0.2) 50%, rgba(7, 10, 18, 0) 75%),
    rgba(7, 10, 18, 0.55);
}
@media (max-width: 1023px) {
  .hero-jelly::after { background: rgba(7, 10, 18, 0.68); }
}
@keyframes x-drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-3%, 4%, 0) rotate(-6deg); }
}
.hero-grid { display: grid; gap: var(--s-7); align-items: start; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy h1.is-long { font-size: var(--fs-h2); max-width: 22ch; }
.hero-copy .lead { margin-top: var(--s-5); max-width: 38ch; }

/* /review: the person who will call */
.callback { margin-top: var(--s-7); display: grid; grid-template-columns: var(--portrait-w) 1fr; gap: var(--s-5); align-items: end; }
.callback img { width: var(--portrait-w); height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border-radius: var(--r-md); box-shadow: var(--shadow-soft); }
.callback-name { color: var(--text); font-size: var(--fs-h3); font-weight: var(--w-head); line-height: var(--lh-snug); }
.callback-role { color: var(--muted); font-size: var(--fs-small); margin-top: var(--s-1); }
.callback-promise { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--hairline); color: var(--text-2); font-size: var(--fs-control); line-height: 1.5; max-width: 30ch; }
.callback-promise a { color: var(--text); font-weight: 500; white-space: nowrap; }

/* ---------- form card (glass) ---------- */
.form-card { position: relative; border-radius: var(--r-md); padding: var(--s-6); border: 1px solid var(--hairline-strong); }
.form-card h2 { color: var(--text); font-size: var(--fs-card-title); line-height: var(--lh-snug); letter-spacing: var(--tracking-tight); }
.form-card .form-sub { color: var(--muted); font-size: var(--fs-small); margin-top: var(--s-2); }
.form-grid { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.form-row { display: grid; gap: var(--s-4); }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--fs-small); font-weight: 500; color: var(--text-2); }
.field input, .field select, .speed-form input, .speed-lead input {
  width: 100%; min-height: var(--control-h); padding: 0 var(--s-4);
  border: 1px solid var(--hairline-strong); border-radius: var(--r-sm); background: var(--surface-2);
  font-size: var(--fs-control); color: var(--text);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.field select {
  appearance: none; padding-right: var(--s-7);
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - var(--s-5)) 52%, calc(100% - var(--s-4)) 52%;
  background-size: var(--s-2) var(--s-2); background-repeat: no-repeat;
}
.field select option { background: var(--surface-2); color: var(--text); }
.field input::placeholder, .speed-form input::placeholder, .speed-lead input::placeholder { color: var(--muted); }
.field input:hover, .field select:hover, .speed-form input:hover, .speed-lead input:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .speed-form input:focus, .speed-lead input:focus { outline: none; border-color: var(--lavender); box-shadow: var(--focus-ring); background-color: var(--surface-3); }
.field [aria-invalid="true"], .speed-form input[aria-invalid="true"], .speed-lead input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: var(--fs-small); }
.field-error:empty { display: none; }
.form-card .btn { width: 100%; margin-top: var(--s-2); }
/* the homepage concept form takes multipli.tech's signature blue, like the
   header button; white on it is 7.6:1 */
body[data-offer="homepage_concept"] .form-card .btn, body[data-offer="seo_ai_visibility"] .form-card .btn { background: var(--signature); color: #fff; }
body[data-offer="homepage_concept"] .form-card .btn:hover, body[data-offer="seo_ai_visibility"] .form-card .btn:hover { background: var(--signature-hover); }
body[data-offer="homepage_concept"] .form-card .btn:disabled, body[data-offer="seo_ai_visibility"] .form-card .btn:disabled { background: var(--surface-3); color: var(--text-2); }
.form-fine { color: var(--muted); font-size: var(--fs-small); margin-top: var(--s-4); line-height: 1.5; }
.form-fine a, .speed-link { color: var(--electric-ink); }
.speed-link { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3); min-height: var(--touch-min); font-size: var(--fs-small); font-weight: 500; text-decoration: none; }
.speed-link:hover { color: var(--lavender); text-decoration: underline; }
.form-alert { background: var(--error-wash); color: var(--error); border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); font-size: var(--fs-small); }
.step-back { justify-self: start; background: none; border: 0; padding: 0; min-height: var(--touch-min); color: var(--muted); font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.step-back:hover { color: var(--text); }
.card-person { display: grid; grid-template-columns: var(--s-8) 1fr; gap: var(--s-3); align-items: center; margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--hairline); }
.card-person img { width: var(--s-8); height: var(--s-8); border-radius: var(--r-pill); object-fit: cover; object-position: top center; }
.card-person p { font-size: var(--fs-small); line-height: 1.5; color: var(--text-2); }
.form-success h2 { outline: none; }
.form-success p { margin-top: var(--s-3); }
.form-success .btn { margin-top: var(--s-5); }
.success-steps { list-style: none; margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.success-steps li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; font-size: var(--fs-small); color: var(--text-2); }
.success-steps .icon { color: var(--electric-ink); margin-top: var(--s-1); }
.success-speed { margin-top: var(--s-3); padding: var(--s-3) var(--s-4); background: var(--surface-2); border-radius: var(--r-sm); color: var(--text); font-size: var(--fs-small); }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- worked-inside strip: one marquee, edges fade, pauses on hover ---------- */
.inside { background: var(--canvas); padding: var(--s-6) 0 var(--s-7); }
.inside p { color: var(--muted); font-size: var(--fs-small); margin-bottom: var(--s-5); text-align: center; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--text) 10%, var(--text) 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--text) 10%, var(--text) 90%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-group { list-style: none; display: flex; align-items: center; flex: none; gap: var(--s-9); padding-right: var(--s-9); }
.logo-mark { height: var(--logo-h); width: auto; opacity: 0.55; transition: opacity var(--dur-2) var(--ease); }
.logo-mark:hover { opacity: 0.9; }
.logo-mark.logo--wide { height: calc(var(--logo-h) * 0.72); }
.logo-mark.logo--tall { height: calc(var(--logo-h) * 1.35); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee var(--dur-marquee) var(--ease-linear) infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
  .marquee-track { width: auto; }
  .marquee-group { flex-wrap: wrap; gap: var(--s-5) var(--s-7); padding-right: 0; flex: 1; }
  .marquee-group[aria-hidden="true"] { display: none; }
}
@media (max-width: 559px) { .marquee-group { gap: var(--s-7); padding-right: var(--s-7); } }

/* /audit: the same marquee, small, under the hero lead. */
.hero-proof { margin-top: var(--s-6); max-width: 34rem; --logo-h: 18px; }
.hero-proof .marquee-group { gap: var(--s-7); padding-right: var(--s-7); }

/* ---------- /audit hero label and the honest weekly cap ---------- */
.eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-small); color: var(--electric-ink); margin-bottom: var(--s-4); }
.form-cap { margin-top: var(--s-4); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-2); }

/* ---------- /audit: why owners rebuild (2 x 2, hairlines, no cards) ---------- */
.why { background: var(--canvas); }
.why h2 { max-width: 14ch; }
.why-list { list-style: none; display: grid; margin-top: var(--s-7); border-top: 1px solid var(--hairline); }
.why-list li { padding: var(--s-5) 0; border-bottom: 1px solid var(--hairline); }
.why-list h3 { color: var(--text); font-size: var(--fs-h3); line-height: var(--lh-snug); }
.why-list p { margin-top: var(--s-2); color: var(--text-2); max-width: 40ch; }
@media (min-width: 880px) {
  .why-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); }
}
/* The film (Brendan, "Why We Exist"): /audit beside the four reasons, /visibility in its pain section. */
.pain-film { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--surface); border: 1px solid var(--hairline-strong); }
.pain-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pain-play {
  position: absolute; left: var(--s-4); bottom: var(--s-4); display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: var(--touch-min); padding: 0 var(--s-4); border: 1px solid var(--hairline-strong); border-radius: var(--r-pill);
  background: rgba(7, 10, 18, 0.7); color: var(--text); font: inherit; font-size: var(--fs-small); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pain-play:hover { background: rgba(7, 10, 18, 0.9); }
.pain-play:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }
.pain-film.is-playing .pain-play { display: none; }
/* A portrait (9:16) film. */
.pain-film--tall { aspect-ratio: 9 / 16; width: 100%; max-width: 340px; justify-self: center; }
/* /audit: the film beside the four reasons from 1024px. */
.why-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: minmax(0, 340px) 1fr; gap: var(--s-9); }
  .why-grid .why-list li { padding: var(--s-5) var(--s-5) var(--s-5) 0; }
  .why-grid .why-list li:nth-child(even) { padding: var(--s-5) 0 var(--s-5) var(--s-5); }
  .why-grid .why-list h3 { font-size: var(--fs-body); }
  .why-grid .why-list p { font-size: var(--fs-small); }
}
/* /audit: a hairline cross between the four reasons, no rules above or below. */
.why .why-list { border-top: 0; }
.why .why-list li { border-bottom: 0; }
.why .why-list li + li { border-top: 1px solid var(--hairline); }
@media (min-width: 880px) {
  .why .why-list { column-gap: 0; }
  .why .why-list li { padding: var(--s-6) var(--s-7) var(--s-6) 0; }
  .why .why-list li:nth-child(even) { padding: var(--s-6) 0 var(--s-6) var(--s-7); }
  .why .why-list li:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .why .why-list li + li { border-top: 0; }
  .why .why-list li:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}

/* ---------- /audit: what we build (type-led, hairline columns, no cards) ---------- */
.build { background: var(--canvas); }
.build h2 { max-width: 14ch; }
.build .lead { margin-top: var(--s-4); max-width: 46ch; }
.build-list { list-style: none; display: grid; gap: 0; margin-top: var(--s-7); border-top: 1px solid var(--hairline); }
.build-list li { padding: var(--s-5) 0; border-bottom: 1px solid var(--hairline); }
.build-list h3 { color: var(--text); font-size: var(--fs-h3); line-height: var(--lh-snug); }
.build-list p { margin-top: var(--s-2); color: var(--text-2); max-width: 34ch; }
@media (min-width: 880px) {
  .build-list { grid-template-columns: repeat(3, 1fr); border-bottom: 0; }
  .build-list li { padding: var(--s-5) var(--s-6) var(--s-2) 0; border-bottom: 0; }
  .build-list li + li { padding-left: var(--s-6); border-left: 1px solid var(--hairline); }
}

/* ---------- /review steps timeline ---------- */
.steps h2 { max-width: 20ch; }
.steps-list { list-style: none; position: relative; display: grid; gap: var(--s-6); margin-top: var(--s-7); }
.step { position: relative; display: grid; gap: var(--s-3); align-content: start; }
.step-head { display: flex; align-items: center; gap: var(--s-3); }
.step-dot {
  width: var(--step-dot); height: var(--step-dot); border-radius: var(--r-pill); flex: none;
  display: grid; place-items: center; position: relative; z-index: 1;
  border: 1px solid var(--electric); background: var(--electric); color: var(--text);
  font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-small);
  transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.step-when { position: relative; z-index: 1; background: var(--canvas); padding: 0 var(--s-2); font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-small); color: var(--electric-ink); }
.step h3 { margin-top: var(--s-1); }
.step p { margin-top: var(--s-2); color: var(--muted); max-width: 32ch; }
.step > div:last-child { padding-left: calc(var(--step-dot) + var(--s-3)); }
.steps-list::before, .steps-list::after { content: ""; position: absolute; background: var(--hairline-strong); left: calc(var(--step-dot) / 2 - 1px); top: var(--s-5); bottom: var(--s-5); width: 2px; }
.steps-list::after { background: var(--electric); transform-origin: top; transform: scaleY(1); }
.steps-list.is-ready::after { transform: scaleY(0); transition: transform calc(var(--dur-3) * 2) var(--ease); }
.steps-list.is-lit::after { transform: scaleY(1); }
.steps-list.is-ready .step-dot { background: var(--surface-2); border-color: var(--hairline-strong); color: var(--text-2); }
.steps-list.is-lit .step-dot, .steps-list:not(.is-ready) .step-dot { background: var(--electric); border-color: var(--electric); color: var(--text); }
@media (max-width: 899px) {
  .step { grid-template-columns: var(--step-dot) 1fr; column-gap: var(--s-3); row-gap: var(--s-1); }
  .step-head { display: contents; }
  .step-dot { grid-column: 1; grid-row: 1 / span 2; }
  .step > div:last-child { grid-column: 2; grid-row: 1; padding-left: 0; }
  .step h3 { margin-top: var(--s-2); }
  .step-when { grid-column: 2; grid-row: 2; padding: 0; background: none; }
}
@media (min-width: 900px) {
  .steps-list { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
  .step > div:last-child { padding-left: 0; }
  .steps-list::before, .steps-list::after { top: calc(var(--step-dot) / 2 - 1px); bottom: auto; left: var(--step-dot); right: 12%; width: auto; height: 2px; }
  .steps-list::after { transform-origin: left; transform: scaleX(1); }
  .steps-list.is-ready::after { transform: scaleX(0); }
  .steps-list.is-lit::after { transform: scaleX(1); }
}

/* ---------- /review scope ---------- */
.scope-grid { display: grid; gap: var(--s-7); margin-top: var(--s-7); }
.scope-list { list-style: none; display: grid; gap: var(--s-4) var(--s-6); align-content: start; }
.scope-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; color: var(--text-2); }
.scope-list .icon { color: var(--electric-ink); margin-top: var(--s-1); }
.scope-side { display: grid; gap: var(--s-5); align-content: start; }
.scope-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-md); padding: var(--s-6); background: var(--surface-2); }
.scope-panel h3 { font-size: var(--fs-h3); }
.scope-panel p, .scope-panel li { margin-top: var(--s-3); color: var(--text-2); }
.scope-panel ul { list-style: none; }
.scope-panel--keep::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; top: -200px; background: var(--glow); }
.scope-panel--wont { background: var(--surface); border: 1px solid var(--hairline); }
@media (min-width: 720px) { .scope-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .scope-grid { grid-template-columns: 7fr 5fr; } }

/* ---------- local: based in Greenville ---------- */
.local-grid { display: grid; gap: var(--s-8); align-items: start; }
.local-grid--solo { max-width: 760px; }
.local-copy h2 { max-width: 16ch; }
.local-copy > p { margin-top: var(--s-5); max-width: var(--measure); }
.local-copy .lead { margin-top: var(--s-5); }
.events { list-style: none; margin-top: var(--s-6); border-top: 1px solid var(--hairline); }
.events li { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--hairline); }
.events time { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-small); color: var(--electric-ink); padding-top: var(--s-1); }
.events strong { display: block; color: var(--text); line-height: var(--lh-snug); }
.events span { display: block; color: var(--muted); font-size: var(--fs-small); margin-top: var(--s-1); }
.worked-with { margin-top: var(--s-6); color: var(--muted); font-size: var(--fs-small); max-width: var(--measure); }
.rating { margin-top: var(--s-5); }
.local-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.local-photos figure:first-child { grid-column: 1 / -1; }
.local-photos img { width: 100%; height: auto; object-fit: cover; border-radius: var(--r-md); }
.local-photos figure:first-child img { aspect-ratio: 16 / 10; }
.local-photos figure:not(:first-child) img { aspect-ratio: 4 / 5; }
.local-photos figcaption { color: var(--muted); font-size: var(--fs-small); margin-top: var(--s-2); }
@media (min-width: 1024px) { .local-grid:not(.local-grid--solo) { grid-template-columns: 6fr 5fr; } }

/* ---------- FAQ ---------- */
/* heading and the question column sit centered in the band, at every width */
.faq h2 { max-width: 18ch; margin-inline: auto; text-align: center; }
.faq-list { max-width: var(--faq-w); margin: var(--s-6) auto 0; border-top: 1px solid var(--hairline); }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: var(--touch-min); padding: var(--s-4) 0; font-weight: 500; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .x-mark { color: var(--lavender); transform: rotate(45deg); transition: transform var(--dur-2) var(--ease); }
.faq-list details[open] summary .x-mark { transform: rotate(0deg); }
/* closing: the mark turns back as the answer starts to leave, not when it is gone (landing.js, faq) */
.faq-list details.is-closing summary .x-mark { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 var(--s-5); color: var(--text-2); max-width: var(--measure); }

/* ---------- closer ---------- */
.closer { position: relative; overflow: hidden; isolation: isolate; padding: var(--s-10) 0; background: var(--canvas); border-top: 1px solid var(--hairline); }
.closer::before { content: ""; position: absolute; z-index: -1; width: 1000px; height: 700px; left: 50%; top: 10%; transform: translateX(-50%); background: var(--glow); }
/* the hero's form again, mirrored: words first in the page, and from 1024px
   the form sits on the left with the words to its right */
.closer-grid { display: grid; gap: var(--s-7); align-items: center; }
.closer-grid > * { min-width: 0; }
.closer-copy h2 { font-size: var(--fs-display); max-width: 14ch; }
.closer-copy > p { color: var(--text-2); margin-top: var(--s-4); max-width: 44ch; font-size: var(--fs-lead); }
.closer-copy a.phone { color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--touch-min); margin-top: var(--s-5); }
.closer-copy a.phone:hover { color: var(--text); }
@media (min-width: 1024px) {
  .closer-grid { grid-template-columns: var(--form-w) 1fr; gap: var(--s-7) var(--s-8); }
  .closer-grid .form-card { order: -1; }
}

/* ---------- live speed check (/audit) ---------- */
.speed { position: relative; overflow: hidden; isolation: isolate; }
.speed::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: 10%; background: var(--glow-soft); }
.speed-grid { display: grid; gap: var(--s-7); align-items: start; }
.speed-copy h2 { max-width: 18ch; }
.speed-copy .lead { margin-top: var(--s-4); }
.speed-form { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); max-width: 560px; }
.speed-form input, .speed-lead input { flex: 1 1 220px; min-height: var(--btn-h); }
.speed-error, .speed-lead-error { margin-top: var(--s-3); color: var(--error); font-size: var(--fs-small); max-width: 56ch; }

/* the instrument (glass) */
.speed-gauge { position: relative; margin-top: var(--s-6); max-width: 460px; text-align: center; border-radius: var(--r-md); padding: var(--s-6) var(--s-5) var(--s-5); border: 1px solid var(--hairline-strong); }
.gauge-dial { width: 100%; height: auto; overflow: visible; }
.g-track { fill: none; stroke: var(--hairline-strong); stroke-width: 12; stroke-linecap: round; }
.g-fill { fill: none; stroke: var(--lavender); stroke-width: 12; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset var(--dur-needle) var(--ease), stroke var(--dur-2) var(--ease); }
.g-scan { fill: none; stroke: var(--electric); stroke-width: 12; stroke-dasharray: 9 91; stroke-dashoffset: 100; opacity: 0; }
.g-target { fill: none; stroke: var(--text-2); stroke-width: 3; stroke-linecap: round; }
.g-tick { stroke: var(--hairline-strong); stroke-width: 1; }
.g-tick--major { stroke: var(--text-2); stroke-width: 1.6; }
.g-num { fill: var(--muted); font-size: var(--fs-dial); font-weight: 500; text-anchor: middle; font-family: var(--font-mono); }
.g-needle { transform-box: view-box; transform-origin: 120px 124px; transform: rotate(-90deg); transition: transform var(--dur-needle) var(--ease); }
.g-needle polygon { fill: var(--text); }
.g-hub { fill: var(--text); }
.g-hub-dot { fill: var(--canvas); }
.speed-gauge.is-good .g-fill { stroke: var(--lime); }
.speed-gauge.is-ok .g-fill { stroke: var(--lavender); }
.speed-gauge.is-poor .g-fill { stroke: var(--alert); }
.speed-gauge.is-scanning .g-scan { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .speed-gauge.is-scanning .g-scan { animation: dial-scan var(--dur-scan) var(--ease-linear) infinite; }
}
@keyframes dial-scan { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.gauge-readout { display: grid; justify-items: center; margin-top: var(--s-3); }
.gauge-value { font-size: var(--fs-h1); line-height: 1; font-weight: var(--w-display); color: var(--text); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; min-height: 1em; }
.speed-gauge.is-good .gauge-value { color: var(--lime); }
.gauge-value.is-word { font-size: var(--fs-h2); }
.gauge-label { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--muted); }
.gauge-eta { margin: var(--s-4) auto 0; max-width: 260px; }
.gauge-eta-bar { display: block; height: 3px; border-radius: var(--r-pill); background: var(--hairline-strong); overflow: hidden; }
.gauge-eta-bar span { display: block; height: 100%; width: 100%; background: var(--electric); transform-origin: left; transform: scaleX(0); transition: transform var(--dur-tick) var(--ease-linear); }
.gauge-status { margin-top: var(--s-3); min-height: 1.5em; font-size: var(--fs-small); color: var(--text-2); }
.gauge-key { margin-top: var(--s-3); display: flex; justify-content: center; font-size: var(--fs-small); color: var(--muted); }
.key { display: inline-block; width: var(--s-4); height: 3px; border-radius: var(--r-pill); }
.key--target { background: var(--text-2); }
.key-item { display: inline-flex; align-items: center; gap: var(--s-2); white-space: nowrap; }
.speed.is-idle .gauge-value::after { content: "0.0 s"; color: var(--muted); }

/* use the wait */
.speed-lead, .speed-lead-done { margin-top: var(--s-6); max-width: 560px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: var(--s-5); display: grid; gap: var(--s-4); }
.speed-lead-title, .speed-lead-done p { color: var(--text); font-weight: 500; }
.speed-lead-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.speed-lead-done { justify-items: start; }

/* the result */
.speed-result { margin-top: var(--s-6); display: grid; gap: var(--s-5); }
.speed-result .todo-tag { justify-self: start; }
.speed-headline { font-size: var(--fs-lead); line-height: 1.45; font-weight: 500; color: var(--text); max-width: 46ch; }
.speed-tiles { display: grid; gap: var(--s-4); border-top: 1px solid var(--hairline); padding-top: var(--s-5); }
.speed-tiles > div { display: grid; gap: var(--s-1); }
.speed-tiles dt { font-size: var(--fs-small); color: var(--muted); }
.speed-tiles dd { margin: 0; }
.speed-val { display: block; font-size: var(--fs-h2); line-height: var(--lh-tight); font-weight: var(--w-display); color: var(--text); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }
.speed-rate { display: inline-block; margin-top: var(--s-1); font-size: var(--fs-small); font-weight: var(--w-strong); }
.speed-rate.is-good { color: var(--lime); }
.speed-rate.is-ok { color: var(--lavender); }
.speed-rate.is-poor { color: var(--alert); }
.speed-target { font-size: var(--fs-small); color: var(--muted); }
.speed-cta { display: grid; gap: var(--s-4); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: var(--s-5); justify-items: start; }
.speed-cta p { color: var(--text); font-weight: 500; max-width: 46ch; }

/* the phone */
.speed-phone { display: none; }
.speed.is-testing .speed-phone, .speed.has-result .speed-phone { display: block; }
.speed-phone .phone { position: relative; width: var(--phone-w); aspect-ratio: 9 / 19; margin: 0 auto; border: 10px solid var(--surface-3); border-radius: var(--r-phone); overflow: hidden; background: var(--canvas); box-shadow: var(--shadow-card); }
.phone-screen { position: absolute; inset: 0; overflow: hidden; background: var(--canvas); }
.phone-wait { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; gap: var(--s-4); padding: var(--s-6) var(--s-4) var(--s-5); background: var(--surface); }
.phone-site { display: grid; justify-items: center; gap: var(--s-1); text-align: center; }
.phone-favicon { width: var(--s-7); height: var(--s-7); border-radius: var(--r-sm); background: var(--text); padding: var(--s-1); }
.phone-host { font-weight: var(--w-strong); color: var(--text); font-size: var(--fs-small); word-break: break-all; }
.phone-sub { font-size: var(--fs-label); color: var(--muted); }
.phone-fact { align-self: center; display: grid; gap: var(--s-2); background: var(--surface-2); border-radius: var(--r-md); padding: var(--s-4); transition: opacity var(--dur-fact) var(--ease); }
.phone-fact.is-out { opacity: 0; }
.fact-text { font-size: var(--fs-fact); line-height: 1.45; font-weight: 500; color: var(--text); }
.fact-source { font-size: var(--fs-label); color: var(--muted); font-family: var(--font-mono); }
.phone-site, .phone-fact { display: none; }
.speed-phone.is-waiting .phone-site, .speed-phone.is-waiting .phone-fact { display: grid; }
.phone-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--s-5); text-align: center; color: var(--muted); font-size: var(--fs-small); background: var(--surface); }
.speed-phone.is-waiting .phone-empty, .speed-phone.is-replaying .phone-wait { display: none; }
.phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: var(--canvas); opacity: 0; transition: opacity var(--dur-frame) var(--ease); }
.phone-frame.is-on { opacity: 1; }
.phone-caption { margin-top: var(--s-3); text-align: center; font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 560px) { .speed-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1023px) {
  .speed-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .speed-copy { display: contents; }
  .speed-copy > * { order: 1; }
  .speed-copy > .speed-gauge { order: 2; }
  .speed-phone { order: 3; margin-top: var(--s-6); }
  .speed-copy > .speed-lead, .speed-copy > .speed-lead-done { order: 4; }
  .speed-copy > .speed-result { order: 5; }
  .speed-phone .phone { width: calc(var(--phone-w) - var(--s-6)); }
}
@media (min-width: 1024px) {
  .speed-grid { grid-template-columns: 7fr 4fr; gap: var(--s-8); }
  .speed-phone, .speed.is-idle .speed-phone { display: block; position: sticky; top: calc(var(--header-h) + var(--s-6)); }
}

/* ---------- scroll moments (/audit): driven by --p (0 to 1) from scrollfx.js ---------- */

/* 1. the statement takes over the screen: a lit panel, the words come up out of the dark */
.statement { background: var(--canvas); }
.statement-track { height: var(--statement-run); --p: 0; }
.statement-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.statement-panel {
  --grow: clamp(0, calc(var(--p) * 2.4), 1);
  --read: clamp(0, calc((var(--p) - 0.28) / 0.55), 1);
  position: absolute; inset: 0; display: grid; place-content: center; gap: var(--s-6);
  padding: var(--s-8) var(--gutter); background: var(--surface); isolation: isolate; overflow: hidden;
  clip-path: inset(calc((1 - var(--grow)) * 16%) calc((1 - var(--grow)) * 9%) round calc((1 - var(--grow)) * var(--r-lg)));
}
.statement-panel::before { content: ""; position: absolute; z-index: -1; width: 120vw; height: 120vh; left: 50%; top: 60%; transform: translate(-50%, -50%); background: var(--glow); opacity: var(--grow); }
.statement-text { max-width: 16ch; font-size: var(--fs-display); line-height: 1.02; font-weight: var(--w-display); letter-spacing: var(--tracking-display); color: var(--text); }
.statement-text .w { opacity: clamp(0.14, calc(var(--read) * var(--n) - var(--i) + 1), 1); }
.statement-sub { font-size: var(--fs-lead); color: var(--text-2); opacity: clamp(0, calc(var(--read) * 3 - 2), 1); }

/* 2. the five checks stack: dark cards, each lit by its own accent */
.stack-section { background: var(--canvas); padding: var(--s-8) 0 var(--s-9); }
.stack { list-style: none; display: grid; gap: var(--s-8); }
.stack-card {
  --cover: 0; --accent: var(--electric);
  position: sticky; top: calc(var(--header-h) + var(--s-5) + var(--i) * var(--stack-peek));
  min-height: min(68svh, 560px); border-radius: var(--r-lg); padding: var(--s-7);
  display: grid; gap: var(--s-6); align-content: space-between; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--hairline-strong);
  transform-origin: center top; transform: scale(calc(1 - var(--cover) * 0.05));
}
.stack-card::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -260px; bottom: -380px; background: radial-gradient(closest-side, var(--accent), transparent); opacity: 0.32; }
.stack-card > * { opacity: calc(1 - var(--cover) * 0.5); }
.stack-copy { display: grid; gap: var(--s-4); align-content: start; justify-items: start; max-width: 34ch; }
.stack-copy h3 { font-size: var(--fs-stack-title); line-height: 1.06; font-weight: var(--w-display); letter-spacing: var(--tracking-display); color: var(--text); }
.stack-copy p { font-size: var(--fs-lead); line-height: 1.45; color: var(--text-2); }
.stack-visual { display: grid; gap: var(--s-3); align-content: end; }
.stack-big { font-size: var(--fs-stack-big); line-height: 1; font-weight: var(--w-display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--text); }
.stack-words { font-size: var(--fs-stack-words); line-height: 1; font-weight: var(--w-display); letter-spacing: var(--tracking-display); color: var(--text); }
.stack-small { font-size: var(--fs-small); max-width: 30ch; color: var(--muted); }
.stack-card--electric { --accent: var(--electric); }
.stack-big.is-good { color: var(--lime); }
.stack-big.is-ok { color: var(--lavender); }
.stack-big.is-poor { color: var(--alert); }
.stack-card--lavender { --accent: var(--lavender); }
.stack-card--navy { --accent: var(--electric); }
.stack-card--navy .stack-words { color: var(--lavender); }
.stack-card--white { --accent: var(--lavender); }
.stack-card--deep { --accent: var(--electric); }
@media (min-width: 900px) {
  .stack-card { grid-template-columns: 1.1fr 1fr; align-content: stretch; padding: var(--s-8); }
  .stack-copy { align-self: start; }
  .stack-visual { align-self: end; justify-items: end; text-align: right; }
}

/* 3. Greenville in motion: the word holds dead centre while the track is
   pinned, and the photos rise from below the screen and leave off the top,
   one after another. Each photo k travels during its own window of the
   track's progress: it starts at k * --step and takes --win to cross. */
.stage { background: var(--canvas); }
.stage-track { height: var(--stage-run); --p: 0; }
.stage-sticky {
  --win: 0.3; --step: 0.1; /* 8 photos: (1 - win) / (8 - 1) */
  position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate;
}
.stage-sticky::before { content: ""; position: absolute; z-index: -1; width: 1100px; height: 700px; left: 50%; bottom: -320px; transform: translateX(-50%); background: var(--glow-soft); }
.stage-word {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: var(--fs-stage); line-height: 0.8; font-weight: var(--w-display); letter-spacing: -0.06em; color: var(--text); white-space: nowrap;
  opacity: clamp(0.1, calc(var(--p) * 8), 1);
}
.stage-photo {
  --t: clamp(0, calc((var(--p) - var(--k) * var(--step)) / var(--win)), 1);
  position: absolute; z-index: 0; top: 50%; left: 50%; width: min(34vw, 380px); margin: 0;
  transform: translate(calc(-50% + var(--x) * 1vw), calc(-50% + (1 - 2 * var(--t)) * (50svh + 55%))) rotate(var(--rot));
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card);
}
.stage-photo--front { z-index: 2; }
.stage-photo--tall { width: min(24vw, 280px); }
.stage-photo img { width: 100%; height: auto; display: block; }
@media (max-width: 899px) {
  .stage-photo { width: 64vw; }
  .stage-photo--tall { width: 46vw; }
  .stack-card { padding: var(--s-6); min-height: 62svh; }
}

/* Reduced motion: no pinning, everything at its finished state */
@media (prefers-reduced-motion: reduce) {
  .statement-track, .stage-track { height: auto; }
  .statement-sticky { position: static; height: auto; }
  .statement-panel { position: relative; clip-path: none; min-height: 70svh; }
  .stack-card { position: relative; top: auto; transform: none; }
  .stack-card > * { opacity: 1; }
  .stage-sticky { position: relative; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5); padding: var(--s-8) var(--gutter); }
  .stage-word { position: static; transform: none; width: 100%; text-align: center; opacity: 1; }
  .stage-photo { position: static; transform: rotate(var(--rot)); }
}

/* ---------- hero layout by viewport ---------- */
@media (min-width: 1024px) {
  .hero { padding: var(--s-8) 0 var(--s-9); }
  .hero-grid { grid-template-columns: 1fr var(--form-w); gap: var(--s-7) var(--s-8); }
  body[data-offer="homepage_concept"] .hero-grid { align-items: center; }
}
@media (max-width: 1023px) {
  .hero-copy h1 { max-width: 18ch; }
  .hero-x { opacity: 0.2; }
  .hero-grid .form-card { order: 2; }
}
@media (max-width: 559px) {
  .hero { padding: var(--s-5) 0 var(--s-7); }
  .hero-grid { gap: var(--s-5); }
  .hero-copy .lead { margin-top: var(--s-3); font-size: var(--fs-body); }
  .hero-x { width: 110vw; right: -45vw; top: -6%; }
  .callback { grid-template-columns: var(--avatar) 1fr; align-items: center; margin-top: var(--s-5); gap: var(--s-4); }
  .callback img { width: var(--avatar); border-radius: var(--r-sm); }
  .callback-promise { margin-top: var(--s-2); padding-top: 0; border-top: 0; font-size: var(--fs-small); }
  .form-card { padding: var(--s-5); }
  .band { padding: var(--s-8) 0; }
  .events li { grid-template-columns: 1fr; gap: var(--s-1); }
}

/* ==================================================================== */
/* v2 */
/* ==================================================================== */
/* L-Homepage v2 (/visibility): the parts /audit does not already style.
   Offer logos, the pain section with the film, testimonials, and the
   multipli.tech footer ("Let's Talk.", one question at a time) in the
   signature blue. */

/* 1. offer: four "worked inside" logos under the lead */
.hero-logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-6); }
.hero-logos li { display: grid; place-items: center; height: 52px; }
.hero-logos img { height: 22px; width: auto; opacity: 0.72; }

/* 2. qualifying / restate pain: the film beside the four reasons */
.pain { background: var(--canvas); border-top: 1px solid var(--hairline); }
.pain-grid { display: grid; gap: var(--s-7); align-items: center; }
.pain-copy h2 { max-width: 14ch; }
.pain .why-list { margin-top: var(--s-6); }
@media (min-width: 700px) {
  .pain .why-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); border-top: 0; }
  .pain .why-list li { border-bottom: 0; border-top: 1px solid var(--hairline); }
  .pain .why-list h3 { font-size: var(--fs-body); }
  .pain .why-list p { font-size: var(--fs-small); }
}
@media (min-width: 1024px) {
  .pain-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); }
}

/* 4. restate / CTA: testimonials, we care about results */
.proof { background: #030406; border-top: 1px solid var(--hairline); }
.proof-grid { display: grid; gap: var(--s-6); }
.proof-grid h2 { color: var(--text); }
.quote { display: none; margin: 0; }
.quote--on { display: block; }
.quote-text { color: var(--text); font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
.quote--long .quote-text { font-size: clamp(1.05rem, 1.35vw, 1.3rem); }
.quote-author { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); color: var(--muted); font-size: var(--fs-small); }
.quote-author > span { display: flex; flex-direction: column; }
.quote-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote-name { color: var(--text); font-weight: var(--w-strong); }
.quote-controls { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--hairline); }
.quote-button {
  display: grid; place-items: center; width: var(--touch-min); height: var(--touch-min); border-radius: 50%;
  border: 1px solid var(--hairline-strong); background: transparent; color: var(--text); cursor: pointer;
}
.quote-button:hover { border-color: var(--text-2); }
.quote-button:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }
.quote-count { margin-left: var(--s-2); font-family: var(--font-mono); font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 1024px) {
  .proof-grid { grid-template-columns: 1fr 1.7fr; gap: var(--s-8); align-items: start; }
}

/* 5. footer: Let's Talk on full signature blue */
.talk { background: var(--signature); color: #fff; padding: var(--s-9) 0; }
.talk-grid { display: grid; gap: var(--s-7); align-items: center; }
.talk-eyebrow { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.talk-title { margin-top: var(--s-4); color: #fff; font-size: clamp(4rem, 10vw, 8.5rem); font-weight: var(--w-display); line-height: 0.9; letter-spacing: -0.045em; }
.talk-lede { margin-top: var(--s-5); max-width: 34ch; color: rgba(255, 255, 255, 0.85); }
.intake {
  display: flex; flex-direction: column; min-height: 320px; padding: var(--s-6);
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--r-md); background: rgba(6, 9, 40, 0.28);
}
.intake-head { display: flex; align-items: center; justify-content: space-between; }
.intake-ops { list-style: none; display: flex; gap: var(--s-2); }
.intake-ops li {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45); font-size: 0.8rem; line-height: 1; color: rgba(255, 255, 255, 0.8);
}
.intake-ops li.is-on, .intake-ops li.is-done { background: #fff; border-color: #fff; color: var(--signature); }
.intake-count { font-family: var(--font-mono); font-size: var(--fs-small); color: rgba(255, 255, 255, 0.8); }
.intake-q { display: block; margin-top: var(--s-6); color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: var(--w-head); line-height: var(--lh-snug); letter-spacing: var(--tracking-tight); outline: none; }
.intake-input {
  display: block; width: 100%; margin-top: var(--s-3); padding: var(--s-2) 0; resize: vertical;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.5); background: transparent;
  color: #fff; font: inherit; font-size: 1.125rem;
}
.intake-input::placeholder { color: rgba(255, 255, 255, 0.55); }
.intake-input:focus { outline: none; border-bottom: 2px solid #fff; }
.intake-error { margin-top: var(--s-3); color: #fff; font-size: var(--fs-small); }
.intake-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: auto; padding-top: var(--s-6); }
.intake-fine { font-size: var(--fs-label); color: rgba(255, 255, 255, 0.75); }
.intake-fine a { color: #fff; }
.intake-actions { display: flex; gap: var(--s-3); }
.intake-next, .intake-back {
  min-height: var(--touch-min); padding: 0 var(--s-5); border-radius: var(--r-pill); font: inherit; font-size: var(--fs-small); font-weight: var(--w-strong); cursor: pointer;
}
.intake-next { border: 0; background: #fff; color: var(--signature); }
.intake-next:hover { background: rgba(255, 255, 255, 0.9); }
.intake-back { border: 1px solid rgba(255, 255, 255, 0.5); background: transparent; color: #fff; }
.intake-next:focus-visible, .intake-back:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (min-width: 1024px) {
  .talk-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
}

/* ---------- centered offer hero (Hormozi-style lander) ---------- */
.hero--center .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: var(--s-7); }
.hero--center .hero-copy { max-width: 54rem; }
.hero--center .hero-copy h1 { max-width: 18ch; margin-inline: auto; }
.hero--center .hero-copy .lead { max-width: 46ch; margin-inline: auto; }
.hero--center .form-card { width: 100%; max-width: 30rem; text-align: left; }
.hero--center .hero-logos { justify-content: center; margin-top: 0; }
/* After a success the copy returns to the left, clear of the scene on the right. */
.hero--center.hero--done .hero-grid { justify-items: start; text-align: left; }
.hero--center.hero--done .hero-copy h1, .hero--center.hero--done .hero-copy .lead { margin-inline: 0; }
.hero--center.hero--done .hero-logos { justify-content: flex-start; }

/* ---------- the offer stack ---------- */
.offer { background: var(--canvas); border-top: 1px solid var(--hairline); }
.offer .wrap > * { max-width: 48rem; margin-inline: auto; }
.offer h2 { text-align: center; }
.offer-list { list-style: none; margin-top: var(--s-7); }
.offer-list li { display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-4); padding: var(--s-6) 0; }
.offer-list li + li { border-top: 1px solid var(--hairline); }
.offer-n { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--lime); padding-top: 0.35em; }
.offer-list h3 { color: var(--text); font-size: var(--fs-h3); line-height: var(--lh-snug); }
.offer-list p { margin-top: var(--s-2); color: var(--text-2); max-width: 52ch; }
.offer-list .offer-when { margin-top: var(--s-3); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); text-transform: uppercase; letter-spacing: var(--tracking-label); }
.offer-when a { color: var(--lavender); }
.offer-terms { margin-top: var(--s-7); text-align: center; color: var(--text); font-size: var(--fs-control); font-weight: var(--w-strong); }
.offer-cta { margin-top: var(--s-5); text-align: center; }
.offer-cap { margin-top: var(--s-3); text-align: center; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); }

/* The hero film beside the form (the pain section keeps its own film). */
.hero-pair { display: grid; gap: var(--s-6); justify-items: center; width: 100%; }
.hero-pair .form-card { align-self: center; }
@media (min-width: 900px) {
  /* The film matches the form's height (v2.js sets its width from 9:16). */
  .hero-pair { grid-template-columns: 30rem auto; justify-content: center; align-items: center; gap: var(--s-7); }
  .hero-pair .hero-film { order: 2; max-width: none; width: var(--film-w, 300px); }
}
.hero--done .hero-film { display: none; }

/* ==================================================================== */
/* success */
/* ==================================================================== */
/* Success state for the /visibility intake: the section turns night, the form goes,
   and the paper scene (success.js) plays behind the copy. */
.talk { position: relative; overflow: hidden; transition: background-color 1.2s ease; }
.talk-scene { position: absolute; inset: 0; pointer-events: none; }
.talk-canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.is-scene .talk-canvas { opacity: 1; }
.talk--done { display: flex; align-items: center; min-height: clamp(560px, 88vh, 920px); background: #05070f; }
.talk--done > .wrap { position: relative; z-index: 1; width: 100%; }
.talk-next { margin-top: var(--s-5); max-width: 34ch; color: rgba(255, 255, 255, 0.85); }
.talk-next a { color: #fff; text-underline-offset: 4px; }
.talk-next a:hover { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 1023px) {
  .talk--done { align-items: flex-start; padding-bottom: 46vh; }
}
@media (prefers-reduced-motion: reduce) {
  .talk, .talk-canvas { transition: none; }
}

/* Hero success: the form card goes and the scene plays behind the copy. */
.hero--done { display: flex; align-items: center; min-height: clamp(560px, 88vh, 920px); }
.hero--done .form-card, .hero--done .hero-x, .hero--done .hero-jelly, .hero--done .eyebrow, .talk--done .talk-eyebrow { display: none; }
.hero--done > .wrap { position: relative; z-index: 1; width: 100%; }
.hero .talk-scene { z-index: 0; }
@media (max-width: 1023px) {
  .hero--done { align-items: flex-start; padding-bottom: 46vh; }
}

/* Local and preview only (hero-success.js): fakes a form success, sends nothing. */
.pa-test-success {
  position: fixed; right: 16px; bottom: 16px; z-index: 1000; min-height: 40px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px; background: #05070f; color: #fff;
  font: inherit; font-size: 0.875rem; cursor: pointer;
}
.pa-test-success:hover { border-color: #fff; }
.pa-test-success:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Josh pointing back at the visitor, under the success copy. */
.success-photo { display: block; width: clamp(150px, 15vw, 210px); height: auto; aspect-ratio: 3 / 4; margin-top: var(--s-6); object-fit: cover; object-position: 50% 22%; border-radius: 14px; }
.success-photo[hidden] { display: none; }

