:root {
  --paper: #f4f7f1;
  --paper-strong: #ffffff;
  --ink: #151515;
  --muted: #5d625c;
  --line: #d7ded1;
  --teal: #08746c;
  --coral: #c95831;
  --gold: #c9a340;
  --violet: #61506f;
  --shadow: 0 20px 60px rgba(21, 21, 21, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(8, 116, 108, 0.45);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(244, 247, 241, 0.88);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 38px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(21, 21, 21, 0.16);
}

.brand-copy {
  display: grid;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(8, 116, 108, 0.5);
  color: var(--teal);
  outline: none;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
}

.site-nav a:hover {
  color: var(--teal);
}

.page {
  min-height: 100vh;
}

.wrap {
  width: min(var(--max), calc(100vw - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #151515;
}

.home-intro {
  min-height: calc(100vh - 74px);
  align-items: end;
  color: #fff;
  background: #111;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.88), rgba(21, 21, 21, 0.54) 48%, rgba(21, 21, 21, 0.16)),
    linear-gradient(0deg, rgba(21, 21, 21, 0.92), transparent 44%);
  pointer-events: none;
}

.home-intro::after {
  display: block;
  background:
    linear-gradient(90deg, rgba(10, 12, 11, 0.76), rgba(10, 12, 11, 0.22) 58%, rgba(10, 12, 11, 0.48)),
    linear-gradient(0deg, rgba(10, 12, 11, 0.88), transparent 58%);
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  opacity: 0.82;
}

.hero-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #111;
}

.hero-grid img:nth-child(2) {
  filter: saturate(1.1) contrast(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(930px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 80px 0 72px;
}

.home-intro .hero-content {
  width: min(var(--max), calc(100vw - 36px));
  padding: clamp(70px, 12vw, 130px) 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(3.2rem, 10vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.home-intro h1 {
  color: #fff;
}

.hero p {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: rgba(255, 255, 255, 0.88);
}

.home-intro p {
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(21, 21, 21, 0.16);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: var(--teal);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.button.secondary:hover {
  background: #fff;
  color: var(--teal);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  max-width: 720px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.18);
}

.home-intro .metrics {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.18);
}

.metric {
  padding: 18px;
  background: rgba(21, 21, 21, 0.38);
}

.home-intro .metric {
  background: rgba(21, 21, 21, 0.4);
}

.metric strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.home-intro .metric span {
  color: rgba(255, 255, 255, 0.78);
}

.image-sequence {
  display: grid;
}

.image-panel {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 11, 0.68), rgba(10, 12, 11, 0.18) 58%, rgba(10, 12, 11, 0.38)),
    linear-gradient(0deg, rgba(10, 12, 11, 0.82), transparent 52%);
}

.image-panel-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(34px, 7vw, 82px) 0;
  color: #fff;
}

.image-panel-copy h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.image-panel-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
  scroll-margin-top: 92px;
}

.section.tight {
  padding-top: 38px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-head h2,
.page-hero h1,
.song-title h1 {
  color: var(--ink);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.album-grid,
.song-grid,
.feature-grid,
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.album-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

[hidden],
.song-card[hidden],
.song-card.is-hidden {
  display: none !important;
}

.album-card,
.song-card,
.feature-card,
.source-card,
.seed-card,
.track-row,
.engine-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.album-card,
.song-card,
.feature-card,
.source-card,
.seed-card,
.engine-step {
  box-shadow: 0 1px 0 rgba(21, 21, 21, 0.03);
}

.album-card {
  overflow: hidden;
}

.album-card a,
.song-main-link {
  display: grid;
  text-decoration: none;
}

.song-main-link {
  height: 100%;
}

.album-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: #111;
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.album-body,
.song-card,
.feature-card,
.source-card,
.seed-card,
.engine-step {
  padding: 18px;
}

.song-card {
  display: grid;
  gap: 14px;
}

.song-main-link {
  color: inherit;
}

.album-body h3,
.song-card h3,
.feature-card h3,
.source-card h3,
.seed-card h3,
.engine-step h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.album-body p,
.song-card p,
.feature-card p,
.source-card p,
.seed-card p,
.engine-step p {
  margin: 10px 0 0;
  color: var(--muted);
  overflow-wrap: break-word;
}

.meta-line,
.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.tag-line span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8faf6;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill.ready {
  border-color: rgba(8, 116, 108, 0.35);
  color: var(--teal);
}

.status-pill.todo {
  border-color: rgba(201, 88, 49, 0.28);
  color: var(--coral);
}

.status-pill.video {
  border-color: rgba(193, 33, 33, 0.24);
  color: #9b1c1c;
}

.listen-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.listen-links.compact {
  margin-top: 0;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 10px;
}

.listen-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.listen-chip.spotify {
  border-color: rgba(24, 126, 70, 0.24);
  background: #edf8f0;
  color: #176a3a;
}

.listen-chip.apple {
  border-color: rgba(201, 88, 49, 0.22);
  background: #fff4ef;
  color: #8e3f25;
}

.listen-chip.youtube {
  border-color: rgba(193, 33, 33, 0.24);
  background: #fff1f1;
  color: #9b1c1c;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  padding: 72px 0 42px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.48fr);
  gap: 34px;
  align-items: end;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #111;
}

.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
  gap: 28px;
  align-items: start;
}

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.track-list {
  display: grid;
  gap: 10px;
}

.track-row a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  text-decoration: none;
}

.track-number {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.track-title strong {
  display: block;
  line-height: 1.2;
}

.track-title span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.search-box {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.search-box label {
  font-weight: 800;
}

.search-box input,
.search-box select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.search-box select {
  cursor: pointer;
}

.order-form {
  display: grid;
  gap: 12px;
}

.order-form label,
.payment-options legend {
  font-weight: 800;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.order-form textarea {
  min-height: 96px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-options {
  display: grid;
  gap: 8px;
  margin: 4px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.payment-options label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

.payment-options input {
  width: auto;
  min-height: 0;
}

.order-summary,
.order-status {
  margin: 0;
  color: var(--muted);
}

.order-summary {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf6;
}

.screen-reader-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.filter-count {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.song-title {
  padding: 68px 0 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.song-title h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.7rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.song-title p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
}

.lyrics {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  white-space: pre-wrap;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101312;
  color: #f3f7ef;
  font-family: "Fira Code", Consolas, ui-monospace, monospace;
  font-size: 0.94rem;
  line-height: 1.65;
}

.stream-embed {
  margin: 18px 0 26px;
}

.stream-embed iframe {
  display: block;
  border: 0;
  border-radius: var(--radius);
  background: #111;
}

.video-section {
  background: #f8faf6;
  border-bottom: 1px solid var(--line);
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.video-feature.landscape-feature {
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 0.42fr);
}

.vertical-video-frame {
  width: min(100%, 380px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(21, 21, 21, 0.14);
  border-radius: 24px;
  background: #111;
  box-shadow: 0 24px 70px rgba(21, 21, 21, 0.18);
}

.vertical-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
  background: #111;
}

.vertical-video-frame.wide-video-frame {
  width: min(100%, 560px);
  aspect-ratio: 16 / 9;
}

.landscape-feature .vertical-video-frame.wide-video-frame {
  width: min(100%, 720px);
}

.vertical-video-poster {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
}

.vertical-video-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: #e71919;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.play-mark::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.video-feature-copy h2,
.vertical-video-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.video-feature-copy p,
.vertical-video-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.video-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.video-chip {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.video-chip:hover,
.video-chip:focus-visible {
  border-color: rgba(8, 116, 108, 0.32);
  color: var(--teal);
}

.video-chip span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.video-chip strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.video-chip em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.song-video-panel {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 22px 0 32px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.song-video-panel.wide-video-frame {
  grid-template-columns: minmax(280px, 1fr) minmax(0, 0.72fr);
}

.song-video-panel .vertical-video-frame {
  width: min(100%, 260px);
  padding: 8px;
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(21, 21, 21, 0.15);
}

.song-video-panel .vertical-video-frame.wide-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.song-video-panel .vertical-video-frame iframe {
  border-radius: 13px;
}

.engine-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.engine-step {
  min-height: 180px;
}

.engine-step strong {
  color: var(--teal);
}

.footer {
  padding: 34px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: #151515;
  color: rgba(255, 255, 255, 0.8);
}

.footer a {
  color: #fff;
}

.footer-inner {
  width: min(var(--max), calc(100vw - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.quiet {
  color: var(--muted);
}

.notice {
  border-left: 4px solid var(--coral);
  padding: 14px 16px;
  background: #fff;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .footer-inner,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-toggle {
    display: inline-flex;
    box-shadow: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    z-index: 40;
    width: min(280px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(21, 21, 21, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 46px rgba(21, 21, 21, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    visibility: hidden;
    backdrop-filter: blur(18px);
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--muted);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--paper);
    color: var(--teal);
    outline: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid img:nth-child(n+2) {
    display: none;
  }

  .metrics,
  .album-grid,
  .song-grid,
  .feature-grid,
  .source-grid,
  .engine-map,
  .video-feature,
  .video-feature.landscape-feature,
  .video-index,
  .song-video-panel,
  .song-video-panel.wide-video-frame,
  .page-hero .wrap,
  .form-grid,
  .layout-two {
    grid-template-columns: 1fr;
  }

  .video-chip {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .video-chip em {
    grid-column: 2;
  }

  .hero-content {
    padding-top: 90px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

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

  .track-row .status-pill {
    grid-column: 2;
    justify-self: start;
  }
}
