@font-face {
  font-family: 'Sniglet';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/sniglet-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Comic Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/comic-neue-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Comic Neue';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/comic-neue-700.woff2') format('woff2');
}

:root {
  --fd: 'Sniglet', sans-serif;
  --fb: 'Comic Neue', cursive;
  --cream: #FFFFEE;
  --sun: #FFF8C2;
  --lime: #B5E61D;
  --green: #22B14C;
  --yellow: #FFF200;
  --ink: #111;
  --tan: #F0E0D6;
  --chan: #D6DAF0;
  --chan-bg: #EEF2FF;
  --anon: #117743;
  --gt: #789922;
  --red: #AF0A0F;
  --navy: #0F0C5D;
  --mute: #A8A8A0;
  --postno: #800000;
  --arrow: #B7C5D9;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: auto; background: var(--cream); }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--fb);
  -webkit-font-smoothing: antialiased;
  min-width: 0;
}
img { max-width: 100%; height: auto; display: block; }
button, a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--fd); line-height: 0.95; margin: 0; }
h2 { font-size: clamp(44px, 6vw, 72px); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.grain {
  position: fixed; inset: 0;
  background: url('../assets/paper-grain.png');
  background-size: 420px 420px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 80;
  mix-blend-mode: multiply;
}

/* Jagged official-style buttons */
.jag {
  text-decoration: none;
  display: inline-flex;
  background: var(--ink);
  padding: 3px 7px 9px 3px;
  clip-path: polygon(2% 8%, 22% 0%, 48% 6%, 76% 1%, 99% 9%, 96% 46%, 100% 88%, 70% 100%, 41% 94%, 14% 100%, 0% 84%, 4% 42%);
  transform: rotate(-1.5deg);
  transition: transform 0.15s ease;
  cursor: pointer;
  border: 0;
  color: var(--ink);
}
.jag span {
  display: block;
  padding: 12px 22px;
  font-family: var(--fd);
  font-size: 18px;
  line-height: 1;
  clip-path: polygon(0% 6%, 25% 2%, 50% 8%, 78% 0%, 100% 7%, 97% 50%, 100% 92%, 68% 100%, 40% 95%, 12% 100%, 1% 88%, 3% 40%);
  white-space: nowrap;
}
.jag-lime span { background: var(--lime); color: var(--ink); }
.jag-green span { background: var(--green); color: #fff; }
.jag-white span { background: #fff; color: var(--ink); }
.jag-yellow span { background: var(--yellow); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .jag:hover { transform: rotate(0deg) scale(1.07); }
  .jag:hover span { background: var(--yellow); color: var(--ink); }
  a:hover { color: var(--green); }
}
.rot-l { transform: rotate(-1.2deg); }
.rot-r { transform: rotate(1.1deg); }

.chip {
  display: inline-flex;
  background: var(--ink);
  padding: 2px 5px 6px 2px;
  clip-path: polygon(1% 3%, 30% 0%, 62% 2%, 99% 0%, 97% 50%, 100% 97%, 66% 100%, 35% 97%, 3% 100%, 0% 45%);
}
.chip > * , .chip {
  font-size: 13px;
  font-weight: 700;
}
.chip {
  color: var(--ink);
  padding: 6px 10px 8px;
}
.chip-tan { background: var(--tan); box-shadow: 3px 3px 0 var(--ink); }
.chip-yellow { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); clip-path: polygon(0% 0%, 45% 3%, 100% 1%, 98% 40%, 100% 100%, 55% 97%, 0% 100%, 2% 55%); }

/* Loader */
.loader {
  position: fixed; inset: 0;
  z-index: 200;
  background: var(--sun);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.loader-wipe {
  position: absolute; inset: 0;
  background: var(--lime);
  clip-path: inset(0 0 0 0);
  pointer-events: none;
}
.loader-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}
.loader-logo {
  width: min(42vw, 180px);
  height: auto;
  filter: drop-shadow(6px 6px 0 var(--ink));
  animation: wob 1.4s ease-in-out infinite;
}
.loader-word {
  font-family: var(--fd);
  font-size: clamp(72px, 18vw, 160px);
  line-height: 0.8;
  color: var(--lime);
  -webkit-text-stroke: 4px var(--ink);
  text-shadow: 8px 8px 0 var(--green);
  letter-spacing: -0.02em;
}
.loader-kicker { font-weight: 700; font-size: 16px; }
.loader.is-out { pointer-events: none; }
.loader.is-out .loader-wipe { transition: clip-path 0.9s cubic-bezier(.77,0,.18,1); }

/* Toast */
.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--lime);
  font-family: var(--fd);
  font-size: 16px;
  padding: 12px 18px;
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  clip-path: polygon(2% 8%, 22% 0%, 48% 6%, 76% 1%, 99% 9%, 96% 46%, 100% 88%, 70% 100%, 41% 94%, 14% 100%, 0% 84%, 4% 42%);
  transition: opacity 0.2s, transform 0.2s;
  max-width: min(92vw, 420px);
  text-align: center;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--pad);
  border-bottom: 3px solid var(--ink);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  min-height: 72px;
}
.nav.is-solid { background: var(--cream); }
.nav-brand { display: flex; align-items: center; min-width: 0; }
.nav-brand img {
  height: 52px;
  width: auto;
  mix-blend-mode: multiply;
}
.nav-links {
  display: none;
  gap: 28px;
  font-family: var(--fd);
  font-size: 20px;
  letter-spacing: 0.02em;
}
.nav-links a { text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-copy {
  display: none;
  border: 3px solid var(--ink);
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 10px;
  cursor: pointer;
  clip-path: polygon(0% 8%, 20% 0%, 100% 6%, 96% 100%, 8% 94%);
}
.nav-buy span { padding: 10px 16px; font-size: 16px; }
.nav-menu {
  display: inline-flex;
  background: var(--ink);
  padding: 3px 6px 8px 3px;
  border: 0;
  cursor: pointer;
  clip-path: polygon(3% 1%, 50% 0%, 97% 4%, 100% 60%, 96% 100%, 40% 98%, 0% 100%, 1% 40%);
}
.nav-menu span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 44px;
  background: var(--lime);
  font-family: var(--fd);
  font-size: 24px;
  clip-path: polygon(4% 3%, 52% 1%, 98% 6%, 99% 62%, 95% 97%, 42% 95%, 1% 98%, 3% 38%);
}
.nav-drawer {
  position: sticky;
  top: 72px;
  z-index: 59;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--pad) 20px;
}
.nav-drawer a {
  text-decoration: none;
  font-family: var(--fd);
  font-size: 28px;
  padding: 8px 0;
  border-bottom: 2px dashed var(--ink);
}
.nav-drawer .jag { margin-top: 12px; align-self: stretch; justify-content: center; }
.nav-drawer .jag span { flex: 1; text-align: center; }

@media (min-width: 1150px) {
  .nav-links, .nav-copy { display: flex; }
  .nav-menu, .nav-drawer { display: none !important; }
  .nav-brand img { height: 64px; }
}

/* Rails */
.rail-wrap { overflow: hidden; width: 100%; max-width: 100%; }
.rail {
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--lime);
  font-family: var(--fd);
  line-height: 1;
}
.rail-top {
  background: var(--yellow);
  font-size: clamp(18px, 2.4vw, 28px);
  padding: 8px 0;
}
.rail-big {
  background: var(--lime);
  font-size: clamp(28px, 4vw, 44px);
  padding: 12px 0;
}
.rail-track { display: flex; width: max-content; will-change: transform; }
.rail-item { padding-right: 32px; white-space: nowrap; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 8px;
  padding: 16px var(--pad) 24px;
  background: var(--sun);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  min-height: calc(100svh - 120px);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-title {
  position: relative;
  font-size: clamp(84px, 22vw, 200px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--lime);
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  text-shadow: 8px 8px 0 var(--green);
}
.hero-title .ghost {
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 4px var(--ink);
  text-shadow: none;
  transform: translate(10px, 8px);
  pointer-events: none;
  opacity: 0.35;
}
.hero-title .letters { position: relative; display: inline-block; }
.hero-title .letters span {
  display: inline-block;
  will-change: transform;
}
.hero-lede {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.4;
  max-width: 30ch;
  text-wrap: pretty;
}
.ca-panel {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 3px solid var(--ink);
  border-bottom-width: 6px;
  border-right-width: 6px;
  clip-path: polygon(0% 6%, 30% 0%, 65% 5%, 100% 0%, 99% 100%, 60% 94%, 25% 100%, 0% 96%);
  max-width: 620px;
  transform: rotate(-0.6deg);
  min-width: 0;
}
.ca-label {
  padding: 14px 14px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ca-value {
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  flex: 1;
  min-width: 0;
  align-self: center;
  letter-spacing: -0.02em;
}
.ca-copy {
  border: 0;
  border-left: 3px solid var(--ink);
  background: var(--lime);
  font-family: var(--fb);
  font-weight: 700;
  font-size: 15px;
  padding: 0 16px;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
  .ca-copy:hover { background: var(--yellow); }
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-ctas .jag span { padding: 12px 18px; font-size: 16px; }
.anti-scam { font-size: 13px; font-weight: 700; color: #333; max-width: 42ch; }

.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 240px;
  pointer-events: none;
}
.hero-sunburst {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 140%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, #B5E61D 0deg 7deg, #FFF8C2 7deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 68%);
  mask-image: radial-gradient(circle, #000 30%, transparent 68%);
  animation: spinburst 36s linear infinite;
}
.hero-disc {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(78%, 420px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 10px var(--green), 0 0 0 13px var(--ink);
}
.hero-mascot {
  position: relative;
  z-index: 2;
  width: min(98vw, 620px);
  max-width: none;
  transform-origin: 60% 80%;
  animation: wob 3.2s ease-in-out infinite;
  margin-bottom: -10%;
  filter: drop-shadow(0 18px 0 rgba(17,17,17,.08));
}
.hero-sticker {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 6%;
  max-width: min(200px, 52%);
  background: var(--ink);
  padding: 3px 8px 10px 3px;
  clip-path: polygon(3% 1%, 50% 0%, 97% 4%, 100% 60%, 96% 100%, 40% 98%, 0% 100%, 1% 40%);
  pointer-events: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
.hero-sticker {
  color: var(--ink);
  background: #fff;
  box-shadow: 4px 6px 0 var(--ink);
  padding: 12px 14px;
  clip-path: polygon(3% 1%, 50% 0%, 97% 4%, 100% 60%, 96% 100%, 40% 98%, 0% 100%, 1% 40%);
}

@media (max-width: 899px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 8px var(--pad) 18px;
    gap: 6px;
  }
  /* Stack: large mascot on top, then wordmark, copy, CA, CTAs. No overlap. */
  .hero-art {
    position: relative;
    order: -1;
    right: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    height: min(36svh, 300px);
    z-index: 1;
    opacity: 1;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
  }
  .hero-sunburst {
    width: min(120%, 380px);
    top: 48%;
  }
  .hero-disc {
    width: min(46%, 190px);
    top: 58%;
  }
  .hero-mascot {
    width: auto;
    height: 100%;
    max-width: min(82vw, 300px);
    margin: 0 auto;
    animation: none;
  }
  .hero-sticker { display: none; }
  .hero-copy {
    padding-right: 0;
    gap: 10px;
    z-index: 2;
    max-width: none;
  }
  .hero-title {
    font-size: clamp(64px, 18vw, 96px);
    -webkit-text-stroke: 3px var(--ink);
    text-shadow: 5px 5px 0 var(--green);
  }
  .hero-lede { max-width: none; }
}

/* Short phones: keep Buy, CA, Copy, X on the first screen */
@media (max-width: 899px) and (max-height: 700px) {
  .hero { padding-top: 4px; padding-bottom: 12px; gap: 4px; }
  .hero-art { height: min(30svh, 200px); }
  .hero-copy { gap: 8px; }
  .hero-title { font-size: clamp(56px, 16vw, 72px); }
  .hero-lede { font-size: 15px; line-height: 1.3; }
  .hero-ctas { gap: 8px; }
  .hero-ctas .jag span { padding: 10px 14px; font-size: 15px; }
  .anti-scam { font-size: 12px; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 12px;
    padding: clamp(24px, 5vw, 64px) var(--pad) 48px;
    min-height: calc(100svh - 130px);
  }
  .hero-art { min-height: 560px; pointer-events: none; }
  .hero-disc { width: min(58%, 440px); top: 58%; }
  .hero-mascot { width: min(70vw, 860px); margin-bottom: -14%; }
  .hero-sticker { left: -2%; max-width: 220px; font-size: 16px; pointer-events: none; }
  .hero-title { font-size: clamp(110px, 14vw, 200px); }
}

/* Lore / era pin */
.era { background: var(--cream); border-bottom: 3px solid var(--ink); }
.era-pin { position: relative; }
.era-sticky {
  padding: 48px var(--pad) 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.section-kicker {
  font-family: var(--fd);
  font-size: clamp(28px, 4vw, 44px);
}
.era-year {
  font-family: var(--fd);
  font-size: clamp(72px, 16vw, 180px);
  line-height: 0.8;
  color: var(--lime);
  -webkit-text-stroke: 4px var(--ink);
  text-shadow: 6px 6px 0 var(--green);
  letter-spacing: -0.03em;
}
.era-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
.greentext-card {
  background: var(--tan);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 16px 18px;
  transform: rotate(-0.5deg);
  clip-path: polygon(0% 1%, 32% 0.5%, 60% 1.5%, 100% 0.5%, 99% 52%, 99% 98%, 64% 99.5%, 36% 98%, 2% 99%, 1% 43%);
}
.greentext-card header { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; margin-bottom: 8px; }
.anon { color: var(--anon); font-weight: 700; }
.postno { color: var(--postno); }
.gt { color: var(--gt); }
.era-stage {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.era-img {
  position: absolute;
  max-height: 280px;
  width: auto;
  max-width: min(100%, 360px);
  opacity: 0;
  transform: translateX(-12%) scale(0.92);
}
.era-img.is-on { opacity: 1; }
.era-stamp {
  position: absolute;
  right: 4%;
  bottom: 8%;
  font-family: var(--fd);
  font-size: clamp(18px, 3vw, 32px);
  background: var(--yellow);
  border: 3px solid var(--ink);
  padding: 8px 12px;
  transform: rotate(-8deg);
  opacity: 0;
  box-shadow: 4px 4px 0 var(--ink);
}
.era-what {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.45;
  text-wrap: pretty;
  min-height: 3.2em;
  font-weight: 700;
}
.era-after {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 24px var(--pad) 80px;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
}
.timeline li {
  display: grid;
  grid-template-columns: clamp(100px, 26vw, 150px) minmax(0, 1fr);
  border-bottom: 3px solid var(--ink);
}
.timeline li:last-child { border-bottom: 0; }
.timeline .when {
  padding: 18px 10px;
  background: var(--lime);
  border-right: 3px solid var(--ink);
  font-family: var(--fd);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.timeline .what {
  padding: 18px 16px;
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}
.lore-side { display: flex; flex-direction: column; gap: 18px; }
.polaroid {
  background: var(--ink);
  padding: 3px 9px 11px 3px;
  clip-path: polygon(0% 0%, 45% 1.5%, 100% 0.5%, 98% 40%, 100% 100%, 55% 98.5%, 0% 100%, 2% 55%);
}
.polaroid img { width: 100%; background: #fff; }
.archive-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 0;
}
.archive-box a { color: var(--ink); }
@media (min-width: 900px) {
  .era-grid, .era-after { grid-template-columns: 1fr 1fr; align-items: start; }
  .era-stage { min-height: 380px; }
  .era-img { max-height: 360px; max-width: 440px; }
}

/* Versus */
.versus {
  background: var(--chan);
  border-top: 3px solid var(--ink);
  padding: 72px var(--pad) 80px;
}
.versus h2 { color: var(--navy); margin-bottom: 28px; }
.versus-table {
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  max-width: var(--max);
  transform: rotate(0.4deg);
}
.versus-head, .versus-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.versus-head {
  font-family: var(--fd);
  font-size: clamp(22px, 3vw, 28px);
  border-bottom: 3px solid var(--ink);
}
.versus-head div:first-child {
  padding: 18px 16px;
  background: var(--ink);
  color: #fff;
}
.versus-head div:last-child {
  padding: 18px 16px;
  background: var(--lime);
}
.versus-row { border-bottom: 2px dashed var(--ink); font-size: clamp(15px, 1.6vw, 17px); }
.versus-row:last-child { border-bottom: 0; }
.versus-row div { padding: 14px 16px; }
.versus-row div:first-child { color: #555; }
.versus-row div:last-child { font-weight: 700; }

/* Billboard */
.billboard {
  position: relative;
  border-top: 3px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
}
.billboard img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: center 32%;
}
.billboard-caption {
  position: absolute;
  left: var(--pad);
  bottom: clamp(16px, 4vw, 40px);
  background: var(--yellow);
  font-family: var(--fd);
  font-size: clamp(18px, 3vw, 36px);
  padding: 12px 18px;
  max-width: min(90%, 20ch);
  transform: rotate(-2deg);
  box-shadow: 5px 5px 0 var(--ink);
  clip-path: polygon(0% 2%, 32% 1%, 60% 4%, 100% 1%, 98% 52%, 99% 95%, 64% 99%, 36% 95%, 2% 98%, 1% 43%);
}

/* Tokenomics */
.tokenomics {
  background: var(--green);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 80px var(--pad);
}
.tokenomics-head { max-width: var(--max); margin: 0 auto 32px; }
.tokenomics h2 {
  color: #fff;
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 5px 5px 0 var(--ink);
  paint-order: stroke fill;
}
.claim-note { margin-top: 12px; font-weight: 700; color: #fff; font-size: 15px; text-shadow: 1px 1px 0 var(--ink); }
.claim-note a { color: var(--yellow); }
.tok-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}
.tok-card {
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 6px 8px 0 var(--ink);
  padding: 26px 24px;
  clip-path: polygon(1% 3%, 30% 0%, 62% 2%, 99% 0%, 97% 50%, 100% 97%, 66% 100%, 35% 97%, 3% 100%, 0% 45%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tok-card:nth-child(2) { clip-path: polygon(0% 0%, 45% 3%, 100% 1%, 98% 40%, 100% 100%, 55% 97%, 0% 100%, 2% 55%); }
.tok-card:nth-child(3) { clip-path: polygon(3% 1%, 50% 0%, 97% 4%, 100% 60%, 96% 100%, 40% 98%, 0% 100%, 1% 40%); }
.tok-card:nth-child(4) { clip-path: polygon(0% 4%, 38% 0%, 70% 3%, 100% 0%, 100% 45%, 97% 100%, 60% 97%, 20% 100%, 2% 96%, 0% 50%); }
.tok-card .label { font-family: var(--fd); font-size: 18px; letter-spacing: 0.06em; }
.tok-card .value { font-family: var(--fd); font-size: clamp(28px, 5vw, 42px); line-height: 1.05; }
.tok-card p { font-size: 15px; line-height: 1.4; }
@media (min-width: 800px) {
  .tok-grid { grid-template-columns: 1fr 1fr; }
}

.coin-wrap {
  max-width: var(--max);
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.coin-kicker { font-family: var(--fd); font-size: clamp(22px, 3vw, 32px); color: var(--yellow); }
.coin-stage {
  width: min(100%, 360px);
  aspect-ratio: 1;
  cursor: grab;
  touch-action: none;
}
.coin-stage:active { cursor: grabbing; }
.coin-hint { font-weight: 700; font-size: 14px; text-align: center; }

/* How to buy */
.howto {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 80px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.step {
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 5px 6px 0 var(--ink);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  clip-path: polygon(1% 1%, 30% 0%, 62% 1%, 99% 0%, 98% 50%, 100% 99%, 66% 100%, 35% 99%, 2% 100%, 0% 45%);
}
.step:nth-child(2) { clip-path: polygon(0% 0%, 45% 1.5%, 100% 0.5%, 98% 40%, 100% 100%, 55% 98.5%, 0% 100%, 2% 55%); }
.step:nth-child(3) { clip-path: polygon(3% 0.5%, 50% 0%, 97% 2%, 100% 60%, 96% 100%, 40% 99%, 0% 100%, 1% 40%); }
.step:nth-child(4) { clip-path: polygon(0% 2%, 38% 0%, 70% 1.5%, 100% 0%, 100% 45%, 97% 100%, 60% 98.5%, 20% 100%, 2% 98%, 0% 50%); }
.step .n {
  font-family: var(--fd);
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--lime);
  border: 3px solid var(--ink);
}
.step h3 { font-size: 26px; }
.step p { font-size: 16px; line-height: 1.45; }
.step-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.step-actions .jag span { padding: 10px 14px; font-size: 15px; }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Crawler */
.crawler {
  position: relative;
  height: 160px;
  overflow: hidden;
  border-top: 3px solid var(--ink);
  background: var(--sun);
}
.crawler-img {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 150px;
  width: auto;
  mix-blend-mode: multiply;
  animation: crawl 22s linear infinite;
}

/* Memes */
.memes {
  background: var(--tan);
  border-top: 3px solid var(--ink);
  padding: 80px var(--pad) 96px;
}
.memes h2 { margin-bottom: 32px; }
.meme-wall {
  columns: 1;
  column-gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}
.meme {
  break-inside: avoid;
  margin: 0 0 22px;
  background: var(--ink);
  padding: 3px 7px 10px 3px;
  clip-path: polygon(1% 1%, 30% 0%, 62% 1%, 99% 0%, 98% 50%, 100% 99%, 66% 100%, 35% 99%, 2% 100%, 0% 45%);
  transform: rotate(-0.8deg);
}
.meme:nth-child(2n) { clip-path: polygon(0% 0%, 45% 1.5%, 100% 0.5%, 98% 40%, 100% 100%, 55% 98.5%, 0% 100%, 2% 55%); transform: rotate(0.7deg); }
.meme:nth-child(3n) { clip-path: polygon(3% 0.5%, 50% 0%, 97% 2%, 100% 60%, 96% 100%, 40% 99%, 0% 100%, 1% 40%); transform: rotate(-0.4deg); }
.meme:nth-child(4n) { clip-path: polygon(0% 2%, 38% 0%, 70% 1.5%, 100% 0%, 100% 45%, 97% 100%, 60% 98.5%, 20% 100%, 2% 98%, 0% 50%); transform: rotate(1deg); }
.meme img { width: 100%; background: #fff; }
.meme.m8 img, .meme.m9 img, .meme.m10 img { background: #fff; }
.meme figcaption {
  background: #fff;
  padding: 12px 16px 16px;
  font-weight: 700;
}
@media (min-width: 700px) { .meme-wall { columns: 2; } }
@media (min-width: 1100px) { .meme-wall { columns: 3; } }

/* Thread */
.thread {
  background: var(--chan-bg);
  border-top: 3px solid var(--ink);
  padding: 80px var(--pad) 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: calc(1084px + 2 * var(--pad));
  margin: 0 auto;
}
.thread-head { text-align: center; }
.thread h2 { color: var(--red); font-size: clamp(36px, 5.5vw, 64px); }
.thread-head p { font-size: 15px; color: #34345C; margin-top: 6px; }
.op, .reply { display: flex; gap: 12px; align-items: flex-start; }
.op img {
  width: 120px;
  flex-shrink: 0;
  background: #fff;
  border: 3px solid var(--ink);
}
.op .meta, .reply .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; align-items: baseline; margin-bottom: 4px; }
.subject { color: var(--navy); font-weight: 700; font-size: 16px; }
.checked { color: var(--red); font-weight: 700; }
.ref { color: #D00; }
.arrows { color: var(--arrow); font-weight: 700; padding-top: 14px; flex-shrink: 0; }
.reply .post {
  background: var(--chan);
  padding: 14px 22px 16px 18px;
  max-width: min(100%, 720px);
  border: 3px solid var(--ink);
  clip-path: polygon(0% 1%, 32% 0.5%, 60% 1.5%, 100% 0.5%, 99% 52%, 99% 98%, 64% 99.5%, 36% 98%, 2% 99%, 1% 43%);
  font-size: 16px;
  line-height: 1.5;
}
.replies { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 700px) {
  .op img { width: 180px; }
}

/* Chart */
.chart {
  background: var(--sun);
  border-top: 3px solid var(--ink);
  padding: 80px var(--pad);
}
.chart-head { max-width: var(--max); margin: 0 auto 24px; display: flex; flex-wrap: wrap; gap: 18px; align-items: end; justify-content: space-between; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.stat { display: flex; gap: 8px; align-items: baseline; font-weight: 700; }
.stat .k { font-family: var(--fd); font-size: 13px; letter-spacing: 0.06em; }
.stat .v { font-family: var(--fd); font-size: 22px; }
.stat .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #888; align-self: center;
}
.stats.is-live .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(34,177,76,.3); }
.chart-frame {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--ink);
  padding: 4px 8px 12px 4px;
  clip-path: polygon(1% 1%, 30% 0%, 62% 1%, 99% 0%, 98% 50%, 100% 99%, 66% 100%, 35% 99%, 2% 100%, 0% 45%);
}
.chart-frame iframe {
  width: 100%;
  height: 460px;
  border: 0;
  background: #fff;
  display: block;
}
.chart-links {
  max-width: var(--max);
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* FAQ */
.faq {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 72px var(--pad) 80px;
}
.faq h2 { margin-bottom: 24px; }
.faq details {
  border-bottom: 3px solid var(--ink);
  padding: 14px 0;
}
.faq summary {
  font-family: var(--fd);
  font-size: clamp(22px, 3vw, 28px);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 10px; font-size: 17px; line-height: 1.5; max-width: 62ch; }
.faq [data-ca] { font-weight: 700; overflow-wrap: anywhere; }

/* Footer */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px var(--pad) 120px;
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-word {
  font-family: var(--fd);
  font-size: clamp(72px, 16vw, 220px);
  line-height: 0.8;
  color: var(--lime);
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: var(--fd);
  font-size: clamp(20px, 2.2vw, 28px);
}
.footer-links a { color: var(--cream); text-decoration: none; transition: color .15s, transform .15s; }
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--lime); transform: translateX(-6px) rotate(-2deg); }
}
.footer-bottom {
  max-width: var(--max);
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  border-top: 2px solid #333;
  padding-top: 32px;
}
.footer-gt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 260px;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--lime);
}
.disclaimer {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute);
  flex: 2 1 420px;
  text-wrap: pretty;
}


/* Mobile dock clearance: content can scroll fully above the sticky bar */
@media (max-width: 1149px) {
  :root { --dock-space: calc(88px + env(safe-area-inset-bottom, 0px)); }
  html {
    scroll-padding-top: 84px;
    scroll-padding-bottom: var(--dock-space);
  }
  .howto,
  .memes,
  .thread,
  .chart,
  .faq,
  .tokenomics,
  .versus,
  .era-after,
  .crawler,
  .steps .step:last-child,
  .replies .reply:last-child,
  .faq details:last-child,
  .chart-links,
  .tok-grid,
  .coin-wrap {
    scroll-margin-bottom: var(--dock-space);
  }
  .howto { padding-bottom: calc(48px + var(--dock-space)); }
  .memes { padding-bottom: calc(96px + var(--dock-space)); }
  .thread { padding-bottom: calc(96px + var(--dock-space)); }
  .chart { padding-bottom: calc(80px + var(--dock-space)); }
  .faq { padding-bottom: calc(80px + var(--dock-space)); }
  .tokenomics { padding-bottom: calc(80px + var(--dock-space)); }
  .versus { padding-bottom: calc(80px + var(--dock-space)); }
  .era-after { padding-bottom: calc(80px + var(--dock-space)); }
}

/* Dock */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  border-top: 3px solid var(--ink);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.dock.is-on { transform: translateY(0); }
.dock .jag span { padding: 12px 16px; font-size: 16px; }
@media (min-width: 1150px) {
  .dock { display: none; }
}

/* Motion */
@keyframes wob {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg) translateY(-6px); }
}
@keyframes crawl {
  from { transform: translateX(-520px); }
  to { transform: translateX(110vw); }
}
@keyframes spinburst {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-title .ghost { display: none; }
  .era-img.is-2014, .era-img.is-now { opacity: 1; position: relative; transform: none; max-height: 200px; }
  .era-img.is-spear { display: none; }
  .era-stamp { opacity: 1; }
  .crawler-img { transform: none; left: 16px; }
  .loader-wipe { display: none; }
}

/* Failsafe un-hide */
.js-reveal { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1; transform: none; }
}
