/* /programs hub: page-scoped additions on top of academy-home.css (the homepage standard) */

/* Hero: the keyword-led H1 is the headline here (the homepage uses a small keyword line + big statement) */
.page-programs .hero{padding:64px 0 64px}
.crumbs ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:rgba(245,241,233,.78)}
.crumbs li+li::before{content:'/';margin-right:8px;color:var(--gold-light)}
.crumbs a{color:var(--gold-light);text-decoration:none}
.crumbs a:hover{text-decoration:underline;text-underline-offset:4px}
.hub-h1{font-family:var(--serif);font-weight:400;font-size:clamp(42px,4.2vw,62px);line-height:1.04;letter-spacing:-.015em;color:var(--cream);margin-top:22px;max-width:620px;text-wrap:balance}
.hub-h1 em{font-style:italic;font-weight:500;color:var(--gold-light)}
.page-programs .hero-sub{margin-top:22px}
@media(max-width:900px){.page-programs .hero{padding:40px 0 0}}
@media(max-width:639px){
  .page-programs .hero{padding:24px 0 0}
  .hub-h1{font-size:38px;margin-top:16px}
  .page-programs .hero-grid>div:first-child{display:block}
  .page-programs .hero-btns{flex-direction:column}
}

/* Which program fits you: four Best-for cards, sized to their count (4 / 2x2 / 1) */
.fit-grid{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
@media(max-width:1180px){.fit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:639px){.fit-grid{grid-template-columns:1fr;gap:16px}}
.fit-card{display:flex;flex-direction:column}
@supports (grid-template-rows:subgrid){.fit-grid{grid-template-rows:auto 1fr auto}.fit-card{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0}.fit-card .fit-prog{margin:0!important}}
.fit-card .num{margin-bottom:18px}
.fit-q{font-family:var(--serif);font-size:23px!important;line-height:1.3;color:var(--ink)!important;margin-bottom:24px}
.fit-prog{margin:auto 0 0!important;padding-top:16px;border-top:1px solid var(--line);font-family:var(--sans);font-size:13px!important;font-weight:500;letter-spacing:.12em;text-transform:uppercase;line-height:1.5!important}
.fit-prog a{color:var(--gold-dark);text-decoration:none}
.fit-prog a:hover{color:var(--navy);text-decoration:underline;text-underline-offset:4px}

/* Card anchors land below the sticky header */
.pc[id]{scroll-margin-top:110px}
.faq details p a{color:var(--gold-dark);text-underline-offset:3px}

/* Hero diagram (replaces the photo): the four programs as a rising path, built in HTML/CSS so the text stays real and readable.
   Desktop: steps climb left-to-right (01 at the bottom) along a gold hairline over a "self-paced -> personal guidance" axis.
   <=900px: a compact vertical list under the hero text. */
.page-programs .hero::before{background:
  radial-gradient(ellipse 42% 60% at 76% 50%,rgba(219,183,121,.06) 0%,rgba(219,183,121,0) 70%),
  linear-gradient(90deg,rgba(16,29,63,.9) 0%,rgba(16,29,63,.88) 40%,rgba(16,29,63,.87) 62%,rgba(16,29,63,.86) 100%),
  url(/img/hero-rise-1920.webp) 30% 40%/cover no-repeat}
.page-programs .hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(36px,5vw,88px);align-items:center}
.page-programs .hero-grid>div:first-child{max-width:none}
.hub-path{--rh:86px;--ind:58px;position:relative;z-index:2;max-width:560px;width:100%;justify-self:end;color:var(--cream)}
.hp-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column-reverse}
.hp-steps li{position:relative;height:var(--rh);margin-left:calc(var(--i) * var(--ind));padding-left:30px;display:flex;flex-direction:column;justify-content:flex-start}
.hp-steps li::before{content:'';position:absolute;left:0;top:9px;width:9px;height:9px;border:1px solid var(--gold-light);background:var(--navy);transform:rotate(45deg)}
.hp-steps li:last-child::before{background:var(--gold-light)}
.hp-steps li:not(:first-child)::after{content:'';position:absolute;left:5px;top:14px;width:hypot(var(--ind),var(--rh));height:1px;transform-origin:0 50%;transform:rotate(atan2(var(--rh),calc(-1 * var(--ind))));
  background:linear-gradient(90deg,rgba(219,183,121,.75),rgba(219,183,121,.35));z-index:-1}
.hp-n{position:absolute;left:30px;top:-17px;font:italic 500 16px/1 var(--serif);letter-spacing:.06em;color:var(--gold-light)}
.hp-name{font-family:var(--serif);font-weight:500;font-size:clamp(20px,1.6vw,24px);line-height:1.15;color:var(--cream);margin-top:4px}
.hp-fmt{margin-top:6px;font:500 12px/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--gold-light)}
.hp-axis{display:flex;align-items:center;gap:14px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(219,183,121,.28);
  font:500 12px/1.3 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:rgba(245,241,233,.82)}
.hp-axis i{flex:1;position:relative;height:1px;background:linear-gradient(90deg,rgba(219,183,121,.2),var(--gold-light))}
.hp-axis i::after{content:'';position:absolute;right:0;top:50%;width:7px;height:7px;border-top:1px solid var(--gold-light);border-right:1px solid var(--gold-light);transform:translateY(-50%) rotate(45deg)}
@media(max-width:1180px){.hub-path{--ind:34px;--rh:88px}}
@media(max-width:900px){
  .page-programs .hero-grid{grid-template-columns:1fr;gap:0}
  .page-programs .hero{padding-bottom:44px}
  .hub-path{justify-self:start;max-width:520px;margin-top:36px;display:flex;flex-direction:column}
  .hp-axis{order:-1;margin:0 0 22px;padding:0 0 14px;border-top:0;border-bottom:1px solid rgba(219,183,121,.28);font-size:12px;letter-spacing:.06em;gap:10px;white-space:nowrap}
  .hp-axis i{min-width:20px}
  .hp-steps{flex-direction:column}
  .hp-steps li{height:auto;margin-left:0;padding:0 0 15px 30px}
  .hp-steps li:last-child{padding-bottom:0}
  .hp-steps li::after{display:none}
  .hp-steps li:not(:last-child)::after{display:block;content:'';position:absolute;left:5px;top:14px;bottom:-9px;width:1px;height:auto;transform:none;background:rgba(219,183,121,.5)}
  .hp-n{position:static;margin-bottom:2px}
  .hp-name{font-size:20px;margin-top:0}
  .hp-fmt{margin-top:4px}
}
@media(max-width:900px){.page-programs .hero::before{background:linear-gradient(180deg,rgba(16,29,63,.86) 0%,rgba(16,29,63,.86) 55%,rgba(16,29,63,.84) 100%),url(/img/hero-rise-900.webp) 35% 30%/cover no-repeat}}
/* Program facts 2026-11-18: step 03 (Group Mentorship) is coming soon, so its marker is a quieter outline */
.hp-steps li.hp-soon::before{background:transparent;border-color:rgba(219,183,121,.7)}
.hp-soon .hp-name{color:rgba(245,241,233,.88)}
