/* $WHENEMY — palette and type come straight from the v6 badge. */

@font-face { font-family: "Lilita One"; src: url(assets/fonts/lilita-one.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url(assets/fonts/nunito-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(assets/fonts/nunito-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(assets/fonts/nunito-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(assets/fonts/nunito-900.woff2) format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --ink: #0e1833;
  --bg: #070f24;
  --navy-1: #0a1736;
  --navy-2: #12285c;
  --navy-3: #25509f;
  --gold: #f0b941;
  --gold-hi: #fff3c2;
  --gold-lo: #d2901f;
  --cream: #fdf6e3;
  --paper: #fffdf6;
  --red: #f4454e;
  --red-2: #c4121d;
  --red-3: #a50f19;
  --yellow: #ffd90f;
  --teal: #1f9e8f;
  --sky-1: #4fa8ee;
  --sky-2: #e9f7ff;
  --lawn-1: #8fe07f;
  --lawn-2: #3c9a52;

  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r: 22px;
  --line: 4px;
  --shadow: 0 6px 0 var(--ink);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 17px/1.55 var(--body);
  overflow-x: hidden;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row--center { justify-content: center; }
.muted { opacity: .72; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px;
  border: var(--line) solid var(--b); border-radius: 999px;
  font: 400 19px/1 var(--display); letter-spacing: .03em; text-decoration: none; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 5px 0 var(--b);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--b); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--b); }
.btn--sm { min-height: 38px; padding: 7px 16px; font-size: 16px; box-shadow: 0 4px 0 var(--b); }
.btn--lg { min-height: 58px; padding: 14px 30px; font-size: 23px; }
.btn--red { background: linear-gradient(var(--red), var(--red-2)); color: #fff; }
.btn--gold { background: linear-gradient(var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--cream); --b: #000a1f; }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--gold); --b: var(--gold); box-shadow: 0 5px 0 var(--gold-lo); border-color: var(--gold); }
.btn--ghost:hover { box-shadow: 0 7px 0 var(--gold-lo); }
.btn--ghost-ink { background: var(--paper); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { filter: grayscale(.85) brightness(.9); opacity: .6; cursor: not-allowed; pointer-events: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--red-2); font-weight: 800; text-decoration: underline; cursor: pointer; justify-self: start; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7,15,36,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid rgba(240,185,65,.25); }
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 22px var(--display); color: var(--cream); }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 800; font-size: 15px; color: rgba(253,246,227,.8); }
.nav__links a:hover { color: var(--gold); }
@media (max-width: 1080px) { .nav__links { display: none; } .nav__inner > .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1px 1px at 12% 22%, #fff8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 14%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 72%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 28% 84%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 58%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 8%, #fff7 50%, transparent 51%),
    radial-gradient(120% 90% at 70% 40%, var(--navy-3) 0%, var(--navy-1) 48%, var(--bg) 100%);
}
.hero__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 6vw, 80px) var(--gutter) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border: 2px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; background: rgba(240,185,65,.08); }
.hero__title {
  margin: 18px 0 18px;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.02;
  color: var(--cream);
  text-shadow: 0 4px 0 var(--ink), 0 8px 0 #050c20, 0 12px 26px rgba(0,0,0,.45);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}
.hero__hook { font-size: clamp(20px, 2.3vw, 26px); font-weight: 700; line-height: 1.35; max-width: 30ch; }
.hero__hook strong { color: var(--gold); font-weight: 900; }
.enemy { display: inline-block; font-family: var(--display); font-weight: 400; color: #fff; background: var(--red-2); padding: 0 .3em; border-radius: 6px; transform: rotate(-2deg); box-shadow: 0 3px 0 var(--ink); }
.hero__or { display: block; margin-top: .14em; font-size: .62em; color: var(--gold-hi); }
.hero__or .enemy { padding: .02em .28em .06em; border: 3px solid var(--ink); text-transform: uppercase; -webkit-text-stroke: 0; text-shadow: none; box-shadow: 0 5px 0 var(--ink); margin-top: .12em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }

.ca { background: rgba(5,12,32,.6); border: 2px solid rgba(240,185,65,.55); border-radius: 18px; padding: 14px 16px; max-width: 560px; }
.ca__label { display: block; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.ca__row { display: flex; gap: 10px; align-items: center; }
.ca__value { flex: 1; min-width: 0; font: 600 15px/1.3 var(--mono); overflow-wrap: anywhere; padding: 8px 10px; background: rgba(255,255,255,.06); border-radius: 10px; }
.ca__note { margin-top: 8px; font-size: 13px; opacity: .75; }
.ca--light { background: var(--paper); border: var(--line) solid var(--ink); box-shadow: var(--shadow); color: var(--ink); }
.ca--light .ca__label { color: var(--red-2); }
.ca--light .ca__value { background: #f3ead0; }

.facts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 800; font-size: 15px; }
.facts li::before { content: "★ "; color: var(--gold); }

.hero__art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.sunburst {
  position: absolute; inset: -18%;
  background: repeating-conic-gradient(from 0deg, rgba(255,243,194,.13) 0 9deg, transparent 9deg 18deg);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%);
          mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  animation: spin 80s linear infinite;
}
.hero__badge { position: relative; width: 100%; height: auto; filter: drop-shadow(0 22px 30px rgba(0,0,0,.55)); animation: bob 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1.5deg); } }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__art { order: -1; width: min(78vw, 400px); margin: 0 auto; }
  .hero__hook { margin: 0 auto; }
  .hero__ctas, .facts { justify-content: center; }
  .ca { margin: 0 auto; text-align: left; }
}
@media (max-width: 420px) { .hero__ctas .btn { width: 100%; } }

/* ---------- marquee ---------- */
.marquee { background: linear-gradient(var(--red), var(--red-2)); border-block: var(--line) solid var(--ink); overflow: hidden; }
.marquee__track { display: flex; width: max-content; gap: 28px; padding: 12px 0; font: 400 clamp(20px, 2.6vw, 30px) var(--display); color: #fff; letter-spacing: .04em; animation: slide 30s linear infinite; }
.marquee__track i { font-style: normal; color: var(--gold-hi); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0; }
.title { isolation: isolate; text-align: center; margin-bottom: 18px; }
.ribbon {
  position: relative; display: inline-block;
  padding: .22em 1em .26em;
  font-size: clamp(26px, 5vw, 54px); color: #fff; letter-spacing: .03em; text-transform: uppercase;
  background: linear-gradient(var(--red), var(--red-2));
  border: var(--line) solid var(--ink); border-radius: 10px;
  box-shadow: 0 6px 0 var(--ink);
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; z-index: -1; top: .32em; width: 1.25em; height: 100%;
  background: var(--red-3); border: var(--line) solid var(--ink);
}
.ribbon::before { left: -.95em; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34% 50%); }
.ribbon::after { right: -.95em; clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%); }
.lead { text-align: center; font-size: clamp(18px, 2vw, 21px); font-weight: 700; max-width: 52ch; margin: 18px auto clamp(36px, 5vw, 56px); }

.paper { background: var(--paper); color: var(--ink); border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.paper h3 { font-size: 26px; margin-bottom: 8px; }

/* sky */
.sky { background: linear-gradient(var(--sky-1), var(--sky-2) 82%); color: var(--ink); padding-bottom: clamp(110px, 13vw, 160px); }
.lawn { position: absolute; left: -10%; right: -10%; bottom: 0; height: clamp(56px, 8vw, 96px); background: linear-gradient(var(--lawn-1), var(--lawn-2)); border-top: var(--line) solid var(--ink); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

.timeline { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.timeline li { padding: 22px; }
.timeline__date { display: inline-block; font: 400 16px var(--display); letter-spacing: .05em; background: var(--ink); color: var(--gold); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.lore-grid { display: grid; grid-template-columns: minmax(0, 620px); justify-content: center; gap: 20px; }
.translator { padding: 24px; display: grid; gap: 12px; align-content: start; }
.translator textarea { width: 100%; resize: vertical; border: 3px solid var(--ink); border-radius: 14px; padding: 10px 12px; background: #fff; font-weight: 600; }
.translator__out { background: #fff3c2; border: 3px dashed var(--gold-lo); border-radius: 14px; padding: 12px 14px; min-height: 64px; font-weight: 800; }
.translator__out mark { background: var(--gold); color: var(--ink); border-radius: 4px; padding: 0 3px; }
.translator__count { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--red-2); }
@media (max-width: 860px) {
  .timeline, .lore-grid { grid-template-columns: 1fr; }
}

/* cream */
.cream { background: var(--cream); color: var(--ink); background-image: radial-gradient(rgba(14,24,51,.06) 1px, transparent 1.4px); background-size: 18px 18px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 34px 20px 22px; background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.step__n { position: absolute; top: -24px; left: 18px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: var(--line) solid var(--ink); background: linear-gradient(var(--gold-hi), var(--gold) 55%, var(--gold-lo)); font: 400 26px var(--display); }
.step h3 { font-size: 25px; margin-bottom: 8px; }
.step a { color: var(--red-2); font-weight: 800; }
.buybar { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.buybar .ca { flex: 1 1 420px; max-width: none; }
.buybar__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.warn { margin-top: 28px; padding: 14px 18px; border-radius: 14px; background: #ffe1e3; border: 3px solid var(--red-2); font-weight: 600; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .buybar__btns, .buybar__btns .btn { width: 100%; } }

/* navy */
.navy { background: radial-gradient(90% 70% at 50% 0%, var(--navy-2), var(--navy-1) 70%); }
.navy--deep { background: var(--bg); }
.navy--deep::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background: radial-gradient(circle, var(--gold) 2.4px, transparent 3px) center / 16px 14px repeat-x; opacity: .7; }
.lead--light { color: var(--cream); }

.tok { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: center; }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { padding: 18px; border-radius: 18px; background: linear-gradient(160deg, rgba(37,80,159,.55), rgba(10,23,54,.9)); border: 3px solid var(--gold); box-shadow: inset 0 0 0 2px rgba(10,23,54,.8), 0 6px 0 #050c20; display: grid; gap: 4px; }
.tile__k { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.tile__v { font: 400 clamp(24px, 2.6vw, 32px) var(--display); color: var(--cream); overflow-wrap: anywhere; }
.tile__s { font-size: 13px; opacity: .7; }

.donut { margin: 0; display: grid; gap: 16px; justify-items: center; }
.donut svg { width: min(100%, 280px); }
.donut circle { fill: none; stroke-width: 34; }
.donut__track { stroke: #050c20; stroke-width: 42 !important; }
.donut__pub { stroke: var(--gold); }
.donut__dev { stroke: var(--red); }
.donut__big { font: 400 40px var(--display); fill: var(--cream); text-anchor: middle; }
.donut__small { font: 800 14px var(--body); fill: var(--gold); text-anchor: middle; text-transform: uppercase; letter-spacing: .06em; }
.donut figcaption { font-size: 15px; line-height: 1.9; }
.key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; border: 2px solid #050c20; }
.key--pub { background: var(--gold); } .key--dev { background: var(--red); }
.verify { margin-top: 36px; text-align: center; font-weight: 700; }
.verify a { color: var(--gold); font-weight: 800; }
.verify a[aria-disabled="true"] { color: rgba(253,246,227,.4); pointer-events: none; text-decoration: none; }
@media (max-width: 960px) { .tok { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

.stats { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats li { padding: 14px 16px; border-radius: 16px; background: var(--navy-1); border: 2px solid rgba(240,185,65,.45); display: grid; gap: 2px; }
.stats span { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.stats b { font: 400 clamp(22px, 2.4vw, 30px) var(--display); font-variant-numeric: tabular-nums; }
.stats .up { color: var(--lawn-1); } .stats .down { color: var(--red); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.chartbox { position: relative; border: var(--line) solid var(--gold); border-radius: var(--r); overflow: hidden; background: var(--navy-1); aspect-ratio: 16 / 9; min-height: 360px; }
.chartbox iframe { width: 100%; height: 100%; border: 0; }
.chartbox__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; font: 400 24px var(--display); color: rgba(253,246,227,.75); text-align: center; padding: 20px; }
.chartbox__empty img { opacity: .6; }
.chartbox.is-empty { aspect-ratio: auto; min-height: 260px; }
.links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.links a { padding: 8px 16px; border-radius: 999px; border: 2px solid rgba(240,185,65,.6); text-decoration: none; font-weight: 800; font-size: 15px; color: var(--cream); }
.links a:hover { background: rgba(240,185,65,.12); }
.links a[hidden] { display: none; }

/* meme maker */
.maker { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.maker__stage { border: var(--line) solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.maker__stage canvas { width: 100%; height: auto; }
.maker__panel { background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { padding: 8px 14px; border-radius: 999px; border: 3px solid var(--ink); background: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--gold); }
.fields { display: grid; gap: 12px; }
.fields[hidden] { display: none; }
.fields label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.fields input:not([type=file]) { border: 3px solid var(--ink); border-radius: 12px; padding: 10px 12px; background: #fff; font-weight: 700; font-size: 17px; text-transform: none; letter-spacing: 0; }
.fields .file small { text-transform: none; font-weight: 600; letter-spacing: 0; opacity: .7; }
.fields input[type=file] { font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.gallery__title { font-size: 32px; text-align: center; margin: clamp(48px, 6vw, 72px) 0 20px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.gallery button, .gallery a { display: block; padding: 0; border: var(--line) solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; background: var(--ink); transition: transform .15s ease; }
.gallery button:hover, .gallery a:hover { transform: translateY(-3px) rotate(-1deg); }
.gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 860px) { .maker { grid-template-columns: 1fr; } }

/* red / socials */
.red { background: linear-gradient(var(--red), var(--red-2)); color: #fff; border-top: var(--line) solid var(--ink); text-align: center; }
.big { font-size: clamp(40px, 7vw, 84px); text-transform: uppercase; color: #fff; text-shadow: 0 5px 0 var(--ink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; margin-bottom: 40px; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 900px; margin: 0 auto; }
.socials > * { flex: 1 1 240px; max-width: 290px; }
.social { display: grid; justify-items: center; gap: 6px; padding: 26px 18px; background: var(--paper); color: var(--ink); border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; transition: transform .12s ease; }
.social:hover { transform: translateY(-3px); }
.social svg { width: 44px; height: 44px; fill: var(--ink); margin-bottom: 6px; }
.social__name { font: 400 26px var(--display); }
.social__h { font-weight: 800; color: var(--red-2); font-size: 15px; overflow-wrap: anywhere; }
.social[aria-disabled="true"] { opacity: .7; pointer-events: none; }
.social[hidden] { display: none; }
.socials__note { margin-top: 28px; font-weight: 700; }
@media (max-width: 560px) { .socials > * { max-width: none; } }

/* footer */
.footer { background: var(--bg); padding: 48px 0 56px; border-top: var(--line) solid var(--ink); font-size: 14px; color: rgba(253,246,227,.75); }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer__brand b { display: block; font: 400 26px var(--display); color: var(--cream); }
.footer__legal { max-width: 80ch; line-height: 1.6; }
.footer__dev { margin-top: 12px; font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.footer__dev a { color: var(--gold); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, calc(100% + 40px)); background: var(--gold); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; padding: 10px 20px; font: 400 18px var(--display); box-shadow: 0 4px 0 var(--ink); transition: transform .25s ease, visibility 0s .25s; pointer-events: none; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .25s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* wen enemy (paused: coming-soon card) */
.wanted { position: relative; max-width: 820px; margin: 0 auto; padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px); text-align: center; background: var(--paper) radial-gradient(rgba(14,24,51,.05) 1px, transparent 1.4px) 0 0 / 16px 16px; }
.wanted__stamp { position: absolute; top: -26px; right: -18px; width: clamp(72px, 10vw, 110px); height: auto; transform: rotate(14deg); filter: drop-shadow(0 4px 0 var(--ink)); }
.wanted .wanted__name { margin: 8px auto 14px; max-width: 18ch; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; }
.wanted__soon { margin: 0; font: 400 clamp(30px, 5vw, 48px)/1.1 var(--display); letter-spacing: .02em; color: var(--red-2); }

/* story */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 52px); align-items: center; margin: 12px 0 clamp(40px, 5vw, 60px); }
.story__copy p { font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; line-height: 1.55; }
.story__copy p + p { margin-top: 14px; }
.story__copy strong { color: var(--red-2); font-weight: 900; }
.story__copy em { font-weight: 800; }
.quote { position: relative; margin: 0; padding: 34px 30px 24px; border-color: var(--ink); outline: 5px solid var(--gold); outline-offset: -14px; transform: rotate(1.6deg); }
.quote__mark { position: absolute; top: -34px; left: 18px; font: 400 110px/1 var(--display); color: var(--gold); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-weight: 800; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.4; }
.quote figcaption { margin-top: 16px; font-size: 14px; font-weight: 700; opacity: .75; }
.quote figcaption a { color: var(--red-2); }
.quote--shot { padding: 16px 16px 14px; outline: 0; border-color: var(--gold); border-width: 5px; box-shadow: 0 8px 0 var(--ink); }
.quote--shot img { width: 100%; height: auto; border-radius: 12px; border: 2px solid rgba(14,24,51,.12); }
.quote--shot figcaption { margin-top: 12px; padding: 0 4px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .quote { transform: rotate(.8deg); margin-top: 14px; } }

/* footer links */
.footer__links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.footer__links a { padding: 8px 18px; border-radius: 999px; background: var(--gold); color: var(--ink); border: 3px solid var(--ink); font: 400 17px var(--display); text-decoration: none; box-shadow: 0 4px 0 #000; }

/* meme wall */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: clamp(56px, 7vw, 88px); }
.wall__item { margin: 0; display: flex; flex-direction: column; border: var(--line) solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-1); transition: transform .15s ease; }
.wall__item:hover { transform: translateY(-3px) rotate(-.6deg); }
.wall__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--sky-2); border-bottom: var(--line) solid var(--ink); }
.wall__ph { aspect-ratio: 1; display: grid; place-items: center; padding: 18px; text-align: center; border-bottom: var(--line) solid var(--ink); background: var(--paper); color: var(--ink); font-weight: 800; outline: 3px dashed rgba(14,24,51,.3); outline-offset: -14px; }
.wall__ph img { width: 72px; height: 72px; border: 0; background: none; margin: 0 auto 10px; opacity: .55; }
.wall__item figcaption { padding: 14px 16px 16px; flex: 1; font: 800 17px/1.35 var(--body); color: var(--cream); }
.maker__title { font-size: clamp(30px, 4vw, 40px); text-align: center; margin-bottom: 22px; }
@media (max-width: 960px) { .wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .wall { grid-template-columns: 1fr; } }

/* latest wanted list (the WHENEMY News Drop) */
.anchor { position: absolute; top: 0; left: 0; }
.wl__kicker { text-align: center; margin: 0 0 14px; }
.wl__kicker span { display: inline-block; font: 400 16px var(--display); letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 6px 16px; border-radius: 999px; transform: rotate(-2deg); box-shadow: 0 3px 0 var(--ink); }
.wl__updated { text-align: center; font-weight: 800; margin: 18px auto 32px; color: var(--cream); opacity: .8; }
.wl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 24px; align-items: start; }
.wl__card { overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease; }
.wl__card:hover { transform: translateY(-3px) rotate(-.4deg); }
.wl__cert { display: block; background: #1b3a7a; border-bottom: var(--line) solid var(--ink); }
.wl__cert img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; }
.wl__body { padding: 16px 18px 20px; display: grid; gap: 10px; }
.wl__body h3 { margin: 0; font-size: 28px; overflow-wrap: anywhere; }
.wl__meta { display: flex; gap: 10px; align-items: center; margin: 0; font-weight: 800; font-size: 14px; color: #5b5f73; }
.wl__kind { background: var(--red); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.wl__body blockquote { margin: 0; font-weight: 700; line-height: 1.45; }
.wl__body mark { background: #ffe14d; padding: 0 3px; border-radius: 3px; }
.wl__body .row { gap: 10px; flex-wrap: wrap; }
.wl__kind--reformed { background: #1f9e8f; }
.wl__card--reformed .wl__cert { position: relative; }
.wl__card--reformed .wl__cert::after { content: "REFORMED"; position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg); padding: 6px 18px; border: 5px double #1f9e8f; border-radius: 10px; color: #1f9e8f; background: rgba(255,253,246,.88); font: 400 clamp(30px, 4vw, 40px)/1 var(--display); letter-spacing: .08em; box-shadow: 0 4px 0 rgba(14,24,51,.35); }
.wl__reformed { margin: 0; padding: 10px 12px; border-radius: 12px; background: #e3f6f2; border: 2px solid #1f9e8f; font-weight: 800; font-size: 15px; line-height: 1.4; }
.wl__reformed a { color: #13756a; }
@media (max-width: 600px) { .wl { grid-template-columns: minmax(0, 1fr); } }
