/* ==========================================================
   HOODLUM — styles
   Palette pulled straight from the art: bottle green wall,
   hoodie green, acid graffiti, cartoon ink, chain gold.
   ========================================================== */

:root {
  --green-950: #0B2217;
  --green-900: #10301F;
  --green-800: #164229;
  --green-700: #1D5A38;
  --green-600: #247448;
  --acid: #CDE234;
  --acid-600: #B4CB1C;
  --acid-800: #6F7F0A;
  --ink: #000000;
  --fur: #B47A3F;
  --gold: #E9B92C;
  --pink: #E8907A;
  --bone: #F1EDDE;
  --bone-70: rgba(241, 237, 222, .72);
  --bone-40: rgba(241, 237, 222, .4);
  --bone-15: rgba(241, 237, 222, .15);
  --ink-70: rgba(0, 0, 0, .7);
  --ink-15: rgba(0, 0, 0, .15);

  --font-display: 'Pirata One', 'Georgia', serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-meme: 'Anton', Impact, 'Arial Black', sans-serif;

  --line: 3px;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--green-900);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Print grain over everything, very light. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .06;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }

[hidden] { display: none !important; }

a { color: inherit; }

h1, h2, h3, p, dl, dd, figure, blockquote, ol, ul { margin: 0; }

:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }
.tokenomics :focus-visible { outline-color: var(--ink); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: .6rem 1rem; background: var(--acid); color: var(--ink);
  border: var(--line) solid var(--ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  line-height: .95;
  letter-spacing: .005em;
  color: var(--acid);
  text-shadow: .035em .035em 0 var(--ink);
  max-width: 14ch;
}
h3 {
  font-weight: 800;
  font-stretch: 92%;
  font-size: 1.375rem;
  line-height: 1.15;
}
.lede {
  margin-top: 1rem;
  font-size: 1.25rem;
  line-height: 1.4;
  max-width: 44ch;
  color: var(--bone-70);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--bone);
  color: var(--ink);
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  box-shadow: .25rem .25rem 0 var(--ink);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: .45rem .45rem 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn-acid { background: var(--acid); }
.btn-ink { background: var(--ink); color: var(--acid); border-color: var(--ink); box-shadow: .25rem .25rem 0 var(--acid-800); }
.btn-ink:hover { box-shadow: .45rem .45rem 0 var(--acid-800); }
.btn-ghost {
  background: transparent; color: var(--bone); border-color: var(--bone);
  box-shadow: .25rem .25rem 0 var(--bone-15);
}
.btn-ghost:hover { background: var(--bone); color: var(--ink); box-shadow: .45rem .45rem 0 var(--bone-15); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.125rem; }
.btn-small { padding: .5rem .95rem; font-size: .875rem; box-shadow: .18rem .18rem 0 var(--bone-15); }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--nav-h);
  padding: .6rem var(--gutter);
  background: rgba(16, 48, 31, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--line) solid var(--ink);
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-size: 1.85rem; line-height: 1;
  color: var(--acid); text-decoration: none;
  text-shadow: 2px 2px 0 var(--ink);
}
.brand img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a {
  color: var(--bone); text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--acid); border-bottom-color: var(--acid); }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; padding: 10px;
  background: var(--bone); border: var(--line) solid var(--ink); border-radius: 8px;
  box-shadow: .18rem .18rem 0 var(--ink); cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 3px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) 0;
  column-gap: 1rem;
  border-bottom: var(--line) solid var(--ink);
}
.hero.can-spray {
  user-select: none;
  -webkit-user-select: none;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='34' viewBox='0 0 30 34'%3E%3Cpath d='M8 12h14v20H8z' fill='%231D5A38' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M10 5h10v7H10z' fill='%23CDE234' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='15' cy='3' r='2.5' fill='%23000'/%3E%3Cpath d='M12 20h6M12 24h6' stroke='%23CDE234' stroke-width='2'/%3E%3C/svg%3E") 15 3, crosshair;
}
.hero-wall {
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--green-900);
  background-image:
    radial-gradient(120% 90% at 70% 100%, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='124' height='84' viewBox='0 0 124 84'%3E%3Crect width='124' height='84' fill='%230B2217'/%3E%3Cpath d='M0 0h121v39H0zM0 42h58v39H0zM63 42h61v39H63z' fill='%2311331F'/%3E%3C/svg%3E");
  background-size: auto, 124px 84px;
}
.hero-copy {
  position: relative; z-index: 2;
  align-self: center;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  max-width: 44rem;
}
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(5.5rem, 17vw, 16rem);
  line-height: .82; letter-spacing: -.01em;
  color: var(--acid);
  text-shadow: .045em .045em 0 var(--ink);
  margin: 0 0 .18em -.04em;
  transform-origin: 10% 90%;
}
.hero-sub {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.3; font-weight: 500;
  max-width: 26ch;
  color: var(--bone);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }

.launch {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem;
  margin-top: 1.75rem; padding: .6rem 1rem .6rem .8rem;
  background: var(--ink); color: var(--bone);
  border-radius: 8px;
  font-size: .95rem; font-weight: 600;
}
.launch:empty { display: none; }
.launch-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(205, 226, 52, .25); }
.launch-time { display: inline-flex; gap: .55rem; font-variant-numeric: tabular-nums; }
.launch-time b { font-weight: 900; font-stretch: 80%; font-size: 1.25rem; color: var(--acid); }
.launch-time span { font-weight: 600; color: var(--bone-70); margin-left: .12rem; }
.launch a { color: var(--acid); font-weight: 700; }

.hero-cat {
  position: relative; z-index: 1;
  grid-column: 2; align-self: end; justify-self: end;
  width: min(100%, 660px); height: auto;
  margin-right: calc(var(--gutter) * -1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%), linear-gradient(180deg, transparent 0, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 28%), linear-gradient(180deg, transparent 0, #000 30%);
  mask-composite: intersect;
}
.hero-canvas { position: absolute; inset: 0; z-index: 5; pointer-events: none; }

.spray-kit {
  position: absolute; z-index: 6; left: var(--gutter); bottom: 1rem;
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
}
.spray-hint { font-size: .875rem; font-weight: 600; color: var(--bone-70); margin-right: .25rem; }
.swatches { display: flex; gap: .4rem; }
.swatch {
  width: 26px; height: 26px; padding: 0; border-radius: 50%;
  background: var(--c); border: var(--line) solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink); cursor: pointer;
  transition: transform .12s ease;
}
.swatch:hover { transform: translateY(-2px); }
.swatch.is-active { outline: 3px solid var(--bone); outline-offset: 2px; }

/* Hero intro: one orchestrated moment, then nothing else moves on its own.
   Only hidden when JS is running, so the page never loads blank. */
.js .hero-title, .js .hero-sub, .js .hero-actions, .js .launch, .js .hero-cat { opacity: 0; }
.hero.is-ready .hero-title { animation: slam .55s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.hero.is-ready .hero-sub { animation: rise .5s ease-out .28s forwards; }
.hero.is-ready .hero-actions { animation: rise .5s ease-out .4s forwards; }
.hero.is-ready .launch { animation: rise .5s ease-out .5s forwards; }
.hero.is-ready .hero-cat { animation: slide .7s cubic-bezier(.2, .9, .3, 1) .15s forwards; }
@keyframes slam { from { opacity: 0; transform: scale(1.35) rotate(-4deg); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden; background: var(--ink); color: var(--acid);
  border-bottom: var(--line) solid var(--ink);
  padding: .75rem 0;
  font-weight: 800; font-stretch: 112%; font-size: 1.05rem; letter-spacing: .01em;
}
.ticker-track { display: flex; align-items: center; gap: 2.25rem; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { white-space: nowrap; }
.splat { width: 18px; height: 18px; fill: var(--acid); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

/* Frame: thick cartoon ink outline plus a hard acid shadow. */
.frame {
  border: var(--line) solid var(--ink);
  background: var(--ink);
  box-shadow: .75rem .75rem 0 var(--acid);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Lore */
.lore-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.frame-lean { transform: rotate(-1.5deg); aspect-ratio: 16 / 9; }
.lore-copy p + p { margin-top: 1rem; }
.lore-copy h2 { margin-bottom: 1.25rem; }
.lore-copy p { max-width: 52ch; }
.pull { margin-top: 2rem; padding-left: 1.25rem; border-left: var(--line) solid var(--acid); }
.pull p { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.05; color: var(--bone); max-width: none; }
.pull cite { display: block; margin-top: .6rem; font-style: normal; font-size: .9rem; color: var(--bone-70); }

/* Hood lore: the nine lives, as a case file */
.lives {
  background: var(--fur); color: var(--ink);
  border-top: var(--line) solid var(--ink);
  border-bottom: var(--line) solid var(--ink);
}
.lives h2 { color: var(--ink); text-shadow: .035em .035em 0 var(--acid); }
.lives .lede { color: var(--ink-70); }
.lives-ui { margin-top: 2.5rem; max-width: 62rem; }
.lives-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.lives-tabs:empty { display: none; }
.life-tab {
  position: relative;
  min-width: 52px; height: 52px; padding: 0 .8rem;
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  background: var(--bone); color: var(--ink);
  border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: .2rem .2rem 0 var(--ink); cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.life-tab:hover { transform: translate(-1px, -1px); box-shadow: .3rem .3rem 0 var(--ink); }
.life-tab[aria-selected="true"] { background: var(--acid); transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.life-tab.is-spent { color: var(--ink-70); }
.life-tab.is-spent::after {
  content: ""; position: absolute; left: 22%; right: 22%; top: 50%;
  border-top: 3px solid var(--ink); transform: rotate(-20deg);
}
.life-tab[aria-selected="true"].is-spent { color: var(--ink); }
.life-tab.is-ongoing::before {
  content: ""; position: absolute; top: -5px; right: -3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--acid); border: 2px solid var(--ink);
}
.lives-file {
  position: relative; margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.75rem);
  background: var(--bone); color: var(--ink);
  border: var(--line) solid var(--ink);
  box-shadow: .75rem .75rem 0 var(--ink);
}
.lives-file.is-swapping .life { animation: stamp .2s ease-out; }
@keyframes stamp { from { opacity: .4; transform: scale(.975); } to { opacity: 1; transform: none; } }
.life + .life { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 2px solid var(--ink-15); }
.js .life + .life { margin-top: 0; padding-top: 0; border-top: 0; }
.life-count { font-weight: 800; font-size: .9rem; color: var(--ink-70); }
.life h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: .95;
  margin: .35rem 0 1rem;
}
.life > p:not(.life-count):not(.life-lost) { max-width: 58ch; font-size: 1.1rem; line-height: 1.55; }
.life-lost {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 2px dashed var(--ink-15);
  max-width: 58ch; font-weight: 600;
}
.life-lost span {
  display: inline-block; margin-right: .35rem; padding: .1rem .5rem;
  background: var(--ink); color: var(--acid); font-weight: 800; font-size: .85rem; border-radius: 4px;
}
.life-photo {
  position: absolute; top: 1.5rem; right: 2rem;
  width: 150px; height: 150px; object-fit: cover;
  border: var(--line) solid var(--ink); box-shadow: .35rem .35rem 0 var(--ink);
  transform: rotate(3deg);
}
.life-stamp {
  position: absolute; top: 9.75rem; right: 2.75rem; z-index: 1;
  padding: .3rem .7rem;
  border: 3px solid var(--ink); border-radius: 6px;
  font-weight: 900; font-stretch: 85%; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); opacity: .55;
  transform: rotate(-9deg);
  pointer-events: none;
}
.life-stamp.is-ongoing { background: var(--acid); opacity: 1; }
.lives-nav { display: flex; gap: .75rem; margin-top: 1.5rem; }
.lives-nav:empty, .lives-nav[hidden] { display: none; }
.lives-nav .btn { box-shadow: .18rem .18rem 0 var(--ink); }
.lives-nav .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: .18rem .18rem 0 var(--ink); }
.lives :focus-visible { outline-color: var(--ink); }

/* Crew */
.crew {
  position: relative;
  background-color: var(--green-800);
  background-image: repeating-linear-gradient(180deg, var(--bone-15) 0 2px, transparent 2px 110px);
  border-top: var(--line) solid var(--ink);
  border-bottom: var(--line) solid var(--ink);
}
.crew h2 { max-width: 12ch; }
.lineup { margin-top: 2.5rem; aspect-ratio: 4 / 3; }
.rap-sheet {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.rap-sheet dt {
  font-family: var(--font-display); font-size: 2.1rem; line-height: 1;
  color: var(--acid); text-shadow: 2px 2px 0 var(--ink);
  padding-bottom: .5rem; border-bottom: 2px solid var(--bone-40);
}
.rap-sheet dd { margin-top: .75rem; color: var(--bone-70); font-size: 1rem; }

.evidence { margin-top: 4rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--acid) transparent; }
.evidence-track {
  display: flex; gap: 2.25rem;
  padding: 1rem var(--gutter) 1.5rem;
  width: max-content;
}
.polaroid {
  scroll-snap-align: center;
  width: 320px; flex: none;
  padding: .7rem .7rem .9rem;
  background: var(--bone); color: var(--ink);
  border: var(--line) solid var(--ink);
  box-shadow: .5rem .5rem 0 var(--ink);
  display: flex; flex-direction: column; gap: .7rem;
}
.polaroid:nth-child(odd) { transform: rotate(-1.6deg); }
.polaroid:nth-child(even) { transform: rotate(1.2deg); }
.polaroid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 2px solid var(--ink); }
.polaroid figcaption { font-weight: 600; font-size: .95rem; line-height: 1.35; }
.meme-this {
  align-self: flex-start; margin-top: auto;
  background: none; border: 0; padding: .15rem 0;
  font: inherit; font-weight: 800; font-size: .9rem; color: var(--green-700);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
  cursor: pointer;
}
.meme-this:hover { color: var(--ink); }

/* Tokenomics */
.tokenomics { background: var(--acid); color: var(--ink); border-bottom: var(--line) solid var(--ink); }
.tokenomics h2 { color: var(--ink); text-shadow: none; }
.tokenomics .lede { color: var(--ink-70); }
.mechanics { margin-top: 2rem; max-width: 60ch; font-size: 1.1rem; line-height: 1.5; }
.mechanics p + p { margin-top: .75rem; }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 2.5rem; margin-top: 2.5rem;
  border-top: var(--line) solid var(--ink);
}
.stats > div { min-width: 0; padding: 1.25rem 0 1.5rem; border-bottom: 2px solid var(--ink-15); }
.stats dt { font-weight: 700; font-size: .95rem; }
.stats dd { margin-top: .35rem; }
.stats .stat-value {
  display: block;
  font-weight: 900; font-stretch: 68%;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; letter-spacing: -.01em;
}
.stats .stat-value.is-long { font-size: clamp(1.9rem, 3.1vw, 2.6rem); letter-spacing: -.02em; }
.stats .stat-note { display: block; margin-top: .5rem; font-size: .9rem; color: var(--ink-70); max-width: 22ch; }

.split { margin-top: 3rem; }
.split-title { font-weight: 800; font-size: 1.05rem; margin-bottom: .75rem; }
.split-bar { display: flex; height: 60px; border: var(--line) solid var(--ink); background: var(--acid); gap: 2px; padding: 2px; }
.split-seg {
  display: flex; align-items: center; padding: 0 .9rem;
  font-weight: 800; font-size: .95rem; white-space: nowrap; overflow: hidden;
  min-width: 0;
}
.split-seg:nth-child(1) { background: var(--ink); color: var(--acid); }
.split-seg:nth-child(2) { background: var(--green-700); color: var(--bone); }
.split-seg:nth-child(3) { background: var(--bone); color: var(--ink); }
.split-seg:nth-child(4) { background: var(--gold); color: var(--ink); }
.split-seg:nth-child(n+5) { background: var(--fur); color: var(--ink); }
.split-seg.is-narrow { padding: 0 .5rem; justify-content: center; }
.split-key { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: .85rem; list-style: none; padding: 0; font-weight: 600; font-size: .95rem; }
.split-key li { display: flex; align-items: center; gap: .5rem; }
.split-key i { width: 14px; height: 14px; border: 2px solid var(--ink); }
.split-key li:nth-child(1) i { background: var(--ink); }
.split-key li:nth-child(2) i { background: var(--green-700); }
.split-key li:nth-child(3) i { background: var(--bone); }
.split-key li:nth-child(4) i { background: var(--gold); }
.split-key li:nth-child(n+5) i { background: var(--fur); }

.ca {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem;
  margin-top: 3rem; padding: 1rem 1.25rem;
  background: var(--bone); border: var(--line) solid var(--ink);
  box-shadow: .5rem .5rem 0 var(--ink);
}
.ca-label { font-weight: 800; }
.ca-value {
  flex: 1 1 20ch; min-width: 0;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .95rem; word-break: break-all;
  color: var(--ink-70);
}
.ca-value.is-set { color: var(--ink); }

/* How to buy */
.buy { border-bottom: var(--line) solid var(--ink); }
.steps {
  list-style: none; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 2rem; margin-top: 3rem;
}
.steps li { counter-increment: step; padding-top: 1.25rem; border-top: var(--line) solid var(--bone-40); }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display); font-size: 3.5rem; line-height: 1;
  color: var(--acid); text-shadow: 3px 3px 0 var(--ink);
  margin-bottom: .75rem;
}
.steps p { margin-top: .6rem; color: var(--bone-70); font-size: 1rem; }
.steps a {
  display: inline-block; margin-top: .9rem;
  color: var(--acid); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.steps a:hover { color: var(--bone); }
.steps a.is-soon { color: var(--bone-70); text-decoration-style: dashed; pointer-events: none; }

/* Meme maker */
.meme { background: var(--green-950); border-bottom: var(--line) solid var(--ink); }
.maker {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  grid-template-areas: "pick pick" "stage controls";
  gap: 1.5rem 2.5rem; margin-top: 2.5rem; align-items: start;
}
.maker-pick {
  grid-area: pick;
  display: flex; gap: .75rem; overflow-x: auto; padding: .25rem .25rem .75rem;
  scrollbar-width: thin; scrollbar-color: var(--acid) transparent;
}
.maker-pick button {
  flex: none; width: 96px; height: 72px; padding: 0;
  border: var(--line) solid var(--ink); background: var(--ink); cursor: pointer;
  opacity: .7; transition: opacity .12s ease, transform .12s ease;
}
.maker-pick button img { width: 100%; height: 100%; object-fit: cover; }
.maker-pick button:hover { opacity: 1; }
.maker-pick button[aria-pressed="true"] { opacity: 1; outline: 3px solid var(--acid); outline-offset: 2px; transform: translateY(-2px); }
.maker-stage { grid-area: stage; }
.maker-stage canvas {
  width: 100%; height: auto; display: block;
  border: var(--line) solid var(--ink); background: var(--ink);
  box-shadow: .75rem .75rem 0 var(--acid);
}
.maker-controls { grid-area: controls; display: flex; flex-direction: column; gap: 1rem; }
.maker-controls label { display: flex; flex-direction: column; gap: .4rem; font-weight: 700; font-size: .95rem; }
.maker-controls input {
  width: 100%; padding: .8rem .9rem;
  font: inherit; font-weight: 600; color: var(--ink);
  background: var(--bone); border: var(--line) solid var(--ink); border-radius: 6px;
  box-shadow: .25rem .25rem 0 var(--ink);
}
.maker-controls input:focus { outline: 3px solid var(--acid); outline-offset: 2px; }
.maker-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.maker-note { font-size: .875rem; color: var(--bone-70); }

/* Community */
.links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.link-tile {
  display: flex; flex-direction: column; gap: .5rem;
  min-height: 150px; padding: 1.25rem;
  border: var(--line) solid var(--bone); color: var(--bone);
  text-decoration: none; position: relative;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease;
}
.link-tile:hover { background: var(--acid); color: var(--ink); border-color: var(--ink); transform: translate(-3px, -3px); box-shadow: .5rem .5rem 0 var(--ink); }
.link-name { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; }
.link-desc { font-size: .95rem; opacity: .8; margin-top: auto; }
.link-tile.is-soon { border-style: dashed; color: var(--bone-70); pointer-events: none; }
.link-tile.is-soon::after {
  content: "Soon"; position: absolute; top: .9rem; right: .9rem;
  padding: .2rem .6rem; border-radius: 999px;
  background: var(--bone-15); color: var(--bone); font-size: .75rem; font-weight: 800;
}

/* Footer */
.footer { border-top: var(--line) solid var(--ink); background: var(--green-950); padding-block: 3rem; }
.footer-grid { display: flex; gap: 1.5rem; align-items: flex-start; }
.footer-mark { width: 72px; height: 72px; border-radius: 50%; border: var(--line) solid var(--ink); flex: none; }
.footer-disclaimer { max-width: 70ch; color: var(--bone-70); font-size: .95rem; }
.footer-fine { margin-top: .75rem; font-size: .85rem; color: var(--bone-40); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .life-photo { display: none; }
  .life-stamp { top: 1.25rem; }
}

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--green-950); border-bottom: var(--line) solid var(--ink);
    padding: .5rem var(--gutter) 1rem;
  }
  .nav-links.is-open a { padding: .85rem 0; border-bottom: 1px solid var(--bone-15); font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .rap-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    min-height: 0;
  }
  .hero-copy { padding-bottom: 1rem; }
  .hero-cat {
    grid-column: 1; grid-row: 2; justify-self: end;
    width: min(88%, 460px);
    margin-right: calc(var(--gutter) * -1);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 25%), linear-gradient(180deg, transparent 0, #000 18%);
    mask-image: linear-gradient(90deg, transparent 0, #000 25%), linear-gradient(180deg, transparent 0, #000 18%);
  }
  .spray-kit {
    position: static; grid-column: 1; grid-row: 3;
    gap: .5rem; padding: .75rem 0 .9rem;
    border-top: 2px solid var(--bone-15);
  }
  .spray-hint { flex-basis: 100%; margin: 0; }
  .swatches { display: none; }
  .nav-cta { display: none; }
  .lore-grid { grid-template-columns: 1fr; }
  .frame-lean { transform: rotate(-1deg); }
  .rap-sheet { grid-template-columns: 1fr; gap: 1.5rem; }
  .polaroid { width: 270px; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .maker { grid-template-columns: 1fr; grid-template-areas: "pick" "stage" "controls"; }
  .links { grid-template-columns: 1fr; }
  .link-tile { min-height: 0; }
  .ca { box-shadow: .35rem .35rem 0 var(--ink); }
  .footer-grid { flex-direction: column; }
}

@media (hover: none) and (pointer: coarse) {
  .hero.can-spray { cursor: auto; }
  .hero.is-spraying { touch-action: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-title, .js .hero-sub, .js .hero-actions, .js .launch, .js .hero-cat { opacity: 1; }
  .hero.is-ready .hero-title, .hero.is-ready .hero-sub, .hero.is-ready .hero-actions, .hero.is-ready .launch, .hero.is-ready .hero-cat { animation: none; }
  .ticker-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .btn, .link-tile, .swatch, .maker-pick button, .life-tab { transition: none; }
  .lives-file.is-swapping .life { animation: none; }
  .btn:hover, .link-tile:hover { transform: none; }
}
