/* ═══════════════════════════════════════════════════════════════════════
   M-U-S-I-C — the two nav landing pages (/programs/ and /learn/).
   Patterns: programs-landing, learn-landing. Shared vocabulary lives in
   main.css; only what these two pages need belongs here.
   ═══════════════════════════════════════════════════════════════════════ */

/* .music-container carries no horizontal padding of its own — the house gutter
   has to be added by the section, every time. */
.lp-hero,
.lp-rungs,
.lp-cards,
.lp-watch,
.lp-next {
  padding-inline: clamp(16px, 4vw, 32px);
}

.lp-hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* Split hero. The copy alone left half the screen empty above the fold, which
   read as an unfinished page rather than a spacious one. */
.lp-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px);
}

.lp-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}

.lp-hero__figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(17, 24, 39, 0.16);
}

.lp-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (max-width: 880px) {
  .lp-hero--split { grid-template-columns: minmax(0, 1fr); }
  .lp-hero__figure { order: -1; }
}

/* ── What every program shares ────────────────────────────────────────── */

.lp-shared {
  padding-inline: clamp(16px, 4vw, 32px);
  padding-bottom: clamp(8px, 2vw, 16px);
}

.lp-shared__label {
  margin: 0 0 12px;
  color: #8b939e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lp-shared__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px clamp(20px, 3vw, 40px);
  border-top: 1px solid #e8ecf2;
  border-bottom: 1px solid #e8ecf2;
  padding-block: clamp(16px, 2.2vw, 22px);
}

.lp-shared__list li {
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.5;
}

.lp-shared__list strong {
  display: block;
  margin-bottom: 3px;
  color: #111827;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* ── Grouped card sections ────────────────────────────────────────────── */

.lp-group + .lp-group { margin-top: clamp(30px, 4vw, 46px); }

.lp-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 14px;
}

.lp-group__title {
  margin: 0;
  color: #111827;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-group__note {
  margin: 0;
  color: #8b939e;
  font-size: 14px;
}

.lp-hero__title {
  max-width: 16ch;
  text-wrap: balance;
}

.lp-hero__lead {
  max-width: 62ch;
}

/* ── The ladder ───────────────────────────────────────────────────────────
   A numbered list because it genuinely is a sequence: each rung contains the
   one below it. The numbers are the content, not decoration.              */
.lp-ladder {
  list-style: none;
  counter-reset: rung;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.lp-rung {
  counter-increment: rung;
}

.lp-rung__link {
  position: relative;
  display: grid;
  gap: 6px;
  padding: clamp(20px, 2.6vw, 28px) clamp(20px, 2.6vw, 30px) clamp(20px, 2.6vw, 28px)
    clamp(56px, 6vw, 74px);
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  background: #fffdf9;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.lp-rung__link::before {
  content: counter(rung);
  position: absolute;
  top: clamp(20px, 2.6vw, 28px);
  left: clamp(20px, 2.4vw, 28px);
  width: 26px;
  color: #8b939e;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.lp-rung__link:hover,
.lp-rung__link:focus-visible {
  border-color: #cdd4df;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.lp-rung__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.lp-rung__name {
  color: #111827;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-rung__price {
  color: #6d4bb5;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lp-rung__meta {
  color: #8b939e;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.lp-rung__row {
  display: grid;
  grid-template-columns: minmax(0, 108px) minmax(0, 1fr);
  gap: 4px 14px;
  margin-top: 6px;
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.5;
}

.lp-rung__label {
  color: #8b939e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding-top: 3px;
}

/* The summit gets the ink treatment the pricing page and the header use. */
.lp-rung--summit .lp-rung__link {
  background:
    radial-gradient(circle at 96% 4%, rgba(215, 55, 79, 0.22) 0 16%, transparent 36%),
    linear-gradient(135deg, rgba(36, 71, 198, 0.12), transparent 42%),
    #111827;
  border-color: rgba(17, 24, 39, 0.18);
}

.lp-rung--summit .lp-rung__link::before { color: #b9a2f0; }
.lp-rung--summit .lp-rung__name { color: #ffffff; }
.lp-rung--summit .lp-rung__price { color: #b9a2f0; }
.lp-rung--summit .lp-rung__meta { color: #b9a2f0; }
.lp-rung--summit .lp-rung__row { color: rgba(255, 255, 255, 0.84); }
.lp-rung--summit .lp-rung__label { color: #8b97aa; }

/* ── Learn cards ──────────────────────────────────────────────────────── */

.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.lp-card {
  display: grid;
  gap: 5px;
  align-content: start;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  background: #fffdf9;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.lp-card:hover,
.lp-card:focus-visible {
  border-color: #cdd4df;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.lp-card__name {
  color: #111827;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.lp-card__blurb {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

/* ── Watch ────────────────────────────────────────────────────────────── */

.lp-watch__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.lp-watch__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  background: #fffdf9;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.lp-watch__item:hover,
.lp-watch__item:focus-visible {
  border-color: #cdd4df;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.lp-watch__play {
  flex: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d7374f;
}

.lp-watch__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  translate: -50% -50%;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #ffffff;
}

.lp-watch__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.lp-watch__kind {
  color: #6d4bb5;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lp-watch__title {
  color: #111827;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.lp-watch__who {
  color: #4b5563;
  font-size: 13.5px;
  line-height: 1.45;
}

/* ── Closing block ────────────────────────────────────────────────────── */

.lp-next {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .lp-rung__link,
  .lp-card,
  .lp-watch__item { transition: none; }

  .lp-rung__link:hover,
  .lp-card:hover,
  .lp-watch__item:hover { transform: none; }
}
