:root {
  color-scheme: light;
  --ink: #1f2326;
  --muted: #5d656b;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #d8d2c7;
  --forest: #214d45;
  --teal: #3f7d78;
  --gold: #b88931;
  --rose: #8b4b5c;
  --clay: #8d5a3b;
  --shadow: 0 18px 50px rgba(31, 35, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img,
audio {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  padding: 0.65rem 0.9rem;
  position: fixed;
  top: -4rem;
  z-index: 20;
  background: var(--panel);
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(216, 210, 199, 0.75);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 64px;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.site-nav a,
.button-link,
.download-link {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
}

.site-nav a:hover,
.button-link:hover,
.download-link:hover {
  border-color: var(--teal);
  color: var(--forest);
}

.hero {
  min-height: min(680px, 72vh);
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vw, 5rem);
}

.home-hero {
  min-height: min(560px, 66vh);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(19, 31, 35, 0.82), rgba(19, 31, 35, 0.48) 54%, rgba(19, 31, 35, 0.18)),
    url("../assets/images/back-cover.jpg") center 42% / cover;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero.home-hero::before {
  background:
    linear-gradient(90deg, rgba(19, 31, 35, 0.88), rgba(19, 31, 35, 0.58) 54%, rgba(19, 31, 35, 0.24)),
    url("../assets/images/back-cover.jpg") center 42% / cover;
}

.hero::after {
  background: linear-gradient(180deg, rgba(251, 250, 247, 0) 64%, var(--paper));
  content: "";
  inset: auto 0 0;
  height: 34%;
  position: absolute;
  z-index: -1;
}

.hero-content {
  color: #fff;
  max-width: 860px;
}

.kicker {
  color: #f2d7a0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3.1rem, 9vw, 7.2rem);
  margin: 0;
}

.subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 0.75rem 0 1.8rem;
  max-width: 44rem;
}

.hero-actions,
.song-actions,
.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-actions .button-link {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.hero-actions .button-link.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
}

main {
  overflow: hidden;
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.section-inner {
  margin: 0 auto;
  max-width: 1120px;
}

.intro-grid {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
}

.cover-art {
  border: 1px solid rgba(216, 210, 199, 0.9);
  box-shadow: var(--shadow);
  display: block;
  width: 100%;
}

.section-label {
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

.intro-copy h2,
.tracks h2,
.song-panel h2,
.platforms h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin: 0 0 1rem;
}

.intro-copy p,
.platforms p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
  max-width: 45rem;
}

.intro-copy .support-copy {
  font-size: 0.98rem;
  margin-top: 1rem;
}

.intro-copy a {
  color: var(--forest);
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.track-list {
  counter-reset: tracks;
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
}

.track-row {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  min-height: 78px;
  padding: 1rem;
}

.track-row::before {
  align-items: center;
  background: #eef5f3;
  border-radius: 999px;
  color: var(--forest);
  content: counter(tracks, decimal-leading-zero);
  counter-increment: tracks;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.track-name {
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
}

.track-name:hover {
  color: var(--forest);
}

.track-duration {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.stream-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.stream-link {
  align-items: center;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  min-height: 34px;
  padding: 0.45rem 0.72rem;
  text-decoration: none;
}

.stream-link.spotify {
  background: #1f7a45;
}

.stream-link.apple {
  background: #a33a52;
}

.stream-link:hover {
  filter: brightness(0.94);
}

.platforms {
  background: #eef5f3;
  border-top: 1px solid #c8d7d4;
}

.platform-actions {
  margin-top: 1.4rem;
}

.platform-actions .button-link {
  background: var(--panel);
}

.song-page {
  background: #f4f0e8;
}

.song-hero {
  min-height: min(390px, 48vh);
}

.song-layout {
  align-items: start;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
}

.song-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 2.4rem);
}

.song-panel h2 {
  margin: 0 0 1.4rem;
}

.song-panel audio {
  margin-bottom: 1rem;
  width: 100%;
}

.download-link {
  background: #eef5f3;
  color: var(--forest);
}

.back-link {
  color: var(--muted);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  margin-top: 1.4rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--forest);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .intro-grid,
  .song-layout {
    grid-template-columns: 1fr;
  }

  .cover-art {
    max-width: 480px;
  }

  .track-row {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .track-duration,
  .stream-links {
    grid-column: 2;
  }

  .stream-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-nav a {
    font-size: 0.8rem;
    min-height: 36px;
    padding: 0.45rem 0.65rem;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    padding-bottom: 1rem;
  }

  .hero-actions .button-link {
    justify-content: center;
    width: 100%;
  }

  .track-row {
    grid-template-columns: 1fr;
  }

  .track-row::before,
  .track-duration,
  .stream-links {
    grid-column: 1;
  }
}