/* ==========================================================================
   Pakistanism — immersive build
   Palette: #81cba5 mint · #23b994 jade · #0a4934 forest · #08293a deep
   ========================================================================== */

@font-face { font-family: "Heavitas"; src: url("../assets/fonts/Heavitas.ttf") format("truetype"); font-display: block; }
@font-face { font-family: "Higuen"; src: url("../assets/fonts/HiguenSerif.otf") format("opentype"); font-display: swap; }

:root {
  --bg: #020b10;
  --deep: #08293a;
  --forest: #0a4934;
  --jade: #23b994;
  --mint: #81cba5;
  --ice: #c9f5e0;
  --text: #eaf7f1;
  --muted: #8fb7a8;
  --faint: #4f7a6c;
  --line: rgba(129, 203, 165, .14);
  --line-2: rgba(129, 203, 165, .3);
  --glass: rgba(6, 30, 34, .55);
  --f-display: "Heavitas", "Arial Black", system-ui, sans-serif;
  --f-serif: "Higuen", Georgia, serif;
  --f-body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: max(24px, calc((100vw - 1400px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--jade); color: var(--bg); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- layers ---------- */
.gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.no-webgl .gl { background: radial-gradient(60% 60% at 60% 40%, rgba(35,185,148,.25), transparent 70%), var(--bg); }
.grain { position: fixed; inset: -50%; z-index: 3; pointer-events: none; opacity: .06; animation: grain 1.2s steps(6) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 50%, rgba(0,0,0,.85) 100%); }
main, .footer { position: relative; z-index: 2; }
.overlay-labels { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; gap: 26px; background: var(--bg); padding: 24px; }
.loader__word { display: flex; justify-content: center; font-family: var(--f-display); font-size: clamp(30px, 7vw, 96px); line-height: 1; overflow: hidden; }
.loader__word span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.loader__word span:nth-child(n+9) { color: var(--jade); }
.loader__word span:nth-child(1){animation-delay:.05s}.loader__word span:nth-child(2){animation-delay:.1s}.loader__word span:nth-child(3){animation-delay:.15s}.loader__word span:nth-child(4){animation-delay:.2s}.loader__word span:nth-child(5){animation-delay:.25s}.loader__word span:nth-child(6){animation-delay:.3s}.loader__word span:nth-child(7){animation-delay:.35s}.loader__word span:nth-child(8){animation-delay:.4s}.loader__word span:nth-child(9){animation-delay:.45s}.loader__word span:nth-child(10){animation-delay:.5s}.loader__word span:nth-child(11){animation-delay:.55s}
@keyframes rise { to { transform: none; } }
.loader__meta { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.loader__bar { height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mint), var(--jade)); box-shadow: 0 0 12px var(--jade); transition: width .3s; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; }
.cursor__dot { width: 6px; height: 6px; background: var(--ice); box-shadow: 0 0 10px var(--jade); }
.cursor__ring { width: 38px; height: 38px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor__ring span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .2s; }
.cursor.is-link .cursor__ring { width: 60px; height: 60px; border-color: var(--jade); background: rgba(35,185,148,.08); }
.cursor.is-label .cursor__ring { width: 78px; height: 78px; background: var(--mint); border-color: var(--mint); }
.cursor.is-label .cursor__ring span { opacity: 1; }
.cursor.is-drag .cursor__ring { width: 70px; height: 70px; border-style: dashed; }
@media (hover: none) { .cursor { display: none; } }
@media (hover: hover) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border: 0; border-radius: 999px; cursor: pointer; overflow: hidden; isolation: isolate;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: box-shadow .4s var(--ease), color .4s; }
.btn span { position: relative; z-index: 1; }
.btn--glow { color: #021a13; background: linear-gradient(120deg, var(--ice), var(--mint) 40%, var(--jade)); box-shadow: 0 0 0 1px rgba(201,245,224,.4) inset, 0 10px 40px -10px rgba(35,185,148,.9); }
.btn--glow::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--glow:hover::after { transform: translateX(120%); }
.btn--glow:hover { box-shadow: 0 0 0 1px rgba(201,245,224,.6) inset, 0 14px 60px -10px rgba(35,185,148,1); }
.btn--line { color: var(--text); background: rgba(2,11,16,.35); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); }
.btn--line::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--mint); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.btn--line:hover { color: var(--bg); }
.btn--line:hover::before { transform: scaleY(1); }
.btn--lg { padding: 17px 30px; font-size: 13px; }
.btn--sm { padding: 9px 16px; font-size: 11px; }

/* ---------- nav + chapters ---------- */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 20px var(--pad); transition: transform .6s var(--ease), background .4s; }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: linear-gradient(180deg, rgba(2,11,16,.85), rgba(2,11,16,0)); }
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.nav__brand img { width: 42px; height: 42px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--jade); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.chapters { position: fixed; z-index: 40; right: 26px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.chapters li { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); cursor: pointer; }
.chapters li::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease), background .3s; }
.chapters em { font-style: normal; opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .4s var(--ease); }
.chapters li:hover em, .chapters li.is-active em { opacity: 1; transform: none; }
.chapters li.is-active { color: var(--mint); }
.chapters li.is-active::after { width: 40px; background: var(--jade); box-shadow: 0 0 10px var(--jade); }

/* ---------- shared type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--mint); }
.kicker__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-size: 11px; letter-spacing: 0; }
.h2 { margin: 0 0 24px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 5.4vw, 84px); line-height: .98; letter-spacing: -.005em; }
.h2 em, .hero__tag em { font-style: normal; color: transparent; background: linear-gradient(110deg, var(--ice), var(--jade)); -webkit-background-clip: text; background-clip: text; }
.h2--sm { font-size: clamp(26px, 3.2vw, 46px); margin: 0; }
.lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.line-wrap { display: block; overflow: hidden; padding-bottom: .04em; }
.line-wrap > span { display: block; }

.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 3px rgba(35,185,148,.2), 0 0 12px var(--jade); animation: live 1.8s infinite; vertical-align: 1px; }
@keyframes live { 50% { box-shadow: 0 0 0 7px rgba(35,185,148,0), 0 0 18px var(--jade); } }

/* ---------- chapters (sections) ---------- */
.chapter { position: relative; padding: 0 var(--pad); }

/* hero */
.hero { min-height: 100svh; display: grid; align-items: end; padding-bottom: 12vh; }
.hud { position: absolute; top: 96px; display: grid; gap: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hud--tl { left: var(--pad); } .hud--tr { right: var(--pad); text-align: right; }
.hud b { color: var(--text); font-weight: 500; }
.hero__center { text-align: center; }
.hero__title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 12.5vw, 220px); line-height: .85; letter-spacing: -.01em; white-space: nowrap;
  background: linear-gradient(180deg, #fff 30%, rgba(201,245,224,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(35,185,148,.35)); }
.hero__title .ch { display: inline-block; background: inherit; -webkit-background-clip: text; background-clip: text; }
.hero__title .ch:nth-child(n+9) { background: linear-gradient(180deg, var(--ice), var(--jade)); -webkit-background-clip: text; background-clip: text; }
.hero__tag { margin: 20px auto 34px; max-width: 640px; font-family: var(--f-serif); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.25; color: var(--ice); }
.hero__cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero .kicker { margin-bottom: 18px; }
.scrollcue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); }
.scrollcue i { width: 1px; height: 46px; background: linear-gradient(var(--jade), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* roots */
.roots { min-height: 130vh; display: flex; align-items: center; }
.roots__copy { max-width: 560px; margin-left: auto; padding: 18vh 0; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 40px; margin: 0; }
.stats dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.stats dd { margin: 6px 0 0; font-family: var(--f-display); font-size: clamp(34px, 3.6vw, 56px); line-height: 1; }

/* marquee */
.marquee { position: relative; z-index: 2; padding: 6vh 0; overflow: hidden; border-block: 1px solid var(--line); background: rgba(2,11,16,.4); backdrop-filter: blur(4px); }
.marquee__track { display: flex; width: max-content; gap: 40px; animation: marquee 40s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 40px; font-family: var(--f-display); font-size: clamp(36px, 6vw, 96px); line-height: 1; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(129,203,165,.4); white-space: nowrap; transition: color .4s; }
.marquee__track span:nth-child(3n+2) { color: var(--mint); -webkit-text-stroke: 0; }
.marquee__track span::after { content: "✦"; font-size: .4em; color: var(--jade); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* belief */
.belief { min-height: 160vh; display: flex; flex-direction: column; justify-content: center; padding-block: 20vh; }
.manifesto { margin: 0; max-width: 1200px; font-family: var(--f-body); font-weight: 600; font-size: clamp(28px, 4.4vw, 68px); line-height: 1.12; letter-spacing: -.015em; }
.manifesto .w { opacity: .12; transition: opacity .2s; }
.manifesto em { font-style: normal; font-family: var(--f-serif); font-weight: 400; color: var(--mint); }

/* network */
.network { min-height: 100vh; padding-top: 110px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.net__top { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.net__top .kicker { margin-bottom: 10px; }
.readout { display: flex; align-items: baseline; gap: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.readout b { font-family: var(--f-display); font-size: 44px; letter-spacing: 0; color: var(--text); font-weight: 400; line-height: 1; }
.console { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 54px; border-radius: 999px; background: rgba(2,14,18,.6); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 60px -30px var(--jade); transition: box-shadow .3s; }
.console:focus-within { box-shadow: inset 0 0 0 1px var(--jade), 0 0 0 6px rgba(35,185,148,.1), 0 0 80px -20px var(--jade); }
.console__icon { position: absolute; left: 20px; width: 20px; height: 20px; color: var(--jade); }
.console__icon svg { width: 100%; height: 100%; fill: currentColor; stroke: none; animation: spinstar 6s linear infinite; }
@keyframes spinstar { to { transform: rotate(360deg); } }
.console input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 18px; padding: 10px 0; }
.console input::placeholder { color: var(--faint); }
.console kbd { font-size: 12px; color: var(--faint); padding: 4px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.console.is-thinking { box-shadow: inset 0 0 0 1px var(--jade), 0 0 90px -10px var(--jade); }
.console.is-thinking .console__icon svg { animation-duration: .8s; }
.prompts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; mask-image: linear-gradient(90deg, #000 90%, transparent); }
.prompts::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; cursor: pointer; padding: 8px 15px; border-radius: 999px; background: rgba(129,203,165,.06); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ice); white-space: nowrap; transition: background .3s, box-shadow .3s, color .3s; }
.chip:hover { background: rgba(129,203,165,.16); }
.chip.is-on { background: var(--mint); color: var(--bg); box-shadow: 0 0 24px -4px var(--jade); }
.net__body { flex: 1; min-height: 520px; display: grid; grid-template-columns: 200px 1fr 320px; gap: 20px; }
.rail { display: flex; flex-direction: column; gap: 6px; align-self: center; }
.rail button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; cursor: pointer; padding: 7px 10px; border-radius: 10px; text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .3s, background .3s; }
.rail button svg { width: 16px; height: 16px; flex: none; color: var(--faint); transition: color .3s; }
.rail button b { margin-left: auto; font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: var(--faint); }
.rail button:hover { color: var(--text); background: rgba(129,203,165,.06); }
.rail button.is-on { color: var(--bg); background: var(--mint); }
.rail button.is-on svg, .rail button.is-on b { color: var(--bg); }
.net__space { position: relative; min-height: 420px; cursor: grab; touch-action: pan-y; }
.net__space:active { cursor: grabbing; }
.insight { align-self: center; padding: 22px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line); }
.insight__tag { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--jade); }
.insight__text { margin: 0 0 14px; font-size: 16px; line-height: 1.5; }
.insight__text b { color: var(--ice); }
.insight__text .n { font-family: var(--f-display); font-size: 30px; color: var(--jade); margin-right: 6px; vertical-align: -4px; }
.insight__next { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.insight__next:empty { display: none; }
.insight__next .chip { font-size: 12px; padding: 7px 12px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); animation: typing .9s infinite; }
.typing i:nth-child(2) { animation-delay: .12s; } .typing i:nth-child(3) { animation-delay: .24s; }
@keyframes typing { 50% { transform: translateY(-5px); opacity: .4; } }
.net__hint { margin: 0; text-align: center; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }

/* 3D overlay labels */
.olabel { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: opacity .35s; opacity: 0; will-change: transform; }
.olabel--city { translate: -50% -130%; padding: 5px 11px; border-radius: 999px; background: rgba(2,11,16,.7); box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.olabel--city b, .olabel--group b { color: var(--jade); font-weight: 500; }
.olabel--group { translate: -50% -50%; padding: 7px 14px; border-radius: 999px; background: rgba(2,11,16,.75); box-shadow: inset 0 0 0 1px var(--jade), 0 0 30px -6px var(--jade); font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.olabel--name { translate: -50% 0; flex-direction: column; gap: 0; font-size: 12px; font-weight: 700; text-shadow: 0 2px 10px #000; }
.olabel--name::after { content: attr(data-ev); font-family: var(--f-mono); font-size: 9px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--jade); }

/* hover preview */
.tip { position: fixed; z-index: 60; left: 0; top: 0; width: 270px; pointer-events: none; padding: 16px; border-radius: 18px; background: rgba(4,22,26,.88); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -20px #000, 0 0 50px -20px var(--jade);
  opacity: 0; scale: .94; transition: opacity .2s, scale .3s var(--ease); }
.tip.is-on { opacity: 1; scale: 1; }
.tip__name { font-family: var(--f-display); font-size: 15px; text-transform: uppercase; line-height: 1.1; }
.tip__role { font-size: 12px; color: var(--muted); margin: 4px 0 10px; line-height: 1.35; }
.tip__row { display: flex; gap: 6px; flex-wrap: wrap; }
.tip__foot { margin-top: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--jade); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--ice); background: rgba(129,203,165,.1); box-shadow: inset 0 0 0 1px var(--line); }
.tag svg { width: 12px; height: 12px; }

/* faces: hologram gallery */
.faces { padding: 0; }
.faces__pin { position: relative; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 100px var(--pad) 90px; overflow: hidden; }
.faces__head, .hinfo { width: min(440px, 100%); }
.faces__head .h2 { margin: 0; }
.h2--md { font-size: clamp(30px, 3.6vw, 56px); }
.hinfo { --hue: var(--mint); min-height: 300px; display: grid; align-items: start; }
.hinfo__layer { grid-area: 1 / 1; }
.hinfo__idx { margin: 0 0 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hinfo__idx b { color: var(--hue); font-weight: 500; }
.hinfo__name { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 52px); line-height: .95; }
.hinfo__name span { color: transparent; background: linear-gradient(110deg, var(--ice), var(--hue)); -webkit-background-clip: text; background-clip: text; }
.hinfo__role { margin: 12px 0 0; font-weight: 700; color: var(--ice); }
.hinfo__intro { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.hinfo__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hinfo__foot { display: flex; align-items: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.hinfo__soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(129,203,165,.08); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; }
.hinfo__soc svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.hinfo__soc:hover { background: var(--mint); color: var(--bg); }
.hdots { position: absolute; left: var(--pad); bottom: 34px; display: flex; gap: 6px; }
.hdots button { border: 0; background: none; cursor: pointer; padding: 6px 4px; font-family: var(--f-mono); font-size: 10px; color: var(--faint); display: grid; gap: 6px; justify-items: center; }
.hdots button::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: background .3s, width .4s var(--ease); }
.hdots button.is-on { color: var(--mint); }
.hdots button.is-on::after { width: 34px; background: var(--jade); box-shadow: 0 0 10px var(--jade); }
.faces__hint { position: absolute; right: var(--pad); bottom: 40px; margin: 0; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.olabel--holo { translate: -50% 0; flex-direction: column; gap: 2px; text-align: center; }
.olabel--holo b { font-size: 12px; text-shadow: 0 2px 10px #000; }
.olabel--holo span { font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--jade); }

/* future */
.future { min-height: 130vh; display: flex; align-items: center; }
.future__copy { max-width: 620px; padding: 18vh 0; }
.countdown { display: flex; gap: 12px; margin: 0 0 30px; }
.countdown div { min-width: 86px; padding: 14px 12px; border-radius: 16px; text-align: center; background: rgba(2,14,18,.55); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); }
.countdown b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.future__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* footer */
.footer { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 40px var(--pad); border-top: 1px solid var(--line); background: rgba(2,11,16,.75); backdrop-filter: blur(10px); }
.footer__name { margin: 0; font-family: var(--f-display); font-size: 20px; text-transform: uppercase; }
.footer__line { margin: 2px 0 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer__small { margin: 0 0 0 auto; font-size: 11px; color: var(--faint); }

/* toast */
.toast { position: fixed; z-index: 95; left: 50%; bottom: 30px; translate: -50% 20px; padding: 12px 20px; border-radius: 999px; background: var(--mint); color: var(--bg); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--ease); }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ==========================================================================
   MEMBER PROFILE (3D)
   ========================================================================== */
.dossier { --hue: var(--mint); --dpad: min(var(--pad), 56px); position: fixed; inset: 0; z-index: 80; display: none; background: var(--bg); }
.dossier.is-open { display: block; }
.dossier__gl { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.dossier.is-dragging .dossier__gl { cursor: grabbing; }
.dossier__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.dossier__lines polyline { fill: none; stroke: var(--hue); stroke-width: 1; opacity: 0; filter: drop-shadow(0 0 4px var(--hue)); }
.dossier__lines circle { fill: var(--ice); opacity: 0; filter: drop-shadow(0 0 6px var(--hue)); }
.dossier__callouts { position: absolute; inset: 0; pointer-events: none; }
.callout { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; width: max-content; max-width: 210px; padding: 10px 14px 10px 10px; opacity: 0;
  border-radius: 14px; background: rgba(2,14,18,.72); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hue) 55%, transparent), 0 0 30px -10px var(--hue); }
.callout i { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--hue) 22%, transparent); color: var(--ice); }
.callout i svg { width: 16px; height: 16px; }
.callout small { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--hue); }
.callout b { display: block; font-size: 14px; line-height: 1.2; }
.callout span { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }

.dossier__ui { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(320px, 31%) 1fr minmax(340px, 31%); grid-template-rows: auto minmax(0, 1fr) auto; pointer-events: none; }
.dossier__ui > * { pointer-events: auto; }
.dossier__ui > .dossier__space { pointer-events: none; }
.dossier__top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--dpad); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.vbtn { width: 46px; height: 46px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(2,11,16,.6); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; }
.vbtn svg { width: 18px; height: 18px; }
.vbtn:hover { background: var(--hue, var(--mint)); color: var(--bg); }
.dossier__brand { display: flex; align-items: center; gap: 10px; }
.dossier__brand em { font-style: normal; color: var(--faint); }
.dossier__brand #dIndex { color: var(--hue); }
.dossier__left, .dossier__right { align-self: center; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.dossier__left::-webkit-scrollbar, .dossier__right::-webkit-scrollbar { display: none; }
.dossier__left { padding: 0 20px 0 var(--dpad); }
.dossier::before, .dossier::after { content: ""; position: absolute; top: 0; bottom: 0; width: 38%; pointer-events: none; z-index: 0; }
.dossier::before { left: 0; background: linear-gradient(90deg, rgba(2,11,16,.92) 40%, transparent); }
.dossier::after { right: 0; background: linear-gradient(270deg, rgba(2,11,16,.92) 40%, transparent); }
.dossier__gl { z-index: 0; } .dossier__lines, .dossier__callouts { z-index: 1; } .dossier__ui { z-index: 2; }
.dossier__right { padding: 0 var(--dpad) 0 20px; }

.d-loc { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--hue); }
.d-loc svg { width: 14px; height: 14px; }
.d-name { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(42px, 4.6vw, 80px); line-height: .9; letter-spacing: -.005em; }
.d-name span { display: block; white-space: pre; }
.d-name span:first-child { color: transparent; background: linear-gradient(110deg, var(--ice), var(--hue)); -webkit-background-clip: text; background-clip: text; }
.d-role { margin: 16px 0 0; font-size: 19px; font-weight: 700; color: var(--ice); line-height: 1.3; }
.d-intro { margin: 14px 0 0; font-size: 17px; line-height: 1.65; color: #b6d3c8; max-width: 440px; }
.d-fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.d-label { margin: 26px 0 10px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.d-social { display: grid; gap: 6px; max-width: 360px; }
.d-social a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: rgba(129,203,165,.06); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; transition: background .3s, color .3s, transform .3s var(--ease); }
.d-social a .fill { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.d-social a em { margin-left: auto; font-style: normal; color: var(--hue); }
.d-social a:hover { background: var(--hue); color: var(--bg); transform: translateX(4px); }
.d-social a:hover em { color: var(--bg); }

.d-tabs { position: relative; display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.d-tabs button { border: 0; background: none; cursor: pointer; padding: 12px 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); transition: color .3s; }
.d-tabs button[aria-selected="true"] { color: var(--text); }
.d-tabs__bar { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--hue); box-shadow: 0 0 12px var(--hue); transition: transform .5s var(--ease), width .5s var(--ease); }
.d-panel { display: none; }
.d-panel.is-on { display: block; }
.d-panel > .d-label:first-child { margin-top: 0; }
.d-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.d-stats div { padding: 16px 12px; border-radius: 16px; background: rgba(2,14,18,.6); box-shadow: inset 0 0 0 1px var(--line); }
.d-stats b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--text); }
.d-stats span { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); line-height: 1.3; }
.d-does { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.d-does li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.d-does li span { font-size: 10px; color: var(--hue); }
.d-why { margin: 0; padding-left: 16px; border-left: 2px solid var(--hue); font-family: var(--f-serif); font-size: 21px; line-height: 1.35; color: var(--ice); }
.d-proj { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.d-proj > span { font-size: 10px; color: var(--hue); padding-top: 4px; }
.d-proj b { font-size: 16px; }
.d-proj p { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.d-press { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--f-serif); font-size: 22px; color: var(--ice); }
.d-trio { display: grid; gap: 8px; }
.d-trio div { padding: 14px 16px; border-radius: 16px; background: rgba(2,14,18,.6); box-shadow: inset 0 0 0 1px var(--line); }
.d-trio small { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--hue); margin-bottom: 4px; }
.d-trio p { margin: 0; font-size: 15px; line-height: 1.45; }
.d-meet { display: grid; gap: 8px; }
.d-meet button { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; cursor: pointer; padding: 12px; border-radius: 16px; text-align: left; background: rgba(2,14,18,.6); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, transform .3s var(--ease); }
.d-meet button:hover { background: color-mix(in srgb, var(--hue) 18%, transparent); transform: translateX(4px); }
.d-meet i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--hue); box-shadow: 0 0 10px var(--hue); }
.d-meet b { display: block; font-size: 14px; }
.d-meet em { display: block; font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.35; }
.d-meet .mono { margin-left: auto; color: var(--hue); }

.dossier__bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--dpad) 22px; }
.dnav { display: flex; align-items: center; gap: 12px; border: 0; background: none; cursor: pointer; padding: 8px; color: var(--text); text-align: left; }
.dnav svg { width: 40px; height: 40px; padding: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; flex: none; }
.dnav:hover svg { background: var(--hue); color: var(--bg); }
.dnav small { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.dnav span { display: block; font-family: var(--f-body); font-size: 14px; font-weight: 700; }
.dnav--next { text-align: right; }
.dossier__hint { margin: 0; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); text-align: center; }
body.dossier-open .nav, body.dossier-open .chapters { display: none; }
body.dossier-open .cursor { z-index: 90; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .net__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .rail { flex-direction: row; overflow-x: auto; scrollbar-width: none; align-self: stretch; }
  .rail button { flex: none; }
  .net__space { min-height: 460px; }
  .insight { align-self: stretch; }
  .chapters { display: none; }
}
@media (max-width: 860px) {
}
@media (max-width: 760px) {
  .nav { padding: 14px 16px; gap: 10px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; padding: 10px 14px; font-size: 10px; }
  .nav__brand span { font-size: 13px; }
  .nav__brand img { width: 34px; height: 34px; }
  .chapter { padding-left: 16px; padding-right: 16px; }
  .hud { top: 74px; font-size: 9px; }
  .hud--tl span:last-child { display: none; }
  .hero { padding-bottom: 14vh; }
  .hero__cta .btn { width: 100%; }
  .roots { align-items: flex-end; min-height: 140vh; }
  .roots__copy { margin: 0; padding: 0 0 12vh; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .belief { min-height: 130vh; }
  .network { padding-top: 90px; }
  .console { padding-left: 46px; }
  .console__icon { left: 16px; }
  .console input { font-size: 16px; }
  .console kbd { display: none; }
  .net__space { min-height: 440px; }
  .faces__pin { justify-content: space-between; gap: 0; padding: 84px 16px 74px; }
  .hinfo { min-height: 0; padding: 18px; border-radius: 20px; background: rgba(2,14,18,.72); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line); }
  .hinfo__intro, .hinfo__tags { display: none; }
  .hinfo__name { font-size: 30px; }
  .hinfo__foot { margin-top: 14px; }
  .hdots { left: 16px; bottom: 24px; }
  .faces__hint { display: none; }
  .future { align-items: flex-end; min-height: 120vh; }
  .future__copy { padding: 0 0 10vh; }
  .countdown div { min-width: 0; flex: 1; padding: 10px 6px; }
  .countdown b { font-size: 24px; }
  .future__cta .btn { width: 100%; }
  .footer { padding: 30px 16px; }
  .footer__small { margin: 0; }
}

@media (max-width: 860px) {
  .dossier__ui { display: flex; flex-direction: column; overflow-y: auto; pointer-events: auto; }
  .dossier__top { position: sticky; top: 0; z-index: 2; padding: 14px 16px; background: linear-gradient(180deg, rgba(2,11,16,.9), transparent); }
  .dossier__brand { font-size: 10px; }
  .dossier__ui > .dossier__space { flex: none; height: 44vh; }
  .dossier__left, .dossier__right { max-height: none; overflow: visible; align-self: stretch; padding: 0 18px; background: rgba(2,11,16,.94); }
  .dossier__left { padding-top: 24px; border-radius: 24px 24px 0 0; box-shadow: 0 -30px 40px rgba(2,11,16,.9); }
  .dossier__right { padding-top: 6px; padding-bottom: 20px; }
  .dossier__bottom { background: rgba(2,11,16,.94); padding: 14px 10px 24px; }
  .dossier__hint { display: none; }
  .dossier__top { order: 0; } .dossier__ui > .dossier__space { order: 1; } .dossier__left { order: 2; } .dossier__right { order: 3; } .dossier__bottom { order: 4; }
  .dossier::before, .dossier::after { display: none; }
  .d-name { font-size: 44px; }
  .d-intro { font-size: 16px; }
  .d-stats b { font-size: 26px; }
  .dnav span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader__word span { transform: none; }
}
