/* =========================================================
   SPODER INU ($SI) — drawn by a dog, coded by a human
   ========================================================= */

:root {
  --paper: #fbf7ea;
  --line: #c9dcf0;
  --margin: #f1a1a1;
  --ink: #161412;
  --ink-soft: #57504a;
  --red: #e3161b;
  --red-d: #a90f13;
  --blue: #1c35e6;
  --orange: #f08a32;
  --cream: #f7e7c6;
  --yellow: #ffe04a;
  --green: #9be58f;
  --sky: #a6d8ff;

  --font-display: "Finger Paint", "Comic Sans MS", "Chalkboard SE", cursive;
  --font-hand: "Gochi Hand", "Comic Sans MS", "Chalkboard SE", cursive;
  --font-marker: "Permanent Marker", "Comic Sans MS", cursive;

  --shadow: 5px 6px 0 var(--ink);
  --wobbly: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --wobbly-2: 15px 255px 15px 225px / 225px 15px 255px 15px;
  --ml: clamp(8px, 4.5vw, 68px);

  --squiggle-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'%3E%3Cpath d='M2 8 Q9 1 16 8 T30 8 T44 8 T58 8' fill='none' stroke='%23e3161b' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
  --squiggle-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'%3E%3Cpath d='M0 7 Q7.5 1 15 7 T30 7 T45 7 T60 7' fill='none' stroke='%23161412' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M0 20 L0 8 L7 12 L14 5 L22 11 L30 4 L37 10 L46 6 L52 13 L60 5 L69 9 L76 3 L84 11 L92 6 L100 12 L108 4 L117 9 L124 5 L133 12 L140 6 L148 10 L156 3 L164 11 L172 7 L180 12 L188 5 L194 9 L200 8 L200 20 Z'/%3E%3C/svg%3E");
  --torn-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0 12 L8 8 L15 15 L23 9 L31 16 L38 10 L47 14 L53 7 L61 15 L70 11 L77 17 L85 9 L93 14 L101 8 L109 16 L118 11 L125 15 L134 8 L141 14 L149 10 L157 17 L165 9 L173 13 L181 8 L189 15 L195 11 L200 12 L200 0 Z'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-hand);
  font-size: clamp(1.18rem, 0.95rem + 0.7vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent calc(var(--ml) - 1px), var(--margin) calc(var(--ml) - 1px), var(--margin) calc(var(--ml) + 1px), transparent calc(var(--ml) + 1px)),
    repeating-linear-gradient(180deg, transparent 0 37px, var(--line) 37px 38px);
  -webkit-font-smoothing: antialiased;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .24 0 0 0 0 .16 0 0 0 .32 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px dashed var(--blue); outline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- utilities ---------- */
.red { color: var(--red); }
.blue { color: var(--blue); }
.center { text-align: center; }
.small { font-size: .8em; color: var(--ink-soft); }

.wrap {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

/* highlighter */
.hl {
  color: inherit;
  background: linear-gradient(100deg, transparent 2%, var(--yellow) 4%, var(--yellow) 94%, transparent 97%) 0 60% / 100% 62% no-repeat;
  padding: 0 .15em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* crossed out with red crayon */
.scribble {
  position: relative;
  text-decoration: none;
  display: inline-block;
}
.scribble::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 30%;
  height: 50%;
  background:
    var(--squiggle-red) 0 0 / 34px 100% repeat-x;
  rotate: -4deg;
}

/* line boil (hand-drawn wobble) */
@keyframes boil {
  0%      { filter: url(#boil-1); }
  33.33%  { filter: url(#boil-2); }
  66.66%  { filter: url(#boil-3); }
  100%    { filter: url(#boil-1); }
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.boil { animation: boil .45s steps(1) infinite; }
.boil-soft { animation: boil .6s steps(1) infinite; }
.boil.float { animation: boil .45s steps(1) infinite, float 4.5s ease-in-out infinite; }
.boil.spin-slow { animation: boil .45s steps(1) infinite, spin 26s linear infinite; }

/* ---------- parallax + doodles ---------- */
.px { will-change: translate; }

.doodle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  rotate: var(--r, 0deg);
}
.doodle > svg { width: 100%; height: auto; aspect-ratio: 1; display: block; overflow: visible; }
.doodle.web { height: auto; aspect-ratio: 1; opacity: .75; }
.doodle.web.flip { scale: -1 -1; }
.doodle.web.flip-x { scale: -1 1; }
.web path, [data-web] path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }

.scrawl {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  font-family: var(--font-marker);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--red);
  rotate: var(--r, 0deg);
  white-space: nowrap;
}
.scrawl.blue { color: var(--blue); }

.bigword {
  position: absolute;
  left: -20%;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 20rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(22, 20, 18, .07);
  user-select: none;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red);
  --fg: #fff;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem);
  line-height: 1.1;
  padding: .7em 1.3em .75em;
  color: var(--fg);
  background: var(--bg);
  border: 3px solid var(--ink);
  border-radius: var(--wobbly);
  box-shadow: var(--shadow);
  text-decoration: none;
  cursor: pointer;
  rotate: -2deg;
  transition: rotate .18s, scale .18s cubic-bezier(.3, 1.8, .5, 1), translate .1s, box-shadow .1s;
  -webkit-tap-highlight-color: transparent;
}
.btn:nth-child(even) { rotate: 1.5deg; border-radius: var(--wobbly-2); }
.btn:hover { rotate: 2deg; scale: 1.07; }
.btn:active { translate: 4px 5px; box-shadow: 1px 1px 0 var(--ink); }
.btn-red { --bg: var(--red); }
.btn-blue { --bg: var(--blue); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn-sm { font-size: 1rem; padding: .55em 1em .6em; box-shadow: 3px 4px 0 var(--ink); }
.btn-lg { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px clamp(16px, 3vw, 36px);
  background: rgba(251, 247, 234, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 12px;
  background: var(--squiggle-ink) 0 0 / 48px 12px repeat-x;
  pointer-events: none;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: .95;
  rotate: -3deg;
  transition: rotate .2s;
}
.logo:hover { rotate: 3deg; }
.logo img {
  width: 52px;
  height: 52px;
  border: 3px solid var(--ink);
  border-radius: 50% 44% 56% 47%;
  background: var(--yellow);
  object-fit: cover;
}
.logo span span { color: var(--red); }
.nav-links {
  display: flex;
  gap: clamp(10px, 1.8vw, 26px);
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  font-family: var(--font-marker);
  font-size: 1.05rem;
  text-decoration: none;
  transition: rotate .15s, scale .15s, color .15s;
}
.nav-links li:nth-child(odd) a { rotate: -3deg; }
.nav-links li:nth-child(even) a { rotate: 2deg; }
.nav-links a:hover { color: var(--red); scale: 1.15; rotate: -6deg; }
.nav .btn { margin-left: 0; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- scroll spider ---------- */
.scroll-spider {
  position: fixed;
  top: 66px;
  right: clamp(4px, 1.6vw, 22px);
  z-index: 45;
  width: 46px;
  transform-origin: 50% 0;
  pointer-events: none;
}
.scroll-spider .thread {
  width: 2px;
  height: var(--len, 30px);
  margin: 0 auto;
  background: var(--ink);
  opacity: .75;
}
.spider-btn {
  display: block;
  width: 46px;
  height: 46px;
  margin-top: -8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
}
.spider-btn svg { width: 100%; height: 100%; }
.spider-btn:hover svg { animation: wiggle .3s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { rotate: -8deg; } 50% { rotate: 8deg; } }
@media (max-width: 600px) {
  .hide-sm { display: none !important; }
  .scroll-spider { width: 32px; top: 64px; right: -6px; }
  .spider-btn { width: 32px; height: 32px; }
}

/* ---------- sections ---------- */
.sec, .hero, .end {
  position: relative;
  overflow: clip;
}
.sec { padding: clamp(80px, 11vw, 150px) 0; }

.stitle {
  position: relative;
  display: inline-block;
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5.6rem);
  line-height: .95;
  rotate: -2deg;
}
.stitle::after {
  content: "";
  display: block;
  height: 16px;
  margin-top: 10px;
  width: 70%;
  background: var(--squiggle-red) 0 0 / 44px 16px repeat-x;
}
.stitle small {
  display: block;
  margin-top: 10px;
  font-family: var(--font-hand);
  font-size: clamp(1.05rem, .9rem + .6vw, 1.5rem);
  line-height: 1.2;
  color: var(--ink-soft);
  rotate: 3deg;
  transform-origin: left;
}
.stitle.center { display: block; text-align: center; }
.stitle.center::after { margin-left: auto; margin-right: auto; width: 40%; }
.stitle.center small { transform-origin: center; }

/* reveal */
.js .pop {
  opacity: 0;
  transform: translateY(46px) rotate(calc(var(--r, 0deg) - 8deg)) scale(.9);
}
.js .pop.in {
  opacity: 1;
  transform: rotate(var(--r, 0deg));
  transition: transform .75s cubic-bezier(.25, 1.6, .45, 1), opacity .35s ease-out;
}
.stitle.pop.in { transform: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 108px 0 90px;
  display: flex;
  align-items: center;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(10px, 3vw, 40px);
  align-items: center;
}

.kicker {
  margin: 0 0 -.1em;
  font-family: var(--font-marker);
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
  color: var(--blue);
  rotate: -5deg;
  display: inline-block;
}

.title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.6rem, 1rem + 10vw, 8.6rem);
  line-height: .92;
  letter-spacing: -.01em;
}
.title .word { display: block; white-space: nowrap; }
.title .word-2 { display: flex; align-items: center; gap: .18em; }
.title .ch {
  display: inline-block;
  color: var(--c, var(--red));
  -webkit-text-stroke: .045em var(--ink);
  paint-order: stroke fill;
  text-shadow: .05em .06em 0 var(--ink);
  rotate: var(--r, 0deg);
  translate: 0 var(--y, 0);
  animation: jiggle 2.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  transition: scale .25s cubic-bezier(.3, 1.9, .5, 1);
  cursor: default;
}
.title .ch:hover { scale: 1.2; }
@keyframes jiggle {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-6px); }
}

.tick {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .42em;
  line-height: 1;
  padding: .22em .38em .28em;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: var(--wobbly);
  box-shadow: 5px 6px 0 var(--ink);
  rotate: 8deg;
  animation: tickbob 1.8s ease-in-out infinite;
}
@keyframes tickbob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.tagline {
  margin: clamp(16px, 2vw, 26px) 0 0;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 2.1rem);
  line-height: 1.3;
  rotate: -1deg;
}

.ca-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: 100%;
  margin-top: 22px;
  padding: 10px 12px 10px 16px;
  background: #fff;
  border: 3px dashed var(--ink);
  border-radius: var(--wobbly-2);
  rotate: .8deg;
}
.ca-label { font-family: var(--font-marker); color: var(--red); }
.ca-text {
  flex: 1 1 auto;
  font-family: var(--font-hand);
  font-size: .95em;
  word-break: break-all;
  min-width: 0;
}
.copy-btn {
  font-family: var(--font-marker);
  font-size: .95rem;
  padding: 4px 12px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px 800px 900px 700px;
  cursor: pointer;
  transition: scale .15s, rotate .15s;
}
.copy-btn:hover { scale: 1.08; rotate: -4deg; }
.copy-btn.nope { animation: nope .4s; background: var(--red); }
.copy-btn.yes { background: #1f9d3a; }
@keyframes nope { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }

.cta-row { display: flex; flex-wrap: wrap; gap: 18px 22px; margin-top: 26px; }
.chain-note { margin: 22px 0 0; font-size: 1.1em; rotate: -1deg; }

/* dog */
.hero-dog {
  position: relative;
  width: min(100%, 580px);
  margin: 0 auto;
  aspect-ratio: 1;
}
.dog-scribble {
  position: absolute;
  inset: 4% 2% 0 6%;
  width: 92%;
  height: 96%;
  z-index: 0;
}
.dog-scribble path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .95;
}
.dog-web {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  z-index: 0;
  opacity: .3;
}
.dog-btn {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dog-btn img {
  width: 100%;
  height: auto;
  filter: drop-shadow(8px 10px 0 rgba(22, 20, 18, .9));
  animation: dogbob 3.2s ease-in-out infinite;
  transform-origin: 50% 90%;
}
@keyframes dogbob {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(1.5deg) translateY(-10px); }
}
.dog-btn.boing img { animation: boing .55s cubic-bezier(.3, 1.6, .5, 1), dogbob 3.2s ease-in-out .55s infinite; }
@keyframes boing {
  0%   { transform: scale(1) rotate(0); }
  30%  { transform: scale(.88, 1.1) rotate(-8deg); }
  60%  { transform: scale(1.08, .92) rotate(6deg); }
  100% { transform: scale(1) rotate(0); }
}

.bubble {
  position: absolute;
  z-index: 3;
  top: 0;
  left: -4%;
  max-width: 62%;
  padding: 12px 18px 14px;
  font-family: var(--font-marker);
  font-size: clamp(1rem, .8rem + .8vw, 1.45rem);
  line-height: 1.15;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 60% 40% 55% 45% / 55% 50% 50% 45%;
  box-shadow: 4px 5px 0 var(--ink);
  rotate: -6deg;
  transform-origin: 80% 100%;
}
.bubble::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: -22px;
  width: 26px;
  height: 26px;
  background: #fff;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  rotate: 20deg;
  skew: -20deg;
}
.bubble.say { animation: say .35s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes say { from { scale: .4; opacity: 0; } to { scale: 1; opacity: 1; } }

.sticker {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  align-content: center;
  width: clamp(76px, 9vw, 104px);
  aspect-ratio: 1;
  font-family: var(--font-marker);
  font-size: clamp(.8rem, .7rem + .3vw, 1rem);
  line-height: 1;
  text-align: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 4px 0 var(--ink);
}
.sticker b { font-family: var(--font-display); font-weight: 400; font-size: 2em; line-height: 1; }
.s-iq { right: 2%; top: 10%; background: var(--sky); rotate: 14deg; }
.s-dum { right: -2%; bottom: 24%; background: var(--yellow); rotate: -12deg; }
.s-dum b { font-size: 1.5em; color: var(--red); }

.poke-note {
  position: absolute;
  z-index: 4;
  left: -2%;
  bottom: 8%;
  margin: 0;
  font-family: var(--font-marker);
  font-size: clamp(1rem, .8rem + .6vw, 1.35rem);
  line-height: 1.05;
  color: var(--blue);
  rotate: -8deg;
}
.poke-note .arrow {
  position: absolute;
  width: 56px;
  height: 56px;
  left: 60%;
  top: -52px;
  color: var(--blue);
  rotate: -30deg;
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-marker);
  font-size: 1.05rem;
  line-height: 1.05;
  animation: hint 1.6s ease-in-out infinite;
}
.scroll-hint span { font-family: var(--font-hand); font-size: .9rem; color: var(--ink-soft); }
@keyframes hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { text-align: left; }
  .hero-dog { width: min(92%, 460px); margin-top: 18px; }
  .scroll-hint { display: none; }
}

/* =========================================================
   MARQUEE BANDS
   ========================================================= */
.bands {
  position: relative;
  z-index: 5;
  height: clamp(150px, 16vw, 210px);
  overflow: clip;
  margin: -30px 0;
}
.band {
  position: absolute;
  left: -5vw;
  width: 110vw;
  top: 50%;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
  line-height: 1;
  white-space: nowrap;
}
.band-red { background: var(--red); color: #fff; rotate: -3deg; translate: 0 -50%; box-shadow: 0 7px 0 var(--ink); }
.band-blue { background: var(--blue); color: var(--yellow); rotate: 2.5deg; translate: 0 -50%; }
.band-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 16px 0;
  animation: marquee 26s linear infinite;
}
.band-track.rev { animation-direction: reverse; animation-duration: 32s; }
.band-track span { -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.band-track i {
  width: 1.5em;
  height: 1.5em;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23161412' stroke-width='6' stroke-linecap='round'%3E%3Cpath d='M38 50 Q22 38 12 46 M37 57 Q18 55 8 66 M38 63 Q22 72 16 86 M41 69 Q32 82 32 94 M62 50 Q78 38 88 46 M63 57 Q82 55 92 66 M62 63 Q78 72 84 86 M59 69 Q68 82 68 94'/%3E%3C/g%3E%3Cellipse cx='50' cy='59' rx='14' ry='16' fill='%23161412'/%3E%3Ccircle cx='50' cy='38' r='10' fill='%23161412'/%3E%3Ccircle cx='45' cy='36' r='4' fill='%23fff'/%3E%3Ccircle cx='56' cy='37' r='2.4' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   WHO
   ========================================================= */
.who-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.index-card {
  position: relative;
  padding: clamp(22px, 3vw, 38px) clamp(20px, 3vw, 40px);
  background:
    linear-gradient(transparent 58px, rgba(227, 22, 27, .45) 58px 60px, transparent 60px) 0 0 / 100% 100% no-repeat,
    repeating-linear-gradient(transparent 0 35px, rgba(28, 53, 230, .18) 35px 36px) 0 60px / 100% calc(100% - 60px) no-repeat,
    #fffdf6;
  border: 3px solid var(--ink);
  border-radius: 6px 18px 8px 22px / 22px 8px 18px 6px;
  box-shadow: var(--shadow);
}
.index-card p { margin: 0 0 .8em; }
.index-card p:last-child { margin-bottom: 0; }
.index-card .bigline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.3rem);
  line-height: 1.15;
  rotate: -1.5deg;
}
.aside { color: var(--blue); }

.wanted {
  position: relative;
  width: min(100%, 380px);
  justify-self: center;
  padding: 26px 22px 22px;
  text-align: center;
  background: #e9cf98;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(120, 70, 20, .25), transparent 60%);
  border: 3px solid var(--ink);
  border-radius: 4px 12px 6px 16px;
  box-shadow: var(--shadow);
}
.wanted .pin {
  position: absolute;
  width: 52px;
  height: 52px;
  top: -30px;
  left: 50%;
  translate: -50% 0;
  rotate: 12deg;
}
.wanted-h {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  line-height: 1;
  color: #5a2a0c;
  letter-spacing: .04em;
}
.wanted-sub { font-family: var(--font-marker); font-size: 1.2rem; margin: 2px 0 12px; }
.wanted-img {
  border: 3px solid #5a2a0c;
  background: #fff8e6;
  overflow: hidden;
}
.wanted-img img { width: 100%; filter: sepia(.35) contrast(1.05); }
.wanted-reward {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem);
  color: #5a2a0c;
}
.wanted-reward small { display: block; font-family: var(--font-hand); font-size: .7em; }

@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr; }
  .wanted { width: min(360px, 90%); margin: 20px auto 0; }
}

/* =========================================================
   VS
   ========================================================= */
.vs-word {
  display: inline-block;
  color: var(--red);
  font-size: .7em;
  rotate: -12deg;
  margin: 0 .1em;
}
.vs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 36px);
  align-items: stretch;
}
.vs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 34px);
  text-align: center;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--wobbly-2);
  box-shadow: var(--shadow);
}
.vs-card h3 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.7rem);
  line-height: 1;
}
.vs-card .caption { margin: 4px 0 14px; color: var(--ink-soft); font-size: .9em; }
.vs-card.super { background: #eef0f4; }
.vs-card.super > *:not(.stamp) { opacity: .6; filter: grayscale(.55); }
.vs-card.spoder { background: #fff6f3; }

.vs-pic {
  height: clamp(150px, 17vw, 230px);
  width: 100%;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}
.spoder-mini { filter: drop-shadow(5px 6px 0 var(--ink)); }

.stats {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  text-align: left;
}
.stats li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 14px;
  padding: 7px 2px;
  border-bottom: 2px dashed rgba(22, 20, 18, .25);
}
.stats li:last-child { border-bottom: 0; }
.stats span { color: var(--ink-soft); white-space: nowrap; }
.stats b {
  font-weight: 400;
  text-align: right;
  font-family: var(--font-marker);
  font-size: .9em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.spoder .stats b { color: var(--red); }

.stamp {
  position: absolute;
  z-index: 3;
  top: clamp(40px, 8vw, 90px);
  left: 50%;
  translate: -50% 0;
  padding: .1em .45em;
  font-family: var(--font-marker);
  font-size: clamp(1.8rem, 1.2rem + 2vw, 3.2rem);
  line-height: 1;
  color: #555;
  border: 5px solid currentColor;
  border-radius: 8px;
  rotate: -16deg;
  opacity: .9;
  pointer-events: none;
  white-space: nowrap;
}
.stamp small { display: block; font-size: .35em; margin-top: 2px; }
.stamp-red {
  color: var(--red);
  top: 10px;
  left: auto;
  right: -10px;
  translate: 0 0;
  rotate: 12deg;
  font-size: clamp(1.2rem, .9rem + 1vw, 1.9rem);
  background: rgba(255, 255, 255, .85);
}

.vs-big {
  align-self: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.6rem + 5vw, 7rem);
  line-height: 1;
  color: var(--yellow);
  -webkit-text-stroke: .06em var(--ink);
  paint-order: stroke fill;
  text-shadow: .06em .07em 0 var(--red);
  rotate: -10deg;
  animation: vspulse 1s ease-in-out infinite;
}
.vs-big span { display: inline-block; }
@keyframes vspulse { 0%, 100% { scale: 1; } 50% { scale: 1.12; } }

/* tablet: slimmer VS so the cards keep their room */
@media (max-width: 1080px) and (min-width: 821px) {
  .vs-big { font-size: 3.2rem; }
  .stats { font-size: .92em; }
}

/* phone: stack, VS badge overlaps both cards */
@media (max-width: 820px) {
  .vs-grid { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .vs-big {
    position: relative;
    z-index: 5;
    justify-self: center;
    margin: -34px 0 -30px;
    font-size: clamp(3.4rem, 16vw, 5rem);
  }
  .vs-card.spoder { margin-top: 0; }
  .stamp-red { right: 8px; }
  .vs-pic { height: clamp(150px, 42vw, 220px); }
  .stitle.center .vs-word { display: block; margin: .1em auto; }
}
@media (max-width: 420px) {
  .stats { font-size: .88em; }
  .stats li { gap: 2px 10px; }
  .stamp { font-size: 1.7rem; border-width: 4px; }
}

/* =========================================================
   MEMES
   ========================================================= */
.memes-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
}
.meme-ctrl { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }

.cork {
  position: relative;
  padding: clamp(22px, 3.4vw, 46px);
  background-color: #c9965d;
  background-image:
    radial-gradient(rgba(90, 50, 15, .35) 1px, transparent 1.7px),
    radial-gradient(rgba(255, 232, 190, .35) 1px, transparent 1.7px),
    radial-gradient(rgba(90, 50, 15, .22) 2px, transparent 2.6px);
  background-size: 9px 9px, 13px 13px, 23px 23px;
  background-position: 0 0, 4px 6px, 10px 3px;
  border: clamp(10px, 1.6vw, 18px) solid #8b5a2b;
  border-radius: 12px;
  outline: 3px solid var(--ink);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .35), 9px 11px 0 var(--ink);
}

.cork { container-type: inline-size; }
.meme-grid {
  --cols: 4;
  --gap: clamp(20px, 2.6vw, 36px);
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-auto-rows: clamp(150px, 17vw, 230px);
  /* row = column width + caption strip, so every photo is square */
  grid-auto-rows: calc((100cqi - (var(--cols) - 1) * var(--gap)) / var(--cols) + 40px);
  grid-auto-flow: dense;
  gap: var(--gap);
}
.meme {
  position: relative;
  margin: 0;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1), 7px 11px 16px -6px rgba(0, 0, 0, .55);
  rotate: var(--r, 0deg);
  cursor: zoom-in;
  transition: rotate .25s, scale .25s cubic-bezier(.3, 1.6, .5, 1);
}
.meme.big { grid-column: span 2; grid-row: span 2; }
.meme:hover, .meme:focus-visible { rotate: 0deg; scale: 1.05; z-index: 4; }

.meme .ph,
.meme img {
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 50px);
}
.meme img { object-fit: cover; opacity: 0; transition: opacity .3s; background: #fff; }
.meme.has-img img { opacity: 1; }
.meme.has-img .ph { visibility: hidden; }

.ph {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, rgba(22, 20, 18, .06) 0 6px, transparent 6px 14px),
    #fdfaf1;
  border: 3px dashed rgba(22, 20, 18, .45);
  border-radius: 6px 14px 8px 12px;
  overflow: hidden;
}
.ph-q {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  color: var(--red);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  rotate: -10deg;
}
.meme.big .ph-q { font-size: clamp(3.4rem, 9vw, 8rem); }
.ph-t { font-family: var(--font-marker); font-size: clamp(.8rem, .7rem + .4vw, 1.05rem); line-height: 1.1; padding: 0 8px; }
.ph-n { font-family: var(--font-hand); font-size: .85rem; color: var(--ink-soft); }

.meme figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 9px;
  overflow: hidden;
  font-family: var(--font-marker);
  font-size: clamp(.78rem, .7rem + .35vw, 1rem);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* pins & tape */
.meme::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -14px;
  left: 50%;
  width: 84px;
  height: 26px;
  translate: -50% 0;
  rotate: var(--tr, -4deg);
  background: var(--tape, rgba(255, 224, 74, .75));
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}
.meme.pinned::before {
  width: 26px;
  height: 26px;
  top: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .7) 0 18%, transparent 20%), var(--pin, var(--red));
  border: 2.5px solid var(--ink);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, .35);
}

.meme-grid.shuffling .meme { transition: none; }

@media (max-width: 760px) {
  .meme-grid { --cols: 2; --gap: 18px; }
  .meme.big.desk-only { grid-column: auto; grid-row: auto; }
  .meme figcaption { bottom: 4px; white-space: normal; font-size: .72rem; line-height: 1.1; min-height: 2.2em; display: grid; place-items: center; }
  .memes-head { display: block; }
}

/* lightbox */
.lightbox {
  width: min(900px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 22px 22px 18px;
  color: var(--ink);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 18px 6px 22px 10px;
  box-shadow: 10px 12px 0 var(--ink);
  overflow: visible;
}
.lightbox[open] { animation: lbin .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes lbin { from { scale: .6; rotate: -8deg; opacity: 0; } }
.lightbox::backdrop { background: rgba(22, 20, 18, .72); }
.lightbox figure { margin: 0; }
.lb-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(50vh, 380px);
  padding: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(22, 20, 18, .15);
}
.lb-frame img { max-width: 100%; max-height: 68vh; object-fit: contain; }
.lb-frame img[hidden] { display: none; }
.lb-empty {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  line-height: 1.2;
}
.lb-empty small { font-family: var(--font-hand); font-size: .6em; color: var(--ink-soft); }
.lightbox figcaption { margin-top: 10px; text-align: center; font-family: var(--font-marker); font-size: 1.2rem; }
.lb-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.lb-close {
  position: absolute;
  top: -22px;
  right: -18px;
  width: 50px;
  height: 50px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 50% 45% 55% 48%;
  box-shadow: 3px 4px 0 var(--ink);
  cursor: pointer;
  rotate: 10deg;
}
.lb-close:hover { rotate: -10deg; scale: 1.1; }

/* =========================================================
   END / FOOTER
   ========================================================= */
.end {
  margin-top: 40px;
  padding: clamp(110px, 14vw, 170px) 0 clamp(200px, 26vw, 330px);
  color: #fff;
  background-color: var(--red);
  background-image:
    repeating-linear-gradient(-30deg, rgba(0, 0, 0, .06) 0 3px, transparent 3px 10px);
  -webkit-mask: var(--torn) top left / 420px 22px repeat-x, linear-gradient(#000 0 0) 0 21px / 100% calc(100% - 21px) no-repeat;
  mask: var(--torn) top left / 420px 22px repeat-x, linear-gradient(#000 0 0) 0 21px / 100% calc(100% - 21px) no-repeat;
  text-align: center;
}
.end .web path { stroke: rgba(0, 0, 0, .55); }
.end-wrap { max-width: 900px; }
.end-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.6rem, 1.5rem + 9vw, 9rem);
  line-height: .9;
  color: #fff;
  -webkit-text-stroke: .04em var(--ink);
  paint-order: stroke fill;
  text-shadow: .05em .06em 0 var(--ink);
}
.end-title > span { display: inline-block; }
.end-title > span:first-child { rotate: -4deg; }
.end-title .si { color: var(--yellow); rotate: 5deg; }
.end-title .small-or { font-size: .42em; color: var(--sky); rotate: -3deg; margin-top: .2em; }
.end-sub { margin: 14px 0 30px; font-size: 1.3em; }

.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 18px; }
.soc {
  font-family: var(--font-marker);
  font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
  padding: .5em 1.1em;
  color: var(--ink);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--wobbly);
  box-shadow: 4px 5px 0 var(--ink);
  text-decoration: none;
  rotate: -2deg;
  transition: rotate .15s, scale .15s cubic-bezier(.3, 1.8, .5, 1);
}
.soc:nth-child(2) { rotate: 2deg; background: var(--yellow); }
.soc:nth-child(3) { rotate: -1deg; background: var(--sky); }
.soc:nth-child(4) { rotate: 3deg; background: var(--green); }
.soc:hover { scale: 1.1; rotate: 0deg; }

.ca-dark { margin-top: 34px; color: var(--ink); }
.disclaimer {
  max-width: 720px;
  margin: 40px auto 0;
  font-size: .9em;
  line-height: 1.45;
  opacity: .9;
}
.copyright { margin: 14px 0 0; font-family: var(--font-marker); font-size: .9rem; opacity: .8; }

.peek {
  position: absolute;
  z-index: 1;
  bottom: -2%;
  left: 50%;
  width: clamp(240px, 32vw, 420px);
  translate: -50% var(--peek, 60%);
  filter: drop-shadow(6px 8px 0 rgba(22, 20, 18, .9));
  pointer-events: none;
}

/* =========================================================
   click fx: THWIP
   ========================================================= */
.thwip {
  position: fixed;
  z-index: 90;
  width: 130px;
  height: 130px;
  translate: -50% -50%;
  pointer-events: none;
  animation: thwip .85s ease-out forwards;
}
.thwip svg { width: 100%; height: 100%; }
.thwip path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.thwip span {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  rotate: var(--r, 0deg);
  font-family: var(--font-display);
  font-size: 1.9rem;
  white-space: nowrap;
  color: var(--c, var(--red));
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
}
@keyframes thwip {
  0%   { scale: .2; opacity: 1; }
  35%  { scale: 1.1; }
  70%  { opacity: 1; }
  100% { scale: 1; opacity: 0; }
}

/* =========================================================
   less motion please
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .pop { opacity: 1; transform: rotate(var(--r, 0deg)); }
}
