/* type +2px readability pass applied */
/* =========================================================================
   Indri Webinar Funnel · pitch site (system A, Creator Growth Solutions)
   "Night lab": deep blue-black canvas, cool bone-white ink, one "in range"
   green accent. Geist for everything, Geist Mono only for small uppercase
   labels, kickers and counters. A whisper of green bloom and a faint lab grid
   in the hero's top corners, fine grain over the whole page.
   Signature detail: the reference-range bar (hairline track · soft optimal
   zone · marker dot), used as the deliverable group divider and in the
   comparison cards. Signature motion: the photo swarm.
   Deliberately NOT Indri's own funnel brand (system B: warm lab paper + navy,
   Archivo wide), so the pitch wrapper and his funnel read as two things.
   ========================================================================= */

@font-face { font-family: "Geist"; src: url("assets/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* his "HUMAN BLUEPRINT" wordmark only (a logo, drawn in the wide face his brand uses) */
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0B0F12;
  --bg-2: #080B0E;
  --surface: #12181C;
  --surface-2: #182027;
  --line: rgba(236, 239, 234, 0.12);
  --line-soft: rgba(236, 239, 234, 0.07);

  --text: #ECEFEA;
  --text-2: #9AA6A3;
  --text-3: #76817E;

  --accent: #7CE0A3;
  --accent-2: #A6EDC3;
  --accent-ink: #06140C;

  /* the same colours as channels, so every tint and scrim stays on-token */
  --text-rgb: 236 239 234;
  --accent-rgb: 124 224 163;
  --shade-rgb: 3 6 8;          /* scrims over video, the lightbox backdrop, deep shadows */
  --paper: #ffffff;            /* Calendly and the (light) funnel pages render on white */
  --yt: #ff0033;               /* brand marks keep their own colour */
  --ig: #e1306c;
  --ig-2: #d6249f;

  --font: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1120px;
  --gutter: clamp(20px, 5vw, 32px);
  --section-y: clamp(72px, 11vh, 132px);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------- Base --------------------------------- */
[hidden] { display: none !important; } /* mode-switched elements must stay hidden even when a component sets display */
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
/* page canvas: one continuous deep blue-black field (sections stay transparent, so nothing seams) */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 40%, var(--bg-2) 100%); }
/* fine grain over the whole page so the dark field never bands */
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 140px 140px; }
body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: calc(17px + 2px);
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }

/* ------------------------------ Typography ------------------------------ */
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: calc(0.75rem + 2px);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.section__title {
  margin: 0;
  font-family: var(--display);
  font-size: calc(clamp(2rem, 5vw, 3rem) + 2px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

/* Small directional arrows */
.arrow, .arrow-down {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  vertical-align: middle;
  margin-left: 7px;
  transition: transform 0.3s var(--ease);
}
.arrow { transform: rotate(-45deg); }
.arrow-down { transform: rotate(45deg); margin-left: 8px; }

/* -------------------------------- Reveal -------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.hero__inner .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero__inner .reveal:nth-child(2) { transition-delay: 0.18s; }
.hero__inner .reveal:nth-child(3) { transition-delay: 0.3s; }

/* -------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 980px;
  font-size: calc(1rem + 2px);
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: var(--accent-ink); position: relative; overflow: hidden; }
.btn--primary::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(120deg, transparent, rgb(var(--text-rgb) / 0.3), transparent); transition: transform 0.6s var(--ease); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgb(var(--accent-rgb) / 0.45); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgb(var(--text-rgb) / 0.02); color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 30px -14px rgb(var(--accent-rgb) / 0.4); }
.btn--lg { padding: 17px 40px; font-size: calc(1.1rem + 2px); }

/* --------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  text-align: center;
  padding-top: clamp(80px, 13vh, 148px);
  padding-bottom: clamp(24px, 4vh, 48px);
  overflow: hidden;
}
/* a whisper of "in range" green behind the headline; fades out before the hero ends (no seam) */
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% 0 -5%;
  background:
    radial-gradient(56% 46% at 50% 2%, rgb(var(--accent-rgb) / 0.095), transparent 70%),
    radial-gradient(34% 26% at 50% 46%, rgb(var(--accent-rgb) / 0.035), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  pointer-events: none;
  animation: glowDrift 16s ease-in-out infinite alternate;
}
/* the lab grid: a very faint 56px graph-paper field, only in the hero's two top corners */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(var(--text-rgb) / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--text-rgb) / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 50% 0;
  -webkit-mask-image: radial-gradient(42% 52% at 0% 0%, #000 0%, transparent 100%), radial-gradient(42% 52% at 100% 0%, #000 0%, transparent 100%);
  mask-image: radial-gradient(42% 52% at 0% 0%, #000 0%, transparent 100%), radial-gradient(42% 52% at 100% 0%, #000 0%, transparent 100%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
  margin: 0 auto;
  max-width: 1040px;
  font-family: var(--display);
  font-size: calc(clamp(1.85rem, 3.2vw, 2.7rem) + 2px);
  text-wrap: balance;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
/* Word-by-word reveal (applied once JS splits the headline) */
.hero__title.split { opacity: 1; transform: none; transition: none; } /* the words carry the entrance; no transition on the h1 itself so GSAP never samples a half-way state */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  will-change: opacity, transform, filter;
}
.hero__title.is-in .word { opacity: 1; transform: none; filter: blur(0); }

.mark { position: relative; white-space: nowrap; color: var(--accent); text-shadow: 0 0 28px rgb(var(--accent-rgb) / 0.28); }
.mark::after {
  content: "";
  position: absolute;
  left: -1px; right: -1px; bottom: -0.05em;
  height: 0.08em;
  background: var(--accent);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease) 0.5s;
}
.hero__title.is-in .mark::after { transform: scaleX(1); }

.hero__actions { margin-top: 40px; display: flex; justify-content: center; }
.hero__actions .arrow-down { animation: chevBob 2.2s var(--ease) infinite; }

/* -------------------------------- Player -------------------------------- */
/* stage + control bar stay dark whatever the palette: they sit over footage, not over the page */
.hplayer { margin: 44px auto 0; max-width: 760px; }
.hplayer__stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: rgb(var(--shade-rgb)); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgb(var(--shade-rgb) / 0.7), 0 0 0 6px rgb(var(--text-rgb) / 0.025);
}
.hplayer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: rgb(var(--shade-rgb)); }

/* dark scrim behind the big play button (idle only) */
.hplayer__scrim { position: absolute; inset: 0; pointer-events: none; transition: opacity 0.45s var(--ease);
  background: radial-gradient(120% 120% at 50% 45%, rgb(var(--shade-rgb) / 0.12), rgb(var(--shade-rgb) / 0.55)); }
.hplayer__stage:not([data-state="idle"]) .hplayer__scrim { opacity: 0; }

/* big centered play */
.hplayer__big { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  border: 1px solid rgb(var(--accent-rgb) / 0.6); background: var(--accent); backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), opacity 0.4s var(--ease), border-color 0.4s var(--ease); }
.hplayer__big svg { width: 32px; height: 32px; fill: var(--accent-ink); margin-left: 4px; position: relative; z-index: 1; }
.hplayer__big-glow { position: absolute; inset: 0; border-radius: 50%; animation: hpPulse 2.8s ease-out infinite; }
.hplayer__big:hover { transform: translate(-50%, -50%) scale(1.07); background: var(--accent-2); border-color: var(--text); }
.hplayer__stage:not([data-state="idle"]) .hplayer__big { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.8); }
@keyframes hpPulse { 0% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0.45); } 70% { box-shadow: 0 0 0 22px rgb(var(--accent-rgb) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0); } }

/* captions overlay */
.hplayer__cc { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); max-width: 84%; text-align: center;
  font-size: calc(clamp(0.9rem, 0.8rem + 0.5vw, 1.08rem) + 2px); line-height: 1.4; color: var(--text); pointer-events: none;
  transition: bottom 0.3s var(--ease); }
.hplayer__cc span { background: rgb(var(--shade-rgb) / 0.66); padding: 3px 10px; border-radius: 7px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hplayer__cc:empty { display: none; }
.hplayer__stage:hover .hplayer__cc, .hplayer__stage[data-state="paused"] .hplayer__cc { bottom: 82px; }

/* control bar */
.hplayer__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: linear-gradient(to top, rgb(var(--shade-rgb) / 0.86), rgb(var(--shade-rgb) / 0.4) 60%, transparent);
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.hplayer__stage:hover .hplayer__bar, .hplayer__stage[data-state="paused"] .hplayer__bar,
.hplayer__stage.hp-touch .hplayer__bar { opacity: 1; transform: none; }
.hplayer__stage[data-state="idle"] .hplayer__bar { opacity: 0; pointer-events: none; }

.hp-btn { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: none; background: transparent;
  color: var(--text); cursor: pointer; border-radius: 8px; opacity: 0.82; transition: opacity 0.2s var(--ease), background 0.2s var(--ease); }
.hp-btn:hover { opacity: 1; background: rgb(var(--text-rgb) / 0.1); }
.hp-btn svg { width: 20px; height: 20px; fill: var(--text); }
.hp-btn--mute svg, .hp-btn--full svg { fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-i-play, .hp-i-sound { display: none; }
.hplayer__stage[data-state="paused"] .hp-i-pause, .hplayer__stage[data-state="idle"] .hp-i-pause { display: none; }
.hplayer__stage[data-state="paused"] .hp-i-play, .hplayer__stage[data-state="idle"] .hp-i-play { display: block; }

.hp-time { font-family: var(--mono); font-size: calc(0.75rem + 2px); color: rgb(var(--text-rgb) / 0.75); font-variant-numeric: tabular-nums; min-width: 36px; text-align: center; }

/* scrub */
.hp-scrub { position: relative; flex: 1 1 auto; height: 28px; display: flex; align-items: center; cursor: pointer; }
.hp-scrub__track { position: relative; width: 100%; height: 4px; border-radius: 99px; background: rgb(var(--text-rgb) / 0.22); transition: height 0.15s var(--ease); }
.hp-scrub:hover .hp-scrub__track, .hp-scrub.dragging .hp-scrub__track { height: 6px; }
.hp-scrub__buf { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 99px; background: rgb(var(--text-rgb) / 0.3); }
.hp-scrub__fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 10px rgb(var(--accent-rgb) / 0.6); }
.hp-scrub__knob { position: absolute; top: 50%; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--text);
  transform: translate(-50%, -50%) scale(0); transition: transform 0.18s var(--ease); box-shadow: 0 1px 5px rgb(var(--shade-rgb) / 0.45); }
.hp-scrub:hover .hp-scrub__knob, .hp-scrub.dragging .hp-scrub__knob { transform: translate(-50%, -50%) scale(1); }

/* CC toggle (kept for parity; the native player ships without the CC button) */
.hp-btn--cc { width: auto; padding: 0 9px; font-size: calc(0.75rem + 2px); font-weight: 700; letter-spacing: 0.06em; }
.hp-btn--cc.is-on { background: rgb(var(--accent-rgb) / 0.55); opacity: 1; }

/* speed */
.hp-speed { position: relative; }
.hp-btn--speed { width: auto; padding: 0 9px; font-family: var(--mono); font-size: calc(0.76rem + 2px); font-weight: 600; font-variant-numeric: tabular-nums; }
.hp-speed__menu { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); min-width: 76px; padding: 6px;
  background: rgb(var(--shade-rgb) / 0.97); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgb(var(--shade-rgb) / 0.5);
  display: none; flex-direction: column; gap: 2px; }
.hp-speed__menu.open { display: flex; }
.hp-speed__menu button { border: none; background: transparent; color: rgb(var(--text-rgb) / 0.8); font-family: var(--mono); font-size: calc(0.78rem + 2px); font-weight: 600;
  padding: 7px 10px; border-radius: 7px; cursor: pointer; text-align: center; font-variant-numeric: tabular-nums; }
.hp-speed__menu button:hover { background: rgb(var(--text-rgb) / 0.09); color: var(--text); }
.hp-speed__menu button.is-on { background: rgb(var(--accent-rgb) / 0.22); color: var(--accent); }

@media (max-width: 560px) {
  .hp-btn { width: 30px; height: 30px; }
  .hp-btn--full { display: none; }
  .hplayer__cc { bottom: 62px; }
}

/* ------------------- Signature: the reference-range bar ------------------- */
/* A hairline track, a soft green "optimal" zone, a marker dot that settles into
   place when its block enters view. Divider under each deliverable group, and
   the read-out in the two comparison cards (grey = out of range, green = in). */
.rbar { position: relative; display: block; height: 4px; border-radius: 99px; background: rgb(var(--text-rgb) / 0.1); }
.rbar__opt { position: absolute; top: -1px; bottom: -1px; left: var(--lo, 38%); width: var(--w, 24%); border-radius: 99px;
  background: rgb(var(--accent-rgb) / 0.2); box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / 0.38); }
.rbar__dot { position: absolute; top: 50%; left: 4%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgb(var(--accent-rgb) / 0.6);
  transition: left 1.3s var(--ease) 0.2s; }
.is-in > .rbar .rbar__dot { left: var(--at, 50%); }
/* divider variant: a longer track whose ends fade into the canvas */
.rbar--rule { width: min(440px, 78%); margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgb(var(--text-rgb) / 0.14) 20%, rgb(var(--text-rgb) / 0.14) 80%, transparent); }
/* card variant */
.rbar--card { width: min(260px, 82%); margin: 0 auto 26px; }
.rbar--card .rbar__dot { box-shadow: 0 0 0 4px var(--surface), 0 0 16px rgb(var(--accent-rgb) / 0.6); }
.vs__card:not(.vs__card--on) .rbar__dot { background: var(--text-3); box-shadow: 0 0 0 4px var(--surface); }

/* ----------------------------- Deliverables ----------------------------- */
.deliverables { padding-top: clamp(28px, 4.5vh, 56px); }
.deliverables__title { text-align: center; margin-bottom: clamp(48px, 8vh, 84px); }

.group { margin-bottom: clamp(64px, 10vh, 112px); }
.group:last-child { margin-bottom: 0; }
.group__head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 40px; }
.group__meta { display: inline-flex; align-items: center; gap: 12px; }
.group__label { font-family: var(--display); font-size: calc(1.15rem + 2px); font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.group__count { font-family: var(--mono); font-size: calc(0.75rem + 2px); font-weight: 500; color: var(--text-3); letter-spacing: 0.12em; padding: 2px 8px; border: 1px solid var(--line); border-radius: 99px; line-height: 1.3; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
.grid--1 { grid-template-columns: 1fr; }

/* Preview card: a framed browser window + clear type hierarchy */
.pcard {
  appearance: none; font: inherit; color: inherit; text-align: left; position: relative;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 12px 12px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 0;
  transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 1px 0 rgb(var(--text-rgb) / 0.05) inset, 0 10px 30px -22px rgb(var(--shade-rgb) / 0.6);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.pcard:hover { border-color: rgb(var(--accent-rgb) / 0.35); box-shadow: 0 1px 0 rgb(var(--text-rgb) / 0.05) inset, 0 30px 60px -28px rgb(var(--shade-rgb) / 0.8), 0 0 0 1px rgb(var(--accent-rgb) / 0.08); }
.pcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgb(var(--accent-rgb) / 0.09), transparent 44%); opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none; }
.pcard:hover::after { opacity: 1; }

/* the window frame */
.thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; border: 1px solid var(--line-soft); box-shadow: 0 14px 30px -18px rgb(var(--shade-rgb) / 0.75); }
.thumb--wide { aspect-ratio: 16 / 7; }
.thumb__bar { position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-bottom: 1px solid var(--line-soft); }
.thumb__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--text-rgb) / 0.16); }
.thumb__bar i:first-child { background: rgb(var(--accent-rgb) / 0.55); }
.thumb__url { margin-left: 8px; flex: 1; height: 15px; border-radius: 7px; background: rgb(var(--text-rgb) / 0.06); display: flex; align-items: center; padding: 0 8px; font-family: var(--mono); font-size: calc(8.5px + 2px); letter-spacing: 0.02em; color: var(--text-3); white-space: nowrap; overflow: hidden; }
.thumb__img { position: absolute; inset: 26px 0 0 0; width: 100%; height: calc(100% - 26px); object-fit: cover; object-position: 50% 0%; transition: object-position 2.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s var(--ease); }
.pcard:hover .thumb__img { object-position: 50% 38%; }
.thumb--wide .thumb__img { object-position: 50% 50%; }
.pcard:hover .thumb--wide .thumb__img { object-position: 50% 50%; transform: scale(1.02); }
.thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(var(--text-rgb) / 0.05); }

/* type */
.pcard__body { flex: 1; display: flex; flex-direction: column; padding: 16px 8px 0; }
.pcard__kicker { display: block; font-family: var(--mono); font-size: calc(0.75rem + 2px); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.pcard__title { display: block; font-family: var(--display); font-size: calc(1.22rem + 2px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }
.pcard__desc { display: block; margin-top: 6px; font-size: calc(0.92rem + 2px); line-height: 1.5; color: var(--text-2); }
.pcard__link { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: calc(0.86rem + 2px); font-weight: 600; color: var(--accent); letter-spacing: 0.005em; transition: gap 0.3s var(--ease); }
.pcard:hover .pcard__link { gap: 10px; }
.pcard__link .arrow { margin-left: 0; border-color: currentColor; }
.pcard--wide .pcard__body { flex: none; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.pcard--wide .pcard__link { margin-top: 0; padding-top: 0; }

/* --------------------------------- CTA ---------------------------------- */
.cta { text-align: center; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(48% 42% at 50% 62%, rgb(var(--accent-rgb) / 0.075), transparent 72%);
  pointer-events: none;
}
.cta__wrap { position: relative; }
.cta__title {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: calc(clamp(2.4rem, 6.5vw, 4rem) + 2px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

/* -------------------------------- Footer -------------------------------- */
/* branding-only bottom banner: height = 1.5 × the line (52px → 78px), text centred in it */
.footer { position: relative; height: 78px; background: rgb(var(--text-rgb) / 0.03); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -140px; height: 140px; pointer-events: none; background: linear-gradient(180deg, transparent, rgb(var(--text-rgb) / 0.03)); }
.footer__inner { height: 100%; display: flex; align-items: center; justify-content: center; }
.footer__note { font-family: var(--mono); font-size: calc(0.75rem + 2px); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); line-height: 52px; text-align: center; }

/* ------------------------------ Sticky CTA ------------------------------ */
/* Booking one tap away for the whole scroll; yields only to the closing CTA. */
.stickycta {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 980px;
  background: var(--accent, var(--text));
  color: var(--accent-ink, var(--bg));
  font-size: calc(0.98rem + 2px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 14px 40px rgb(var(--shade-rgb) / 0.55), 0 10px 34px -8px rgb(var(--accent-rgb) / 0.38), 0 0 0 1px rgb(var(--accent-rgb) / 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0s linear 0.35s;
}
.stickycta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(var(--mgx, 0px), var(--mgy, 0px)) scale(1);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s;
}
.stickycta.is-visible:hover { transform: translate(var(--mgx, 0px), calc(var(--mgy, 0px) - 2px)) scale(1.02); }
.stickycta__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-ink, var(--bg));
  animation: stickyPulse 2.4s var(--ease) infinite;
}
@keyframes stickyPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-ink) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 7px transparent; }
}
@media (max-width: 560px) {
  .stickycta { left: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 28px); justify-content: center; }
}

/* ------------------------------- Lightbox ------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 64px);
  background: rgb(var(--shade-rgb) / 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__inner {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.lightbox__stage {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  max-height: 78vh;
  transform-origin: top left;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.lightbox__stage img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; display: block; }
.lightbox__stage--embed { height: 78vh; background: var(--paper); }
.lightbox__frame { width: 100%; height: 100%; border: 0; display: block; background: var(--paper); }
.lightbox__open { margin-left: 12px; font-size: calc(0.85rem + 2px); font-weight: 500; color: rgb(var(--text-rgb) / 0.75); border-bottom: 1px solid rgb(var(--text-rgb) / 0.35); transition: color 0.3s var(--ease); }
.lightbox__open:hover { color: var(--accent); }
.lightbox__open { white-space: nowrap; }
.thumb__url { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; line-height: 15px; }
.lightbox__placeholder { padding: clamp(28px, 6vw, 64px); text-align: center; }
.lightbox__placeholder p { margin: 0; font-size: calc(0.9rem + 2px); color: var(--text-3); }
.lightbox__title { margin: 0; font-size: calc(1.05rem + 2px); font-weight: 600; color: var(--text); text-align: center; }
.lightbox__close {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgb(var(--text-rgb) / 0.35);
  background: rgb(var(--text-rgb) / 0.12);
  color: var(--text);
  font-size: calc(1.6rem + 2px);
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox__close:hover { background: rgb(var(--text-rgb) / 0.2); border-color: var(--accent); transform: rotate(90deg); }

/* --------------------------- Calendly popup ----------------------------- */
/* (fallback only: this build embeds Calendly inline, see .cal-inline) */
.cal-modal {
  position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px); background: rgb(var(--shade-rgb) / 0.8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.cal-modal.open { opacity: 1; visibility: visible; }
.cal-frame { position: relative; width: min(820px, 100%); height: min(1000px, 92vh); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 40px 120px rgb(var(--shade-rgb) / 0.5); transform: scale(0.98); transition: transform 0.28s var(--ease); }
.cal-modal.open .cal-frame { transform: scale(1); }
.cal-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; background: transparent; }
.cal-loader { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity 0.3s var(--ease); }
.cal-loader span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: calDot 1s ease-in-out infinite; }
.cal-loader span:nth-child(2) { animation-delay: 0.15s; }
.cal-loader span:nth-child(3) { animation-delay: 0.3s; }
.cal-modal.cal-ready .cal-loader { opacity: 0; }

/* ------------------------------- Keyframes ------------------------------ */
@keyframes glowDrift {
  0% { transform: translate3d(-1.5%, 0, 0); opacity: 0.85; }
  100% { transform: translate3d(1.5%, 1.5%, 0); opacity: 1; }
}
@keyframes chevBob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(2px, 2px); }
}
@keyframes calDot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: calc(16px + 2px); }
  .grid--3, .grid--2 { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .pcard--wide .pcard__body { grid-template-columns: 1fr; }
  .thumb--wide { aspect-ratio: 16 / 9; }
  .hero__actions .btn { width: 100%; }
  .stickycta { padding: 12px 22px; }
  .cal-frame { height: 90vh; border-radius: 16px; }
  .eyebrow { letter-spacing: 0.1em; }
  /* footer: the line wraps to two on a phone, so the banner grows with it (still 1.5 × the branding) */
  .footer { height: auto; padding: 12px 0; }
  .footer__note { display: block; max-width: 30ch; margin-inline: auto; line-height: 1.6; letter-spacing: 0.1em; }
}

/* --------------------------- Reduced motion ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lightbox, .lightbox__stage { transition: none; }
  .hero::before, .hplayer__big-glow, .hero__actions .arrow-down { animation: none; }
  .mark::after { transition: none; transform: scaleX(1); }
  .rbar__dot { transition: none; left: var(--at, 50%); }
  .thumb__img { transition: none; }
  .pcard { transition: none; }
  .stickycta { transform: none; transition: opacity 0.25s linear, visibility 0s linear 0.25s; }
  .stickycta.is-visible { transform: none; transition: opacity 0.25s linear; }
  .stickycta__dot { animation: none; }
  .cal-modal { transition: opacity 0.15s linear; }
  .cal-frame { transition: none; transform: none; }
  .cal-loader span { animation: none; }
}

/* ---------------------- Hero photo-swarm (signature) -------------------- */
/* Overlay above the already-visible hero. pointer-events none throughout.
   Every tile is centred on the hero's centre (translate -50% -50%), then offset by
   its own path: off-screen (--ox/--oy) → rest (--ix/--iy, framing the copy) → back out. */
.swarm { position: absolute; inset: 0; pointer-events: none; z-index: 5; overflow: visible; }
.swarm__ph { --ix: var(--dix); --iy: var(--diy); --ox: var(--dox); --oy: var(--doy);
  position: absolute; left: 50%; top: 50%; width: clamp(96px, 9vw, 132px); aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  border: 1px solid rgb(var(--text-rgb) / 0.55); background: var(--surface);
  box-shadow: 0 22px 46px -18px rgb(var(--shade-rgb) / 0.85), 0 0 0 5px rgb(var(--text-rgb) / 0.04);
  opacity: 0; transform: translate(-50%, -50%) translate(var(--ox), var(--oy)) rotate(var(--r, 0deg)) scale(0.92); will-change: transform, opacity; }
.swarm__ph--wide { aspect-ratio: 4 / 3; width: clamp(124px, 11.6vw, 172px); }
.swarm__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swarm.is-on .swarm__ph { animation: swarmIn 2.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes swarmIn {
  0%   { opacity: 0; transform: translate(-50%, -50%) translate(var(--ox), var(--oy)) rotate(var(--r, 0deg)) scale(0.92); }
  28%  { opacity: 1; transform: translate(-50%, -50%) translate(var(--ix), var(--iy)) rotate(calc(var(--r, 0deg) * 0.4)) scale(1); }
  52%  { opacity: 1; transform: translate(-50%, -50%) translate(var(--ix), var(--iy)) rotate(calc(var(--r, 0deg) * 0.4)) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) translate(var(--ox), var(--oy)) rotate(var(--r, 0deg)) scale(0.92); }
}
/* phone choreography: same edges-in, hold, retrace-out signature, on its own path sized for a 375px screen */
@media (max-width: 760px) {
  .swarm__ph { --ix: var(--mix); --iy: var(--miy); --ox: var(--mox); --oy: var(--moy); width: 80px; border-radius: 12px; }
  .swarm__ph--wide { width: 108px; }
  .swarm.is-on .swarm__ph { animation-duration: 2.8s; }
  /* the collage sits over the player on phones: tuck the play button away while it's there */
  .hero.swarm-on .hplayer__big { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
}
@media (prefers-reduced-motion: reduce) { .swarm { display: none; } }

/* reduced / static: jump to final states (no mid-transition captures, honours prefers-reduced-motion) */
html.reduced *, html.reduced *::before, html.reduced *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; transition-delay: 0s !important; }

/* ------------------------- Sender options (pitch site) ------------------- */
/* Agency branding: small top-left lockup. Configured in PITCH_CONFIG.brand; removed when empty. */
.agency-bar { position: absolute; top: clamp(18px, 3vw, 28px); left: clamp(18px, 3vw, 32px); z-index: 6; display: inline-flex; align-items: center; gap: 10px; }
.agency-bar a { display: inline-flex; align-items: center; gap: 10px; }
.agency-bar img { height: 26px; width: auto; display: block; }
.agency-bar span { font-family: var(--mono); font-size: calc(0.75rem + 2px); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }
.agency-bar a:hover span { color: var(--text); }

/* Hero embed (Loom / Wistia) */
.hplayer__embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: rgb(var(--shade-rgb)); }
.hplayer__stage[data-state="embed"] .hplayer__scrim, .hplayer__stage[data-state="embed"] .hplayer__big, .hplayer__stage[data-state="embed"] .hplayer__bar, .hplayer__stage[data-state="embed"] .hplayer__cc { display: none; }

/* Inline Calendly (replaces the CTA button + modal) */
.cal-fallback { margin: -8px 0 24px; font-size: calc(0.92rem + 2px); color: var(--text-3); }
.cal-fallback a { color: var(--accent); border-bottom: 1px solid rgb(var(--accent-rgb) / 0.4); }
.cal-inline { position: relative; width: min(900px, 100%); margin: 0 auto; height: min(760px, 92vh); border-radius: 20px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 40px 100px -50px rgb(var(--shade-rgb) / 0.85), 0 0 0 6px rgb(var(--text-rgb) / 0.025); }
.cal-inline iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Case studies (optional, PITCH_CONFIG.caseStudies) */
.case-studies { padding-top: 0; }
.case-studies__title { text-align: center; margin-bottom: clamp(36px, 6vh, 60px); }
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin-inline: auto; }
.cs-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.cs-media { aspect-ratio: 16 / 9; background: var(--surface-2); }
.cs-media iframe, .cs-media img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.cs-body { padding: 20px 22px 24px; text-align: center; }
.cs-result { margin: 0 0 8px; font-family: var(--mono); font-size: calc(0.75rem + 2px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.cs-title { margin: 0 0 8px; font-family: var(--display); font-size: calc(1.15rem + 2px); font-weight: 600; letter-spacing: -0.02em; }
.cs-text { margin: 0; font-size: calc(0.95rem + 2px); color: var(--text-2); line-height: 1.55; }
@media (max-width: 700px) { .cs-grid { grid-template-columns: 1fr; } .cal-inline { height: 80vh; border-radius: 16px; } }

/* ---- mobile hardening (references/mobile.md) ---- */
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
p, li, td, th, blockquote, figcaption,
h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
table, pre { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 700px) {
  .tag, [class*="badge"], [class*="pill"] { margin-left: 0; }
}
@media (max-width: 420px) {
  .tok-merge, .tok-link, code { white-space: normal; }
}
/* the hardening's height:auto must not flatten media that fill a fixed frame */
.thumb__img, .hplayer__video, .lightbox__frame, .cal-inline iframe, .cs-media iframe, .cs-media img, .swarm__ph img, .ytl img { height: 100%; }
.hero__title { overflow-wrap: normal; }

/* ------------------------------ The numbers ------------------------------ */
.numbers { padding-top: clamp(40px, 7vh, 88px); }
.numbers__head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 7vh, 72px); }
.numbers__head .section__title { text-wrap: balance; }

.vs { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: stretch; gap: 0; max-width: 1000px; margin: 0 auto; }
.vs__card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 22px; padding: clamp(24px, 3.4vw, 36px); text-align: center; box-shadow: 0 30px 70px -50px rgb(var(--shade-rgb) / 0.9); }
.vs__card--on { background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.08), rgb(var(--accent-rgb) / 0.025)), var(--surface); border-color: rgb(var(--accent-rgb) / 0.3); }
.vs__brand { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 30px; margin-bottom: 22px; font-weight: 600; font-size: calc(0.95rem + 2px); color: var(--text); }
.vs__ig { width: 22px; height: 22px; fill: var(--ig); flex: none; }
.vs__brand span:not(.wordmark) { padding-left: 12px; border-left: 1px solid var(--line); letter-spacing: -0.005em; }
.wordmark { font-family: "Archivo", var(--display); font-stretch: 125%; font-weight: 800; font-size: calc(0.86rem + 2px); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); white-space: nowrap; line-height: 1; }
.vs__label { margin: 0 0 12px; text-wrap: balance; font-family: var(--mono); font-size: calc(0.75rem + 2px); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.vs__card--on .vs__label { color: var(--accent); }
.vs__big { margin: 0; font-family: var(--display); font-size: calc(clamp(2.6rem, 6vw, 3.8rem) + 2px); font-weight: 600; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.vs__big small { display: block; margin-top: 12px; font-family: var(--font); font-size: calc(0.9rem + 2px); font-weight: 500; letter-spacing: -0.005em; color: var(--text-2); }
.vs__card--on .vs__big span { color: var(--accent); }
.vs__note { margin: 18px auto 0; max-width: 36ch; font-size: calc(0.96rem + 2px); line-height: 1.55; color: var(--text-2); }
.vs__rows { list-style: none; margin: 0; padding: 26px 0 0; display: grid; gap: 8px; text-align: left; margin-top: auto; }
.vs__rows li { display: grid; gap: 3px; align-content: center; min-height: 96px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); }
.vs__rows li span { font-size: calc(0.8rem + 2px); color: var(--text-3); line-height: 1.35; }
.vs__rows li b { font-size: calc(0.95rem + 2px); font-weight: 600; color: var(--text); line-height: 1.35; font-variant-numeric: tabular-nums; }
.vs__card--on .vs__rows li { background: rgb(var(--accent-rgb) / 0.06); }
.vs__mid { display: grid; place-items: center; }
.vs__mid span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); font-family: var(--mono); font-size: calc(0.8rem + 2px); font-weight: 500; letter-spacing: 0.06em; color: var(--text-2); }

/* calculator */
.calc { max-width: 1000px; margin: clamp(28px, 4vh, 40px) auto 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 24px; padding: clamp(24px, 3.6vw, 44px); box-shadow: 0 40px 90px -60px rgb(var(--shade-rgb) / 0.9); }
.calc__head { text-align: center; max-width: 620px; margin: 0 auto clamp(26px, 4vh, 38px); }
.calc__title { margin: 0; text-wrap: balance; font-family: var(--display); font-size: calc(clamp(1.5rem, 2.6vw, 2rem) + 2px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.calc__lead { margin: 12px auto 0; color: var(--text-2); font-size: calc(0.98rem + 2px); line-height: 1.6; }
.calc__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.calc__inputs { display: grid; gap: 18px; }
.slider { display: grid; gap: 10px; cursor: pointer; }
.slider__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: calc(0.92rem + 2px); color: var(--text-2); }
.slider__top b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.slider input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; cursor: pointer; }
.slider input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) 0 var(--p), rgb(var(--text-rgb) / 0.12) var(--p) 100%); }
.slider input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: rgb(var(--text-rgb) / 0.12); }
.slider input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--accent); }
.slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--text); border: 4px solid var(--accent); box-shadow: 0 4px 14px rgb(var(--shade-rgb) / 0.5); transition: transform 0.2s var(--ease); }
.slider input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--text); border: 4px solid var(--accent); }
.slider input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.slider input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.tiers { display: grid; gap: 10px; margin-top: 4px; }
.tiers__label { font-size: calc(0.92rem + 2px); color: var(--text-2); }
.tiers__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tier { appearance: none; font: inherit; cursor: pointer; display: grid; gap: 2px; padding: 12px 8px; min-height: 58px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); font-size: calc(0.82rem + 2px); transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease); }
.tier b { font-size: calc(1rem + 2px); font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.tier:hover { border-color: rgb(var(--accent-rgb) / 0.45); }
.tier.is-on { border-color: var(--accent); background: rgb(var(--accent-rgb) / 0.12); color: var(--accent); }
.tier.is-on b { color: var(--accent); }
.tier:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.calc__out { display: grid; gap: 14px; align-self: center; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.flow li { position: relative; display: grid; gap: 4px; align-content: center; text-align: center; padding: 14px 6px; border-radius: 14px; background: var(--surface-2); }
.flow li b { font-family: var(--display); font-size: calc(clamp(1.3rem, 2.2vw, 1.6rem) + 2px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.flow li span { font-size: calc(0.75rem + 2px); line-height: 1.3; color: var(--text-3); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 50%; width: 6px; height: 6px; border-top: 1.5px solid var(--text-3); border-right: 1.5px solid var(--text-3); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow__on { background: rgb(var(--accent-rgb) / 0.12) !important; border: 1px solid rgb(var(--accent-rgb) / 0.3); }
.flow__on b { color: var(--accent); }
.calc__big { display: grid; gap: 6px; text-align: center; padding: clamp(20px, 3vw, 28px) 16px; border-radius: 18px; background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.13), rgb(var(--accent-rgb) / 0.045)); border: 1px solid rgb(var(--accent-rgb) / 0.3); }
.calc__big span { font-family: var(--mono); font-size: calc(0.75rem + 2px); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.calc__big b { font-family: var(--display); font-size: calc(clamp(2.6rem, 5.6vw, 3.6rem) + 2px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc__mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.calc__mini div { display: grid; grid-template-rows: 1fr auto; align-items: center; gap: 4px; text-align: center; padding: 14px 8px; border-radius: 14px; background: var(--surface-2); }
.calc__mini span { font-size: calc(0.78rem + 2px); color: var(--text-3); }
.calc__mini b { font-size: calc(1.25rem + 2px); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc__foot { margin: clamp(24px, 3.6vh, 32px) auto 0; max-width: 64ch; text-align: center; font-size: calc(0.95rem + 2px); line-height: 1.6; color: var(--text-2); }
.calc__src { display: block; margin-top: 10px; font-family: var(--mono); font-size: calc(0.75rem + 2px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }

/* --------------------------- Who's building it --------------------------- */
.builder { padding-top: 0; }
.builder__head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 7vh, 64px); }
.builder__sub { margin: 14px auto 0; max-width: 52ch; font-size: calc(1.02rem + 2px); line-height: 1.6; color: var(--text-2); }
.bvid-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); max-width: 960px; margin: 0 auto; }
.bvid { text-align: center; min-width: 0; }
.ytl { appearance: none; border: 1px solid var(--line-soft); padding: 0; margin: 0; width: 100%; position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--surface-2); cursor: pointer; box-shadow: 0 30px 70px -45px rgb(var(--shade-rgb) / 0.9); }
.ytl img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ytl:hover img { transform: scale(1.025); }
.ytl__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--shade-rgb) / 0.68); border: 1px solid rgb(var(--text-rgb) / 0.4); backdrop-filter: blur(6px); transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.ytl__play svg { width: 26px; height: 26px; fill: var(--text); margin-left: 4px; }
.ytl:hover .ytl__play { transform: scale(1.07); background: var(--accent); }
.ytl:hover .ytl__play svg { fill: var(--accent-ink); }
.ytl:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ytl__frame { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; background: rgb(var(--shade-rgb)); }
.bvid__name { margin: 20px 0 6px; font-family: var(--display); font-size: calc(clamp(1.25rem, 2vw, 1.5rem) + 2px); font-weight: 600; letter-spacing: -0.025em; }
.bvid__desc { margin: 0 auto; max-width: 36ch; font-size: calc(0.95rem + 2px); line-height: 1.55; color: var(--text-2); }

.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); max-width: 960px; margin: clamp(36px, 6vh, 56px) auto 0; }
.soc { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 28px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line-soft); transition: transform 0.5s var(--ease), border-color 0.5s var(--ease); }
.soc:hover { transform: translateY(-4px); border-color: rgb(var(--accent-rgb) / 0.35); }
.soc:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.soc__top { display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; gap: 14px; align-items: center; }
.soc__av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgb(var(--text-rgb) / 0.18); }
.soc__av--ig { border-color: transparent; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ig-2); }
.soc__id { display: grid; gap: 2px; min-width: 0; }
.soc__id b { font-size: calc(1.05rem + 2px); font-weight: 600; letter-spacing: -0.015em; }
.soc__id span { font-size: calc(0.85rem + 2px); color: var(--text-3); }
.soc__logo { width: 26px; height: 26px; }
.soc__logo--yt { fill: var(--yt); }
.soc__logo--ig { fill: var(--ig); }
.soc__text { font-size: calc(0.98rem + 2px); line-height: 1.55; color: var(--text-2); min-height: 3.1em; }
.soc__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.soc__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.soc__thumbs--yt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.soc__thumbs--yt img { aspect-ratio: 16 / 9.6; }
.soc__btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin-top: auto; min-height: 48px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: calc(0.95rem + 2px); transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.soc:hover .soc__btn { border-color: var(--accent); color: var(--accent); }

@media (max-width: 860px) {
  .vs { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 520px; }
  .vs__mid { height: 56px; }
  .calc__body { grid-template-columns: minmax(0, 1fr); }
  .bvid-grid, .socials { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:nth-child(2)::after { display: none; }
  .vs__rows li { min-height: 0; }
  .tier { font-size: calc(0.78rem + 2px); padding: 10px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .soc, .ytl img, .tier { transition: none; }
}

/* hero player safety net note (only shows if there's no Loom and no hero.mp4) */
.hplayer__note { position: absolute; left: 50%; top: 18px; z-index: 4; transform: translate(-50%, 8px); max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px;
  background: rgb(var(--shade-rgb) / 0.82); border: 1px solid var(--line); color: var(--text); font-size: calc(0.85rem + 2px); text-align: center; opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.hplayer__stage.is-noted .hplayer__note { opacity: 1; transform: translate(-50%, 0); }
