/* ══════════════════════════════════════════════════════════════
   SECTION 1 — HERO + FIXED NAV
   hero.png full-bleed (blue sky). The hero is sticky WITHIN the
   .scroll-stage so it stays pinned while the story band climbs over
   it, then releases when the stage ends. Nav is fixed above all.
   ══════════════════════════════════════════════════════════════ */
.scroll-stage { position: relative; }

.hero {
  position: sticky;
  top: 0;
  z-index: 0;                      /* under the climbing story band (z-1) */
  height: 100vh;
  min-height: 640px;
  width: 100%;
  /* WebP first (~51KB) with PNG fallback (~516KB) for browsers without
     image-set support. The bare url() line is the fallback base. */
  background: #2E6FC9 url("../assets/hero.png") center center / cover no-repeat;
  background-image: image-set(
    url("../assets/hero.webp") type("image/webp"),
    url("../assets/hero.png")  type("image/png")
  );
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* — Fixed nav pill — */
.nav {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 9px 9px 9px 26px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.35),
              inset 0 -1px 1px rgba(0,0,0,0.06);
}
.nav-brand { font-size: 24px; font-weight: 800; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; opacity: 0.95; }
.nav-links a:hover { opacity: 1; }

/* — Hero copy (lower frame) — */
.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;     /* sit content in the lower frame */
  text-align: center;
  padding: 0 24px 13vh;          /* lift off the very bottom edge */
}
.hero-title {
  font-size: clamp(44px, 8vw, 86px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 500;
  opacity: 0.96;
  text-shadow: 0 1px 12px rgba(0,0,0,0.18);
}
.hero-cta { margin-top: 40px; }
