@font-face {
  font-family: 'Playfair Display';
  src: url('assets/playfair-display/PlayfairDisplay.woff') format('woff');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

/* The album narrative follows the samples; this link keeps it easy to find. */
.about-album-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 17px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.about-album-link:hover { color: var(--navy); }
.native-player { display: none; }
.album-info {
  margin: 34px 0 0;
  padding: 0;
  scroll-margin-top: 24px;
}
.album-info h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 27px;
  font-weight: 600;
}
.album-info .description {
  max-width: none;
  margin: 0;
  text-align: left;
}
.album-info .description p { margin: 0 0 16px; }

/* Other albums form a distinct cover gallery. The entire card is one link. */
.releases {
  max-width: 1120px;
  margin: 58px auto 42px;
  padding: 36px;
  border: 0;
  border-radius: 22px;
  background: var(--navy);
  color: #fff;
}
.releases h2 {
  margin: 0 0 30px;
  color: #f4f1f7;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  text-align: left;
}
.releases h2::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: var(--lilac);
}
.releases .release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.releases .release-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  align-items: center;
  width: auto;
  min-width: 0;
  padding: 18px;
  border: 1px solid #ffffff2b;
  border-radius: 15px;
  background: #2b485a;
  color: #fff;
  text-align: left;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.releases .release-card:hover,
.releases .release-card:focus-visible {
  background: #35566a;
  border-color: var(--lilac);
  color: #fff;
}
.releases .release-card img {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 0 14px;
}
.releases .release-card strong {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0 0 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(21px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.releases .release-card > .release-artist {
  display: block;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d8e0e6;
  font-size: 15px;
  line-height: 1.35;
}
.releases .release-card > .release-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 42px;
  margin-left: 8px;
  padding: 7px 15px;
  border: 0;
  border-radius: 24px;
  background: var(--lilac);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.releases .release-card:hover > .release-action,
.releases .release-card:focus-visible > .release-action {
  background: #ded4ee;
  color: var(--navy);
}
@media (max-width: 850px) {
  .releases { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 700px) {
  .releases { padding: 26px 20px; }
  .releases .release-grid { grid-template-columns: 1fr; gap: 14px; }
  .releases .release-card {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0 16px;
    min-height: 144px;
    padding: 16px;
  }
  .releases .release-card img {
    grid-column: 1;
    grid-row: 1 / 4;
    margin: 0;
  }
  .releases .release-card strong,
  .releases .release-card > .release-artist,
  .releases .release-card > .release-action {
    grid-column: 2;
    margin-left: 0;
  }
  .releases .release-card strong { grid-row: 1; margin-bottom: 2px; font-size: 22px; }
  .releases .release-card > .release-artist { grid-row: 2; margin-bottom: 8px; }
  .releases .release-card > .release-action { grid-row: 3; justify-self: start; }
}
@media (max-width: 390px) {
  .releases .release-card { grid-template-columns: 88px minmax(0, 1fr); gap: 0 12px; padding: 12px; }
  .releases .release-card strong { font-size: 19px; }
  .releases .release-card > .release-action { min-height: 40px; padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .releases .release-card { transition: none; }
}
