.music-page { width:min(1080px,100%); margin:auto; padding:clamp(56px,8vw,100px) clamp(20px,5vw,58px) 110px; }
.music-intro { display:grid; grid-template-columns:1fr 190px; gap:30px; align-items:center; }
.music-intro h1 { font-size:clamp(3.2rem,7vw,6rem); }
.music-intro p:not(.eyebrow) { max-width:590px; color:#e6d8b4; font-size:1.08rem; line-height:1.7; }
.music-intro img { width:100%; border:1px solid #f4dfab55; image-rendering:pixelated; }
.listening { margin-top:72px; }
.listening-head { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:30px; }
.listening-head h2 { max-width:550px; margin:0; font-size:clamp(2.4rem,5vw,4rem); line-height:.97; letter-spacing:-.045em; }
.listening-head > p { max-width:250px; margin:0; color:#d2c7aa; font-size:.9rem; line-height:1.6; }
.boombox { padding:clamp(15px,3vw,28px); border:3px solid #e5c994; border-radius:14px; background:linear-gradient(145deg,#536b67,#293d46); box-shadow:10px 12px 0 #091321; }
.boom-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:15px; color:#f4dfab; font:800 .67rem ui-monospace,monospace; letter-spacing:.14em; }
.power-light { width:9px; height:9px; border-radius:50%; background:#f2b632; box-shadow:0 0 12px #f2b63299; }
.boom-body { display:grid; grid-template-columns:1fr 1.25fr 1fr; align-items:center; gap:clamp(10px,2vw,22px); padding:clamp(12px,2vw,20px); background:#172735; border:2px solid #0a1523; border-radius:7px; }
.speaker { aspect-ratio:1; border:7px solid #9a875f; border-radius:50%; display:grid; place-items:center; background:repeating-radial-gradient(circle,#0b1825 0 3px,#263c48 4px 7px); box-shadow:inset 0 0 0 6px #101d30; }
.speaker span { width:36%; aspect-ratio:1; background:#101d30; border:3px solid #7a866f; border-radius:50%; }
.deck { min-width:0; }
.deck-label { display:flex; justify-content:space-between; gap:8px; margin-bottom:8px; color:#b7c99c; font:800 clamp(.45rem,1vw,.65rem) ui-monospace,monospace; letter-spacing:.06em; }
.cassette { padding:12px; background:#c49a67; border:4px solid #0a1523; border-radius:7px; box-shadow:inset 0 0 0 2px #f4dfab99; }
.tape-label { display:flex; justify-content:space-between; background:#f4dfab; color:#26343a; padding:5px 7px; font:900 clamp(.5rem,1.15vw,.75rem) ui-monospace,monospace; letter-spacing:.08em; }
.tape-window { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-top:8px; padding:8px; background:#182836; border:2px solid #8d7254; }
.reel { flex:0 0 28%; aspect-ratio:1; border:3px solid #f4dfab; border-radius:50%; background:repeating-conic-gradient(#d6c293 0 20deg,#263b47 20deg 60deg); box-shadow:inset 0 0 0 5px #283945; }
.is-playing .reel { animation:reel-spin 2.4s linear infinite; }
@keyframes reel-spin { to { transform:rotate(360deg); } }
.tape-spool { height:5px; flex:1; background:#a78968; }
.deck-display { padding:12px 5px 0; color:#f4dfab; display:grid; gap:3px; }
.deck-display span,.deck-display small { font:700 clamp(.48rem,1vw,.68rem)/1.3 ui-monospace,monospace; color:#b8c89e; }
.deck-display strong { font-size:clamp(.85rem,2vw,1.2rem); }
.controls { display:none; align-items:center; flex-wrap:wrap; gap:12px; margin-top:17px; color:#f4dfab; font:800 .65rem ui-monospace,monospace; letter-spacing:.08em; }
.music-js .controls { display:flex; }
.controls button { border:2px solid #172735; border-radius:3px; padding:11px 18px; background:#f2b632; color:#101d30; font:900 .75rem ui-monospace,monospace; cursor:pointer; }
.controls button:hover { background:#ffd36b; }
.controls input { width:110px; accent-color:#f2b632; }
.control-caption { margin-left:auto; color:#e5d4ad; }
#music-audio { display:block; width:100%; margin-top:16px; }
.music-js #music-audio { display:none; }
.track-info { max-width:660px; margin-top:42px; }
.track-info h3 { font-size:2.5rem; margin:0 0 12px; }
.track-info p:not(.eyebrow) { color:#d2c7aa; line-height:1.7; }
.track-list { list-style:none; padding:0; margin:24px 0 0; display:grid; gap:10px; }
.track-list a { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:15px 18px; background:#0b1727; border:1px solid #f4dfab55; color:var(--cream); text-decoration:none; }
.track-list a:hover, .track-list a:focus-visible, .track-list a[aria-current] { border-color:var(--gold); }
.track-list a span { color:#c3cbae; font-size:.85rem; text-align:right; }
@media (max-width:480px) { .track-list a { align-items:flex-start; flex-direction:column; } .track-list a span { text-align:left; } }
@media (max-width:600px) { .music-intro { grid-template-columns:1fr 95px; gap:15px; } .music-intro h1 { font-size:clamp(2.8rem,10vw,4.5rem); } .listening-head { display:block; } .listening-head > p { max-width:none; margin-top:16px; } .boom-body { grid-template-columns:1fr 1.45fr 1fr; gap:6px; padding:8px; } .speaker { border-width:3px; } .cassette { padding:5px; border-width:2px; } .tape-window { padding:4px; } .reel { border-width:2px; } .control-caption { margin-left:0; width:100%; } }
@media (max-width:380px) { .music-intro { display:block; } .music-intro img { width:96px; } }
@media (prefers-reduced-motion:reduce) { .is-playing .reel { animation:none; } }


/* Upright cassette cases on Hum’s shelf. */
.track-info { max-width:780px; }
.track-list { display:flex; align-items:stretch; gap:2px; min-height:292px; margin:24px 0 0; padding:20px 20px 0; overflow-x:auto; overscroll-behavior-x:contain; background:linear-gradient(180deg,#1d2a32,#24363a 92%,#6d4936 92%,#ac7952 96%,#64422f 96%); border:5px solid #8b6249; border-bottom-width:10px; box-shadow:inset 0 7px 18px #080f1799; }
.track-list li { flex:0 0 76px; display:flex; padding-bottom:11px; }
.track-list a { width:100%; min-height:240px; display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:10px; padding:12px 9px; border:3px solid #c9b388; border-radius:4px 4px 1px 1px; color:#13242d; text-decoration:none; writing-mode:vertical-rl; text-orientation:mixed; background:#d9cb9e; box-shadow:inset 0 0 0 2px #ffffff66, 2px 0 4px #08101a99; transition:transform .15s, border-color .15s; }
.track-list li:nth-child(3n+2) a { background:#365e65; border-color:#8ca69b; color:#f7e6bb; }
.track-list li:nth-child(3n+3) a { background:#a15c40; border-color:#d1a77d; color:#fff0ce; }
.track-list a strong { font-size:1rem; letter-spacing:.02em; }
.track-list a span { margin-top:auto; color:inherit; opacity:.85; font:700 .68rem/1.25 ui-monospace,monospace; text-align:left; }
.track-list a:hover, .track-list a:focus-visible, .track-list a[aria-current] { border-color:#ffd271; transform:translateY(-6px); outline-offset:2px; }
.track-list a[aria-current] { box-shadow:inset 0 0 0 2px #ffffff99, 0 0 0 2px #f2b632; }
@media (max-width:480px) { .track-list { min-height:250px; padding:16px 14px 0; } .track-list li { flex-basis:68px; } .track-list a { min-height:210px; align-items:stretch; } }
@media (prefers-reduced-motion:reduce) { .track-list a { transition:none; } }
