/* =========================================================
   LUMEN showcase · palette from the pitch's design system
   ========================================================= */
:root {
  --ink: #0B1026;          /* Midnight Indigo: background */
  --ink-2: #141a3d;
  --violet: #8B5CF6;       /* Plasma Violet: brand, lightning */
  --violet-hot: #b794ff;
  --white: #F8FAFC;        /* Lightning White: text */
  --gold: #F5B700;         /* Turmeric Gold: warmth, people */
  --green: #22C55E;        /* Neem Green: safe */
  --crimson: #E11D48;      /* Blush Crimson: alert */
  --pink: #ff4fd8;
  --cyan: #38e1ff;
  --muted: #b8bfe0;
  --radius: 20px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font: 400 clamp(1rem, .95rem + .3vw, 1.15rem)/1.6 var(--body);
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-hot); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h2, h3, .wordmark, .mega, .title { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--ink); padding: .6em 1em; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Gradient text helpers ---------- */
.grad-crimson, .grad-gold, .grad-violet, .grad-green {
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.grad-crimson { background-image: linear-gradient(90deg, #ff5c8a, var(--crimson), #ff9a3c, #ff5c8a); }
.grad-gold    { background-image: linear-gradient(90deg, #ffe17a, var(--gold), #ff8a3c, #ffe17a); }
.grad-violet  { background-image: linear-gradient(90deg, var(--violet-hot), var(--pink), var(--cyan), var(--violet-hot)); }
.grad-green   { background-image: linear-gradient(90deg, #8dffb5, var(--green), var(--cyan), #8dffb5); }
@keyframes shimmer { to { background-position: 200% center; } }

/* ---------- Type scale ---------- */
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--gold); margin: 0 0 1rem; }
.eyebrow.violet { color: var(--violet-hot); } .eyebrow.green { color: var(--green); } .eyebrow.dark { color: #5a2d00; }
.mega { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.6rem); font-weight: 700; letter-spacing: -.02em; }
.title { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 700; letter-spacing: -.015em; }
.sub { font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .18em; color: var(--violet-hot); }
.lede { font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); line-height: 1.4; }
.big-text { font-family: var(--display); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); font-weight: 700; line-height: 1.2; }
.muted { color: var(--muted); }
.cite { display: block; font-size: .75rem; color: var(--muted); opacity: .85; margin-top: .4rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.g { color: var(--green); } .r { color: #ff5c8a; }

/* ---------- Buttons ---------- */
.btn {
  font: 700 1rem var(--display); border: 0; cursor: pointer; border-radius: 999px; padding: .95em 1.6em;
  color: var(--white); transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-glow { background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 0 30px rgba(139, 92, 246, .7); }
.btn-glow:hover { box-shadow: 0 0 50px rgba(255, 79, 216, .8); }
.btn-ghost { background: transparent; border: 2px solid rgba(248, 250, 252, .4); }
.btn-small { padding: .6em 1.1em; font-size: .9rem; background: linear-gradient(135deg, var(--crimson), #ff7a3c); }
.btn-green { background: linear-gradient(135deg, #12a150, var(--green)); color: #04210f; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }

/* ---------- Entry gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; text-align: center; padding: 2rem;
  background: radial-gradient(circle at 50% 40%, #2b1866 0%, var(--ink) 60%, #000 100%);
  transition: opacity .9s, visibility .9s;
}
.gate.gone { opacity: 0; visibility: hidden; }
.gate-logo {
  font: 700 clamp(4rem, 2rem + 12vw, 10rem)/1 var(--display); letter-spacing: .12em; margin: 0;
  background: linear-gradient(90deg, #fff, var(--violet-hot), var(--gold), #fff); background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s linear infinite;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, .6));
}
.gate-sub { font-size: 1.25rem; color: var(--muted); }
.gate-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 1rem; }
.gate-hint { font-size: .85rem; color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 1rem;
  padding: .7rem clamp(1rem, 3vw, 2rem); background: linear-gradient(to bottom, rgba(11, 16, 38, .85), transparent);
  backdrop-filter: blur(6px);
}
.brand { font: 700 1.1rem var(--display); letter-spacing: .2em; color: var(--white); text-decoration: none; }
.brand .bolt { color: var(--gold); margin-right: .3em; }
.progress { flex: 1; height: 3px; background: rgba(255, 255, 255, .1); border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--pink), var(--gold)); }
.clock { font: 700 1rem ui-monospace, monospace; color: var(--crimson); text-shadow: 0 0 12px rgba(225, 29, 72, .8); }
.clock b { animation: blink 1s steps(1) infinite; }
.clock.stopped { color: var(--gold); text-shadow: 0 0 12px rgba(245, 183, 0, .7); }
.clock.stopped b { animation: none; }
@keyframes blink { 50% { opacity: 0; } }
.sound-toggle {
  display: flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .08); color: var(--white);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: .4rem .9rem; font: 500 .85rem var(--body); cursor: pointer;
}
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; height: 4px; background: var(--gold); border-radius: 2px; }
.sound-toggle[aria-pressed="true"] .eq i { animation: eq .8s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: .2s; }
.sound-toggle[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { to { height: 14px; } }

/* ---------- Chapter dots ---------- */
.dots { position: fixed; right: 1rem; top: 50%; transform: translateY(-50%); z-index: 30; }
.dots ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.dots a { display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); position: relative; transition: transform .3s, background .3s; }
.dots a.on { background: var(--gold); transform: scale(1.5); box-shadow: 0 0 12px var(--gold); }
.dots a span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .75rem; background: var(--ink-2); padding: .2rem .6rem; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; }

/* ---------- Floating light motes ---------- */
.motes { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }

/* ---------- Chapters ---------- */
.chap { min-height: 100vh; padding: clamp(5rem, 10vh, 8rem) clamp(1.2rem, 5vw, 5rem); position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1280px; margin: 0 auto; width: 100%; }
.split.rev > :first-child { order: 0; }
.card { background: rgba(20, 26, 61, .75); border: 1px solid rgba(139, 92, 246, .35); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1rem; backdrop-filter: blur(6px); }

/* Scroll reveal: content only hides when JS is present */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.delay { transition-delay: 1.4s; }
.js .reveal.delay2 { transition-delay: 2.4s; }

/* ---------- 1 · Hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; background: radial-gradient(ellipse at 30% 50%, #1e1450 0%, #000 70%); }
.hero-plate { position: relative; max-width: 640px; justify-self: center; }
.hero-plate img { border-radius: 50%; animation: float 8s ease-in-out infinite; mask-image: radial-gradient(circle, #000 60%, transparent 71%); -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%); }
.crimson { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 66% 33%, rgba(225, 29, 72, .85), transparent 30%); mix-blend-mode: screen; opacity: 0; transition: opacity 3s 2.6s; }
.hero.in .crimson { opacity: 1; animation: throb 2.4s ease-in-out 5.6s infinite; }
@keyframes throb { 50% { opacity: .45; } }
@keyframes float { 50% { transform: translateY(-14px) rotate(1.5deg); } }
.steam { position: absolute; left: 30%; top: 5%; width: 40%; height: 40%; pointer-events: none; }
.steam i { position: absolute; bottom: 0; width: 40px; height: 120px; border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .35), transparent 70%); filter: blur(10px); animation: steam 5s ease-out infinite; }
.steam i:nth-child(2) { left: 40%; animation-delay: 1.6s; } .steam i:nth-child(3) { left: 75%; animation-delay: 3.2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(40px) scaleX(.6); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-120px) scaleX(1.6); } }
.stat-line { color: var(--muted); border-left: 3px solid var(--crimson); padding-left: 1rem; }
.stat-line strong { color: #ff5c8a; font-size: 1.3em; }
.scroll-cue { position: absolute; bottom: 2rem; left: 50%; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: cue 1.6s infinite; }
@keyframes cue { to { transform: translateY(14px); opacity: 0; } }

/* ---------- 2 · Warning ---------- */
.warning { background: linear-gradient(160deg, #1b1030 0%, var(--ink) 55%); }
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(225, 29, 72, .3); }
.map-wrap img { filter: sepia(.25) saturate(1.3); transform: scale(1.08); animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.18) translate(-2%, 2%); } }
.river-pulse { position: absolute; inset: 0; background: radial-gradient(ellipse at 45% 50%, rgba(255, 60, 140, .35), transparent 55%); animation: throb 3s ease-in-out infinite; mix-blend-mode: screen; }
.pin { position: absolute; font: 700 .75rem var(--display); text-transform: uppercase; letter-spacing: .1em; padding: .3rem .6rem; border-radius: 6px; background: #be123c; box-shadow: 0 0 20px var(--crimson); }
.pin-a { top: 8%; left: 8%; } .pin-b { bottom: 30%; right: 8%; }
.evidence .year { font: 700 .8rem var(--display); color: var(--gold); text-transform: uppercase; letter-spacing: .15em; margin: 0; }
.evidence .big { font: 700 clamp(2rem, 1.5rem + 2vw, 3rem)/1.1 var(--display); margin: .3rem 0; color: #ff5c8a; }
.evidence .big small { font-size: .4em; color: var(--muted); }
.evidence.alert { border-color: var(--crimson); background: linear-gradient(135deg, rgba(225, 29, 72, .25), rgba(20, 26, 61, .7)); }
.evidence.alert .big-text { margin: .3rem 0 0; }

/* ---------- 3 & 13 · Rings ---------- */
.ring { position: relative; margin: 0 auto; width: min(100%, 480px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; overflow: visible; }
.loop-line { fill: none; stroke: var(--violet); stroke-width: 2.5; stroke-dasharray: 6 8; animation: dash 20s linear infinite; filter: drop-shadow(0 0 6px var(--violet)); }
@keyframes dash { to { stroke-dashoffset: -400; } }
.strata { fill: none; stroke: rgba(245, 183, 0, .18); stroke-width: 1; }
.ring-mid { fill: var(--gold); font: 700 22px var(--display); text-anchor: middle; }
.ring-small { fill: var(--muted); font: 12px var(--body); text-anchor: middle; }
.bug { fill: var(--crimson); }
.nodes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.nodes li {
  position: absolute; left: 50%; top: 50%; font: 700 clamp(.7rem, .6rem + .4vw, .9rem) var(--display); white-space: nowrap;
  padding: .35rem .7rem; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--violet);
  /* Rotate to angle --a, push out to the loop radius (155/400 of the ring width), then un-rotate so text stays upright */
  transform: translate(-50%, -50%) rotate(calc(var(--a) * 1deg)) translateY(var(--r)) rotate(calc(var(--a) * -1deg));
}
.ring { container-type: inline-size; --r: -38.75cqw; }
.nodes li.hot { background: #be123c; border-color: #ff8fb0; box-shadow: 0 0 24px var(--crimson); animation: pulse 1.4s ease-in-out infinite; }
.nodes li.gold { background: var(--gold); color: var(--ink); border-color: #ffe17a; box-shadow: 0 0 24px var(--gold); }
@keyframes pulse { 50% { transform: translate(-50%, -50%) rotate(calc(var(--a) * 1deg)) translateY(var(--r)) rotate(calc(var(--a) * -1deg)) scale(1.15); } }
.care { background: radial-gradient(ellipse at 20% 50%, rgba(34, 197, 94, .18), transparent 60%), var(--ink); }
.care-line { stroke: var(--green); filter: drop-shadow(0 0 6px var(--green)); }
.care .good { fill: var(--gold); filter: drop-shadow(0 0 8px var(--gold)); }
.care-mid { fill: var(--green); font-size: 28px; }
.care .nodes li { border-color: var(--green); }

/* ---------- 4 · Stakes ---------- */
.stakes { background: linear-gradient(90deg, #0d2340 0%, #2a1240 50%, #3a1a10 100%); }
.stakes-grid { display: grid; grid-template-columns: .7fr 1fr 1.3fr; gap: 1.5rem; align-items: center; max-width: 1400px; margin: 0 auto; }
.aisle {
  height: 100%; min-height: 380px; border-radius: var(--radius); display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(90deg, rgba(160, 210, 255, .18) 0 18px, transparent 18px 36px), linear-gradient(#bfe3ff, #5d8fc4);
  color: #0b2a4a; font: 700 1.2rem/1.5 var(--display); filter: saturate(.6);
}
.cart { border-radius: var(--radius); box-shadow: 0 0 60px rgba(245, 183, 0, .35); height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.5rem 0; }
.stats div { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 1rem; border: 1px solid rgba(255, 255, 255, .12); }
.stats b { display: block; font: 700 clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem)/1.1 var(--display); color: var(--gold); }
.stats div > span { display: block; font-size: .85rem; color: var(--muted); }
.stats .hot { border-color: var(--crimson); background: rgba(225, 29, 72, .15); }
.stats .hot b { color: #ff5c8a; }

/* ---------- 5 · Flip ---------- */
.flip { padding: 0; justify-content: flex-end; background: #070a1c; }
.skyline { position: absolute; inset: 0; }
.skyline img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; filter: brightness(.55) saturate(1.4); }
.skyline canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.flip-copy { position: relative; padding: 0 clamp(1.2rem, 6vw, 6rem) clamp(4rem, 12vh, 8rem); max-width: 1000px; text-shadow: 0 4px 30px #000; }
.stamp { display: inline-block; font: 700 .9rem ui-monospace, monospace; letter-spacing: .3em; color: var(--cyan); border: 2px solid var(--cyan); padding: .4rem .8rem; transform: rotate(-4deg); box-shadow: 0 0 20px rgba(56, 225, 255, .5), inset 0 0 12px rgba(56, 225, 255, .3); margin-bottom: 1.5rem; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .5rem 1rem; border-radius: 999px; background: rgba(139, 92, 246, .3); border: 1px solid var(--violet-hot); font-weight: 600; backdrop-filter: blur(4px); }

/* ---------- 6 · Reveal ---------- */
.reveal-lumen { background: #000; text-align: center; }
.reveal-lumen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.flash { position: absolute; inset: 0; background: #e9ddff; opacity: 0; pointer-events: none; }
.flash.go { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { opacity: 0; } 4% { opacity: .95; } 10% { opacity: .2; } 14% { opacity: .8; } 100% { opacity: 0; } }
.lumen-core { position: relative; max-width: 900px; margin: 0 auto; }
.wordmark { font: 700 clamp(4.5rem, 2rem + 14vw, 13rem)/1 var(--display); letter-spacing: .1em; margin: 0; color: #fff; text-shadow: 0 0 20px var(--violet), 0 0 60px var(--violet), 0 0 120px var(--pink); }
.js .reveal-lumen .wordmark, .js .reveal-lumen .lede, .js .reveal-lumen .orbit, .js .reveal-lumen .tagline { opacity: 0; transition: opacity 1.2s, transform 1.2s; transform: scale(.94); }
.js .reveal-lumen.lit .wordmark { opacity: 1; transform: none; animation: burn 3s ease-out; }
.js .reveal-lumen.lit .lede { opacity: 1; transform: none; transition-delay: 2.6s; }
.js .reveal-lumen.lit .orbit { opacity: 1; transform: none; transition-delay: 3.2s; }
.js .reveal-lumen.lit .tagline { opacity: 1; transform: none; transition-delay: 4s; }
@keyframes burn { 0% { text-shadow: 0 0 80px #fff, 0 0 160px #fff, 0 0 240px var(--violet); color: #fff; } }
.wordmark.small { font-size: clamp(3.5rem, 2rem + 8vw, 8rem); }
.wordmark.tiny { font-size: 2rem; text-shadow: 0 0 16px var(--violet); }
.dict { font-style: italic; color: var(--muted); min-height: 3.2em; font-size: 1.1rem; }
.typed::after { content: "▍"; color: var(--violet-hot); animation: blink 1s steps(1) infinite; }
.orbit { list-style: none; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.organ {
  display: grid; place-items: center; gap: .3rem; width: 120px; height: 120px; border-radius: 50%; text-decoration: none; color: var(--white);
  font: 700 .9rem var(--display); letter-spacing: .15em; background: radial-gradient(circle, rgba(139, 92, 246, .45), rgba(139, 92, 246, .08));
  border: 1px solid var(--violet-hot); box-shadow: 0 0 30px rgba(139, 92, 246, .6); animation: bob 4s ease-in-out infinite; transition: transform .3s, box-shadow .3s;
}
.organ span { font-size: 2rem; }
.orbit li:nth-child(2) .organ { animation-delay: -1s; border-color: var(--green); box-shadow: 0 0 30px rgba(34, 197, 94, .5); }
.orbit li:nth-child(3) .organ { animation-delay: -2s; border-color: var(--gold); box-shadow: 0 0 30px rgba(245, 183, 0, .5); }
.orbit li:nth-child(4) .organ { animation-delay: -3s; border-color: var(--pink); box-shadow: 0 0 30px rgba(255, 79, 216, .5); }
.organ:hover { transform: scale(1.1); }
@keyframes bob { 50% { transform: translateY(-12px); } }
.tagline { font: 700 clamp(1.5rem, 1rem + 2vw, 2.6rem) var(--display); background: linear-gradient(90deg, var(--gold), #ff8a3c, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 7 · SEE ---------- */
.see { background: radial-gradient(ellipse at 0% 30%, rgba(139, 92, 246, .3), transparent 60%), var(--ink); }
.scanner { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(139, 92, 246, .4); }
.laser { position: absolute; left: 0; right: 0; height: 3px; top: 10%; background: linear-gradient(90deg, transparent, var(--violet-hot), #fff, var(--violet-hot), transparent); box-shadow: 0 0 20px 6px rgba(183, 148, 255, .7); animation: sweep 3s ease-in-out infinite alternate; }
@keyframes sweep { to { top: 88%; } }
.readout { position: absolute; right: 1rem; top: 1rem; font: 700 1.1rem ui-monospace, monospace; background: rgba(0, 0, 0, .7); border: 1px solid var(--green); padding: .4rem .8rem; border-radius: 8px; }
.readout .ok { color: var(--green); } .readout .scan { color: var(--gold); }
.chip-big { display: flex; gap: 1rem; align-items: center; background: rgba(255, 255, 255, .05); border-left: 4px solid var(--violet); border-radius: 12px; padding: .8rem 1.2rem; margin: 1.2rem 0; }
.chip-big b { font: 700 clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem) var(--display); color: var(--violet-hot); white-space: nowrap; }
.chip-big > span { font-size: .9rem; color: var(--muted); }
.weather { background: linear-gradient(160deg, #1d1458, #0e2a4d); border-radius: var(--radius); padding: 1.2rem; border: 1px solid rgba(56, 225, 255, .35); }
.wx-head { display: flex; justify-content: space-between; align-items: center; }
.wx-head h3 { font-size: 1.1rem; margin: 0; }
.live { color: var(--crimson); font-size: .8rem; font-weight: 700; animation: blink 1.4s steps(1) infinite; }
.wx-map { position: relative; height: 150px; margin: .8rem 0; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #102a3f, #1a1747); }
.front { position: absolute; border-radius: 50%; filter: blur(22px); animation: drift 10s ease-in-out infinite alternate; }
.f1 { width: 160px; height: 110px; left: 55%; top: 5%; background: rgba(225, 29, 72, .75); }
.f2 { width: 180px; height: 120px; left: 0; top: 40%; background: rgba(34, 197, 94, .6); animation-delay: -4s; }
.f3 { width: 120px; height: 90px; left: 35%; top: 30%; background: rgba(245, 183, 0, .55); animation-delay: -7s; }
@keyframes drift { to { transform: translate(-30px, 20px) scale(1.2); } }
.wx-pin { position: absolute; font: 700 .72rem var(--body); padding: .25rem .5rem; border-radius: 6px; background: rgba(0, 0, 0, .65); }
.wx-pin.high { color: #ff8fb0; } .wx-pin.low { color: #8dffb5; }
.wx-q { margin: .2rem 0 .5rem; font-size: .9rem; color: var(--muted); }
.langs { display: flex; flex-wrap: wrap; gap: .5rem; }
.langs button { font: 600 1rem "Noto Sans Telugu", "Noto Nastaliq Urdu", "Noto Sans Devanagari", var(--body); background: rgba(255, 255, 255, .1); color: var(--white); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: .35rem 1rem; cursor: pointer; transition: background .2s; }
.langs button:hover, .langs button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet-hot); }
.wx-text { font-size: .95rem; margin: .8rem 0 0; min-height: 3em; }

/* ---------- 8 · SPEAK ---------- */
.speak { background: radial-gradient(ellipse at 100% 50%, rgba(225, 29, 72, .22), transparent 55%), radial-gradient(ellipse at 0% 80%, rgba(34, 197, 94, .2), transparent 50%), var(--ink); }
.photo-tilt img { border-radius: var(--radius); box-shadow: 0 30px 80px rgba(225, 29, 72, .35); transform: perspective(900px) rotateY(-6deg); transition: transform .6s; }
.photo-tilt:hover img { transform: perspective(900px) rotateY(0); }
.tag-demo { display: flex; gap: 1.4rem; align-items: center; background: rgba(255, 255, 255, .05); border-radius: var(--radius); padding: 1.2rem; margin: 1rem 0; }
.leaf { flex: none; width: 90px; height: 120px; border-radius: 0 80% 0 80%; background: linear-gradient(135deg, #c9a66b, #8a6a3a); display: grid; place-items: center; transform: rotate(-20deg); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.leaf span { width: 38px; height: 38px; border-radius: 50%; background: var(--green); box-shadow: 0 0 30px 8px rgba(34, 197, 94, .8); transition: background 1.5s, box-shadow 1.5s; }
.leaf[data-state="red"] span { background: var(--crimson); box-shadow: 0 0 30px 8px rgba(225, 29, 72, .9); }
.leaf[data-state="wash"] span { background: var(--violet-hot); box-shadow: 0 0 40px 14px rgba(183, 148, 255, .95); animation: throb .3s infinite; }
.tag-state { font-weight: 600; margin: 0 0 .7rem; }
.tag-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.banner { text-align: center; font: 700 clamp(2rem, 1rem + 4vw, 4.5rem) var(--display); margin: 3rem 0 0; }
.banner .g { text-shadow: 0 0 30px rgba(34, 197, 94, .7); } .banner .r { color: #ff5c8a; text-shadow: 0 0 30px rgba(225, 29, 72, .7); }

/* ---------- 9 · STRIKE ---------- */
.strike { background: radial-gradient(ellipse at 25% 40%, rgba(139, 92, 246, .45), transparent 60%), linear-gradient(180deg, #120a35, var(--ink)); }
.kiosk { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 100px rgba(139, 92, 246, .55); }
.plasma { position: absolute; inset: 0; background: radial-gradient(ellipse at 52% 42%, rgba(200, 160, 255, .55), transparent 35%); mix-blend-mode: screen; animation: crackle .18s steps(2) infinite; opacity: .6; }
.kiosk.zap .plasma { opacity: 1; background: radial-gradient(ellipse at 52% 42%, rgba(255, 255, 255, .95), rgba(183, 148, 255, .6) 30%, transparent 60%); }
.kiosk.zap img { animation: shake .4s; }
@keyframes crackle { 50% { opacity: .35; } }
@keyframes shake { 25% { transform: translate(4px, -2px); } 50% { transform: translate(-3px, 3px); } 75% { transform: translate(2px, 1px); } }
.strike-btn { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); white-space: nowrap; }
.strike-btn:hover { transform: translateX(-50%) translateY(-2px); }
.equation { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1.2rem 0; }
.equation li { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: .5rem .8rem; font-weight: 700; display: flex; gap: .4rem; align-items: center; }
.equation li.arrow { background: none; color: var(--gold); font-size: 1.5rem; }
.equation li.pl { background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 0 24px var(--violet); animation: throb 1.5s infinite; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; display: flex; gap: .8rem; align-items: center; margin: .6rem 0; }
.steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--violet); font: 700 1rem var(--display); box-shadow: 0 0 14px var(--violet); }
.quote { margin: 1.4rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--gold); font: 500 1.2rem/1.45 var(--display); color: #ffe7a1; background: rgba(245, 183, 0, .08); border-radius: 0 12px 12px 0; }
.halo { display: flex; gap: 1rem; align-items: center; background: linear-gradient(90deg, rgba(56, 225, 255, .15), transparent); border-radius: 14px; padding: .8rem 1rem; }
.halo p { margin: 0; font-size: .95rem; }
.halo-lamp { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 4px solid var(--cyan); box-shadow: 0 0 30px 10px rgba(56, 225, 255, .5), inset 0 0 20px rgba(56, 225, 255, .6); animation: throb 3s infinite; }

/* ---------- 10 · SHARE (bright turmeric) ---------- */
.share { background: linear-gradient(135deg, #ffd23f 0%, #ffb000 45%, #ff7a3c 100%); color: #1f0f00; }
.share .title { color: #2a0f4a; }
.share .lede em { color: #6b21a8; font-style: normal; font-weight: 700; }
.promises { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.promises li { background: rgba(255, 255, 255, .55); border-radius: 16px; padding: 1rem; font-size: .92rem; box-shadow: 0 8px 24px rgba(120, 50, 0, .18); border-top: 4px solid #6b21a8; }
.promises b { display: block; font-family: var(--display); font-size: 1.05rem; color: #4c1d95; margin-bottom: .2rem; }
.guardian { margin: 0; }
.guardian img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: 0 30px 60px rgba(107, 33, 168, .45); max-height: 80vh; margin: 0 auto; object-fit: cover; }
.guardian figcaption { text-align: center; font-weight: 600; margin-top: .8rem; }

/* ---------- 11 · One day ---------- */
.day { background: #0b1026; transition: background 1.2s; }
.day[data-sky="0"] { background: linear-gradient(180deg, #2a1a5e, #ff8a5c); }
.day[data-sky="1"] { background: linear-gradient(180deg, #3d6fd1, #ffcf6b); }
.day[data-sky="2"] { background: linear-gradient(180deg, #2fa8ff, #b6f0ff); }
.day[data-sky="3"] { background: linear-gradient(180deg, #1b1446, #ff5c8a); }
.day .eyebrow { color: #fff; }
.day .title, .day .mega { text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
/* Solid white with a violet glow stays readable on every sky colour */
.day .mega .grad-gold { background: none; color: #fff; animation: none; text-shadow: 0 0 24px rgba(107, 33, 168, .9), 0 4px 30px rgba(0, 0, 0, .5); }
.day .center.muted { color: #fff; font-weight: 600; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.sky { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, #fff6c4, var(--gold) 60%, transparent 72%); box-shadow: 0 0 120px 40px rgba(245, 183, 0, .55); left: var(--sx, 5%); top: var(--sy, 70%); transition: left 1.2s, top 1.2s; }
.story { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1300px; margin: 2rem auto; position: relative; }
.story::before { content: ""; position: absolute; left: 4%; right: 4%; top: 28px; height: 3px; background: linear-gradient(90deg, var(--violet), var(--pink), var(--gold)); border-radius: 3px; }
.story li { position: relative; background: rgba(11, 16, 38, .72); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 3.4rem 1.2rem 1.2rem; border: 1px solid rgba(255, 255, 255, .2); }
.story time { position: absolute; top: 10px; left: 1.2rem; font: 700 1rem ui-monospace, monospace; background: var(--violet); padding: .3rem .7rem; border-radius: 999px; box-shadow: 0 0 16px var(--violet); }
.story h3 { font-size: 1.25rem; color: var(--gold); }
.story p { font-size: .95rem; margin: 0; }

/* ---------- 12 · Ladder ---------- */
.ladder { background: radial-gradient(ellipse at 50% 0%, rgba(56, 225, 255, .18), transparent 60%), var(--ink); }
.rungs { list-style: none; padding: 0; }
.rungs li { display: grid; grid-template-columns: 5.5rem 1fr; gap: .2rem .8rem; margin-bottom: 1rem; align-items: center; }
.rungs .yr { font: 700 1rem var(--display); color: var(--gold); grid-row: span 2; }
.rungs .nm { font-weight: 600; }
.rungs .st { grid-column: 2; font-size: .75rem; color: var(--muted); text-align: right; margin-top: -.2rem; }
.rungs .bar { grid-column: 2; height: 10px; background: rgba(255, 255, 255, .1); border-radius: 10px; overflow: hidden; }
.rungs .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--green)); border-radius: 10px; transition: width 1.6s cubic-bezier(.2, .7, .2, 1) .3s; }
.rungs li.in .bar i { width: var(--w); }
.road { list-style: none; padding: 0 0 0 2rem; border-left: 3px solid var(--violet); }
.road li { position: relative; margin-bottom: 1.4rem; color: var(--muted); }
.road li::before { content: ""; position: absolute; left: calc(-2rem - 9px); top: .3rem; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.road b { display: block; color: var(--white); font-family: var(--display); }
.scorecard { max-width: 1280px; margin: 2rem auto 1rem; padding: 1rem 1.4rem; border-radius: 14px; background: rgba(139, 92, 246, .15); border: 1px solid rgba(139, 92, 246, .4); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; justify-content: center; }
.scorecard span { text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: var(--violet-hot); font-weight: 700; }
.scorecard .dn { color: var(--green); } .scorecard .up { color: var(--gold); }

/* ---------- 14 · Close ---------- */
.close { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; background: radial-gradient(ellipse at 30% 50%, #3b1d7a 0%, #120a35 50%, #000 100%); }
.close-plate { position: relative; max-width: 600px; justify-self: center; }
.close-plate img { border-radius: 50%; mask-image: radial-gradient(circle, #000 60%, transparent 71%); -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%); animation: float 9s ease-in-out infinite, halo 6s ease-in-out infinite; }
@keyframes halo { 50% { filter: brightness(1.15) saturate(1.2); } }
.close-copy .title { color: var(--violet-hot); }

/* ---------- 15 · Copilot ---------- */
.copilot { min-height: 80vh; background: linear-gradient(135deg, #1a1147, #0b1026 60%); }
.commits { list-style: none; padding: 0; display: flex; justify-content: space-between; max-width: 1000px; margin: 3rem auto; width: 100%; position: relative; flex-wrap: wrap; gap: 1.5rem 0; }
.commits::before { content: ""; position: absolute; left: 5%; right: 5%; top: 1.95rem; height: 3px; background: linear-gradient(90deg, var(--violet), var(--gold)); }
.commits li { position: relative; flex: 1; min-width: 100px; text-align: center; font-weight: 700; padding-top: 3rem; }
.commits li::before { content: ""; position: absolute; left: 50%; top: 1.4rem; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 16px var(--violet); }
.commits li.gold::before { background: var(--gold); box-shadow: 0 0 20px var(--gold); }
.commits code { position: absolute; top: 0; left: 0; right: 0; font-size: .7rem; color: var(--muted); }

/* ---------- Reality check (bright lavender) ---------- */
.reality { background: linear-gradient(160deg, #f3edff 0%, #e4f7ff 100%); color: #1a1240; }
.reality .eyebrow { color: #7c3aed; } .reality .muted { color: #4a4470; } .reality .sub { color: #7c3aed; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1280px; margin: 2rem auto; }
.tier { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 16px 40px rgba(76, 29, 149, .12); border-top: 6px solid; font-size: .95rem; }
.tier h3 { font-size: 1.2rem; }
.t1 { border-color: var(--green); } .t1 h3 { color: #12803c; }
.t2 { border-color: var(--gold); } .t2 h3 { color: #9a6b00; }
.t3 { border-color: var(--crimson); } .t3 h3 { color: #b3123a; }
.limits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1280px; margin: 1rem auto 2rem; }
.limits li { background: #1a1240; color: var(--white); border-radius: 16px; padding: 1rem; font-size: .9rem; }
.limits b { display: block; color: var(--gold); font-family: var(--display); font-size: 1.05rem; }
.reality .grad-violet { background-image: linear-gradient(90deg, #7c3aed, #db2777, #0891b2, #7c3aed); }

/* ---------- Footer ---------- */
.foot { text-align: center; padding: 4rem 1rem; background: #000; color: var(--muted); }
.foot a { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .hero, .close { grid-template-columns: 1fr; }
  .hero-plate, .close-plate { max-width: 380px; }
  .stakes-grid { grid-template-columns: 1fr 1fr; }
  .stakes-copy { grid-column: 1 / -1; }
  .story { grid-template-columns: 1fr 1fr; }
  .story::before { display: none; }
  .tiers { grid-template-columns: 1fr; }
  .limits { grid-template-columns: 1fr 1fr; }
  .dots { display: none; }
  .split.rev > :last-child { order: -1; }
}
@media (max-width: 600px) {
  .topbar .progress { display: none; }
  .topbar { justify-content: space-between; }
  .sound-label { display: none; }
  .stats, .promises, .story, .limits { grid-template-columns: 1fr; }
  .stakes-grid { grid-template-columns: 1fr; }
  .aisle { min-height: 140px; }
  .organ { width: 90px; height: 90px; font-size: .75rem; }
  .nodes li { font-size: .65rem; padding: .25rem .5rem; }
  .commits li { min-width: 33%; }
  .commits::before { display: none; }
}

/* ---------- Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-lumen .wordmark, .js .reveal-lumen .lede, .js .reveal-lumen .orbit, .js .reveal-lumen .tagline { opacity: 1; transform: none; }
  .hero .crimson { opacity: 1; }
  .rungs .bar i { width: var(--w); }
  .laser { top: 50%; }
}
