/* ============================================================
   CAT WIF CAP — $CWIF
   Weirdobase-school redesign: art-saturated bands, handwritten
   annotations + doodle arrows, story beats, sticker cards,
   step tabs, entry gate. Lime/ink/photoreal-cat edition.
   ============================================================ */

:root {
  --lime: #CBEF06;
  --lime-deep: #AFCF00;
  --lime-dark: #86A000;
  --ink: #0B0B0B;
  --paper: #F6F6F1;
  --grey: #6c6c66;
  --radius: 18px;
  --display: "Archivo Black", system-ui, sans-serif;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;
  --body: "Inter", system-ui, sans-serif;
  --shadow-hard: 6px 6px 0 var(--ink);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--ink); color: var(--lime); }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 1.5rem; }
.hand { font-family: var(--hand); }

/* ============ ENTRY GATE ============ */
.gate {
  position: fixed; inset: 0; z-index: 500;
  background: var(--lime);
  display: grid; place-items: center; text-align: center;
  transition: translate .65s cubic-bezier(.65,.02,.35,1);
  overflow: hidden;
}
.gate.away { translate: 0 -102%; }
.gate.gone { display: none; }
.gate::before { /* halftone */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(11,11,11,.05) 1px, transparent 1.3px);
  background-size: 16px 16px;
}
.gate-cats img { position: absolute; filter: drop-shadow(0 10px 18px rgba(0,0,0,.18)); }
.gc1 { width: clamp(110px, 16vw, 230px); top: -3%; left: 4%; rotate: 168deg; }
.gc2 { width: clamp(90px, 13vw, 190px); right: 3%; top: 30%; rotate: -14deg; }
.gc3 { width: clamp(130px, 18vw, 260px); left: 50%; bottom: 0; translate: -50% 34%; }
.gate-loader { position: relative; z-index: 2; }
.gl-bar {
  width: min(540px, 78vw); height: 28px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 999px;
  padding: 4px; margin: 0 auto .8rem;
}
#gl-fill { display: block; height: 100%; width: 0%; background: var(--ink); border-radius: 999px; transition: width .18s; }
.gate-loader .hand { font-size: 1.5rem; }

/* ============ NAV ============ */
.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: center; padding: 0 12px; pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 1rem;
  width: min(1120px, 100%);
  background: var(--ink);
  border-radius: 999px;
  padding: .5rem .6rem .5rem 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: width .3s ease, box-shadow .3s;
}
body.scrolled .nav { width: min(940px, 100%); box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.brand span { font-family: var(--display); font-size: 1.1rem; color: var(--lime); letter-spacing: .02em; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a {
  font-weight: 700; font-size: .82rem; color: #cfcfc8;
  text-transform: uppercase; letter-spacing: .06em; transition: color .15s;
}
.nav-links a:hover { color: var(--lime); }
.btn-x {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: #242424; border-radius: 50%; transition: background .15s, transform .15s;
  margin-left: auto;
}
.nav-links + .btn-x { margin-left: 0; }
.btn-x img { width: 16px; filter: invert(1); }
.btn-x:hover { background: var(--lime); transform: translateY(-1px); }
.btn-x:hover img { filter: none; }
.btn-buy {
  font-family: var(--display); font-size: .85rem; letter-spacing: .03em;
  background: var(--lime); color: var(--ink);
  padding: .75em 1.2em; border-radius: 999px; white-space: nowrap;
  transition: transform .15s, filter .15s;
}
.btn-buy:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--lime);
  padding: 7.6rem 0 0;
  text-align: center;
  min-height: min(100svh, 1000px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 1.5rem;
  z-index: 2;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.halftone {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(11,11,11,.055) 1px, transparent 1.3px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
}
.feather-bg {
  position: absolute;
  top: -4%; right: -9%;
  width: min(74vmin, 720px); aspect-ratio: 1;
  background: rgba(11,11,11,.08);
  -webkit-mask: url("images/feather-big.png") no-repeat center / contain;
          mask: url("images/feather-big.png") no-repeat center / contain;
  transform: rotate(10deg);
  animation: featherDrift 14s ease-in-out infinite;
}
.feather-bg.two {
  top: auto; right: auto; bottom: 18%; left: -13%;
  width: min(46vmin, 430px);
  background: rgba(11,11,11,.05);
  transform: rotate(-18deg) scaleX(-1);
  animation: featherDrift 18s ease-in-out infinite reverse;
}
@keyframes featherDrift { 0%,100% { translate: 0 0; } 50% { translate: 0 -18px; } }

.hero-inner { position: relative; z-index: 2; width: min(1180px,100%); margin: 0 auto; padding: 0 1.5rem; }
.eyebrow {
  display: inline-block;
  font-weight: 900; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem;
  background: var(--ink); color: var(--lime);
  padding: .55em 1.2em; border-radius: 999px;
}
.wordmark {
  font-family: var(--display);
  font-size: min(clamp(3.4rem, 12.5vw, 10.5rem), 21vh);
  line-height: .82;
  letter-spacing: -.015em;
  margin: 1.4rem 0 1rem;
  color: var(--ink);
}
.wordmark .line { display: block; }
.hero-sub { font-weight: 800; font-size: clamp(1rem, 2.2vw, 1.3rem); color: #303a00; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }
.btn-solid {
  font-family: var(--display); font-size: 1rem;
  background: var(--ink); color: var(--lime);
  padding: .95em 1.6em; border-radius: 999px;
  transition: transform .15s;
}
.btn-solid:hover { transform: translateY(-2px); }

/* load-in rise */
.rise { opacity: 0; transform: translateY(34px); }
body.loaded .rise { animation: riseIn .8s cubic-bezier(.16,.84,.3,1) forwards; }
body.loaded .r1 { animation-delay: .05s; }
body.loaded .r2 { animation-delay: .14s; }
body.loaded .r3 { animation-delay: .24s; }
body.loaded .r4 { animation-delay: .34s; }
body.loaded .r5 { animation-delay: .48s; }
body.loaded .r6 { animation-delay: .58s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

/* rotating badge */
.badge-spin {
  position: absolute; z-index: 3;
  right: clamp(.5rem, 6vw, 6rem); top: 42%;
  width: clamp(110px, 13vw, 168px); aspect-ratio: 1;
  opacity: 0;
}
body.loaded .badge-spin { animation: badgePop .7s cubic-bezier(.2,1.4,.4,1) .9s forwards; }
@keyframes badgePop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
.badge-spin svg { position: absolute; inset: 0; animation: spin 16s linear infinite; overflow: visible; }
.badge-spin text { font-family: var(--display); font-size: 14px; letter-spacing: .14em; fill: var(--ink); }
.badge-spin > img { position: absolute; inset: 26%; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink); }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---- the lineup ---- */
.cat-row {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: center;
  margin-top: 1rem;
  padding: 0 2vw;
}
.cat {
  flex: 0 1 auto;
  width: clamp(90px, 13vw, 190px);
  margin: 0 calc(clamp(90px, 13vw, 190px) * -0.09);
  opacity: 0;
  transform: translateY(16%) scale(.94);
  transform-origin: bottom center;
  transition: filter .2s;
  position: relative;
}
.cat img { width: 100%; }
.cat.main {
  width: clamp(150px, 21.5vw, 310px); z-index: 5;
  margin: 0 calc(clamp(150px,21.5vw,310px) * -0.06) -26px;
}
.cat.c1, .cat.c6 { z-index: 1; }
.cat.c2, .cat.c5 { z-index: 2; }
.cat.c3, .cat.c4 { z-index: 3; }
body.loaded .cat { animation: catUp .85s cubic-bezier(.18,1.1,.32,1) forwards; }
body.loaded .c1 { animation-delay: .55s; }
body.loaded .c2 { animation-delay: .68s; }
body.loaded .c3 { animation-delay: .8s; }
body.loaded .main { animation-delay: .95s; }
body.loaded .c4 { animation-delay: .86s; }
body.loaded .c5 { animation-delay: .74s; }
body.loaded .c6 { animation-delay: .6s; }
@keyframes catUp { to { opacity: 1; transform: translateY(0) scale(1); } }
.cat .bob { display: block; animation: bob 5.2s ease-in-out infinite; transition: transform .28s cubic-bezier(.2,.9,.3,1.4); }
.cat.c1 .bob { animation-delay: .2s; } .cat.c2 .bob { animation-delay: 1.1s; }
.cat.c3 .bob { animation-delay: 2s; } .cat.main .bob { animation-delay: .6s; }
.cat.c4 .bob { animation-delay: 1.6s; } .cat.c5 .bob { animation-delay: 2.6s; }
.cat.c6 .bob { animation-delay: 3.2s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.cat:hover .bob { transform: translateY(-14px); }
.cat::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -2px; height: 8%;
  background: radial-gradient(ellipse at center, rgba(11,11,11,.30) 0%, transparent 68%);
  z-index: -1;
}

/* handwritten notes + doodle arrows */
.note {
  position: absolute; z-index: 7;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  color: var(--ink); rotate: -4deg;
}
.note svg { width: 44px; stroke: var(--ink); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; }
.note-him { left: calc(50% + 9vw); top: -3.6em; }
.note-colony { left: clamp(.5rem, 12vw, 12rem); top: -5.4em; rotate: 3deg; }

/* stickers */
.sticker {
  font-family: var(--display); font-size: clamp(.6rem, 1.1vw, .82rem);
  letter-spacing: .05em; white-space: nowrap;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px;
  padding: .6em 1.1em;
  box-shadow: 4px 4px 0 var(--ink);
  display: inline-block;
}
.hero .st-left, .hero .st-right { position: absolute; z-index: 6; opacity: 0; }
.hero .st-left { left: clamp(.6rem, 8vw, 9rem); top: -3.2em; rotate: -7deg; }
.hero .st-right { right: clamp(.6rem, 6vw, 7rem); top: -1.4em; rotate: 5deg; }
body.loaded .st-left { animation: badgePop .6s cubic-bezier(.2,1.4,.4,1) 1.25s forwards, swayL 6.5s ease-in-out 2.2s infinite; }
body.loaded .st-right { animation: badgePop .6s cubic-bezier(.2,1.4,.4,1) 1.4s forwards, swayR 7.5s ease-in-out 2.5s infinite; }
@keyframes swayL { 0%, 100% { rotate: -7deg; } 50% { rotate: -3.5deg; } }
@keyframes swayR { 0%, 100% { rotate: 5deg; } 50% { rotate: 8.5deg; } }

/* CA pill */
.ca-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--ink); color: #fff;
  padding: .8rem 1.2rem; border-radius: 999px;
  transition: transform .15s;
}
.ca-pill:hover { transform: translateY(-2px); }
.ca-tag { font-family: var(--display); font-size: .72rem; background: var(--lime); color: var(--ink); padding: .3em .7em; border-radius: 999px; }
.ca-value { font-weight: 700; font-size: .9rem; max-width: 290px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-hint { font-size: .68rem; color: #9a9a92; }
.ca-pill.dark { background: #fff; color: var(--ink); border: 3px solid var(--ink); }
.ca-pill.dark .ca-hint { color: var(--grey); }
.ca-strip { display: flex; justify-content: center; margin-top: 2.6rem; }

/* ============ TICKER ============ */
.marquee { overflow: hidden; padding: .8rem 0; }
.mq-dark { background: var(--ink); color: var(--lime); }
.marquee-track { display: flex; align-items: center; gap: 2rem; width: max-content; padding-right: 2rem; animation: scroll 30s linear infinite; }
.mq { white-space: nowrap; }
.mq.hand { font-size: 1.5rem; }
.mq-dark .dot { color: #55611a; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ STORY ============ */
.story { background: var(--paper); padding: 6.5rem 0 3.5rem; }
.story-head { text-align: center; margin-bottom: 4rem; }
.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: -.01em;
}
.h2.giant { font-size: clamp(2.6rem, 7vw, 5rem); }
.story-head .sub { font-size: 1.4rem; color: var(--grey); margin-top: .5rem; rotate: -1deg; }

/* official lore plaque */
.lore {
  position: relative;
  max-width: 720px; margin: 0 auto 5rem;
  background: #fff; border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 2.4rem 2.2rem 1.6rem;
  text-align: center;
}
.lore-tag { position: absolute; top: -1.3em; left: 50%; translate: -50%; rotate: -2deg; }
.lore p { font-size: 1.08rem; line-height: 1.7; color: #33332e; font-weight: 500; }
.lore p b { color: var(--ink); }
.lore .lore-note { font-size: 1.25rem; color: var(--grey); margin-top: .9rem; rotate: -1deg; }

.beat {
  position: relative;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: 5.5rem;
}
.beat.rev .polaroid { order: 2; }
.polaroid {
  position: relative;
  background: #fff; border: 3px solid var(--ink); border-radius: 16px;
  padding: .85rem .85rem 3rem;
  box-shadow: var(--shadow-hard);
  rotate: -2.5deg;
  max-width: 440px; margin: 0 auto;
  transition: rotate .25s;
}
.beat.rev .polaroid { rotate: 2.5deg; }
.polaroid:hover { rotate: 0deg; }
.polaroid img { border-radius: 8px; width: 100%; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: .55rem;
  text-align: center; font-size: 1.45rem; color: #33332e;
}
.beat-copy .hand { font-size: 1.5rem; line-height: 1.45; color: #33332e; margin-bottom: 1rem; max-width: 34ch; }
.big-hand { font-size: 1.95rem; }
.story-shout {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  background: var(--lime);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: .22em .5em;
  rotate: -1.5deg;
  margin: .4rem 0 1.2rem;
}
.beat.rev .story-shout { rotate: 1.5deg; }
.arrow {
  position: absolute; z-index: 3;
  width: clamp(70px, 9vw, 120px);
  stroke: var(--ink); stroke-width: 5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .85;
}
.a1 { left: 34%; bottom: -3.2rem; rotate: 20deg; }
.a2 { right: 36%; bottom: -3.4rem; rotate: -14deg; }

/* ============ CAT WALL ============ */
.catwall {
  --wallw: 735px; --wallh: 250px;
  height: var(--wallh);
  background: url("images/hero-cats.jpg") repeat-x left center;
  background-size: var(--wallw) var(--wallh);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  animation: wall 40s linear infinite;
}
@keyframes wall { to { background-position-x: calc(-1 * var(--wallw)); } }

/* ============ CATNOMICS ============ */
.catnomics { background: #fff; padding: 6.5rem 0 7rem; position: relative; overflow: hidden; }
.watermark {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  font-family: var(--display); font-size: clamp(6rem, 22vw, 19rem);
  color: transparent; -webkit-text-stroke: 2px rgba(11,11,11,.06);
  white-space: nowrap; pointer-events: none; user-select: none;
  animation: wmDrift 26s ease-in-out infinite;
}
@keyframes wmDrift { 0%,100% { translate: -53% -50%; } 50% { translate: -47% -50%; } }
.catnomics .story-head { margin-bottom: 2rem; }
.story-head .sub.inv { color: var(--grey); }
.tokcards {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1.5rem;
  margin-top: 5rem;
}
.tok {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 0 1rem 1.3rem; text-align: center;
  transition: transform .18s, rotate .18s;
}
.tok img { height: 150px; width: auto; margin: -3.6rem auto .5rem; filter: drop-shadow(0 8px 10px rgba(0,0,0,.15)); }
.tok .k { display: block; font-size: 1.35rem; color: var(--grey); }
.tok b { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.tok.t1 { rotate: -2deg; } .tok.t2 { rotate: 1.6deg; }
.tok.t3 { rotate: -1.2deg; } .tok.t4 { rotate: 2.2deg; }
.tok:hover { rotate: 0deg; transform: translateY(-5px); }

/* ============ DA COLONY RULES ============ */
.rules { background: var(--paper); padding: 6.5rem 0; }
.rules-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.checklist { list-style: none; display: grid; gap: 1rem; margin-top: 2.2rem; }
.checklist li {
  display: flex; gap: 1rem; align-items: center;
  background: #fff; border: 3px solid var(--ink); border-radius: 14px;
  padding: .9rem 1.2rem;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s;
}
.checklist li:hover { transform: translate(-2px,-2px); }
.chk {
  flex: none; width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--lime); border: 3px solid var(--ink); border-radius: 50%;
  font-weight: 900; font-size: 1.05rem;
}
.checklist b { display: block; font-family: var(--display); font-size: 1.02rem; }
.checklist .hand { color: var(--grey); font-size: 1.2rem; }
.rules-art { position: relative; text-align: center; }
.rules-cat { width: min(330px, 74%); margin: 0 auto; animation: bob 5.4s ease-in-out infinite; filter: drop-shadow(0 16px 22px rgba(0,0,0,.16)); }
.note-rules { top: -1.4em; right: 6%; rotate: 5deg; }
.note-rules svg { transform: scaleY(-1); }

/* ============ HOW TO GET SAD ============ */
.buy { background: var(--lime); padding: 6.5rem 0 7rem; position: relative; overflow: hidden; }
.buy .halftone { -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 55%); mask-image: linear-gradient(to top, #000 0%, transparent 55%); }
.buy .story-head { margin-bottom: 2.2rem; }
.buy .sub { color: #303a00; }
.tabs { position: relative; display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.8rem; }
.tab {
  font-family: var(--display); font-size: .95rem;
  border: 3px solid var(--ink); color: var(--ink);
  border-radius: 999px; padding: .6em 1.3em;
  transition: all .16s;
}
.tab:hover { transform: translateY(-2px); }
.tab.on { background: var(--ink); color: var(--lime); rotate: -2deg; }
.tab-panels { position: relative; max-width: 900px; margin: 0 auto; }
.panel { display: none; }
.panel.on {
  display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: center;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 1.6rem;
  animation: panelIn .35s cubic-bezier(.2,1.1,.3,1);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) rotate(-1deg); } }
.panel img { width: 100%; border: 3px solid var(--ink); border-radius: 12px; }
.panel h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: .5rem; }
.panel .hand { font-size: 1.45rem; line-height: 1.45; color: #33332e; }
.panel .hand b { color: var(--ink); }

/* ============ FILMSTRIP ============ */
.filmstrip {
  background: #fff;
  border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
  padding: 2.2rem 0; overflow: hidden;
}
.strip-track { display: flex; gap: 1.7rem; width: max-content; padding-right: 1.7rem; animation: scroll 44s linear infinite; }
.filmstrip:hover .strip-track { animation-play-state: paused; }
.strip-track figure {
  width: 295px; flex: none;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 14px;
  padding: .65rem .65rem .5rem;
  box-shadow: 5px 5px 0 var(--ink);
  rotate: -1.6deg;
  cursor: zoom-in;
  transition: transform .18s;
}
.strip-track figure:nth-child(even) { rotate: 1.6deg; }
.strip-track figure:hover { transform: translateY(-6px); }
.strip-track img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.strip-track figcaption { text-align: center; font-size: 1.2rem; padding-top: .45rem; color: #33332e; }

/* ============ COME GET SAD ============ */
.cta { background: var(--lime); text-align: center; padding: 5.5rem 0 6.5rem; position: relative; overflow: hidden; }
.cta-cat { width: clamp(150px, 16vw, 210px); margin: 0 auto 1.2rem; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 16px 24px rgba(0,0,0,.18)); }
.cta-btns { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 1.8rem; }
.cta-fine { margin-top: 1.4rem; font-size: 1.35rem; color: #303a00; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: #cfcfc8; padding: 3.4rem 0 2rem; overflow: hidden; }
.footer-word {
  font-family: var(--display);
  font-size: clamp(3rem, 10.5vw, 9rem);
  line-height: 1; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px rgba(203,239,6,.25);
  user-select: none; margin-bottom: 2.6rem;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.footer-brand span { font-family: var(--display); font-size: 1.15rem; color: var(--lime); }
.footer-right { display: flex; align-items: center; gap: 1.2rem; }
.footer-x { width: 40px; height: 40px; display: grid; place-items: center; background: #242424; border-radius: 50%; transition: background .15s; }
.footer-x img { width: 16px; filter: invert(1); }
.footer-x:hover { background: var(--lime); }
.footer-x:hover img { filter: none; }
.chain { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; }
.chain img { width: 22px; filter: invert(48%) sepia(85%) saturate(600%) hue-rotate(28deg) brightness(1.1); }
.footer-mail { font-weight: 700; font-size: .85rem; color: var(--lime); }
.disclaimer {
  width: min(1180px,100%); margin: 2.2rem auto 0; padding: 0 1.5rem;
  font-size: .74rem; line-height: 1.6; color: #6a6a63;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,6,4,.94);
  display: grid; place-items: center;
  padding: 4vmin;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  border: 3px solid var(--lime); border-radius: 14px;
  animation: lbIn .28s cubic-bezier(.2,1.2,.35,1);
}
@keyframes lbIn { from { scale: .86; opacity: 0; } }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  font-size: 1.2rem; font-weight: 900;
  display: grid; place-items: center;
}

/* ============ TOAST ============ */
.toast {
  position: fixed; left: 50%; bottom: 2rem;
  transform: translate(-50%, calc(100% + 3rem));
  background: var(--lime); color: var(--ink);
  font-weight: 800; padding: .85rem 1.5rem; border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
  z-index: 300;
}
.toast.show { transform: translate(-50%, 0); }

/* ============ REVEALS ============ */
.sr { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.9,.3,1.05); }
.sr.in { opacity: 1; transform: none; }
.polaroid.sr { transform: translateY(30px) rotate(-6deg); }
.beat.rev .polaroid.sr { transform: translateY(30px) rotate(6deg); }
.story-shout.sr { transform: translateY(20px) scale(.9); }
.tok.sr { transform: translateY(34px) scale(.93); }
.checklist li.sr { transform: translateX(-30px); }
.rules-art.sr { transform: translateY(30px) scale(.95); }
.arrow.sr { transform: scale(.6); transform-origin: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rise, .cat, .badge-spin, .hero .st-left, .hero .st-right { opacity: 1 !important; transform: none !important; }
  .gate { display: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .badge-spin { display: none; }
  .beat, .beat.rev { grid-template-columns: 1fr; gap: 1.8rem; margin-bottom: 4rem; }
  .beat.rev .polaroid { order: 0; }
  .arrow { display: none; }
  .rules-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .panel.on { grid-template-columns: 1fr; }
  .panel img { max-width: 420px; margin: 0 auto; }
  .catwall { --wallw: 530px; --wallh: 180px; }
  .note-colony { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: 6.4rem; min-height: 92svh; }
  .cat { width: clamp(78px, 24vw, 120px); margin: 0 -3.2vw; }
  .cat.main { width: clamp(126px, 38vw, 195px); margin-bottom: -16px; }
  .cat.c1, .cat.c6 { display: none; }
  .hero .st-left { top: -2.6em; }
  .hero .st-right { top: -1em; }
  .note-him { top: -3em; left: calc(50% + 14vw); }
  .ca-value { max-width: 180px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .tokcards { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .tok img { height: 110px; margin-top: -2.6rem; }
  .gc2 { display: none; }
  .strip-track figure { width: 240px; }
}
