/* GPSCIENCE site. Back-issue bin: black ground, cream type, Red Dawn red, label gold.
   Display: Anton. Body: Barlow. Captions: IBM Plex Mono. Tags: Permanent Marker. */
:root {
  --ink: #0c0c0a; --panel: #17150f; --panel-2: #1f1b14; --line: #2c2820;
  --cream: #c7c0a2; --cream-dim: #8f8a74; --paper: #f2eedc;
  --red: #be2d34; --red-deep: #8e1f26; --gold: #cfa243; --cold: #509cd9; --orange: #e65a0c;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--ink); color: var(--cream); font: 16px/1.5 var(--body);
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.2px);
  background-size: 6px 6px;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--cold); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; color: var(--paper); margin: 0; text-wrap: balance; line-height: .95; }
h1 em, h2 em { font-style: normal; color: var(--gold); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); display: block; margin: 0 0 8px; }
.lede { max-width: 62ch; font-size: 18px; margin: 14px 0 0; }
.tiny { font-family: var(--mono); font-size: 12px; color: var(--cream-dim); }
.sr { position: absolute; left: -9999px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
main { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); padding-block: 0 48px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--paper); background: var(--panel-2); border: 2px solid var(--gold); padding: 10px 18px; cursor: pointer; line-height: 1; }
.btn:hover { background: var(--gold); color: var(--ink); }
.btn-red { background: var(--red); border-color: var(--red); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--paper); }
.btn-sm { font-size: 14px; padding: 8px 12px; }
.btn-ghost { border-style: dashed; color: var(--cream); cursor: default; }
.btn-ghost:hover { background: var(--panel-2); color: var(--cream); }
.chip { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: transparent; color: var(--cream-dim); border: 1px solid var(--line); padding: 6px 10px; cursor: pointer; }
.chip.is-on { border-color: var(--gold); color: var(--gold); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px var(--gutter); background: rgba(12,12,10,.92); border-bottom: 3px solid var(--red); backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); }
.brand b { font-family: var(--display); font-size: 22px; letter-spacing: .04em; display: block; line-height: 1; }
.brand small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-dim); }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; }
.top nav a { display: flex; flex-direction: column; text-decoration: none; color: var(--cream); font-family: var(--display); font-size: 17px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-bottom: 3px solid transparent; line-height: 1.05; }
.top nav a small { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--cream-dim); text-transform: uppercase; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--gold); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding-block: 48px 32px; }
.hero h1 { font-size: clamp(64px, 11vw, 150px); }
.hero h1 em { color: var(--red); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-cover { position: relative; justify-self: center; width: min(100%, 520px); transform: rotate(-3deg); }
.hero-cover img { display: block; border: 6px solid var(--paper); box-shadow: 10px 12px 0 var(--red-deep), 0 20px 50px rgba(0,0,0,.6); }
.burst { position: absolute; top: -22px; left: -18px; width: 104px; height: 104px; display: grid; place-items: center; text-align: center; font-family: var(--display); font-size: 22px; line-height: .9; text-transform: uppercase; color: var(--ink); background: var(--gold); clip-path: polygon(50% 0,61% 12%,76% 6%,80% 21%,96% 24%,91% 39%,100% 50%,91% 61%,96% 76%,80% 79%,76% 94%,61% 88%,50% 100%,39% 88%,24% 94%,20% 79%,4% 76%,9% 61%,0 50%,9% 39%,4% 24%,20% 21%,24% 6%,39% 12%); transform: rotate(-12deg); }
.page-head { padding-block: 44px 24px; }
.page-head h1 { font-size: clamp(52px, 9vw, 120px); }

/* Player deck (shared) */
.deck { margin-block: 12px 40px; }
.turntable, .walkman { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; background: var(--panel); border: 1px solid var(--line); padding: 24px; }
/* Record deck and TV share one row at the same height; the now-playing text sits above both. */
.turntable { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); grid-template-areas: "now now" "deck tv" ". link"; align-items: stretch; row-gap: 18px; }
.turntable .tv-side { display: contents; }
.turntable .now { grid-area: now; }
.turntable .plinth { grid-area: deck; align-self: start; }
.turntable .tv { grid-area: tv; grid-template-rows: minmax(0, 1fr); }
.turntable .crt { aspect-ratio: auto; height: 100%; min-height: 0; }
.turntable #now-link { grid-area: link; margin: 0; }
.now h2 { font-size: clamp(26px, 3.5vw, 40px); }
.now p { margin: 8px 0 0; max-width: 60ch; }
.screen { position: relative; margin-top: 16px; aspect-ratio: 16/9; max-width: 100%; background: #000; border: 4px solid #2a2622; box-shadow: inset 0 0 40px rgba(0,0,0,.8); overflow: hidden; }
.screen-sc { aspect-ratio: auto; min-height: 166px; }
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen-sc iframe { position: static; height: 166px; display: block; }
.screen-idle { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--cream-dim); background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 2px, transparent 2px 4px); }
.screen-idle span { font-family: var(--display); font-size: 40px; letter-spacing: .08em; color: #3a352c; }
.screen-idle small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.screen-sc .screen-idle { position: static; min-height: 160px; }

/* Turntable */
.plinth { position: relative; aspect-ratio: 1/1; max-width: 100%; background: linear-gradient(135deg, #3b2a1c, #22170f); border: 4px solid #1a120b; box-shadow: 0 18px 40px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.04); padding: 8%; }
.platter { position: relative; width: 84%; aspect-ratio: 1/1; border-radius: 50%; background: radial-gradient(circle, #2b2b2b 0 60%, #111 61% 100%); box-shadow: 0 4px 0 #000, 0 10px 20px rgba(0,0,0,.5); }
.vinyl { position: absolute; inset: 3%; border-radius: 50%; background-color: #111; background-image: repeating-radial-gradient(circle at center, rgba(0,0,0,.34) 0 1px, rgba(0,0,0,0) 1.3px 2.4px), radial-gradient(circle at center, rgba(0,0,0,0) 0 52%, rgba(0,0,0,.4) 72%, rgba(0,0,0,.7) 100%), var(--art, linear-gradient(#161616, #161616)); background-size: auto, auto, cover; background-position: center; background-repeat: no-repeat; box-shadow: 0 0 0 1px #000, inset 0 0 0 5px #0b0b0b, inset 0 0 30px rgba(0,0,0,.6); display: grid; place-items: center; scale: .001; opacity: 0; transition: scale .6s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.platter::after { content: ""; position: absolute; inset: 3%; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 40%, rgba(255,255,255,.09) 45%, transparent 50%, transparent 85%, rgba(255,255,255,.07) 90%, transparent 95%); pointer-events: none; z-index: 2; opacity: 0; transition: opacity .4s; }
.turntable[data-state="playing"] .platter::after, .turntable[data-state="paused"] .platter::after, .turntable[data-state="buffering"] .platter::after { opacity: 1; }
.turntable[data-size="45"] .platter::after { inset: 17%; }
.vinyl .label { display: none; }
.vinyl .label::after { content: ""; }
.vinyl::before { content: ""; position: absolute; width: 4%; height: 4%; background: #d8d2c0; border-radius: 50%; z-index: 2; box-shadow: 0 0 0 5px #0b0b0b, 0 0 0 7px var(--gold); }
.turntable[data-state="playing"] .vinyl, .turntable[data-state="paused"] .vinyl, .turntable[data-state="buffering"] .vinyl { scale: 1; opacity: 1; }
.turntable[data-size="45"] .vinyl { inset: 17%; }
.turntable[data-size="45"] .vinyl .label { width: 40%; height: 40%; }
.adapter { display: none; position: absolute; width: 22%; height: 22%; border-radius: 50%; background: radial-gradient(circle, #0a0a0a 0 28%, var(--gold) 30% 100%); z-index: 2; box-shadow: 0 0 0 2px #000; }
.turntable[data-size="45"] .adapter { display: block; }
.turntable[data-size="45"] .vinyl::before { display: none; }
.turntable[data-state="playing"] .vinyl, .turntable[data-state="paused"] .vinyl, .turntable[data-state="buffering"] .vinyl { animation: spin 1.8s linear infinite; }
.turntable[data-size="45"] .vinyl { animation-duration: 1.333s; }
.turntable[data-state="buffering"] .vinyl { animation-duration: 3.6s; }
.turntable[data-state="paused"] .vinyl { animation-play-state: paused; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.tonearm { position: absolute; top: 9%; right: 9%; width: 10%; aspect-ratio: 1/1; border-radius: 50%; background: radial-gradient(circle, #777 0 40%, #333 42% 100%); transform-origin: 50% 50%; transform: rotate(-10deg); transition: transform .9s ease; z-index: 3; }
.turntable[data-state="idle"] .tonearm { transform: rotate(-10deg) !important; }
.tonearm .arm { position: absolute; left: 50%; top: 50%; width: 8%; height: 400%; margin-left: -4%; background: linear-gradient(90deg, #666, #bbb, #666); transform-origin: top center; }
.tonearm .head { position: absolute; left: 50%; top: 440%; width: 44%; height: 50%; margin-left: -22%; background: #222; border: 1px solid #555; border-radius: 2px; }
.tonearm .head::after { content: ""; position: absolute; left: 50%; bottom: -14%; width: 18%; height: 22%; margin-left: -9%; background: var(--gold); }
.turntable[data-state="playing"] .tonearm, .turntable[data-state="paused"] .tonearm, .turntable[data-state="buffering"] .tonearm { transform: rotate(22deg); }
.turntable[data-size="45"][data-state="playing"] .tonearm, .turntable[data-size="45"][data-state="paused"] .tonearm, .turntable[data-size="45"][data-state="buffering"] .tonearm { transform: rotate(35deg); }
.speed { position: absolute; left: 8%; bottom: 7%; display: flex; gap: 4px; }
.speed i { font: 500 10px/1 var(--mono); letter-spacing: .08em; color: #6b5a45; border: 1px solid #4a3a28; padding: 5px 6px; }
.turntable[data-size="lp"] .speed i:first-child, .turntable[data-size="45"] .speed i:last-child { color: var(--gold); border-color: var(--gold); }
.power { position: absolute; right: 8%; bottom: 7%; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--paper); background: #1a1a1a; border: 2px solid #444; padding: 8px 10px; cursor: pointer; }
.power[aria-pressed="true"] { border-color: var(--red); color: var(--red); box-shadow: 0 0 10px rgba(190,45,52,.6); }
.power:hover { border-color: var(--gold); }

/* Crate */
.crate-wrap { margin-block: 20px 48px; }
.crate-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.crate-head h2 { font-size: clamp(30px, 4vw, 44px); }
.crate-head h2 small { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--cream-dim); margin-left: 10px; vertical-align: middle; text-transform: uppercase; }
.crate-tools { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.search { display: flex; gap: 6px; }
.search input { font: 14px var(--body); background: var(--panel); color: var(--paper); border: 1px solid var(--line); padding: 8px 10px; min-width: 0; width: 180px; }
.crate { position: relative; background: linear-gradient(180deg, #4a3521, #2b1d11 30%, #1c130b); border: 6px solid #2e1f12; border-top-width: 14px; box-shadow: inset 0 14px 30px rgba(0,0,0,.6), 0 16px 40px rgba(0,0,0,.6); padding: 26px 56px 20px; }
.crate::before, .crate::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, #5b4028, #2e1f12); z-index: 3; }
.crate::before { left: 0; }
.crate::after { right: 0; transform: scaleX(-1); }
.sleeves { list-style: none; margin: 0; padding: 10px 6px 0; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.sleeve { flex: 0 0 auto; width: clamp(150px, 22vw, 230px); margin-right: -62px; scroll-snap-align: start; transition: transform .25s, margin .25s; }
.sleeve:last-child { margin-right: 0; }
.sleeve[hidden] { display: none; }
.sleeve button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; position: relative; }
.sleeve img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; border: 5px solid var(--paper); box-shadow: -6px 0 10px rgba(0,0,0,.6), 0 10px 20px rgba(0,0,0,.6); background: #000; }
.sleeve.is-album img { border-color: var(--gold); }
.spine { position: absolute; left: 5px; right: 5px; bottom: 5px; display: flex; justify-content: space-between; align-items: end; gap: 8px; padding: 22px 8px 6px; background: linear-gradient(transparent, rgba(0,0,0,.9)); color: var(--paper); opacity: 0; transition: opacity .2s; }
.spine b { font-family: var(--display); font-size: 15px; letter-spacing: .03em; text-transform: uppercase; line-height: 1; min-width: 0; }
.spine small { font-family: var(--mono); font-size: 11px; color: var(--cream); }
.sleeve:hover, .sleeve:focus-within { transform: translateY(-26px); z-index: 2; }
.sleeve:hover .spine, .sleeve:focus-within .spine, .sleeve.is-picked .spine { opacity: 1; }
.sleeve.is-picked { transform: translateY(-34px) rotate(-3deg); z-index: 4; }
.sleeve.is-picked img { border-color: var(--red); box-shadow: 0 0 0 3px var(--red), 0 18px 30px rgba(0,0,0,.7); }
.crate-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 38px; height: 54px; font-size: 20px; color: var(--paper); background: var(--red); border: 2px solid var(--red-deep); cursor: pointer; }
.crate-nav.prev { left: 10px; } .crate-nav.next { right: 10px; }
.crate-nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.crate-note { margin-top: 10px; }

/* Trio cards */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-block: 8px 24px; }
.card { display: block; text-decoration: none; color: var(--cream); background: var(--panel); border: 1px solid var(--line); padding: 20px; border-top: 4px solid var(--gold); min-width: 0; }
.card h3 { font-size: 26px; margin-bottom: 6px; }
.card p { margin: 0; }
.card:hover { border-top-color: var(--red); background: var(--panel-2); }

/* Walkman */
.walkman .shell { position: relative; background: linear-gradient(160deg, #3d4653, #1e232b); border: 3px solid #0f1216; border-radius: 14px; padding: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12); }
.window { position: relative; aspect-ratio: 16/10; max-width: 100%; background: #0a0b0d; border: 4px solid #0d0f12; border-radius: 6px; box-shadow: inset 0 0 30px rgba(0,0,0,.9); overflow: hidden; }
.cassette { position: absolute; inset: 10%; background: linear-gradient(180deg, #2a2a2a, #121212); border: 2px solid #000; border-radius: 6px; transform: translateY(-130%); transition: transform .7s cubic-bezier(.2,.8,.2,1); box-shadow: 0 10px 20px rgba(0,0,0,.6); }
.walkman[data-state="playing"] .cassette, .walkman[data-state="paused"] .cassette { transform: translateY(0); }
.cassette .tape-art { position: absolute; inset: 6% 7% auto 7%; height: 38%; width: 86%; object-fit: cover; border: 2px solid var(--paper); }
.cassette .tape-title { position: absolute; left: 7%; right: 7%; top: 46%; line-height: 1.2; font-family: var(--marker); font-size: clamp(12px, 1.6vw, 18px); color: var(--ink); background: var(--paper); padding: 2px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel { position: absolute; bottom: 5%; width: 20%; aspect-ratio: 1/1; border-radius: 50%; background: radial-gradient(circle, #111 0 30%, #8a8a8a 32% 40%, #111 42% 100%); border: 2px solid #050505; }
.reel i { position: absolute; inset: 30%; border-radius: 50%; background: conic-gradient(#ddd 0 16%, #333 16% 33%, #ddd 33% 50%, #333 50% 66%, #ddd 66% 83%, #333 83% 100%); }
.reel-a { left: 14%; } .reel-b { right: 14%; }
.walkman[data-state="playing"] .reel i { animation: spin .9s linear infinite; }
.tape-window { position: absolute; left: 40%; right: 40%; bottom: 8%; height: 18%; background: #3b2a1c; border: 1px solid #000; }
.keys { display: flex; gap: 6px; margin-top: 14px; }
.key { flex: 1; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #ccc; background: linear-gradient(180deg, #2c313a, #15181d); border: 1px solid #000; border-radius: 4px; padding: 10px 0; box-shadow: 0 3px 0 #000; }
.key.is-play { color: var(--paper); }
.walkman[data-state="playing"] .key.is-play { background: var(--red); transform: translateY(2px); box-shadow: 0 1px 0 #000; }
#stop-key { cursor: pointer; }
#stop-key:hover { border-color: var(--gold); color: var(--gold); }
.phones { position: absolute; top: -6px; right: 28px; width: 14px; height: 14px; border-radius: 50%; background: #0a0b0d; border: 2px solid #555; }

/* Tape shelf */
.shelf-wrap { margin-block: 20px 48px; }
.shelf { list-style: none; margin: 0; padding: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px 14px; background: linear-gradient(180deg, #3a2a1b, #23180e); border: 6px solid #2e1f12; box-shadow: inset 0 10px 30px rgba(0,0,0,.6); }
.tape[hidden] { display: none; }
.tape button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.tape-body { position: relative; display: block; aspect-ratio: 16/10; background: linear-gradient(180deg, #2c2c2c, #141414); border: 2px solid #000; border-radius: 6px; box-shadow: 0 8px 16px rgba(0,0,0,.6); overflow: hidden; transition: transform .2s; }
.tape-body img { position: absolute; left: 7%; top: 6%; width: 86%; height: 38%; object-fit: cover; border: 2px solid var(--paper); }
.tape-label { position: absolute; left: 7%; right: 7%; top: 46%; background: var(--paper); color: var(--ink); padding: 3px 8px; line-height: 1.1; }
.tape-label b { display: block; font-family: var(--marker); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tape-label small { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #555; }
.tape-body .reel { bottom: 5%; width: 18%; }
.tape:hover .tape-body, .tape:focus-within .tape-body { transform: translateY(-6px); }
.tape.is-picked .tape-body { box-shadow: 0 0 0 3px var(--red), 0 8px 16px rgba(0,0,0,.6); }

/* Cartridges */
.carts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-block: 16px 40px; }
.cart { display: grid; grid-template-rows: auto 1fr; gap: 14px; min-width: 0; }
.cart-shell { position: relative; background: linear-gradient(180deg, #6b6b6b, #3f3f3f 60%, #2d2d2d); border: 3px solid #1c1c1c; border-radius: 10px 10px 4px 4px; padding: 18px 18px 46px; box-shadow: 0 16px 36px rgba(0,0,0,.6), inset 0 2px 0 rgba(255,255,255,.15); }
.cart-label { position: relative; background: var(--cart, var(--red)); color: var(--paper); border: 3px solid #111; padding: 16px; min-height: 180px; display: flex; flex-direction: column; gap: 6px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.25); }
.cart-label::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(0,0,0,.18) 1px, transparent 1.4px); background-size: 5px 5px; pointer-events: none; }
.cart-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.cart-label h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--paper); text-shadow: 3px 3px 0 rgba(0,0,0,.5); }
.cart-tag { font-family: var(--marker); font-size: 16px; }
.cart-seal { margin-top: auto; align-self: flex-start; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--gold); padding: 4px 8px; }
.cart-grip { position: absolute; left: 18px; right: 18px; bottom: 10px; display: flex; flex-direction: column; gap: 4px; }
.cart-grip i { height: 4px; background: #222; border-radius: 2px; }
.cart-red { --cart: #b3272e; } .cart-green { --cart: #1f7a4d; } .cart-blue { --cart: #1f5f9e; } .cart-amber { --cart: #b86a12; }
.cart-copy p { margin: 8px 0 0; }
.status { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 3px 8px; }
.band { background: var(--red); color: var(--paper); padding: 28px; display: grid; gap: 10px; justify-items: start; }
.band h2 { font-size: clamp(30px, 4vw, 48px); }
.band p { margin: 0; max-width: 60ch; }
.band .btn-red { background: var(--ink); border-color: var(--ink); }
.band .btn-red:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Wall */
.wall { position: relative; margin-block: 8px 48px; padding: clamp(80px, 11vw, 140px) 24px 32px; border: 6px solid #1a1410;
  background-color: #4d3328;
  background-image:
    linear-gradient(335deg, #3a251c 23px, transparent 23px), linear-gradient(155deg, #3a251c 23px, transparent 23px),
    linear-gradient(335deg, #3a251c 23px, transparent 23px), linear-gradient(155deg, #3a251c 23px, transparent 23px);
  background-size: 58px 58px; background-position: 0 2px, 4px 35px, 29px 31px, 34px 6px; }
.wall-tag { position: absolute; top: 4px; left: 20px; font-family: var(--marker); font-size: clamp(44px, 9vw, 120px); color: var(--red); text-shadow: 3px 3px 0 var(--ink), 0 18px 0 rgba(190,45,52,.35); line-height: 1; transform: rotate(-4deg); pointer-events: none; }
.posters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px 20px; }
.poster { position: relative; background: var(--paper); padding: 8px 8px 12px; box-shadow: 0 12px 24px rgba(0,0,0,.55); min-width: 0; }
.poster::before, .poster::after { content: ""; position: absolute; top: -8px; width: 56px; height: 18px; background: rgba(255,255,255,.55); transform: rotate(-6deg); }
.poster::before { left: 10px; } .poster::after { right: 10px; transform: rotate(5deg); }
.poster img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.poster-tag { display: block; margin-top: 8px; font-family: var(--marker); font-size: 18px; color: var(--ink); line-height: 1.1; }
.poster-note { display: block; font-family: var(--mono); font-size: 11px; color: #5a5548; }
.p0 { transform: rotate(-2deg); } .p1 { transform: rotate(1.5deg); } .p2 { transform: rotate(-1deg); } .p3 { transform: rotate(2.5deg); } .p4 { transform: rotate(-2.5deg); } .p5 { transform: rotate(1deg); }

/* Beagle */
.beagle { background: #fff; color: #222; padding: 36px 28px; border: 6px solid var(--paper); margin-bottom: 24px; }
.beagle h2 { color: #111; font-size: clamp(36px, 5vw, 64px); }
.beagle .eyebrow { color: #777; }
.beagle .lede { color: #333; }
.beagle .btn { color: #111; background: #fff; border-color: #111; }
.beagle .btn:hover { background: #111; color: #fff; }
.beagle .btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.beagle .btn-ghost { border-style: dashed; color: #444; }
.beagle .btn-ghost:hover { background: #fff; color: #444; }
.pages { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pages img { display: block; width: 100%; border: 1px solid #ddd; }
.page-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.page-zoom::after { content: "\2922"; position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; display: grid; place-items: center; background: #111; color: #fff; font-size: 15px; opacity: 0; transition: opacity .2s; }
.page-zoom:hover::after, .page-zoom:focus-visible::after { opacity: 1; }
.page-zoom:hover img { border-color: #111; }
.zoom { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.zoom::backdrop { background: rgba(10,10,10,.92); }
.zoom[open] { display: grid; place-items: center; }
.zoom img { max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); width: auto; height: auto; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.6); cursor: zoom-out; }
.zoom-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--paper); background: #111; color: var(--paper); font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.zoom-close { top: 16px; right: 16px; }
.zoom-prev { left: 16px; top: 50%; margin-top: -24px; }
.zoom-next { right: 16px; top: 50%; margin-top: -24px; }

/* Studio */
.room { margin: 0 0 32px; }
.room img { display: block; width: 100%; border: 6px solid var(--paper); }
.room figcaption { font-family: var(--mono); font-size: 12px; color: var(--cream-dim); margin-top: 8px; }
.bio { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin-bottom: 36px; }
.bio h2 { font-size: 34px; margin-bottom: 10px; }
.bio-text p { max-width: 65ch; margin: 0 0 14px; }
.gear ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gear li { border-left: 3px solid var(--gold); padding-left: 12px; }
.gear b { display: block; font-family: var(--display); font-size: 18px; letter-spacing: .03em; text-transform: uppercase; color: var(--paper); }
.gear span { font-size: 14px; color: var(--cream); }
.linkrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.linkcard { display: flex; flex-direction: column; text-decoration: none; color: var(--cream); background: var(--panel); border: 1px solid var(--line); padding: 16px; min-width: 0; }
.linkcard b { font-family: var(--display); font-size: 22px; letter-spacing: .03em; color: var(--paper); text-transform: uppercase; }
.linkcard small { font-family: var(--mono); font-size: 11px; color: var(--cream-dim); }
.linkcard:hover { border-color: var(--gold); }

/* Footer */
.foot { border-top: 3px solid var(--red); margin-top: 24px; padding: 28px var(--gutter) 24px; background: var(--panel); }
.foot-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.foot-sticker { display: grid; text-align: center; background: #000; color: #fff; border: 3px solid #fff; padding: 6px 10px; font-family: var(--display); letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.foot-sticker span { font-size: 10px; } .foot-sticker b { font-size: 20px; }
.foot-links { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot-links a { color: var(--cream); text-decoration: none; font-family: var(--display); font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.foot-links a:hover { color: var(--gold); }
.foot-contact { display: grid; }
.foot-contact a { font-family: var(--mono); font-size: 13px; color: var(--paper); }
.foot-bar { max-width: 1240px; margin: 20px auto 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.barcode { display: inline-block; width: 120px; height: 28px; background: repeating-linear-gradient(90deg, var(--cream) 0 2px, transparent 2px 4px, var(--cream) 4px 5px, transparent 5px 8px, var(--cream) 8px 11px, transparent 11px 13px); }
.cat { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); }
.cat a { color: var(--cream-dim); }

@media (max-width: 900px) {
  .hero, .walkman, .bio { grid-template-columns: 1fr; }
  .hero-cover { order: -1; width: min(100%, 420px); }
  .foot-grid { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 560px) {
  /* Phone: record and TV stay side by side at the same height, just smaller. */
  .turntable { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "now now" "deck tv" "link link"; column-gap: 10px; padding: 14px; }
  .turntable .tv { grid-template-columns: minmax(0, 1fr); padding: 7px; border-width: 3px; border-radius: 8px; }
  .turntable .tv-panel { display: none; }
  .turntable .crt { border-width: 4px; border-radius: 12px / 10px; }
  .turntable .speed { display: none; }
  .turntable .power { font-size: 9px; padding: 4px 6px; right: 6%; bottom: 5%; }
  .top nav a { font-size: 14px; padding: 6px 8px; }
  .top nav a small { display: none; }
  .crate { padding: 20px 46px 16px; }
  .sleeve { width: 150px; margin-right: -40px; }
  .search input { width: 130px; }
}

/* Console TV */
.tv-side { min-width: 0; display: grid; gap: 14px; }
.tv { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 10px; background: linear-gradient(135deg, #5a3d24, #2e1d10); border: 4px solid #1a120b; border-radius: 10px; padding: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.05); }
.crt { position: relative; aspect-ratio: 4/3; max-width: 100%; background: #050505; border-radius: 18px / 14px; border: 6px solid #191512; box-shadow: inset 0 0 50px rgba(0,0,0,.9), 0 0 0 2px #0a0806; overflow: hidden; }
.crt iframe, .crt #yt-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.crt .scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; opacity: .7; z-index: 3; }
.crt .scan::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.55) 100%); }
.screen-idle, .screen-off, .screen-tap { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--cream-dim); background: #060606; z-index: 2; }
.screen-idle span, .screen-off span, .screen-tap span { font-family: var(--display); font-size: clamp(22px, 3vw, 40px); letter-spacing: .08em; color: #3a352c; }
.screen-tap { background: rgba(6,6,6,.85); cursor: pointer; z-index: 4; }
.screen-tap span { color: var(--gold); }
.screen-idle small, .screen-off small, .screen-tap small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.tv.is-off .crt #yt-player { opacity: 0; }
.tv-panel { display: grid; align-content: start; justify-items: center; gap: 12px; padding-top: 6px; }
.dial { display: grid; justify-items: center; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle, #2a2420 0 55%, #4a3a28 57% 100%); border: 2px solid #1a120b; box-shadow: inset 0 2px 6px rgba(0,0,0,.6); align-content: center; }
.dial b { font: 500 18px/1 var(--mono); color: var(--gold); }
.dial small { font: 9px/1 var(--mono); letter-spacing: .1em; color: #8a7355; }
.knob { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, #3a3028 0 50%, #221a12 52% 100%); border: 2px solid #1a120b; cursor: pointer; color: #8a7355; font: 500 9px/1 var(--mono); letter-spacing: .08em; }
.knob[aria-pressed="true"] { color: var(--gold); box-shadow: 0 0 8px rgba(207,162,67,.5); }
.tv-brand { font: 500 9px/1 var(--mono); letter-spacing: .18em; color: #8a7355; writing-mode: vertical-rl; margin-top: 6px; }

/* Crate dividers and price stickers */
.divider { flex: 0 0 auto; width: 44px; margin-right: -10px; align-self: stretch; position: relative; z-index: 1; scroll-snap-align: start; }
.divider span { position: absolute; left: 0; top: -14px; bottom: 0; width: 100%; background: linear-gradient(90deg, #b08a5a, #8a6a42); border: 2px solid #5a4028; border-radius: 6px 6px 0 0; box-shadow: -4px 0 8px rgba(0,0,0,.5); writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--marker); font-size: 15px; color: #2b1d11; padding: 10px 0; text-align: center; white-space: nowrap; }
.divider[hidden] { display: none; }
.sleeves { padding-top: 24px; }
.price { position: absolute; top: 10px; right: 12px; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-content: center; font-family: var(--display); font-size: 17px; line-height: .9; transform: rotate(10deg); box-shadow: 0 3px 6px rgba(0,0,0,.5); z-index: 2; text-align: center; }
.price small { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.sleeve.kind-single img { border-color: var(--paper); }
.sleeve.kind-placement img { border-color: var(--cold); }
.sleeve.kind-album img { border-color: var(--gold); }

/* Walkman: real keys and tape progress */
.keys .key { font-family: var(--mono); cursor: pointer; }
.keys .key:hover { color: var(--gold); border-color: var(--gold); }
.walkman[data-state="loading"] .cassette, .walkman[data-state="loading"] .reel i { }
.walkman[data-state="loading"] .cassette { transform: translateY(0); }
.walkman[data-state="loading"] .key.is-play { background: var(--red-deep); }
.tape-window i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #8a6a42; transition: width .5s linear; }
.screen-sc { position: relative; }
.screen-sc .screen-tap { position: absolute; }

/* Mini deck for phones */
.minideck { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; gap: 12px; padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(12,12,10,.96); border-top: 3px solid var(--gold); }
.minideck img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); animation: spin 1.8s linear infinite; }
.mini-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--display); font-size: 16px; letter-spacing: .03em; text-transform: uppercase; color: var(--paper); }
.mini-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); background: var(--red); color: var(--paper); font-size: 14px; cursor: pointer; }
@media (max-width: 900px) {
  .minideck:not([hidden]) { display: flex; }
  body:has(.minideck:not([hidden])) { padding-bottom: 72px; }
  .tv { grid-template-columns: minmax(0, 1fr) 64px; }
}
