:root {
  color-scheme: dark;
  --ink: #f8efe4;
  --muted: rgba(248, 239, 228, .68);
  --dim: rgba(248, 239, 228, .42);
  --bg: #070506;
  --panel: rgba(255, 244, 226, .075);
  --panel-strong: rgba(255, 244, 226, .13);
  --line: rgba(255, 231, 196, .18);
  --gold: #d9b978;
  --rose: #d9a6a0;
  --crimson: #9b3f4a;
  --blue: #355c8a;
  --moss: #a9b88f;
  --shadow: 0 26px 80px rgba(0,0,0,.48);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(155,63,74,.34), transparent 28rem),
    radial-gradient(circle at 84% 6%, rgba(53,92,138,.30), transparent 30rem),
    linear-gradient(180deg, #0b0708 0%, #060405 48%, #0d090a 100%);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%);
  z-index: -3;
}
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay; z-index: 20; background-image: repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,.8) 0 1px, transparent 1px 4px); background-size: 18px 18px; }
.aurora { position: fixed; width: 48vw; height: 48vw; border-radius: 50%; filter: blur(70px); opacity: .18; z-index: -2; pointer-events: none; }
.aurora-a { background: var(--crimson); left: -18vw; top: 20vh; }
.aurora-b { background: var(--blue); right: -18vw; top: 40vh; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(7,5,6,.62);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; letter-spacing: .02em; font-weight: 650; }
.brand-mark { width: 22px; height: 22px; border: 1px solid rgba(217,185,120,.78); transform: rotate(45deg); background: radial-gradient(circle, rgba(217,185,120,.65), transparent 60%); box-shadow: 0 0 24px rgba(217,185,120,.35); }
nav { display: flex; gap: 8px; }
nav a { color: var(--muted); text-decoration: none; padding: 10px 14px; border: 1px solid transparent; }
nav a:hover { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.05); }
.section-shell { width: min(1180px, calc(100vw - 36px)); margin: 0 auto; }
.hero { min-height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr); gap: clamp(30px, 6vw, 80px); align-items: center; padding: 70px 0 54px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 780; margin: 0 0 16px; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 520; letter-spacing: -.045em; }
h1 { font-size: clamp(54px, 8vw, 118px); line-height: .86; max-width: 780px; }
h2 { font-size: clamp(34px, 4.8vw, 68px); line-height: .92; }
h3 { font-size: 25px; line-height: 1.02; }
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.55; color: var(--muted); max-width: 650px; margin: 28px 0 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.button { color: var(--ink); text-decoration: none; padding: 13px 18px; border: 1px solid var(--line); background: rgba(255,255,255,.055); }
.button.primary { background: linear-gradient(135deg, rgba(217,185,120,.9), rgba(155,63,74,.85)); color: #14090a; border-color: transparent; font-weight: 800; }
.hero-stage { min-height: 620px; position: relative; perspective: 1200px; }
.hero-card { position: absolute; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(.98); }
.hero-card.main { width: 76%; height: 68%; right: 0; top: 7%; transform: rotateY(-8deg) rotateZ(1deg); }
.hero-card.side { width: 38%; height: 48%; left: 0; bottom: 4%; transform: rotateZ(-4deg); }
.hero-card.token { width: 30%; height: 38%; right: 9%; bottom: 0; transform: rotateZ(5deg); }
.hero-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.62)); pointer-events:none; }
.card-caption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-size: 12px; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); box-shadow: var(--shadow); margin-bottom: 96px; }
.strip > div { padding: 24px; background: rgba(255,255,255,.055); }
.stat-num { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 42px; line-height: 1; }
.stat-label { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: end; }
.intro-panel { padding: 44px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035)); margin-bottom: 110px; }
.intro-panel p:last-child { color: var(--muted); line-height: 1.8; font-size: 18px; margin: 0; }
.section-head { display: grid; grid-template-columns: .85fr 1fr; gap: 36px; align-items: end; margin-bottom: 34px; }
.section-head p:last-child { color: var(--muted); line-height: 1.7; margin: 0; }
.section-head.compact { display: block; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 110px; }
.event-card, .lore-card, .art-card, .mini-card { border: 1px solid var(--line); background: rgba(255,255,255,.055); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.event-card { min-height: 520px; display: flex; flex-direction: column; }
.event-card img { width: 100%; height: 330px; object-fit: cover; display: block; }
.card-body { padding: 18px; }
.card-kicker { color: var(--gold); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; }
.card-body p { color: var(--muted); line-height: 1.55; font-size: 14px; margin: 10px 0 0; }
.lore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 110px; }
.lore-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.character-band { margin-bottom: 110px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.mini-card img { width: 100%; height: 330px; object-fit: cover; display:block; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter { color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: 10px 14px; cursor: pointer; }
.filter.active, .filter:hover { color: #13090a; background: var(--gold); border-color: var(--gold); }
.masonry { columns: 4 220px; column-gap: 14px; }
.art-card { display: inline-block; width: 100%; margin: 0 0 14px; cursor: zoom-in; break-inside: avoid; }
.art-card img { width: 100%; display:block; }
.art-card .card-body { padding: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 30; display: none; place-items: center; background: rgba(0,0,0,.86); padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; object-fit: contain; box-shadow: var(--shadow); }
.lightbox p { color: var(--muted); text-align: center; max-width: 900px; }
.close { position: fixed; top: 22px; right: 28px; width: 48px; height: 48px; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: var(--ink); font-size: 30px; cursor: pointer; }
.footer { display: flex; justify-content: space-between; gap: 20px; color: var(--dim); border-top: 1px solid var(--line); padding: 34px 0 60px; margin-top: 90px; }
.footer a { color: var(--gold); }
@media (max-width: 900px) {
  .topbar { height: auto; min-height: 68px; align-items: flex-start; flex-direction: column; padding: 16px 18px; gap: 12px; }
  nav { width: 100%; overflow-x: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-stage { min-height: 520px; }
  .strip, .timeline, .lore-grid, .split, .section-head { grid-template-columns: 1fr; }
  .timeline { gap: 18px; }
  .event-card { min-height: auto; }
  .event-card img { height: auto; aspect-ratio: 3/4; }
  .intro-panel { padding: 24px; }
  .footer { flex-direction: column; }
}
@media (max-width: 520px) {
  h1 { font-size: 54px; }
  .hero-stage { min-height: 410px; }
  .hero-card.main { width: 82%; height: 62%; }
  .hero-card.side { width: 48%; height: 44%; }
  .hero-card.token { width: 38%; height: 34%; }
  .strip > div { padding: 18px; }
}
