:root {
  --ink: #111111;
  --paper: #efefef;
  --paper-deep: #e7e0d3;
  --muted: #676158;
  --line: #1b1b1b;
  --acid: #d7ff42;
  --signal: #e85234;
  --blue: #2957ff;
  --radius: 6px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

body {
  min-height: 100%;
  margin: 0;
}

body.has-seek-bar {
  padding-bottom: 48px;
}

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

a:hover,
button:hover {
  color: var(--blue);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  color: var(--muted);
}

img {
  display: block;
  width: 100%;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(239, 239, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-height: 68px;
  padding: 14px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
  text-transform: lowercase;
}

.nav-group:last-child {
  justify-content: flex-end;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-button span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
}

.main {
  flex: 1;
}

.page-head,
.section-band,
.release-layout,
.player-shell,
.mailing-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 56px 22px;
}

.page-head {
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--line);
}

.page-head p:first-child,
.release-copy > p:first-child,
.now-playing p,
.section-title p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: lowercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 12vw, 9.2rem);
  font-weight: 400;
  line-height: 0.84;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 0.95;
}

.page-head > p:last-child {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.45;
}

.home-marquee {
  border-bottom: 1px solid var(--line);
  background: var(--acid);
  overflow: hidden;
}

.home-marquee div {
  width: max-content;
  padding: 9px 0;
  display: flex;
  gap: 24px;
  animation: crawl 26s linear infinite;
  text-transform: lowercase;
  white-space: nowrap;
}

.home-marquee span {
  display: inline-block;
}

@keyframes crawl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-band + .section-band {
  border-top: 1px solid var(--line);
}

.section-title {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.section-title a {
  margin-bottom: 12px;
  font-size: 0.85rem;
  text-transform: lowercase;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 164px));
  gap: 16px;
  align-items: start;
}

.catalog-card,
.artist-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.catalog-card img,
.artist-card img {
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.catalog-copy {
  min-height: 118px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-copy p,
.catalog-copy h2 {
  margin: 0;
}

.catalog-copy > p:first-child,
.muted {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.catalog-copy h2,
.artist-card h2 {
  font-size: 1.08rem;
  line-height: 1;
}

.buy-line {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}

.text-button,
.primary-button {
  border-bottom: 1px solid currentColor;
  text-transform: lowercase;
}

.primary-button {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.primary-button:hover {
  background: var(--blue);
  color: white;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  align-items: end;
  gap: 28px;
}

.split h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.feature-image {
  max-width: 240px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.artist-card a {
  display: block;
}

.artist-card h2,
.artist-card p {
  margin: 0;
  padding: 0 10px;
}

.artist-card h2 {
  padding-top: 10px;
}

.artist-card p {
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 540px);
  align-items: start;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.cover-panel {
  position: sticky;
  top: 96px;
}

.cover-panel img {
  max-width: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.release-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.release-copy > p:not(:first-child) {
  max-width: 680px;
  line-height: 1.45;
}

.format-list {
  margin-top: 32px;
  display: grid;
  gap: 10px;
}

.format-option {
  min-height: 74px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.format-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--signal);
}

.format-option small {
  grid-column: 2 / 4;
  color: var(--muted);
}

.format-option.unavailable {
  color: var(--muted);
  background: var(--paper-deep);
  cursor: not-allowed;
}

.player-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}

.now-playing h2,
.now-playing span {
  margin: 0;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.play-button {
  min-width: 48px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
}

.play-button {
  min-width: 90px;
  background: var(--acid);
}

.track-list {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.track-list button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.track-list small {
  display: inline-block;
  min-width: 34px;
  color: var(--muted);
}

.track-list button.is-active {
  color: var(--signal);
}

.audio-note {
  grid-column: 1 / -1;
}

.seek-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  min-height: 42px;
  padding: 8px 18px;
  display: grid;
  grid-template-columns: minmax(90px, 180px) auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: rgba(239, 239, 239, 0.96);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
}

.seek-bar span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seek-bar input {
  width: 100%;
  accent-color: var(--signal);
}

.seek-bar input:disabled {
  opacity: 0.35;
}

.mailing-shell {
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: end;
}

.mailing-form {
  display: grid;
  gap: 12px;
}

.mailing-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  width: min(420px, 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 1px solid var(--line);
  background: var(--paper);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-head,
.cart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cart-items {
  display: grid;
  gap: 14px;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-item p {
  margin: 4px 0 0;
}

.checkout-note {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
  }

  .nav-group,
  .nav-group:last-child {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-head,
  .section-band,
  .release-layout,
  .player-shell,
  .mailing-shell {
    padding: 40px 16px;
  }

  .page-head {
    min-height: 34vh;
  }

  .split,
  .release-layout,
  .player-shell,
  .mailing-shell {
    grid-template-columns: 1fr;
  }

  .feature-image {
    justify-self: start;
  }

  .cover-panel {
    position: static;
  }

  .player-controls {
    justify-content: stretch;
  }

  .player-controls button {
    flex: 1;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .seek-bar {
    grid-template-columns: minmax(80px, 1fr) auto auto;
    gap: 8px;
  }

  .seek-bar input {
    grid-column: 1 / -1;
  }
}
