:root {
  --bg: #0b0d0e;
  --panel: #15191b;
  --panel-2: #1d2326;
  --text: #f7f7f2;
  --muted: #aeb4b6;
  --line: #343b3e;
  --accent: #30d5a4;
  --coral: #ff6f61;
  --sun: #f2c14e;
  --focus: #8cebd0;
  color-scheme: dark;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); }
body > header.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 68px;
  padding: 12px clamp(16px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  background: rgba(11, 13, 14, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--text);
  font-size: 23px;
  font-weight: 900;
  text-decoration: none;
}

.site-header nav,
.account-actions,
.section-heading,
footer {
  display: flex;
  align-items: center;
}

.site-header nav { gap: 22px; }
.site-header nav a,
.studio-link,
footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-header nav a:hover,
.studio-link:hover,
footer a:hover { color: var(--text); }
.account-actions { gap: 9px; }

button,
.button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--panel-2);
  color: var(--text);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

button.primary,
.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #06110d;
}
button:disabled { opacity: .46; cursor: not-allowed; }

.discovery-shell {
  display: block;
  padding: 0 0 112px;
}

.discovery-shell > section {
  border: 0;
  border-radius: 0;
}

.discovery-hero {
  position: relative;
  min-height: min(680px, calc(100vh - 68px));
  padding: clamp(40px, 9vw, 130px) clamp(20px, 7vw, 100px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #172024;
}

.discovery-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 8, .58);
}

.discovery-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  display: grid;
  gap: 18px;
}

.discovery-copy h1 {
  font-size: clamp(54px, 9vw, 112px);
  line-height: .92;
  font-weight: 950;
}

.discovery-copy > p:not(.eyebrow) {
  max-width: 650px;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
  color: #f5f6f2;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.featured-credit {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 24px;
  z-index: 1;
  color: #f5f6f2;
  font-size: 13px;
  font-weight: 750;
}

.search-band {
  padding: 20px clamp(16px, 4vw, 56px);
  background: #111516;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
}

.search-band .toolbar {
  grid-template-columns: minmax(230px, 2fr) repeat(3, minmax(130px, .75fr)) auto auto;
  align-items: end;
}

.search-band .status { margin-top: 7px; }
.search-band label { font-weight: 750; }

.content-band {
  padding: 56px clamp(16px, 4vw, 56px);
  background: transparent !important;
}

.content-band + .content-band { border-top: 1px solid var(--line) !important; }
.artist-band { background: #101314 !important; }
.live-band { background: #171416 !important; }
.catalog-band { background: #0d1011 !important; }
.store-band { background: #141719 !important; }
.library-band { background: #101516 !important; }

.section-heading {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.section-heading > div { display: grid; gap: 7px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}
.section-heading > p,
.section-heading > small { max-width: 430px; color: var(--muted); }

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.artist-choice {
  position: relative;
  min-height: 285px;
  padding: 0;
  display: block;
  overflow: hidden;
  text-align: left;
  background: #181c1e;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.artist-choice img,
.artist-choice .artist-fallback {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  display: block;
}
.artist-choice > span:last-child {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 14px 14px;
  background: rgba(6, 8, 9, .82);
}
.artist-choice strong { font-size: 17px; }
.artist-choice small {
  display: block;
  max-height: 42px;
  margin-top: 4px;
  overflow: hidden;
  color: #d1d5d5;
}
.artist-choice:hover,
.artist-choice[aria-current="true"] { border-color: var(--accent); }

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.live-choice {
  min-height: 126px;
  align-content: center;
  padding: 18px;
  border-color: #5e3a3d;
  background: #22191b;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(380px, 1.22fr);
  gap: 24px;
  align-items: start;
}
.track-grid { display: grid; gap: 8px; }
.track {
  grid-template-columns: 74px minmax(0, 1fr) auto;
  min-height: 76px;
  border-color: transparent;
  background: #15191b;
}
.track:hover,
.track[aria-current="true"] { border-color: var(--accent); background: #1a2021; }

.player {
  top: 92px;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: #15191b !important;
  padding: 16px !important;
}
.player > h2 { font-size: 14px; color: var(--muted); text-transform: uppercase; }
.player audio,
.player video,
.visualizer { border-radius: 4px; }

.artist-hero {
  min-height: 460px;
  padding: clamp(28px, 6vw, 84px);
  grid-template-columns: minmax(220px, 340px) minmax(0, 720px);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  background: #131719 !important;
}
.artist-hero .hero-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 6px;
}
.artist-hero .hero-copy h2 { font-size: clamp(40px, 7vw, 82px); line-height: .98; }
.artist-hero .hero-copy p { font-size: 17px; max-width: 650px; }

.store-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.product { border-radius: 6px; background: #1a1f21; }
.product-copy { padding: 14px; }
.product-format {
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid var(--coral);
  border-radius: 4px;
  color: #ffc0ba;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.cart {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0f1213;
}

.purchase-list { display: grid; gap: 12px; }
.purchase {
  padding: 16px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #171c1e;
}
.purchase-lines { display: grid; gap: 7px; }
.purchase-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}

footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(16px, 4vw, 56px) 120px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

dialog { border-radius: 6px; }

@media (max-width: 980px) {
  body > header.site-header { grid-template-columns: auto 1fr; }
  .site-header nav { display: none; }
  .account-actions { justify-content: flex-end; }
  .search-band .toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-field { grid-column: 1 / -1; }
  .catalog-layout { grid-template-columns: 1fr; }
  .player { position: static; }
}

@media (max-width: 640px) {
  body > header.site-header {
    min-height: 60px;
    padding: 9px 12px;
    gap: 10px;
  }
  .brand { font-size: 20px; }
  .account-actions { gap: 6px; }
  .studio-link { display: none; }
  .account-actions button { min-height: 38px; padding: 8px 10px; font-size: 13px; }
  .discovery-hero {
    min-height: 560px;
    padding: 42px 18px 70px;
    align-items: flex-end;
  }
  .discovery-copy h1 { font-size: 58px; }
  .featured-credit { left: 18px; right: auto; bottom: 20px; }
  .search-band .toolbar { grid-template-columns: 1fr 1fr; }
  .search-field,
  .search-band label:nth-child(2) { grid-column: 1 / -1; }
  .content-band { padding: 40px 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .artist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .artist-choice,
  .artist-choice img,
  .artist-choice .artist-fallback { min-height: 220px; }
  .artist-hero { grid-template-columns: 1fr; min-height: auto; padding: 22px 14px 34px; }
  .artist-hero .hero-art { max-height: none; }
  .track { grid-template-columns: 62px minmax(0, 1fr); }
  .track img,
  .track .track-fallback { width: 62px; height: 62px; }
  .track-action { display: none; }
  footer { align-items: flex-start; flex-direction: column; }
}
