:root {
  --bg: #050505;
  --ink: #f8f8f8;
  --muted: #b8b8b8;
  --line: rgba(255,255,255,.22);
  --glass: rgba(10,10,10,.58);
  --hot: #ff2b2b;
  --gold: #ffd56a;
  --cyan: #9cf7ff;
  --page-pad: clamp(24px, 5vw, 82px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  cursor: default;
}
body.locked { overflow: hidden; }

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

::selection { background: white; color: black; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .065;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.62'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,.1), transparent 62%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity .3s ease;
}

main { position: relative; z-index: 2; }
.page {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  isolation: isolate;
}
.page::after {
  content: attr(data-section);
  position: absolute;
  right: 26px;
  bottom: 18px;
  z-index: 6;
  font-size: 11px;
  letter-spacing: .24em;
  color: rgba(255,255,255,.42);
}

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 20px 80px rgba(0,0,0,.3);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.side-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: grid;
  gap: 10px;
}
.side-nav a {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255,255,255,.55);
  transform: rotate(45deg);
  transition: .25s ease;
  background: rgba(0,0,0,.35);
}
.side-nav a.active { background: white; box-shadow: 0 0 18px white; transform: rotate(45deg) scale(1.25); }

.music-toggle {
  position: fixed;
  left: 20px;
  bottom: 18px;
  z-index: 90;
  color: white;
  padding: 10px 13px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  cursor: pointer;
}
.music-toggle span { color: var(--gold); }

.hero { display: grid; align-items: stretch; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -5;
  filter: contrast(1.08) brightness(.62) saturate(.8);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 25%, rgba(0,0,0,.1) 42%, rgba(0,0,0,.86) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35), transparent 28%, rgba(0,0,0,.82));
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.2), transparent 52%);
}
.hero-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--page-pad);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.brand-mark {
  font-weight: 1000;
  letter-spacing: -.06em;
  font-size: clamp(18px, 2vw, 30px);
  text-shadow: 0 0 26px rgba(255,255,255,.42);
}
.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  color: rgba(255,255,255,.68);
}
.status-line span { width: 7px; height: 7px; border-radius: 50%; background: #7dff9f; box-shadow: 0 0 18px #7dff9f; }

.hero-content {
  align-self: end;
  max-width: 1100px;
  padding: 150px var(--page-pad) 110px;
  z-index: 3;
}
.eyebrow {
  margin: 0 0 16px;
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.copy-block h2,
.final h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: -.045em;
}
.hero h1 {
  font-size: clamp(86px, 16vw, 240px);
  color: transparent;
  background:
    linear-gradient(180deg, #fff 0%, #aaa 20%, #fff 45%, #5a5a5a 62%, #f8f8f8 86%, #777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.7)) drop-shadow(0 0 24px rgba(255,255,255,.16));
}
.hero-subtitle {
  max-width: 780px;
  margin: 18px 0 26px;
  font-size: clamp(17px, 1.8vw, 28px);
  line-height: 1.28;
  font-weight: 650;
  text-shadow: 0 2px 18px black;
}
.ca-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  padding: 9px 10px 9px 14px;
  margin-bottom: 16px;
}
.ca-label { color: var(--muted); font-size: 10px; letter-spacing: .18em; font-weight: 900; }
.ca-row code { font-size: 13px; letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; }
.ca-row button {
  border: 0;
  background: white;
  color: black;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .12em;
  cursor: pointer;
}
.link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.link-row a {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.32);
  color: white;
  text-decoration: none;
  padding: 12px 15px;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .12em;
  backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.link-row a:hover { transform: translateY(-3px); border-color: white; background: rgba(255,255,255,.12); }

.scroll-cue {
  position: absolute;
  right: var(--page-pad);
  bottom: 36px;
  z-index: 5;
  display: grid;
  justify-items: end;
  gap: 9px;
  color: white;
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}
.scroll-cue i { width: 120px; height: 1px; background: linear-gradient(90deg, transparent, white); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-right: 1px solid white; border-bottom: 1px solid white; transform: rotate(45deg); animation: cue 1.4s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: translateX(0) rotate(45deg); opacity: .5; } 50% { transform: translateX(8px) rotate(45deg); opacity: 1; } }
.section-fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 180px; z-index: 2; background: linear-gradient(to bottom, transparent, #070707); }

.section-shell {
  position: relative;
  z-index: 3;
  width: min(1500px, 100%);
  min-height: 100vh;
  margin: auto;
  padding: clamp(90px, 10vw, 150px) var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px, 7vw, 110px); align-items: center; }

.lore { background: #070707; }
.lore::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 30%, rgba(255,43,43,.12), transparent 28%),
    radial-gradient(circle at 84% 68%, rgba(156,247,255,.1), transparent 24%);
}
.lore-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: .12;
  background: url("images/lore.webp") center / cover no-repeat;
  filter: grayscale(1) blur(12px) contrast(1.4);
  transform: scale(1.1);
}
.copy-block h2,
.section-heading h2,
.final h2 { font-size: clamp(58px, 8vw, 132px); }
.copy-block .lead, .final-lead {
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 700;
  line-height: 1.3;
  max-width: 760px;
}
.copy-block p:not(.eyebrow):not(.lead) { max-width: 700px; color: #c4c4c4; font-size: 16px; line-height: 1.7; }
.lore-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.lore-tags span { border: 1px solid var(--line); padding: 9px 11px; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.portrait-card {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.04);
  box-shadow: 0 28px 100px rgba(0,0,0,.55);
  transform: rotate(1.5deg);
}
.portrait-card img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; filter: contrast(1.03); }
.portrait-meta { display: flex; justify-content: space-between; gap: 12px; padding: 10px 4px 2px; color: #aaa; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.flying-coin {
  position: absolute;
  left: 0;
  top: 56%;
  z-index: 5;
  width: clamp(110px, 17vw, 270px);
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: 0 0 0 8px rgba(255,255,255,.05), 0 0 65px rgba(255,255,255,.25), 0 22px 60px rgba(0,0,0,.65);
  transform: translate3d(-40vw,0,0) rotate(0deg);
  will-change: transform;
  pointer-events: none;
}

.roadmap { background: #050505; }
.roadmap-bg, .chart-bg, .final-bg {
  position: absolute;
  inset: 0;
  z-index: -5;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.roadmap-bg { background-image: url("images/roadmap.webp"); opacity: .14; filter: grayscale(1) contrast(1.5); }
.roadmap::before { content:""; position:absolute; inset:0; z-index:-4; background:linear-gradient(90deg, #050505 0 34%, rgba(5,5,5,.68) 58%, #050505 100%); }
.section-heading { margin-bottom: 48px; }
.roadmap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.road-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.48));
  backdrop-filter: blur(16px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.road-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.62); background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(0,0,0,.55)); }
.road-num { font-family: Impact, sans-serif; font-size: 54px; line-height: 1; color: rgba(255,255,255,.18); }
.road-card h3 { margin: auto 0 14px; font-size: 28px; letter-spacing: -.04em; }
.road-card p { color: #bbb; line-height: 1.55; }
.road-card > span { color: var(--gold); font-size: 10px; font-weight: 1000; letter-spacing: .18em; }

.chart-page { background: #060606; }
.chart-bg { background-image: url("images/chart.webp"); opacity: .1; filter: grayscale(1) blur(4px); transform: scale(1.04); }
.chart-page::before { content:""; position:absolute; inset:0; z-index:-4; background:radial-gradient(circle at 70% 45%, rgba(156,247,255,.1), transparent 26%), linear-gradient(180deg, rgba(0,0,0,.28), #060606 88%); }
.chart-shell { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; align-items: center; }
.section-heading.compact { margin: 0; }
.chart-note { max-width: 520px; color: #aaa; line-height: 1.6; }
.chart-frame { border: 1px solid rgba(255,255,255,.22); background: #090909; box-shadow: 0 40px 120px rgba(0,0,0,.55); overflow: hidden; }
.chart-topbar { height: 48px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 16px; border-bottom:1px solid rgba(255,255,255,.12); font-size:10px; font-weight:900; letter-spacing:.13em; }
.chart-topbar a { color: var(--gold); text-decoration:none; }
.chart-frame iframe { display:block; width:100%; height:min(70vh, 720px); min-height:560px; border:0; background:#111; }

.gallery { background: #050505; }
.gallery::before { content:""; position:absolute; inset:0; z-index:-3; background:linear-gradient(120deg, rgba(255,43,43,.08), transparent 30%), linear-gradient(300deg, rgba(255,213,106,.07), transparent 28%); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.18);
  background: #101010;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  min-height: 58vh;
  transform-style: preserve-3d;
}
.gallery-card img { width:100%; height:100%; object-fit:cover; display:block; filter: grayscale(.05) contrast(1.06); transition: transform .55s cubic-bezier(.2,.7,.1,1), filter .35s ease; }
.gallery-card:hover img { transform: scale(1.07); filter: grayscale(0) contrast(1.12); }
.gallery-card span { position:absolute; left:12px; bottom:10px; z-index:2; font-family:Impact,sans-serif; font-size:28px; color:white; text-shadow:0 2px 12px black; }
.gallery-card::after { content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.65), transparent 30%); pointer-events:none; }

.final { background: #030303; }
.final-bg { background-image: url("images/final.webp"); background-position:center 32%; opacity:.4; filter: grayscale(1) contrast(1.22) brightness(.72); }
.final-overlay { position:absolute; inset:0; z-index:-4; background:linear-gradient(90deg, rgba(0,0,0,.94) 0 42%, rgba(0,0,0,.4) 72%, rgba(0,0,0,.82)), linear-gradient(180deg, rgba(0,0,0,.4), #020202 100%); }
.final-shell { align-items:flex-start; }
.final h2 { max-width: 1100px; }
.final-lead { max-width: 760px; }
.final-links { margin: 18px 0 26px; }
.disclaimer { max-width: 850px; padding: 18px 20px; }
.disclaimer strong { font-size: 10px; letter-spacing: .18em; color: var(--gold); }
.disclaimer p { margin: 10px 0 0; color: #b7b7b7; line-height: 1.55; font-size: 12px; }
.footer-line { width:100%; margin-top:52px; padding-top:16px; border-top:1px solid rgba(255,255,255,.14); display:flex; justify-content:space-between; gap:18px; color:#777; font-size:9px; font-weight:900; letter-spacing:.16em; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.94);
  display: grid;
  place-items: center;
  padding: 48px;
  backdrop-filter: blur(16px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; object-fit: contain; box-shadow: 0 30px 100px black; }
.lightbox-close { position:absolute; right:22px; top:20px; border:1px solid white; background:black; color:white; padding:10px 14px; cursor:pointer; font-size:10px; font-weight:900; letter-spacing:.15em; }

@media (max-width: 1100px) {
  .two-col, .chart-shell { grid-template-columns: 1fr; }
  .portrait-card { width:min(72vw, 620px); }
  .roadmap-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-card { min-height: 66vw; }
  .chart-frame iframe { min-height: 600px; }
}

@media (max-width: 700px) {
  :root { --page-pad: 20px; }
  .page { min-height: 100svh; }
  .hero-top { padding: 18px var(--page-pad); }
  .status-line { display:none; }
  .hero-content { padding: 130px var(--page-pad) 118px; }
  .hero h1 { font-size: clamp(74px, 25vw, 128px); }
  .hero-subtitle { font-size: 17px; }
  .link-row a { flex: 1 1 calc(50% - 8px); text-align:center; padding:11px 9px; }
  .scroll-cue { display:none; }
  .side-nav { right: 10px; }
  .music-toggle { left: 12px; bottom: 12px; }
  .section-shell { padding-top: 86px; padding-bottom: 86px; }
  .copy-block h2, .section-heading h2, .final h2 { font-size: clamp(52px, 16vw, 90px); }
  .portrait-card { width: 100%; }
  .portrait-meta { flex-direction: column; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .road-card { min-height: 260px; }
  .chart-frame iframe { height: 68vh; min-height: 500px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card { min-height: 112vw; }
  .final-overlay { background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.92) 45%, #020202); }
  .footer-line { flex-direction: column; }
  .lightbox { padding: 28px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .flying-coin { display:none; }
}
