/* ============================================================
   HOMEPAGE — REFINED BALANCED VERSION (PHASE 2, V5)
   ============================================================ */
.minimal-home { background: var(--bg); }
.mh-shell { width: min(100%, var(--max-w)); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.minimal-home .home-btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.minimal-home .home-btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }


/* Hero: multimedia first, no headline over the subject */
.mh-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--dark-2);
}
.mh-hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.mh-hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(4,7,17,.28) 0%, transparent 18%, transparent 72%, rgba(4,7,17,.36) 100%); }
.mh-hero__scroll { position: absolute; z-index: 2; left: var(--pad); bottom: 28px; display: inline-flex; align-items: center; gap: 14px; color: rgba(255,255,255,.72); font-family: var(--f-display); font-size: .60rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.mh-hero__scroll i { display: block; width: 52px; height: 1px; background: rgba(255,255,255,.48); transition: width .25s ease, background .25s ease; }
.mh-hero__scroll:hover i { width: 68px; background: #fff; }

/* Introduction and core capabilities */
.mh-intro { padding: 142px 0 136px; background: var(--bg); border-bottom: 1px solid var(--border); }
.mh-intro__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr); gap: clamp(70px, 9vw, 150px); align-items: end; }
.mh-intro h1 { max-width: 850px; color: var(--text); font-family: var(--f-display); font-size: clamp(3.2rem, 6vw, 6.1rem); font-weight: 700; letter-spacing: -.05em; line-height: .91; text-transform: uppercase; }
.mh-intro__copy > p { max-width: 650px; margin-bottom: 36px; color: var(--text-dim); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.76; }
.mh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 28px; }
.mh-intro__media {
  position: relative;
  grid-column: 1 / -1;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  background: var(--dark-2);
}
.mh-intro__media video { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.mh-intro__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,7,17,.48), transparent 44%);
  pointer-events: none;
}
.mh-intro__media-caption {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 22px;
  color: rgba(255,255,255,.76);
  font-family: var(--f-display);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.mh-intro__capabilities { margin-top: 102px; padding-top: 76px; border-top: 1px solid var(--border-md); }
.mh-intro__cap-head { max-width: 960px; margin-bottom: 62px; }
.mh-intro__cap-head h2 { max-width: 920px; color: var(--text); font-family: var(--f-display); font-size: clamp(2.35rem, 4.1vw, 4.45rem); font-weight: 700; letter-spacing: -.045em; line-height: .96; text-transform: uppercase; }
.mh-pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-md); border-bottom: 1px solid var(--border); }
.mh-pillar { min-height: 270px; padding: 38px 42px 42px 0; border-right: 1px solid var(--border); }
.mh-pillar + .mh-pillar { padding-left: 42px; }
.mh-pillar:last-child { padding-right: 0; border-right: 0; }
.mh-pillar__index { display: block; margin-bottom: 48px; color: var(--text-muted); font-family: var(--f-display); font-size: .62rem; font-weight: 700; letter-spacing: .16em; }
.mh-pillar h3 { margin-bottom: 16px; color: var(--text); font-family: var(--f-display); font-size: 1.42rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.08; text-transform: uppercase; }
.mh-pillar p { max-width: 360px; color: var(--text-dim); font-size: .93rem; line-height: 1.72; }

/* Progressive capability path */
.mh-path { padding: 138px 0 150px; background: var(--dark-grad); color: #fff; }
.mh-path .lbl { color: var(--dark-muted); }
.mh-path__intro { max-width: 920px; margin-bottom: 54px; }
.mh-path__intro h2 { margin-bottom: 28px; color: #fff; font-family: var(--f-display); font-size: clamp(2.55rem, 4.6vw, 5rem); font-weight: 700; letter-spacing: -.045em; line-height: .94; text-transform: uppercase; }
.mh-path__intro > p { max-width: 670px; color: var(--dark-dim); font-size: 1rem; line-height: 1.78; }
.mh-path__vector { height: 92px; margin: 0 0 38px; opacity: 0; transform: translateY(12px); }
.mh-path__vector.visible { opacity: 1; transform: translateY(0); }
.mh-path__vector svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mh-path__vector-base,
.mh-path__vector-draw { fill: none; vector-effect: non-scaling-stroke; stroke-width: 1.35; }
.mh-path__vector-base { stroke: rgba(255,255,255,.14); }
.mh-path__vector-draw { stroke: var(--accent); stroke-dasharray: 1; stroke-dashoffset: 1; }
.mh-path__vector.visible .mh-path__vector-draw { animation: mhVectorDraw 1.8s cubic-bezier(.22,.8,.3,1) .08s forwards; }
.mh-path__vector-node { fill: var(--dark-2); stroke: rgba(255,255,255,.82); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center; }
.mh-path__vector.visible .mh-path__vector-node { animation: mhNodeIn .42s ease forwards; }
.mh-path__vector.visible .mh-path__vector-node--1 { animation-delay: .10s; }
.mh-path__vector.visible .mh-path__vector-node--2 { animation-delay: .38s; }
.mh-path__vector.visible .mh-path__vector-node--3 { animation-delay: .68s; }
.mh-path__vector.visible .mh-path__vector-node--4 { animation-delay: 1.05s; }
.mh-path__vector-pulse { fill: #fff; filter: drop-shadow(0 0 5px rgba(255,255,255,.65)); opacity: .86; }
@keyframes mhVectorDraw { to { stroke-dashoffset: 0; } }
@keyframes mhNodeIn { from { opacity: 0; transform: scale(.45); } to { opacity: 1; transform: scale(1); } }
.mh-path__steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.24); }
.mh-step { position: relative; min-height: 360px; display: grid; grid-template-rows: auto 1fr; gap: 46px; padding: 30px 34px 38px; border-right: 1px solid rgba(255,255,255,.12); }
.mh-step:first-child { padding-left: 0; }
.mh-step:last-child { padding-right: 0; border-right: 0; }
.mh-step:not(:last-child)::after { content: ''; position: absolute; top: -4px; right: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.mh-step__number { color: rgba(255,255,255,.34); font-family: var(--f-display); font-size: .62rem; font-weight: 700; letter-spacing: .15em; }
.mh-step small { display: block; min-height: 28px; margin-bottom: 12px; color: rgba(255,255,255,.43); font-family: var(--f-display); font-size: .58rem; font-weight: 700; letter-spacing: .13em; line-height: 1.45; text-transform: uppercase; }
.mh-step h3 { margin-bottom: 16px; color: #fff; font-family: var(--f-display); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; text-transform: uppercase; }
.mh-step p { min-height: 102px; margin-bottom: 24px; color: rgba(255,255,255,.60); font-size: .88rem; line-height: 1.68; }
.mh-step a { display: inline; color: rgba(255,255,255,.86); border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 3px; font-family: var(--f-display); font-size: .62rem; font-weight: 700; letter-spacing: .09em; line-height: 1.8; text-transform: uppercase; transition: color .2s, border-color .2s; }
.mh-step a:hover { color: #fff; border-color: #fff; }
.mh-step__status { display: inline-block; color: rgba(255,255,255,.46); font-family: var(--f-display); font-size: .58rem; font-weight: 700; letter-spacing: .11em; line-height: 1.8; text-transform: uppercase; }


/* Testing proof: one carefully selected multimedia asset */
.mh-proof { padding: 142px 0 152px; background: var(--bg); }
.mh-proof .mh-shell { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .68fr); gap: clamp(70px, 8vw, 135px); align-items: center; }
.mh-proof__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark-2); }
.mh-proof__media video { width: 100%; height: 100%; object-fit: cover; }
.mh-proof__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,7,17,.38), transparent 36%); pointer-events: none; }
.mh-proof__caption { position: absolute; z-index: 2; left: 22px; bottom: 18px; color: rgba(255,255,255,.70); font-family: var(--f-display); font-size: .57rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.mh-proof__content h2 { margin-bottom: 25px; color: var(--text); font-family: var(--f-display); font-size: clamp(2.6rem, 4.7vw, 5rem); font-weight: 700; letter-spacing: -.045em; line-height: .92; text-transform: uppercase; }
.mh-proof__content > p { max-width: 600px; margin-bottom: 42px; color: var(--text-dim); font-size: .98rem; line-height: 1.78; }
.mh-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 38px; border-top: 1px solid var(--border-md); border-bottom: 1px solid var(--border); }
.mh-facts > div { min-height: 120px; display: flex; flex-direction: column; justify-content: center; padding: 20px 20px 22px 0; border-right: 1px solid var(--border); }
.mh-facts > div + div { padding-left: 20px; }
.mh-facts > div:last-child { padding-right: 0; border-right: 0; }
.mh-facts dt { margin-bottom: 7px; color: var(--text); font-family: var(--f-display); font-size: 1.65rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; }
.mh-facts dd { color: var(--text-muted); font-family: var(--f-display); font-size: .56rem; font-weight: 700; letter-spacing: .10em; line-height: 1.5; text-transform: uppercase; }

/* Final institutional action */
.mh-contact {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 132px 0;
  overflow: hidden;
  background: var(--dark-2) url("../assets/images/REC/DSC01214.JPG") center 48% / cover no-repeat;
  border-top: 1px solid var(--dark-border);
}
.mh-contact::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,9,23,.93) 0%, rgba(10,17,41,.84) 50%, rgba(6,10,25,.58) 100%);
}
.mh-contact__inner { display: grid; grid-template-columns: 1fr; gap: 42px; justify-items: center; text-align: center; }
.mh-contact .lbl { color: rgba(255,255,255,.50); }
.mh-contact h2 { max-width: 980px; color: #fff; font-family: var(--f-display); font-size: clamp(2.35rem, 4.2vw, 4.55rem); font-weight: 700; letter-spacing: -.045em; line-height: .94; text-transform: uppercase; }
.mh-contact__copy > p { max-width: 760px; margin-left: auto; margin-right: auto; margin-top: 28px; color: rgba(255,255,255,.70); font-size: .98rem; line-height: 1.75; }
.mh-contact .home-btn { width: min(100%, 410px); max-width: 410px; justify-content: center; text-align: center; }

@media (max-width: 1100px) {
  .mh-intro__grid,
  .mh-proof .mh-shell { gap: 70px; }
  .mh-path__steps { grid-template-columns: repeat(2, 1fr); }
  .mh-step:nth-child(2) { border-right: 0; }
  .mh-step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .mh-step:nth-child(2)::after { display: none; }
  .mh-step:nth-child(3) { padding-left: 0; }
  .mh-step p { min-height: 80px; }
}

@media (max-width: 850px) {
  .mh-hero { height: 100vh; height: 100svh; min-height: 560px; }
  .mh-hero__scroll { left: 28px; }
  .mh-intro,
  .mh-path,
  .mh-proof { padding-top: 92px; padding-bottom: 98px; }
  .mh-intro__grid,
  .mh-proof .mh-shell,
  .mh-contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .mh-intro h1 { font-size: clamp(3rem, 10vw, 5.2rem); }
  .mh-intro__media { aspect-ratio: 16 / 9; }
  .mh-pillars { grid-template-columns: 1fr; }
  .mh-intro__capabilities { margin-top: 76px; padding-top: 58px; }
  .mh-intro__cap-head { margin-bottom: 46px; }
  .mh-pillar,
  .mh-pillar + .mh-pillar { min-height: 0; padding: 34px 0 38px; border-right: 0; border-bottom: 1px solid var(--border); }
  .mh-pillar:last-child { border-bottom: 0; }
  .mh-pillar__index { margin-bottom: 28px; }
  .mh-path__intro { margin-bottom: 40px; }
  .mh-path__vector { height: 72px; margin-bottom: 24px; }
  .mh-proof__media { order: 2; }
  .mh-proof__content { order: 1; }
  .mh-contact { min-height: 460px; padding: 96px 0; background-position: 58% center; }
  .mh-contact .home-btn { justify-self: center; }
}

@media (max-width: 620px) {
  .mh-shell { padding-left: 24px; padding-right: 24px; }
  .mh-hero { height: 100vh; height: 100svh; min-height: 520px; }
  .mh-hero__video { object-position: 58% center; }
  .mh-hero__scroll { left: 24px; bottom: 20px; }
  .mh-hero__scroll span { display: none; }
  .mh-intro,
  .mh-path,
  .mh-proof { padding-top: 76px; padding-bottom: 82px; }
  .mh-intro h1 { font-size: 3.2rem; }
  .mh-intro__copy > p { font-size: .98rem; }
  .mh-intro__media { aspect-ratio: 4 / 3; }
  .mh-intro__media video { object-position: 58% center; }
  .mh-intro__media-caption { left: 18px; right: 18px; bottom: 16px; line-height: 1.55; }
  .mh-intro__capabilities { margin-top: 64px; padding-top: 48px; }
  .mh-intro__cap-head { margin-bottom: 38px; }
  .mh-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .mh-intro__cap-head h2,
  .mh-path__intro h2,
  .mh-proof__content h2,
  .mh-contact h2 { font-size: 2.75rem; }
  .mh-path__vector { display: none; }
  .mh-path__steps { grid-template-columns: 1fr; }
  .mh-step,
  .mh-step:first-child,
  .mh-step:nth-child(3),
  .mh-step:last-child { min-height: 0; padding: 30px 0 38px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .mh-step:last-child { border-bottom: 0; }
  .mh-step::after { display: none !important; }
  .mh-step { grid-template-columns: 44px 1fr; grid-template-rows: 1fr; gap: 12px; }
  .mh-step p { min-height: 0; }
  .mh-facts { grid-template-columns: 1fr; }
  .mh-facts > div,
  .mh-facts > div + div { min-height: 92px; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .mh-facts > div:last-child { border-bottom: 0; }
  .mh-proof__media { aspect-ratio: 4 / 3; }
  .mh-contact { min-height: 440px; padding: 82px 0; background-position: 64% center; }
}

@media (prefers-reduced-motion: reduce) {
  .mh-hero__scroll i { transition: none; }
  .mh-path__vector-draw { stroke-dashoffset: 0; animation: none !important; }
  .mh-path__vector-node { opacity: 1; transform: none; animation: none !important; }
  .mh-path__vector-pulse { display: none; }
}

/* ========================================================================== */
/* HOMEPAGE ROADMAP — SCROLL-DRIVEN HGV                                      */
/* ========================================================================== */
.mh-path.mh-roadmap {
  position: relative;
  height: 250vh;
  padding: 0;
  background: var(--dark-grad);
  color: var(--dark-text);
}
.mh-roadmap__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
}
.mh-roadmap__header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  width: min(100%, var(--max-w));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 64px;
  align-items: end;
  padding-top: calc(var(--nav-h) + 34px);
  padding-bottom: 30px;
  border-bottom: 1px solid var(--dark-border);
  background: linear-gradient(to bottom, rgba(19,23,51,.98), rgba(19,23,51,.72), rgba(19,23,51,0));
}
.mh-roadmap__header > * { min-width: 0; }
.mh-roadmap__header .lbl { color: var(--dark-muted); }
.mh-roadmap__header h2 {
  max-width: 680px;
  margin-top: 12px;
  text-wrap: balance;
  overflow-wrap: normal;
  color: #fff;
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.2vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .94;
  text-transform: uppercase;
}
.mh-roadmap__header > p {
  color: var(--dark-dim);
  font-size: .98rem;
  line-height: 1.72;
}
.mh-roadmap__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 178px;
  padding-bottom: 54px;
}
.mh-roadmap__track-wrap {
  position: relative;
  width: 100%;
  margin-top: 72px;
}
.mh-roadmap__track {
  position: relative;
  height: 2px;
  margin: 112px 8% 0;
  background: rgba(255,255,255,.22);
}
.mh-roadmap__progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  height: 2px;
  background: var(--accent);
}
.mh-roadmap__dart {
  position: absolute;
  left: 0;
  top: 50%;
  width: 104px;
  height: 46px;
  transform: translate(-8%, -50%);
  color: #fff;
  will-change: left, transform;
}
.mh-roadmap__dart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mh-roadmap__dart-outline {
  fill: var(--dark-2);
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.mh-roadmap__dart-structure {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.mh-roadmap__shockwave,
.mh-roadmap__shockwave-secondary {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.mh-roadmap__shockwave {
  stroke-width: .72;
  opacity: .28;
}
.mh-roadmap__shockwave-secondary {
  stroke-width: .48;
  opacity: .14;
}
.mh-roadmap__milestones {
  position: absolute;
  left: 8%;
  right: 8%;
  top: -92px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mh-roadmap__milestone {
  position: relative;
  padding: 0 clamp(18px, 3vw, 44px);
  text-align: center;
  opacity: .34;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease;
}
.mh-roadmap__milestone::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -114px;
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.25);
  transform: translateX(-50%);
  transition: height .25s ease, background .25s ease;
}
.mh-roadmap__milestone.is-active {
  opacity: 1;
  transform: none;
}
.mh-roadmap__milestone.is-active::after {
  height: 31px;
  background: var(--accent);
}
.mh-roadmap__milestone small {
  display: block;
  margin-bottom: 11px;
  color: var(--accent);
  font-family: var(--f-display);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.45;
  text-transform: uppercase;
}
.mh-roadmap__milestone h3 {
  margin-bottom: 11px;
  color: #fff;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: uppercase;
}
.mh-roadmap__milestone p {
  max-width: 295px;
  margin: 0 auto;
  color: var(--dark-dim);
  font-size: .86rem;
  line-height: 1.62;
}

.mh-roadmap__cta {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.025);
  color: #fff;
  font-family: var(--f-display);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .105em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: border-color .22s ease, background .22s ease, color .22s ease;
}
.mh-roadmap__cta:hover {
  border-color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.mh-roadmap__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.mh-roadmap__cta-arrow {
  color: var(--accent);
  font-size: .9rem;
  line-height: 1;
  transition: transform .22s ease;
}
.mh-roadmap__cta:hover .mh-roadmap__cta-arrow,
.mh-roadmap__cta:focus-visible .mh-roadmap__cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 850px) {
  .mh-path.mh-roadmap { height: 245vh; padding: 0; }
  .mh-roadmap__sticky { min-height: 700px; }
  .mh-roadmap__header {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 24px;
  }
  .mh-roadmap__header h2 { font-size: clamp(2.5rem, 8vw, 4.1rem); }
  .mh-roadmap__header > p { max-width: 620px; }
  .mh-roadmap__stage { padding-top: 235px; }
}

@media (max-width: 620px) {
  .mh-path.mh-roadmap { height: 260vh; padding: 0; }
  .mh-roadmap__sticky { min-height: 720px; }
  .mh-roadmap__header { padding-left: 24px; padding-right: 24px; }
  .mh-roadmap__header h2 { font-size: 2.7rem; }
  .mh-roadmap__header > p { display: none; }
  .mh-roadmap__stage { padding: 190px 24px 38px; }
  .mh-roadmap__track-wrap { height: 490px; margin-top: 62px; }
  .mh-roadmap__milestones {
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 82px;
    padding-left: 58px;
  }
  .mh-roadmap__milestone {
    min-height: 94px;
    padding: 0;
    text-align: left;
  }
  .mh-roadmap__milestone p { max-width: 290px; margin: 0; }
  .mh-roadmap__cta {
    top: calc(100% + 12px);
    left: 0;
    min-height: 32px;
    padding: 0 13px;
    transform: none;
  }
  .mh-roadmap__milestone::after {
    left: -31px;
    bottom: auto;
    top: 46px;
    width: 22px;
    height: 1px;
    transform: translate(-50%, -50%);
  }
  .mh-roadmap__milestone.is-active::after { width: 31px; height: 1px; }
  .mh-roadmap__track {
    position: absolute;
    left: 26px;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    margin: 0;
  }
  .mh-roadmap__progress { width: 2px; height: 0; }
  .mh-roadmap__dart {
    left: 50%;
    top: 0;
    width: 72px;
    transform: translate(-50%, -40%) rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-roadmap__milestone { transition: none; }
}

/* Roadmap endpoint alignment: Crossbow at start, StratoDart at center, HyperDart at end. */
@media (min-width: 621px) {
  .mh-roadmap__milestone:first-child { text-align: left; }
  .mh-roadmap__milestone:first-child p { margin-left: 0; }
  .mh-roadmap__milestone:first-child .mh-roadmap__cta { left: 0; transform: none; }
  .mh-roadmap__milestone:first-child::after { left: 0; transform: none; }
  .mh-roadmap__milestone:last-child { text-align: right; }
  .mh-roadmap__milestone:last-child p { margin-right: 0; margin-left: auto; }
  .mh-roadmap__milestone:last-child .mh-roadmap__cta { right: 0; left: auto; transform: none; }
  .mh-roadmap__milestone:last-child::after { right: 0; left: auto; transform: none; }
  .mh-roadmap__dart { transform: translate(-96%, -50%); }
}

/* Two-column facts variant used by the Crossbow proof block. */
.mh-facts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) {
  .mh-facts--two { grid-template-columns: 1fr; }
}

/* ============================================================
   TYPOGRAPHY ALIGNMENT — STRATODART ARCHITECTURE
   The homepage H1 remains the page title; section titles use sentence case.
   ============================================================ */
.mh-intro h1 {
  font-size: clamp(3.5rem, 6.4vw, 6.7rem);
  letter-spacing: -.055em;
  line-height: .86;
  text-transform: uppercase;
}
.mh-intro__cap-head h2,
.mh-path__intro h2,
.mh-roadmap__header h2,
.mh-proof__content h2,
.mh-contact h2 {
  font-size: clamp(2.25rem, 3.8vw, 4.2rem);
  letter-spacing: -.045em;
  line-height: .98;
  text-transform: none;
}
.mh-pillar h3,
.mh-step h3,
.mh-roadmap__milestone h3,
.mh-facts dt {
  text-transform: none;
}
.mh-pillar h3,
.mh-step h3,
.mh-roadmap__milestone h3 { line-height: 1.08; }

@media (max-width: 850px) {
  .mh-intro h1 { font-size: clamp(3.25rem, 10vw, 5.4rem); }
}

@media (max-width: 620px) {
  .mh-intro h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .mh-intro__cap-head h2,
  .mh-path__intro h2,
  .mh-roadmap__header h2,
  .mh-proof__content h2,
  .mh-contact h2 { font-size: clamp(2.05rem, 10vw, 2.8rem); }
}


/* Phase 4 refinement: restrained homepage title scale */
.mh-intro h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 4.5vw, 4.9rem);
  line-height: .92;
}
@media (max-width: 850px) {
  .mh-intro h1 { font-size: clamp(2.7rem, 8vw, 4.1rem); }
}
@media (max-width: 620px) {
  .mh-intro h1 { font-size: 2.65rem; }
}

/* ========================================================================== */
/* HOMEPAGE ROADMAP CTA — PHASE 5 REFINEMENT V2                               */
/* ========================================================================== */

/* The roadmap heading now sits directly on the section background. This
   removes the visible rectangular gradient panel while the section is pinned. */
.mh-roadmap__header {
  background: transparent;
}

/* CTAs are revealed by the moving dart: only the program currently crossed by
   the vehicle exposes its action. Hidden actions are removed from pointer and
   keyboard interaction by the roadmap script. */
.mh-roadmap__cta {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity .28s ease,
    visibility 0s linear .28s,
    transform .28s ease,
    border-color .22s ease,
    background .22s ease,
    color .22s ease;
}
.mh-roadmap__milestone.is-active .mh-roadmap__cta {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: .08s, 0s, .08s, 0s, 0s, 0s;
}

@media (min-width: 621px) {
  /* Use the full lower half of the pinned viewport. Program descriptions sit
     above the flight line; the contextual CTA appears clearly below it. */
  .mh-roadmap__stage {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
  }
  .mh-roadmap__track-wrap {
    --roadmap-line-y: clamp(190px, 27vh, 230px);
    position: absolute;
    top: clamp(385px, 53vh, 455px);
    right: var(--pad);
    bottom: 34px;
    left: var(--pad);
    width: auto;
    margin-top: 0;
  }
  .mh-roadmap__milestones {
    top: 0;
    height: 100%;
  }
  .mh-roadmap__milestone {
    align-self: stretch;
  }
  .mh-roadmap__track {
    position: absolute;
    top: var(--roadmap-line-y);
    right: 8%;
    left: 8%;
    height: 2px;
    margin: 0;
  }
  .mh-roadmap__milestone::after {
    top: var(--roadmap-line-y);
    bottom: auto;
  }
  .mh-roadmap__cta {
    top: calc(var(--roadmap-line-y) + 48px);
  }

  /* Preserve endpoint alignment while allowing the entrance movement. */
  .mh-roadmap__milestone:first-child .mh-roadmap__cta,
  .mh-roadmap__milestone:last-child .mh-roadmap__cta {
    transform: translateY(12px);
  }
  .mh-roadmap__milestone:first-child.is-active .mh-roadmap__cta,
  .mh-roadmap__milestone:last-child.is-active .mh-roadmap__cta {
    transform: translateY(0);
  }
}

@media (max-width: 850px) and (min-width: 621px) {
  .mh-roadmap__track-wrap {
    --roadmap-line-y: clamp(190px, 25vh, 215px);
    top: clamp(410px, 55vh, 470px);
  }
}

@media (max-width: 620px) {
  .mh-roadmap__cta {
    transform: translateY(10px);
  }
  .mh-roadmap__milestone.is-active .mh-roadmap__cta {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-roadmap__cta,
  .mh-roadmap__milestone.is-active .mh-roadmap__cta {
    transition: none;
  }
}
