﻿/* ===== Tokens ===== */
:root {
  --room: #1A1411;      /* listening room */
  --room-2: #2A1F19;
  --vinyl: #0E0B09;
  --brass: #E0A526;
  --paper: #EDE3CC;     /* album back cover */
  --ink: #2B1D16;       /* print on paper */
  --text: #F1E9DC;
  --mute: #BFB2A2;
  --walnut-1: #5A3A26;
  --walnut-2: #36210F;
  --line: rgba(239, 230, 214, .13);
  --serif: "Gloock", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--room);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 30% 30%, rgba(217,164,65,.10), transparent 65%),
    radial-gradient(800px 600px at 100% 100%, rgba(122,31,43,.30), transparent 60%),
    var(--room);
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--brass); color: var(--vinyl); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ===== Custom cursor (fine pointers only) ===== */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .station, .station * { cursor: none; }
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
    width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
    border: 1.5px solid var(--brass);
    opacity: 0; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .25s, opacity .2s, border-color .25s;
    will-change: transform;
  }
  .cursor.on { opacity: 1; }
  .cursor-text { font: 600 .74rem var(--sans); color: var(--vinyl); opacity: 0; transition: opacity .2s; white-space: nowrap; }
  .cursor.big { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--brass); }
  .cursor.big .cursor-text { opacity: 1; }
  .cursor.holding { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--brass); }
}

/* ===== Header ===== */
.top {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 18px;
  padding: 14px var(--gutter);
  background: rgba(26,20,17,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font: 400 1.25rem var(--serif); text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--mute); font-weight: 500; }
.nav a:hover { color: var(--text); }
.sound { display: flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 6px 12px; font: 500 .88rem var(--sans); cursor: pointer; }
.sound-bars { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.sound-bars i { width: 3px; height: 3px; border-radius: 2px; background: var(--mute); }
.sound[aria-pressed="true"] .sound-bars i { background: var(--brass); animation: bars 1.1s ease-in-out infinite; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -.4s; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -.8s; }
@keyframes bars { 0%, 100% { height: 3px; } 50% { height: 12px; } }

/* ===== Intro ===== */
.intro { max-width: 1320px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gutter) 0; display: grid; grid-template-columns: auto minmax(0, 46ch); gap: clamp(20px, 5vw, 80px); align-items: end; }
.intro h1 { font: 400 clamp(3rem, 1.6rem + 6vw, 7.2rem)/.9 var(--serif); letter-spacing: -.02em; }
.intro-line { color: var(--mute); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); padding-bottom: .6em; }
.intro-line a { color: var(--text); text-decoration-color: var(--brass); text-underline-offset: 3px; }

/* ===== Station ===== */
.station {
  max-width: 1320px; margin: 0 auto;
  padding: clamp(18px, 3vw, 32px) var(--gutter) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: "deck crate" "deck notes";
  grid-template-rows: auto 1fr;
  gap: clamp(20px, 2.5vw, 32px) clamp(24px, 5vw, 72px);
  align-items: start;
}
.deck-col { grid-area: deck; min-width: 0; }
.sleeve-notes { grid-area: notes; min-width: 0; padding-top: 8px; border-top: 1px solid var(--line); }
.crate-wrap { grid-area: crate; min-width: 0; }
.crate-records { scroll-behavior: smooth; overscroll-behavior-x: contain; }
.crate-records.fade-r { mask-image: linear-gradient(90deg, #000 88%, transparent); }
.crate-records.fade-l { mask-image: linear-gradient(90deg, transparent, #000 12%); }
.crate-records.fade-l.fade-r { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.crate-arrow {
  position: absolute; z-index: 3; top: 34%; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(239,230,214,.25); background: rgba(26,20,17,.88); color: var(--text);
  font: 400 1.5rem/1 var(--serif); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.45);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), border-color .2s, color .2s;
}
.crate-arrow:hover { border-color: var(--brass); color: var(--brass); }
.crate-arrow.prev { left: -14px; } .crate-arrow.next { right: -14px; }
.crate-arrow.is-hidden { opacity: 0; pointer-events: none; transform: scale(.85); }
.crate-arrow span { margin-top: -3px; }
.crate-scroll { position: relative; height: 4px; margin-top: 30px; border-radius: 4px; background: rgba(239,230,214,.1); cursor: pointer; }
.crate-scroll[hidden] { display: none; }
.crate-scroll::before { content: ""; position: absolute; inset: -10px 0; }
.crate-scroll span { position: absolute; left: 0; top: 0; height: 100%; border-radius: 4px; background: var(--brass); transition: transform .15s linear; }

/* turntable */
.deck { width: min(100%, 560px); }
.plinth {
  position: relative; aspect-ratio: 1.18 / 1; border-radius: 18px;
  background:
    repeating-linear-gradient(91deg, rgba(0,0,0,.07) 0 2px, transparent 2px 11px),
    linear-gradient(155deg, var(--walnut-1), var(--walnut-2));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.1), inset 0 -8px 20px rgba(0,0,0,.35), 0 40px 70px -30px rgba(0,0,0,.75);
}
.platter {
  position: absolute; left: 6%; top: 7.5%; width: 72%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #8d8a93 0 64%, #5d5a63 65% 66%, #a7a4ad 67% 69%, #4a4750 70% 100%);
  box-shadow: 0 10px 28px rgba(0,0,0,.55);
  display: grid; place-items: center;
}
.mat { position: absolute; inset: 1.5%; border-radius: 50%; background: radial-gradient(circle, #2C241E 0 10%, #1E1813 11% 100%); }
.record { position: relative; width: 97%; aspect-ratio: 1; border-radius: 50%; touch-action: none; user-select: none; will-change: transform; --label: var(--brass); transition: opacity .25s, scale .45s var(--ease-out); }
.record.lifted { opacity: 0; scale: .9; }
.grooves { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, #17120F 0 1px, #08060c 1px 3px), var(--vinyl); box-shadow: inset 0 0 0 2px #000, inset 0 0 0 6px #17120F; }
.grooves::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, transparent 0 46%, rgba(255,255,255,.05) 46.4% 47%, transparent 47.4% 61%, rgba(255,255,255,.05) 61.4% 62%, transparent 62.4% 76%, rgba(255,255,255,.05) 76.4% 77%, transparent 77.4%); }
.sheen { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: conic-gradient(from 20deg, transparent 0 10%, rgba(255,255,255,.13) 14%, transparent 20% 52%, rgba(255,255,255,.09) 58%, transparent 64%); mix-blend-mode: screen; }
.label { position: absolute; inset: 33%; border-radius: 50%; display: grid; grid-template-rows: 1fr auto 1fr; place-items: center; text-align: center; padding: 8%; color: var(--vinyl); background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--label) 78%, white), var(--label) 60%, color-mix(in srgb, var(--label) 80%, black)); box-shadow: inset 0 0 0 3px rgba(0,0,0,.18); transition: background .6s var(--ease-out); }
.label-top { align-self: end; font: 400 clamp(.62rem, .45rem + .75vw, 1.05rem)/1 var(--serif); }
.label-hole { width: 9%; aspect-ratio: 1; border-radius: 50%; background: #c9c6cf; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); margin: 6px 0; }
.label-bottom { align-self: start; font-size: clamp(.5rem, .4rem + .4vw, .74rem); font-weight: 600; opacity: .8; }
.drop-ring { position: absolute; inset: -3%; border-radius: 50%; border: 2px dashed var(--brass); opacity: 0; scale: .96; transition: opacity .3s, scale .4s var(--ease-out); pointer-events: none; }
body.dragging .drop-ring { opacity: .55; scale: 1; }
body.over-deck .drop-ring { opacity: 1; scale: 1.03; border-style: solid; box-shadow: 0 0 40px rgba(217,164,65,.35); }

.arm-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; filter: drop-shadow(3px 6px 4px rgba(0,0,0,.45)); }
.tonearm { transform-box: view-box; transform-origin: 103px 14px; transform: rotate(-4deg); transition: transform 1.2s cubic-bezier(.65, 0, .25, 1); }
body.playing .tonearm { transform: rotate(25deg); }

.startstop { position: absolute; right: 5%; bottom: 7%; width: 13%; aspect-ratio: 1.6; border-radius: 8px; border: 0; background: linear-gradient(180deg, #e9e4ee, #9b96a3); box-shadow: 0 4px 0 #5f5a66, 0 8px 14px rgba(0,0,0,.4); cursor: pointer; display: grid; place-items: center; transition: transform .12s, box-shadow .12s; }
.startstop span { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #2C241E; }
body.playing .startstop span { width: 10px; height: 12px; border: 0; border-left: 3.5px solid #2C241E; border-right: 3.5px solid #2C241E; }
.startstop:active { transform: translateY(3px); box-shadow: 0 1px 0 #5f5a66, 0 4px 8px rgba(0,0,0,.4); }
.speed { position: absolute; left: 6%; bottom: 5%; display: flex; gap: 6px; font: 700 .7rem var(--sans); }
.speed span { padding: 3px 7px; border-radius: 4px; background: rgba(0,0,0,.35); color: var(--mute); }
.speed .on { background: var(--brass); color: var(--vinyl); }
.pilot { position: absolute; right: 21%; bottom: 10.5%; width: 1.6%; aspect-ratio: 1; border-radius: 50%; background: #4a3a2a; transition: background .4s, box-shadow .4s; }
body.playing .pilot { background: #ff6b4a; box-shadow: 0 0 10px #ff6b4a; }

.vu { display: flex; align-items: flex-end; gap: 3px; height: 34px; margin-top: 18px; width: min(100%, 560px); }
.vu i { flex: 1; height: 2px; border-radius: 2px; background: rgba(239,230,214,.18); transition: height .1s linear, background .3s; }
body.playing .vu i { background: var(--brass); }
.caption {
  width: min(100%, 560px); min-height: 3.2em; margin-top: 14px;
  font: italic 400 clamp(1rem, .95rem + .25vw, 1.12rem)/1.45 var(--sans); color: var(--text);
  opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.caption.on { opacity: 1; transform: none; }
.caption::before { content: "\201C"; color: var(--brass); font: 400 1.6em/0 var(--serif); vertical-align: -.35em; margin-right: 4px; }

/* notes beside the deck */
.notes-kicker { color: var(--brass); font-weight: 600; font-size: .95rem; }
.sleeve-notes h2 { font: 400 clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem)/1 var(--serif); margin-top: 6px; }
.notes-tag { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); margin-top: 12px; }
.notes-desc { color: var(--mute); margin-top: 12px; max-width: 52ch; }
.notes-points { margin: 16px 0 0; padding-left: 18px; display: grid; gap: 6px; max-width: 52ch; }
.notes-points li::marker { color: var(--brass); }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .85rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); }
.notes-link-wrap { margin-top: 20px; }
.notes-link { color: var(--brass); font-weight: 600; text-underline-offset: 4px; }
.sleeve-notes > * { transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.sleeve-notes.swap > * { opacity: 0; transform: translateY(8px); }

/* crate */
.crate-hint { color: var(--mute); font-size: .95rem; margin-bottom: 14px; }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.crate { position: relative; padding-top: 6px; }
.crate-records {
  list-style: none; margin: 0; padding: 0 20px;
  display: flex; gap: 14px; align-items: flex-end;
  overflow-x: auto; overflow-y: visible; scrollbar-width: none;
  position: relative; z-index: 1; padding-top: 70px; margin-top: -70px;
}
.crate-records::-webkit-scrollbar { display: none; }
.crec { flex: none; position: relative; width: clamp(110px, 9vw, 136px); aspect-ratio: 1; }
.crec-btn {
  position: absolute; inset: 0; border: 0; padding: 0; background: none; color: inherit; touch-action: pan-x;
  transform: translateY(var(--rest, 10%)) rotate(var(--tilt, 0deg));
  transition: transform .5s var(--ease-spring);
}
.crec:nth-child(odd) .crec-btn { --tilt: -1.5deg; }
.crec:nth-child(3n) .crec-btn { --tilt: 1.2deg; }
.crec-btn:hover, .crec-btn:focus-visible { transform: translateY(-6%) rotate(0deg); }
.crec-disc {
  position: absolute; left: 7%; top: 2%; width: 86%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0 16%, #000 16.5% 17%, transparent 17%), repeating-radial-gradient(circle, #17120F 0 1px, #08060c 1px 3px);
  box-shadow: 0 6px 14px rgba(0,0,0,.5);
  transition: transform .55s var(--ease-out);
}
.crec-btn:hover .crec-disc, .crec-btn:focus-visible .crec-disc { transform: translateY(-34%) rotate(50deg); }
.crec-sleeve {
  position: absolute; inset: 0; border-radius: 4px; background: var(--art);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.07);
  display: flex; flex-direction: column; justify-content: flex-start; padding: 10px; overflow: hidden;
}
.crec-sleeve span { font: 400 clamp(.95rem, .8rem + .45vw, 1.2rem)/1 var(--serif); color: var(--ink2, var(--text)); position: relative; }
.crec.on-deck .crec-disc { opacity: 0; }
.crec.on-deck .crec-sleeve > span { opacity: .18; }
.crec.on-deck .crec-sleeve::after { content: "On the deck"; position: absolute; top: 8px; left: 8px; font: 600 .7rem var(--sans); background: rgba(13,10,18,.75); color: var(--brass); padding: 3px 7px; border-radius: 999px; }
.crate-front {
  position: absolute; left: 0; right: 0; bottom: -14px; height: 44%; z-index: 2; pointer-events: none;
  border-radius: 6px 6px 10px 10px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), transparent 18%),
    repeating-linear-gradient(0deg, transparent 0 31%, rgba(0,0,0,.28) 31% 33%),
    repeating-linear-gradient(93deg, rgba(0,0,0,.06) 0 2px, transparent 2px 13px),
    linear-gradient(180deg, #7a5233, #4f3220);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.12), 0 20px 30px -16px rgba(0,0,0,.7);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px;
}
.crate-front span { font: 400 .95rem var(--serif); color: rgba(239,230,214,.55); background: rgba(0,0,0,.18); padding: 2px 12px; border-radius: 3px; }

/* the record you're carrying */
.ghost {
  position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none;
  border-radius: 50%; will-change: transform;
  background: radial-gradient(circle, var(--c) 0 16%, #000 16.5% 17%, transparent 17%), repeating-radial-gradient(circle, #17120F 0 1px, #08060c 1px 3px);
  box-shadow: 0 30px 50px -10px rgba(0,0,0,.7), inset 0 0 0 2px #000;
}
.ghost::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 10%, rgba(255,255,255,.14) 14%, transparent 20% 52%, rgba(255,255,255,.1) 58%, transparent 64%); mix-blend-mode: screen; }

/* ===== Back cover ===== */
.back { padding: clamp(40px, 6vw, 80px) var(--gutter); }
.cover {
  position: relative; max-width: 1100px; margin: 0 auto;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.5), transparent 40%),
    linear-gradient(170deg, #F1E8D2, var(--paper) 60%, #E2D5B8);
  color: var(--ink); border-radius: 6px;
  padding: clamp(24px, 5vw, 64px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(0,0,0,.06);
}
.cover::before { /* ring wear from the record inside */
  content: ""; position: absolute; right: 6%; top: 8%; width: min(56%, 520px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(42,31,46,.05); box-shadow: 0 0 0 30px rgba(42,31,46,.025); pointer-events: none;
}
.cover-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.cover-head h2 { font: 400 clamp(2rem, 1.4rem + 2.4vw, 3.4rem)/1 var(--serif); }
.cat { font-weight: 600; font-size: .9rem; opacity: .65; }
.tracks { list-style: none; margin: 8px 0 0; padding: 0; columns: 2 380px; column-gap: 48px; }
.track { break-inside: avoid; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px 12px; padding: 16px 0; border-bottom: 1px solid rgba(42,31,46,.16); }
.track-no { font: 400 1.2rem var(--serif); opacity: .55; padding-top: 2px; }
.track h3 { font: 700 1.05rem var(--sans); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.track p { grid-column: 2; font-size: .96rem; color: #5A4636; }
.track-ask { font: 600 .85rem var(--sans); color: var(--ink); white-space: nowrap; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; }
.track-ask:hover { color: #8a5a10; }
.cover-foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 36px; }
.credits h3 { font: 400 1.35rem var(--serif); margin-bottom: 10px; }
.credits dl { margin: 0; display: grid; gap: 10px; }
.credits dt { font-weight: 700; font-size: .92rem; }
.credits dd { margin: 0; font-size: .92rem; color: #5A4636; }
.instruments { font-size: .95rem; color: #5A4636; line-height: 1.8; }
.barcode { margin-top: 32px; width: 150px; height: 44px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .8; }

/* ===== Request ===== */
.request { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(60px, 8vw, 110px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); }
.request h2 { font: 400 clamp(2rem, 1.4rem + 2.4vw, 3.2rem)/1.02 var(--serif); }
.request-copy p { color: var(--mute); margin-top: 16px; max-width: 44ch; }
.links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px !important; }
.links a { color: var(--text); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--brass); }
.links a[hidden] { display: none; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); color: var(--text); background: rgba(13,10,18,.5); border: 1px solid rgba(239,230,214,.2); border-radius: 8px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 120px; }
.form select option { background: var(--room); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(217,164,65,.22); }
.btn { justify-self: start; font: 600 1rem var(--sans); background: var(--brass); color: var(--vinyl); border: 0; border-radius: 8px; padding: 13px 22px; cursor: pointer; transition: transform .15s, background .2s; }
.btn:hover { background: #EDB940; }
.btn:active { transform: scale(.97); }
.form-note { color: var(--mute); font-size: .88rem; }
.form-error { color: #ff9e8c; min-height: 1.2em; font-size: .92rem; }

.foot { padding: 24px var(--gutter) 40px; color: var(--mute); font-size: .88rem; border-top: 1px solid var(--line); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .station { grid-template-columns: 1fr; grid-template-areas: "deck" "crate" "notes"; }
  .deck, .vu { margin-inline: auto; }
  .intro { grid-template-columns: 1fr; gap: 12px; }
  .intro-line { padding-bottom: 0; }
  .cover-foot { grid-template-columns: 1fr 1fr; }
  .cover-foot .credits:first-child { grid-column: 1 / -1; }
  .request { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .sound { margin-left: auto; }
  .tracks { columns: 1; }
  .cover-foot { grid-template-columns: 1fr; }
  .crec { width: 112px; }
  .crate-front span { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* oxblood accents */
.crate-arrow:hover, .links a:hover { color: #E0A526; }
.cover-head { border-bottom-color: #7A1F2B; }
.track-no { color: #7A1F2B; opacity: 1; }

/* ===== Light listening room (preview: add ?theme=light) ===== */
html[data-theme="light"] {
  --room: #E9E6DF; --room-2: #DCD7CD; --text: #241A14; --mute: #5E5045; --line: rgba(36,26,20,.16); --brass: #A86F0E;
}
html[data-theme="light"] body::before { background: radial-gradient(900px 520px at 30% 30%, rgba(224,165,38,.18), transparent 65%), radial-gradient(800px 600px at 100% 100%, rgba(122,31,43,.14), transparent 60%), #E9E6DF; }
html[data-theme="light"] .top { background: rgba(233,230,223,.85); }
html[data-theme="light"] .btn, html[data-theme="light"] .speed .on { color: #FFF8EC; }
html[data-theme="light"] .form input, html[data-theme="light"] .form select, html[data-theme="light"] .form textarea { background: #F7F5F0; color: #241A14; border-color: rgba(36,26,20,.25); }
html[data-theme="light"] .crate-arrow { background: #F7F5F0; color: #241A14; }
html[data-theme="light"] .cursor-text { color: #FFF8EC; }
.theme { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .4s var(--ease-out); }
.theme:hover { border-color: var(--brass); transform: rotate(20deg); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme .moon { fill: currentColor; stroke: none; }
html[data-theme="light"] .theme .sun, html[data-theme="light"] .theme .rays { display: none; }
html:not([data-theme="light"]) .theme .moon { display: none; }
html[data-theme="light"] .sound { color: var(--text); }
body, .top { transition: background-color .4s, color .4s; }
