:root {
  --bg: #152014;
  --bg-deep: #0d160d;
  --panel: #203125;
  --panel-2: #274032;
  --ink: #f4f1de;
  --muted: #c9ccb9;
  --primary: #81b29a;
  --secondary: #f2cc8f;
  --accent: #e07a5f;
  --accent-strong: #d55c33;
  --line: rgba(244, 241, 222, 0.14);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Mono', monospace;
  background:
    radial-gradient(circle at 15% 20%, rgba(224, 122, 95, 0.12), transparent 18%),
    radial-gradient(circle at 85% 12%, rgba(242, 204, 143, 0.10), transparent 20%),
    linear-gradient(180deg, #132013 0%, #152014 42%, #10170f 100%);
  color: var(--ink);
  overflow-x: hidden;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.8) 0 0.7px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(255,255,255,0.6) 0 0.7px, transparent 1px),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.7) 0 0.7px, transparent 1px);
  background-size: 170px 170px, 220px 220px, 260px 260px;
  mix-blend-mode: soft-light;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header,
.hero,
.section,
.dex-band,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(21, 32, 20, 0.92), rgba(21, 32, 20, 0.55));
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}
.brand-word {
  font-family: 'Changa', sans-serif;
  font-size: 1.45rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}
.nav a:hover,
.nav a:focus-visible { color: var(--secondary); }

.nav-cta,
.btn,
.inline-copy {
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.nav-cta {
  background: var(--secondary);
  color: #182212;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
}
.nav-cta:hover,
.btn:hover,
.inline-copy:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
  padding: 34px 0 28px;
  min-height: calc(100vh - 110px);
}

.hero-copy h1 {
  margin: 0;
  display: grid;
  gap: 6px;
  line-height: 0.88;
}
.stack,
.ticker {
  font-family: 'Changa', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}
.stack {
  font-size: clamp(3.8rem, 9vw, 8rem);
  color: var(--secondary);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.5);
}
.ticker {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  color: var(--primary);
}
.eyebrow,
.section-kicker,
.strip-label,
.dex-key,
.road-phase,
.note-id {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}
.eyebrow { color: var(--accent); margin: 0 0 16px; }
.hero-lead {
  max-width: 34rem;
  font-size: 1.14rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 18px 0 10px;
}
.hero-tagline {
  margin: 0 0 22px;
  color: var(--secondary);
  font-size: 1rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn {
  padding: 14px 18px;
  border-radius: 14px;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}
.btn-primary { background: var(--accent); color: #fff4e8; }
.btn-ghost { background: var(--panel); }

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.strip-item {
  background: linear-gradient(180deg, rgba(242, 204, 143, 0.12), rgba(129, 178, 154, 0.06));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.strip-label { color: var(--muted); display: block; margin-bottom: 7px; }
.strip-item strong { font-size: 0.95rem; }

.hero-stage {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner {
  width: 100%;
  height: auto;
  border: 3px solid rgba(0,0,0,0.85);
  border-radius: 28px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.ball-orbit {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -30px;
  top: 10px;
  border: 3px dashed rgba(242, 204, 143, 0.35);
  border-radius: 50%;
  animation: orbitSpin 16s linear infinite;
}
.ball-orbit::before,
.ball-orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.ball-orbit::before {
  width: 46px;
  height: 46px;
  background: linear-gradient(180deg, var(--accent) 0 50%, var(--ink) 50% 100%);
  border: 3px solid #1a1408;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
}
.ball-orbit::after {
  width: 14px;
  height: 14px;
  background: var(--secondary);
  border: 3px solid #1a1408;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.catch-card {
  position: absolute;
  left: -14px;
  bottom: 34px;
  z-index: 3;
  width: min(260px, 74%);
  background: rgba(16, 24, 14, 0.92);
  border: 2px solid rgba(242, 204, 143, 0.35);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.catch-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.dot.live {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(224, 122, 95, 0.18);
}
.cope-meter {
  height: 18px;
  border-radius: 999px;
  background: #0f170d;
  border: 2px solid rgba(244, 241, 222, 0.12);
  overflow: hidden;
}
.cope-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 55%, var(--primary) 100%);
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
}
.cope-stats {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  align-items: center;
  font-size: 0.82rem;
}
.cope-stats strong { color: var(--secondary); font-size: 1.2rem; }

.dex-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid rgba(0, 0, 0, 0.9);
  box-shadow: 6px 6px 0 #000;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 38px;
}
.dex-cell {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(129, 178, 154, 0.18), rgba(242, 204, 143, 0.08));
  border-right: 2px solid rgba(0,0,0,0.85);
}
.dex-cell:last-child { border-right: none; }
.dex-key { display: block; color: var(--muted); margin-bottom: 8px; }
.dex-cell strong { font-family: 'Changa', sans-serif; font-size: 1.28rem; color: var(--ink); }

.section { padding: 58px 0; }
.section-title-wrap { margin-bottom: 24px; max-width: 760px; }
.section-title-wrap.narrow { max-width: 680px; }
.section-title-wrap.lefty { margin-left: 0; }
.section-kicker { color: var(--accent); margin: 0 0 10px; }
.section h2 {
  margin: 0;
  font-family: 'Changa', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--secondary);
}

.lore-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}
.lore-card,
.note,
.field-card,
.tokenomics-shell,
.path-step,
.road-stop,
.faq-item {
  background: rgba(28, 40, 26, 0.9);
  border: 1px solid var(--line);
}
.main-lore {
  min-height: 320px;
  border-radius: 26px;
  padding: 28px;
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.main-lore::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21,32,20,0.02), rgba(21,32,20,0.78)),
    url('./assets/logo.png') center/300px no-repeat;
  opacity: 0.18;
}
.main-lore p { position: relative; z-index: 1; font-size: 1.05rem; line-height: 1.8; max-width: 34rem; }
.lore-notes { display: grid; gap: 14px; }
.note {
  border-radius: 18px;
  padding: 18px 18px 16px;
}
.note-id { color: var(--primary); }
.note h3,
.field-card h3,
.path-step h3,
.road-stop h3 { margin: 8px 0 8px; font-family: 'Changa', sans-serif; font-size: 1.35rem; }
.note p,
.field-card p,
.path-step p,
.road-stop p,
.faq-item p { color: var(--muted); line-height: 1.7; margin: 0; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.field-card {
  border-radius: 22px;
  padding: 22px;
  transform-style: preserve-3d;
}
.field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--secondary);
  color: #172012;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  font-weight: 700;
  margin-bottom: 14px;
}
.accent-two .field-icon { background: var(--accent); color: #fff4e8; }
.accent-three .field-icon { background: var(--primary); }

.tokenomics-shell {
  border-radius: 28px;
  padding: 26px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
}
.tokenomics-copy p:last-child { color: var(--muted); line-height: 1.8; }
.token-board {
  display: grid;
  border: 2px solid rgba(0,0,0,0.8);
  border-radius: 18px;
  overflow: hidden;
}
.token-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(129, 178, 154, 0.08);
  border-bottom: 1px solid var(--line);
}
.token-row:nth-child(even) { background: rgba(242, 204, 143, 0.06); }
.token-row:last-child { border-bottom: 0; }
.token-row span { color: var(--muted); }
.token-row strong { font-family: 'Changa', sans-serif; color: var(--ink); letter-spacing: 0.01em; }
.inline-copy {
  border-radius: 12px;
  background: var(--secondary);
  color: #16200f;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
}

.path-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.path-step {
  border-radius: 22px;
  padding: 22px;
  position: relative;
}
.step-ball {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(180deg, var(--accent) 0 50%, var(--ink) 50% 100%);
  color: #131313;
  border: 2px solid #000;
  font-family: 'Changa', sans-serif;
  font-size: 1.1rem;
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.road-stop {
  border-radius: 24px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.road-stop::after {
  content: '';
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(242, 204, 143, 0.18);
}
.road-phase { color: var(--primary); }

.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: 'Changa', sans-serif;
  font-size: 1.18rem;
  color: var(--secondary);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.4rem;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 20px; }

.site-footer {
  padding: 30px 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}
.footer-logo { width: 62px; height: 62px; object-fit: contain; }
.site-footer a { color: var(--secondary); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cope-fill { width: 93% !important; }
}

@media (max-width: 1100px) {
  .hero,
  .lore-layout,
  .tokenomics-shell { grid-template-columns: 1fr; }
  .field-grid,
  .path-wrap,
  .roadmap-track { grid-template-columns: repeat(2, 1fr); }
  .hero-stage { min-height: auto; }
  .catch-card { left: 14px; bottom: 14px; }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
  }
  .nav { justify-content: flex-start; gap: 14px 16px; }
  .hero { min-height: auto; padding-top: 18px; }
  .hero-strip,
  .dex-band,
  .field-grid,
  .path-wrap,
  .roadmap-track { grid-template-columns: 1fr; }
  .dex-cell { border-right: none; border-bottom: 2px solid rgba(0,0,0,0.85); }
  .dex-cell:last-child { border-bottom: none; }
  .stack { font-size: clamp(3rem, 18vw, 5rem); }
  .ticker { font-size: clamp(1.4rem, 7vw, 2.3rem); }
  .hero-banner { border-radius: 20px; }
  .catch-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
