:root {
  --ink: #16110d;
  --ink-soft: #4a4038;
  --paper: #f3ead6;
  --sheet: #fff8ea;
  --mint: #3ddc84;
  --mint-deep: #1f8a55;
  --forest: #0e3d2d;
  --velvet: #08241b;
  --gold: #efc24d;
  --gold-deep: #c89a18;
  --cream: #fffdf6;
  --line: #1b1612;
  --punch: #d94b3d;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Nunito", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(61, 220, 132, 0.2), transparent 42%),
    radial-gradient(circle at 100% 30%, rgba(239, 194, 77, 0.16), transparent 28%),
    radial-gradient(circle at 0 80%, rgba(14, 61, 45, 0.12), transparent 30%),
    repeating-linear-gradient(
      90deg,
      rgba(22, 17, 13, 0.03) 0 1px,
      transparent 1px 72px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(22, 17, 13, 0.03) 0 1px,
      transparent 1px 72px
    ),
    var(--paper);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

a {
  color: inherit;
}

button,
.btn {
  font: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
}

.display {
  font-family: "Bangers", "Impact", sans-serif;
  letter-spacing: 0.05em;
  line-height: 0.9;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--gold);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page {
  width: min(1240px, calc(100% - 20px));
  margin: 18px auto 36px;
  background:
    radial-gradient(circle at 28px 80px, #d9c7a4 0 8px, transparent 9px),
    radial-gradient(circle at 28px 200px, #d9c7a4 0 8px, transparent 9px),
    radial-gradient(circle at 28px 320px, #d9c7a4 0 8px, transparent 9px),
    linear-gradient(90deg, #efe0c4 0 56px, transparent 56px),
    var(--sheet);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow:
    0 0 0 8px #efe3c8,
    12px 16px 0 var(--ink);
  overflow: hidden;
  padding-left: 20px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 4px solid var(--ink);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.07em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-mint { background: var(--mint); }
.btn-gold { background: var(--gold); }
.btn-ink {
  background: var(--forest);
  color: var(--cream);
}

.btn.is-copied {
  background: var(--mint);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--gold);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--ink);
  position: relative;
}

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

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.mobile-drawer {
  display: none;
}

/* HERO */
.hero {
  padding: 48px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  align-items: center;
}

.hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(4.6rem, 11vw, 8.4rem);
}

.speech {
  position: relative;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 30px 30px 30px 10px;
  padding: 18px 20px 16px;
  margin-bottom: 20px;
  box-shadow: 8px 8px 0 var(--ink);
}

.speech::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -18px;
  width: 22px;
  height: 18px;
  background: var(--cream);
  border-left: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.speech strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Bangers", Impact, sans-serif;
  letter-spacing: 0.06em;
  font-size: 1.35rem;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 16px;
}

.ca-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff3c4;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
}

.ca-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ca-value {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.84rem;
  word-break: break-all;
  flex: 1 1 180px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 520px;
}

.hero-well {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: min(92%, 460px);
  height: 42%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.85), rgba(61, 220, 132, 0.35) 42%, transparent 72%);
  border-radius: 50%;
}

.hero-ring {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(70%, 340px);
  height: 88px;
  transform: translateX(-50%);
  border: 10px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ink), inset 0 0 0 3px var(--ink);
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
}

/* ABOUT */
.about {
  padding: 36px 0 8px;
}

.chart {
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 12px,
      transparent 12px 24px
    ),
    var(--forest);
  color: var(--cream);
}

.chart-head h2 {
  margin: 10px 0 0;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.seal {
  width: 78px;
  height: 78px;
  padding: 7px;
  background: var(--cream);
  border: 4px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ink);
}

.seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chart-body {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  padding: 26px;
}

.about-art {
  background:
    radial-gradient(circle at 50% 40%, rgba(239, 194, 77, 0.18), transparent 60%),
    #0b2d22;
  border: 4px solid var(--ink);
  border-radius: 24px;
  padding: 12px;
}

.about-art img {
  width: 100%;
}

.ruled {
  background-image: repeating-linear-gradient(
    transparent,
    transparent 33px,
    rgba(22, 17, 13, 0.08) 33px,
    rgba(22, 17, 13, 0.08) 34px
  );
  padding-top: 4px;
}

.ruled p {
  margin: 0 0 18px;
  font-size: 1.08rem;
}

.traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.trait {
  padding: 12px 14px;
  background: #ddf8e8;
  border: 3px solid var(--ink);
  border-radius: 16px;
  font-weight: 800;
}

/* HOW TO BUY */
.howto {
  padding: 58px 0 12px;
}

.howto-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.howto-head h2 {
  margin: 10px 0 0;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

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

.cell {
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 22px;
  padding: 16px;
  min-height: 236px;
  box-shadow: 5px 5px 0 var(--ink);
}

.cell:nth-child(1) { background: #fff7d6; }
.cell:nth-child(2) { background: #ddf8e8; }
.cell:nth-child(3) { background: #e8f3ff; }
.cell:nth-child(4) { background: #ffe6de; }

.cell-num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.45rem;
}

.cell h3 {
  margin: 14px 0 8px;
  font-size: 1.7rem;
}

.cell p {
  margin: 0;
  color: var(--ink-soft);
}

.howto-art {
  margin-top: 22px;
  background:
    radial-gradient(circle at 70% 20%, rgba(239, 194, 77, 0.28), transparent 28%),
    #071912;
  border: 4px solid var(--ink);
  border-radius: 32px;
  padding: 16px;
  box-shadow: 8px 8px 0 var(--ink);
}

.howto-art img {
  width: 100%;
  margin: 0 auto;
}

/* COMMUNITY */
.community {
  padding: 56px 0 42px;
}

.poster {
  background:
    radial-gradient(circle at 50% 0, rgba(239, 194, 77, 0.18), transparent 36%),
    linear-gradient(180deg, #14513d, var(--velvet));
  color: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 34px;
  padding: 28px 22px 22px;
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center;
}

.poster .kicker {
  background: var(--gold);
  color: var(--ink);
}

.poster h2 {
  margin: 12px 0 10px;
  font-size: clamp(3rem, 8vw, 5.4rem);
}

.poster > p {
  max-width: 50ch;
  margin: 0 auto 20px;
}

.banner-hold {
  background: #06150f;
  border: 3px solid var(--gold);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 0 0 4px var(--ink);
}

.banner-hold img {
  width: 100%;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

/* FOOTER */
.footer {
  border-top: 4px solid var(--ink);
  padding: 20px 0 28px;
  background: #fff3cf;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Bangers", Impact, sans-serif;
  letter-spacing: 0.06em;
  font-size: 1.3rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.footer small {
  color: var(--ink-soft);
}

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

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-drawer {
    display: block;
    max-height: 0;
    overflow: hidden;
  }

  .mobile-drawer.is-open {
    max-height: 340px;
    border-top: 3px solid var(--ink);
    padding-bottom: 10px;
  }

  .mobile-drawer a {
    display: block;
    padding: 12px 4px;
    font-weight: 800;
    text-decoration: none;
  }

  .page {
    background: var(--sheet);
    box-shadow: 8px 10px 0 var(--ink);
  }

  .hero-grid,
  .chart-body,
  .strip {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 0;
    order: -1;
  }

  .howto-head,
  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .footer-inner {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 4.4rem;
  }

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

  .ca-strip .btn {
    width: 100%;
  }
}
