/* 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%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 450; letter-spacing: -0.01em; font-size: 21px; }
.brand-mark { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--fg-dim); }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
@media (hover: hover) { .nav-links a:hover { color: var(--fg); } .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.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(40px, 6.1vw, 112px); line-height: 1.12; letter-spacing: -0.03em; }

/* 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 - 190px); height: 380px; }
.use-viz { position: absolute; inset: 24px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.45s var(--ease-out); }
.use-viz.is-on { opacity: 1; }
.use-viz svg { width: 100%; height: 100%; overflow: visible; }
.viz-axis { stroke: currentColor; opacity: 0.2; }
.viz-t { fill: currentColor; font-family: var(--sans); font-size: 12px; opacity: 0.8; }
.viz-t.hl { opacity: 1; font-weight: 500; }
.viz-draw { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.use-viz .vd { transition: stroke-dashoffset 1.6s var(--ease-out); }
.use-viz .vf { opacity: 0; transition: opacity 0.6s var(--ease-out); }
.use-viz.in .vf { opacity: 1; }



/* 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); }
.how-open { position: relative; overflow: hidden; }
.how-open::after { content: ""; position: absolute; right: -10vw; top: 6vh; width: 56vw; height: 64vh; pointer-events: none; background: radial-gradient(closest-side, rgba(240,130,60,0.26), rgba(226,72,43,0.08) 56%, transparent); }

/* how it works: one person, followed from public records to a result */
.how-open { padding: clamp(150px, 26vh, 260px) 0 clamp(60px, 10vh, 110px); }
.how-title { font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; font-size: clamp(44px, 7.3vw, 7.6rem); line-height: 0.98; letter-spacing: -0.035em; margin: 0; max-width: 13ch; text-wrap: balance; }
.how-lede { margin: clamp(24px, 4vh, 40px) 0 0; font-size: clamp(18px, 1.5vw, 23px); color: var(--fg-dim); max-width: 44ch; text-wrap: pretty; }
.how { height: 640vh; }
.how .fs-step h3 { font-size: clamp(36px, 3.9vw, 66px); }
.how .fs-steps { min-height: 340px; }
#how-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.how .fs-grid { position: relative; z-index: 2; width: 100%; }
.how-stage { pointer-events: none; }
.how-card { position: absolute; left: 12%; top: 50%; width: min(78%, 460px); margin: 0; padding: 0; list-style: none; transform: translateY(-50%); transform-origin: 0 0; transition: opacity 0.4s, transform 0.7s var(--ease); }
.how:not(.s0) .how-card { opacity: 0; transform: translateY(-46%) scale(0.86); }
.how-card li { padding: 11px 0; border-top: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.how-card li:last-child { border-bottom: 1px solid var(--line); }
.how-card li.on { opacity: 1; transform: none; }
.how-card b { display: block; font-family: var(--serif); font-weight: 340; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.2; letter-spacing: -0.012em; }
.how-card span { display: block; margin-top: 2px; font-size: 13px; color: var(--accent-2); }
.how-py span { position: absolute; white-space: nowrap; font-size: 13px; color: var(--fg-dim); opacity: 0; transition: opacity 0.4s; }
.how-py span[data-k="women"], .how-py span[data-k="men"] { transform: translateX(-50%); }
.how.s1 .how-py span { opacity: 1; transition-delay: 0.45s; }
.how-ver p { position: absolute; margin: 0; width: 42%; text-align: center; transform: translate(-50%, -100%); font-size: 14px; color: var(--fg-dim); opacity: 0; transition: opacity 0.4s; }
.how-ver b { display: block; font-family: var(--serif); font-weight: 340; font-size: clamp(22px, 1.9vw, 28px); color: var(--fg); }
.how.s3 .how-ver p, .how.s4 .how-ver p { opacity: 1; }
.how-end p { position: absolute; margin: 0; white-space: nowrap; opacity: 0; transition: opacity 0.5s; }
.how-end b { font-family: var(--serif); font-weight: 340; font-size: clamp(22px, 1.9vw, 28px); }
.how-end p[data-k="b"] b { color: var(--good); }
.how-end p[data-k="a"] b { color: var(--fg-dim); }
.how.landed .how-end p { opacity: 1; }
.how-voice { position: absolute; margin: 0; white-space: nowrap; 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: translate(-50%, 10px); transition: opacity 0.45s, transform 0.6s var(--ease); }
.how.voice .how-voice { opacity: 1; transform: translate(-50%, 0); }
.how-voice b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.how-voice span { display: block; margin-top: 3px; font-size: 13px; color: var(--accent-2); }
.how-ticks { position: absolute; left: 50%; bottom: 3%; display: flex; align-items: center; gap: 6px; transform: translateX(-50%); opacity: 0; transition: opacity 0.4s; white-space: nowrap; }
.how.s5 .how-ticks { opacity: 1; }
.how-ticks i { width: 16px; height: 4px; border-radius: 2px; background: var(--line-2); transition: background 0.3s; }
.how-ticks i.on { background: var(--good); }
.how-ticks span { margin-left: 8px; font-size: 13px; color: var(--fg-dim); }
.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 { position: absolute; inset: 0; width: 100%; height: 100%; }
.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: 2%; transform: translate(0, 0) scale(0.62); transform-origin: 0 0; }
.fs-out { position: absolute; font-style: normal; font-family: var(--serif); font-size: 20px; padding: 8px 15px; border-radius: 14px 14px 14px 3px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease); white-space: nowrap; }
.fs-out small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 13px; color: var(--fg-dim); }
.fs-out-panel { left: 0; top: 72%; }
.fs-out-bot { left: 68%; top: 62%; }
.fs-bot { position: absolute; width: 0; height: 0; opacity: 0; transition: opacity 0.5s; }
.fitstory.s2 .fs-bot { 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); }
.fitstory.s1 .fs-out-panel, .fitstory.s2 .fs-out-bot { opacity: 1; transform: none; transition-delay: 0.35s; }
.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); }
.fs-verdict { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: clamp(21px, 1.8vw, 27px); letter-spacing: -0.01em; opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.fs-verdict i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--good); }
.fs-verdict.on { opacity: 1; transform: none; }

/* where it fits: problem, status quo, sorted */
.fitstory { height: 350vh; }
.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: 0.8; user-select: none; }
.wm-text { position: relative; z-index: 1; display: inline-block; font-family: var(--sans); font-size: clamp(80px, 21.5vw, 340px); letter-spacing: -0.065em; font-weight: 600; color: var(--fg); padding: 0 0.04em; }
.wm-text .ch { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 50ms); }
.wordmark.in .ch { transform: none; }
.wm-clip { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.04em; }
.wm-horizon { position: absolute; left: 0; right: 0; top: 58%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-2) 50%, transparent); z-index: 2; transform: scaleX(0); transition: transform 1.6s var(--ease-out) 0.4s; }
.wordmark.in .wm-horizon { transform: none; }
.wm-sun { position: absolute; left: 50%; top: 58%; width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(240,166,60,0.22), transparent 62%); z-index: 0; pointer-events: 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: 960px) {
  .nav-links { display: none; }
  .hero-wrap { height: 120vh; }
  .hero-foot { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr; }
  .how-card { left: 0; top: 0; width: 100%; transform: none; }
  .how:not(.s0) .how-card { transform: scale(0.9); }
  .how-voice { left: auto; right: 0; bottom: 0; }
  .how-ticks { gap: 4px; }
  .how-end p { transform: translateX(-100%); }
  .how-ticks i { width: 11px; }
  .how-ticks span { margin-left: 6px; font-size: 12px; }
  .how.voice .how-voice { transform: none; }
  .how .fs-steps { min-height: 200px; }
  .how-card li { padding: 7px 0; }
  .how-card b { font-size: 19px; }
  .how-card span { font-size: 12px; }
  .uses-grid { display: block; }
  .uses-stage { top: 0; z-index: 2; height: 300px; margin: 0 calc(var(--gutter) * -1); background: var(--ink); }
  .use-viz { inset: 64px var(--gutter) 0; }
  .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: auto; bottom: 0; max-width: 210px; padding: 9px 12px; }
  .fs-voice b { font-size: 16px; }
  .fs-out { font-size: 16px; }
  .fs-out small { font-size: 12px; }
  .fs-out-panel { left: 0; top: 72%; }
  .fs-out-bot { left: auto; right: 0; top: 72%; }
}
@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; }
}
