:root {
  --ink: #070610;
  --blue: #104cff;
  --pink: #ff19ac;
  --acid: #f3f12c;
  --violet: #6b1be8;
  --paper: #f7f0d5;
  --trip-progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); color-scheme: dark; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: Arial, Helvetica, sans-serif; cursor: auto; }
a { color: inherit; }
::selection { background: var(--pink); color: var(--ink); }

.acid-sky {
  position: fixed; inset: -8vh -8vw; z-index: -2; pointer-events: none;
  background: url("assets/06-never-ending-jungle.webp") center / cover no-repeat;
  opacity: calc(var(--trip-progress) * .2);
  transform: scale(calc(1.08 - var(--trip-progress) * .08));
  filter: saturate(1.35) contrast(1.1);
}

.action-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; min-height: 68px;
  padding: 10px clamp(14px, 3vw, 42px); display: flex; align-items: center;
  justify-content: space-between; gap: 18px; background: rgba(5, 4, 11, .9);
  backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.brand-stamp { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.brand-stamp span { font: 900 clamp(17px, 2vw, 26px)/1 "Arial Black", Impact, sans-serif; letter-spacing: -.04em; }
.brand-stamp strong { color: var(--acid); font-size: 12px; letter-spacing: .15em; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.actions--compact { justify-content: flex-end; }

.action {
  display: inline-flex; min-height: 42px; align-items: center; justify-content: center;
  padding: 11px 15px 9px; border: 2px solid var(--paper); background: var(--ink);
  color: var(--paper); font: 900 11px/1 Arial, sans-serif; letter-spacing: .09em;
  text-decoration: none; box-shadow: 5px 5px 0 var(--blue);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.action:hover, .action:focus-visible { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--pink); outline: 3px solid var(--acid); outline-offset: 3px; }
.action--buy { background: var(--acid); border-color: var(--acid); color: var(--ink); box-shadow: 5px 5px 0 var(--pink); }

.hero {
  position: relative; min-height: 100svh; overflow: hidden; display: grid; align-items: center;
  padding: 108px clamp(20px, 6vw, 90px) 60px; isolation: isolate; background: #080712;
}
.hero-scene {
  position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(90deg, rgba(4,3,10,.95) 0 35%, rgba(4,3,10,.25) 75%), url("assets/01-strange-sound.webp") center / cover no-repeat;
  filter: saturate(.65) brightness(.55); transform: scale(calc(1.1 - var(--trip-progress) * .04));
}
.hero-glow {
  position: absolute; width: 70vw; height: 46vw; right: -14vw; bottom: -15vw; z-index: -2;
  background: url("assets/acid-jungle-foreground.png") bottom center / contain no-repeat;
  opacity: calc(.15 + var(--trip-progress) * .7); filter: saturate(1.45) drop-shadow(0 0 30px rgba(255,25,172,.45));
}
.hero-copy { position: relative; z-index: 2; width: min(700px, 60vw); opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.hero-copy.is-visible { opacity: 1; transform: none; }
.eyebrow { margin: 0 0 14px; color: var(--acid); font-weight: 900; letter-spacing: .18em; font-size: clamp(11px, 1.2vw, 14px); }
.hero h1, .story-intro h2, .scene-copy h2, .roadmap h2, .pulse h2, .finale h2 {
  margin: 0; font-family: "Arial Black", Impact, sans-serif; font-weight: 900;
  letter-spacing: -.065em; line-height: .84; text-transform: uppercase;
}
.hero h1 { max-width: 850px; font-size: clamp(62px, 13vw, 190px); color: var(--blue); text-shadow: 7px 6px 0 #05040b, 11px 10px 0 var(--pink); }
.hero h1 span { color: var(--pink); }
.hero-lede { max-width: 570px; margin: 28px 0; font-size: clamp(17px, 2vw, 25px); line-height: 1.35; font-weight: 700; text-shadow: 2px 2px 0 #000; }
.hero-character-wrap { position: absolute; right: -1vw; bottom: -8vh; width: min(58vw, 760px); z-index: 1; }
.hero-character { display: block; width: 100%; filter: drop-shadow(0 22px 25px rgba(0,0,0,.75)) saturate(1.2); }
.hero-foliage { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 3; width: 100%; height: min(32vh, 320px); object-fit: cover; object-position: bottom; pointer-events: none; }
.scroll-note { position: absolute; right: 28px; bottom: 24px; margin: 0; writing-mode: vertical-rl; color: var(--acid); font-size: 10px; font-weight: 900; letter-spacing: .18em; }

.story-intro {
  min-height: 70vh; padding: 16vh clamp(22px, 8vw, 120px); display: flex; flex-direction: column;
  justify-content: center; background: #070610 url("assets/02-following-the-melody.webp") right center / min(56vw, 800px) auto no-repeat;
  opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease;
}
.story-intro.is-visible { opacity: 1; transform: none; }
.story-intro h2 { width: min(750px, 72vw); font-size: clamp(48px, 8vw, 118px); text-shadow: 7px 7px 0 var(--violet); }

.scene { position: relative; min-height: 145vh; }
.scene-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-items: center; isolation: isolate; }
.scene-backdrop { position: absolute; inset: -8%; z-index: -3; background: var(--scene-image) center / cover no-repeat; filter: blur(28px) brightness(.35) saturate(1.35); transform: scale(1.16); }
.scene-sticky::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,4,11,.93) 0 30%, rgba(5,4,11,.2) 65%, rgba(5,4,11,.68) 100%); }
.scene-art { position: absolute; inset: 6vh 3vw 4vh 35vw; margin: 0; display: grid; place-items: center; opacity: .1; transform: scale(.92) rotate(-1deg); transition: opacity .8s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.scene-art.is-visible { opacity: 1; transform: scale(1) rotate(0); }
.scene-art img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 35px rgba(0,0,0,.6)); }
.scene-copy { position: relative; z-index: 3; width: min(620px, 44vw); margin-left: clamp(22px, 6vw, 100px); padding: 28px 0; opacity: 0; transform: translateY(60px); transition: opacity .7s ease .1s, transform .7s ease .1s; }
.scene-copy.is-visible { opacity: 1; transform: translateY(0); }
.scene-copy h2 { font-size: clamp(55px, 7vw, 112px); color: var(--paper); text-shadow: 7px 7px 0 var(--pink); }
.scene-copy > p:last-child { max-width: 540px; margin: 26px 0 0; font-size: clamp(16px, 1.55vw, 22px); line-height: 1.55; font-weight: 700; text-shadow: 2px 2px 0 #000; }
.scene--2 .scene-copy h2, .scene--5 .scene-copy h2 { text-shadow: 7px 7px 0 var(--blue); }
.scene--3 .scene-copy h2, .scene--6 .scene-copy h2 { text-shadow: 7px 7px 0 var(--violet); }

.roadmap { position: relative; min-height: 105svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); background: #080710; overflow: hidden; }
.roadmap-art { grid-column: 2; background: url("assets/06-never-ending-jungle.webp") center / cover no-repeat; min-height: 105svh; filter: saturate(1.15) contrast(1.08); }
.roadmap-content { grid-column: 1; grid-row: 1; align-self: center; padding: 12vh clamp(22px, 6vw, 90px); }
.roadmap h2 { margin-bottom: 7vh; color: var(--pink); font-size: clamp(70px, 10vw, 150px); text-shadow: 7px 7px 0 var(--blue); }
.roadmap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(38px, 5vw, 78px); }
.roadmap-step { opacity: 0; transform: translateY(40px); transition: opacity .65s ease, transform .65s ease; }
.roadmap-step.is-visible { opacity: 1; transform: translateY(0); }
.phase-number { margin: 0 0 8px; color: var(--acid); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.roadmap-step h3 { margin: 0 0 15px; font: 900 clamp(22px, 2vw, 32px)/.95 "Arial Black", Impact, sans-serif; letter-spacing: -.04em; color: var(--paper); }
.roadmap-step ul { margin: 0; padding: 0; list-style: none; }
.roadmap-step li { margin: 8px 0; color: #d8d0d8; font-weight: 700; line-height: 1.35; }

.pulse { position: relative; padding: 13vh clamp(20px, 6vw, 90px); background: #100c1c; text-align: center; }
.pulse-heading { opacity: 0; transform: translateY(36px); transition: opacity .65s ease, transform .65s ease; }
.pulse-heading.is-visible { opacity: 1; transform: translateY(0); }
.pulse h2 { color: var(--acid); font-size: clamp(64px, 10vw, 150px); text-shadow: 7px 7px 0 var(--pink); }
.pulse-heading > p:last-child { margin: 24px auto 40px; max-width: 620px; font-size: clamp(16px, 1.8vw, 23px); font-weight: 700; }
.chart-shell { width: min(1380px, 100%); min-height: 680px; margin: 0 auto 34px; background: #05040a; box-shadow: 14px 14px 0 var(--blue), -10px -10px 0 var(--pink); opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.chart-shell.is-visible { opacity: 1; transform: translateY(0); }
.chart-shell iframe { display: block; width: 100%; height: 680px; border: 0; }
.chart-action { margin-inline: auto; }

.finale { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.finale-art { position: absolute; inset: 0; z-index: -2; background: linear-gradient(rgba(5,4,11,.25), rgba(5,4,11,.88)), url("assets/06-never-ending-jungle.webp") center / cover no-repeat; transform: scale(1.02); }
.finale-copy { width: min(1100px, calc(100% - 40px)); text-align: center; opacity: 0; transform: scale(.92); transition: opacity .9s ease, transform .9s ease; }
.finale-copy.is-visible { opacity: 1; transform: scale(1); }
.finale h2 { color: var(--paper); font-size: clamp(72px, 14vw, 210px); text-shadow: 10px 10px 0 var(--pink), 17px 17px 0 var(--blue); }
.finale .actions { justify-content: center; margin-top: 48px; }
.contract { margin-top: 38px; color: var(--acid); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
[data-reveal] { will-change: opacity, transform; }

@media (max-width: 980px) {
  .action-bar { position: absolute; align-items: flex-start; }
  .actions--compact .action { padding-inline: 10px; font-size: 9px; }
  .hero-copy { width: 88vw; align-self: start; margin-top: 8vh; }
  .hero-character-wrap { width: min(86vw, 690px); right: -16vw; bottom: -4vh; opacity: .9; }
  .hero-lede { max-width: 55vw; }
  .scene-art { inset: 4vh 2vw 2vh 22vw; opacity: .5; }
  .scene-copy { width: min(540px, 62vw); margin-left: 4vw; }
  .roadmap { grid-template-columns: 1fr; }
  .roadmap-art { position: absolute; inset: 0 0 0 52%; min-height: 100%; opacity: .42; }
  .roadmap-content { position: relative; z-index: 1; max-width: 760px; }
}

@media (max-width: 700px) {
  .action-bar { min-height: 116px; flex-direction: column; gap: 8px; }
  .brand-stamp { width: 100%; justify-content: space-between; }
  .actions--compact { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .actions--compact .action { min-height: 34px; padding: 8px 3px; box-shadow: 3px 3px 0 var(--blue); letter-spacing: .02em; }
  .hero { min-height: 100svh; padding-top: 145px; align-items: start; }
  .hero-scene { background-position: 58% center; }
  .hero-copy { width: 100%; margin-top: 0; }
  .hero h1 { font-size: clamp(58px, 20vw, 105px); }
  .hero-lede { max-width: 78vw; font-size: 16px; }
  .hero .actions { width: 70vw; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-character-wrap { width: 86vw; right: -28vw; bottom: -1vh; }
  .hero-foliage { height: 18vh; }
  .scroll-note { display: none; }
  .story-intro { min-height: 72vh; padding-top: 12vh; background-size: 110vw auto; background-position: 52% bottom; }
  .story-intro h2 { width: 100%; font-size: clamp(47px, 15vw, 78px); }
  .scene { min-height: 132vh; }
  .scene-sticky { align-items: end; }
  .scene-sticky::after { background: linear-gradient(0deg, rgba(5,4,11,.97) 0 36%, rgba(5,4,11,.15) 80%); }
  .scene-art { inset: 5vh 0 37vh; opacity: .3; transform: scale(.94); }
  .scene-art.is-visible { opacity: 1; }
  .scene-copy { width: calc(100% - 36px); margin: 0 18px 5vh; padding: 0; }
  .scene-copy h2 { font-size: clamp(48px, 15vw, 80px); }
  .scene-copy > p:last-child { font-size: 15px; line-height: 1.45; }
  .roadmap { display: block; }
  .roadmap-art { inset: 0; opacity: .18; }
  .roadmap-content { padding: 12vh 20px; }
  .roadmap h2 { font-size: 22vw; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 45px; }
  .roadmap-step { max-width: 430px; }
  .chart-shell { min-height: 560px; box-shadow: 7px 7px 0 var(--blue), -5px -5px 0 var(--pink); }
  .chart-shell iframe { height: 560px; }
  .finale h2 { font-size: clamp(70px, 22vw, 120px); }
  .finale .actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal], .scene-art, .scene-copy, .roadmap-step, .pulse-heading, .chart-shell, .finale-copy { opacity: 1 !important; transform: none !important; }
}
