:root {
  --ink: #17110c;
  --paper: #f4ead6;
  --red: #d8261f;
  --red2: #9e1914;
  --sans: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --comic: "Bangers", "Noto Sans SC", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { overflow: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }

/* ---------- header ---------- */
.top { position: fixed; z-index: 10; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 22px; padding: 22px 34px; pointer-events: none; }
.top > * { pointer-events: auto; }
.back { font: 700 12px var(--mono); letter-spacing: .04em; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); transition: translate .2s, box-shadow .2s; }
.back:hover { translate: -2px -2px; box-shadow: 5px 5px 0 var(--ink); }
.logo { font: 900 22px var(--sans); letter-spacing: -.03em; }
.logo sup { font-size: 10px; color: var(--red); }
.nav { margin: 0 auto; display: flex; gap: 4px; padding: 5px; border: 2px solid var(--ink); border-radius: 99px; background: rgba(244, 234, 214, .85); backdrop-filter: blur(6px); font-size: 14px; font-weight: 700; }
.nav a { padding: 6px 14px; border-radius: 99px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--ink); color: var(--paper); }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 26px; border: 3px solid var(--ink); border-radius: 99px; background: var(--red); color: #fff6e4; font-weight: 900; font-size: 17px;
  box-shadow: 5px 5px 0 var(--ink); transition: translate .18s, box-shadow .18s; }
.pill:hover { translate: -2px -2px; box-shadow: 7px 7px 0 var(--ink); }
.pill:active { translate: 3px 3px; box-shadow: 2px 2px 0 var(--ink); }
.pill .arr { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff6e4; color: var(--red); font-size: 18px; margin-right: -12px; }
.pill-sm { height: 40px; padding: 0 18px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }

/* ---------- copy ---------- */
.copy { position: fixed; z-index: 5; left: 5.2vw; top: 50%; translate: 0 -46%; width: min(30vw, 470px); pointer-events: none; }
.copy > * { pointer-events: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--mono); letter-spacing: .08em; padding: 5px 12px 5px 8px; background: var(--ink); color: var(--paper); transform: rotate(-2deg); }
.kicker i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
h1 { margin: 22px 0 20px; font-size: clamp(46px, 5.2vw, 84px); line-height: .98; font-weight: 900; letter-spacing: -.04em; }
h1 em { position: relative; display: inline-block; font-style: normal; color: #fff6e4; padding: 0 .14em; margin-left: -.06em; transform: rotate(-2deg);
  background: var(--red); box-shadow: .08em .08em 0 var(--ink); }
.lead { font-size: 16px; line-height: 1.7; color: #3b3027; max-width: 30em; }
.lead b { color: var(--ink); background: linear-gradient(transparent 58%, rgba(216, 38, 31, .28) 58%); }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.stat { font: 700 13px var(--mono); }
.stat b { color: var(--red); }

.tags { position: fixed; z-index: 5; right: 3vw; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.tags span { font: 700 12px var(--mono); padding: 6px 10px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.tags span:nth-child(odd) { transform: rotate(3deg); }
.tags span:nth-child(even) { transform: rotate(-2deg); background: #ffe36b; }

.foot { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 18px 34px; font: 700 11px var(--mono); letter-spacing: .06em; pointer-events: none; color: #4a3d31; }

/* ---------- comic fx over the frame ---------- */
.fx { position: fixed; z-index: 4; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.burst { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; opacity: 0; transform-origin: 0 0; }
.burst line { stroke: var(--ink); stroke-linecap: round; }
.bubble { position: absolute; left: 0; top: 0; padding: 14px 22px; border: 3px solid var(--ink); border-radius: 50% / 46%; background: #fff; font: 900 21px var(--sans); white-space: nowrap;
  box-shadow: 5px 5px 0 var(--ink); transform-origin: 0% 100%; opacity: 0; scale: .3; rotate: -6deg; transition: opacity .18s, scale .35s cubic-bezier(.3, 1.8, .4, 1), rotate .35s; }
.bubble::after { content: ""; position: absolute; left: 22px; bottom: -22px; width: 26px; height: 26px; background: #fff; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: skewX(30deg) rotate(30deg); }
.bubble.on { opacity: 1; scale: 1; rotate: -3deg; }
.sfx { position: absolute; left: 0; top: 0; font: 400 64px var(--comic); letter-spacing: .02em; color: #ffe36b; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink);
  opacity: 0; scale: .4; rotate: 10deg; transition: opacity .15s, scale .3s cubic-bezier(.3, 1.8, .4, 1); white-space: nowrap; }
.sfx.on { opacity: 1; scale: 1; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .top { padding: 14px 16px; gap: 10px; }
  .nav, .tags { display: none; }
  .logo { margin-right: auto; font-size: 19px; }
  .copy { left: 14px; right: 14px; top: auto; bottom: 52px; translate: none; width: auto; padding: 16px 16px 18px; background: rgba(244, 234, 214, .94); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
  h1 { font-size: 40px; margin: 12px 0 10px; }
  h1 br:first-of-type { display: none; }
  .lead { font-size: 13.5px; line-height: 1.6; }
  .lead b { display: none; }
  .cta-row { margin-top: 14px; gap: 12px; }
  .pill { height: 50px; font-size: 15px; padding: 0 20px; }
  .foot { padding: 12px 16px; font-size: 10px; }
  .foot span:last-child { display: none; }
  .bubble { font-size: 15px; padding: 10px 16px; }
  .sfx { font-size: 44px; }
}
