/* Direction A, "Main Street": bright daytime TV-network homepage. Teal sky, snow white,
   black bars, mustard accents, red CTAs. Chunky cut-paper display type is the star. */
@font-face { font-family: "Titan One"; src: url("../fonts/titan-one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Luckiest Guy"; src: url("../fonts/luckiest-guy.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --sky: #87b6c0;
  --sky-2: #6fa3ae;
  --snow: #ffffff;
  --snow-2: #eef3f6;
  --ink: #111111;
  --ink-2: #1d1d1f;
  --mustard: #f1c232;
  --mustard-2: #d9a514;
  --red: #d3202a;
  --red-2: #a8141c;
  --pine: #1f6b45;
  --muted: #3b4a50;
  --display: "Titan One", "Luckiest Guy", Impact, "Arial Black", sans-serif;
  --display-2: "Luckiest Guy", "Titan One", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  color: var(--ink);
  background: var(--snow-2);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; background: var(--mustard); color: var(--ink); padding: 10px 14px; z-index: 100; font-weight: 800; }
:focus-visible { outline: 4px solid var(--red); outline-offset: 3px; }
.dark :focus-visible, .bar-nav :focus-visible, .foot :focus-visible { outline-color: var(--mustard); }

/* Falling snow + click-to-throw */
#snowfall { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; opacity: .9; }
.splat {
  position: fixed; width: 76px; height: 76px; margin: -38px 0 0 -38px; pointer-events: none; z-index: 60;
  background: radial-gradient(circle, #fff 0 36%, transparent 38%),
    radial-gradient(circle at 12% 22%, #fff 0 9%, transparent 10%),
    radial-gradient(circle at 88% 28%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at 24% 86%, #fff 0 7%, transparent 8%),
    radial-gradient(circle at 80% 82%, #fff 0 10%, transparent 11%);
  filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .55));
  animation: splat .7s ease-out forwards;
}
@keyframes splat { 0% { transform: scale(.2) rotate(-20deg); opacity: 1; } 30% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 0; } }
.hits {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; font-family: var(--display); font-size: 1rem; text-transform: uppercase;
  background: var(--mustard); color: var(--ink); padding: 8px 14px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg); opacity: 0; transition: opacity .3s;
}
.hits.on { opacity: 1; }

/* ---------- HERO: full-bleed key art + title card ---------- */
.hero {
  position: relative; background: var(--sky); overflow: hidden;
  min-height: max(47.5vw, 520px);
  display: flex; flex-direction: column;
}
.hero-art {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 100%;
}
.hero-title { position: relative; z-index: 2; text-align: center; padding: clamp(18px, 3.2vw, 44px) 12px 0; }
.eyebrow { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 clamp(6px, 1.2vw, 16px); }
.eyebrow span {
  font-family: var(--body); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(.7rem, 1.1vw, .9rem);
  background: var(--ink); color: var(--snow); padding: 6px 12px;
}
.eyebrow span:last-child { background: var(--mustard); color: var(--ink); transform: rotate(1.5deg); }
.eyebrow span:first-child { transform: rotate(-1.5deg); }

.wordmark { margin: 0; font-weight: 400; line-height: .82; filter: url(#cutpaper); }
.wm-word { display: block; white-space: nowrap; }
.wm-word > span {
  display: inline-block; font-family: var(--display); color: var(--snow);
  font-size: clamp(3.6rem, 11.6vw, 11.5rem); letter-spacing: -.01em;
  text-shadow:
    -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink),
    0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink),
    9px 10px 0 var(--ink);
  margin: 0 -.012em;
}
.wm-2 { margin-top: -.02em; }
.wm-2 > span { font-size: clamp(3.1rem, 10.2vw, 10.2rem); }
/* uneven baselines, scissor-cut jitter */
.wm-word > span:nth-child(1) { transform: translateY(.03em) rotate(-6deg); }
.wm-word > span:nth-child(2) { transform: translateY(-.05em) rotate(3deg); }
.wm-word > span:nth-child(3) { transform: translateY(.06em) rotate(-2deg); }
.wm-word > span:nth-child(4) { transform: translateY(-.02em) rotate(5deg); }
.wm-word > span:nth-child(5) { transform: translateY(.05em) rotate(-4deg); }
.wm-word > span:nth-child(6) { transform: translateY(-.06em) rotate(2deg); }
.wm-word > span:nth-child(7) { transform: translateY(.02em) rotate(-5deg); }
.wm-word > span:nth-child(8) { transform: translateY(-.03em) rotate(4deg); }
.wm-1 { transform: rotate(-2.5deg) translateX(-.18em); }
.wm-2 { transform: rotate(1.8deg) translateX(.22em); }
.wm-1 > span:nth-child(4) { color: var(--mustard); }
.wm-2 > span:nth-child(1) { color: var(--snow); }
.hero-tag {
  position: absolute; z-index: 2; right: clamp(12px, 4vw, 60px); bottom: 44%; margin: 0;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(.8rem, 1.6vw, 1.4rem);
  background: var(--red); color: var(--snow); padding: .4em .8em; transform: rotate(-4deg);
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); filter: url(#cutpaper-sm);
}

/* ---------- Black nav bar ---------- */
.bar-nav { background: var(--ink); position: sticky; top: 0; z-index: 40; border-bottom: 4px solid var(--mustard); }
.bar-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; min-height: 58px; padding-block: 6px; }
.mini-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--snow); font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .01em; }
.mini-logo img { width: 30px; height: 30px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 2px; }
.nav-links a {
  color: var(--snow); text-decoration: none; text-transform: uppercase; font-weight: 800; letter-spacing: .1em; font-size: .82rem;
  padding: 10px 14px; border-bottom: 3px solid transparent;
}
.nav-links a:hover { color: var(--mustard); border-bottom-color: var(--mustard); }
.nav-links a[aria-current="page"] { color: var(--mustard); border-bottom-color: var(--mustard); }
.nav-links a.hot { background: var(--red); color: var(--snow); border-bottom-color: var(--red); }
.nav-links a.hot:hover { background: var(--red-2); }

/* ---------- Type helpers ---------- */
h1, h2, h3 { font-weight: 400; }
.hl-y { color: var(--mustard); }
.hl-r { color: var(--red); }
.label-tag {
  display: inline-block; margin: 0 0 14px; background: var(--red); color: var(--snow); font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; font-size: .78rem; padding: 5px 10px; transform: rotate(-2deg);
}
.label-tag.live::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: 1px; animation: pulse 1.2s ease-in-out infinite; }
.row-title {
  font-family: var(--display); text-transform: uppercase; line-height: .98; margin: 0;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem); letter-spacing: -.005em;
  color: var(--ink); filter: url(#cutpaper-sm);
}
.row-lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 62ch; margin: 14px 0 0; color: var(--muted); }
.row-lede strong { color: var(--ink); font-weight: 800; }
.sub-head { font-family: var(--body); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .9rem; margin: 34px 0 12px; display: flex; align-items: center; gap: 12px; }
.sub-head::after { content: ""; flex: 1; height: 3px; background: var(--ink); }

/* ---------- Intro (headline + CTAs) ---------- */
.intro { background: var(--snow); padding: clamp(32px, 5vw, 60px) 0; border-bottom: 4px solid var(--ink); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.headline {
  font-family: var(--display); text-transform: uppercase; margin: 0; line-height: .9;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem); filter: url(#cutpaper-sm);
}
.headline span { display: inline-block; }
.headline span:nth-child(1) { transform: rotate(-2deg); }
.headline .hl-y { color: var(--snow); background: var(--red); padding: 0 .14em .04em; transform: rotate(2deg); box-shadow: 6px 6px 0 var(--ink); margin: .06em 0; }
.headline span:nth-child(3) { transform: rotate(-1deg); }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); margin: 0; }
.hint { font-size: .88rem; color: var(--muted); margin: 18px 0 0; }
.hint b { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1;
  padding: 14px 26px; border: 3px solid var(--ink); cursor: pointer; text-decoration: none;
  color: var(--ink); background: var(--snow); box-shadow: 5px 5px 0 var(--ink); transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.red { background: var(--red); color: var(--snow); }
.btn.yellow { background: var(--mustard); color: var(--ink); }
.btn.black { background: var(--ink); color: var(--snow); box-shadow: 5px 5px 0 var(--snow); }
.btn.ghost { background: transparent; }
.btn.big { font-size: clamp(1.3rem, 2.6vw, 1.9rem); padding: 18px 34px; transform: rotate(-2deg); }
.btn.big:hover { transform: rotate(-2deg) translate(-2px, -2px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--mustard); border-bottom: 4px solid var(--ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.ticker-track span { font-family: var(--display); text-transform: uppercase; font-size: clamp(1rem, 2vw, 1.4rem); padding: 10px 0; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Content rows ---------- */
.row { padding: clamp(44px, 6vw, 80px) 0; position: relative; }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding-left: 18px; border-left: 10px solid var(--mustard); }
.row-more { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--red); padding-bottom: 2px; }
.row-more::after { content: " \2192"; }
.row-more:hover { color: var(--red); }
.snowfield { background: var(--snow); border-block: 4px solid var(--ink); }
.dark { background: var(--ink); color: var(--snow); }
.dark .row-title { color: var(--snow); }
.dark .row-lede { color: #c9d3d6; }
.dark .row-head { border-left-color: var(--red); }

/* Thumbnail cards */
.thumbs { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.thumbs.two-up { grid-template-columns: repeat(2, 1fr); }
.thumb { margin: 0; background: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 rgba(0, 0, 0, .25); transition: transform .15s; overflow: hidden; }
.thumb:nth-child(odd) { transform: rotate(-.6deg); }
.thumb:nth-child(even) { transform: rotate(.5deg); }
.thumb:hover { transform: translateY(-4px) rotate(0); }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.thumb-label {
  margin: 0; padding: 12px 14px; color: var(--snow); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; line-height: 1.3;
}
.thumb-label b { color: var(--mustard); margin-right: 6px; }
.thumb-label b::after { content: ":"; }
.thumb-label b.new { background: var(--mustard); color: var(--ink); padding: 1px 6px; }
.thumb-label b.new::after { content: ""; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.fact { background: var(--sky); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 14px 18px; display: flex; align-items: center; gap: 14px; }
.fact:nth-child(2) { background: var(--mustard); transform: rotate(.8deg); }
.fact:nth-child(3) { background: var(--red); color: var(--snow); transform: rotate(-.8deg); }
.fact b { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 6vw, 4.8rem); line-height: 1; color: var(--snow); text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink); }
.fact span { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; }

/* Power-ups */
.powerups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pu { border: 3px solid var(--ink); padding: 16px 18px; box-shadow: 5px 5px 0 var(--ink); }
.pu b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; }
.pu span { font-weight: 800; }
.pu-yellow { background: #ffe14d; transform: rotate(-1deg); }
.pu-cocoa { background: #6b3f22; color: var(--snow); transform: rotate(.7deg); }
.pu-present { background: var(--pine); color: var(--snow); transform: rotate(-.5deg); background-image: linear-gradient(90deg, transparent 46%, var(--red) 46% 54%, transparent 54%); }

/* Streaks */
.streaks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.streaks li { display: flex; align-items: stretch; border: 3px solid var(--ink); font-family: var(--display); text-transform: uppercase; box-shadow: 4px 4px 0 var(--ink); }
.streaks b { font-weight: 400; padding: 8px 14px; background: var(--snow); }
.streaks span { padding: 8px 12px; background: var(--ink); color: var(--mustard); }
.streaks li:nth-child(1) { transform: rotate(-2deg); }
.streaks li:nth-child(2) { transform: rotate(1.5deg); }
.streaks li:nth-child(2) b { background: var(--sky); }
.streaks li:nth-child(3) { transform: rotate(-1deg); }
.streaks li:nth-child(3) b { background: var(--mustard); }
.streaks li:nth-child(4) { transform: rotate(2deg); }
.streaks li:nth-child(4) b { background: var(--red); color: var(--snow); }
.wildcard { margin: 32px 0 0; font-weight: 800; font-size: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.wildcard .label-tag { margin: 0; background: var(--ink); }

/* Pull quote */
.quote { background: var(--mustard); border-bottom: 4px solid var(--ink); padding: clamp(36px, 6vw, 80px) 0; overflow: hidden; }
.quote-grid { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(16px, 4vw, 48px); }
.quote img { width: clamp(120px, 18vw, 240px); transform: rotate(-6deg); filter: drop-shadow(6px 6px 0 var(--ink)); }
.quote blockquote { margin: 0; }
.quote blockquote p {
  margin: 0; font-family: var(--display); text-transform: uppercase; line-height: .9;
  font-size: clamp(2.6rem, 8vw, 7.4rem); color: var(--snow); filter: url(#cutpaper);
  text-shadow: -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink), 8px 9px 0 var(--ink);
}
.quote blockquote p::before { content: "\201C"; color: var(--red); }
.quote blockquote p::after { content: "\201D"; color: var(--red); }
.quote footer { margin-top: 16px; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); text-transform: uppercase; display: inline-block; background: var(--ink); color: var(--snow); padding: 4px 16px; transform: rotate(-2deg); }

/* Competitive */
.comp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.board-card { background: var(--snow); color: var(--ink); border: 4px solid var(--mustard); box-shadow: 10px 10px 0 var(--red); padding: 22px; transform: rotate(1deg); }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; }
.tabs { display: flex; gap: 4px; font-family: var(--body); }
.tabs i { font-style: normal; font-weight: 800; font-size: .72rem; letter-spacing: .1em; padding: 5px 9px; border: 2px solid var(--ink); }
.tabs i.on { background: var(--ink); color: var(--mustard); }
.board { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: r; }
.board li { counter-increment: r; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; padding: 12px 6px; border-bottom: 3px dashed #c8d2d6; font-weight: 800; }
.board li::before { content: "#" counter(r); font-family: var(--display); font-size: 1.4rem; color: var(--red); }
.board .who { color: #59666b; font-style: italic; }
.board li:first-child .who { color: var(--ink); }
.board .pts { font-family: var(--display); color: #8a979c; }
.fine { font-size: .9rem; color: var(--muted); }
.board-card .fine { margin: 12px 0 0; }

/* Cast */
.cast { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cast li { text-align: center; }
.cast img { width: 100%; max-width: 200px; margin: 0 auto; filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, .3)); }
.cast span {
  display: inline-block; margin-top: 6px; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  background: var(--ink); color: var(--mustard); padding: 2px 14px; transform: rotate(-3deg);
}
.cast li:nth-child(even) span { transform: rotate(2deg); background: var(--red); color: var(--snow); }

/* Town */
.town { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; margin-top: 26px; align-items: start; }
.town .big img { aspect-ratio: 5 / 4; }
.thumbs.stack { grid-template-columns: 1fr; margin: 0; gap: 14px; }
.thumbs.stack .thumb { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.thumbs.stack .thumb-label { font-size: .85rem; }

/* REC */
.rec { background: var(--red); color: var(--snow); padding: clamp(36px, 5vw, 64px) 0; border-bottom: 4px solid var(--ink); }
.rec-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 4vw, 48px); align-items: center; }
.rec .row-title { color: var(--snow); font-size: clamp(2.2rem, 5.6vw, 4.6rem); text-shadow: 5px 5px 0 var(--ink); }
.rec .row-lede { color: #ffe9ea; }
.rec-dot {
  margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 4vw, 3rem); display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--snow); padding: 10px 20px; border: 3px solid var(--snow); transform: rotate(-4deg);
}
.rec-dot::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: var(--red); animation: pulse 1s ease-in-out infinite; }

/* Token + presale */
.token { padding-bottom: 0; }
.section { padding-block: 28px clamp(48px, 6vw, 80px); }
.panel { background: var(--snow); border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: clamp(20px, 4vw, 40px); position: relative; }
.presale { box-shadow: 10px 10px 0 var(--red); }
.presale-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.presale-head h2 { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1; }
.presale-head .hl-y { background: var(--mustard); color: var(--ink); padding: 0 .12em; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .1em; font-size: .82rem; text-transform: uppercase; padding: 7px 12px; background: var(--ink); color: var(--snow); }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff4b55; animation: pulse 1.2s ease-in-out infinite; }
.status[data-phase="upcoming"]::before { background: var(--mustard); }
.status[data-phase="ended"] { background: #59666b; }
.status[data-phase="ended"]::before { animation: none; background: #c8d2d6; }
@keyframes pulse { 50% { opacity: .25; } }
.raised { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 18px 0 10px; }
.raised .amt { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.8rem); color: var(--red); line-height: 1; font-variant-numeric: tabular-nums; }
.raised .of { color: var(--muted); font-weight: 800; }
.bar { height: 34px; background: var(--snow-2); border: 3px solid var(--ink); position: relative; overflow: hidden; }
.bar-fill {
  height: 100%; width: var(--p, 0%); transition: width 1s cubic-bezier(.2, .8, .2, 1);
  background: repeating-linear-gradient(-45deg, var(--mustard) 0 16px, var(--mustard-2) 16px 32px);
  background-size: 45px 45px; animation: stripes 1s linear infinite; border-right: 3px solid var(--ink);
}
@keyframes stripes { to { background-position: 45px 0; } }
.bar-pct { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); color: var(--ink); font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 18px 0 6px; }
.stat { background: var(--ink); color: var(--snow); padding: 12px 14px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.stat span { font-size: .75rem; color: var(--mustard); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.stat b span { font-size: inherit; color: inherit; letter-spacing: 0; text-transform: none; font-weight: inherit; }
.bump { animation: bump .6s ease-out; }
@keyframes bump { 30% { transform: scale(1.08); } }
.demo-tag { font-weight: 800; font-size: .72rem; letter-spacing: .1em; background: var(--mustard); color: var(--ink); padding: 3px 8px; text-transform: uppercase; }
.legal { font-size: .8rem; color: var(--muted); margin-top: 14px; }

/* Security */
.locks { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: k; display: grid; gap: 10px; }
.locks li {
  counter-increment: k; display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: baseline;
  background: var(--ink-2); border-left: 8px solid var(--mustard); padding: 14px 18px; color: #d8e0e3; font-size: 1.05rem;
}
.locks li::before { content: counter(k, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--mustard); }
.locks li:nth-child(even) { border-left-color: var(--red); }
.locks li:nth-child(even)::before { color: #ff5a63; }
.locks b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--snow); font-size: 1.3rem; letter-spacing: .01em; }

/* Countdown */
.clock { background: var(--sky); padding: clamp(44px, 6vw, 80px) 0; text-align: center; border-bottom: 4px solid var(--ink); }
.clock-title {
  margin: 0; font-family: var(--display); text-transform: uppercase; line-height: .9; color: var(--snow);
  font-size: clamp(2.6rem, 8vw, 6.4rem); filter: url(#cutpaper);
  text-shadow: -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink), 8px 9px 0 var(--ink);
}
.clock-date { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin: 14px 0 0; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 2vw, 18px); margin: 26px auto 30px; max-width: 900px; }
.countdown .unit { background: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 rgba(0, 0, 0, .3); padding: 14px 4px 10px; }
.countdown .unit:nth-child(odd) { transform: rotate(-1.5deg); }
.countdown .unit:nth-child(even) { transform: rotate(1.2deg); }
.countdown .num { display: block; font-family: var(--display); font-size: clamp(2.2rem, 8vw, 5.4rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--snow); }
.countdown .unit:nth-child(1) .num { color: var(--mustard); }
.countdown .unit:nth-child(4) .num { color: #ff5a63; }
.countdown .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: #c9d3d6; font-weight: 800; }
.live-msg, .unset-msg { display: none; font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.2rem); text-transform: uppercase; margin: 24px 0; }
[data-countdown][data-state="live"] .countdown, [data-countdown][data-state="unset"] .countdown { display: none; }
[data-countdown][data-state="live"] .live-msg, [data-countdown][data-state="unset"] .unset-msg { display: block; }

/* Register CTA */
.register { background: var(--red); padding: clamp(40px, 6vw, 72px) 0; border-bottom: 4px solid var(--ink); color: var(--snow); }
.reg-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.register .row-title { color: var(--snow); font-size: clamp(2.2rem, 5.6vw, 4.6rem); text-shadow: 5px 5px 0 var(--ink); }
.register .row-lede { color: #ffe9ea; }

/* Notify */
.channels { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.channel { display: block; text-decoration: none; color: var(--ink); padding: 22px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transition: transform .1s; }
.channel:hover { transform: translate(-3px, -3px) rotate(-.6deg); }
.channel b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1.05; margin-bottom: 4px; }
.channel > span:not(.soon) { display: block; font-weight: 800; }
.channel.tg { background: var(--sky); }
.channel.ig { background: var(--mustard); }
.channel.em { background: var(--ink); color: var(--snow); }
.channel.is-pending { opacity: .7; cursor: not-allowed; }
.channel.is-pending:hover { transform: none; }
.soon { display: inline-block; margin-top: 10px; background: var(--ink); color: var(--snow); padding: 2px 10px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.signup { margin-top: 34px; }
.signup .sub-head { margin-top: 0; }

/* Forms */
form { margin-top: 8px; }
label { display: block; font-weight: 800; }
input[type="email"], input[type="text"] {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 14px 16px;
  border: 3px solid var(--ink); background: var(--snow); color: var(--ink);
}
input::placeholder { color: #6b777c; }
input:focus { outline: 4px solid var(--mustard); outline-offset: 0; }
.inline-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.inline-form input[type="email"] { flex: 1 1 240px; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 4px 0; cursor: pointer; color: var(--muted); }
.choice.full { flex-basis: 100%; }
.choice input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--red); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error { background: var(--red); color: var(--snow); padding: 10px 14px; font-weight: 800; margin: 8px 0 0; flex-basis: 100%; }

/* Footer */
.foot { background: var(--ink); color: #c9d3d6; padding: 52px 0 64px; font-size: .95rem; border-top: 6px solid var(--red); }
.foot .wrap { display: grid; gap: 32px; }
.foot p { margin: 0; }
.foot a { color: var(--snow); font-weight: 800; }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; padding-bottom: 28px; border-bottom: 2px solid #2b2b2b; }
.foot-mark { margin: 0; font-family: var(--display); text-transform: uppercase; color: var(--snow); font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: .95; text-shadow: 5px 5px 0 var(--red); transform: rotate(-1.5deg); transform-origin: left bottom; }
.foot-label { margin: 0 0 12px; font-family: var(--body); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--mustard); }
.foot-ai-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.foot .ai { display: grid; place-items: center; width: 46px; height: 46px; background: var(--snow); color: var(--ink); border: 3px solid var(--snow); box-shadow: 4px 4px 0 var(--sky-2); position: relative; transition: transform .1s, box-shadow .1s; }
.foot .ai svg { width: 24px; height: 24px; }
.foot .ai:hover { background: var(--mustard); border-color: var(--mustard); transform: translate(-2px, -2px) rotate(-3deg); box-shadow: 6px 6px 0 var(--sky-2); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 28px 24px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; border-bottom: 2px solid transparent; }
.foot-col a:hover { border-bottom-color: var(--red); }
.foot-col a[aria-current="page"] { color: var(--mustard); }
.foot-legal { color: #9aa4a8; font-size: .85rem; }
@media (max-width: 900px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-follow { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .foot .ai { transition: none; } .foot .ai:hover { transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro-grid, .comp-grid, .town { grid-template-columns: 1fr; }
  .powerups, .facts { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: 1fr 1fr; }
  .thumbs > .thumb:nth-child(3):last-child { grid-column: span 2; }
  .channels { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-art { position: relative; order: 2; width: 150%; max-width: none; height: auto; margin: -60px 0 0 -25%; object-fit: initial; }
  .hero-title { order: 1; padding-top: 22px; }
  .wm-word > span { font-size: 16.6vw; text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 5px 6px 0 var(--ink); }
  .wm-2 > span { font-size: 14.4vw; }
  .wm-1 { transform: rotate(-2.5deg) translateX(-.08em); }
  .wm-2 { transform: rotate(1.8deg) translateX(.08em); }
  .hero-tag { bottom: 44%; right: 12px; }
  .bar-nav { position: relative; }
  .bar-nav .wrap { justify-content: center; }
  .mini-logo { display: none; }
  .nav-links { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex: none; }
  .nav-links a { padding: 9px 9px; font-size: .72rem; letter-spacing: .06em; }
  .thumbs, .thumbs.two-up { grid-template-columns: 1fr; }
  .thumbs > .thumb:nth-child(3):last-child { grid-column: auto; }
  .thumbs.stack .thumb { grid-template-columns: 1fr; }
  .cast { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .quote-grid { grid-template-columns: 1fr; justify-items: start; }
  .quote img { width: 120px; }
  .rec-grid { grid-template-columns: 1fr; justify-items: start; }
  .locks li { grid-template-columns: 44px 1fr; column-gap: 12px; }
  .locks li::before { font-size: 1.6rem; }
  .countdown .unit { padding: 10px 2px 8px; }
  .countdown .lbl { font-size: .65rem; letter-spacing: .08em; }
  .board li { grid-template-columns: 42px 1fr auto; }
  .btn.big { width: 100%; }
  .clock-title { font-size: 11.4vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   Sub-pages (countdown, register, notify, thanks, privacy, safety).
   Scoped to new classes only; nothing above is overridden for style-a.html.
   ===================================================================== */
/* Page hero: a smaller cut-paper title card on the teal sky */
.page-hero {
  position: relative; background: var(--sky); overflow: hidden;
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(44px, 6vw, 76px);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; z-index: 1;
  background:
    radial-gradient(60px 30px at 6% 100%, var(--snow) 98%, transparent 100%),
    radial-gradient(90px 34px at 24% 100%, var(--snow) 98%, transparent 100%),
    radial-gradient(70px 26px at 46% 100%, var(--snow) 98%, transparent 100%),
    radial-gradient(110px 32px at 70% 100%, var(--snow) 98%, transparent 100%),
    radial-gradient(80px 28px at 93% 100%, var(--snow) 98%, transparent 100%);
  filter: drop-shadow(0 -3px 0 var(--ink));
}
.ph-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: clamp(16px, 4vw, 48px); }
.ph-card { position: relative; z-index: 2; }
.ph-card .eyebrow { justify-content: flex-start; }
.ph-card .eyebrow span { background: var(--red); color: var(--snow); transform: rotate(-2deg); }
.ph-fig { width: clamp(140px, 17vw, 230px); transform: rotate(-5deg); filter: drop-shadow(6px 6px 0 var(--ink)); margin-bottom: -18px; }
.ph-lede {
  display: inline-block; max-width: 56ch; margin: clamp(16px, 2.4vw, 26px) 0 0; padding: 12px 16px;
  background: var(--snow); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  font-size: clamp(1rem, 1.7vw, 1.2rem); transform: rotate(-.6deg);
}
.ph-lede strong { font-weight: 800; color: var(--red); }
.ph-note { font-size: .92rem; background: var(--mustard); }
.ph-small { padding-bottom: clamp(40px, 5vw, 64px); }

/* Title card: chunky outlined words on rotated paper */
.pt { margin: 0; font-weight: 400; line-height: .92; filter: url(#cutpaper); font-size: clamp(3rem, 8.4vw, 7.2rem); }
.pt-w {
  display: inline-block; font-family: var(--display); text-transform: uppercase; color: var(--snow);
  text-shadow:
    -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink),
    0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink),
    8px 9px 0 var(--ink);
}
.pt-w:nth-child(1) { transform: rotate(-3deg); }
.pt-w:nth-child(2) { transform: translateY(.04em) rotate(2deg); }
.pt-w:nth-child(3) { transform: translateY(-.03em) rotate(-1.5deg); }
.pt-w:nth-child(4) { transform: rotate(2.5deg); }
.pt-w.tile-y, .pt-w.tile-r {
  padding: .02em .16em .08em; margin: .06em 0; border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
  text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 4px 5px 0 var(--ink);
}
.pt-w.tile-y { background: var(--mustard); }
.pt-w.tile-r { background: var(--red); }

/* Big, dramatic version (countdown page) with the key art */
.ph-big { min-height: max(50vw, 560px); display: flex; flex-direction: column; padding: 0; }
.ph-big::after { display: none; }
.ph-art { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.ph-center { text-align: center; padding: clamp(18px, 3.2vw, 44px) 12px 0; }
.ph-center .eyebrow { justify-content: center; }
.pt-xl { font-size: clamp(3.4rem, 11vw, 10.5rem); line-height: .84; }
.pt-xl .pt-w { text-shadow:
    -4px -4px 0 var(--ink), 4px -4px 0 var(--ink), -4px 4px 0 var(--ink), 4px 4px 0 var(--ink),
    0 -4px 0 var(--ink), 0 4px 0 var(--ink), -4px 0 0 var(--ink), 4px 0 0 var(--ink), 10px 11px 0 var(--ink); }
.pt-xl .pt-w.tile-r { text-shadow: -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink), 6px 7px 0 var(--ink); box-shadow: 10px 10px 0 var(--ink); }

/* Countdown stage */
.cd-stage { background: var(--mustard); border-bottom: 4px solid var(--ink); padding: clamp(36px, 5vw, 64px) 0; text-align: center; }
.cd-stage.cd-snow { background: var(--snow); }
.cd-date { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(.95rem, 1.6vw, 1.15rem); }
.cd-date strong { display: inline-block; background: var(--ink); color: var(--snow); padding: 2px 10px; transform: rotate(-1.5deg); letter-spacing: .06em; }
.cd-stage .countdown { max-width: 1040px; margin-top: 22px; }
.cd-stage .countdown .num { font-size: clamp(2.4rem, 10vw, 7.4rem); }
.cd-stage .countdown .unit { box-shadow: 8px 8px 0 rgba(0, 0, 0, .35); }
.actions.mid { justify-content: center; }
.art-row { padding: clamp(32px, 5vw, 64px) 0; }
.art-frame { border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); background: var(--ink); transform: rotate(-.6deg); overflow: hidden; }
.art-frame img { width: 100%; }

/* Register funnel */
.sub .section { padding-top: clamp(28px, 4vw, 48px); }
.funnel-panel { max-width: 820px; margin-inline: auto; box-shadow: 10px 10px 0 var(--red); }
.funnel-panel form { margin-top: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
legend { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1; margin-bottom: 14px; padding: 0; filter: url(#cutpaper-sm); }
fieldset > label:not(.choice) { margin: 16px 0 6px; }
fieldset > label .fine { font-weight: 500; }
select {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 13px 16px; border: 3px solid var(--ink); background: var(--snow); color: var(--ink);
  border-radius: 0;
}
select:focus { outline: 4px solid var(--mustard); outline-offset: 0; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 8px; }
.options .choice { margin: 0; padding: 12px 14px; border: 3px solid var(--ink); background: var(--snow-2); color: var(--ink); font-weight: 800; box-shadow: 4px 4px 0 var(--ink); align-items: center; }
.options .choice:has(input:checked) { background: var(--mustard); }
fieldset > .choice { margin-top: 14px; }
.progress { display: none; height: 20px; border: 3px solid var(--ink); background: var(--snow-2); overflow: hidden; margin-bottom: 22px; }
.progress span { display: block; height: 100%; width: var(--p, 33%); transition: width .25s ease; border-right: 3px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--red) 0 12px, var(--red-2) 12px 24px); }
.is-stepped .progress { display: block; }
.step-nav { display: none; }
.is-stepped .step-nav { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.final-submit { margin-top: 20px; }
.is-stepped .final-submit { display: none; }

/* Notify */
.channel h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1.05; margin: 0 0 4px; }
.channel p { margin: 0; font-weight: 800; }
.sub .channels { margin-top: 0; }
.signup-panel { box-shadow: 10px 10px 0 var(--mustard); }
.signup-panel .row-title, .safety .row-title { margin-bottom: 16px; }

/* Safety + privacy */
.safety { border-left-width: 14px; border-left-color: var(--red); }
.safety ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.safety li { position: relative; padding: 12px 14px 12px 48px; background: var(--snow-2); border: 3px solid var(--ink); font-size: 1.05rem; }
.safety li::before { content: "!"; position: absolute; left: 10px; top: 10px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--red); color: var(--snow); font-family: var(--display); transform: rotate(-6deg); }
.safety li:nth-child(even)::before { background: var(--mustard); color: var(--ink); }
.safety strong { font-weight: 800; }
.safety > p { margin: 20px 0 0; }
.report { font-weight: 800; background: var(--ink); color: var(--snow); padding: 12px 16px; display: inline-block; transform: rotate(-.6deg); }
.prose { max-width: 860px; margin-inline: auto; }
.prose h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.05; margin: 1.4em 0 .4em; padding-left: 12px; border-left: 8px solid var(--mustard); }
.prose h2:first-child { margin-top: 0; }
.prose h2:nth-of-type(even) { border-left-color: var(--red); }
.prose p { margin: 0 0 .9em; color: var(--ink-2); max-width: 72ch; }

@media (max-width: 900px) {
  .ph-fig { width: 130px; }
}
@media (max-width: 640px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph-fig { position: absolute; right: -4px; top: -18px; width: 62px; margin: 0; z-index: 1; }
  .ph-card .eyebrow { padding-right: 64px; }
  .cd-date strong { display: inline; transform: none; line-height: 1.9; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .pt { font-size: 13.4vw; }
  .pt-w { text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 5px 6px 0 var(--ink); }
  .pt-w.tile-y, .pt-w.tile-r { border-width: 3px; box-shadow: 5px 5px 0 var(--ink); }
  .ph-big { min-height: 0; }
  .ph-art { position: relative; order: 2; width: 170%; max-width: none; height: auto; margin: -40px 0 0 -35%; object-fit: initial; }
  .ph-center { order: 1; padding-top: 22px; }
  .pt-xl { font-size: 15vw; }
  .pt-xl .pt-w { text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 5px 6px 0 var(--ink); }
  .pt-xl .pt-w.tile-r { box-shadow: 6px 6px 0 var(--ink); }
  .safety { border-left-width: 4px; }
  .safety li { padding-left: 44px; font-size: 1rem; }
  .step-nav .btn { flex: 1 1 auto; }
}

/* ---------- Presale kit (homepage) ---------- */
.presale-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap;
  background: var(--red); color: var(--snow); text-decoration: none; font-weight: 800;
  padding: 8px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 4px solid var(--ink);
  text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; position: relative; z-index: 41;
}
.pb-status { display: inline-flex; align-items: center; gap: 7px; background: var(--ink); padding: 4px 10px; }
.pb-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff4b55; animation: pulse 1.2s ease-in-out infinite; }
.pb-status[data-phase="upcoming"]::before { background: var(--mustard); }
.pb-text b { font-variant-numeric: tabular-nums; color: var(--mustard); background: var(--ink); padding: 1px 6px; margin-left: 4px; }
.pb-cta { background: var(--mustard); color: var(--ink); padding: 4px 12px; box-shadow: 3px 3px 0 var(--ink); }
.presale-bar:hover .pb-cta { transform: translate(-1px, -1px); }

.sale { background: var(--sky); border-bottom: 4px solid var(--ink); }
.sale .row-lede { color: var(--ink); }
.row-title .hl-y { background: var(--mustard); color: var(--ink); padding: 0 .12em; }
.row-title .hl-r { color: var(--red); }
.dark .row-title .hl-r { color: #ff5a63; }
.sale-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); margin-top: 30px; align-items: start; }
.sale-grid > * { min-width: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; padding: 0; }
.chips li { border: 3px solid var(--ink); background: var(--snow-2); padding: 4px 10px; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.chips li:first-child { background: var(--ink); color: var(--snow); }
.how { box-shadow: 10px 10px 0 var(--mustard-2); }
.how-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 14px; line-height: 1; }
.how-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.how-steps li { counter-increment: s; display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 12px; font-size: .95rem; }
.how-steps li::before { content: counter(s); grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center; background: var(--red); color: var(--snow); font-family: var(--display); font-size: 1.3rem; border: 3px solid var(--ink); transform: rotate(-4deg); }
.how-steps li:nth-child(even)::before { background: var(--mustard); color: var(--ink); transform: rotate(3deg); }
.how-steps b { display: block; text-transform: uppercase; letter-spacing: .04em; }
.how-note { margin: 16px 0 0; font-size: .85rem; color: var(--muted); border-top: 3px dashed var(--ink); padding-top: 12px; }

.ca { margin-top: 30px; background: var(--ink); color: var(--snow); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--red); padding: 18px clamp(16px, 3vw, 28px); display: grid; gap: 14px; }
.ca-main { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ca-label { margin: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); }
.ca-addr { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .95rem; background: #2a2a2d; padding: 10px 12px; border: 2px dashed #5b5b60; }
.ca-copy { padding: 10px 18px; box-shadow: 4px 4px 0 var(--mustard); background: var(--snow); color: var(--ink); }
.ca-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0; }
.ca-facts div { border-left: 4px solid var(--mustard); padding-left: 10px; }
.ca-facts dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #aab6ba; }
.ca-facts dd { margin: 0; font-family: var(--display); font-size: 1.15rem; }

.trust { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.trust li { background: var(--snow); border: 3px solid var(--ink); padding: 12px 14px 12px 54px; position: relative; font-size: .9rem; }
.trust li::before { content: "\2713"; position: absolute; left: 12px; top: 12px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--pine); color: var(--snow); font-weight: 800; border: 2px solid var(--ink); transform: rotate(-6deg); }
.trust b { display: block; text-transform: uppercase; letter-spacing: .03em; }

.tokenomics { background: var(--snow); border-bottom: 4px solid var(--ink); }
.tkn-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 30px; }
.donut {
  aspect-ratio: 1; max-width: 100%; border-radius: 50%; border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); position: relative;
  background: conic-gradient(var(--pine) 0 40%, var(--mustard) 40% 55%, var(--red) 55% 70%, #2f6fd0 70% 85%, #7b3fa0 85% 95%, #f07c1f 95% 100%);
}
.donut-hole { position: absolute; inset: 27%; border-radius: 50%; background: var(--snow); border: 4px solid var(--ink); display: grid; place-content: center; text-align: center; }
.donut-hole b { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; }
.donut-hole span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.tkn-table { width: 100%; border-collapse: collapse; border: 4px solid var(--ink); background: var(--snow); font-size: .93rem; }
.tkn-table th, .tkn-table td { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--ink); vertical-align: top; }
.tkn-table thead th { background: var(--ink); color: var(--snow); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.tkn-table tbody th { font-weight: 800; white-space: nowrap; }
.tkn-table td:nth-child(2) { font-family: var(--display); font-size: 1.25rem; }
.sw { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--ink); margin-right: 8px; vertical-align: -2px; }
.sw-1 { background: var(--pine); } .sw-2 { background: var(--mustard); } .sw-3 { background: var(--red); }
.sw-4 { background: #2f6fd0; } .sw-5 { background: #7b3fa0; } .sw-6 { background: #f07c1f; }

.vesting { background: var(--snow-2); }
.gantt { margin-top: 28px; border: 4px solid var(--ink); background: var(--snow); padding: 16px clamp(12px, 2vw, 20px); display: grid; gap: 12px; box-shadow: 10px 10px 0 var(--ink); }
.g-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; }
.g-name { font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; }
.g-track { position: relative; height: 38px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 2px), #c9d3d6 calc(25% - 2px) 25%); border: 2px solid var(--ink); }
.g-track i { position: absolute; top: 3px; bottom: 3px; display: flex; align-items: center; padding: 0 8px; font-style: normal; font-size: .72rem; font-weight: 800; white-space: nowrap; overflow: hidden; border: 2px solid var(--ink); }
.g-lock { background: repeating-linear-gradient(45deg, #59666b 0 8px, #6f7c81 8px 16px); color: var(--snow); }
.g-rel { background: var(--mustard); color: var(--ink); }
.g-rewards { left: 0; width: 100%; background: var(--pine); color: var(--snow); }
.g-pre-now { left: 0; width: 25%; min-width: 11.5em; }
.g-team-lock { left: 0; width: 37.5%; } .g-team-rel { left: 37.5%; width: 50%; background: var(--red); color: var(--snow); }
.g-burn { left: 0; width: 34%; background: #f07c1f; color: var(--ink); }
.g-axis { display: grid; grid-template-columns: 150px repeat(4, minmax(0, 1fr)) 0; gap: 0 12px; font-size: .72rem; font-weight: 800; color: var(--muted); }
.g-axis span:first-child { grid-column: 2; }
.g-axis { grid-template-columns: 162px repeat(4, minmax(0, 1fr)) 1ch; column-gap: 0; }
.g-axis span:last-child { text-align: right; }

.road { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; counter-reset: r; }
.road li { background: #1d1d1f; border: 3px solid #3a3a3e; border-top: 8px solid var(--mustard); padding: 16px; color: #c9d3d6; font-size: .92rem; }
.road li:nth-child(even) { border-top-color: var(--red); }
.road li.now { border-color: var(--mustard); background: #26241a; }
.road-when { display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; background: var(--mustard); color: var(--ink); padding: 3px 8px; margin-bottom: 10px; }
.road li.now .road-when::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 6px; animation: pulse 1.2s ease-in-out infinite; }
.road b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--snow); font-size: 1.25rem; line-height: 1.05; margin-bottom: 6px; }

.faq { background: var(--snow); border-top: 4px solid var(--ink); }
.faq-list { margin-top: 26px; display: grid; gap: 10px; max-width: 900px; }
.faq details { border: 3px solid var(--ink); background: var(--snow-2); box-shadow: 5px 5px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 16px; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; background: var(--red); color: var(--snow); font-family: var(--display); }
.faq details[open] summary::after { content: "\2212"; background: var(--ink); }
.faq details p { margin: 0; padding: 0 16px 16px; max-width: 70ch; }
.faq-legal { margin-top: 18px; }

@media (max-width: 860px) {
  .sale-grid, .tkn-grid { grid-template-columns: minmax(0, 1fr); }
  .donut { width: min(280px, 80%); margin-inline: auto; }
  .g-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .g-axis { grid-template-columns: repeat(4, minmax(0, 1fr)) 1ch; }
  .g-axis span:first-child { grid-column: auto; }
  .tkn-table tbody th { white-space: normal; }
  .tkn-table td:nth-child(3) { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .pb-status::before, .road li.now .road-when::before { animation: none; } }

/* Townsfolk strip under "Pick your fighter" */
.cast-scroll { overflow-x: auto; padding: 4px 4px 14px; scrollbar-color: var(--ink) transparent; }
.cast-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; }
.cast-wall li { background: var(--snow); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 10px; display: grid; grid-template-rows: 130px auto 1fr; gap: 4px; text-align: center; }
.cast-wall img { width: auto; max-height: 130px; margin: 0 auto; align-self: end; }
.cast-wall b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: .95rem; line-height: 1.05; }
.cast-wall span { font-size: .74rem; color: var(--muted); line-height: 1.3; }
.cast-wall li:nth-child(3n+2) { transform: rotate(1.5deg); }
.cast-wall li:nth-child(3n) { transform: rotate(-1.2deg); }
.cast-scroll:focus-visible { outline-offset: 0; }
.trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .g-burn { width: 62%; } .g-track i { font-size: .66rem; padding: 0 4px; } }
@media (max-width: 520px) { .presale-bar { gap: 6px 10px; padding-block: 6px; font-size: .7rem; } .pb-status, .pb-cta { padding: 3px 8px; } }

/* Footer social icons. site.js marks unconfigured ones .is-pending (no link yet). */
.foot-socials, .foot-col .foot-socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.foot .soc { display: grid; place-items: center; width: 46px; height: 46px; background: var(--snow); color: var(--ink); border: 3px solid var(--snow); box-shadow: 4px 4px 0 var(--red); text-decoration: none; position: relative; }
.soc svg { width: 22px; height: 22px; fill: currentColor; }
.foot .soc:hover { background: var(--mustard); border-color: var(--mustard); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red); }
.foot .soc.is-pending { opacity: .45; cursor: default; box-shadow: none; transform: none; background: var(--snow); }
.soc-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 700px) { .hero .hero-tag { display: none; } }

/* ---------- Connect wallet (js/wallet.js) ---------- */
.wallet-btn {
  font: 800 .82rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; cursor: pointer;
  background: var(--mustard); color: var(--ink); border: 3px solid var(--mustard); padding: 9px 14px; box-shadow: 3px 3px 0 var(--red);
}
.wallet-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--red); }
.wallet-btn.is-on { background: var(--ink); color: var(--snow); border-color: var(--snow); font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0; text-transform: none; }
.wallet-btn.is-on::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: 8px; vertical-align: 1px; }
.wallet-btn.is-on { display: inline-flex; align-items: center; gap: 8px; }
.wallet-btn .wm-logo { width: 18px; height: 18px; border-radius: 5px; }
.wm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px max(16px, env(safe-area-inset-left, 0px)); }
.wm-backdrop { position: absolute; inset: 0; background: rgba(10, 14, 18, .66); backdrop-filter: blur(4px); }
.wm-box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #ffffff; color: #14171a; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 8px 8px 0 var(--ink); padding: 20px 20px 16px; font-family: var(--body); }
.wm-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.wm-title { flex: 1; margin: 0; font-family: var(--body); font-weight: 800; font-size: 1.2rem; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.wm-net { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: #f1f3f5; color: #3b4a50; }
.wm-net::before { content: ""; width: 12px; height: 10px; background: linear-gradient(90deg, #9945ff, #14f195); clip-path: polygon(15% 0, 100% 0, 85% 30%, 0 30%, 15% 35%, 100% 35%, 85% 65%, 0 65%, 15% 70%, 100% 70%, 85% 100%, 0 100%); }
.wm-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f3f5; color: #14171a; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.wm-close:hover { background: #e3e7ea; }
.wm-sec { margin: 14px 0 8px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6b7880; }
.wm-sec:first-child { margin-top: 0; }
.wm-rows, .wm-grid { list-style: none; margin: 0; padding: 0; }
.wm-rows { display: grid; gap: 6px; }
.wm-row-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px solid #e6e9ec; border-radius: 14px; background: #ffffff; color: #14171a; font: 800 1rem var(--body); cursor: pointer; text-align: left; }
.wm-row-item:hover, .wm-row-item:focus-visible { border-color: var(--ink); background: #fff8dc; }
.wm-logo { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; overflow: hidden; background: #f1f3f5; }
.wm-logo img { width: 100%; height: 100%; display: block; }
.wm-logo.is-letter { background: var(--ink); color: var(--snow); font-family: var(--display); }
.wm-name { flex: 1; }
.wm-pill { font-size: .7rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: #dcfce7; color: #166534; }
.wm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wm-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border: 2px solid #e6e9ec; border-radius: 16px; background: #ffffff; color: #14171a; text-decoration: none; text-align: center; }
.wm-tile:hover, .wm-tile:focus-visible { border-color: var(--ink); background: #fff8dc; }
.wm-tile .wm-logo { width: 44px; height: 44px; border-radius: 12px; }
.wm-tile-name { font-weight: 800; font-size: .82rem; line-height: 1.15; overflow-wrap: anywhere; }
.wm-tile-tag { font-size: .68rem; font-weight: 800; color: #6b7880; text-transform: uppercase; letter-spacing: .08em; }
.wm-more { display: block; width: 100%; margin-top: 8px; padding: 10px; border: 2px dashed #c9d0d5; border-radius: 12px; background: transparent; font: 800 .88rem var(--body); color: #3b4a50; cursor: pointer; }
.wm-more:hover { border-color: var(--ink); color: var(--ink); }
.wm-hint { margin: 10px 0 0; font-size: .85rem; color: #4a565c; }
.wm-connected { display: grid; gap: 10px; }
.wm-label { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--pine); }
.wm-addr { overflow-wrap: anywhere; font-family: ui-monospace, Menlo, Consolas, monospace; background: #f1f3f5; border-radius: 12px; padding: 12px; }
.wm-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wm-action { flex: 1; padding: 11px 14px; border: 2px solid var(--ink); border-radius: 12px; background: #ffffff; font: 800 .9rem var(--body); cursor: pointer; }
.wm-action.is-red { background: var(--red); border-color: var(--red); color: #ffffff; }
.wm-msg { min-height: 1.2em; margin: 10px 0 0; font-weight: 800; font-size: .88rem; }
.wm-msg:empty { display: none; }
.wm-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e6e9ec; display: grid; gap: 6px; }
.wm-safe { margin: 0; font-size: .78rem; color: #5b676d; }
.wm-learn { font-size: .8rem; font-weight: 800; color: var(--ink); }
html.wm-open { overflow: hidden; }
@media (max-width: 640px) { .wallet-btn { order: -1; } }

/* Risk disclosure */
.risk { margin-top: 30px; background: #fff4cc; border: 4px solid var(--ink); border-left: 14px solid var(--red); box-shadow: 8px 8px 0 var(--ink); padding: 16px clamp(16px, 3vw, 26px); }
.risk-title { margin: 0 0 8px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1; }
.risk p { margin: 0; max-width: 80ch; }
.risk b { color: var(--red-2); }
.foot-risk { color: #f3d2d4; font-size: .9rem; background: #1d1d1d; border-left: 8px solid var(--red); padding: 12px 16px; max-width: 90ch; }
.foot-risk b { color: #ff5a63; }
/* Checkout risk acknowledgement */
.buy-risk { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; padding: 10px 12px; border: 2px solid var(--red); border-radius: 8px; background: #fff4f2; color: var(--ink); font-size: .92rem; line-height: 1.4; }
.buy-risk input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }

/* ---------- Full-screen hero + one rhythm for every section ---------- */
@media (min-width: 641px) {
  .hero { min-height: calc(100vh - 62px); min-height: calc(100svh - 62px); }
  .presale-bar:not([hidden]) ~ .hero { min-height: calc(100vh - 110px); min-height: calc(100svh - 110px); }
}
.row, .intro, .quote, .rec, .clock, .register { padding-block: clamp(56px, 7vw, 96px); }
.row-title, .rec .row-title, .register .row-title, .presale-head h2 { font-size: clamp(2rem, 4.8vw, 3.8rem); }
.quote blockquote p, .clock-title { font-size: clamp(2.4rem, 6vw, 5rem); }

/* ---------- On-chain proof page ---------- */
.pf-meter { position: relative; display: flex; align-items: center; min-height: 46px; padding: 8px 16px; border: 4px solid var(--ink); background: var(--snow); box-shadow: 6px 6px 0 var(--ink); margin-bottom: 8px; overflow: hidden; }
.pf-meter-bar { position: absolute; inset: 0 auto 0 0; width: var(--pf, 0%); background: var(--mustard); transition: width .6s; }
.pf-meter b { position: relative; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.pf-h { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1; margin: 40px 0 14px; padding-left: 12px; border-left: 8px solid var(--red); }
.pf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pf-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pf { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 20px; padding: 14px 16px 14px 56px; position: relative; background: var(--snow); border: 3px solid var(--ink); }
.pf::before { content: "?"; position: absolute; left: 12px; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; font-family: var(--display); background: var(--snow-2); color: var(--muted); border: 3px solid var(--ink); border-radius: 50%; }
.pf.is-live::before { content: "\2713"; background: var(--pine); color: var(--snow); }
.pf-claim { min-width: 0; }
.pf-claim b { display: block; font-weight: 800; font-size: 1.05rem; }
.pf-claim p { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; max-width: 70ch; }
.pf-check { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 12px; }
.pf-pending { display: inline-block; white-space: nowrap; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; background: var(--snow-2); color: var(--muted); border: 2px dashed var(--muted); }
.pf-val { font-size: .85rem; background: var(--snow-2); padding: 3px 6px; overflow-wrap: anywhere; }
.pf-link { font-weight: 800; color: var(--snow); background: var(--ink); padding: 6px 12px; text-decoration: none; white-space: nowrap; }
.pf-link:hover { background: var(--red); }
.pf-grid .pf { grid-template-columns: 1fr; }
.pf-grid .pf-check { justify-content: flex-start; }
.pf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pf-split .prose { max-width: none; margin: 0; }
.pf-list-tight .pf { background: var(--snow-2); }
.pf-bounty { border-left: 14px solid var(--red); }
.pf-foot { margin: 28px 0 0; font-weight: 600; }
@media (max-width: 760px) {
  .pf-split { grid-template-columns: minmax(0, 1fr); }
  .pf { grid-template-columns: 1fr; padding-left: 52px; }
  .pf::before { top: 16px; margin-top: 0; }
  .pf-check { justify-content: flex-start; }
}

/* ---------- Docs page ---------- */
.docs-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.docs-toc { position: sticky; top: 76px; border: 3px solid var(--ink); background: var(--snow); padding: 14px 16px; }
.docs-toc b { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 8px; }
.docs-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.docs-toc a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.docs-toc a:hover { border-bottom-color: var(--red); }
.docs-grid .prose { max-width: none; margin: 0; }
.prose h2 { scroll-margin-top: 80px; }
.prose ul { margin: 0 0 1em; padding-left: 22px; color: var(--ink-2); max-width: 72ch; }
.prose li { margin: 0 0 .4em; }
.prose code { background: var(--snow-2); padding: 1px 5px; font-size: .9em; }
.prose a { color: var(--ink); font-weight: 800; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.doc-table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
.doc-table th, .doc-table td { text-align: left; border: 2px solid var(--ink); padding: 8px 10px; vertical-align: top; }
.doc-table thead th { background: var(--ink); color: var(--snow); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.doc-scroll { overflow-x: auto; }
.doc-risk { border: 4px solid var(--red); background: #fff4f2; padding: 14px 16px; margin: 0 0 1em; }
@media (max-width: 860px) {
  .docs-grid { grid-template-columns: 1fr; }
  .docs-toc { position: static; }
}
.trust-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 22px 0 0; }
.prose .pf-link { color: var(--snow); text-decoration: none; }
.prose .report { color: var(--snow); max-width: 100%; overflow-wrap: anywhere; }
/* Coin mark */
.presale-head .coin-mark { width: 56px; height: 56px; flex: none; transform: rotate(-8deg); }
.presale-head h2 { flex: 1; }
/* "Slush Fund" wordmark: shorter words, so both lines run larger */
.wm-2 > span { font-size: clamp(3.6rem, 11.6vw, 11.5rem); }
@media (max-width: 640px) { .wm-word > span, .wm-2 > span { font-size: 21vw; } }
.mini-logo img { flex: none; }
.mini-logo .mini-word { height: 44px; width: auto; }
.mini-logo img:first-child { width: 40px; height: 40px; }

/* How-to-buy explainer video */
.explainer .row-head { margin-bottom: 30px; }
.video-frame { border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--red); background: var(--ink); max-width: 1100px; }
.explainer-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-width: 100%; }
.video-frame.vertical { max-width: min(400px, 100%); }
.video-frame.vertical .explainer-video { aspect-ratio: 9 / 16; }
@media (min-width: 820px) {
  .explainer .wrap { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); align-items: start; }
  .explainer .row-head { grid-column: 1 / -1; }
  .explainer .transcript { margin-top: 0; }
}
.transcript { margin-top: 22px; max-width: 70ch; }
.transcript summary { cursor: pointer; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.transcript p { margin: 10px 0 0; }
.how-note a { color: inherit; font-weight: 800; }

/* Where the money goes */
.money { margin-top: 30px; background: var(--snow); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--mustard-2); padding: 18px clamp(16px, 3vw, 28px); display: grid; gap: 14px; }
.money p { margin: 0; }
.money-title { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1; }
.money-bar { display: grid; grid-template-columns: 1fr 1fr; border: 3px solid var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
.money-bar span { padding: 10px 12px; min-width: 0; }
.money-bar .m-pool { background: var(--red); color: var(--snow); border-right: 3px solid var(--ink); }
.money-bar .m-co { background: var(--mustard); color: var(--ink); }
.money-split { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px 24px; }
.money-split dt { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.money-split dd { margin: 4px 0 0; }
.money-split a { color: inherit; font-weight: 800; }
.money-not { margin: 0; padding: 12px 0 0; list-style: none; display: grid; gap: 6px; border-top: 3px dashed var(--ink); }
.money-not b { text-transform: uppercase; letter-spacing: .03em; }

/* Presale soft cap + refund state */
.presale .softcap { margin: 8px 0 0; font-size: .85rem; font-weight: 800; }
.presale .refund-note { margin: 10px 0 0; background: var(--mustard); color: var(--ink); border: 3px solid var(--ink); padding: 10px 12px; font-weight: 800; }

/* Contrast: red highlight words on the sky-blue presale section */
.sale .row-title .hl-r { color: #9e1219; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Eight nav links plus the wallet button: keep the bar on one row, with the button on the right */
@media (min-width: 641px) {
  .nav-links a { padding: 10px 9px; letter-spacing: .06em; font-size: .76rem; }
}
@media (min-width: 641px) and (max-width: 1180px) {
  .nav-links a[href="index.html"]:not([aria-current]) { display: none; }
}
@media (min-width: 641px) and (max-width: 1180px) {
  .bar-nav .nav-links { order: 3; flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .bar-nav .nav-links::-webkit-scrollbar { display: none; }
  .bar-nav .nav-links a { flex: none; }
}
@media (min-width: 1181px) {
  .bar-nav .wrap { flex-wrap: nowrap; }
  .bar-nav .nav-links { min-width: 0; }
  .bar-nav .wallet-btn { flex: none; margin-left: auto; }
}

/* Presale: check you're on the real site, vault address and address checker (js/vault-check.js) */
.realsite { margin-top: 18px; border: 3px solid var(--ink); background: var(--snow-2); padding: 14px 16px; display: grid; gap: 10px; }
.realsite-title { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; }
.realsite-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .92rem; }
.vault-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; }
.vault-label { font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.vault-addr { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .9rem; background: var(--snow); border: 2px solid var(--ink); padding: 3px 8px; overflow-wrap: anywhere; min-width: 0; }
.vault-copy { font: inherit; font-weight: 800; font-size: .8rem; border: 2px solid var(--ink); background: var(--mustard); color: var(--ink); padding: 3px 10px; cursor: pointer; }
.vault-check { display: grid; gap: 6px; }
.vault-check label { font-weight: 700; font-size: .9rem; }
.vault-check-row { display: flex; flex-wrap: wrap; gap: 8px; }
.vault-check-row input { flex: 1 1 220px; min-width: 0; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.vault-result { margin: 0; font-weight: 700; font-size: .92rem; }
.vault-result:empty { display: none; }
.vault-result.ok { color: var(--pine); }
.vault-result.bad { color: var(--red-2); }
.wrong-site { margin: 0; background: var(--red); color: var(--snow); padding: 10px 12px; font-size: .95rem; }
.pinned { margin: 0; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
