.records-main {
  padding-top: clamp(46px, 7vw, 88px);
}

.records-hero {
  display: grid;
  max-width: 1080px;
  margin: 0 auto clamp(58px, 9vw, 112px);
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.records-mark {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(7, 31, 55, 0.2));
}

.records-hero h1,
.artist-heading h1 {
  margin: 12px 0 20px;
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
  line-height: 0.93;
  text-align: left;
}

.records-hero > div > p:last-child,
.artist-heading > p:last-child {
  max-width: 710px;
  margin: 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.55;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 54px) clamp(22px, 3vw, 38px);
}

.artist-card {
  overflow: hidden;
  border: 1px solid rgba(7, 31, 55, 0.14);
  border-radius: 24px;
  background: rgba(255, 251, 241, 0.76);
  box-shadow: 0 20px 46px rgba(7, 31, 55, 0.1);
}

.album-cover {
  display: block;
  overflow: hidden;
  margin: 14px 14px 0;
  border: 1px solid rgba(7, 31, 55, 0.16);
  border-radius: 14px;
  background: #21160f;
  box-shadow: 0 12px 28px rgba(25, 17, 10, 0.2);
}

.album-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 280ms ease;
}

.album-cover:hover img {
  transform: scale(1.018);
}

.artist-card-copy {
  padding: 22px 24px 28px;
}

.record-number,
.playlist-heading p {
  margin: 0;
  color: #8a5e20;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.artist-card h2 {
  margin: 7px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.02;
}

.artist-card h2 a {
  text-decoration: none;
}

.artist-card-copy > p:not(.record-number) {
  min-height: 5.2em;
  margin: 0 0 20px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.record-button {
  color: #79511c;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.24em;
}

.artist-page {
  padding-top: clamp(36px, 5vw, 64px);
}

.artist-heading {
  max-width: 960px;
  margin: clamp(52px, 7vw, 86px) auto clamp(52px, 7vw, 86px);
}

.artist-heading h1 {
  font-size: clamp(4rem, 9vw, 8rem);
}

.artist-playlist {
  display: grid;
  max-width: 1120px;
  margin-inline: auto;
  grid-template-columns: minmax(270px, 360px) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.artist-cover {
  margin: 0;
}

.artist-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(7, 31, 55, 0.16);
  border-radius: 18px;
  box-shadow: 12px 18px 34px rgba(7, 31, 55, 0.18);
}

.artist-sidebar h2 {
  margin: 28px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.04;
}

.artist-bio {
  margin: 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.62;
}

.player-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(138, 94, 32, 0.35);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(239, 219, 176, 0.88));
  box-shadow: 0 18px 44px rgba(7, 31, 55, 0.11);
}

.now-label {
  display: block;
  margin-bottom: 8px;
  color: #8a5e20;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.now-title {
  display: block;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-style: italic;
  line-height: 1.08;
}

.player-panel audio {
  display: block;
  width: 100%;
}

.playlist-heading {
  display: flex;
  margin: 34px 0 16px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.playlist-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 500;
}

.playlist-heading p {
  padding-bottom: 6px;
}

.track-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.track-button {
  display: grid;
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
  border: 1px solid rgba(7, 31, 55, 0.14);
  border-radius: 11px;
  grid-template-columns: 32px minmax(0, 1fr) 42px 46px;
  gap: 10px;
  align-items: center;
  background: rgba(255, 251, 242, 0.78);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.track-button:hover,
.track-button[aria-current='true'] {
  border-color: rgba(154, 105, 31, 0.75);
  background: #f2dfb9;
}

.track-button:hover {
  transform: translateX(3px);
}

.track-number,
.track-duration,
.track-action {
  color: #755f43;
  font-size: 0.75rem;
}

.track-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
}

.track-action {
  color: #8a5e20;
  font-weight: 800;
  text-align: right;
}

.record-button:focus-visible,
.album-cover:focus-visible,
.artist-card h2 a:focus-visible,
.track-button:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .records-hero,
  .artist-playlist {
    grid-template-columns: 1fr;
  }

  .records-mark {
    width: min(54vw, 260px);
    margin-inline: auto;
  }

  .records-hero h1,
  .records-hero > div > p,
  .records-hero .eyebrow {
    text-align: center;
  }

  .artist-playlist {
    gap: 44px;
  }

  .artist-sidebar {
    max-width: 520px;
    margin-inline: auto;
  }

  .artist-cover {
    width: min(100%, 390px);
    margin-inline: auto;
  }
}

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

  .artist-card {
    max-width: 440px;
    margin-inline: auto;
  }

  .artist-card-copy > p:not(.record-number) {
    min-height: 0;
  }

  .track-button {
    grid-template-columns: 28px minmax(0, 1fr) 38px;
  }

  .track-action {
    display: none;
  }
}
