/* Full-width cinematic hero with a facts band. Loads last; styles the header only on pages that have it. */
.ah-hero { --ah-pad: clamp(20px, 4.2vw, 56px); --ah-font: Inter, "TASA Orbiter", Arial, sans-serif; font-family: var(--ah-font); color: #fff; background: #040c1c; }
.ah-inner { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--ah-pad); }

.ah-stage { position: relative; isolation: isolate; overflow: hidden; display: flex; min-height: max(640px, calc(100svh - 170px)); background: #050b16; }
/* To use your own photograph: put it in url() below, remove the blur, and delete the .ah-figure image from index.html. */
.ah-backdrop { position: absolute; inset: -16px; z-index: 0;
  background: url("/assets/images/75316e18_6adac7037cc641d5a1caa650_milestone_image.avif") center / cover; filter: blur(5px) brightness(.6) saturate(.8); }
.ah-stage::after { content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, #030812f5 0%, #030812d9 38%, #03081259 70%, #03081280 100%), linear-gradient(#030812a6, transparent 28%, transparent 62%, #030812e6); }
.ah-figure { position: absolute; z-index: 3; transform: translateZ(0); pointer-events: none; right: max(9vw, calc(50% - 560px)); bottom: -9%; width: auto; max-width: none; height: 96%;
  filter: sepia(.18) brightness(.92) drop-shadow(0 20px 50px #000c); }
/* Layers, bottom to top: backdrop 0, video 1, shading 2, figure 3, text 4. All positive: mobile browsers can paint
   a playing video with a negative z-index above everything. translateZ keeps the figure and text above it. */
.ah-stage > .ah-inner { position: relative; z-index: 4; transform: translateZ(0); display: flex; flex-direction: column; padding-top: 112px; }

.ah-content { margin: auto 0; max-width: 660px; padding: 24px 0 40px; animation: ah-in .8s cubic-bezier(.22,1,.36,1) both; }
@keyframes ah-in { from { opacity: 0; transform: translateY(18px); } }
.ah-hero .ah-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .875rem; color: #ffffffd9; }
.ah-eyebrow::before { content: ""; flex: none; width: 30px; height: 9px; background: var(--brand--secondary);
  clip-path: polygon(0 44%, 80% 44%, 70% 0, 78% 0, 100% 50%, 78% 100%, 70% 100%, 80% 56%, 0 56%); }
.ah-hero .ah-title { margin: 0 0 28px; font: 400 clamp(2.25rem, 4.5vw, 3.875rem)/1.12 var(--ah-font); letter-spacing: -.04em; color: #fff; text-wrap: balance; }
.ah-points { display: grid; gap: 10px; margin: 0 0 36px; padding: 0 0 0 20px; font-size: 1rem; color: #ffffffe6; }
.ah-points li::marker { color: var(--brand--secondary); }
.ah-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ah-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.ah-btn.is-light { background: var(--brand--secondary); color: #071328; }
.ah-btn.is-light:hover { background: #fff; }
.ah-btn.is-ghost { border-color: #ffffff38; background: #ffffff14; color: #fff; backdrop-filter: blur(8px); }
.ah-btn.is-ghost:hover { border-color: var(--brand--secondary); background: #ffffff24; }
.ah-hero a:focus-visible { outline: 2px solid var(--brand--secondary); outline-offset: 3px; }

.ah-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 16px 0 26px; border-top: 1px solid #ffffff38; font-size: .8125rem; }
.ah-hero .ah-foot p { margin: 0; color: #ffffffbf; }
.ah-foot p::before { content: "•"; margin-right: 8px; color: var(--brand--secondary); }
.ah-foot a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; text-decoration: none; }
.ah-foot a span { font-size: 1.25rem; animation: ah-nudge 1.8s ease-in-out 3; }
@keyframes ah-nudge { 50% { transform: translateY(5px); } }

.ah-band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px; align-items: center; min-height: 170px; padding-top: 32px; padding-bottom: 32px; }
.ah-hero .ah-trust h2 { margin: 0 0 8px; font: 600 1.375rem/1.3 var(--ah-font); color: #fff; }
.ah-hero .ah-trust p { max-width: 30ch; margin: 0; color: #ffffffa6; }
.ah-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ah-stat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px 12px; text-align: center; }
.ah-stat + .ah-stat { border-left: 1px solid #ffffff2e; }
.ah-num { font-size: clamp(2.5rem, 4.6vw, 3.625rem); line-height: 1; letter-spacing: -.02em; }
.ah-label { font-size: .9375rem; color: #ffffffa6; }

/* header: clear over the hero, solid once scrolled or when the mobile menu is open */
body:has(.ah-hero) .navbar { background-color: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background-color .3s; }
body:has(.ah-hero) .navbar.is-solid, body:has(.ah-hero) .navbar:has(.w--open) { background-color: #071328eb; border-bottom-color: var(--hairline); }
body:has(.ah-hero) .navbar.is-solid { backdrop-filter: blur(10px); }
body:has(.ah-hero) .nav_content-wrap.is-desktop { background: transparent; }
body:has(.ah-hero) .navbar .button { border-radius: 999px; background: var(--brand--secondary); color: #071328; }
body:has(.ah-hero) .navbar .button::after { content: none; }
body:has(.ah-hero) .navbar .button:hover { background: #fff; }

@media (max-width: 991px) {
  .ah-figure { right: -8%; height: 72%; opacity: .38; }
  .ah-band-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ah-stage { min-height: max(660px, 100svh); }
  .ah-figure { right: -30%; opacity: .28; }
  .ah-stage > .ah-inner { padding-top: 92px; }
  .ah-btn { flex: 1 1 100%; }
  .ah-foot a { display: none; }
  .ah-num { font-size: 2.25rem; }
  .ah-label { font-size: .8125rem; }
  .ah-stat { padding: 4px 8px; }
}
@media (prefers-reduced-motion: reduce) { .ah-content, .ah-foot a span { animation: none; } }

/* the template's loading screen waits for the old hero's animation, which no longer exists */
body:has(.ah-hero) .intro_wrap-box { display: none !important; }
/* the loading screen also slid the header up and never brought it back */
body:has(.ah-hero) .navbar { transform: none !important; }
