/* ==========================================================================
   Static Habit
   ========================================================================== */

:root {
  --bg: #0c0a09;
  --bg-2: #141110;
  --panel: #1a1614;
  --line: rgba(241, 236, 226, 0.12);
  --chalk: #f1ece2;
  --chalk-dim: #b8afa2;
  --amber: #f2a93b;

  --r-green: #1fa65a;
  --r-yellow: #f6c915;
  --r-red: #e0362c;

  --reggae: #2bc06e;
  --rock: #ff7a1a;
  --hiphop: #45b4ff;
  --grunge: #e8505a;

  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-marker: "Permanent Marker", "Marker Felt", cursive;
  --font-drip: "Rubik Wet Paint", "Permanent Marker", cursive;
  --font-mono: "Space Mono", ui-monospace, Menlo, monospace;
  --font-pixel: "Press Start 2P", ui-monospace, monospace;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--chalk);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--r-yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--chalk);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus { top: 16px; }

.container { max-width: var(--maxw); margin: 0 auto; }

/* ---------- Ambient TV static + scanlines ---------- */

.static-noise {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: screen;
  image-rendering: pixelated;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px);
  opacity: 0.4;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgba(12, 10, 9, 0.9), rgba(12, 10, 9, 0));
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(12, 10, 9, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-marker);
  font-size: 1.3rem;
  text-decoration: none;
  white-space: nowrap;
}
.brand .crown { width: 30px; height: 26px; }

.site-nav { margin-left: auto; display: flex; gap: 28px; }
.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--chalk-dim);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--chalk); }

.on-air {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 80, 70, 0.55);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ff7b72;
  white-space: nowrap;
  transition: background 0.2s;
}
.on-air:hover { background: rgba(255, 80, 70, 0.12); }
.on-air-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 10px #ff3b30;
  animation: blink 1.4s steps(2, start) infinite;
}

@media (max-width: 880px) {
  .site-nav { display: none; }
  .on-air { margin-left: auto; }
}
@media (max-width: 380px) {
  .brand span { font-size: 1.1rem; }
  .on-air { padding: 6px 9px; letter-spacing: 0.1em; }
}

/* ---------- Shared type ---------- */

.eyebrow,
.kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}

h2 {
  margin: 0 0 0.4em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h2 em {
  font-style: normal;
  font-family: var(--font-marker);
  text-transform: none;
  color: var(--accent, var(--amber));
  display: inline-block;
  transform: rotate(-2deg);
  transition: color 0.4s;
}

.section {
  position: relative;
  padding: clamp(80px, 12vw, 150px) var(--gutter);
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > p:not(.kicker) {
  max-width: 58ch;
  font-size: 1.15rem;
  color: var(--chalk-dim);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
}
.btn-primary {
  background: var(--chalk);
  color: var(--bg);
  box-shadow: 3px 3px 0 var(--r-green), 6px 6px 0 var(--r-yellow), 9px 9px 0 var(--r-red);
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--r-green), 8px 8px 0 var(--r-yellow), 12px 12px 0 var(--r-red);
}
.btn-ghost {
  border: 2px solid rgba(241, 236, 226, 0.7);
  color: var(--chalk);
}
.btn-ghost:hover { background: rgba(241, 236, 226, 0.1); border-color: var(--chalk); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 110px var(--gutter) 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -8%;
  z-index: -2;
  background: url("assets/static-habit-band.jpg") center / cover no-repeat;
  filter: blur(48px) saturate(1.3) brightness(0.42);
  transform: scale(1.1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 45% at 12% 18%, rgba(242, 169, 59, 0.24), transparent 65%),
    radial-gradient(45% 40% at 92% 30%, rgba(31, 166, 90, 0.12), transparent 70%),
    linear-gradient(to bottom, rgba(12, 10, 9, 0.2) 0%, rgba(12, 10, 9, 0.35) 60%, var(--bg) 100%);
}

.hero-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

/* Poster */
.poster {
  position: relative;
  margin: 0;
  padding: 12px 12px 0;
  background: #ece5d8;
  color: #1d1916;
  transform: rotate(-2.2deg);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.35);
  transition: transform 0.6s var(--ease-out);
  animation: poster-in 1.1s var(--ease-out) backwards;
}
.poster:hover { transform: rotate(0deg) scale(1.01); }

.poster-media { position: relative; overflow: hidden; }
.poster-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* Occasional "bad reception" slice over the photo */
.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/static-habit-band.jpg") center / cover no-repeat;
  filter: saturate(2.2) hue-rotate(-35deg) contrast(1.2);
  opacity: 0;
  pointer-events: none;
  animation: slice 7s steps(1) 2s infinite;
}

.poster figcaption {
  padding: 10px 4px 12px;
  font-family: var(--font-marker);
  font-size: 1.15rem;
  text-align: center;
}

.tape {
  position: absolute;
  top: -16px;
  z-index: 2;
  width: 120px;
  height: 34px;
  background: rgba(233, 220, 184, 0.82);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  clip-path: polygon(0 8%, 6% 0, 12% 10%, 18% 0, 82% 0, 88% 10%, 94% 0, 100% 8%, 100% 92%, 94% 100%, 88% 90%, 82% 100%, 18% 100%, 12% 90%, 6% 100%, 0 92%);
}
.tape-l { left: -26px; transform: rotate(-32deg); }
.tape-r { right: -26px; transform: rotate(28deg); }

/* "New songs" starburst stuck on the poster */
.drop-sticker {
  position: absolute;
  right: -34px;
  bottom: 30px;
  z-index: 3;
  width: 128px;
  aspect-ratio: 1;
  color: #120f0c;
  text-decoration: none;
  transform: rotate(12deg);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s var(--ease-out);
  animation: sticker-in 0.7s var(--ease-out) 0.7s backwards;
}
.drop-sticker:hover { transform: rotate(0deg) scale(1.06); }
.drop-sticker-shape {
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  background: var(--r-yellow);
  clip-path: polygon(50.0% 0.0%, 56.6% 8.5%, 65.5% 2.4%, 69.1% 12.6%, 79.4% 9.5%, 79.7% 20.3%, 90.5% 20.6%, 87.4% 30.9%, 97.6% 34.5%, 91.5% 43.4%, 100.0% 50.0%, 91.5% 56.6%, 97.6% 65.5%, 87.4% 69.1%, 90.5% 79.4%, 79.7% 79.7%, 79.4% 90.5%, 69.1% 87.4%, 65.5% 97.6%, 56.6% 91.5%, 50.0% 100.0%, 43.4% 91.5%, 34.5% 97.6%, 30.9% 87.4%, 20.6% 90.5%, 20.3% 79.7%, 9.5% 79.4%, 12.6% 69.1%, 2.4% 65.5%, 8.5% 56.6%, 0.0% 50.0%, 8.5% 43.4%, 2.4% 34.5%, 12.6% 30.9%, 9.5% 20.6%, 20.3% 20.3%, 20.6% 9.5%, 30.9% 12.6%, 34.5% 2.4%, 43.4% 8.5%);
}
.drop-sticker-shape span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.drop-sticker-shape strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--r-red);
}

/* Copy */
.hero-copy { position: relative; }

.eyebrow { display: flex; align-items: center; gap: 10px; }
.rec {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--r-red);
  box-shadow: 0 0 12px var(--r-red);
  animation: blink 1.4s steps(2, start) infinite;
}

h1 { margin: 0; font-weight: 400; }

.h1-band {
  display: block;
  font-family: var(--font-drip);
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1;
  color: var(--chalk);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
}

.h1-now {
  display: block;
  margin-top: 0.14em;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 11vw, 9.5rem);
  line-height: 0.86;
  text-transform: uppercase;
  color: var(--chalk);
}
.glitch {
  display: inline-block;
  animation: glitch 3.6s steps(1) 1.2s infinite;
}
.lede {
  max-width: 36ch;
  margin: 24px 0 0;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--chalk-dim);
}
.lede strong { font-weight: 600; color: var(--r-yellow); }

.genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.genre-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.genre-chips li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 18px 20px; margin-top: 32px; }

.signal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}
.signal-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.signal-bars i {
  width: 4px;
  background: var(--chalk);
  opacity: 0.2;
  animation: signal 2.4s infinite;
}
.signal-bars i:nth-child(1) { height: 4px; }
.signal-bars i:nth-child(2) { height: 7px; animation-delay: 0.2s; }
.signal-bars i:nth-child(3) { height: 10px; animation-delay: 0.4s; }
.signal-bars i:nth-child(4) { height: 13px; animation-delay: 0.6s; }
.signal-bars i:nth-child(5) { height: 16px; animation-delay: 0.8s; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--chalk-dim);
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--chalk), transparent);
  animation: drip 2s var(--ease-out) infinite;
  transform-origin: top;
}

@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-inner { grid-template-columns: 1fr; }
  .poster { width: min(100%, 520px); justify-self: center; }
  .drop-sticker { right: -8px; bottom: 36px; width: 104px; }
  .drop-sticker-shape strong { font-size: 1.7rem; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   TICKER TAPES
   ========================================================================== */

.tapes {
  position: relative;
  height: clamp(140px, 16vw, 210px);
  margin-top: -30px;
  overflow: hidden;
}
.tape-strip {
  position: absolute;
  left: -5%;
  right: -5%;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.tape-a {
  top: 20%;
  z-index: 2;
  transform: rotate(-3deg);
  background: var(--r-yellow);
  color: #120f0c;
  border-top: 7px solid var(--r-green);
  border-bottom: 7px solid var(--r-red);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.8);
}
.tape-b {
  top: 44%;
  transform: rotate(2.4deg);
  background: #18130f;
  color: var(--chalk);
  border-block: 1px solid var(--line);
}
.track {
  display: inline-flex;
  animation: marquee 48s linear infinite;
}
.tape-b .track { animation-duration: 60s; animation-direction: reverse; }
.track span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tape-b .track span {
  font-family: var(--font-marker);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
}

/* ==========================================================================
   THE DROP — songs, player, platforms
   ========================================================================== */

.drop {
  --accent: var(--r-yellow);
  background:
    radial-gradient(45% 50% at 82% 30%, rgba(246, 201, 21, 0.1), transparent 70%),
    radial-gradient(40% 40% at 10% 80%, rgba(31, 166, 90, 0.08), transparent 70%);
}

.drop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.drop-lede { max-width: 50ch; font-size: 1.15rem; color: var(--chalk-dim); }

.out-now {
  margin-top: 26px;
  font-family: var(--font-marker);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--r-yellow);
}

/* Ticket */
.ticket-wrap {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.7));
}
.ticket {
  --stub: 96px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub);
  width: min(100%, 460px);
  overflow: hidden;
  border-radius: 14px;
  background: #ece5d8;
  color: #1d1916;
  transform: rotate(3deg);
  transition: transform 0.5s var(--ease-out);
  /* Punched notches at the perforation */
  -webkit-mask:
    radial-gradient(circle at calc(100% - var(--stub)) 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at calc(100% - var(--stub)) 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
}
.ticket:hover { transform: rotate(0deg); }
.ticket::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: linear-gradient(90deg, var(--r-green) 33.3%, var(--r-yellow) 33.3% 66.6%, var(--r-red) 66.6%);
}
.ticket p { margin: 0; }

.ticket-main { padding: 34px 26px 26px; }
.ticket-top {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6d6259;
}
.ticket-date { display: flex; flex-direction: column; margin-top: 14px !important; }
.ticket-month {
  font-family: var(--font-marker);
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--r-red);
  transform: rotate(-4deg);
  transform-origin: left;
}
.ticket-day {
  font-family: var(--font-display);
  font-size: clamp(6.5rem, 14vw, 9.5rem);
  line-height: 0.85;
  letter-spacing: -0.01em;
}
.ticket-when {
  margin-top: 14px !important;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ticket-admit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 2px dashed rgba(29, 25, 22, 0.25);
  font-family: var(--font-marker);
  font-size: 1.3rem;
}
.ticket-admit svg { width: 26px; height: 22px; }

.ticket-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0 20px;
  border-left: 2px dashed rgba(29, 25, 22, 0.3);
  background: #e2d9c8;
}
.stub-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6d6259;
}
.barcode {
  width: 44px;
  height: 96px;
  background: repeating-linear-gradient(to bottom,
    #1d1916 0 2px, transparent 2px 4px, #1d1916 4px 5px, transparent 5px 8px,
    #1d1916 8px 11px, transparent 11px 12px, #1d1916 12px 13px, transparent 13px 16px);
}

/* Songs */
.songs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
}
.player {
  display: block;
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: 12px;
  background: #0b0908;
}
.song-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.song {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}
.song:last-child { border-bottom: 0; }
.song-play {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 10px 0 2px;
  border: 0;
  background: none;
  color: var(--chalk);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.song-play::before {
  content: "";
  flex: none;
  border-left: 11px solid currentColor;
  border-block: 7px solid transparent;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.song-play:hover::before,
.song-play[aria-pressed="true"]::before { opacity: 1; }
.song-play[aria-pressed="true"] { color: var(--r-yellow); }
.song-name {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.song-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--chalk-dim);
}
.song-link {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  transition: background 0.2s;
}
.song-link:hover { background: rgba(255, 255, 255, 0.09); }
.song-link img { width: 28px; height: 28px; border-radius: 7px; }

/* Platforms */
.songs,
.platforms {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.songs + .platforms { margin-top: 20px; }
.rule-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}
.rule-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.featured-platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
}
a.tile { transition: transform 0.2s var(--ease-out), border-color 0.2s, background 0.2s; }
a.tile:hover {
  transform: translateY(-2px);
  border-color: var(--r-yellow);
  background: rgba(255, 255, 255, 0.07);
}
.featured-platforms img {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 12px;
}
.featured-platforms span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.featured-platforms small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--r-yellow);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 16px 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.platform-grid li { display: grid; place-items: center; }
.platform-grid img {
  width: 100%;
  max-width: 56px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s var(--ease-out);
}
.platform-grid li:hover img { transform: translateY(-4px) rotate(-5deg); }
.js .platforms.is-visible .platform-grid li {
  animation: pop 0.5s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 35ms + 0.2s);
}

@media (max-width: 960px) {
  .drop-grid { grid-template-columns: 1fr; }
  .featured-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .songs-layout { grid-template-columns: minmax(0, 1fr); }
  .player { height: 152px; }
}
@media (max-width: 640px) {
  .platform-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .ticket { --stub: 72px; }
  .ticket-main { padding: 30px 20px 22px; }
  .barcode { width: 34px; }
  .featured-platforms { gap: 8px; }
  .tile { gap: 10px; padding: 10px; }
  .featured-platforms img { width: 40px; height: 40px; border-radius: 10px; }
  .featured-platforms span { font-size: 1.05rem; }
}

/* ==========================================================================
   THE VIDEOS — two channels
   ========================================================================== */

.videos {
  --accent: var(--grunge);
  background:
    radial-gradient(45% 50% at 18% 35%, rgba(232, 80, 90, 0.1), transparent 70%),
    var(--bg);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.video-screen {
  position: relative;
  display: block;
  overflow: hidden;
  border: 8px solid #231d19;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 30px 50px -28px rgba(0, 0, 0, 0.9);
}
.video-screen img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.video-screen:hover img { transform: scale(1.03); }
.video-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.video-channel {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--reggae);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9), 0 0 2px #000;
}
.video-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: auto;
  border: 2px solid rgba(241, 236, 226, 0.8);
  border-radius: 50%;
  background: rgba(12, 10, 9, 0.7);
  transition: transform 0.2s var(--ease-out), background 0.2s;
}
.video-play::before {
  content: "";
  margin-left: 6px;
  border-left: 20px solid var(--chalk);
  border-block: 12px solid transparent;
}
.video-screen:hover .video-play { transform: scale(1.1); background: var(--r-red); }

.video-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 20px;
  margin-top: 14px;
}
.video-info h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.video-links {
  display: flex;
  gap: 20px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.video-links a {
  display: inline-block;
  padding: 12px 0;
  color: var(--chalk-dim);
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.video-links a:hover { color: var(--chalk); }

@media (max-width: 720px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   THE SOUND — tuner
   ========================================================================== */

.sound { --accent: var(--reggae); --beat: 0.78s; }
.sound[data-genre="rock"] { --accent: var(--rock); --beat: 0.43s; }
.sound[data-genre="hiphop"] { --accent: var(--hiphop); --beat: 0.66s; }
.sound[data-genre="grunge"] { --accent: var(--grunge); --beat: 0.55s; }

.tuner {
  padding: 18px clamp(14px, 3vw, 30px) 24px;
  border: 1px solid #3a2f28;
  border-radius: 18px;
  background:
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #2b211b, #16110e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.tuner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.tuner-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cdb79a;
}
.tuner-brand .crown { width: 24px; height: 21px; color: #cdb79a; }

.readout {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 6px;
  background: #0b0908;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.9);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent);
  transition: color 0.4s, text-shadow 0.4s;
}
.readout-freq {
  display: inline-block;
  min-width: 5ch;
  font-size: 1.7rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.readout-unit { font-size: 0.8rem; letter-spacing: 0.1em; }

.fx-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(241, 236, 226, 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--chalk-dim);
  font: 400 0.72rem var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.fx-toggle svg { width: 18px; height: 18px; }
.fx-toggle .waves { opacity: 0.3; }
.fx-toggle:hover { color: var(--chalk); border-color: rgba(241, 236, 226, 0.5); }
.fx-toggle[aria-pressed="true"] {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}
.fx-toggle[aria-pressed="true"] .waves { opacity: 1; }
.fx-state { font-weight: 700; }

.dial {
  position: relative;
  margin-top: 18px;
  border-radius: 12px;
  border: 1px solid #3a2f28;
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(242, 169, 59, 0.2), transparent 60%),
    #100c0a;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.dial::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 45%);
}
.dial-track { position: relative; margin: 0 2%; }

.dial-scale {
  height: 30px;
  margin-top: 10px;
  background:
    linear-gradient(to right, rgba(241, 236, 226, 0.85) 2px, transparent 2px) -1px 0 / 12.5% 22px repeat-x,
    linear-gradient(to right, rgba(241, 236, 226, 0.35) 1px, transparent 1px) 0 0 / 2.5% 11px repeat-x;
  background-position: calc(6.25% - 1px) 0, 0 0;
}

.dial-needle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--needle, 12.5%);
  width: 3px;
  margin-left: -1.5px;
  z-index: 2;
  pointer-events: none;
  border-radius: 2px;
  background: #ff3b30;
  box-shadow: 0 0 12px #ff3b30, 0 0 2px #ff3b30;
  transition: left 0.7s cubic-bezier(0.34, 1.45, 0.5, 1);
}

.stations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.station {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 72px;
  padding: 8px 4px 14px;
  border: 0;
  background: none;
  color: rgba(241, 236, 226, 0.5);
  cursor: pointer;
  transition: color 0.3s;
}
.station:hover { color: var(--chalk); }
.station-freq {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.station-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.station[aria-selected="true"] {
  color: var(--accent);
  text-shadow: 0 0 16px var(--accent);
}
.station:focus-visible { outline-offset: -4px; border-radius: 8px; }

/* Panels */
.panels { position: relative; margin-top: 26px; }

.panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(14px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    var(--panel);
}
.panel[hidden] { display: none; }
html:not(.js) .panel[hidden] { display: grid; margin-top: 20px; }
html:not(.js) .tuner { display: none; }

.panel-copy { padding: 4px clamp(0px, 1vw, 12px) 8px 0; }
.panel:not([hidden]) .panel-copy > * { animation: rise 0.6s var(--ease-out) backwards; }
.panel-copy > :nth-child(2) { animation-delay: 0.05s; }
.panel-copy > :nth-child(3) { animation-delay: 0.1s; }
.panel-copy > :nth-child(4) { animation-delay: 0.15s; }
.panel-copy > :nth-child(5) { animation-delay: 0.2s; }

.panel-freq {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}
.panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--chalk);
}
.panel-tag {
  display: inline-block;
  margin: 8px 0 18px;
  font-family: var(--font-marker);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--accent);
  transform: rotate(-2deg);
}
.panel-text { max-width: 46ch; font-size: 1.1rem; color: var(--chalk-dim); }

.ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.ingredients li {
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk);
}

/* Genre artwork */
.panel-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  color: var(--chalk);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.panel-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(90% 90% at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.55));
}
.art-label {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  opacity: 0.85;
}
.art-glyph {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 46%;
  height: 52%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

.eq {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 7%;
  z-index: 1;
  height: 22%;
  display: flex;
  align-items: flex-end;
  gap: 2.5%;
}
.eq i,
.np-eq i {
  flex: 1;
  height: 100%;
  border-radius: 2px 2px 0 0;
  background: currentColor;
  transform-origin: bottom;
  transform: scaleY(var(--h, 0.6));
  animation: eq var(--beat, 0.7s) ease-in-out var(--d, 0s) infinite alternate;
}

.art-reggae {
  background:
    linear-gradient(rgba(10, 8, 6, 0.35), rgba(10, 8, 6, 0.35)),
    linear-gradient(to bottom, var(--r-green) 0 33.4%, var(--r-yellow) 33.4% 66.7%, var(--r-red) 66.7%);
}
.art-reggae .art-glyph { animation: sway 3s ease-in-out infinite; }

.art-rock {
  color: var(--rock);
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(255, 122, 26, 0.35), transparent 70%),
    radial-gradient(circle, rgba(0, 0, 0, 0.6) 1.3px, transparent 1.8px) 0 0 / 7px 7px,
    linear-gradient(135deg, #3d2615, #160d07);
}
.art-rock .art-label { color: var(--chalk); }
.art-rock .art-glyph {
  width: 30%;
  filter: drop-shadow(0 0 22px rgba(255, 122, 26, 0.8));
  animation: zap 2.2s steps(1) infinite;
}

.art-hiphop {
  color: var(--hiphop);
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(69, 180, 255, 0.35), transparent 70%),
    linear-gradient(180deg, #0c1826, #070b10);
}
.art-hiphop .art-label { color: var(--chalk); }
.vinyl {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 44%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, #0c0a09 0 3.5%, var(--hiphop) 4% 30%, #111 30.5% 32%, transparent 32.5%),
    repeating-radial-gradient(circle, #141414 0 2px, #222 2px 3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), inset 0 0 0 2px #000;
  animation: spin-vinyl 2.4s linear infinite;
}
.vinyl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255, 255, 255, 0.12) 12%, transparent 18% 50%, rgba(255, 255, 255, 0.1) 62%, transparent 68%);
}
.vinyl-crown { width: 18%; height: 18%; color: #0c0a09; transform: translateY(-70%); }

.art-grunge {
  background-color: #5c1219;
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0 20px, transparent 20px 40px, rgba(255, 220, 180, 0.12) 40px 42px, transparent 42px 80px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0 20px, transparent 20px 40px, rgba(255, 220, 180, 0.12) 40px 42px, transparent 42px 80px);
}
.art-grunge .art-fuzz {
  width: 78%;
  height: 40%;
  animation: jitter 0.3s steps(2) infinite;
}

/* Static burst when changing stations */
.burst {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  pointer-events: none;
  image-rendering: pixelated;
  opacity: 0;
}
.burst.is-on { animation: burst 0.5s ease-out; }

@media (max-width: 820px) {
  .panel { grid-template-columns: 1fr; }
  .panel-copy { padding: 0 6px 10px; }
}
@media (max-width: 520px) {
  .tuner-brand { display: none; }
  .station-freq { font-size: 0.62rem; }
}

/* ==========================================================================
   SOUNDTRACK — iOS game
   ========================================================================== */

.soundtrack {
  --accent: var(--hiphop);
  background:
    radial-gradient(50% 55% at 78% 50%, rgba(69, 180, 255, 0.13), transparent 70%),
    radial-gradient(40% 40% at 70% 70%, rgba(224, 54, 44, 0.1), transparent 70%),
    linear-gradient(var(--bg), var(--bg-2) 50%, var(--bg));
}

.soundtrack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.soundtrack-copy > p:not(.kicker) { max-width: 50ch; color: var(--chalk-dim); font-size: 1.1rem; }
.soundtrack-copy .big {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--chalk);
}
.soundtrack-copy strong { color: var(--accent); font-weight: 600; }

.game-get {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: 28px;
}
.game-icon {
  width: 72px;
  height: 72px;
  border-radius: 22%;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.9);
}
.app-store {
  display: block;
  border-radius: 8px;
  transition: transform 0.2s var(--ease-out);
}
.app-store:hover { transform: translateY(-2px); }
.app-store img { width: auto; height: 54px; }

.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
}
.specs div { padding: 16px 18px; background: var(--bg-2); }
.specs dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}
.specs dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.phone-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 44px 0 64px;
}
.phone-wrap::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 180, 255, 0.28), transparent 65%);
  filter: blur(20px);
}

.phone {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 2 / 1;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(145deg, #47423e, #121110 38%, #2c2825 70%, #4a4541);
  box-shadow:
    0 0 0 1.5px #57514c,
    0 50px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 70px -18px rgba(69, 180, 255, 0.45);
  transform: rotate(-3deg);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
  background: #0a1a17;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.now-playing {
  position: absolute;
  left: -14px;
  bottom: -50px;
  z-index: 3;
  width: 168px;
  padding: 10px 12px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(10, 8, 22, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: center;
}
.now-playing p { margin: 0; }
.np-label {
  font-family: var(--font-pixel);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: var(--r-yellow);
  text-transform: uppercase;
}
.np-title {
  margin-top: 8px !important;
  font-family: var(--font-drip);
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}
.np-sub {
  margin-top: 6px !important;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.np-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  margin-top: 8px;
  color: var(--reggae);
  --beat: 0.5s;
}
.stamp {
  position: absolute;
  top: 0;
  right: -10px;
  z-index: 2;
  width: clamp(76px, 8vw, 104px);
  height: auto;
  transform: rotate(-10deg);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}
.stamp circle { fill: var(--r-yellow); }
.stamp text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10.5px;
  fill: #120f0c;
}
.stamp use { color: #120f0c; }
.stamp-ring {
  transform-origin: 60px 60px;
  animation: spin 18s linear infinite;
}

@media (max-width: 860px) {
  .soundtrack-grid { grid-template-columns: 1fr; }
  .phone-wrap { order: -1; }
}
@media (max-width: 560px) {
  .specs { grid-template-columns: 1fr; }
  .stamp { right: 0; }
}

/* ==========================================================================
   THE CODE — road cases
   ========================================================================== */

.code {
  background:
    radial-gradient(50% 40% at 15% 30%, rgba(242, 169, 59, 0.1), transparent 70%),
    var(--bg);
}

.manifesto {
  font-family: var(--font-marker);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  text-transform: none;
  letter-spacing: 0;
}
.rasta-text {
  background: linear-gradient(90deg, var(--r-green), var(--r-yellow) 50%, var(--r-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.peace {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.15em;
  vertical-align: -0.05em;
  color: var(--chalk);
  animation: sway-inline 4s ease-in-out infinite;
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
}

.case {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 44px 30px 28px;
  border: 3px solid #2f2b28;
  border-radius: 6px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #1d1a18, #111010);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 50px rgba(0, 0, 0, 0.65),
    0 24px 40px -22px rgba(0, 0, 0, 0.9);
  transition-delay: var(--d, 0ms);
}
.case h3 {
  margin: 0 0 14px;
  font-family: var(--font-marker);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  color: var(--chalk);
  text-shadow: 0 0 1px rgba(241, 236, 226, 0.6), 0 0 14px rgba(241, 236, 226, 0.12);
  transform: rotate(-1.5deg);
  transform-origin: left;
}
.case p { color: var(--chalk-dim); }
.stencil {
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 236, 226, 0.35);
}
.case-crown {
  position: absolute;
  right: 26px;
  bottom: 22px;
  width: 30px;
  height: 26px;
  color: rgba(241, 236, 226, 0.75);
}

.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  background:
    radial-gradient(circle at 50% 50%, #3b3936 0 2.6px, rgba(0, 0, 0, 0.25) 3px, transparent 3.6px),
    linear-gradient(135deg, #e6e3de, #9a958f 45%, #5d5955);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.corner.tl { top: -4px; left: -4px; border-radius: 8px 2px 2px 2px; }
.corner.tr { top: -4px; right: -4px; border-radius: 2px 8px 2px 2px; }
.corner.bl { bottom: -4px; left: -4px; border-radius: 2px 2px 2px 8px; }
.corner.br { bottom: -4px; right: -4px; border-radius: 2px 2px 8px 2px; }

@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; }
  .case { min-height: 0; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 120px) var(--gutter) 44px;
  border-top: 1px solid var(--line);
  text-align: center;
  background: radial-gradient(60% 80% at 50% 100%, rgba(242, 169, 59, 0.12), transparent 70%), var(--bg);
}
.footer-mark {
  margin: 0;
  font-family: var(--font-drip);
  font-size: clamp(2.5rem, 10.5vw, 8.5rem);
  line-height: 0.95;
  color: var(--chalk);
}
.rasta-rule {
  width: min(320px, 60%);
  height: 6px;
  margin: 28px auto;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--r-green) 33.3%, var(--r-yellow) 33.3% 66.6%, var(--r-red) 66.6%);
}
.footer-line {
  font-family: var(--font-marker);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
}
.nowrap { white-space: nowrap; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 28px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-links a {
  display: inline-block;
  padding: 10px 0;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--r-yellow); }
.footer-tags {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}
.fine { margin-top: 36px; font-size: 0.85rem; color: rgba(241, 236, 226, 0.45); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.js .reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease-out), translate 0.9s var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; translate: none; }
.js .case.reveal { transition-delay: var(--d, 0ms); }

/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes blink { 50% { opacity: 0.25; } }

@keyframes signal {
  0%, 100% { opacity: 0.2; }
  40%, 75% { opacity: 1; }
}

@keyframes drip {
  0% { transform: scaleY(0); opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@keyframes poster-in {
  from { opacity: 0; transform: translateY(30px) rotate(-6deg) scale(0.96); }
  to { opacity: 1; transform: rotate(-2.2deg); }
}

@keyframes glitch {
  0%, 84%, 100% { text-shadow: none; transform: none; clip-path: none; }
  85% { text-shadow: 4px 0 0 var(--r-red), -4px 0 0 var(--reggae); transform: translateX(-3px) skewX(-6deg); }
  87% { text-shadow: -3px 0 0 var(--r-red), 3px 0 0 var(--hiphop); transform: translateX(4px); clip-path: inset(8% 0 38% 0); }
  89% { text-shadow: 2px 0 0 var(--r-yellow), -2px 0 0 var(--r-red); transform: none; clip-path: inset(52% 0 4% 0); }
  91% { text-shadow: 5px 0 0 var(--reggae), -5px 0 0 var(--r-red); transform: translateX(-2px) skewX(4deg); clip-path: none; }
  93% { text-shadow: none; transform: none; }
}

@keyframes slice {
  0%, 100% { opacity: 0; transform: none; clip-path: none; }
  93% { opacity: 0.9; transform: translateX(10px); clip-path: inset(18% 0 66% 0); }
  94.5% { opacity: 0.9; transform: translateX(-12px); clip-path: inset(58% 0 24% 0); }
  96% { opacity: 0.85; transform: translateX(6px); clip-path: inset(36% 0 50% 0); }
  97.5% { opacity: 0; }
}

@keyframes marquee { to { transform: translateX(-50%); } }

@keyframes sticker-in {
  from { opacity: 0; transform: rotate(40deg) scale(1.6); }
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.4) rotate(-12deg); }
}

@keyframes eq {
  from { transform: scaleY(calc(var(--h, 0.6) * 0.2)); }
  to { transform: scaleY(var(--h, 0.6)); }
}

@keyframes rise {
  from { opacity: 0; translate: 0 14px; }
}

@keyframes burst {
  0% { opacity: 0.9; }
  100% { opacity: 0; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-vinyl { to { transform: translate(-50%, -50%) rotate(360deg); } }

@keyframes sway {
  0%, 100% { transform: translate(-50%, -50%) rotate(-6deg); }
  50% { transform: translate(-50%, -50%) rotate(6deg); }
}
@keyframes sway-inline {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

@keyframes zap {
  0%, 100% { opacity: 1; }
  46% { opacity: 0.35; }
  48% { opacity: 1; }
  50% { opacity: 0.5; }
  52% { opacity: 1; }
}

@keyframes jitter {
  0% { transform: translate(-50%, -50%); }
  50% { transform: translate(calc(-50% + 2px), calc(-50% - 2px)) skewX(-3deg); }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .poster-media::after { display: none; }
  .js .reveal { opacity: 1; translate: none; }
}
