/* ============================================================
   NEON IDOL VR — MFG Games Pitch Page (production build)
   Reimplemented 1:1 from design reference:
   design_handoff_mfg_games/Neon Idol VR - MFG Games.dc.html
   ============================================================ */

@font-face {
  font-family: 'Summer Favourite';
  src: url('assets/fonts/summer-favourite.regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07090f;
  --cyan: #24CFFF;
  --cyan-bright: #B6EFFF;
  --magenta: #FF3F9D;
  --magenta-bright: #FFD0EA;
  --magenta-muted: #FF9FCB;
  --text: #fff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  overflow-x: hidden;
  color: #fff;
  font-family: 'Barlow', system-ui, sans-serif;
  scroll-behavior: auto;
}

body.preloading { overflow: hidden; }

a { color: #9FDCE8; }
a:hover { color: #FF9FCB; }
::selection { background: rgba(255, 63, 157, 0.3); }

video::-webkit-media-controls-picture-in-picture-button { display: none !important; }

button { font: inherit; }

/* ---------- keyframes ---------- */
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes flick { 0%, 76%, 100% { opacity: 1; } 78% { opacity: 0.4; } 80% { opacity: 1; } 88% { opacity: 0.55; } 89% { opacity: 1; } }
@keyframes hsActivateFlicker { 0% { opacity: 0.2; } 8% { opacity: 1; } 16% { opacity: 0.15; } 24% { opacity: 0.9; } 32% { opacity: 0.3; } 42% { opacity: 1; } 55% { opacity: 0.5; } 68% { opacity: 1; } 100% { opacity: 1; } }
@keyframes portCityFogDrift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes neonTubeGlow { 0%, 100% { text-shadow: 0 0 10px rgba(255,63,157,0.6), 0 0 22px rgba(255,63,157,0.45), 0 0 44px rgba(255,22,127,0.3); } 50% { text-shadow: 0 0 16px rgba(255,63,157,0.8), 0 0 32px rgba(255,63,157,0.6), 0 0 60px rgba(255,22,127,0.4); } }
@keyframes letterFlicker1 { 0%, 91%, 100% { opacity: 1; } 92% { opacity: 0.25; } 93% { opacity: 1; } 94.5% { opacity: 0.4; } 95% { opacity: 1; } }
@keyframes neonWeakPulse { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.45; } }
@keyframes infoPowerReveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tlNodeIn { from { opacity: 0; transform: translateY(6px) scale(0.8); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes caseRevealFail {
  0% { opacity: 1; transform: translateX(0); filter: none; }
  8% { opacity: 0.15; transform: translateX(-3px); filter: blur(1px); }
  16% { opacity: 1; transform: translateX(2px); filter: none; }
  26% { opacity: 0.1; transform: translateX(-4px); filter: blur(1.5px); }
  36% { opacity: 0.9; transform: translateX(0); filter: none; }
  48% { opacity: 0.05; transform: translateX(3px); filter: blur(2px); }
  60% { opacity: 0.75; transform: translateX(-1px); filter: none; }
  72% { opacity: 0.02; transform: translateX(0); filter: blur(2px); }
  86% { opacity: 0.3; }
  100% { opacity: 0; }
}
@keyframes caseRevealIgnite {
  0% { opacity: 0; filter: brightness(0.2) blur(2px); transform: scale(0.985); text-shadow: none; }
  10% { opacity: 0.5; filter: brightness(3.2) blur(0.5px); }
  20% { opacity: 0.08; filter: brightness(0.3); }
  34% { opacity: 1; filter: brightness(3.6); transform: scale(1.012); text-shadow: 0 0 22px currentColor, 0 0 46px currentColor; }
  46% { opacity: 0.2; filter: brightness(0.4); }
  60% { opacity: 1; filter: brightness(2.4); transform: scale(1.004); text-shadow: 0 0 14px currentColor; }
  78% { opacity: 0.85; filter: brightness(1.3); transform: scale(1); text-shadow: 0 0 6px currentColor; }
  100% { opacity: 1; filter: brightness(1); transform: scale(1); text-shadow: none; }
}
@keyframes caseRevealPulse { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes redPowerPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

.case-reveal-fail { animation: caseRevealFail 420ms cubic-bezier(0.3,0,0.7,1) forwards; }
.case-reveal-ignite { animation: caseRevealIgnite 750ms cubic-bezier(0.16,1,0.3,1) forwards; }
.case-reveal-pulse { animation: caseRevealPulse 900ms ease-out forwards; }

@media (prefers-reduced-motion: reduce) {
  .case-reveal-fail, .case-reveal-ignite, .case-reveal-pulse { animation: none !important; }
  html, body { scroll-behavior: auto !important; }
  .fog-drift, .cloud-drift { animation: none !important; }
}

/* ---------- chapter reveal-on-scroll ---------- */
[data-ch] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 900ms ease, transform 900ms ease;
  position: relative;
}
[data-ch].in { opacity: 1; transform: translateY(0); }
[data-ch]::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 0; height: 1.5px;
  background: linear-gradient(90deg, #24CFFF, #FF3F9D, transparent);
  box-shadow: 0 0 8px rgba(36,207,255,0.6);
  z-index: 20;
  transition: width 900ms cubic-bezier(0.16,1,0.3,1) 120ms;
  pointer-events: none;
}
[data-ch].in::before { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  [data-ch]::before { transition: none; width: 100%; }
  [data-ch] { transition: opacity 300ms ease; transform: none !important; }
}

@media (max-width: 900px) {
  html, body { scroll-snap-type: y proximity; }
  [data-ch] { scroll-snap-align: start; }
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 99999; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity 900ms ease;
}
.preloader[hidden] { display: none; }
.preloader.fading { opacity: 0; pointer-events: none; }
.preloader-logo { position: relative; overflow: visible; width: 340px; height: 94px; }
.preloader-bar-track {
  width: 220px; height: 2px; background: rgba(255,63,157,0.15); position: relative; overflow: hidden;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  transition: opacity 500ms ease;
}
.preloader-bar-track.docking { opacity: 0; }
.preloader-bar-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: linear-gradient(90deg, #FF3F9D, #24CFFF); box-shadow: 0 0 8px #FF3F9D;
  width: 0%; transition: width 200ms ease;
}

/* ---------- nav ---------- */
.chapter-nav {
  position: fixed; top: 0; right: 0; z-index: 100;
  display: flex; flex-direction: column; gap: 10px; padding: 24px 22px;
}
.chapter-nav button {
  background: none; border: none; padding: 4px; cursor: pointer;
  display: flex; align-items: center; gap: 8px; justify-content: flex-end;
}
.chapter-nav .num {
  font-family: 'Rajdhani', sans-serif; font-size: 9px; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4); opacity: 0; transition: opacity 200ms ease, color 200ms ease;
}
.chapter-nav button.active .num { color: #fff; opacity: 1; }
.nav-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.25); box-shadow: none;
  transition: background 200ms ease, box-shadow 200ms ease;
}
.chapter-nav button.active .nav-dot { background: #FF3F9D; box-shadow: 0 0 8px #FF3F9D; }

.back-link {
  position: fixed; top: 24px; left: 24px; z-index: 100;
  font-family: 'Rajdhani', sans-serif; font-size: 10px; letter-spacing: 2px;
  color: rgba(255,255,255,0.5); text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15); padding: 8px 12px;
  background: rgba(3,7,13,0.4); backdrop-filter: blur(6px);
}
.back-link:hover { color: rgba(255,255,255,0.5); }

/* ---------- shared section bits ---------- */
section[data-ch] { min-height: 100vh; position: relative; overflow: hidden; background: #000; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow .rule { width: 26px; height: 1px; }
.eyebrow span.label { font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 3px; }
[data-huge] { font-family: 'Summer Favourite', sans-serif; margin: 0; }

.bg-video, .bg-fill {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* ================= CHAPTER 0 — HERO ================= */
#ch0 { display: flex; align-items: center; background: #010203; }
.ch0-video-wrap { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; pointer-events: none; }
.ch0-video-inner { position: relative; width: 100%; aspect-ratio: 2048 / 818; overflow: hidden; }
.ch0-video-inner video {
  position: absolute; left: 0; top: 0; width: 100%; height: 134%; object-fit: cover;
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform 220ms ease-out;
}
.ch0-scale-wrap { transform: scale(1.045) translateY(0); transition: transform 1000ms ease-out; }
.ch0-scale-wrap.revealed { transform: scale(1) translateY(var(--scroll-y, 0px)); }
.ch0-gradient-1 { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,3,8,0.94) 0%, rgba(20,7,22,0.68) 26%, rgba(15,8,24,0.3) 46%, transparent 64%); opacity: 0.86; }
.ch0-gradient-2 { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 55% at 8% 45%, rgba(255,63,157,0.07) 0%, transparent 70%); pointer-events: none; }
.ch0-gradient-3 { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,2,6,0.5) 0%, transparent 12%, transparent 82%, rgba(3,2,6,0.65) 100%); pointer-events: none; }
.ch0-glow { position: absolute; right: 20%; bottom: 10%; width: 38%; height: 65%; background: radial-gradient(ellipse at center, rgba(255,50,150,0.22) 0%, rgba(255,50,150,0.1) 45%, transparent 75%); filter: blur(18px); pointer-events: none; z-index: 0; }
.ch0-brick {
  position: absolute; right: 14%; bottom: 0; height: 88%; width: auto; object-fit: contain; object-position: bottom right;
  filter: brightness(0.72) drop-shadow(-20px 0 40px rgba(0,0,0,0.6)); z-index: 1;
  transform: translate(var(--px, 0), var(--py, 0)); transition: transform 220ms ease-out;
}
.ch0-content { position: relative; z-index: 2; max-width: 768px; padding: 80px 6vw 0; display: flex; flex-direction: column; justify-content: flex-start; min-height: calc(100vw * 682 / 2048 - 80px); }
.ch0-item { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 700ms ease; }
.ch0-content.revealed .ch0-item { opacity: 1; transform: translateY(0); }
.ch0-item.d0 { transition-delay: 0ms; }
.ch0-item.d140 { transition-delay: 140ms; }
.ch0-item.d460 { transition-delay: 460ms; }
.ch0-item.d540 { transition-delay: 540ms; }
.ch0-item.d650 { transition-delay: 650ms; }
.ch0-item.d780 { transition-delay: 780ms; }
.ch0-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ch0-kicker span.rule { width: 26px; height: 1px; background: #FF9FCB; box-shadow: 0 0 6px #FF9FCB; }
.ch0-kicker span.label { font-family: 'Rajdhani', sans-serif; font-size: 12px; letter-spacing: 4px; color: #FF9FCB; }
.ch0-subline { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 2px; color: rgba(255,255,255,0.7); margin-bottom: 26px; }
.ch0-headline {
  margin: 0 0 24px; font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: clamp(56px, 7vw, 108px); line-height: 0.98; letter-spacing: 1px; color: #fff;
  text-shadow: 0 0 40px rgba(255,63,157,0.25);
  opacity: 0; transform: translateX(-80px); filter: blur(6px);
  transition: opacity 640ms cubic-bezier(0.16,1,0.3,1) 230ms, transform 640ms cubic-bezier(0.16,1,0.3,1) 230ms, filter 500ms ease 230ms;
}
.ch0-content.revealed .ch0-headline { opacity: 1; transform: translateX(0); filter: blur(0); }
.ch0-headline .neon { font-family: 'Summer Favourite', sans-serif; color: #FF3F9D; animation: neonTubeGlow 3.2s ease-in-out infinite; }
.ch0-headline .flicker-e { animation: letterFlicker1 6.5s linear infinite; }
.ch0-headline .fade-t { opacity: 0.5; }
.ch0-headline .weak-pulse { animation: neonWeakPulse 2.6s ease-in-out infinite; opacity: 0.35; }
.ch0-body { font-family: 'Barlow', sans-serif; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.7); max-width: 440px; margin: 0 0 12px; }
.ch0-tags { font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,0.4); margin-top: 8px; margin-bottom: 36px; }
.cta-btn {
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2px; color: #fff;
  background: rgba(255,63,157,0.14); border: 1.5px solid #FF3F9D; padding: 16px 30px; cursor: pointer;
  box-shadow: 0 0 18px rgba(255,22,127,0.3);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: box-shadow 220ms ease, background 220ms ease;
}
.cta-btn:hover { box-shadow: 0 0 28px rgba(255,22,127,0.55); background: rgba(255,63,157,0.22); }
.ch0-disclaimer { position: absolute; right: 6vw; bottom: 5vh; z-index: 2; text-align: right; font-family: 'Rajdhani', sans-serif; font-size: 9.5px; letter-spacing: 1.5px; color: rgba(255,255,255,0.75); }

/* ================= CHAPTER 1 — WORLD / PORT CITY ================= */
#ch1 { display: flex; align-items: flex-end; }
.ch1-fog-mask { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; opacity: 0.14; mask-image: linear-gradient(to right, black 0%, black 55%, transparent 85%); }
.ch1-fog-track { display: flex; width: max-content; height: 100%; animation: portCityFogDrift 110s linear infinite; }
.ch1-fog-track img { display: block; flex: 0 0 auto; width: auto; height: 100%; object-fit: cover; }
.ch1-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3,4,7,0.85) 0%, transparent 55%); }
.ch1-content { position: relative; z-index: 5; padding: 0 6vw 9vh; max-width: 640px; }
.ch1-content .eyebrow { margin-bottom: 22px; }
.ch1-content .eyebrow .rule { background: #24CFFF; box-shadow: 0 0 6px #24CFFF; }
.ch1-content .eyebrow .label { font-weight: 700; color: #24CFFF; }
.ch1-headline { margin: 0 0 26px; font-size: clamp(42px, 5.6vw, 80px); line-height: 0.98; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.ch1-headline .pink { color: #FF3F9D; }
.ch1-subtext { transition: opacity 400ms ease; }
.ch1-subtext .lines { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 13.5px; letter-spacing: 2.2px; line-height: 2; color: rgba(255,255,255,0.62); margin: 0 0 24px; }
.ch1-infopower {
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: clamp(24px,2.9vw,38px); letter-spacing: 5.5px;
  color: #FF3F9D;
  opacity: 0; height: 0; overflow: hidden;
}
.ch1-infopower.shown { opacity: 1; height: auto; animation: infoPowerReveal 900ms ease both; }
.ch1-hotspots { position: absolute; bottom: 5vh; right: 6vw; z-index: 5; display: flex; gap: 30px; flex-wrap: wrap; justify-content: flex-end; }
.ch1-hotspots button {
  background: none; border: none; cursor: pointer; padding: 6px 0;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: 2.5px;
  color: rgba(255,255,255,0.3); border-bottom: 1.5px solid rgba(255,255,255,0.3);
  transition: color 350ms ease, border-color 350ms ease, text-shadow 500ms ease;
}
.ch1-hotspots button.hovered { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.85); }
.ch1-hotspots button.selected { color: #FF3F9D; border-color: #FF3F9D; text-shadow: 0 0 6px rgba(255,63,157,0.65), 0 0 16px rgba(255,63,157,0.35); }
.ch1-hotspots button.flicker { animation: hsActivateFlicker 480ms steps(10) both; }
.ch1-overlay {
  position: absolute; inset: 0; z-index: 4; background: #000; opacity: 0; pointer-events: none;
  transition: opacity 550ms ease;
}
.ch1-overlay.open { opacity: 1; pointer-events: auto; }
.ch1-overlay video { opacity: 0; transition: opacity 600ms ease; }
.ch1-overlay video.showing { opacity: 1; }
.ch1-overlay-shade-city { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,4,7,0.7) 0%, transparent 55%); }
.ch1-overlay-body { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding: 0 6vw 7vh; }
.ch1-overlay-text { position: absolute; opacity: 0; transition: opacity 500ms ease; max-width: 520px; }
.ch1-overlay-text.showing { position: relative; opacity: 1; }
.ch1-overlay-text .tag { font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 3.5px; color: rgba(36,207,255,0.75); margin-bottom: 14px; }
.ch1-overlay-text .headline { font-family: 'Bebas Neue', sans-serif; font-size: clamp(24px,2.6vw,34px); color: #fff; max-width: 520px; line-height: 1.3; }
.ch1-close {
  position: absolute; top: 5vh; right: 6vw; z-index: 6; opacity: 0; pointer-events: none;
  transition: opacity 550ms ease; font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 2.5px;
  color: rgba(255,255,255,0.5); cursor: pointer; background: none; border: none;
}
.ch1-close.open { opacity: 1; pointer-events: auto; }

/* ================= CHAPTER 2 — GAMEPLAY CORE LOOP ================= */
#ch2 { display: flex; align-items: center; }
#ch2 video { transition: filter 500ms ease, opacity 500ms ease; opacity: 0; }
#ch2 video.showing { opacity: 1; }
#ch2 .ch2-base { filter: brightness(0.7) saturate(1.05) contrast(1.05); opacity: 1; }
#ch2.active-loop .ch2-base { opacity: 0; }
.ch2-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3,4,7,0.6) 0%, rgba(3,4,7,0.2) 34%, transparent 52%); }
.ch2-content { position: relative; z-index: 2; padding: 0 6vw; max-width: 540px; }
.ch2-content .eyebrow { margin-bottom: 14px; }
.ch2-content .eyebrow .rule { background: #FF9FCB; box-shadow: 0 0 6px #FF9FCB; }
.ch2-content .eyebrow .label { color: #FF9FCB; }
.ch2-headline { margin: 0 0 22px; font-size: clamp(44px,5.5vw,80px); line-height: 0.98; color: #fff; }
.ch2-headline .pink { color: #FF3F9D; }
.ch2-lead { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.5; color: #24CFFF; margin: 0 0 20px; text-transform: uppercase; }
.ch2-desc { font-family: 'Barlow', sans-serif; font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,0.5); margin: 0; max-width: 400px; }
.ch2-stages { position: absolute; right: 6vw; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; }
.ch2-stage-row { display: flex; align-items: center; gap: 16px; padding: 9px 10px; cursor: pointer; position: relative; transition: background 250ms ease; border-left: 2px solid rgba(255,255,255,0.15); background: transparent; }
.ch2-stage-row.active { background: rgba(255,63,157,0.06); border-left-color: #FF3F9D; }
.ch2-stage-dotcol { display: flex; flex-direction: column; align-items: center; width: 14px; }
.ch2-stage-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.25); box-shadow: none; transition: all 300ms ease; flex-shrink: 0; }
.ch2-stage-row.active .ch2-stage-dot { background: #FF3F9D; box-shadow: 0 0 10px rgba(255,63,157,0.8); }
.ch2-stage-row.hovered .ch2-stage-dot { background: rgba(255,159,203,0.7); box-shadow: 0 0 7px rgba(255,63,157,0.4); }
.ch2-stage-line { width: 1px; flex: 1; min-height: 20px; background: rgba(255,255,255,0.15); transition: background 300ms ease; }
.ch2-stage-row.passed .ch2-stage-line { background: rgba(255,63,157,0.4); }
.ch2-stage-num { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,0.25); transition: color 300ms ease; }
.ch2-stage-row.active .ch2-stage-num { color: #FF3F9D; }
.ch2-stage-row.hovered .ch2-stage-num { color: rgba(255,159,203,0.6); }
.ch2-stage-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,0.4); transition: all 300ms ease; transform-origin: left center; display: inline-block; }
.ch2-stage-row.active .ch2-stage-title { color: #fff; transform: scale(1.46); }
.ch2-stage-row.hovered .ch2-stage-title { color: rgba(255,255,255,0.75); }
.ch2-stage-desc { font-family: 'Barlow', sans-serif; font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 3px; height: 16px; opacity: 0; transition: opacity 200ms ease; }
.ch2-stage-row.active .ch2-stage-desc { opacity: 1; }
.ch2-signal { position: absolute; left: 6vw; bottom: 6vh; z-index: 2; display: flex; align-items: center; gap: 8px; }
.ch2-signal .dot { width: 5px; height: 5px; border-radius: 50%; background: #FF6BB8; box-shadow: 0 0 8px #FF3F9D; animation: flick 3.2s ease-in-out infinite; }
.ch2-signal span.txt { font-family: 'Rajdhani', sans-serif; font-size: 10px; letter-spacing: 2.5px; color: rgba(255,255,255,0.4); }

/* ================= CHAPTER 3 — HACK THE SYSTEM ================= */
#ch3 { display: flex; align-items: center; }
#ch3 .bg-video { filter: brightness(0.77) saturate(1.05) contrast(1.05); }
.ch3-tint { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 55% 45% at 62% 62%, rgba(120,160,200,0.14) 0%, transparent 70%); mix-blend-mode: screen; pointer-events: none; }
.ch3-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3,4,7,0.4) 0%, rgba(3,4,7,0.14) 32%, transparent 62%), linear-gradient(0deg, rgba(3,4,7,0.14) 0%, transparent 30%); }
.ch3-content { position: relative; z-index: 2; padding: 0 6vw; max-width: 460px; }
.ch3-content .eyebrow { margin-bottom: 22px; }
.ch3-content .eyebrow .rule { background: #FF9FCB; box-shadow: 0 0 6px #FF9FCB; }
.ch3-content .eyebrow .label { font-weight: 700; color: #FF9FCB; }
.ch3-headline { margin: 0 0 28px; font-size: clamp(50px,6.5vw,96px); line-height: 0.95; color: #fff; }
.ch3-headline .pink { color: #FF3F9D; }
.ch3-desc { font-family: 'Barlow', sans-serif; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.75); margin: 0 0 34px; }
.ch3-tagline { font-family: 'Bebas Neue', sans-serif; font-size: 24px; line-height: 1.3; color: #fff; }
.ch3-tagline .cyan { color: #24CFFF; }
.ch3-disclaimer { position: absolute; right: 6vw; bottom: 5vh; z-index: 2; text-align: right; font-family: 'Rajdhani', sans-serif; font-size: 9.5px; letter-spacing: 1.5px; color: rgba(255,255,255,0.75); }

/* ================= CHAPTER 4 — THE CASE ================= */
#ch4 { display: flex; align-items: flex-end; }
#ch4 .bg-video { opacity: 1; transition: opacity 500ms ease; }
#ch4.character-selected .bg-video.base { opacity: 0; }
.ch4-idle-wrap, .ch4-question-wrap { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 500ms ease; }
.ch4-idle-wrap.showing { opacity: 1; }
.ch4-question-wrap.showing { opacity: 1; }
.ch4-idle-wrap video, .ch4-question-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.ch4-question-wrap video { opacity: 0; transition: opacity 450ms ease; }
.ch4-question-wrap video.slot-active { opacity: 1; }
.ch4-question-tint { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(36,207,255,0.1) 0%, transparent 70%); opacity: 0; pointer-events: none; }
.ch4-question-tint.showing { opacity: 1; animation: infoPowerReveal 300ms ease both; }
.ch4-reveal-pulse { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 20% 80%, rgba(255,63,157,0.22) 0%, transparent 65%); z-index: 4; pointer-events: none; opacity: 0; }
.ch4-reveal-pulse.showing { opacity: 1; }
.ch4-content { position: relative; z-index: 5; padding: 0 6vw 9vh; max-width: 720px; }
.ch4-content .eyebrow { margin-bottom: 14px; height: 16px; }
.ch4-content .eyebrow .rule { background: #24CFFF; box-shadow: 0 0 6px #24CFFF; }
.ch4-content .eyebrow .label { color: #24CFFF; white-space: nowrap; }
.ch4-headline { margin: 0 0 12px; font-size: clamp(40px,5.4vw,78px); line-height: 1.02; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,0.6); min-height: calc(2 * clamp(40px,5.4vw,78px) * 1.02); }
.ch4-headline .pink { color: #FF3F9D; }
.ch4-subline { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2px; color: #24CFFF; margin-bottom: 22px; height: 16px; white-space: nowrap; }
.ch4-body { min-height: 150px; }
.ch4-selection-copy { font-family: 'Barlow', sans-serif; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 420px; margin: 0; display: none; }
.ch4-body.mode-selection .ch4-selection-copy { display: block; }
.ch4-interrogation-status { display: none; }
.ch4-body.mode-interrogation .ch4-interrogation-status { display: block; }
.ch4-status-line1 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2px; color: #B6EFFF; margin-bottom: 8px; }
.ch4-status-line3 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: #fff; max-width: 420px; }
.ch4-ministory { font-family: 'Barlow', sans-serif; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 360px; margin-top: 8px; display: none; }
.ch4-body.show-ministory .ch4-ministory { display: block; }
.ch4-question-label { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; color: #24CFFF; margin-top: 6px; display: none; }
.ch4-body.show-question-label .ch4-question-label { display: block; }

.ch4-cards { position: absolute; bottom: 5vh; right: 6vw; z-index: 5; display: none; gap: 16px; }
#ch4:not(.character-selected) .ch4-cards { display: flex; }
.ch4-card {
  position: relative; width: 207px; height: 336px; overflow: hidden; cursor: pointer;
  border: 1.5px solid rgba(36,207,255,0.3); box-shadow: 0 0 10px rgba(36,207,255,0.06);
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}
.ch4-card.hovered { border-color: #24CFFF; box-shadow: 0 0 24px rgba(36,207,255,0.28); transform: translateY(-3px); }
.ch4-card-fallback { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,26,34,0.7) 0%, rgba(10,13,17,0.85) 100%); }
.ch4-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.05); opacity: 0; transition: opacity 400ms ease, filter 300ms ease; }
.ch4-card .idle-video { opacity: 1; }
.ch4-card.hovered .idle-video { opacity: 0; filter: brightness(1.15); }
.ch4-card.hovered .hover-video { opacity: 1; filter: brightness(1.15); }
.ch4-card-text { position: absolute; left: 14px; top: 75%; right: 14px; }
.ch4-card-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1.5px; color: rgba(255,255,255,0.85); margin-bottom: 4px; transition: color 300ms ease, text-shadow 300ms ease; }
.ch4-card.hovered .ch4-card-title { color: #B6EFFF; text-shadow: 0 0 12px rgba(36,207,255,0.7); }
.ch4-card-descriptor { font-family: 'Barlow', sans-serif; font-size: 11.5px; color: rgba(255,255,255,0.55); opacity: 1; transition: opacity 300ms ease; }
.ch4-card.hovered .ch4-card-descriptor { opacity: 0; }
.ch4-card-story { position: absolute; top: 0; left: 0; right: 0; font-family: 'Barlow', sans-serif; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,0.75); opacity: 0; transition: opacity 300ms ease; }
.ch4-card.hovered .ch4-card-story { opacity: 1; }

.ch4-interrogation { position: absolute; bottom: 5vh; right: 6vw; z-index: 5; display: none; flex-direction: column; align-items: flex-end; gap: 14px; }
#ch4.character-selected .ch4-interrogation { display: flex; }
.ch4-interrogation-label { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 2.5px; color: rgba(255,255,255,0.4); }
.ch4-questions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.ch4-question-btn {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  text-align: left; background: rgba(6,9,14,0.55); border: 1.5px solid rgba(255,255,255,0.18); cursor: pointer;
  padding: 16px 18px; width: 158px; height: 96px; box-shadow: none; transform: translateY(0);
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease; color: inherit;
}
.ch4-question-btn:hover { border-color: #24CFFF; box-shadow: 0 0 16px rgba(36,207,255,0.2); transform: translateY(-2px); }
.ch4-question-btn.active { border-color: #FF3F9D; box-shadow: 0 0 20px rgba(255,63,157,0.25); }
.ch4-question-btn .q-label { display: block; flex: 0 0 auto; margin-bottom: 6px; line-height: 16px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; color: rgba(255,255,255,0.85); transition: color 250ms ease; }
.ch4-question-btn:hover .q-label { color: #fff; }
.ch4-question-btn.active .q-label { color: #24CFFF; }
.ch4-question-btn .q-helper { font-family: 'Barlow', sans-serif; font-size: 11.5px; line-height: 1.4; color: rgba(255,255,255,0.45); transition: color 250ms ease; }
.ch4-question-btn:hover .q-helper, .ch4-question-btn.active .q-helper { color: rgba(255,255,255,0.7); }
.ch4-reset {
  background: none; border: none; cursor: pointer; padding: 6px 0;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: 2.5px; color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.45); transition: color 200ms ease, border-color 200ms ease;
}
.ch4-reset:hover { color: #24CFFF; border-color: #24CFFF; }
.ch4-reset:active { color: #B6EFFF; }

/* ================= CHAPTER 5 — PERCEPTION ================= */
#ch5 { display: flex; align-items: flex-end; }
#ch5 .bg-video { filter: brightness(0.85); transition: filter 350ms ease; }
.ch5-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,4,7,0.55) 0%, transparent 50%); z-index: 1; pointer-events: none; }
.ch5-signal { position: absolute; right: 10vw; bottom: 12vh; z-index: 2; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.ch5-signal .dot { width: 5px; height: 5px; border-radius: 50%; background: #FF6BB8; box-shadow: 0 0 8px #FF3F9D; animation: flick 4.1s ease-in-out infinite; }
.ch5-signal span.txt { font-family: 'Rajdhani', sans-serif; font-size: 10px; letter-spacing: 2.5px; color: rgba(255,255,255,0.35); }
.ch5-content { position: relative; z-index: 5; padding: 0 6vw 9vh; max-width: 720px; }
.ch5-content .eyebrow { margin-bottom: 14px; }
.ch5-content .eyebrow .rule { background: #FF3F9D; box-shadow: 0 0 6px #FF3F9D; }
.ch5-content .eyebrow .label { color: #FF3F9D; }
.ch5-headline { margin: 0 0 20px; font-size: clamp(38px,4.6vw,66px); line-height: 1.05; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,0.6); width: 470px; max-width: 100%; height: 140px; }
.ch5-headline .pink { color: #FF3F9D; }
.ch5-desc { font-family: 'Barlow', sans-serif; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 420px; min-height: 52px; }

/* ================= CHAPTER 6 — PROOF / ROADMAP ================= */
#ch6 { display: flex; flex-direction: column; justify-content: center; padding: 3vh 0; }
#ch6 .bg-video { filter: brightness(0.6) saturate(1.05) contrast(1.05); }
.ch6-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3,4,7,0.95) 0%, rgba(3,4,7,0.78) 42%, rgba(3,4,7,0.55) 68%, rgba(3,4,7,0.7) 100%); }
.ch6-top { position: relative; z-index: 2; width: 100%; padding: 0 6vw; display: flex; gap: 5vw; align-items: stretch; flex-wrap: wrap; }
.ch6-intro { flex: 1 1 380px; max-width: 440px; }
.ch6-intro .eyebrow { margin-bottom: 14px; }
.ch6-intro .eyebrow .rule { background: #24CFFF; box-shadow: 0 0 6px #24CFFF; }
.ch6-intro .eyebrow .label { color: #24CFFF; }
.ch6-headline { margin: 0 0 10px; font-size: clamp(32px,3.8vw,50px); line-height: 0.98; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.ch6-headline .pink { color: #FF3F9D; }
.ch6-lead { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 13px; line-height: 1.4; color: #24CFFF; margin: 0 0 18px; text-transform: uppercase; }
.ch6-field-record { display: flex; align-items: center; gap: 8px; }
.ch6-field-record .dot { width: 5px; height: 5px; border-radius: 50%; background: #B6EFFF; box-shadow: 0 0 8px #24CFFF; }
.ch6-field-record span.txt { font-family: 'Rajdhani', sans-serif; font-size: 10.5px; letter-spacing: 2.5px; color: rgba(255,255,255,0.55); }
.ch6-portrait { flex: 0 0 220px; max-width: 220px; align-self: stretch; position: relative; }
.ch6-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); border: 1px solid rgba(36,207,255,0.3); }
.ch6-portrait-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,4,7,0.92) 0%, rgba(3,4,7,0.3) 45%, transparent 70%); clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); pointer-events: none; }
.ch6-portrait-caption { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.ch6-portrait-caption .tag { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 9px; letter-spacing: 2.5px; color: #24CFFF; margin-bottom: 4px; }
.ch6-portrait-caption .name { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: #fff; margin-bottom: 2px; }
.ch6-portrait-caption .role { font-family: 'Rajdhani', sans-serif; font-size: 10px; letter-spacing: 0.5px; color: rgba(255,255,255,0.65); }
.ch6-panel { flex: 1 1 480px; max-width: 600px; background: rgba(5,7,10,0.72); border: 1px solid rgba(36,207,255,0.3); clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); padding: 14px 22px 12px; overflow: hidden; }
.ch6-panel-label { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 2.5px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.ch6-systems-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 14px; font-family: 'Rajdhani', sans-serif; font-size: 12.5px; color: rgba(255,255,255,0.8); padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.ch6-systems-grid .check { color: #24CFFF; }
.ch6-track-label { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2.5px; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.ch6-track-row { display: flex; gap: 16px; align-items: stretch; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.ch6-track-list { display: flex; flex-direction: column; gap: 3px; flex: 0 0 180px; }
.ch6-track-item { text-align: left; background: none; border: none; border-left: 2px solid rgba(255,255,255,0.15); padding: 7px 12px; cursor: pointer; transition: background 200ms ease, border-color 200ms ease; }
.ch6-track-item:hover { background: rgba(255,255,255,0.1); border-color: #24CFFF; }
.ch6-track-item.active { background: rgba(36,207,255,0.15); }
.ch6-track-item .t-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; color: rgba(255,255,255,0.75); }
.ch6-track-item.active .t-title { color: var(--track-accent, #FF3F9D); }
.ch6-track-item .t-sub { font-family: 'Barlow', sans-serif; font-size: 10px; color: rgba(255,255,255,0.55); margin-top: 1px; }
.ch6-track-video-wrap { position: relative; flex: 1; aspect-ratio: 20/9; overflow: hidden; background: #050708; border: 1.5px solid var(--track-accent, #FF3F9D); transition: border-color 300ms ease; align-self: flex-start; }
.ch6-track-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 200ms ease; }
.ch6-track-video-wrap video.active { opacity: 1; }
.ch6-track-video-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,4,7,0.9) 0%, transparent 55%); pointer-events: none; }
.ch6-track-video-caption { position: absolute; left: 12px; bottom: 8px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 1px; color: #fff; pointer-events: none; }
.ch6-stats { display: flex; gap: 16px; margin-top: 10px; justify-content: center; }
.ch6-stat { flex: 1; text-align: center; }
.ch6-stat .num { font-family: 'Bebas Neue', sans-serif; font-size: 22px; line-height: 1; }
.ch6-stat .num.pink { color: #FF3F9D; }
.ch6-stat .num.cyan { color: #24CFFF; }
.ch6-stat .label { font-family: 'Rajdhani', sans-serif; font-size: 8px; letter-spacing: 1px; color: rgba(255,255,255,0.45); margin-top: 4px; }

.ch6-roadmap { position: relative; z-index: 2; width: 100%; padding: 0 6vw; margin-top: 2.5vh; }
.ch6-roadmap-tag { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; justify-content: center; }
.ch6-roadmap-tag .rule { width: 20px; height: 1px; background: #24CFFF; box-shadow: 0 0 6px #24CFFF; }
.ch6-roadmap-tag span.label { font-family: 'Rajdhani', sans-serif; font-size: 9.5px; letter-spacing: 2.5px; color: #24CFFF; }
.ch6-roadmap-grid { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.ch6-roadmap-main { flex: 1 1 500px; min-width: 0; }
.ch6-phase-detail { background: rgba(5,7,10,0.55); border: 1px solid rgba(255,255,255,0.1); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); padding: 8px 18px; margin-bottom: 8px; min-height: 86px; overflow: hidden; }
.ch6-phase-detail .pd-head { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 1.5px; color: var(--phase-accent, #FF3F9D); margin-bottom: 5px; }
.ch6-phase-detail .pd-copy { font-family: 'Barlow', sans-serif; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,0.75); max-width: 600px; margin-bottom: 8px; }
.ch6-phase-detail .pd-details { display: flex; gap: 18px; flex-wrap: wrap; }
.ch6-phase-detail .pd-details span { font-family: 'Rajdhani', sans-serif; font-size: 11px; color: rgba(255,255,255,0.55); }
.ch6-phase-detail .pd-details span .chev { color: var(--phase-accent, #FF3F9D); }
.ch6-phase-detail .pd-funding { margin-top: 8px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 9px; letter-spacing: 1.5px; color: rgba(255,255,255,0.35); display: none; }
.ch6-phase-detail.show-funding .pd-funding { display: block; }

.tl-desktop { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 0 6px; }
.tl-mobile { display: none; flex-direction: column; gap: 0; }
@media (max-width: 900px) { .tl-desktop { display: none !important; } .tl-mobile { display: flex !important; } }
.tl-phase { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; }
.tl-phase-line { position: absolute; top: 8px; left: 50%; width: 100%; height: 1px; background: rgba(255,255,255,0.15); z-index: 0; transition: background 400ms ease; }
.tl-phase-line.completed { background: rgba(36,207,255,0.4); }
.tl-phase button { position: relative; z-index: 1; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; padding: 0; animation: tlNodeIn 450ms ease-out both; color: inherit; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: rgba(5,7,10,0.8); border: 1.5px solid; display: flex; align-items: center; justify-content: center; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 8px; transition: all 300ms ease; }
.tl-phase.active .tl-dot { background: var(--phase-accent); color: #07090d; box-shadow: 0 0 10px color-mix(in srgb, var(--phase-accent) 80%, transparent); }
.tl-label { margin-top: 7px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 9.5px; letter-spacing: 0.8px; color: rgba(255,255,255,0.45); transition: color 300ms ease; white-space: nowrap; }
.tl-phase.active .tl-label { color: #fff; }
.tl-phase:hover .tl-label { color: rgba(255,255,255,0.8); }
.tl-date { margin-top: 1px; font-family: 'Rajdhani', sans-serif; font-size: 7.5px; letter-spacing: 0.6px; color: rgba(255,255,255,0.3); transition: color 300ms ease; white-space: nowrap; }
.tl-phase.active .tl-date { color: var(--phase-accent); }

.tl-mobile-row { display: flex; gap: 12px; }
.tl-mobile-dotcol { display: flex; flex-direction: column; align-items: center; width: 20px; flex-shrink: 0; }
.tl-mobile-dot { width: 16px; height: 16px; border-radius: 50%; background: rgba(5,7,10,0.8); border: 1.5px solid; flex-shrink: 0; }
.tl-mobile-row.active .tl-mobile-dot { background: var(--phase-accent); }
.tl-mobile-line { width: 1px; flex: 1; min-height: 18px; background: rgba(255,255,255,0.15); }
.tl-mobile-row.completed .tl-mobile-line { background: rgba(36,207,255,0.4); }
.tl-mobile-btn { text-align: left; background: none; border: none; cursor: pointer; padding: 0 0 14px; flex: 1; color: inherit; }
.tl-mobile-btn .lbl { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: 0.8px; color: rgba(255,255,255,0.45); }
.tl-mobile-row.active .tl-mobile-btn .lbl { color: #fff; }
.tl-mobile-btn .sub { margin-top: 1px; font-family: 'Rajdhani', sans-serif; font-size: 8.5px; letter-spacing: 0.6px; color: rgba(255,255,255,0.3); }
.tl-mobile-row.active .tl-mobile-btn .sub { color: var(--phase-accent); }

.ch6-side-col { flex: 0 0 280px; max-width: 280px; }
.ch6-side-col.narrow { flex: 0 0 240px; max-width: 240px; }
.ch6-side-heading { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 9.5px; letter-spacing: 2px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.ch6-side-list { display: flex; flex-direction: column; gap: 8px; }
.ch6-side-item { border-left: 2px solid #24CFFF; padding: 6px 12px; }
.ch6-side-item.pink { border-left-color: #FF3F9D; }
.ch6-side-item .si-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: 0.5px; color: #fff; }
.ch6-side-item .si-sub { font-family: 'Barlow', sans-serif; font-size: 10.5px; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* ================= CHAPTER 7 — PARTNERSHIP ================= */
#ch7 { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ch7-videos { position: absolute; inset: 0; }
.ch7-videos video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) saturate(1.05); opacity: 0; transition: opacity 450ms ease; }
.ch7-videos video.active { opacity: 1; }
.ch7-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,14,0.3) 0%, transparent 26%, transparent 68%, rgba(5,7,14,0.45) 100%); }
.ch7-content { position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 2; padding: 0 6vw; max-width: 540px; text-align: left; }
.ch7-kicker { font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 3px; color: #24CFFF; margin-bottom: 14px; }
.ch7-subkicker { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2.5px; color: rgba(255,255,255,0.5); margin-bottom: 22px; }
.ch7-subkicker .pink { color: #FF3F9D; }
.ch7-text { min-height: 388px; opacity: 1; transition: opacity 350ms ease; }
.ch7-text.fading { opacity: 0; }
.ch7-chapter-tag { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 3px; margin-bottom: 14px; transition: color 400ms ease; }
.ch7-headline { margin: 0 0 22px; font-size: clamp(44px,5.5vw,80px); line-height: 0.98; color: #fff; }
.ch7-copy { font-family: 'Barlow', sans-serif; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,0.7); margin: 0 0 20px; max-width: 420px; min-height: calc(1.65em * 2); }
.ch7-bullets { display: flex; flex-direction: column; gap: 6px; }
.ch7-bullets div { font-family: 'Rajdhani', sans-serif; font-size: 12.5px; color: rgba(255,255,255,0.55); }
.ch7-steps { position: absolute; right: 6vw; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; }
.ch7-step-row { display: flex; align-items: center; gap: 16px; padding: 9px 10px; cursor: pointer; position: relative; }
.ch7-step-dotcol { display: flex; flex-direction: column; align-items: center; width: 14px; }
.ch7-step-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: all 300ms ease; flex-shrink: 0; }
.ch7-step-row.active .ch7-step-dot { background: var(--step-accent, #FF3F9D); box-shadow: 0 0 10px color-mix(in srgb, var(--step-accent, #FF3F9D) 80%, transparent); }
.ch7-step-row.hovered .ch7-step-dot { background: color-mix(in srgb, var(--step-accent, #FF3F9D) 70%, transparent); }
.ch7-step-line { width: 1px; flex: 1; min-height: 20px; background: rgba(255,255,255,0.15); transition: background 300ms ease; }
.ch7-step-row.passed .ch7-step-line { background: color-mix(in srgb, var(--step-accent, #FF3F9D) 40%, transparent); }
.ch7-step-num { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,0.25); transition: color 300ms ease; }
.ch7-step-row.active .ch7-step-num { color: var(--step-accent, #FF3F9D); }
.ch7-step-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,0.4); transition: all 300ms ease; transform-origin: left center; display: inline-block; }
.ch7-step-row.active .ch7-step-title { color: #fff; transform: scale(1.23); }
.ch7-step-row.hovered .ch7-step-title { color: rgba(255,255,255,0.75); }
.ch7-disclaimer { position: absolute; right: 6vw; bottom: 5vh; z-index: 2; text-align: right; font-family: 'Rajdhani', sans-serif; font-size: 9.5px; letter-spacing: 1.5px; color: rgba(255,255,255,0.75); }

/* ================= CHAPTER 8 — FINAL ================= */
#ch8 { display: flex; align-items: center; justify-content: center; text-align: center; }
#ch8 .bg-video { filter: brightness(0.5) saturate(1.1); }
.ch8-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5,7,14,0.55) 0%, rgba(5,7,14,0.88) 75%); }
.ch8-content { position: relative; z-index: 2; max-width: 640px; padding: 0 6vw; }
.ch8-kicker { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
.ch8-kicker .rule { width: 26px; height: 1px; background: #24CFFF; box-shadow: 0 0 6px #24CFFF; }
.ch8-kicker span.label { font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 3px; color: #24CFFF; }
.ch8-headline { margin: 0 0 22px; font-size: clamp(42px,6vw,88px); line-height: 0.98; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.ch8-headline .pink { color: #FF3F9D; }
.ch8-desc { font-family: 'Barlow', sans-serif; font-size: 15px; color: rgba(255,255,255,0.65); margin: 0 0 36px; }
.ch8-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.ch8-power { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 3px; color: #24CFFF; }

/* contact modal */
.contact-modal-overlay {
  position: fixed; inset: 0; z-index: 999; background: rgba(3,4,7,0.82); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; cursor: pointer;
}
.contact-modal-overlay.open { display: flex; }
.contact-modal {
  position: relative; background: #07090d; border: 1.5px solid #24CFFF; box-shadow: 0 0 40px rgba(36,207,255,0.25);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  padding: 44px 48px; max-width: 380px; width: 90vw; text-align: left; cursor: default;
}
.contact-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: rgba(255,255,255,0.5); font-size: 16px; cursor: pointer; font-family: 'Rajdhani', sans-serif; transition: color 200ms ease; }
.contact-modal-close:hover { color: #24CFFF; }
.contact-modal-close:active { color: #B6EFFF; }
.contact-modal-label { font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 3px; color: #24CFFF; margin-bottom: 16px; }
.contact-email-btn { display: block; width: 100%; text-align: left; background: none; border: none; padding: 0; cursor: pointer; }
.contact-email-btn .val { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 14px; letter-spacing: 0.5px; transition: color 200ms ease; }
.contact-email-btn:hover .val { color: #24CFFF; }
.contact-phone { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; color: #fff; letter-spacing: 0.5px; }
.contact-email-choice { position: absolute; inset: 0; background: #07090d; display: none; flex-direction: column; justify-content: center; padding: 44px 48px; }
.contact-email-choice.open { display: flex; }
.contact-copy-btn {
  text-align: left; background: none; border: 1.5px solid rgba(36,207,255,0.4); color: #fff; font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 1px; padding: 12px 18px; margin-bottom: 10px; cursor: pointer;
  transition: border-color 200ms ease; height: 44px; box-sizing: border-box; display: flex; align-items: center; white-space: nowrap; overflow: hidden;
}
.contact-copy-btn:hover { border-color: #24CFFF; }
.contact-mail-link {
  text-align: left; background: none; border: 1.5px solid rgba(255,63,157,0.4); color: #fff; font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 1px; padding: 12px 18px; text-decoration: none; transition: border-color 200ms ease; display: block;
}
.contact-mail-link:hover { border-color: #FF3F9D; }
.contact-back-btn { margin-top: 14px; background: none; border: none; color: rgba(255,255,255,0.4); font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 1px; cursor: pointer; align-self: flex-start; padding: 0; transition: color 200ms ease; }
.contact-back-btn:hover { color: #24CFFF; }
.contact-back-btn:active { color: #B6EFFF; }

/* ---------- mobile gate ----------
   Diese Präsentation wird bewusst nicht für Mobilgeräte gebaut (Kundenentscheidung).
   Unter 900px zeigen wir nur Logo + Hinweis; alle anderen direkten body-Kinder
   werden ausgeblendet. script.js überspringt bei dieser Breite außerdem die
   komplette Initialisierung (kein Preloader, keine Videos werden geladen). */
.mobile-gate { display: none; }
@media (max-width: 900px) {
  body > *:not(.mobile-gate) { display: none !important; }
  .mobile-gate {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    position: fixed; inset: 0; z-index: 999999; background: #07090f; padding: 32px; text-align: center;
  }
  .mobile-gate-logo { width: min(78vw, 340px); height: auto; animation: flick 4s ease-in-out infinite; }
  .mobile-gate-text {
    font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.5px;
    line-height: 1.5; color: rgba(255,255,255,0.75); max-width: 320px; margin: 0;
  }
  .mobile-gate-text p { margin: 0 0 8px; }
  .mobile-gate-text p:last-child { margin-bottom: 0; }
  .mobile-gate-eyebrow {
    font-weight: 700; font-size: 12px; letter-spacing: 3px; color: #FF3F9D;
  }
}
