.new-releases-page {
  display: grid;
  gap: 1.35rem;
}

.new-releases-masthead {
  padding-bottom: 0.4rem;
}

.new-releases-masthead .masthead-copy {
  max-width: 68ch;
}

.release-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.release-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--button-radius);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.release-jump-nav a:hover,
.release-jump-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
  outline: none;
}

.release-artist {
  display: grid;
  grid-template-columns: minmax(245px, 310px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  scroll-margin-top: calc(var(--header-height-compact) + 1rem);
}

.release-artist-card,
.release-list-panel {
  height: 510px;
  min-height: 510px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.release-artist-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--brand-dark), var(--surface-alt));
  color: var(--text-on-dark);
}

.release-artist-visual {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
}

.release-artist-visual::before,
.release-artist-visual::after {
  content: none;
}

.release-artist-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.release-monogram {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(4, 32, 52, 0.72);
  font-family: var(--display-font);
  font-size: 2.4rem;
  font-weight: 900;
}

.release-artist-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.8rem 1.35rem 0.9rem;
}

.release-artist-copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.release-artist-copy h2 {
  margin: 0.55rem 0 0.45rem;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1;
}

.release-artist-copy p {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.6;
}

.release-producer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.release-producer strong {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  text-transform: none;
}

.release-artist-total {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.release-artist-total strong {
  font-size: 2rem;
  line-height: 1;
}

.release-artist-total span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-list-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.96);
}

.release-list-head {
  padding: 1.35rem 1.5rem 1.05rem;
  border-bottom: 1px solid var(--line);
}

.release-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.release-list-title h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.6rem;
}

.release-count {
  flex: none;
  padding: 0.38rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.release-list-head p {
  margin: 0.35rem 0 0.8rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.release-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.release-search svg {
  width: 18px;
  height: 18px;
  color: var(--text-soft);
}

.release-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.release-tracks {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--brand) transparent;
}

.release-track {
  display: grid;
  grid-template-columns: 34px 48px minmax(150px, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 82px;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.release-track:last-child {
  border-bottom: 0;
}

.release-track[hidden] {
  display: none;
}

.release-index {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.release-cover {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.release-cover svg {
  width: 24px;
  height: 24px;
}

.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-track-copy {
  min-width: 0;
}

.release-track-copy h3 {
  margin: 0;
  overflow: hidden;
  color: var(--text-strong);
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-track-copy p {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.release-upcoming {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.18rem 0.45rem;
  border-radius: var(--button-radius);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.67rem;
  font-weight: 800;
}

.release-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.42rem;
}

.release-platform {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--brand-dark);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.release-platform:hover,
.release-platform:focus-visible {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
  outline: none;
}

.release-platform svg {
  width: 21px;
  height: 21px;
}

.release-platform--spotify { color: #168c4b; }
.release-platform--apple { color: #b92e89; }
.release-platform--youtube { color: #e62117; }
.release-platform--amazon { color: #147eb3; }
.release-platform--deezer { color: #8b39d5; }

.release-empty,
.release-loading {
  padding: 2rem;
  color: var(--text-soft);
  text-align: center;
}

.release-empty[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .release-artist {
    grid-template-columns: 1fr;
  }

  .release-artist-card {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .release-artist-visual {
    height: auto;
    min-height: 0;
  }

  .release-list-panel {
    height: 500px;
    min-height: 500px;
  }
}

@media (max-width: 620px) {
  .new-releases-page {
    gap: 1rem;
  }

  .release-artist-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .release-artist-visual {
    min-height: 0;
  }

  .release-artist-copy {
    padding: 1.1rem;
  }

  .release-artist-copy h2 {
    font-size: 1.45rem;
  }

  .release-artist-copy p {
    display: none;
  }

  .release-track {
    grid-template-columns: 38px minmax(95px, 1fr) auto;
    gap: 0.55rem;
    min-height: 74px;
    padding: 0.65rem 0.75rem;
  }

  .release-index {
    display: none;
  }

  .release-cover {
    width: 38px;
    height: 38px;
  }

  .release-track-copy h3 {
    font-size: 0.85rem;
  }

  .release-track-copy p {
    font-size: 0.7rem;
  }

  .release-platforms {
    max-width: 126px;
  }

  .release-platform {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .release-jump-nav a,
  .release-platform {
    transition: none;
  }
}
