:root {
  --gold: #e8c547;
  --gold-bright: #ffe27a;
  --gold-deep: #9a6b12;
  --gold-metal: #c9a227;
  --ink: #140f08;
  --parchment: #e6d2a8;
  --parchment-ink: #2a1c0c;
  --parchment-edge: #8a6a38;
  --forest: #0b120e;
  --forest-mid: #121c14;
  --timber: #2c2114;
  --timber-light: #4a3822;
  --stone: #3d3a32;
  --robinhood: #00c805;
  --robinhood-dim: #07943a;
  --denied: #9b1d1d;
  --text: #f4ead3;
  --muted: #b8a888;
  --line: rgba(232, 197, 71, 0.28);
  --header-h: 4.5rem;
  --font-display: "Cinzel Decorative", Cinzel, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-heading: Cinzel, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mono: "Share Tech Mono", "Courier New", Courier, monospace;
  --radius-panel: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 80% 12%, rgba(0, 200, 5, 0.08), transparent 55%),
    radial-gradient(900px 600px at 8% 0%, rgba(232, 197, 71, 0.1), transparent 50%),
    linear-gradient(180deg, #0e120c 0%, var(--forest) 18%, #0a0e0b 100%);
  min-height: 100%;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 4px);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #fff4c4;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.skip-link:focus {
  top: 0.6rem;
}

.section-frame {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.chapter {
  margin: 0 0 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.display-line {
  margin: 0 0 1.4rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff6c8 0%, var(--gold) 42%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 #2a1c08);
  position: relative;
}

.display-line.shimmer {
  background-image:
    linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 45%, transparent 70%),
    linear-gradient(180deg, #fff6c8 0%, var(--gold) 42%, var(--gold-deep) 100%);
  background-size: 220% 100%, 100% 100%;
  animation: heading-shine 4.8s ease-in-out infinite;
}

.section-intro {
  margin: -0.4rem 0 2rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

main section[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* Ticker */
.ticker {
  overflow: hidden;
  background: #0a0d09;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.ticker-track span {
  padding: 0.42rem 1.6rem;
  border-right: 1px solid rgba(232, 197, 71, 0.18);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(36, 28, 16, 0.97), rgba(16, 13, 8, 0.96));
  border-bottom: 3px solid var(--gold-metal);
  box-shadow:
    0 1px 0 #7a5a10,
    0 10px 28px rgba(0, 0, 0, 0.45);
}

.site-header.is-scrolled {
  background: rgba(12, 10, 7, 0.98);
}

.nav {
  width: min(1200px, calc(100% - 1.5rem));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 8px rgba(232, 197, 71, 0.45));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-ticker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 1rem;
}

.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-bright);
  border-color: var(--line);
  background: rgba(232, 197, 71, 0.06);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-metal);
  background: var(--timber);
  color: var(--gold);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1px solid #7a5a18;
  text-decoration: none;
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 4px 0 #1a1208;
}

.btn:hover {
  filter: brightness(1.08);
}

a.btn-gold:hover,
a.btn-gold:focus-visible {
  color: #2a1a05;
}

a.btn-chart:hover,
a.btn-chart:focus-visible,
a.btn-swap:hover,
a.btn-swap:focus-visible {
  color: #d7ffd8;
}

a.btn-x:hover,
a.btn-x:focus-visible {
  color: var(--text);
}

.btn:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 2px 0 #1a1208;
}

.btn-compact {
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  font-size: 0.7rem;
}

.btn-gold {
  background: linear-gradient(180deg, #ffe27a 0%, var(--gold) 38%, #a07412 100%);
  color: #2a1a05;
  font-weight: 700;
}

.btn-gold.is-soon {
  position: relative;
}

.btn[aria-disabled="true"],
.text-link[aria-disabled="true"] {
  cursor: not-allowed;
}

.btn-swap {
  background: linear-gradient(180deg, #1a2a1c 0%, #101610 100%);
  border-color: #2f6b38;
  color: #d7ffd8;
  box-shadow:
    inset 0 1px 0 rgba(0, 200, 5, 0.18),
    0 4px 0 #071109;
}

.btn-chart {
  background: linear-gradient(180deg, #1d3a22 0%, #102016 100%);
  border-color: var(--robinhood-dim);
  color: #d7ffd8;
  box-shadow:
    inset 0 1px 0 rgba(0, 200, 5, 0.25),
    0 4px 0 #071109;
}

.btn-x {
  background: linear-gradient(180deg, #3a342c 0%, #1c1914 100%);
  border-color: #6a5e4a;
  color: var(--text);
  flex-direction: row;
  gap: 0.4rem;
}

.btn-copy {
  background: linear-gradient(180deg, #3a2a16 0%, #21180e 100%);
  color: var(--gold-bright);
  flex-direction: row;
  white-space: nowrap;
}

.btn-kicker {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

.btn-label {
  font-size: 0.82rem;
  font-weight: 700;
}

.btn-gold.is-soon .btn-label {
  font-size: 0.9rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 1.6rem);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-medieval {
  position: absolute;
  inset: 0 40% 0 0;
  background:
    linear-gradient(90deg, rgba(14, 16, 10, 0.2), transparent 70%),
    radial-gradient(ellipse at 20% 80%, rgba(90, 60, 16, 0.35), transparent 50%),
    repeating-linear-gradient(90deg, rgba(42, 32, 18, 0.18) 0 12px, transparent 12px 28px);
}

.hero-medieval::after {
  content: "";
  position: absolute;
  left: 6%;
  bottom: 0;
  width: 54%;
  height: 38%;
  background:
    linear-gradient(180deg, transparent, rgba(12, 10, 7, 0.9)),
    repeating-linear-gradient(90deg, #1b1812 0 18px, #12100c 18px 26px, #1b1812 26px 48px, #0e0d0a 48px 70px);
  clip-path: polygon(0 55%, 8% 55%, 8% 20%, 18% 20%, 18% 55%, 28% 55%, 28% 8%, 40% 8%, 40% 55%, 52% 55%, 52% 28%, 64% 28%, 64% 55%, 78% 55%, 78% 16%, 90% 16%, 90% 55%, 100% 55%, 100% 100%, 0 100%);
  opacity: 0.55;
}

.hero-market {
  position: absolute;
  inset: 0 0 0 45%;
  background:
    linear-gradient(90deg, transparent, rgba(0, 200, 5, 0.06) 40%, rgba(0, 40, 12, 0.35)),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(0, 200, 5, 0.05) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 200, 5, 0.04) 22px 23px);
}

.hero-split {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 18, 14, 0.15) 42%, rgba(0, 200, 5, 0.08) 58%, rgba(6, 16, 10, 0.55) 100%);
}

.battlements {
  position: absolute;
  top: 0;
  left: 0;
  right: 45%;
  height: 18px;
  background: repeating-linear-gradient(90deg, #1a1610 0 22px, transparent 22px 34px);
  opacity: 0.65;
}

.candles {
  position: absolute;
  right: 4%;
  bottom: 8%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 46%;
  width: min(280px, 28vw);
  opacity: 0.55;
}

.candle {
  flex: 1;
  height: var(--h);
  position: relative;
  background: var(--robinhood);
  box-shadow: 0 0 12px rgba(0, 200, 5, 0.45);
}

.candle.down {
  background: #6b1d1d;
  box-shadow: none;
}

.candle::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 130%;
  top: -15%;
  background: currentColor;
  transform: translateX(-50%);
  color: inherit;
  opacity: 0.7;
}

.candle.up {
  animation: candle-pulse 2.8s ease-in-out infinite;
}

.candle.up:nth-child(3) { animation-delay: 0.4s; }
.candle.up:nth-child(6) { animation-delay: 0.9s; }
.candle.up:nth-child(9) { animation-delay: 0.2s; }

.hero-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.hero-identity {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.logo-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.logo-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 80, 0.45), rgba(255, 170, 20, 0.08) 48%, transparent 70%);
  filter: blur(8px);
}

.logo-parallax {
  position: relative;
  z-index: 1;
}

.logo-float {
  position: relative;
  z-index: 1;
  animation: float 5.5s ease-in-out infinite;
}

[data-depth] {
  will-change: transform;
}

.hero-logo {
  width: min(340px, 72vw);
  height: auto;
  image-rendering: pixelated;
  filter:
    drop-shadow(5px 7px 0 rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 28px rgba(255, 200, 60, 0.5));
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff6c8;
  box-shadow: 0 0 8px #ffe27a;
  animation: sparkle 2.4s steps(2, end) infinite;
}

.sparkle.s1 { top: 12%; left: 22%; animation-delay: 0s; }
.sparkle.s2 { top: 28%; right: 16%; width: 4px; height: 4px; animation-delay: 0.7s; }
.sparkle.s3 { bottom: 22%; left: 18%; animation-delay: 1.2s; }
.sparkle.s4 { bottom: 30%; right: 24%; width: 5px; height: 5px; animation-delay: 1.8s; }

.gold-particles {
  position: absolute;
  inset: 8% 12%;
  pointer-events: none;
}

.gold-particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold-bright);
  opacity: 0.7;
  animation: drift 7s linear infinite;
}

.gold-particles span:nth-child(1) { left: 8%; top: 70%; animation-duration: 6.4s; }
.gold-particles span:nth-child(2) { left: 22%; top: 80%; width: 3px; height: 3px; animation-duration: 8s; animation-delay: -1s; }
.gold-particles span:nth-child(3) { left: 40%; top: 86%; animation-duration: 7.2s; animation-delay: -2s; }
.gold-particles span:nth-child(4) { left: 58%; top: 78%; width: 4px; height: 4px; animation-duration: 6.8s; }
.gold-particles span:nth-child(5) { left: 74%; top: 82%; animation-duration: 7.6s; animation-delay: -3s; }
.gold-particles span:nth-child(6) { left: 88%; top: 70%; width: 3px; height: 3px; animation-duration: 8.4s; }
.gold-particles span:nth-child(7) { left: 16%; top: 20%; animation-duration: 9s; }
.gold-particles span:nth-child(8) { left: 70%; top: 14%; width: 4px; height: 4px; animation-duration: 6.2s; animation-delay: -1.4s; }
.gold-particles span:nth-child(9) { left: 50%; top: 8%; animation-duration: 8.8s; }
.gold-particles span:nth-child(10) { left: 32%; top: 12%; width: 3px; height: 3px; animation-duration: 7.1s; }
.gold-particles span:nth-child(11) { left: 84%; top: 30%; animation-duration: 6.6s; }
.gold-particles span:nth-child(12) { left: 6%; top: 40%; width: 4px; height: 4px; animation-duration: 8.2s; }

.hero-copy {
  max-width: 640px;
}

.kicker {
  margin: 0 0 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #f7f1df 0%, #d8d2c4 38%, #8d8678 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 1px 0 #fff8e4)
    drop-shadow(0 3px 0 #3a3428)
    drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
}

.ticker-badge {
  display: inline-block;
  margin: 0.85rem 0 1.1rem;
  padding: 0.2rem 0.9rem 0.28rem;
  border: 1px solid var(--gold-metal);
  background: linear-gradient(180deg, #2a2114, #16110b);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold-bright);
}

.hook {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff4c8;
}

.lede {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.hero-support {
  margin: 0 0 1.6rem;
  max-width: 38rem;
  color: #d9ccb0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-actions .btn-gold {
  min-width: 180px;
}

/* Decree */
.decree-section {
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(155, 29, 29, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(10, 12, 9, 0.4), rgba(16, 14, 10, 0.8));
  border-top: 1px solid var(--line);
}

.decree-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.parchment {
  position: relative;
  padding: 2rem 1.8rem 2.4rem;
  color: var(--parchment-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 250, 230, 0.55), transparent 40%),
    radial-gradient(circle at 90% 92%, rgba(120, 80, 30, 0.18), transparent 42%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(90, 60, 20, 0.04) 2px, rgba(90, 60, 20, 0.04) 4px),
    linear-gradient(180deg, #efe0b8, var(--parchment) 40%, #d7bf8c);
  border: 8px solid #c4a66a;
  box-shadow:
    0 0 0 1px #7a5a30,
    0 18px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 40px rgba(90, 50, 10, 0.12);
  transform: rotate(-1.1deg);
}

.parchment-head {
  border-bottom: 1px solid rgba(90, 50, 10, 0.25);
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
}

.parchment-mark {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6a3a18;
}

.parchment h3 {
  margin: 0.2rem 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.parchment-head p,
.parchment p {
  margin: 0;
}

.ban-list {
  margin: 0;
  padding: 0.4rem 0 0 1.1rem;
  font-size: 1.28rem;
  font-style: italic;
}

.ban-list li + li {
  margin-top: 0.25rem;
}

.stamp {
  position: absolute;
  right: 1.2rem;
  bottom: 1.4rem;
  padding: 0.25rem 0.7rem;
  border: 3px solid var(--denied);
  color: var(--denied);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  transform: rotate(-18deg);
  opacity: 0.86;
  mix-blend-mode: multiply;
}

.wax-seal {
  position: absolute;
  left: -1.1rem;
  bottom: -1.1rem;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, #d24747, #7a1212 62%, #4a0808);
  box-shadow:
    0 6px 0 #3a0808,
    0 10px 18px rgba(0, 0, 0, 0.35),
    inset 0 0 0 6px rgba(90, 10, 10, 0.35);
  color: #f7d27a;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transform: rotate(-12deg);
}

.ignition-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
}

.ignition-lead,
.ignition-punch {
  margin: 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.ignition-lead {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--muted);
}

.ignition-punch {
  margin-bottom: 1.1rem;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--gold-bright);
}

.ignition-body {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  color: #ddd0b4;
}

.ignition-end {
  margin: 1.2rem 0 0;
  font-family: var(--font-heading);
  color: var(--robinhood);
  letter-spacing: 0.04em;
}

/* Gold / inventory */
.gold-section {
  background:
    radial-gradient(600px 280px at 50% 20%, rgba(232, 197, 71, 0.1), transparent 60%),
    #10140f;
  border-top: 1px solid var(--line);
}

.inventory-board {
  margin: 1.5rem 0 2.4rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, #3a2c1a, #241a10);
  border: 3px solid #7a6232;
  box-shadow:
    inset 0 0 0 2px #1a1208,
    0 12px 30px rgba(0, 0, 0, 0.35);
}

.board-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0d48a;
}

.slots {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.45rem;
}

.slot {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, #1a160f, #0e0c09);
  border: 2px solid #5a4a28;
  box-shadow:
    inset 2px 2px 0 #070604,
    inset -2px -2px 0 #6a5a38;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.slot.filled {
  background: radial-gradient(circle at 50% 40%, rgba(232, 197, 71, 0.18), #16120c 70%);
}

.slot.escaped {
  border-color: var(--robinhood-dim);
  box-shadow:
    inset 0 0 12px rgba(0, 200, 5, 0.18),
    inset 2px 2px 0 #070604;
}

.slot img {
  width: 58%;
  image-rendering: pixelated;
}

.slot span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.slot-copy {
  color: #cbb894 !important;
  font-size: 0.62rem !important;
  text-align: center;
  padding: 0.2rem;
}

.slot:hover {
  transform: translateY(-3px);
  border-color: var(--gold-metal);
}

.gold-story {
  text-align: center;
}

.gold-line {
  margin: 0.2rem 0;
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  color: #e6d7b6;
}

.gold-left {
  margin: 1.4rem 0 0;
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 0 24px rgba(232, 197, 71, 0.35);
}

/* Exchange */
.exchange-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0c110e, #10150f 50%, #0b100d);
}

.path {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.7rem;
  align-items: stretch;
  margin: 0 0 2rem;
}

.path-node {
  padding: 1rem 0.9rem;
  border: 1px solid var(--line);
  text-align: center;
  background: rgba(18, 16, 12, 0.8);
}

.path-node.gold {
  background: linear-gradient(180deg, rgba(232, 197, 71, 0.16), rgba(18, 16, 12, 0.9));
  border-color: var(--gold-metal);
}

.path-node.chain {
  border-color: var(--robinhood-dim);
  background: linear-gradient(180deg, rgba(0, 200, 5, 0.12), rgba(12, 18, 12, 0.9));
}

.path-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.path-node strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.06em;
}

.path-arrow {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.4rem;
}

.terminal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ge-window,
.chain-window,
.chart-window,
.ca-panel {
  border: 2px solid #6a5428;
  background: #16120c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.window-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.8rem;
  background: linear-gradient(180deg, #3b2e1c, #241a10);
  border-bottom: 1px solid #7a6232;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0d48a;
}

.ge-body,
.chain-body {
  padding: 1.1rem 1.15rem 1.3rem;
  min-height: 260px;
}

.ge-offer {
  margin: 0;
  color: #e8d7a8;
}

.ge-status {
  margin: 0 0 0.8rem;
  color: #d45b5b;
  font-family: var(--font-heading);
  letter-spacing: 0.16em;
}

.ge-note {
  margin: 1.2rem 0 0;
  color: var(--muted);
}

.chain-window {
  border-color: #1f6b32;
}

.chain-window .window-bar {
  background: linear-gradient(180deg, #16321c, #0d1a12);
  border-bottom-color: #1f6b32;
  color: #b7ffc0;
}

.chain-body {
  font-family: var(--font-mono);
  color: #9dffb0;
  background: #07140c;
}

.prompt {
  color: var(--robinhood);
  margin-right: 0.35rem;
}

.chain-body em {
  color: var(--gold-bright);
  font-style: normal;
}

.chain-list {
  margin: 0.2rem 0;
}

.chain-list.accent {
  color: var(--gold-bright);
  font-size: 1.15rem;
}

/* CA */
.ca-section {
  border-top: 1px solid var(--line);
}

.ca-panel {
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.08), transparent 40%),
    #16120c;
}

.ca-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.ca-kicker,
.ca-tba {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.ca-tba {
  color: var(--gold);
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 0.4rem;
}

.ca-value {
  flex: 1 1 240px;
  margin: 0;
  padding: 0.85rem 1rem;
  background: #0b0a08;
  border: 1px solid var(--gold-metal);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.ca-live {
  min-height: 1.2em;
  margin: 0;
  color: var(--robinhood);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.ca-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.ca-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

/* Chart */
.chart-section {
  border-top: 1px solid var(--line);
  background: #0c110e;
}

.chart-stage {
  position: relative;
  min-height: 420px;
  background: #070b08;
}

.chart-placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  padding: 2rem 1.2rem;
  text-align: center;
}

[hidden] {
  display: none !important;
}

.sleeping-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-bottom: 0.8rem;
  opacity: 0.55;
}

.sleeping-chart span {
  width: 10px;
  background: #1f6b32;
  box-shadow: 0 0 8px rgba(0, 200, 5, 0.25);
}

.sleeping-chart span:nth-child(1) { height: 24%; }
.sleeping-chart span:nth-child(2) { height: 38%; }
.sleeping-chart span:nth-child(3) { height: 22%; background: #5a2424; }
.sleeping-chart span:nth-child(4) { height: 56%; }
.sleeping-chart span:nth-child(5) { height: 44%; }
.sleeping-chart span:nth-child(6) { height: 72%; }

.placeholder-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

.placeholder-copy {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

.chart-frame {
  display: block;
  width: 100%;
  height: min(70vh, 640px);
  min-height: 420px;
  border: 0;
  background: #0b0f0c;
}

.chart-actions {
  margin: 0.9rem 0 0;
  text-align: center;
}

.text-link {
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.text-link[aria-disabled="true"] {
  color: var(--muted);
  text-decoration: none;
  cursor: not-allowed;
}

/* Banner */
.banner-break {
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #070806;
}

.banner-figure {
  margin: 0;
}

.banner-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  object-position: center;
  background: #070806;
}

/* Finale */
.finale {
  text-align: center;
  background:
    radial-gradient(700px 280px at 50% 20%, rgba(232, 197, 71, 0.12), transparent 55%),
    radial-gradient(500px 240px at 80% 80%, rgba(0, 200, 5, 0.08), transparent 50%),
    #0b100d;
}

.finale-ban,
.finale-print,
.finale-mark,
.finale-name {
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.finale-ban {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  letter-spacing: 0.08em;
  color: #f1d48a;
}

.finale-print {
  margin: 0.4rem 0 1.4rem;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  letter-spacing: 0.1em;
  color: var(--robinhood);
}

.finale-body {
  margin: 0 auto 1.8rem;
  max-width: 28rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.finale-mark {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(232, 197, 71, 0.35);
}

.finale-name {
  margin: 0.2rem 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.08em;
}

.finale-end {
  margin: 0 0 2rem;
  font-size: 1.25rem;
}

.finale-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Footer */
.site-footer {
  border-top: 3px solid var(--gold-metal);
  background: #0a0c09;
  padding: 2rem 1rem 2.4rem;
  text-align: center;
}

.footer-inner img {
  width: 40px;
  image-rendering: pixelated;
}

.footer-brand {
  margin: 0.5rem 0 0.2rem;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
}

.footer-note {
  margin: 0.8rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Motion */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes drift {
  0% { transform: translate3d(0, 8px, 0); opacity: 0; }
  15% { opacity: 0.75; }
  100% { transform: translate3d(12px, -90px, 0); opacity: 0; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes candle-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}

@keyframes heading-shine {
  0% { background-position: 120% 0, 0 0; }
  100% { background-position: -20% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .ticker-track,
  .logo-float,
  .gold-particles span,
  .sparkle,
  .candle.up,
  .display-line.shimmer,
  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-links a {
    padding: 0.45rem 0.5rem;
    letter-spacing: 0.08em;
  }

  .nav-ctas {
    gap: 0.3rem;
  }
}

@media (max-width: 900px) {
  .hero-identity,
  .decree-layout,
  .terminal-split,
  .path {
    grid-template-columns: 1fr;
  }

  .logo-stage {
    min-height: 280px;
  }

  .hero-logo {
    width: min(270px, 68vw);
  }

  .path-arrow {
    transform: rotate(0deg);
  }

  .slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero {
    min-height: 0;
  }

  .candles {
    width: 42%;
    height: 28%;
    opacity: 0.28;
  }

  .parchment {
    transform: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    background: #16120c;
    border-bottom: 2px solid var(--gold-metal);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links a {
    min-height: 44px;
  }

  .nav-ctas {
    flex-wrap: wrap;
  }

  .nav-ctas .btn {
    flex: 1 1 30%;
  }

  .hero-actions .btn,
  .finale-actions .btn {
    min-width: min(100%, 220px);
  }

  .ca-row {
    flex-direction: column;
  }

  .btn-copy {
    width: 100%;
  }

  .section-frame {
    padding: 3.6rem 0;
  }

  .wax-seal {
    left: auto;
    right: 0.6rem;
    bottom: -1rem;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 0.8rem;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .chart-stage,
  .chart-placeholder,
  .chart-frame {
    min-height: 320px;
  }
}
