/* Course program page — editorial roadmap in the Birma Sound visual language. */
.program-page {
  background: #080a0d;
  color: #fffdf4;
  font-family: 'Montserrat', Arial, sans-serif;
}

.program-page main { overflow: hidden; }
.program-page .hero-header { width: min(calc(100% - 3rem), 1240px); }
.program-page .hero-nav { margin-left: 2rem; }
.program-page .site-footer { margin-top: 0; }

.program-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  padding: 4.75rem 2rem 2.5rem;
  background:
    radial-gradient(circle at 76% 28%, rgba(251, 24, 37, .16), transparent 23rem),
    linear-gradient(115deg, #080a0d 0%, #0d1015 56%, #180d12 100%);
}

.program-hero::before {
  position: absolute;
  top: 0;
  right: 16%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(251, 24, 37, .45), transparent);
  content: '';
  transform: rotate(18deg);
  transform-origin: top;
}

.program-orb { position: absolute; border: 1px solid rgba(251, 24, 37, .4); border-radius: 50%; pointer-events: none; }
.program-orb--one { right: -12rem; bottom: -19rem; width: 40rem; height: 40rem; }
.program-orb--two { top: 8rem; right: 20%; width: 7rem; height: 7rem; opacity: .35; }
.program-hero__expert { pointer-events: none; }
.program-hero__side { position: relative; z-index: 1; align-self: start; display: grid; gap: 1.25rem; min-width: 0; }
.program-hero__expert--desktop { display: block; width: 100%; height: 540px; object-fit: contain; object-position: center bottom; opacity: .98; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
.program-hero__expert--mobile { display: none; }

.program-hero__inner,
.program-level__inner,
.program-final__inner,
.program-map__inner {
  width: min(calc(100% - 2rem), 1120px);
  margin-inline: auto;
}

.program-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 5rem; align-items: start; min-height: 500px; }
.program-hero__copy { padding-bottom: 3.6rem; }
.program-eyebrow,
.program-section-label { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.7rem; color: #b9bbc1; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.program-eyebrow i { display: block; width: 64px; height: 1px; background: #fb1825; }
.program-eyebrow span:last-child { color: #fb1825; }
.program-hero h1 { max-width: 800px; margin: 0; font-family: 'Unbounded', 'Arial Black', sans-serif; font-size: clamp(3rem, 5.3vw, 5.8rem); font-weight: 800; letter-spacing: -.065em; line-height: .98; text-transform: uppercase; }
.program-hero h1 em,
.program-level h2 em,
.program-final h2 em { color: #fb1825; font-style: normal; }
.program-hero__lead { max-width: 620px; margin: 2.3rem 0 0; color: #e3e1dc; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.45; }
.program-hero__note { max-width: 560px; margin: 1.4rem 0 0; padding-left: 1rem; border-left: 2px solid #fb1825; color: #a9abb1; font-size: .92rem; line-height: 1.55; }
.program-hero__cta { display: inline-flex; align-items: center; justify-content: flex-start; gap: 0; width: min(360px, 100%); min-height: 68px; margin-top: 2.25rem; padding: 7px; border-radius: 40px; background: linear-gradient(95deg, #ff4747, #fb1825); color: #fff; font-size: 1rem; font-weight: 700; transition: transform .35s var(--ease-out), box-shadow .35s ease; }
.program-hero__cta > span:first-child { min-width: 0; flex: 1 1 auto; text-align: center; }
.program-hero__cta .program-arrow { flex: 0 0 auto; margin-left: auto; }
.program-hero__cta:hover,
.program-hero__cta:focus-visible { box-shadow: 0 16px 36px rgba(251, 24, 37, .28); outline: none; transform: translateY(-4px); }
.program-arrow { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #101114; }
.program-arrow img { width: 26px; transition: transform .35s var(--ease-out); }
.program-hero__cta:hover .program-arrow img,
.program-hero__cta:focus-visible .program-arrow img { transform: rotate(-45deg); }

.program-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .22); border-bottom: 1px solid rgba(255, 255, 255, .22); }
.program-hero__stats { position: relative; z-index: 1; }
.program-hero__stats div { min-height: 132px; padding: 1.4rem 1rem; border-right: 1px solid rgba(255, 255, 255, .15); }
.program-hero__stats div:last-child { border-right: 0; }
.program-hero__stats strong { display: block; color: #fb1825; font-family: 'Unbounded', 'Arial Black', sans-serif; font-size: clamp(2.3rem, 4vw, 4.2rem); letter-spacing: -.08em; line-height: 1; }
.program-hero__stats span { display: block; margin-top: .8rem; color: #b9bbc1; font-size: .72rem; line-height: 1.35; text-transform: uppercase; }
.program-hero__bottom { position: absolute; right: 2rem; bottom: .65rem; left: 2rem; display: flex; justify-content: space-between; color: #70747c; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.program-hero__bottom span:last-child { color: #fb1825; font-size: 1.3rem; line-height: .5; }

.program-map { position: sticky; z-index: 8; top: 0; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); background: rgba(8, 10, 13, .9); backdrop-filter: blur(18px); }
.program-map__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.program-map a { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr 1fr; column-gap: 1rem; align-items: center; min-height: 76px; padding: .7rem 1.25rem; border-right: 1px solid rgba(255, 255, 255, .12); color: #8c9098; transition: color .25s ease, background-color .25s ease; }
.program-map a:last-child { border-right: 0; }
.program-map a::after { position: absolute; right: 1.25rem; bottom: 0; left: 1.25rem; height: 2px; background: #fb1825; content: ''; transform: scaleX(0); transition: transform .35s var(--ease-out); }
.program-map a:hover,
.program-map a:focus-visible,
.program-map a.is-active { background: rgba(251, 24, 37, .07); color: #fffdf4; outline: none; }
.program-map a.is-active::after,
.program-map a:hover::after,
.program-map a:focus-visible::after { transform: scaleX(1); }
.program-map a span { grid-row: 1 / 3; color: #fb1825; font-family: 'Unbounded', 'Arial Black', sans-serif; font-size: 1rem; }
.program-map strong { font-size: .9rem; font-weight: 600; }
.program-map small { color: #777b84; font-size: .7rem; }

.program-level { position: relative; padding: 7.5rem 1rem 8rem; }
.program-level--one { background: #fffdf4; color: #17191d; }
.program-level--two { background: #eef0f2; color: #17191d; }
.program-level--bonus { background: #080a0d; color: #fffdf4; }
.program-level__header { display: grid; grid-template-columns: clamp(70px, 8vw, 100px) minmax(0, 1.4fr) minmax(280px, .8fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; padding-bottom: 4.5rem; border-bottom: 1px solid rgba(23, 25, 29, .17); }
.program-level--bonus .program-level__header { border-color: rgba(255, 255, 255, .16); }
.program-level__number { color: #fb1825; font-family: 'Unbounded', 'Arial Black', sans-serif; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.08em; line-height: 1; }
.program-section-label { margin: 0 0 1.4rem; color: #fb1825; }
.program-section-label span { color: inherit; font-weight: 400; letter-spacing: .04em; }
.program-level__header > div:nth-child(2) { min-width: 0; }
.program-level h2 { max-width: 100%; margin: 0; font-family: 'Unbounded', 'Arial Black', sans-serif; font-size: clamp(2.1rem, 4vw, 4.25rem); font-weight: 800; letter-spacing: -.055em; line-height: .99; text-wrap: balance; text-transform: uppercase; }
.program-level__intro { align-self: start; max-width: 360px; margin: 2.25rem 0 0; color: #60636b; font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
.program-level--bonus .program-level__intro { color: #b9bbc1; }

/* Long titles keep the same visual weight without awkward orphaned words. */
.program-level--two h2 { font-size: clamp(2rem, 3.2vw, 3.4rem); letter-spacing: -.06em; }
.program-level--bonus h2 { font-size: clamp(2rem, 3.45vw, 3.75rem); letter-spacing: -.06em; }

.program-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 3.5rem; border: 1px solid rgba(23, 25, 29, .16); background: rgba(23, 25, 29, .16); }
.program-modules--dense { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.program-module { position: relative; min-height: 260px; padding: 2rem 1.75rem 1.8rem; background: #fffdf4; }
.program-module--wide { grid-column: span 2; }
.program-module__index { display: block; margin-bottom: 2.2rem; color: #fb1825; font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.program-module h3 { max-width: 255px; margin: 0 0 1.25rem; font-size: 1.08rem; font-weight: 700; line-height: 1.2; }
.program-module ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; color: #6c6e75; font-size: .78rem; line-height: 1.45; }
.program-module li { position: relative; padding-left: 1rem; }
.program-module li::before { position: absolute; top: .55em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: #fb1825; content: ''; }
.program-level--two .program-modules { border-color: rgba(23, 25, 29, .15); }
.program-level--two .program-module { background: #eef0f2; }

.program-songs { margin-top: 2.25rem; padding: 1.6rem 1.75rem; border: 1px solid rgba(23, 25, 29, .2); background: rgba(251, 24, 37, .055); }
.program-songs--light { border-color: rgba(23, 25, 29, .14); background: #fffdf4; }
.program-songs__head { display: flex; align-items: center; gap: 1rem; }
.program-songs__icon { display: grid; width: 43px; height: 43px; flex: 0 0 43px; aspect-ratio: 1 / 1; place-items: center; border-radius: 50%; background: #fb1825; color: #fff; font-size: 1.5rem; }
.program-songs__head p { margin: 0 0 .25rem; color: #fb1825; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.program-songs__head strong { font-size: .95rem; }
.program-songs > p { margin: 1.3rem 0 0; color: #696c73; font-size: .82rem; line-height: 1.65; }

.program-result { display: flex; gap: 1.2rem; align-items: flex-start; margin-top: 3.5rem; padding: 2rem 2.2rem; border-radius: 20px; background: #fb1825; color: #fff; }
.program-result__mark { display: grid; width: 32px; height: 32px; flex: 0 0 32px; aspect-ratio: 1 / 1; place-items: center; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; font-size: 1.1rem; }
.program-result p { margin: 0 0 .65rem; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.program-result h3 { max-width: 850px; margin: 0; font-size: clamp(1rem, 1.6vw, 1.3rem); line-height: 1.4; }
.program-result--dark { background: #171a1f; color: #fffdf4; }
.program-result--dark .program-result__mark { color: #fb1825; border-color: #fb1825; }

.bonus-intro { display: flex; justify-content: space-between; gap: 3rem; margin: 3.5rem 0 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, .17); }
.bonus-intro > span { color: #fb1825; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.bonus-intro p { max-width: 530px; margin: 0; color: #b9bbc1; font-size: .95rem; line-height: 1.55; }
.bonus-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255, 255, 255, .15); border-left: 1px solid rgba(255, 255, 255, .15); }
.bonus-item { min-height: 190px; padding: 1.3rem; border-right: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(255, 255, 255, .15); transition: background-color .3s ease, transform .3s var(--ease-out); }
.bonus-item:hover { background: rgba(251, 24, 37, .08); transform: translateY(-4px); }
.bonus-item > span { color: #fb1825; font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.bonus-item h3 { margin: 2.3rem 0 .65rem; font-size: .95rem; line-height: 1.2; }
.bonus-item p { margin: 0; color: #a5a8b0; font-size: .75rem; line-height: 1.45; }
.bonus-footer { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2.5rem; align-items: center; margin-top: 3rem; }
.bonus-footer > div:first-child { display: grid; gap: .55rem; color: #fffdf4; font-size: .9rem; line-height: 1.45; }
.bonus-footer > div:first-child span { color: #a5a8b0; font-size: .8rem; }
.program-result--red { margin-top: 0; }

.program-final { position: relative; overflow: hidden; padding: 8rem 1rem; background: #111318; }
.program-final::after { position: absolute; top: -14rem; right: -10rem; width: 36rem; height: 36rem; border: 1px solid rgba(251, 24, 37, .42); border-radius: 50%; content: ''; }
.program-final__inner { position: relative; z-index: 1; text-align: center; }
.program-final .program-section-label { justify-content: center; }
.program-final h2 { max-width: none; margin: 0 auto; font-family: 'Unbounded', 'Arial Black', sans-serif; font-size: clamp(2.2rem, 5.5vw, 5.6rem); letter-spacing: -.08em; line-height: 1.03; text-align: center; text-wrap: balance; text-transform: uppercase; }
.program-final p:not(.program-section-label) { max-width: 520px; margin: 1.7rem auto 0; color: #b9bbc1; font-size: 1rem; line-height: 1.55; }
.program-final .program-hero__cta { margin-top: 2.2rem; text-align: left; }

.program-reveal { opacity: 0; filter: blur(5px); transform: translateY(26px); transition: opacity .75s var(--ease-out), filter .75s ease, transform .85s var(--ease-out); }
.program-reveal.is-visible { opacity: 1; filter: none; transform: none; }

@media (max-width: 1000px) {
  .program-page .hero-nav { gap: 1.5rem; margin-left: 1rem; }
  .program-level__header { grid-template-columns: 70px minmax(0, 1.25fr) minmax(260px, .75fr); gap: 1.25rem; }
  .program-modules--dense { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bonus-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .program-page .hero-header { width: 100%; max-width: none; }
  .program-page main { padding-top: 72px; }
  .program-hero { min-height: 760px; padding: 5rem 1rem 4rem; }
  .program-hero__inner { display: block; min-height: 0; }
  .program-hero__copy { padding-bottom: 2.6rem; }
  .program-hero h1 { max-width: 100%; font-size: clamp(2rem, 8vw, 4rem); }
  .program-hero__lead { margin-top: 1.7rem; font-size: 1rem; }
  .program-hero__note { font-size: .82rem; }
  .program-hero__side { display: block; }
  .program-hero__expert--desktop { display: none; }
  .program-hero__expert--mobile { display: block; width: min(100%, 360px); height: 320px; margin: 1rem auto 0; object-fit: contain; object-position: center bottom; opacity: .98; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .4)); }
  .program-hero__copy .program-hero__cta { margin-top: 1.35rem; }
  .program-hero__stats { margin-top: 3.5rem; }
  .program-hero__stats div { min-height: 105px; padding: 1rem .7rem; }
  .program-hero__stats strong { font-size: 2.25rem; }
  .program-hero__stats span { font-size: .58rem; }
  .program-hero__bottom { right: 1rem; bottom: .9rem; left: 1rem; font-size: 8px; }
  .program-hero__bottom span:nth-child(2) { display: none; }
  .program-map { top: 72px; overflow-x: auto; }
  .program-map__inner { width: max-content; min-width: 100%; }
  .program-map a { min-width: 170px; min-height: 70px; padding-inline: .85rem; }
  .program-map strong { font-size: .75rem; }
  .program-map small { font-size: .62rem; }
  .program-level { padding: 4.7rem 1rem 5rem; }
  .program-level__header { display: block; padding-bottom: 2.5rem; }
  .program-level__number { margin-bottom: 1.2rem; font-size: 2rem; }
    .program-level h2 { max-width: 100%; font-size: clamp(1.85rem, 7vw, 3rem); }
    .program-level--two h2 { font-size: clamp(1.7rem, 6vw, 2.85rem); }
    .program-level--bonus h2 { font-size: clamp(1.7rem, 6vw, 2.95rem); }
  .program-level__intro { margin-top: 1.5rem; font-size: .9rem; }
  .program-modules,
  .program-modules--dense { grid-template-columns: 1fr; margin-top: 2rem; }
  .program-module,
  .program-module--wide { grid-column: auto; min-height: 0; padding: 1.5rem 1.25rem; }
  .program-module__index { margin-bottom: 1.25rem; }
  .program-module h3 { max-width: none; font-size: 1rem; }
  .program-module ul { font-size: .8rem; }
  .program-songs { padding: 1.25rem; }
  .program-songs__head strong { font-size: .86rem; }
  .program-songs > p { font-size: .76rem; }
  .program-result { gap: .8rem; margin-top: 2rem; padding: 1.3rem 1.1rem; }
  .program-result h3 { font-size: .9rem; }
  .bonus-intro { display: block; margin-top: 2rem; }
  .bonus-intro p { margin-top: .9rem; font-size: .86rem; }
  .bonus-list { grid-template-columns: repeat(2, 1fr); }
  .bonus-item { min-height: 160px; padding: 1rem; }
  .bonus-item h3 { margin-top: 1.5rem; font-size: .85rem; }
  .bonus-item p { font-size: .7rem; }
  .bonus-footer { grid-template-columns: 1fr; gap: 1.5rem; }
  .program-final { padding: 5rem 1rem; }
  .program-final h2 { font-size: clamp(2rem, 9vw, 4rem); }
}

@media (max-width: 480px) {
  .program-hero { min-height: 720px; padding-top: 4rem; }
  .program-eyebrow { gap: .55rem; font-size: 9px; }
  .program-eyebrow i { width: 28px; }
    .program-hero h1 { font-size: clamp(1.85rem, 9.5vw, 2.8rem); }
    .program-hero__cta { min-height: 60px; padding-left: 7px; font-size: .85rem; }
  .program-arrow { width: 46px; height: 46px; }
  .program-arrow img { width: 22px; }
  .program-hero__stats strong { font-size: 1.75rem; }
  .program-hero__stats span { font-size: .5rem; }
  .program-map a { min-width: 145px; }
  .bonus-list { grid-template-columns: 1fr; }
  .bonus-item { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .program-reveal,
  .program-reveal.is-visible,
  .program-hero__cta,
  .program-arrow img,
  .bonus-item { transition: none; transform: none; filter: none; }
}

/* Tablet layout: preserve the editorial two-column hero, but give the long
   course headings and level intros enough room to breathe. */
@media (min-width: 801px) and (max-width: 1200px) {
  .program-hero {
    min-height: auto;
    padding: 3rem 1.5rem 3.5rem;
  }

  .program-hero__inner {
    width: min(calc(100% - 1rem), 900px);
    grid-template-columns: minmax(0, 1fr) minmax(220px, .78fr);
    gap: 2rem;
    min-height: 0;
  }

  .program-hero__copy { padding-bottom: 1.5rem; }
  .program-hero h1 { font-size: clamp(2.7rem, 6.1vw, 4.5rem); }
  .program-hero__lead { margin-top: 1.5rem; font-size: clamp(1rem, 1.9vw, 1.25rem); }
  .program-hero__note { margin-top: 1.1rem; font-size: .85rem; }
  .program-hero__cta { margin-top: 1.6rem; }

  .program-hero__expert--desktop { height: 350px; }
  .program-hero__stats div { min-height: 108px; padding: 1rem .65rem; }
  .program-hero__stats strong { font-size: clamp(2.1rem, 4.3vw, 3.5rem); }
  .program-hero__stats span { font-size: .62rem; }
  .program-hero__bottom { right: 1.5rem; left: 1.5rem; }

  .program-map__inner { width: min(calc(100% - 1rem), 900px); }
  .program-map a { column-gap: .65rem; padding-inline: .8rem; }
  .program-map strong { font-size: .78rem; }

  .program-level { padding: 5.5rem 1rem 6rem; }
  .program-level__inner { width: min(calc(100% - 1rem), 900px); }
  .program-level__header {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 1.25rem 1.5rem;
    padding-bottom: 3.5rem;
  }

  .program-level__intro {
    grid-column: 2;
    max-width: 540px;
    margin-top: 0;
  }

  .program-level h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
  .program-level--two h2 { font-size: clamp(1.95rem, 4vw, 3.1rem); }
  .program-level--bonus h2 { font-size: clamp(1.95rem, 4.25vw, 3.3rem); }
}
