:root {
  --ink: #171716;
  --ink-soft: #252421;
  --paper: #e7dfcf;
  --paper-dim: #bdb4a5;
  --acid: #dd5620;
  --acid-bright: #eb6e30;
  --mist: #6e3828;
  --line: rgba(231, 223, 207, 0.23);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Courier New", Courier, monospace;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-shell { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }

.masthead,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark { font-weight: 700; letter-spacing: 0.12em; }
.masthead p { margin: 0; color: var(--paper-dim); }

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
  padding: clamp(48px, 6vw, 72px) 0;
}

.hero-player { min-width: 0; }

.art-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  overflow: hidden;
  background: #0d0f12;
  outline: 1px solid var(--paper);
}

.art-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.art-caption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 5px 8px;
  background: rgba(23, 26, 30, 0.75);
  color: var(--paper-dim);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.hero-artist {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 11px;
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1 {
  max-width: none;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(42px, 6.7vw, 92px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 { margin-bottom: 0; font-size: clamp(26px, 4vw, 52px); font-weight: 400; letter-spacing: -0.04em; }

.deck {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--paper-dim);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.38;
}

.album-metadata {
  display: grid;
  grid-template-columns: minmax(72px, 0.24fr) minmax(0, 1fr);
  gap: 0;
  max-width: 520px;
  margin: 0 0 26px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
}

.album-metadata div { display: contents; }
.album-metadata dt,
.album-metadata dd { margin: 0; padding: 3px 0; }
.album-metadata dt { color: var(--paper-dim); text-transform: uppercase; }
.album-metadata dt::after { content: " :"; }
.album-metadata dd { color: var(--paper); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 22px; }
.hero-copy { order: -1; }

.text-action,
.expand-button,
#copy-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

.expandable-section,
.artist-section {
  display: grid;
  grid-template-columns: minmax(160px, 0.33fr) minmax(0, 1fr);
  gap: 28px;
  padding: clamp(32px, 5vw, 68px) 0;
  border-top: 1px solid var(--line);
}

.section-heading > p:not(.eyebrow) {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--paper-dim);
  font-size: 14px;
}

.player-shell {
  width: 100%;
  border: 1px solid rgba(231, 223, 207, 0.3);
  background: var(--ink);
}

.player-now-playing,
.player-controls,
.quality-control,
.download-actions {
  display: flex;
  align-items: center;
}

.player-now-playing {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 13px;
  position: relative;
  min-height: 80px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}

.player-cover {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: cover;
  outline: 1px solid var(--paper);
}

.player-now-playing-copy { align-self: center; min-width: 0; }

.player-label,
.player-position {
  margin: 0;
  color: var(--paper-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.player-title { margin: 4px 48px 0 0; font-family: "Courier New", monospace; font-size: clamp(18px, 2.1vw, 26px); font-weight: 700; letter-spacing: -0.04em; }
.player-position { position: absolute; top: 12px; right: 12px; color: var(--acid-bright); }

.player-controls { gap: 8px; padding: 11px 16px 7px; }
.player-icon,
.player-play,
.quality-button,
.player-tracklist button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.player-icon { width: 28px; color: var(--paper-dim); font-size: 20px; }
.player-play {
  min-width: 62px;
  padding: 8px 10px;
  background: var(--acid);
  color: #17110e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.player-icon:hover,
.player-icon:focus-visible { color: var(--acid-bright); }
.player-play:hover,
.player-play:focus-visible { background: var(--acid-bright); }
.player-time { margin: 0 0 0 auto; color: var(--paper-dim); font-size: 13px; font-variant-numeric: tabular-nums; }

.player-progress { display: block; padding: 0 16px 10px; }
.player-progress input { width: 100%; accent-color: var(--acid); cursor: pointer; }

.quality-control {
  flex-wrap: wrap;
  gap: 6px;
}
.quality-control > span { margin-right: 3px; color: var(--paper-dim); font-size: 11px; }
.quality-button {
  padding: 4px 6px;
  border: 1px solid rgba(243, 240, 233, 0.32);
  color: var(--paper-dim);
  font-size: 12px;
}
.quality-button.is-active { border-color: var(--acid); color: var(--acid-bright); }
.quality-control p { width: 100%; margin: 4px 0 0; color: var(--paper-dim); font-size: 12px; }

.player-tracklist { margin: 0; padding: 0; list-style: none; }
.player-tracklist li { border-bottom: 1px solid var(--line); }
.player-tracklist button {
  display: flex;
  gap: 14px;
  width: 100%;
  padding: 8px 16px;
  color: var(--paper);
  font-size: 14px;
  text-align: left;
}
.player-tracklist span { min-width: 22px; color: var(--paper-dim); font-size: 11px; letter-spacing: 0.1em; }
.player-tracklist button:hover,
.player-tracklist button:focus-visible,
.player-tracklist button.is-active { background: transparent; color: var(--acid-bright); }
.player-tracklist button.is-active span { color: var(--acid); }

.stream-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 11px 0 0; }
.download-actions { flex-wrap: wrap; gap: 8px; }
.download-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 4px 0;
  border: 0;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
}
.download-button:hover,
.download-button:focus-visible { color: var(--acid-bright); }
.download-button-wav { color: var(--paper-dim); }

.expandable-content { max-width: 760px; color: var(--paper-dim); font-size: 18px; line-height: 1.55; }
.expandable-content p:last-child { margin-bottom: 0; }
.album-story-layout { display: grid; grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.album-artwork { width: 100%; }
.album-story-copy .expand-button { width: max-content; margin-top: 18px; }

.tracklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracklist li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  min-height: 56px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(17px, 2vw, 22px);
}

.tracklist span { min-width: 22px; color: var(--paper-dim); font-size: 11px; letter-spacing: 0.1em; }

.artist-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 78px); }

.artist-summary {
  margin-bottom: 0;
  font-size: clamp(20px, 2.7vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.artist-detail { color: var(--paper-dim); font-size: 17px; line-height: 1.55; }
.artist-detail .expand-button { margin-top: 18px; }

.footer { min-height: 96px; border-top: 1px solid var(--line); border-bottom: 0; color: var(--paper-dim); }
.footer p { margin: 0; }
.footer a, .footer button { color: var(--paper); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; font-size: 12px; letter-spacing: 0; text-transform: none; }
.footer-contact a:hover, .footer-contact a:focus-visible { color: var(--acid-bright); }

#copy-link { border-bottom-color: var(--acid); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .site-shell { width: min(calc(100% - 28px), var(--max-width)); }
  .masthead { min-height: 64px; }
  .masthead p { font-size: 10px; }
  .hero, .expandable-section, .artist-section { grid-template-columns: 1fr; }
  .hero { gap: 42px; padding: 46px 0 70px; }
  .hero-copy { order: initial; }
  .album-story-layout { grid-template-columns: minmax(0, 460px); }
  .artist-layout { grid-template-columns: 1fr; }
  .footer { display: grid; grid-template-columns: 1fr; align-items: start; }
  .footer { gap: 16px; padding: 24px 0; }
}
