.song-page {
  background:
    radial-gradient(circle at 86% 8%, rgba(157, 99, 255, .11), transparent 27%),
    radial-gradient(circle at 5% 62%, rgba(255, 95, 84, .07), transparent 24%),
    var(--bg);
}

.song-site-header {
  background: rgba(8, 9, 13, .9);
}

.song-back-link {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: #e8e4de;
  font-size: .78rem;
  font-weight: 780;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.song-back-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .06);
}

.song-main {
  min-height: 100vh;
  padding-top: 82px;
}

.song-hero {
  position: relative;
  display: flex;
  min-height: clamp(430px, 62vh, 680px);
  overflow: hidden;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.song-hero-image,
.song-hero-overlay {
  position: absolute;
  inset: 0;
}

.song-hero-image {
  z-index: -3;
  background: url('/assets/hero-music-studio.webp') center 42% / cover no-repeat;
  filter: saturate(.82) contrast(1.05);
  transform: scale(1.025);
}

.song-hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, .96) 0%, rgba(5, 6, 10, .78) 48%, rgba(5, 6, 10, .24) 100%),
    linear-gradient(0deg, #08090d 0%, transparent 55%);
}

.song-hero::after {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: 6%;
  bottom: -50%;
  border-radius: 50%;
  background: rgba(255, 95, 84, .13);
  filter: blur(100px);
  content: '';
}

.song-hero-content {
  padding-top: 92px;
  padding-bottom: clamp(62px, 8vw, 105px);
}

.song-hero-content h1 {
  max-width: 920px;
  margin: 18px 0 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.1rem, 9.4vw, 8.8rem);
  font-weight: 470;
  line-height: .92;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.song-meta {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 780;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.song-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.song-content-grid {
  display: grid;
  padding-top: clamp(62px, 8vw, 110px);
  padding-bottom: clamp(76px, 10vw, 140px);
  grid-template-columns: minmax(220px, 310px) minmax(0, 720px);
  justify-content: space-between;
  gap: clamp(48px, 8vw, 120px);
}

.song-context {
  position: sticky;
  top: 118px;
  height: fit-content;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 95, 84, .055), transparent 48%),
    rgba(17, 19, 26, .84);
}

.song-context-label {
  display: block;
  margin-bottom: 22px;
  color: var(--coral-soft);
  font-size: .67rem;
  font-weight: 830;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.song-context strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  font-weight: 520;
}

.song-context p {
  margin: 12px 0 25px;
  color: var(--muted);
  font-size: .9rem;
}

.song-context a {
  color: var(--text);
  font-size: .78rem;
  font-weight: 800;
}

.song-reading {
  min-width: 0;
}

.song-full-text {
  color: #e7e2db;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.12rem, 2.05vw, 1.34rem);
  line-height: 1.92;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.song-full-text::first-line {
  color: #fff;
}

.song-rights-note {
  margin-top: 65px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.song-rights-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--coral-soft);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.song-rights-note p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.song-more {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 50%, rgba(157, 99, 255, .12), transparent 24%),
    var(--surface);
}

.song-more .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.song-more p {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.1;
}

.song-footer {
  border-top: 0;
}

.song-not-found {
  display: grid;
  min-height: 100vh;
  padding: 48px;
  place-items: center;
  text-align: center;
}

.song-not-found > div {
  max-width: 670px;
}

.song-not-found .brand-mark {
  margin: 0 auto 28px;
}

.song-not-found .section-kicker {
  justify-content: center;
}

.song-not-found h1 {
  margin: 20px 0 14px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 9vw, 6.8rem);
  font-weight: 480;
  line-height: .95;
  letter-spacing: -.05em;
}

.song-not-found p:not(.section-kicker) {
  margin: 0 0 30px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .song-content-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .song-context {
    position: static;
    order: 2;
  }

  .song-reading {
    order: 1;
  }
}

@media (max-width: 620px) {
  .song-back-link {
    min-height: 40px;
    padding-inline: 13px;
    font-size: .7rem;
  }

  .song-site-header .brand-copy small {
    display: none;
  }

  .song-hero {
    min-height: 500px;
  }

  .song-hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 6, 10, .95), rgba(5, 6, 10, .66)),
      linear-gradient(0deg, #08090d 0%, transparent 58%);
  }

  .song-hero-content {
    padding-bottom: 58px;
  }

  .song-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .song-actions .button {
    width: 100%;
  }

  .song-more .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .song-more .button {
    width: 100%;
  }
}
