:root {
  --ink: #0a0a0a;
  --ink-2: #151515;
  --paper: #ead39b;
  --paper-light: #f3e4b9;
  --acid: #e7ff46;
  --pink: #ff4fb8;
  --white: #fffdf6;
  --muted: #8f856e;
  --line: rgba(10, 10, 10, .22);
  --radius: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: .055;
  pointer-events: none;
  z-index: 999;
  background-image: repeating-radial-gradient(circle at 20% 30%, rgba(0,0,0,.9) 0 1px, transparent 1px 4px);
  background-size: 8px 8px;
  mix-blend-mode: multiply;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-wrap { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }

.boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--acid);
  transition: opacity .5s ease, visibility .5s ease;
}
.boot.hidden { opacity: 0; visibility: hidden; }
.boot-box { width: min(420px, 82vw); text-align: center; font-family: "Courier New", monospace; }
.boot-cat { font-size: 42px; margin-bottom: 18px; }
.boot-copy { font-weight: 800; letter-spacing: .12em; margin-bottom: 14px; }
.boot-bar { border: 1px solid var(--acid); height: 10px; padding: 2px; }
.boot-bar span { display: block; height: 100%; width: 0; background: var(--acid); animation: load 1.05s ease forwards; }
@keyframes load { to { width: 100%; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(234,211,155,.94);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(12px);
}
.header-wrap {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--ink); color: var(--acid); font: 900 13px/1 "Courier New", monospace; transform: rotate(-3deg); }
.brand-copy { letter-spacing: -.03em; }
.brand-copy b { font-family: "Courier New", monospace; font-size: 12px; }
.nav { justify-self: center; display: flex; gap: 22px; }
.nav a { text-decoration: none; font: 700 12px/1 "Courier New", monospace; letter-spacing: .06em; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--acid);
  text-decoration: none;
  font: 900 12px/1 "Courier New", monospace;
  letter-spacing: .05em;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(10,10,10,.17);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 rgba(10,10,10,.17); }
.button:active { transform: translate(1px,1px); box-shadow: 2px 2px 0 rgba(10,10,10,.18); }
.button-small { min-height: 38px; padding: 0 13px; font-size: 11px; box-shadow: none; }
.button-ghost { background: transparent; color: var(--ink); }
.button-block { width: 100%; }
.button-big { min-height: 64px; padding: 0 28px; font-size: 14px; }
.button[disabled] { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }

.section-pad { padding: 88px 0; }
.section-kicker { margin-bottom: 28px; font: 900 12px/1 "Courier New", monospace; letter-spacing: .13em; }
.section-kicker::before { content: "/// "; }

.hero-shell { padding-top: 64px; }
.hero {
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  gap: clamp(24px, 3vw, 42px);
  align-items: center;
}
.hero-copy { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--ink); font: 700 11px/1 "Courier New", monospace; letter-spacing: .06em; }
.blink-dot { width: 8px; height: 8px; background: var(--pink); border-radius: 50%; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero h1, .origin h2, .rules h2, .status-heading h2, .token h2, .finale h2 {
  margin: 20px 0 0;
  font-size: clamp(58px, 8vw, 132px);
  line-height: .82;
  letter-spacing: -.085em;
  text-transform: uppercase;
  font-weight: 1000;
}
.hero h1 span, .origin h2 span, .rules h2 span, .status-heading h2 span, .token h2 span, .finale h2 span { color: var(--pink); }
.hero-lede { max-width: 560px; margin: 28px 0; font-size: clamp(18px, 2vw, 25px); line-height: 1.28; font-weight: 700; letter-spacing: -.025em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.micro-strip { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.micro-strip span { padding: 6px 8px; background: rgba(255,255,255,.25); border: 1px dashed var(--ink); font: 700 10px/1 "Courier New", monospace; }

.hero-photo-wrap { position: relative; width: 100%; max-width: 560px; justify-self: end; }
.hero-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; border: 3px solid var(--ink); box-shadow: 14px 14px 0 var(--ink); background: #111; }
.photo-label { position: absolute; z-index: 2; top: -16px; left: 18px; padding: 8px 10px; background: var(--acid); border: 2px solid var(--ink); font: 900 10px/1 "Courier New", monospace; transform: rotate(-1deg); }
.photo-stamp { position: absolute; right: -14px; bottom: 42px; display: grid; place-items: center; width: 108px; height: 108px; border: 4px solid var(--pink); border-radius: 50%; color: var(--pink); font: 1000 17px/.86 Arial, sans-serif; text-align: center; transform: rotate(12deg); background: rgba(234,211,155,.88); }
.photo-caption { margin: 12px 0 0 18px; max-width: 520px; font: 700 11px/1.4 "Courier New", monospace; }

.ticker { overflow: hidden; background: var(--ink); color: var(--acid); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker span { white-space: nowrap; padding: 15px 0; font: 900 13px/1 "Courier New", monospace; letter-spacing: .08em; }
@keyframes ticker { to { transform: translateX(-50%); } }

.origin { background: var(--paper-light); border-bottom: 2px solid var(--ink); }
.origin-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.origin h2 { margin: 0; font-size: clamp(48px, 6.3vw, 104px); }
.story-copy p { margin: 0 0 24px; font-size: clamp(18px, 2vw, 25px); line-height: 1.45; letter-spacing: -.025em; }
.quote-card { position: relative; margin-top: 76px; padding: clamp(28px, 5vw, 64px); border: 3px solid var(--ink); background: var(--acid); box-shadow: 13px 13px 0 var(--ink); }
.quote-mark { position: absolute; top: -44px; left: 20px; font-size: 110px; line-height: 1; font-family: Georgia, serif; }
blockquote { margin: 0 0 28px; max-width: 1050px; font-size: clamp(34px, 5vw, 80px); line-height: .95; letter-spacing: -.055em; font-weight: 1000; }
.text-button { padding: 0; border: 0; background: none; cursor: pointer; font: 900 12px/1 "Courier New", monospace; text-decoration: underline; text-decoration-thickness: 2px; }

.status-section { background: var(--ink); color: var(--white); border-bottom: 2px solid var(--ink); }
.status-inner { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.status-heading h2 { margin: 0; font-size: clamp(58px, 7vw, 112px); }
.status-heading p { color: #b9b6ac; max-width: 470px; font-size: 18px; line-height: 1.45; }
.terminal { border: 2px solid #3b3b3b; background: #111; box-shadow: 16px 16px 0 rgba(231,255,70,.12); font-family: "Courier New", monospace; }
.terminal-top, .terminal-foot { display: flex; justify-content: space-between; gap: 20px; padding: 13px 15px; color: #969696; font-size: 10px; letter-spacing: .08em; border-bottom: 1px solid #303030; }
.terminal-foot { border-bottom: 0; border-top: 1px solid #303030; }
.terminal-lights { color: var(--pink); letter-spacing: .2em; }
.status-row { width: 100%; display: grid; grid-template-columns: .8fr 1.2fr auto; gap: 18px; align-items: center; padding: 20px 15px; border: 0; border-bottom: 1px solid #303030; background: transparent; color: var(--white); text-align: left; font-family: inherit; cursor: pointer; }
.status-row:hover { background: var(--acid); color: var(--ink); }
.status-row span { font-size: 10px; color: #8e8e8e; letter-spacing: .07em; }
.status-row:hover span { color: var(--ink); }
.status-row b { font-size: 14px; }
.status-row em { font-style: normal; }

.rules { background: var(--paper); }
.rules-head { display: grid; grid-template-columns: 1fr .62fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.rules h2 { margin: 0; font-size: clamp(52px, 7vw, 116px); }
.rules-head p { font-size: 18px; line-height: 1.5; font-weight: 700; }
.rule-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(4,1fr); border: 2px solid var(--ink); }
.rule-card { min-height: 320px; padding: 24px; border-right: 2px solid var(--ink); background: rgba(255,255,255,.13); transition: background .2s ease, transform .2s ease; }
.rule-card:last-child { border-right: 0; }
.rule-card:hover { background: var(--acid); transform: translateY(-8px); }
.rule-card > span { font: 900 11px/1 "Courier New", monospace; }
.rule-card h3 { margin: 80px 0 18px; font-size: 29px; line-height: .95; letter-spacing: -.04em; }
.rule-card p { margin: 0; font-size: 15px; line-height: 1.45; }

.bag-break { min-height: 760px; display: grid; grid-template-columns: 1.25fr .75fr; background: var(--ink); color: var(--white); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.bag-break-image { min-height: 760px; background-image: linear-gradient(to right, transparent 65%, rgba(10,10,10,.7)), url('assets/bag-cat.jpg'); background-size: cover; background-position: 40% 65%; filter: contrast(1.06) saturate(.9); }
.bag-break-copy { display: flex; flex-direction: column; justify-content: center; padding: 60px clamp(28px, 5vw, 76px); }
.bag-break-copy > span { align-self: flex-start; padding: 8px; background: var(--acid); color: var(--ink); font: 900 10px/1 "Courier New", monospace; transform: rotate(1deg); }
.bag-break-copy h2 { margin: 30px 0; font-size: clamp(62px, 8vw, 132px); line-height: .72; letter-spacing: -.08em; }
.bag-break-copy p { color: #bdbdbd; font: 700 15px/1.5 "Courier New", monospace; }

.token { background: var(--paper-light); border-bottom: 2px solid var(--ink); }
.token-grid { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.token h2 { margin: 0; font-size: clamp(53px, 6.5vw, 108px); }
.token-copy > p { max-width: 660px; font-size: 19px; line-height: 1.48; }
.token-note { padding-left: 18px; border-left: 5px solid var(--pink); font-weight: 700; }
.token-panel { border: 3px solid var(--ink); background: var(--paper); box-shadow: 13px 13px 0 var(--ink); }
.token-row { display: grid; grid-template-columns: .5fr 1fr; gap: 20px; padding: 20px; border-bottom: 2px solid var(--ink); }
.token-row span { font: 900 10px/1 "Courier New", monospace; letter-spacing: .08em; }
.token-row b { overflow-wrap: anywhere; font-size: 17px; }
.status-live { color: #8b0063; }
.token-actions { display: grid; gap: 10px; padding: 20px; }

.finale { background: var(--pink); }
.finale-inner { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.finale-topline { margin-bottom: 18px; font: 900 11px/1 "Courier New", monospace; letter-spacing: .11em; }
.finale h2 { margin: 0; font-size: clamp(88px, 14vw, 240px); }
.finale h2 span { color: var(--ink); -webkit-text-stroke: 2px var(--ink); }
.finale p { font-size: 20px; font-weight: 800; }
.cat-face { margin-top: 52px; font-size: 36px; transform: rotate(-3deg); }

footer { background: var(--ink); color: #d5d2ca; font: 11px/1.5 "Courier New", monospace; }
.footer-wrap { display: grid; grid-template-columns: .6fr 1.4fr auto; gap: 42px; align-items: start; padding: 34px 0; }
footer p { margin: 0; max-width: 760px; }
footer a { color: var(--acid); font-weight: 900; }

@media (max-width: 1050px) {
  .nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-photo-wrap { justify-self: stretch; max-width: min(620px, 100%); }
  .hero-photo { max-height: 72vh; }
  .origin-grid, .status-inner, .rules-head, .token-grid { grid-template-columns: 1fr; }
  .rule-grid { grid-template-columns: repeat(2,1fr); }
  .rule-card:nth-child(2) { border-right: 0; }
  .rule-card:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .bag-break { grid-template-columns: 1fr; }
  .bag-break-image { min-height: 70vh; background-image: linear-gradient(to bottom, transparent 60%, rgba(10,10,10,.8)), url('assets/bag-cat.jpg'); }
  .bag-break-copy { min-height: 500px; }
  .footer-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .page-wrap, .header-wrap { width: min(100% - 28px, 1320px); }
  .header-wrap { min-height: 60px; gap: 10px; }
  .brand-copy b { display: none; }
  .button-small { font-size: 9px; padding: 0 10px; min-height: 34px; }
  .section-pad { padding: 68px 0; }
  .hero-shell { padding-top: 54px; }
  .hero h1 { font-size: clamp(64px, 21vw, 100px); }
  .hero-photo { min-height: 62vh; object-position: 50% 55%; box-shadow: 9px 9px 0 var(--ink); }
  .photo-label { left: 8px; }
  .photo-stamp { right: -5px; bottom: 48px; width: 90px; height: 90px; font-size: 14px; }
  .photo-caption { margin-left: 0; }
  .origin h2, .rules h2, .status-heading h2, .token h2 { font-size: clamp(54px, 16vw, 86px); }
  .story-copy p { font-size: 18px; }
  .quote-card { margin-top: 52px; padding: 30px 20px; box-shadow: 8px 8px 0 var(--ink); }
  blockquote { font-size: clamp(34px, 11vw, 58px); }
  .terminal { box-shadow: 8px 8px 0 rgba(231,255,70,.12); }
  .status-row { grid-template-columns: .7fr 1.2fr auto; gap: 9px; padding: 18px 11px; }
  .status-row b { font-size: 12px; }
  .rule-grid { grid-template-columns: 1fr; }
  .rule-card { min-height: 240px; border-right: 0; border-bottom: 2px solid var(--ink) !important; }
  .rule-card:last-child { border-bottom: 0 !important; }
  .rule-card h3 { margin-top: 54px; }
  .bag-break-image { min-height: 62vh; background-position: 46% 65%; }
  .bag-break-copy { min-height: 400px; }
  .token-panel { box-shadow: 8px 8px 0 var(--ink); }
  .token-row { grid-template-columns: .42fr 1fr; padding: 17px 14px; }
  .finale h2 { font-size: clamp(84px, 25vw, 145px); }
  .footer-wrap { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* BAG CAT ARCHIVES */
.archives { background: var(--paper-light); border-bottom: 2px solid var(--ink); }
.archives-head { display: grid; grid-template-columns: 1fr .58fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.archives-head h2 { margin: 0; font-size: clamp(52px, 7vw, 116px); line-height: .82; letter-spacing: -.085em; text-transform: uppercase; font-weight: 1000; }
.archives-head h2 span { color: var(--pink); }
.archives-head p { margin: 0 0 8px; font-size: 18px; line-height: 1.5; font-weight: 700; }
.archive-grid { margin-top: 58px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; align-items: stretch; }
.archive-card { display: flex; flex-direction: column; border: 3px solid var(--ink); background: var(--paper); box-shadow: 10px 10px 0 var(--ink); min-width: 0; }
.archive-card-large { transform: rotate(-.35deg); }
.archive-card:nth-child(2) { transform: rotate(.45deg); }
.archive-image-wrap { position: relative; overflow: hidden; border-bottom: 3px solid var(--ink); background: #111; min-height: 0; }
.archive-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.archive-card-large .archive-image-wrap { aspect-ratio: 4 / 3; }
.archive-card-large .archive-image-wrap img { object-position: 50% 52%; }
.archive-card:not(.archive-card-large) .archive-image-wrap { aspect-ratio: 4 / 3; }
.archive-image-pot img { object-position: 50% 48%; }
.archive-tag { position: absolute; left: 14px; top: 14px; padding: 8px 10px; background: var(--acid); border: 2px solid var(--ink); font: 900 10px/1 "Courier New", monospace; letter-spacing: .04em; transform: rotate(-1deg); }
.archive-copy { padding: 24px; }
.archive-copy > span { font: 900 10px/1 "Courier New", monospace; letter-spacing: .1em; }
.archive-copy h3 { margin: 18px 0 10px; font-size: clamp(32px, 3.4vw, 58px); line-height: .9; letter-spacing: -.055em; }
.archive-copy p { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 700; }
.archive-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.archive-stats b { padding: 7px 8px; border: 1px dashed var(--ink); background: rgba(255,255,255,.2); font: 900 10px/1 "Courier New", monospace; }

@media (max-width: 1050px) {
  .archives-head, .archive-grid { grid-template-columns: 1fr; }
  .archive-card-large, .archive-card:nth-child(2) { transform: none; }
}

@media (max-width: 650px) {
  .archives-head h2 { font-size: clamp(54px, 16vw, 86px); }
  .archives-head p { font-size: 17px; }
  .archive-grid { margin-top: 38px; gap: 18px; }
  .archive-card { box-shadow: 7px 7px 0 var(--ink); }
  .archive-copy { padding: 20px; }
  .archive-copy h3 { font-size: clamp(34px, 11vw, 52px); }
}
