:root { color-scheme: dark; --ink: #f0e7d2; --muted: #a6b7ad; --accent: #d8b56c; --line: #e6d3a51c; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #0d1917; color: var(--ink); }
* { box-sizing: border-box; }
body { margin: 0; padding-bottom: 134px; background: radial-gradient(ellipse at 15% 0, #24423977, transparent 60%), #0d1917; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.masthead { display: flex; align-items: center; gap: 2rem; padding: 1.7rem 4vw; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: .7rem; font: 600 1.15rem Georgia, serif; letter-spacing: .18em; }
.wordmark svg { width: 24px; height: 31px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.room-label, .eyebrow, .track-count { font-size: .65rem; letter-spacing: .17em; font-weight: 600; }
.room-label { color: var(--muted); border-left: 1px solid var(--line); padding-left: 2rem; }
.return-link { margin-left: auto; font-size: .75rem; color: #c2ccbf; }
main { max-width: 1380px; margin: 0 auto; padding: 3.3rem 4vw 2rem; display: grid; grid-template-columns: minmax(300px, .95fr) minmax(360px, 1.05fr); gap: clamp(2rem, 5vw, 5rem); }
.album { min-width: 0; }
.album-art { position: relative; aspect-ratio: 1; overflow: hidden; padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg,#0b242861 0%,#142c2030 33%,#0c2214b3 72%,#0a1b13f5), url("./assets/hearthwake-key-art.png") center / cover; border: 1px solid #bda87444; box-shadow: 0 18px 60px #0005; }
.album-art::after { content: ""; position: absolute; inset: .55rem; border: 1px solid #ddc6884d; pointer-events: none; }
.art-caption, .art-bottom { display: flex; justify-content: space-between; font-size: .55rem; letter-spacing: .16em; text-shadow: 0 1px 5px #000; }
.album-heading { text-align: center; padding-top: 4rem; text-shadow: 0 2px 15px #041510; }
.album-heading p { font-size: .55rem; letter-spacing: .25em; }
h1 { font: 400 clamp(2.9rem, 5.1vw, 4.9rem)/.98 Georgia, serif; letter-spacing: -.05em; margin: 1rem 0 1.2rem; }
h1 em { font-weight: 400; font-size: 1.12em; }
.album-heading > span { font-size: .55rem; letter-spacing: .21em; }
.liner { padding: 1.8rem .15rem 0; }
.eyebrow { color: var(--accent); margin: 0 0 .65rem; }
h2 { font: 400 1.8rem/1.2 Georgia, serif; margin: 0 0 .8rem; letter-spacing: -.025em; }
#track-description { font-size: .9rem; line-height: 1.75; color: #b5c5ba; margin: 0; max-width: 44ch; }
.recording-links { display: flex; flex-wrap: wrap; gap: 1.3rem; margin: 1.4rem 0 .5rem; font-size: .68rem; color: #dec591; }
.recording-links a { padding-bottom: .25rem; border-bottom: 1px solid #dec59140; }
.theme-note { color: #8a9e91; font-size: .7rem; line-height: 1.6; }
.collection-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.15rem; }
.collection-heading h2 { font-size: 1.65rem; margin: 0; }
.track-count { color: #91a497; }
.track-list { max-height: min(67vh, 710px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #a08b5655 transparent; padding-right: .7rem; }
.region-heading { margin: 1.5rem 0 .5rem; display: flex; align-items: center; gap: .7rem; color: #a4b6a8; font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.region-heading:first-child { margin-top: .1rem; }
.region-heading::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.track { width: 100%; text-align: left; display: grid; grid-template-columns: 1.7rem 1fr auto; gap: .5rem; align-items: center; padding: .85rem .75rem; border: 1px solid transparent; background: transparent; border-radius: 3px; transition: background .15s; }
.track:hover { background: #e0dab208; }
.track[aria-current="true"] { background: linear-gradient(90deg, #9b945c26, #9b945c06); border-color: #c7b77833; }
.track-number { color: #789587; font-size: .65rem; font-variant-numeric: tabular-nums; }
.track[aria-current="true"] .track-number { color: var(--accent); }
.track-name { font-size: .88rem; font-weight: 450; display: block; }
.track-kind { font-size: .62rem; color: #7e9b8c; display: block; margin-top: .28rem; }
.track-duration { font-size: .7rem; font-variant-numeric: tabular-nums; color: #94aa9d; }
.future-note { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .72rem; line-height: 1.7; color: #8aa293; max-width: 54ch; }
.player { position: fixed; z-index: 2; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: auto minmax(155px, 1fr) minmax(180px, 1.5fr) 125px; align-items: center; gap: clamp(1rem, 3vw, 3rem); padding: 1.1rem 4vw max(1.1rem, env(safe-area-inset-bottom)); background: #0a1714f5; backdrop-filter: blur(20px); border-top: 1px solid #c0ab6c40; box-shadow: 0 -8px 40px #0003; }
.transport { display: flex; align-items: center; gap: .6rem; }
.transport button, .volume button { border: 0; background: transparent; }
.skip { font: 300 2rem Georgia, serif; width: 28px; height: 44px; color: #adbcab; }
.transport .play { width: 49px; height: 49px; border-radius: 50%; border: 1px solid #d5bd7d88; background: #d5bd7d17; color: #efdaaa; font-size: .9rem; }
.play:hover { background: #d5bd7d2a; }
.playing-info { min-width: 0; display: grid; gap: .25rem; }
.playing-info .eyebrow { font-size: .5rem; margin: 0; }
.playing-info strong { font: 400 1.02rem Georgia, serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.playing-info small { font-size: .58rem; color: #89a090; }
.timeline { position: relative; padding-top: .2rem; }
.waveform { display: flex; gap: 3px; height: 29px; align-items: center; }
.waveform i { display: block; flex: 1; min-width: 1px; border-radius: 1px; background: #64786470; }
.waveform i.heard { background: var(--accent); }
#seek { position: absolute; inset: 0 0 auto; width: 100%; height: 35px; opacity: 0; cursor: pointer; }
.timeline:focus-within { outline: 1px solid var(--accent); outline-offset: 4px; }
.time { display: flex; justify-content: space-between; font-size: .56rem; color: #809587; font-variant-numeric: tabular-nums; margin-top: 5px; }
.volume { display: flex; align-items: center; gap: .6rem; }
.volume button { font-size: 1.2rem; color: #c7ba94; min-width: 30px; height: 40px; }
.volume input { min-width: 0; width: 100%; accent-color: #c5b581; height: 3px; }
@media (min-width: 1450px) { .album-art { max-height: 510px; } }
@media (max-width: 850px) {
  .masthead { gap: 1rem; padding: 1.25rem 5vw; }
  .room-label { display: none; }
  main { gap: 2rem; padding-inline: 5vw; grid-template-columns: minmax(250px, 1fr) minmax(280px, 1fr); }
  .album-art { padding: 1.4rem; }
  .album-heading { padding-top: 1.5rem; }
  .album-heading p { font-size: .45rem; }
  .player { grid-template-columns: auto 1fr 1fr 32px; gap: 1rem; }
  .volume input { display: none; }
}
@media (max-width: 650px) {
  body { padding-bottom: 165px; }
  .wordmark { font-size: .9rem; letter-spacing: .13em; }
  .return-link { font-size: .65rem; }
  main { display: block; padding-top: 1.5rem; }
  .album-art { max-width: 460px; margin: 0 auto; aspect-ratio: 1.08; }
  h1 { font-size: clamp(3rem, 12vw, 4.4rem); }
  .album-heading p { font-size: .52rem; }
  .liner { padding: 1.4rem 0 2rem; }
  .track-list { max-height: none; overflow: visible; padding-right: 0; }
  .track { padding-block: 1rem; }
  .player { grid-template-columns: auto minmax(0, 1fr) 32px; gap: .65rem 1rem; padding: .7rem 5vw max(.65rem, env(safe-area-inset-bottom)); }
  .transport { gap: .2rem; }
  .transport .play { width: 43px; height: 43px; }
  .skip { width: 24px; }
  .timeline { grid-column: 1 / -1; grid-row: 2; }
  .waveform { height: 23px; }
  .volume { display: flex; }
  .volume input { display: none; }
  #seek { height: 28px; }
  .playing-info strong { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
