/* TeloSight — editorial system: Newsreader for display, Schibsted Grotesk for text.
   Dark ink sections alternate with warm paper sections, one accent (sindoor). */
:root {
  --ink: #0b0c0e;
  --ink-2: #131417;
  --ink-3: #1a1c20;
  --fg: #ecebe6;
  --fg-dim: rgba(236, 235, 230, 0.7);
  --fg-faint: rgba(236, 235, 230, 0.52);
  --line: rgba(236, 235, 230, 0.12);
  --line-2: rgba(236, 235, 230, 0.2);

  --paper: #efebe3;
  --paper-2: #e6e1d6;
  --pink: #17160f;
  --pink-dim: rgba(23, 22, 15, 0.7);
  --pink-faint: rgba(23, 22, 15, 0.66);
  --pline: rgba(23, 22, 15, 0.14);

  --accent: #e2482b;
  --accent-deep: #b8341b;
  --accent-2: #f0a63c;
  --glow: #f4975a;
  --said: #7d8b9e;
  --good: #46c98b;
  --good-deep: #1c7049;
  --bad: #ef5b3f;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --indic: "Noto Sans Devanagari", "Noto Sans Tamil", "Noto Sans Bengali", "Noto Sans Telugu", "Noto Sans Kannada", var(--sans);

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: rgba(236,235,230,0.22) var(--ink); }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--ink); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
canvas { display: block; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(236,235,230,0.18); border-radius: 10px; border: 3px solid var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.h2 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 360; font-size: clamp(38px, 4.8vw, 70px); line-height: 1.04; letter-spacing: -0.022em; margin: 0 0 28px; text-wrap: balance; max-width: 20ch; }
.it { font-style: italic; font-weight: 300; color: var(--fg-dim); }
.body { color: var(--fg-dim); font-size: clamp(16px, 1.2vw, 19px); max-width: 52ch; margin: 0 0 24px; text-wrap: pretty; }

/* paper sections */
.paper { background: var(--paper); color: var(--pink); }
.paper .body { color: var(--pink-dim); }

/* boot */
.boot { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: flex; align-items: center; justify-content: center; clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(0.76, 0, 0.24, 1); }
.boot.done { clip-path: inset(50% 0 50% 0); pointer-events: none; }
.booted .boot { display: none; }
.boot-inner { width: min(420px, calc(100vw - 48px)); }
.boot-lines { min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; color: var(--fg-faint); font-size: 14px; }
.boot-lines div { display: flex; justify-content: space-between; gap: 16px; animation: bootIn 0.35s var(--ease-out) both; }
.boot-lines b { color: var(--fg); font-weight: 500; font-variant-numeric: tabular-nums; }
.boot-lines .ok { color: var(--accent); }
@keyframes bootIn { from { opacity: 0; transform: translateY(6px); } }
.boot-bar { height: 1px; background: var(--line); margin-top: 20px; overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.3s linear; }

/* cursor: switches colour on paper, because a page-wide blend mode makes every frame expensive */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 150; display: none; --c: 255,255,255; }
.cursor.dark { --c: 23,22,15; }
.has-cursor .cursor { display: block; }
.c-dot, .c-ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.c-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: rgb(var(--c)); }
.c-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; box-shadow: inset 0 0 0 1px rgba(var(--c),0.6); transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s; }
.cursor.hover .c-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; box-shadow: inset 0 0 0 1.5px rgb(var(--c)); }
.cursor.hover .c-dot { opacity: 0; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; background: var(--fg); color: var(--ink); padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color 0.35s, transform 0.5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-deep); border-radius: inherit; transform: translateY(101%); transition: transform 0.5s var(--ease); }
.btn > span { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:active { transform: scale(0.97); transition-duration: 0.12s; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost::before { background: rgba(236,235,230,0.1); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 17px; }
@media (hover: hover) {
  .btn:hover::before { transform: none; }
  .btn:not(.btn-ghost):hover { color: #fff; }
  .btn:hover > span:last-child { transform: translateX(4px); }
}

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 12, 14, 0.94); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
/* logo (since v=265): the TS mark with its orbit, then "TeloSight" in Newsreader 600, spaced as in the master PNG */
.brand { display: inline-flex; align-items: center; gap: 0.43em; font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 36; letter-spacing: 0.01em; font-size: 21px; }
.brand span { position: relative; top: 0.13em; }
.brand-mark { width: 2.51em; height: 1.353em; flex: none; overflow: visible; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* hero */
.hero-wrap { height: 135vh; position: relative; }
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(11,12,14,0.92) 8%, rgba(11,12,14,0.2) 55%, transparent); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter) calc(clamp(64px, 9vh, 104px) + 76px); will-change: transform, opacity; }
.hero-title { font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; font-size: clamp(44px, min(7.3vw, 13.5vh), 7.6rem); line-height: 0.98; letter-spacing: -0.035em; margin: 0 0 clamp(28px, 4vh, 48px); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.4s var(--ease-out); }
.hero-title .line:nth-child(2) > span { transition-delay: 0.1s; }
.hero-title .line:nth-child(3) > span { transition-delay: 0.2s; }
.loaded .hero-title .line > span { transform: none; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; border-top: 1px solid var(--line); padding-top: 24px; }
.hero-sub { max-width: 52ch; color: var(--fg-dim); font-size: clamp(16px, 1.25vw, 19px); margin: 0; text-wrap: balance; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: 0.45s; }
.hero .hero-ctas.reveal { transition-delay: 0.6s; }
.hero .marquee.reveal { transition-delay: 0.9s; transform: none; }

/* marquee */
.marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid var(--line); background: rgba(11,12,14,0.72); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 44s linear infinite; font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.3vw, 34px); letter-spacing: -0.015em; color: var(--fg-dim); white-space: nowrap; }
.marquee-track em { font-style: italic; color: var(--fg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* manifesto */
.manifesto { padding: clamp(120px, 22vh, 240px) 0 clamp(100px, 18vh, 200px); }
.manifesto-text { font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; font-size: clamp(32px, 4.4vw, 66px); line-height: 1.12; letter-spacing: -0.02em; margin: 0; max-width: 24ch; text-wrap: pretty; }
.manifesto-text .w { opacity: 0.16; }
.manifesto-text .ln { display: block; text-wrap: balance; }
/* Home: passes through the screen while the story rises underneath, so nothing stops */
.bridge { position: relative; z-index: 2; display: flex; align-items: center; min-height: 100vh; padding: 0; margin-bottom: -35vh; pointer-events: none; background: linear-gradient(var(--ink), #030406 45%, transparent); }
.bridge .manifesto-text { max-width: none; font-size: clamp(36px, 4.9vw, 92px); line-height: 1.1; letter-spacing: -0.03em; }
.bridge .manifesto-text .ln:nth-child(2) { font-size: max(16px, 0.48em); letter-spacing: -0.005em; line-height: 1.4; margin: 0.55em 0 0.5em; color: var(--glow, #f4975a); }

/* the story: six beats, one unbroken shot. Scoped, because its short class names are everywhere else. */
#story { --gut: clamp(20px, 5.4vw, 104px); position: relative; height: 930vh; background: var(--ink); }
#story .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #030406; isolation: isolate; }
#story #gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; opacity: 0; transition: opacity .9s linear; }
#story #gl.on { opacity: 1; }
#story .veil, #story .under { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .7s linear; }
#story .veil { background: linear-gradient(to right, rgba(3,4,6,.96) 0%, rgba(3,4,6,.86) 30%, rgba(3,4,6,0) 60%); }
#story .under { background: linear-gradient(to top, rgba(3,4,6,.9) 0%, rgba(3,4,6,.56) 26%, rgba(3,4,6,0) 50%); }
#story .veil.on, #story .under.on { opacity: 1; }
#story .stage::after { content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none; background: linear-gradient(to top, var(--ink) 4%, transparent 60%); opacity: var(--leave, 0); }
#story .dusk { position: absolute; inset: 0; z-index: 9; pointer-events: none; background: linear-gradient(to bottom, #030406 8%, rgba(3,4,6,var(--d, 1)) 70%); }
#story.static .dusk { display: none; }
/* the tape: two bands across the frame until the lamp comes on, then they're gone */
#story .police i { position: absolute; left: -12%; width: 124%; z-index: 6; padding: clamp(9px, 1.1vh, 14px) 0; overflow: hidden; background: #f5c518; color: #100e06; font-family: var(--sans); font-style: normal; font-weight: 800; font-size: clamp(14px, 1.25vw, 21px); letter-spacing: .03em; white-space: nowrap; box-shadow: 0 14px 30px rgba(0,0,0,.55); opacity: 0; transition: transform .55s cubic-bezier(.5,0,.8,.3), opacity .2s .35s; pointer-events: none; }
#story .police b { display: inline-block; font-weight: inherit; transform: translateX(var(--x, 0)); will-change: transform; }
#story .police i:first-child { top: 7%; transform: translateY(-260%) rotate(-7deg); }
#story .police i:last-child { bottom: 7%; transform: translateY(320%) rotate(6deg); }
#story .police.on i { opacity: 1; transition: transform .7s var(--ease), opacity .1s; }
#story .police.on i:first-child { transform: rotate(-2.6deg); }
#story .police.on i:last-child { transform: rotate(1.8deg); }
#story .caps { position: absolute; inset: 0; z-index: 7; display: grid; padding: clamp(60px, 8vh, 90px) var(--gut) 0; pointer-events: none; }
#story .wy { grid-area: 1 / 1; align-self: end; max-width: min(1100px, 70vw); padding-bottom: clamp(32px, 8vh, 80px); opacity: 0; transform: translateY(14px); transition: opacity .3s var(--ease), transform .45s var(--ease); }
#story .wy.on { opacity: 1; transform: none; }
#story .w { display: inline-block; font-style: normal; opacity: 0; transform: translateY(.42em); transition: opacity .5s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 70ms); }
#story .wy.on .w { opacity: 1; transform: none; }
#story .big, #story p.hit { margin: 0; font-family: var(--serif); font-weight: 320; font-size: clamp(40px, 5.2vw, 92px); line-height: 1.02; letter-spacing: -.03em; text-shadow: 0 2px 26px #000, 0 0 60px #000; text-wrap: pretty; }
#story p.hit { margin-top: .16em; color: var(--accent-2); font-size: clamp(30px, 3.6vw, 62px); line-height: 1.06; opacity: 0; transform: translateY(12px); transition: opacity .32s var(--ease), transform .45s var(--ease); }
#story .wy.landed p.hit { opacity: 1; transform: none; }
#story .wy.hook { align-self: center; padding-bottom: 0; max-width: 46vw; }
#story .wy.hook .big { font-size: clamp(50px, 6.8vw, 124px); line-height: .96; }
#story .wy.hook p.hit { margin-top: .34em; }
#story .wy.side { align-self: center; padding-bottom: 0; max-width: min(42vw, 760px); }
#story .wy.huge .big { font-size: clamp(84px, 12vw, 216px); line-height: .92; letter-spacing: -.045em; }
#story .wy.huge p.hit { font-size: clamp(38px, 4.5vw, 82px); margin-top: .24em; }
#story .wy.fit p.hit { color: var(--good); }
#story .beat { display: inline-block; }
#story .wy.long { max-width: min(46vw, 840px); }
#story .wy.long .big { font-size: clamp(40px, 4.4vw, 80px); }
#story .wy.closing { padding-bottom: calc(clamp(26px, 6vh, 58px) + 150px); }
/* the line-up: each suspect is a real thing a team can test */
#story .suspects { list-style: none; margin: clamp(18px, 3vh, 30px) 0 clamp(14px, 2.4vh, 24px); padding: 0; pointer-events: auto; }
#story .suspects button { display: grid; grid-template-columns: 22px 1fr; align-items: center; column-gap: 12px; width: 100%; padding: clamp(7px, 1.1vh, 12px) 0; border: 0; background: none; color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
#story .suspects button::before { content: ""; grid-row: 1 / 3; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--bad); transition: background .3s, border-color .3s, transform .4s var(--ease); }
#story .suspects span { font-family: var(--serif); font-weight: 340; font-size: clamp(22px, 2vw, 34px); line-height: 1.1; letter-spacing: -.015em; text-shadow: 0 1px 14px #000; }
#story .suspects em { grid-column: 2; font-style: normal; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.3; color: var(--good); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s .05s; text-shadow: 0 1px 10px #000; }
#story .suspects .done::before { background: var(--good); border-color: var(--good); transform: scale(1.08); }
#story .suspects .done em { max-height: 2.8em; opacity: 1; }
#story .suspects button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
#story .ask { position: absolute; z-index: 8; left: var(--gut); bottom: clamp(26px, 6vh, 58px); max-width: min(62vw, 640px); opacity: 0; transform: translateY(14px); transition: opacity .35s .15s, transform .4s .15s var(--ease); pointer-events: none; }
#story .ask.on { opacity: 1; transform: none; pointer-events: auto; }
#story .ask .btn { font-size: clamp(18px, 1.5vw, 24px); padding: 20px 36px; }
#story .ask p { margin: 16px 0 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.4; color: var(--fg); text-shadow: 0 1px 12px #000; }
#story .story-note { position: absolute; z-index: 8; right: var(--gut); bottom: 14px; margin: 0; font-size: 13px; color: var(--fg-faint); opacity: 0; transition: opacity .4s; pointer-events: none; }
#story[data-s="5"] .story-note { opacity: 1; }
@media (max-width: 760px) {
  #story .wy { max-width: none; padding-bottom: 12vh; }
  #story .big { font-size: 38px; } #story p.hit { font-size: 28px; }
  #story .wy.hook { align-self: end; max-width: none; padding-bottom: 12vh; }
  #story .wy.hook .big { font-size: 56px; }
  #story .wy.side { align-self: end; max-width: none; padding-bottom: 13vh; }
  #story .wy.huge .big { font-size: 96px; }
  #story .wy.long { max-width: none; }
  #story .suspects { margin: 12px 0 8px; }
  #story .suspects button { padding: 3px 0; }
  #story .suspects span { line-height: 1.05; }
  #story .suspects span { font-size: 20px; }
  #story .suspects em { font-size: 14px; }
  #story #cap-fit { padding-bottom: 5vh; }
  #story #cap-fit .big { font-size: 32px; } #story #cap-fit p.hit { font-size: 22px; }
  #story .wy.long .big { font-size: 36px; }
  #story .veil { background: linear-gradient(to top, rgba(3,4,6,.95) 0%, rgba(3,4,6,.8) 30%, rgba(3,4,6,0) 56%); }
  #story .ask { left: 20px; right: 20px; max-width: none; bottom: 34px; }
  #story .ask .btn { width: 100%; justify-content: center; }
  #story .wy.closing { padding-bottom: 196px; }
  #story .ask .btn { padding: 18px 20px; }
  #story .story-note { right: auto; left: 20px; bottom: 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #story .wy, #story p.hit, #story .ask, #story #gl, #story .suspects em, #story .w { transition-duration: .01s; transition-delay: 0s; }
}
/* no WebGL or no network for three.js: the same story, read straight down */
#story.static { height: auto; }
#story.static .stage { position: static; height: auto; overflow: visible; background: none; }
#story.static :is(#gl, .veil, .under, .story-note, .police) { display: none; }
#story.static .suspects em { max-height: none; opacity: 1; }
#story.static .caps { position: static; display: block; padding: 10vh var(--gut) 0; }
#story.static .wy { opacity: 1; transform: none; max-width: 900px; padding: 0 0 clamp(44px, 9vh, 90px); }
#story.static .w { opacity: 1; transform: none; }
#story.static .wy .big, #story.static .wy p.hit { opacity: 1; transform: none; font-size: clamp(34px, 4vw, 64px); }
#story.static .ask { position: static; opacity: 1; transform: none; pointer-events: auto; max-width: 640px; margin: 0 var(--gut) 12vh; }


@keyframes noteIn { from { opacity: 0; transform: translateY(-16px) scale(0.96); } }


[data-progress] { position: relative; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }

/* Colour changes arrive as an inset panel that opens to full bleed; the gutters are the previous section's colour. */
.seam-in { position: relative; --seam-from: var(--paper); }
.seam-in.paper { --seam-from: var(--ink); }
.seam { position: absolute; top: 0; left: 0; right: 0; height: 100vh; overflow: hidden; pointer-events: none; z-index: 5; }
.seam i { position: absolute; top: 0; bottom: -40px; left: calc((1 - var(--p, 0)) * clamp(6px, 2.8vw, 40px)); right: calc((1 - var(--p, 0)) * clamp(6px, 2.8vw, 40px)); border-radius: calc((1 - var(--p, 0)) * 28px); box-shadow: 0 0 0 100vmax var(--seam-from); }



/* use cases: stacked cards */
.uses { padding: clamp(40px, 7vh, 80px) 0 clamp(72px, 11vh, 120px); }
.uses .h2 { margin: 0 0 clamp(32px, 5vh, 56px); }
/* one list, one sketch: the question in the middle of the screen picks it */
.uses-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.uses-list { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; }
.use { padding: clamp(18px, 2.8vh, 28px) 0; border-top: 1px solid var(--line); opacity: 0.4; transition: opacity 0.4s var(--ease-out); }
.use:last-child { border-bottom: 1px solid var(--line); }
.use.is-on { opacity: 1; }
.use p { font-family: var(--serif); font-weight: 340; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.use h3 { margin: 8px 0 0; font-size: 15px; font-weight: 500; color: var(--fg-dim); }
.uses-stage { grid-column: 2; grid-row: 1; position: sticky; top: calc(50vh - 232px); height: 464px; }
/* each sketch: the options as real things, people reacting, then what wins and why */
.use-viz { position: absolute; inset: 22px 26px 22px; display: flex; flex-direction: column; justify-content: center; gap: 24px; opacity: 0; transition: opacity 0.45s var(--ease-out); }
.use-viz.is-on { opacity: 1; }
.use-viz svg { display: block; width: 100%; height: auto; max-height: 272px; overflow: visible; }
.uv-tile { fill: rgba(236,235,230,0.04); stroke: rgba(236,235,230,0.16); }
.uv-veil { fill: #121317; opacity: calc(var(--e) * 0.55); }
.uv-ring { fill: none; stroke: #46c98b; stroke-width: 2; opacity: var(--e); }
.uv-big { font-family: var(--serif); font-size: 32px; letter-spacing: -0.02em; fill: var(--fg); }
.uv-mid { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; fill: var(--fg); }
.uv-serif { font-family: var(--serif); font-size: 18px; fill: var(--fg); }
.uv-note { font-family: var(--serif); font-size: 15px; fill: #17160f; }
.uv-note.light { fill: var(--fg); }
.uv-cap { font-family: var(--sans); font-size: 12.5px; fill: rgba(236,235,230,0.68); }
.uv-cap.hl { fill: var(--fg); font-weight: 600; }
.uv-pack { font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; fill: #3b2c1a; }
.uv-pack.sm { font-size: 7px; font-weight: 500; letter-spacing: 0.02em; }
.uv-map { fill: rgba(150,172,226,0.42); }
.uv-lens { fill: rgba(236,235,230,0.03); stroke: rgba(236,235,230,0.22); }
.uv-edge { stroke: rgba(236,235,230,0.16); }
.uv-node { fill: rgba(236,235,230,0.18); }
.uv-link { stroke: rgba(236,235,230,0.26); stroke-dasharray: 3 4; opacity: var(--e); }
.uv-p { fill: color-mix(in srgb, #46c98b calc(var(--g) * 100%), rgba(236,235,230,0.55)); transform: translate(calc(var(--tx) * var(--e)), calc(var(--ty) * var(--e))); }
.uv-lit { opacity: var(--e); }
.uv-try { --tc: #7d8b9e; fill: color-mix(in srgb, var(--tc) calc(var(--g) * 100%), #f4975a); }
.uv-try.w { --tc: #46c98b; }
.uv-ripple { fill: none; stroke: #f4975a; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.uv-hot .uv-lit { filter: drop-shadow(0 0 4px rgba(239,91,63,0.7)); }
/* every animated part reads the sketch's scroll progress (--p) through its own window (--a to --b) */
.uv-opt, .uv-ring, .uv-veil, .uv-p, .uv-lit, .uv-link, .uv-verdict, .uv-quote { --k: clamp(0, calc((var(--p, 0) - var(--a, 0)) / (var(--b, 1) - var(--a, 0))), 1); --e: calc(var(--k) * var(--k) * (3 - 2 * var(--k))); }
.uv-p, .uv-try { --g: clamp(0, calc((var(--p, 0) - var(--ga, 2)) / (var(--gb, 3) - var(--ga, 2))), 1); }
.uv-opt { opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 8px)); }
.use-viz.is-on .uv-ripple { animation: uv-ripple 2.6s ease-out 0.2s infinite; }
@keyframes uv-ripple { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.6); opacity: 0; } }
.use-viz.is-on .uv-ripple.wide { animation-name: uv-ripple-wide; }
@keyframes uv-ripple-wide { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.22, 1.6); opacity: 0; } }
.uv-out { flex: none; }
.uv-verdict .uv-s { display: inline-block; }
.uv-halo { paint-order: stroke; stroke: #121317; stroke-width: 4px; stroke-linejoin: round; }
.uv-verdict { display: flex; align-items: baseline; gap: 12px; margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.55vw, 23px); line-height: 1.2; letter-spacing: -0.01em; opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 8px)); }
.uv-verdict i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); transform: translateY(-1px); }
.uv-quote { display: inline-block; margin: 12px 0 0 22px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: rgba(236,235,230,0.05); box-shadow: inset 0 0 0 1px var(--line-2); opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 8px)); }
.uv-quote b { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.25; }
.uv-quote span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--fg-dim); }
@media (prefers-reduced-motion: reduce) { .use-viz .uv-ripple { animation: none !important; } }



/* CTA constellation */
.cta-net { position: absolute; inset: 0; width: 100%; height: 100%; }


/* a touch of the hero's orange, kept small: one line of a heading, one lit panel */
.glow, .hero-title .glow-line > span { color: var(--glow); }
.glow { display: block; }
.uses-stage { padding: 24px; border-radius: 20px; background: radial-gradient(90% 90% at 100% 0, rgba(232,104,44,0.3), transparent 62%), var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }

.limits { padding: clamp(110px, 18vh, 190px) 0 clamp(90px, 14vh, 150px); }
.limits .h2 { max-width: none; margin-bottom: clamp(32px, 6vh, 60px); }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.ledger h3 { margin: 0 0 14px; font-size: 15px; font-weight: 500; color: var(--pink-dim); }
.limit-list { list-style: none; margin: 0; padding: 0; }
.limit-list li { padding: clamp(14px, 2.2vh, 22px) 0; border-top: 1px solid var(--pline); }
.limit-list li:last-child { border-bottom: 1px solid var(--pline); }
.limit-list b { display: block; font-family: var(--serif); font-weight: 340; font-size: clamp(23px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.015em; }
.limit-list span { display: block; margin-top: 4px; color: var(--pink-dim); text-wrap: pretty; }

/* where it fits: one map of India, and who hears your decision */
#fs-map, .fs-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.fs-fx { pointer-events: none; }
.fs-cities { position: absolute; inset: 0; pointer-events: none; }
.fs-city { position: absolute; transform: translate(-50%, calc(-100% - 16px)); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: #ffd9a8; white-space: nowrap; text-shadow: 0 0 6px #0b1020, 0 0 3px #0b1020, 0 0 1px #0b1020; opacity: 0; transition: opacity 0.4s; }
.fs-city.on { opacity: 1; }
.fs-city.l { transform: translate(calc(-100% - 14px), -50%); }
.fs-city.r { transform: translate(14px, -50%); }
.fitstory .fs-step h3 .nw { display: inline-block; white-space: nowrap; }
.fitstory .sticky { background: radial-gradient(ellipse 62% 74% at 70% 52%, #18223f 0%, #101729 40%, var(--ink) 80%); }
.fitstory .sticky::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 30% 42% at 70% 52%, rgba(244,151,90,0.12), transparent 72%); opacity: 0; transition: opacity 1.4s; }
.fitstory.s3 .sticky::before { opacity: 1; }
.fitstory .fs-step p { color: rgba(236,235,230,0.72); }
.fitstory .fs-step h3 { font-size: clamp(38px, 3.7vw, 64px); }
@media (min-width: 961px) { .fitstory .fs-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.fitstory .fs-steps { min-height: clamp(200px, 32vh, 290px); }
@media (max-width: 960px) {
  .fitstory .fs-steps { min-height: 165px; }
  .fitstory .fs-stage { height: 46vh; }
  .fitstory .fs-ans { height: 64px; margin-top: 8px; }
  .fitstory .fs-cta { margin-top: 14px; }
  .fitstory .fs-voice { top: 26%; }
}
.fs-ans { position: relative; height: 100px; margin-top: 30px; }
.fs-a { position: absolute; left: 0; top: 0; width: max-content; max-width: 100%; margin: 0; padding: 16px 20px 15px; border-radius: 18px 18px 18px 4px; background: rgba(13,18,34,0.9); box-shadow: inset 0 0 0 1px rgba(236,235,230,0.14), 0 26px 50px -22px rgba(0,0,0,0.85); opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.6s var(--ease); }
.fs-a.on { opacity: 1; transform: none; transition-delay: 0.3s; }
.fs-a b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.01em; }
.fs-a span { display: block; margin-top: 6px; font-size: 14px; color: var(--fg-dim); }
.fs-a[data-a="3"] { background: rgba(14,40,31,0.92); box-shadow: inset 0 0 0 1px rgba(70,201,139,0.35), 0 26px 50px -22px rgba(0,0,0,0.85); }
.fs-a[data-a="3"] b::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 12px; border-radius: 50%; background: var(--good); vertical-align: 0.18em; box-shadow: 0 0 14px var(--good); }
.fs-q { position: absolute; left: 50%; top: 46%; width: 300px; padding: 20px 22px; border-radius: 16px; background: var(--fg); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7); transform: translate(-50%, -50%); transition: left 1s var(--ease), top 1s var(--ease), transform 1s var(--ease), opacity 0.6s; z-index: 3; }
.fs-q span { display: block; font-size: 12px; font-weight: 600; color: var(--accent-deep); margin-bottom: 6px; }
.fs-q b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; }
.fitstory:not(.s0) .fs-q { left: 0; top: 0; transform: translate(0, 0) scale(0.8); transform-origin: 0 0; }
.fs-bot { position: absolute; width: 0; height: 0; opacity: 0; transition: opacity 0.5s; }
.fs-bot.on { opacity: 1; }
.fs-bot::after { content: ""; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--fg); }
.fs-bot i { position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(236,235,230,0.6); animation: fs-ring 2s linear infinite; }
.fs-bot i:nth-child(2) { animation-delay: -0.67s; } .fs-bot i:nth-child(3) { animation-delay: -1.33s; }
@keyframes fs-ring { from { transform: scale(0.08); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.fs-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fs-links g { opacity: 0; transition: opacity 0.45s; }
.fs-links g.on { opacity: 0.8; }
.fs-links line { stroke: rgb(240,190,130); stroke-width: 1; }
.fs-links circle { fill: rgb(240,190,130); }
.fs-voice { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); margin: 0; max-width: 250px; padding: 12px 15px; border-radius: 14px; background: rgba(19,20,23,0.92); box-shadow: inset 0 0 0 1px var(--line-2); opacity: 0; transform: translateY(10px); transition: opacity 0.45s, transform 0.6s var(--ease); }
.fs-voice.on { opacity: 1; transform: none; }
.fs-voice b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.2; }
.fs-voice span { display: block; margin-top: 4px; font-size: 13px; color: var(--fg-dim); }

/* where it fits: problem, status quo, sorted */
.fitstory { height: 400vh; }
.fs-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(24px, 4vw, 64px); align-items: center; height: 100%; }
.fs-copy { position: relative; }
.fs-steps { position: relative; min-height: 290px; }
.fs-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(-10px); filter: blur(6px); transition: opacity 0.22s ease-out, transform 0.3s ease-out, filter 0.3s ease-out; }
.fs-step.is-active { opacity: 1; transform: none; filter: none; transition: opacity 0.6s var(--ease) 0.12s, transform 0.7s var(--ease) 0.12s, filter 0.6s var(--ease) 0.12s; }
.fs-step h3 { font-family: var(--serif); font-weight: 330; font-size: clamp(42px, 5vw, 84px); letter-spacing: -0.025em; line-height: 1.04; margin: 10px 0 18px; text-wrap: balance; }
.fs-step p { color: var(--fg-dim); margin: 0; font-size: clamp(17px, 1.3vw, 20px); max-width: 36ch; text-wrap: pretty; }
.fs-cta { margin-top: 28px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.5s var(--ease); pointer-events: none; }
.fitstory.done .fs-cta { opacity: 1; transform: none; pointer-events: auto; }

.fs-stage { position: relative; height: min(82vh, 760px); }



.hold .fa-dots u { background: var(--bad); }

@keyframes popUp { 0% { opacity: 0; transform: translate(-50%, 20px) scale(0.7); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -120px) scale(0.95); } }

.compare { padding: clamp(110px, 18vh, 200px) 0; }

/* faq */
.faq { padding: clamp(110px, 18vh, 200px) 0 clamp(90px, 14vh, 160px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 120px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 25px); letter-spacing: -0.012em; font-weight: 400; transition: color 0.3s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; color: var(--fg-faint); transition: transform 0.5s var(--ease), color 0.3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
@media (hover: hover) { .faq-list summary:hover { color: var(--fg-dim); } }
.faq-more { display: inline-block; margin-top: 4px; font-size: 16px; color: var(--pink); text-decoration: underline; text-decoration-color: var(--accent-deep); text-underline-offset: 5px; }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--fg-dim); margin: 0; padding: 0 0 28px; max-width: 62ch; }
.paper .faq-list details { border-color: var(--pline); }
.paper .faq-list summary::after { color: var(--pink-faint); }
.paper .faq-list details[open] summary::after { color: var(--accent-deep); }
.paper .faq-a p { color: var(--pink-dim); }
@media (hover: hover) { .paper .faq-list summary:hover { color: var(--pink-dim); } }

/* cta */
.cta { position: relative; padding: clamp(140px, 24vh, 260px) 0; overflow: hidden; text-align: center; }
.cta-glow { position: absolute; left: 50%; bottom: -46%; width: 140vw; height: 80vh; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(226,72,43,0.3), rgba(240,166,60,0.06) 42%, transparent 66%); pointer-events: none; }
.cta-glow::after { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(240,166,60,0.8), transparent); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-title { font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 7.6vw, 8rem); line-height: 0.95; letter-spacing: -0.035em; margin: 0 0 32px; max-width: 13ch; text-wrap: balance; }
.cta .body { margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; max-width: 620px; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--fg-dim); box-shadow: inset 0 0 0 1px var(--line-2); transition: color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease); }
.chip:active { transform: scale(0.96); }
.chip.is-on { color: var(--ink); background: var(--fg); box-shadow: none; }
@media (hover: hover) { .chip:not(.is-on):hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg-faint); } }
#cta-topic { display: inline-block; transition: opacity 0.25s, filter 0.25s, transform 0.25s; }
#cta-topic.out { opacity: 0; filter: blur(4px); transform: translateY(4px); }
.telos-def { margin: 56px 0 0; color: var(--fg-faint); font-family: var(--serif); font-size: 18px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 72px 0 32px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: var(--fg-dim); font-size: 15px; transition: color 0.2s; }
@media (hover: hover) { .foot-grid a:hover { color: var(--fg); } }
.foot-brand p { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; color: var(--fg); max-width: 22ch; line-height: 1.2; text-wrap: pretty; }
.foot-grid .foot-mail { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.foot-h { color: var(--fg-faint); margin: 0 0 6px; font-size: 13px; }
.wordmark { position: relative; margin-top: clamp(56px, 10vh, 120px); text-align: center; line-height: 1; user-select: none; }
.wm-lock { display: inline-flex; align-items: center; gap: 0.43em; font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 36; letter-spacing: 0.01em; font-size: clamp(44px, 12vw, 200px); color: var(--fg); }
.wm-mark { width: 2.51em; height: 1.353em; flex: none; overflow: visible; }
.wm-text { position: relative; top: 0.13em; display: inline-block; }
.wm-text .ch { display: inline-block; transform: translateY(135%); transition: transform 1.2s var(--ease-out); transition-delay: calc(0.35s + var(--i) * 50ms); }
.wordmark.in .ch { transform: none; }
.wm-clip { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.26em; margin-bottom: -0.26em; }
/* the orbit draws itself: over the top behind the letters, then back along the front */
.wm-back, .wm-front { stroke-dasharray: 1; stroke-dashoffset: 1; }
.wm-back { transition: stroke-dashoffset 0.9s cubic-bezier(.5,0,.75,.4) 0.25s; }
.wm-front { transition: stroke-dashoffset 1.1s var(--ease-out) 1.15s; }
.wordmark.in .wm-back, .wordmark.in .wm-front { stroke-dashoffset: 0; }
.wm-glyph { opacity: 0; transform: translateY(4px); transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-out); }
.wordmark.in .wm-glyph { opacity: 1; transform: none; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--fg-faint); margin-top: 32px; font-size: 13px; }

/* responsive */
@media (max-width: 560px) { .nav-cta .btn-ghost { display: none; } }
@media (max-width: 960px) {

  .hero-wrap { height: 120vh; }
  .hero-foot { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr; }
  .uses-grid { display: block; }
  .uses-stage { top: 0; z-index: 2; height: 430px; margin: 0 calc(var(--gutter) * -1); background: var(--ink); }
  .use-viz { inset: 70px var(--gutter) 14px; gap: 12px; }
  .use-viz svg { max-height: 200px; }
  .uv-verdict { font-size: 17px; }
  .uv-quote { margin-top: 8px; padding: 8px 12px; }
  .uv-quote b { font-size: 15px; }
  .uv-cap { font-size: 14px; }
  .use p { font-size: 24px; }
  .faq-grid > div:first-child { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .fs-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding-top: 76px; gap: 8px; }
  .fs-copy { order: 2; }
  .fs-steps { min-height: 170px; }
  .fs-step h3 { font-size: 38px; margin: 6px 0 8px; }
  .fs-step p { font-size: 15px; }
  .fs-stage { height: 52vh; }
  .fs-q { width: 230px; padding: 14px 16px; }
  .fs-q b { font-size: 18px; }
  .fs-voice { left: auto; right: 0; top: 18%; bottom: auto; max-width: 210px; padding: 9px 12px; }
  .fs-ans { height: 74px; margin-top: 10px; }
  .fs-a { padding: 12px 15px; }
  .fs-a b { font-size: 20px; }
  .fs-a span { font-size: 12px; }
  .fitstory .sticky { background: radial-gradient(ellipse 90% 50% at 50% 36%, #18223f 0%, #101729 45%, var(--ink) 85%); }
  .fitstory .sticky::before { background: radial-gradient(ellipse 50% 30% at 50% 36%, rgba(244,151,90,0.12), transparent 72%); }
  .fs-voice b { font-size: 16px; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 11.4vw; }
  .hero-title .line > span { text-wrap: balance; }
  .hero-ctas { flex-wrap: nowrap; }
  .hero-ctas .btn { padding: 13px 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .boot { display: none; }
  .marquee-track { animation: none; }
  .fs-bot i { animation: none; opacity: 0.4; }
  .reveal, .hero-title .line > span, .wm-text .ch { transition: none !important; opacity: 1; transform: none; filter: none; }
  .wm-back, .wm-front, .wm-glyph { transition: none !important; stroke-dashoffset: 0; opacity: 1; transform: none; }
}



/* what lands on your desk: an example report, revealed as you scroll to it */
.sv { --k: clamp(0, (var(--p, 0) - var(--a, 0)) / (var(--b, 1) - var(--a, 0)), 1); --e: calc(var(--k) * var(--k) * (3 - 2 * var(--k))); }
.rep-lede { margin: calc(clamp(32px, 6vh, 60px) * -0.6) 0 clamp(28px, 5vh, 48px); max-width: 52ch; color: var(--pink-dim); font-size: clamp(17px, 1.3vw, 20px); }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.rep-doc { background: #fbf9f4; border-radius: 6px; padding: clamp(22px, 2.8vw, 40px); box-shadow: 0 1px 0 rgba(23,22,15,0.05), 0 34px 70px -34px rgba(23,22,15,0.4); color: var(--pink); }
.rep-head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--pline); }
.rep-head span { font-size: 13px; color: var(--pink-dim); }
.rep-head b { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.15; letter-spacing: -0.015em; }
.rep-row { padding: 18px 0; border-bottom: 1px solid var(--pline); opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 12px)); }
.rep-row:last-child { border-bottom: 0; padding-bottom: 0; }
.rep-row h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--pink-dim); }
.rep-call { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.1vw, 31px); letter-spacing: -0.01em; }
.rep-call i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--good-deep); }
.rep-sure { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; font-size: 14px; color: var(--pink-dim); }
.rep-ticks { display: inline-flex; gap: 4px; }
.rep-sure { flex-wrap: wrap; }
.rep-sure-t { white-space: nowrap; }
.rep-ticks i { width: 14px; height: 4px; border-radius: 2px; background: rgba(23,22,15,0.14); }
.rep-ticks i.sv { background: color-mix(in srgb, var(--good-deep) calc(var(--e) * 100%), rgba(23,22,15,0.14)); }
.rep-row blockquote { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; }
.rep-row blockquote:last-child { margin-bottom: 0; }
.rep-row cite { display: block; margin-top: 2px; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--pink-dim); }
.rep-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rep-table th { text-align: left; font-weight: 500; color: var(--pink-dim); padding: 0 12px 8px 0; border-bottom: 1px solid var(--pline); }
.rep-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--pline); vertical-align: top; }
.rep-table td:nth-child(2) { font-weight: 600; }
.rep-table td:last-child { font-family: var(--serif); font-size: 15.5px; }
.rep-more, .rep-unsure { margin: 10px 0 0; font-size: 14px; color: var(--pink-dim); }
.rep-unsure { margin: 0; font-size: 15.5px; color: var(--pink); }
.rep-not h3 { margin: 0 0 14px; font-size: 15px; font-weight: 500; color: var(--pink-dim); }
@media (max-width: 960px) {
  .report-grid { grid-template-columns: 1fr; }
  .rep-table td:first-child { white-space: nowrap; }
  .rep-table td:last-child { font-size: 14px; }
  .rep-ticks i { width: 11px; }
}

/* ===== How a study works (methodology.html, since v=266) =====
   One sticky stage, eight beats, scrubbed by scroll by the study code at the end of main.js (GSAP ScrollTrigger). The stage is a size container,
   so every artifact scales with it (cqw/cqh). JS sets opacity and transforms; CSS only sets the resting look. */
.hw { position: relative; height: 940vh; }
.hw-pin { align-items: stretch; }
.hw-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 72px); align-items: center; height: 100%; padding-top: 64px; }
.hw-copy { position: relative; height: 62vh; }
.hw-beat { position: absolute; left: 0; right: 0; top: 50%; opacity: 0; visibility: hidden; }
.hw-beat.is-on { opacity: 1; visibility: visible; }
.hw-beat h2, .hw-h1 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; letter-spacing: -0.024em; line-height: 1.02; margin: 0 0 22px; text-wrap: balance; }
.hw-h1 { font-size: clamp(42px, 5.1vw, 84px); max-width: 12ch; }
.hw-h1 .glow { margin-top: 0.12em; font-size: 0.56em; line-height: 1.1; letter-spacing: -0.015em; max-width: 19ch; }
.hw-beat h2 { font-size: clamp(34px, 3.5vw, 58px); max-width: 13ch; }
.hw-beat p { margin: 0; color: var(--fg-dim); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; max-width: 38ch; text-wrap: pretty; }

.hw-stage { position: relative; height: min(80vh, 760px); container-type: size; pointer-events: none; }
.hw-dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.hw-stage > :not(canvas) { position: absolute; opacity: 0; visibility: hidden; }

/* 0–1: the brief, then the two ads it carries */
.hw-brief { left: 50%; top: 50%; width: min(88cqw, 540px); padding: clamp(20px, 3.4cqw, 32px); border-radius: 20px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 90px -30px rgba(0,0,0,0.7); }
.hb-k { margin: 0 0 10px; font-size: 13px; color: var(--accent-2); }
.hb-q { margin: 0 0 20px; font-family: var(--serif); font-weight: 340; font-size: clamp(21px, 3.9cqw, 30px); line-height: 1.2; letter-spacing: -0.012em; }
.hw-brief dl { margin: 0; }
.hb-row { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: clamp(14px, 2.3cqw, 16px); }
.hb-row dt { color: var(--fg-faint); }
.hb-row dd { margin: 0; color: var(--fg); }
.hb-row.hl dd { color: var(--accent-2); }
.hw-ads { left: 50%; top: 50%; display: flex; gap: clamp(16px, 5cqw, 44px); }
.hw-ad { margin: 0; width: min(31cqw, 47cqh, 220px); }
.ad-screen { aspect-ratio: 9 / 17; border-radius: 26px; padding: 9% 9% 10%; display: flex; flex-direction: column; box-shadow: 0 0 0 6px #050506, 0 0 0 7.5px rgba(236,235,230,0.16), 0 40px 80px -30px rgba(0,0,0,0.8); }
.hw-ad[data-v="a"] .ad-screen { background: linear-gradient(165deg, #22324c, #101722 70%); color: #eef2f8; }
.hw-ad[data-v="b"] .ad-screen { background: linear-gradient(165deg, #f6b24c, #e8622f 75%); color: #1d1208; }
.ad-brand { display: flex; align-items: center; gap: 7px; font-size: clamp(11px, 1.9cqw, 13px); opacity: 0.8; }
.ad-brand i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: 0.85; }
.ad-h { margin-top: auto; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 5.4cqw, 40px); line-height: 0.98; letter-spacing: -0.02em; }
.ad-p { margin-top: 10px; font-size: clamp(12px, 2cqw, 14px); opacity: 0.8; }
.ad-btn { margin-top: 16%; align-self: flex-start; padding: 8px 14px; border-radius: 999px; font-size: clamp(12px, 2cqw, 14px); font-weight: 600; }
.hw-ad[data-v="a"] .ad-btn { background: #eef2f8; color: #101722; }
.hw-ad[data-v="b"] .ad-btn { background: #1d1208; color: #f6b24c; }
.hw-ad figcaption { margin-top: 18px; text-align: center; font-size: 14px; color: var(--fg-dim); }

/* 2: one person, every trait from a named table */
.hw-rec { inset: 4% 0; }
.rec-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rec-links path { fill: none; stroke: var(--accent-2); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.75; }
.rec-src { position: absolute; left: 0; top: 50%; width: 36%; translate: 0 -50%; margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(10px, 3.2cqh, 26px); }
.rec-src li { --hl: 0; padding: 12px 14px; border-radius: 12px; font-size: clamp(12.5px, 2cqw, 14.5px); line-height: 1.3; color: color-mix(in srgb, var(--fg) calc(var(--hl) * 100%), rgba(236,235,230,0.7)); background: rgba(236,235,230,0.03); box-shadow: inset 0 0 0 1px color-mix(in srgb, rgba(240,166,60,0.7) calc(var(--hl) * 100%), rgba(236,235,230,0.12)); }
.rec-src li span { display: block; margin-top: 2px; color: var(--fg-faint); }
.rec-card { position: absolute; right: 0; top: 50%; width: 46%; padding: clamp(16px, 3cqw, 26px); border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.rec-name { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 340; font-size: clamp(22px, 4cqw, 32px); }
.rec-name::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 5px rgba(240,166,60,0.18); }
.rec-traits { margin: 0; padding: 0; list-style: none; }
.rec-traits li { padding: 9px 0; border-top: 1px solid var(--line); font-size: clamp(13.5px, 2.3cqw, 16px); }
.rec-traits .rec-none { color: var(--fg-faint); display: flex; justify-content: space-between; }
.rec-traits .rec-none span { font-family: var(--serif); font-style: italic; }

/* 3: labels around the census shapes the dots fill (placed by main.js) */
.hw-lab { inset: 0; }
.hw-lab span { position: absolute; white-space: nowrap; font-size: clamp(11.5px, 1.9cqw, 13.5px); color: var(--fg-dim); translate: -50% -50%; }
.hw-lab .lab-h { font-family: var(--serif); font-size: clamp(16px, 2.8cqw, 21px); color: var(--fg); }
.hw-lab .lab-src { color: var(--fg-faint); font-size: clamp(11px, 1.8cqw, 12.5px); }
.hw-lab .lab-her, .hg-her { color: var(--accent-2); font-weight: 600; font-size: 13px; padding: 2px 9px; border-radius: 999px; background: rgba(11,12,14,0.92); box-shadow: inset 0 0 0 1px rgba(240,166,60,0.5); translate: -50% -100%; }
.hw-lab .lab-big { font-family: var(--serif); font-size: clamp(15px, 2.6cqw, 19px); color: var(--fg); white-space: normal; width: 24cqw; text-align: center; line-height: 1.2; translate: -50% 0; }

/* 4: candidates checked; one couldn't exist */
.hw-deck { left: 50%; top: 50%; width: min(64cqw, 320px); height: min(70cqh, 330px); translate: -50% -50%; }
.dk-card { position: absolute; inset: 0; padding: clamp(16px, 3cqw, 24px); border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 70px -30px rgba(0,0,0,0.8); }
.dk-name { margin: 0 0 8px; font-family: var(--serif); font-weight: 340; font-size: clamp(21px, 3.8cqw, 28px); }
.dk-card ul { margin: 0; padding: 0; list-style: none; }
.dk-card li { padding: 9px 0; border-top: 1px solid var(--line); font-size: clamp(13.5px, 2.3cqw, 16px); }
.dk-ok, .dk-no { position: absolute; left: clamp(16px, 3cqw, 24px); bottom: clamp(14px, 2.6cqw, 20px); font-size: 14px; font-weight: 600; opacity: 0; }
.dk-ok { color: var(--good); }
.dk-no { color: var(--bad); }
.dk-clash { position: absolute; left: 6px; width: 10px; height: 10px; overflow: visible; }
.dk-clash path { fill: none; stroke: var(--bad); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* 5–6: who saw what (dots on the canvas), and a few reasons */
.hw-groups { inset: 0; }
.hg-lab { position: absolute; margin: 0; translate: -50% 0; text-align: center; font-size: clamp(12px, 2cqw, 14px); color: var(--fg-dim); white-space: nowrap; }
.hg-lab b { display: block; font-family: var(--serif); font-weight: 340; font-size: clamp(18px, 3.2cqw, 24px); color: var(--fg); }
.hg-her { position: absolute; margin: 0; }
.hw-said { left: 0; right: 0; bottom: 0; height: 38%; display: grid; grid-template-columns: 1fr 1fr; column-gap: 6cqw; align-content: start; }
.hw-said blockquote { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(15px, 2.6cqw, 20px); line-height: 1.25; }
.hw-said blockquote[data-v="a"] { grid-column: 1; }
.hw-said blockquote[data-v="b"] { grid-column: 2; }
.hw-said cite { display: block; margin-top: 3px; font-family: var(--sans); font-style: normal; font-size: clamp(11.5px, 1.9cqw, 13px); color: var(--fg-faint); }
.hw-said blockquote[data-k="1"] cite { color: var(--accent-2); }
.hw-illus { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12px; color: var(--fg-faint); }

/* 7: the same choice, twelve ways */
.hw-ask { left: 50%; top: 50%; width: min(96cqw, 620px); }
.ask-head, .ask-list li { display: grid; grid-template-columns: 1fr 44px 44px; align-items: center; }
.ask-head { padding-bottom: 10px; font-size: 13px; color: var(--fg-faint); }
.ask-head b { text-align: center; font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--fg-dim); }
.ask-head b[data-v="b"] { color: var(--good); }
.ask-list { margin: 0; padding: 0; list-style: none; counter-reset: w; }
.ask-list li { position: relative; padding: clamp(5px, 1.15cqh, 9px) 0; border-top: 1px solid var(--line); font-size: clamp(13px, 2.2cqw, 15.5px); color: var(--fg-dim); }
.ask-list li::before { counter-increment: w; content: counter(w); position: absolute; left: -30px; width: 20px; text-align: right; font-size: 12px; color: var(--fg-faint); }
.ask-list li::after { content: ""; grid-row: 1; width: 10px; height: 10px; border-radius: 50%; justify-self: center; opacity: var(--m, 0); transform: scale(calc(0.4 + var(--m, 0) * 0.6)); }
.ask-list li[data-w="b"]::after { grid-column: 3; background: var(--good); }
.ask-list li[data-w="a"]::after { grid-column: 2; background: var(--said); }
.ask-foot { margin: 16px 0 0; display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: clamp(18px, 3cqw, 23px); opacity: 0; }
.ask-foot i { width: 10px; height: 10px; border-radius: 50%; background: var(--good); }
.ask-foot b { font-weight: 400; color: var(--good); }

/* where am I: you bring / inside / you get back */
.hw-rail { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(18px, 3.5vh, 34px); margin: 0 auto; max-width: calc(1320px - 2 * var(--gutter)); padding: 0; list-style: none; display: flex; gap: 28px; font-size: 13px; color: var(--fg-faint); }
.hw-rail li { position: relative; padding-top: 10px; transition: color 0.4s; }
.hw-rail li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.hw-rail li::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--accent-2); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.hw-rail li.on { color: var(--fg); }

/* until how-it-works code takes over (.live), or with no GSAP or no JS: read straight down */
.hw:not(.live) { height: auto; }
.hw:not(.live) .hw-pin { position: static; height: auto; display: block; padding: 120px 0 60px; }
.hw:not(.live) .hw-grid { display: block; height: auto; }
.hw:not(.live) .hw-copy { height: auto; }
.hw:not(.live) .hw-beat { position: static; translate: none; transform: none; opacity: 1; visibility: visible; margin-bottom: 56px; }
.hw:not(.live) .hw-stage, .hw:not(.live) .hw-rail { display: none; }

@media (max-width: 960px) {
  .hw { height: 980vh; }
  .hw-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 6px; padding-top: 70px; }
  .hw-stage { order: 1; height: 52vh; height: 52svh; }
  .hw-copy { order: 2; height: auto; }
  .hw-beat { top: 0; }
  .hw-beat h2 { font-size: clamp(27px, 7.4vw, 38px); margin-bottom: 10px; max-width: 16ch; }
  .hw-h1 { font-size: clamp(36px, 10vw, 50px); margin-bottom: 12px; }
  .hw-beat p { font-size: 15.5px; }
  .hw-rail { display: none; }
  .rec-src { width: 40%; }
  .rec-src li { padding: 8px 9px; }
  .rec-card { width: 52%; }
  .hw-said { height: 40%; }
  .ask-list li::before { display: none; }
  .hw-said { height: 34%; }
  .hw-said blockquote[data-k="2"], .hw-said blockquote[data-k="3"] { display: none; }
  .ask-head, .ask-list li { grid-template-columns: 1fr 30px 30px; }
  .ask-list li { padding: 4px 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ask-list li > * { min-width: 0; }
  .ask-foot { margin-top: 10px; font-size: 17px; }
  .rec-traits .rec-none { gap: 8px; }
}
