:root {
  --forest: #0b1a12;
  --moss: #122418;
  --hedge: #1a3a24;
  --leaf: #2f7a45;
  --lime: #8fd46a;
  --cream: #f6ead2;
  --biscuit: #e09a48;
  --biscuit-press: #c87e30;
  --fur: #c4783a;
  --wallet: #5c3a22;
  --red: #e23b3b;
  --blue: #2f62d6;
  --gold: #f0c43a;
  --ink: #f6ead2;
  --ink-soft: #d4c7a8;
  --muted: #8fa88f;
  --line: #2a4a34;
  --elevated: #163224;
  --nav-h: 76px;
  --radius: 18px;
  --font: "Nunito", "Segoe UI", sans-serif;
  --display: "Fredoka", "Nunito", sans-serif;
  --jp: "Zen Maru Gothic", "Nunito", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  color-scheme: dark;
  background: var(--forest);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 90% -10%, rgba(47, 122, 69, 0.35), transparent 58%),
    radial-gradient(700px 400px at 0% 20%, rgba(224, 154, 72, 0.12), transparent 50%),
    var(--forest);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
.btn {
  font-family: inherit;
}

.collar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 28px,
    var(--blue) 28px 56px,
    var(--gold) 56px 84px
  );
}

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

.toast {
  position: fixed;
  top: 96px;
  left: 50%;
  z-index: 90;
  translate: -50% -12px;
  opacity: 0;
  pointer-events: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  translate: -50% 0;
}

.nav {
  position: sticky;
  top: 8px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
  padding: 0 28px;
  background: rgba(11, 26, 18, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--leaf);
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--lime);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--moss);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cream);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn-biscuit {
  background: var(--biscuit);
  color: #1a1208;
}

.btn-biscuit:hover {
  background: var(--biscuit-press);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-ink {
  background: var(--hedge);
  border-color: var(--line);
  color: var(--cream);
}

.btn-lg {
  padding: 13px 22px;
  font-size: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 56px 28px 40px;
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--lime);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(143, 212, 106, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
}

.jp {
  font-family: var(--jp);
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin: 0 0 6px;
  color: var(--gold);
}

.jp-inline {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold);
}

h1 {
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 0.92;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 38rem;
}

.song {
  margin: 0 0 22px;
  font-style: italic;
  color: var(--muted);
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 10px 12px;
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 42rem;
}

.ca-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ca-row code {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cream);
  white-space: nowrap;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  user-select: all;
}

.copy-btn {
  border: 0;
  background: var(--hedge);
  color: var(--cream);
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 42rem;
}

.stat-strip li {
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.stat-strip strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
}

.stat-strip span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hedge {
  position: relative;
  isolation: isolate;
  margin: 0;
  justify-self: center;
}

.hedge img {
  width: min(460px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--hedge);
  box-shadow: 0 0 0 6px var(--leaf), 0 24px 60px rgba(0, 0, 0, 0.4);
}

.hedge-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, transparent 52%, rgba(47, 122, 69, 0.35) 53%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 18px, rgba(20, 60, 32, 0.45) 19px 22px);
  z-index: -1;
}

.hat-tag {
  position: absolute;
  right: 8%;
  bottom: 10%;
  background: var(--gold);
  color: #1a1208;
  font-family: var(--display);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  rotate: -8deg;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--moss);
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: tick 28s linear infinite;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

@keyframes tick {
  to {
    translate: -50% 0;
  }
}

.section {
  padding: 88px 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 8px;
  color: var(--biscuit);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 18px;
}

.section-lead {
  color: var(--ink-soft);
  margin: -6px 0 28px;
  max-width: 40rem;
}

.lore-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
}

.lore-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.stamp {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border: 2px dashed var(--biscuit);
  color: var(--biscuit);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  rotate: -2deg;
}

.zine-card {
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.zine-card h3 {
  margin: 0 0 12px;
  font-family: var(--display);
}

.zine-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zine-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.zine-card span {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shot {
  position: relative;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--moss);
  cursor: pointer;
  text-align: left;
}

.shot img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: 0.35s ease;
}

.shot:hover img {
  scale: 1.04;
}

.shot span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(11, 26, 18, 0.82);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.card-num {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.card h3 {
  font-family: var(--display);
  margin: 8px 0;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.chart {
  max-width: none;
  padding-left: 28px;
  padding-right: 28px;
  background:
    linear-gradient(180deg, transparent, rgba(8, 16, 10, 0.7)),
    var(--forest);
}

.chart .kicker,
.chart h2,
.chart-toolbar {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: -0.4rem auto 1.1rem;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
}

#dexscreener-embed {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-bottom: 125%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
}

@media (min-width: 1400px) {
  #dexscreener-embed {
    padding-bottom: 65%;
  }
}

#dexscreener-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 1;
}

.chart-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  z-index: 0;
}

#dexscreener-embed.is-empty {
  padding-bottom: 0;
  min-height: 240px;
}

.chart-fallback a {
  color: var(--lime);
}

.steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.step-n {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--hedge);
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.3rem;
}

.steps h3 {
  margin: 0 0 6px;
  font-family: var(--display);
}

.steps p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.steps code {
  font-family: var(--mono);
  font-size: 0.8rem;
  word-break: break-all;
  color: var(--cream);
}

.step-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.network-spec {
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.network-spec h3 {
  margin: 0 0 12px;
  font-family: var(--display);
}

.network-spec dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.network-spec dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.network-spec dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion details {
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 16px 4px;
}

.accordion summary {
  cursor: pointer;
  font-weight: 800;
  padding: 14px 0;
}

.accordion p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.accordion a {
  color: var(--lime);
}

.footer {
  padding: 40px 28px 56px;
  border-top: 1px solid var(--line);
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-links a {
  color: var(--lime);
  font-weight: 700;
}

.legal,
.copy {
  color: var(--muted);
  font-size: 0.86rem;
}

.legal a {
  color: var(--cream);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 14, 10, 0.92);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 28px 12px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  margin: 0;
  max-height: 88vh;
}

.lightbox img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 16px;
}

.lightbox figcaption {
  text-align: center;
  margin-top: 12px;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--hedge);
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-nav {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--hedge);
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--forest);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .btn {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero,
  .lore-grid,
  .cards,
  .gallery-grid,
  .network-spec dl {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .lightbox-nav {
    justify-self: center;
  }
}
