/* ============================================================
   IGM — India Gold Metaverse · BPMI academy page (standalone)
   Self-contained stylesheet for BPMI.html: fonts, tokens, base,
   the page's own academy top-bar + pill section-nav, and every
   Figma section (hero, gateway, technology bento, program card,
   trending stats, who-we-are, experts, registration) plus the
   shared dark FAQ and shared footer partial. Kept boilerplate-
   identical to the sibling pages so it renders with no dependency
   on assets/css/styles.css.
   Figma: node 2759-9733 (values are the source of truth here).
   Fonts: Satoshi + Clash Display (self-hosted) · Instrument Serif
   (Google Fonts, linked in the page <head>).
   ============================================================ */

/* ---------- fonts · tokens · base · shared .pill ----------
   Root-relative font URLs (leading slash) so Satoshi resolves from
   the site root, not from assets/css/ where this file lives. */
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/img/fonts/clashdisplay-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --neutral-50:  #ffffff;
  --neutral-100: #f9f9fb;
  --neutral-200: #eeeef1;
  --neutral-300: #c8c8d2;
  --neutral-400: #aeaeba;
  --neutral-500: #8a8a97;
  --neutral-600: #606070;
  --neutral-700: #3d3d4d;
  --neutral-800: #232330;
  --neutral-900: #0d0f1a;
  --neutral-950: #000000;
  --gold-50:     #f9f5ec;
  --gold-100:    #f0e6d1;
  --gold-200:    #e3d1a8;
  --gold-300:    #d6ba81;
  --gold-warm:   #cfb38d;  /* warm serif accent (second-clause headings) */
  --gold-500:    #c29c49;  /* expert role labels, per Figma IGM-Gold-500 */
  --gold-600:    #a07f36;  /* Start Learning label + icon */
  --gold-700:    #7e642a;
  --gold-800:    #5c491f;
  --gold-grad:   linear-gradient(180deg, #ecdfc5 0%, #d2b374 100%); /* IGM tab bars */
  --cream:       #fbf7ef;
  --sans:  "Satoshi", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --maxw: 1200px;
  /* height of the site navbar once it turns fixed on scroll (14 + 90 logo + 14);
     the floating section pill sits directly beneath it */
  --acad-h: 118px;
  /* Figma's spring (mass 1, stiffness 100, damping 15) solved and sampled as an
     easing curve: damping ratio .75, so it overshoots ~2.8% and settles in .82s.
     A cubic-bezier can't overshoot, hence linear(). */
  --spring: linear(
    0 0%, 0.0424 3.8%, 0.1441 7.7%, 0.2747 11.5%, 0.4131 15.4%, 0.5455 19.2%,
    0.6637 23.1%, 0.7637 26.9%, 0.8447 30.8%, 0.9073 34.6%, 0.9536 38.5%,
    0.9861 42.3%, 1.0075 46.2%, 1.0202 50%, 1.0265 53.8%, 1.0284 57.7%,
    1.0273 61.5%, 1.0245 65.4%, 1.0208 69.2%, 1.0169 73.1%, 1.0131 76.9%,
    1.0097 80.8%, 1.0069 84.6%, 1.0045 88.5%, 1.0027 92.3%, 1.0014 96.2%, 1 100%
  );
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--neutral-900);
  background: #fff;
  line-height: 1.45;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- shared helpers ---------- */
.pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--neutral-200);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-900);
}
.pill--outline { background: transparent; color: var(--gold-50); border: 1px solid rgba(255,255,255,.12); }
.nav-logo-header-footer { height: 90px; width: auto; padding-bottom: 10px; }

/* a two-tone centred heading: the base colour on the first clause, the warm
   serif gold on the .accent second clause. Used by nearly every band. */
.serif-head {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--neutral-900);
  text-align: center;
  line-height: 1.27;
  letter-spacing: .01em;
}
.serif-head .accent { color: var(--gold-warm); }

/* the vertical IGM wordmark lockup ("Initiative by / IGM" flanked by gold bars,
   "India Gold Metaverse" beneath). One markup, two skins via a modifier. */
.igm-lockup { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.igm-lockup__row { display: flex; align-items: center; }
.igm-lockup__bar { width: 25px; height: 71px; background: var(--gold-grad); }
.igm-lockup__bar--r { transform: scaleX(-1); }
.igm-lockup__name {
  width: 104px; text-align: center;
  font-size: 18px; font-weight: 500; line-height: 24px; color: #fff;
}
.igm-lockup__tag {
  font-size: 12px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .01em; color: var(--neutral-400);
}
/* dark-on-light skin (Who We Are) — smaller, gold ink */
.igm-lockup--gold .igm-lockup__bar { width: 19px; height: 54px; }
.igm-lockup--gold .igm-lockup__name { width: 79px; font-size: 13.6px; line-height: 18px; color: var(--gold-800); }
.igm-lockup--gold .igm-lockup__tag { font-size: 9px; color: var(--gold-700); }

/* ============================================================
   SITE NAVBAR  (shared navbar.html, injected by include.js)
   Buttons, navbar, dropdowns and the mobile overlay are extracted
   verbatim from /assets/css/objectives.css so the header renders
   exactly as on every other page.
   ============================================================ */
/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;   /* 0.28px @ 14px, per Figma buttons */
  text-transform: uppercase;
  transition: opacity .2s, transform .2s;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--neutral-900); }
.btn-dark  { background: #000; color: #fff; }   /* Neutral-950, per Figma "Dark Solid" */
.btn-dark.big { margin: 40px auto 0; display: flex; width: max-content; }
.btn-outline {
  background: rgba(255,255,255,.11);
  border: .8px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: #fafafa;
  height: 40px;
  padding: 0 12px;
  font-family: "Clash Display", var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 4px;
}
/* .btn was only ever used on <a> until the enquire modal's triggers needed
   real <button>s — this strips the UA button chrome without touching the
   background/color that .btn-dark / .btn-light set. */
button.btn { border: none; cursor: pointer; font-family: inherit; -webkit-appearance: none; appearance: none; }

/* ---------- navbar ---------- */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 40px;
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: clamp(12px, min(2.2vw, 8.2vw - 72px), 48px);
  align-items: center;
}
.nav-left { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: clamp(12px, min(2.2vw, 8.2vw - 72px), 48px); }
.nav-link {
  color: #fafafa;
  /* 16px is the Figma size and holds from ~1392px up. Below that the four
     top-level items no longer clear the centred logo, so the label steps
     down rather than wrapping onto a second line and colliding with it. */
  font-size: clamp(13px, 1.4vw, 16px);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: .02em;      /* 0.32px @ 16px */
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link .chev { display: inline-block; margin-left: 3px; font-size: 13px; line-height: 1; opacity: .9; transform-origin: center; transition: transform .25s; }
.nav-link:hover { color: var(--gold-300); }

/* ---- offerings dropdown ---- */
.nav-item { position: relative; }
.nav-item.has-menu > .nav-link { cursor: pointer; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  width: max-content;   /* sized to its longest entry, so every item stays on one line */
  margin-top: 14px;
  padding: 8px;
  background: var(--neutral-50);
  border: 1px solid #eeeef1;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}
/* ABOUT US is a wider two-column panel: a small category label on the left,
   its destinations stacked on the right, one grid row per group (see image). */
.nav-dropdown--about { min-width: 360px; padding: 14px; }
.nav-dropdown__group {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: start;
  padding: 10px 0;
}
.nav-dropdown__group + .nav-dropdown__group { border-top: 1px solid #eeeef1; }
.nav-dropdown__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-500);
  padding-top: 9px;      /* optically aligns the label with the first link row */
}
/* hover bridge so the menu doesn't close in the 14px gap */
.nav-item.has-menu::after {
  content: "";
  position: absolute;
  top: 100%; left: 0;
  width: 100%; height: 16px;
}
.nav-item.has-menu:hover .nav-dropdown,
.nav-item.has-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item.has-menu:hover > .nav-link .chev { transform: rotate(180deg); }
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--neutral-600);
  transition: background .18s, color .18s;
}
.nav-dropdown a:hover { background: #f4f4f6; color: var(--gold-500); }
.nav-dropdown a.is-active { color: var(--gold-500); }
/* logo sits at the far left; both menu groups follow it on the right (explicit
   columns because .nav-left comes before the logo in the markup) */
.nav-logo { grid-column: 1; grid-row: 1; text-align: left; color: #fff; }
.nav-logo-img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.logo-mark {
  display: inline-block;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .08em;
  border: 2px solid currentColor;
  padding: 1px 10px;
}
.logo-sub { display: block; font-size: 9.5px; letter-spacing: .08em; margin-top: 3px; font-weight: 500; }
.nav-right { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, min(2.2vw, 8.2vw - 72px), 48px); }
/* NEWS ROOM / EVENTS live in this column, so their panels hang from the right
   edge of the item — left-aligned they would run off the side of the viewport */
.nav-right .nav-dropdown { left: auto; right: 0; }

/* ---- second-row section nav (About-Us destinations) ----
   Sits under .nav-inner inside the same .navbar box, so it inherits the
   scrolled backdrop. Sentence-case, not uppercase like the main links. */
.nav-subnav {
  max-width: 1360px;
  margin: 12px auto 0;
  display: none;              /* revealed only when the ABOUT US arrow is clicked */
  justify-content: center;
  align-items: center;
  gap: 44px;
}
/* revealed by /assets/css/include.js only on the About-Us pages the strip links to */
.nav-subnav.is-open { display: flex; animation: subnav-in .22s ease both; }
@keyframes subnav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-subnav__link {
  color: var(--neutral-300);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .18s;
}
.nav-subnav__link:hover { color: var(--gold-300); }
.nav-subnav__link.is-active { color: var(--gold-500); }

/* All About-Us pages: solid dark nav bar + full-width WHITE sub-nav band with
   dark links (active = gold). :has() scopes the dark bar to About pages only. */
.navbar:has(.nav-subnav.is-open) { background: #060708; padding-bottom: 0; }
.nav-subnav { max-width: none; margin: 0 -40px; padding: 8px 40px; gap: 12px; background: #fff; border-top: 1px solid rgba(174,174,186,.35); }
.nav-subnav__link { position: relative; padding: 12px 10px; font-size: 14px; color: var(--neutral-900); }
.nav-subnav__link:hover { color: #a07f36; }
.nav-subnav__link.is-active { color: #a07f36; font-weight: 500; }
.nav-subnav__link.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 1px; background: #a07f36; border-radius: 4px 4px 0 0; }

/* ---- mobile: hamburger trigger + full-screen menu ----
   Hidden entirely on desktop (.nav-left carries the real links there); shown
   only at the ≤900px breakpoint where .nav-left already hides (see responsive). */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  justify-self: start;
  align-items: end;
}
.nav-burger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1), visibility .35s;
}
.mobile-nav.is-open { visibility: visible; transform: translateX(0); }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eeeef1;
}
.mobile-nav__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--neutral-900);
  cursor: pointer;
}
.mobile-nav__logo img { height: 40px; width: auto; }
.mobile-nav__body { flex: 1 1 auto; overflow-y: auto; padding: 4px 20px; }

.mobile-acc { border-bottom: 1px solid #eeeef1; }
.mobile-acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  background: none;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--neutral-900);
  cursor: pointer;
  font-family: 'Satoshi';
}
.mobile-acc__trigger .chev { font-size: 16px; line-height: 1; color: #9a9aa4; transition: transform .25s, color .25s; }
.mobile-acc.is-open .mobile-acc__trigger { color: var(--gold-500); }
.mobile-acc.is-open .mobile-acc__trigger .chev { color: var(--gold-500); transform: rotate(180deg); }
/* grid-rows 0fr -> 1fr is a smooth auto-height collapse with no JS measuring;
   the inner wrapper is the grid item that actually clips during the transition */
.mobile-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.mobile-acc.is-open .mobile-acc__panel { grid-template-rows: 1fr; }
.mobile-acc__panel-inner { overflow: hidden; display: flex; flex-direction: column; padding-bottom: 2px; }
.mobile-acc__panel a {
  margin: 2px 0;
  padding: 12px 14px;
  /* border-radius: 8px; */
  background: #fff;
  /* box-shadow: 0 4px 16px rgba(20, 16, 8, .08); */
  font-size: 14px;
  color: #606070;
  /* border-bottom: 1px solid #a2a2af; */
  font-family: 'Satoshi';
  font-size: 14px;

}
.mobile-acc__panel a:hover { color: var(--neutral-900); }
.mobile-nav__cta { margin: 16px 20px 24px; justify-content: center; }
/* body scroll-lock while the overlay is open (toggled from navbar.js) */
body.mobile-nav-open { overflow: hidden; }
/* scrolled navbar (script.js toggles .scrolled past 60px) */
.navbar { transition: background .35s ease, backdrop-filter .35s ease; }
.navbar.scrolled {
  position: fixed;
  background: rgba(5, 5, 10, .65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}

/* section tabs (About Us · Our Programs · …): the same full-width bar the
   course pages stick under the navbar (.course-tabs-bar.is-stuck), so the
   academy reads as one family. A solid bar rather than a floating pill — the
   pill let content show around it and ran off the edge on phones. Hidden over
   the hero (home); the page script adds .is-visible once the white panel has
   risen past the hero, so it fades in on its own on scroll. */
.acad-nav {
  /* 40, under the navbar's 50 (as .course-tabs-bar): the navbar's dropdowns
     live inside its stacking context, so anything above 50 would cover them */
  position: fixed; top: var(--acad-h); left: 0; right: 0; z-index: 40;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.acad-nav.is-visible { opacity: 1; visibility: visible; transform: none; }
/* the row scrolls sideways when the tabs outgrow it; the page script keeps
   the active tab in view */
.acad-nav__inner {
  display: flex; gap: 12px;
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.acad-nav__inner::-webkit-scrollbar { display: none; }
.acad-nav__link {
  flex: 0 0 auto;
  padding: 13px 10px;
  font-size: 14px; line-height: 20px; letter-spacing: .01em;
  color: var(--neutral-900);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.acad-nav__link:hover { color: var(--gold-600); }
.acad-nav__link.is-active { color: var(--gold-600); font-weight: 500; border-bottom-color: var(--gold-600); }

/* ============================================================
   HERO
   ============================================================ */
/* The hero fills from the very top (the fixed bar overlays it) and pins there
   while the white panel below scrolls up over it — z-index 0 keeps it behind
   that panel the whole way. */
.bpmi-hero {
  position: sticky; top: 0; z-index: 0;
  --hero-h: 840px;   /* also sizes the background film to cover */
  min-height: var(--hero-h);
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: #111 center / cover no-repeat;
}

/* ---- the scroll-over panel: everything after the hero, one white sheet that
   rides up over the pinned hero. Per Figma the crown is a plain 32px radius
   (NOT a wave — the wave vector belongs to the dark FAQ). overflow:hidden makes
   the rounded corners clip cleanly; the hero is a sibling so its sticky pin is
   unaffected. ---- */
.bpmi-scroll {
  position: relative; z-index: 1;
  margin-top: -32px;                    /* the rounded crown overlaps the hero's lower edge */
  background: #fff;
  border-radius: 32px 32px 0 0;
  /* clip, not hidden: hidden would make this panel a scroll container and
     break the sticky pin of the Programs rail inside it */
  overflow: hidden;
  overflow: clip;
}
.bpmi-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* background film (Vimeo, muted loop) laid over the poster frame, which stays
   as the fallback until the player paints or if Vimeo is blocked. An iframe
   can't object-fit, so it is sized to cover: the 16:9 box is at least the
   hero's width and at least its height, centred. */
.bpmi-hero__video {
  position: absolute; top: 50%; left: 50%;
  width: max(100%, calc(var(--hero-h) * 16 / 9));
  aspect-ratio: 16 / 9; height: auto;
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
.bpmi-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 59%, rgba(0,0,0,0) 100%);
}
.bpmi-hero__inner {
  position: relative; z-index: 2;
  width: min(950px, 90%);
  display: flex; flex-direction: column; align-items: center; gap: 100px;
}
.bpmi-hero__title {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 80px; line-height: 76px; color: #fff;
  margin-top: 24px;
}
.bpmi-hero__logos { display: flex; align-items: center; justify-content: center; gap: 20px; }
.bpmi-hero__logos img { height: 70px; width: auto; border-radius: 6px; }
.bpmi-hero__x { color: #fff; font-size: 20px; opacity: .9; }

/* ============================================================
   GATEWAY  (white rounded panel that overlaps the hero)
   ============================================================ */
.bpmi-gateway {
  position: relative; z-index: 3;
  background: #fff;
  padding: 80px 40px 40px;              /* clears the panel's rounded crown */
  text-align: center;
}
.bpmi-gateway__pill {
  position: relative; display: inline-flex; gap: 6px;
  padding: 8px 50px; border-radius: 32px; overflow: hidden;
  font-size: 14px; font-weight: 500; font-style: italic;
  text-transform: uppercase; letter-spacing: .02em; line-height: 20px;
}
.bpmi-gateway__pill::before {
  content: ""; position: absolute; width: 210px; height: 158px;
  left: 50%; top: -61px; transform: translateX(-50%);
  opacity: .3; background: var(--gold-300);
  border-radius: 9999px; filter: blur(38px);
}
.bpmi-gateway__pill span { position: relative; }
.bpmi-gateway__pill .accent { color: var(--gold-warm); }
.bpmi-gateway__head { margin: 40px auto 0; max-width: 880px; }
.bpmi-gateway__head h2 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 44px; line-height: 56px; letter-spacing: .01em;
  color: var(--neutral-900);
}
.bpmi-gateway__head p { font-size: 30px; font-weight: 300; line-height: 40px; margin-top: 4px; }
/* intro film (Vimeo). The video's own thumbnail fills the 880x350 frame like
   the Figma still; the play button swaps in the player with sound (wired at
   the bottom of BPMI.html) */
.bpmi-gateway__media {
  max-width: 880px; height: 350px; margin: 40px auto 0;
  border-radius: 12px; overflow: hidden;
  outline: 3px solid #fff; outline-offset: -1.5px;
  box-shadow: 0 4px 30px rgba(0,0,0,.12);
  background: #1a1612;
  position: relative;
}
.bpmi-gateway__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the player fills the frame once playing; Vimeo letterboxes the 16:9 film itself */
.bpmi-gateway__video { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
.bpmi-gateway__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 72px 48px 28px;
  background: linear-gradient(180deg, rgba(20,16,12,0) 0%, rgba(20,16,12,.72) 70%);
  color: #fff; font-size: 15px; line-height: 22px; text-align: center;
  transition: opacity .3s ease;
}
.bpmi-gateway__play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  border: 0; background: transparent; cursor: pointer;
  color: #fff; font-size: 46px;
}
.bpmi-gateway__play i { transition: transform .25s ease, opacity .25s ease; opacity: .9; }
.bpmi-gateway__play:hover i { transform: scale(1.08); opacity: 1; }
.bpmi-gateway__media.is-playing .bpmi-gateway__caption,
.bpmi-gateway__media.is-playing .bpmi-gateway__play { opacity: 0; pointer-events: none; }

/* ============================================================
   TECHNOLOGY  (pill + heading + bento of 8 features)
   ============================================================ */
.bpmi-tech { position: relative; padding: 150px 40px 146px; text-align: center; overflow: hidden; }
/* concentric rings backdrop — decorative, thin gold hairlines */
/* decorative rings: per the Figma frame, two clusters of three overlapping
   circles sitting in the side margins beside the grid (not a centred target
   behind the copy), drawn very faint so nothing reads through the cards.
   Positioned against .bpmi-bento-wrap; the section's overflow clips them. */
.bpmi-tech__rings { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bpmi-tech__rings span {
  position: absolute; border-radius: 9999px;
  border: 1px solid rgba(13, 15, 26, .06);
  transform: translate(-50%, -50%);
}
.bpmi-tech__rings span:nth-child(1) { left: -150px; top: 170px; width: 380px; height: 380px; }
.bpmi-tech__rings span:nth-child(2) { left: -110px; top: 230px; width: 460px; height: 460px; }
.bpmi-tech__rings span:nth-child(3) { left: -190px; top: 290px; width: 520px; height: 520px; }
/* right cluster mirrors the left */
.bpmi-tech__rings span:nth-child(n+4) { left: auto; transform: translate(50%, -50%); }
.bpmi-tech__rings span:nth-child(4) { right: -150px; top: 170px; width: 380px; height: 380px; }
.bpmi-tech__rings span:nth-child(5) { right: -110px; top: 230px; width: 460px; height: 460px; }
.bpmi-tech__rings span:nth-child(6) { right: -190px; top: 290px; width: 520px; height: 520px; }
/* the grid is 1040px per the frame, leaving the margins the rings live in */
.bpmi-bento-wrap { position: relative; max-width: 1040px; margin: 100px auto 0; }
.bpmi-tech__head { position: relative; max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.bpmi-tech__head .pill { background: var(--neutral-200); font-size: 15px; letter-spacing: 0; text-transform: none; padding: 2px 10px; }
.bpmi-tech__head h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 44px; line-height: 56px; letter-spacing: .01em; }
.bpmi-tech__head h2 .accent { color: var(--gold-warm); }
.bpmi-tech__head p { font-size: 15px; line-height: 21px; color: var(--neutral-600); }

.bpmi-bento {
  position: relative; z-index: 1;   /* sits above the rings */
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--neutral-200);
  border-radius: 2px;
}
.bento-card {
  padding: 40px; text-align: left;
  border-right: 1px solid var(--neutral-200);
  border-top: 1px solid var(--neutral-200);
  /* top-aligned, so icons and titles line up across a row whatever the copy length */
  display: flex; flex-direction: column; justify-content: flex-start; gap: 24px;
}
.bpmi-bento .bento-card:nth-child(4n) { border-right: 0; }
.bpmi-bento .bento-card:nth-child(-n+4) { border-top: 0; }
.bento-card__icon { width: 88px; height: 88px; border-radius: 8px; border: 1.38px solid var(--neutral-200); object-fit: cover; }
.bento-card h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; line-height: 28px; color: var(--neutral-800); }
.bento-card p { font-size: 14px; line-height: 20px; color: var(--neutral-600); margin-top: 8px; }

/* ============================================================
   OUR PROGRAMS  (centred heading over a pinned rail of wide dark
   course cards — one card in view at a time)
   The section is tall; its inner panel sticks to the viewport while
   the page scroll drives the rail sideways (script at the bottom of
   BPMI.html sets --prog-x). Without JS, on phones and for reduced
   motion it falls back to a plain swipeable rail.
   ============================================================ */
.bpmi-programs {
  --card-w: min(1040px, calc(100vw - 200px));
  --card-gap: 40px;
  position: relative;
  /* one viewport of pin, plus one more per extra card to scroll through */
  height: calc(100vh + 2 * 80vh);
}
.bpmi-programs__pin {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  /* clears the fixed site navbar (118px) and the floating section pill under it */
  padding: 196px 0 24px;
}
.bpmi-programs__title {
  text-align: center;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 64px; line-height: 72px; color: var(--neutral-900);
}
.bpmi-programs__rail {
  display: flex; gap: var(--card-gap);
  /* centres the active card; the neighbours peek in at the edges */
  padding: 0 calc((100vw - var(--card-w)) / 2);
  transform: translate3d(var(--prog-x, 0px), 0, 0);
  will-change: transform;
}
.pcard {
  /* as tall as the pinned viewport allows under the bar and heading (196 + 72 + 24 + 24) */
  flex: 0 0 var(--card-w); height: min(680px, calc(100vh - 316px));
  position: relative; border-radius: 12px; overflow: hidden;
  background: #1a1a1a center / cover no-repeat;
  opacity: .45; transition: opacity .4s ease;
}
.pcard.is-active { opacity: 1; }
/* the pin only runs once the script has taken over (.js-pin); without it —
   no JS, or reduced motion — the rail is an ordinary swipeable row */
.bpmi-programs:not(.js-pin) { height: auto; padding: 90px 0; }
.bpmi-programs:not(.js-pin) .bpmi-programs__pin { position: static; height: auto; overflow: visible; padding-top: 0; }
.bpmi-programs:not(.js-pin) .bpmi-programs__rail {
  transform: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.bpmi-programs:not(.js-pin) .pcard { scroll-snap-align: center; opacity: 1; }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* per the reference: copy sits on the left, on a dark wash that clears to the right */
.pcard__overlay {
  position: relative; z-index: 2; height: 100%;
  /* generous inset, copy block centred vertically on the left (per the reference) */
  padding: 72px 64px;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,0) 72%);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px;
}
.pcard__overlay > * { max-width: 440px; }
.pcard__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; line-height: 38px; color: #fff; }
/* full description, no clamp */
.pcard__desc { font-size: 14px; line-height: 20px; color: var(--neutral-300); }
.pcard__meta { display: flex; align-items: center; gap: 14px; color: var(--neutral-200); font-size: 14px; }
.pcard__meta .who { display: flex; align-items: center; gap: 8px; }
.pcard__meta .who img { width: 28px; height: 28px; border-radius: 50%; border: .8px solid rgba(238,238,241,.2); }
.pcard__meta .dot { width: 2px; height: 2px; background: var(--neutral-300); border-radius: 50%; }
.pcard__meta .lessons { display: flex; align-items: center; gap: 8px; }
.pcard__price { display: flex; align-items: flex-end; gap: 8px; }
.pcard__price b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 26px; color: #fff; }
.pcard__price small { font-size: 12px; line-height: 16px; color: var(--neutral-400); }
.pcard__cta {
  align-self: flex-start;
  margin-top: 16px;   /* the button sits a step apart from the price, as in the reference */
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 4px;
  background: #fff; outline: 2px solid var(--gold-300); outline-offset: -2px;
  color: var(--gold-600); font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .02em;
}

/* ============================================================
   CENTERED BANDS  (over faint photo backgrounds)
   ============================================================ */
.bpmi-band {
  min-height: 564px; padding: 100px;
  display: grid; place-items: center; text-align: center; overflow: hidden;
  background: #f6f2ea center / cover no-repeat;
}
.bpmi-band__scrim {
  background: linear-gradient(89deg, rgba(255,255,255,.6) 0%, #fff 50%, rgba(255,255,255,.8) 100%);
}
.bpmi-band h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 44px; line-height: 56px; letter-spacing: .01em; }
.bpmi-band h2 .accent { color: var(--gold-warm); }
.bpmi-band p { font-size: 30px; font-weight: 300; line-height: 40px; color: var(--gold-warm); margin-top: 8px; }

/* ============================================================
   TRENDING  (dark image bg — left title, right stat list)
   ============================================================ */
.bpmi-trending {
  min-height: 800px; overflow: hidden;
  background: #111 center / cover no-repeat;
  display: flex;
}
.bpmi-trending__scrim {
  flex: 1; padding: 100px 200px;
  /* the boardroom photo is bright, so the wash never fully clears: the stats
     column (right) stays dark enough for the small labels to read */
  background: linear-gradient(269deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.28) 100%);
  backdrop-filter: blur(7.5px);
  display: flex; gap: 40px; align-items: flex-start;
}
.bpmi-trending__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 60px; line-height: 76px; color: #fff; white-space: nowrap; }
.bpmi-trending__stats { flex: 1; padding-left: 120px; display: flex; flex-direction: column; gap: 32px; }
.bpmi-stat { display: flex; flex-direction: column; gap: 20px; }
.bpmi-stat__label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 18px; color: rgba(255,255,255,.78); }
.bpmi-stat__value { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 36px; line-height: 42px; color: #fff; }
/* the figures count up on scroll (BPMI.html); fixed-width digits stop the
   line from jittering as the numbers change */
.bpmi-stat__value, .bpmi-who__stat b { font-variant-numeric: tabular-nums; }
.bpmi-stat__desc { font-size: 16px; line-height: 22px; color: var(--neutral-200); margin-top: 4px; }
/* a soft shadow lifts the copy off any light patch of the photo */
.bpmi-trending__scrim { text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.bpmi-trending__rule { height: 1px; background: rgba(255,255,255,.2); }

/* ============================================================
   WHO WE ARE
   ============================================================ */
.bpmi-who { padding: 110px 0; text-align: center; overflow: hidden; }
.bpmi-who__head { display: flex; flex-direction: column; align-items: center; gap: 40px; margin-bottom: 64px; }
.bpmi-who__head h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 56px; line-height: 66px; letter-spacing: .02em; }
.bpmi-who__row {
  max-width: 1440px; margin: 0 auto; padding: 0 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center;
  text-align: left;
}
.bpmi-who__row + .bpmi-who__row { margin-top: 48px; }
.bpmi-who__copy { padding: 12px 0; display: flex; flex-direction: column; gap: 64px; }
.bpmi-who__row--flip .bpmi-who__copy { padding-left: 24px; align-items: flex-start; }
.bpmi-who__copy > .igm-lockup img,
.bpmi-who__logo { height: 70px; width: auto; }
/* the copy column is a flex column, so without this the logo stretches to full width */
.bpmi-who__logo {
  align-self: flex-start; padding: 4px;
  border: 1px solid var(--neutral-200); border-radius: 4px; background: #fff;
}
/* "Initiative by IGM" laurel badge (Figma export) over the gold tagline */
.igm-lockup--laurel { gap: 2px; }
.igm-lockup--laurel img { width: 117px; height: 58px; }
/* hero copy of the badge: the white-text variant, over the dark film */
.bpmi-hero .igm-lockup--laurel img { width: 140px; height: 69px; }
.bpmi-who__title { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 48px; letter-spacing: .02em; color: var(--neutral-900); }
.bpmi-who__text { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.bpmi-who__text p { font-size: 18px; line-height: 28px; color: var(--neutral-700); }
.bpmi-who__photo { width: 100%; height: 642px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,.11); }
.bpmi-who__row--flip .bpmi-who__photo { order: -1; }

/* dark stats band */
.bpmi-who__band {
  margin-top: 48px; min-height: 550px;
  background: linear-gradient(0deg, rgba(0,0,0,.36), rgba(0,0,0,.36)), #333 center / cover no-repeat;
  display: flex; align-items: center; justify-content: center; gap: 15px;
  padding: 0 260px;
}
.bpmi-who__stat {
  flex: 1; min-height: 252px; border-radius: 8px;
  background: rgba(0,0,0,.24);
  outline: 1px solid rgba(249,249,251,.2); outline-offset: -1px;
  box-shadow: 0 4px 19px rgba(255,255,255,.11);
  backdrop-filter: blur(5.5px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 24px;
}
.bpmi-who__stat b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 48px; line-height: 60px; letter-spacing: .02em; color: #fff; }
.bpmi-who__stat span { font-size: 18px; line-height: 28px; color: #fff; }

/* ============================================================
   EXPERTS
   ============================================================ */
.bpmi-experts { padding: 110px 0; text-align: center; overflow: hidden; }
.bpmi-experts__head { margin-bottom: 100px; }
.bpmi-experts__head h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 44px; line-height: 56px; letter-spacing: .01em; }
.bpmi-experts__head p { font-size: 30px; font-weight: 300; line-height: 40px; }
.bpmi-experts__grid {
  max-width: 1440px; margin: 0 auto; padding: 0 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.expert-card {
  height: 462px; padding: 8px; border-radius: 8px;
  display: flex; align-items: flex-end;
  background: #eee center / cover no-repeat;
}
.expert-card__plate {
  flex: 1; padding: 16px 8px; border-radius: 4px; background: #fff;
  display: flex; flex-direction: column; gap: 6px; text-align: center;
}
.expert-card__plate b { font-weight: 400; font-size: 22px; line-height: 28px; color: var(--neutral-900); }
.expert-card__plate span { font-size: 16px; line-height: 22px; color: var(--gold-500); }

/* ============================================================
   REGISTRATION
   ============================================================ */
.bpmi-reg {
  /* the deep bottom padding is the stage for the rings-on-pedestal photo
     (anchored bottom, set inline in BPMI.html): it keeps the piece below the
     Enroll button, as in the design, rather than behind the copy */
  position: relative; padding: 150px 0 1040px; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 100%), #f4efe6 center / cover no-repeat;
  text-align: center;
}
/* the moss mound fades out into the white band below on a soft curve */
.bpmi-reg::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -140px; height: 280px;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; filter: blur(22px);
  pointer-events: none;
}
.bpmi-reg__intro { max-width: 640px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; align-items: center; gap: 72px; }
.bpmi-reg__intro h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 60px; line-height: 76px; }
.bpmi-reg__pill {
  position: relative; display: inline-flex; gap: 6px; overflow: hidden;
  padding: 18px 72px; border-radius: 32px;
  /* one line, as designed — wider than the 640px intro column, which the
     centred flex column lets it overhang evenly */
  white-space: nowrap; flex-shrink: 0;
  font-size: 20px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 20px;
}
.bpmi-reg__pill::before {
  content: ""; position: absolute; width: 720px; height: 158px; left: 50%; top: -51px;
  transform: translateX(-50%); opacity: .3; background: var(--gold-300);
  border-radius: 9999px; filter: blur(38px);
}
.bpmi-reg__pill span { position: relative; }
.bpmi-reg__pill .accent { color: var(--gold-warm); }
.bpmi-reg__lead {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 36px; line-height: 50px; letter-spacing: .01em; color: var(--neutral-800);
}
.bpmi-reg__features {
  max-width: 1080px; margin: 108px auto 0; padding: 0 20px;
  display: flex; align-items: flex-start; justify-content: center; gap: 52px;
}
.reg-feature { width: 305px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
/* transparent cut-out icons (the hands one is wide), so no box shadow */
.reg-feature img { width: auto; max-width: 140px; height: 80px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.08)); }
.reg-feature h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 38px; }
.reg-feature p { font-size: 15px; line-height: 21px; color: var(--neutral-600); }
.reg-feature__div { width: 1px; align-self: stretch; background: var(--neutral-200); opacity: .7; }
.bpmi-reg__cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 72px; padding: 20px 32px;
  background: var(--neutral-950); color: #fff; border-radius: 4px;
  font-size: 16px; font-weight: 500;
}

/* ============================================================
   FAQ  (shared dark accordion, mirrors the sibling pages)
   ============================================================ */
.about-faq { position: relative; overflow: hidden; background: #060708; padding: 140px 80px 60px; }
/* Figma's Vector 1344 — the white curve fading into the dark FAQ, identical to
   index.html / the sibling pages (bleeds 2px per side so no seam shows). */
.faq-wave-top {
  position: absolute; top: -1px; left: -2px;
  width: calc(100% + 4px); max-width: none; height: auto;
  z-index: 2; pointer-events: none;
}
.about-faq__inner { max-width: 1000px; margin: 0 auto; }
.about-faq__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 44px; }
.about-faq__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 44px; line-height: 56px; letter-spacing: .01em; color: var(--gold-50); }
.about-faq__list .faq summary { font-family: var(--serif); font-style: italic; font-size: 24px; }
.faq { text-align: left; border-bottom: 1px solid rgba(255,255,255,.12); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; color: #fff; font-size: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 16px; height: 16px; flex: none;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(180deg); }
.faq summary em { font-style: normal; }
.faq p { color: var(--neutral-400); font-size: 16px; line-height: 1.4; padding: 0 0 20px; }

/* ---------- footer (shared partial) ---------- */
.footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.5) 72%, rgba(0,0,0,.7) 100%),
    url("../img/FooterBG.png") center / cover no-repeat, #000;
  color: #fff; padding: 70px 40px 40px; text-align: center;
}
.footer-rule { border: 0; border-top: 1px solid #232329; max-width: 1000px; margin: 34px auto; }
/* five link columns since News Room and IGM at Events joined the footer; the
   1000px cap lines the grid up with the .footer-rule above it */
.footer-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; text-align: left; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: #a2a2ab; margin-bottom: 9px; }
.footer-col a:hover { color: var(--gold-300); }
/* a heading that is itself the link (Blogs) keeps the h4 look, not the grey sub-link style */
.footer-col h4 a { display: inline; font-size: inherit; color: inherit; margin: 0; }
.footer-social { display: flex; justify-content: center; gap: 14px; margin-top: 50px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: #86868c; color: #000; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.footer-social a:hover { background: var(--gold-300); }
.footer-brand { display: flex; align-items: center; justify-content: center; }
.footer-legal { margin-top: 44px; font-size: 12px; color: #9a9aa2; }
.footer-legal a:hover { color: #fff; }
.footer-copy { margin-top: 10px; font-size: 12px; color: #7c7c85; }

/* ---------- scroll-reveal + reduced motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: .48s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: .56s; }
/* a group taller than the screen (the bento on phones) has script.js mark each
   card .visible as it scrolls in, not the group — without this the cards stay
   at opacity 0 and the section reads as an empty white box */
.reveal-stagger > .visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { transition: none; opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE  (single ≤640 breakpoint, per house convention)
   ============================================================ */
@media (max-width: 900px) {
  /* navbar collapses to the burger + mobile drawer */
  .nav-left { display: none; }
  .nav-subnav, .nav-subnav.is-open { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-right { display: none; }
  .nav-logo { grid-column: 1; grid-row: 1; }
  .nav-burger { display: flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .acad-nav__inner { padding: 0 16px; }
  /* labels stay on one line; the row scrolls sideways instead */
  .acad-nav__link { white-space: nowrap; }
  .bpmi-trending { display: block; }
  .bpmi-trending__scrim { flex-direction: column; padding: 80px 24px; gap: 24px; }
  .bpmi-trending__stats { padding-left: 0; }
  .bpmi-trending__title { white-space: normal; }
  .bpmi-bento { grid-template-columns: repeat(2, 1fr); }
  /* the grid fills the width here, so there are no margins for the rings */
  .bpmi-tech__rings { display: none; }
  .bpmi-bento .bento-card:nth-child(4n) { border-right: 1px solid var(--neutral-200); }
  .bpmi-bento .bento-card:nth-child(2n) { border-right: 0; }
  .bpmi-who__row, .bpmi-who__row--flip { grid-template-columns: 1fr; }
  .bpmi-who__row--flip .bpmi-who__photo { order: 0; }
  .bpmi-experts__grid { grid-template-columns: repeat(2, 1fr); }
  .bpmi-reg__features { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .navbar { padding: 14px 20px; }
  .bpmi-hero { --hero-h: 620px; }
  .bpmi-hero__inner { gap: 48px; }
  .bpmi-hero__title { font-size: 44px; line-height: 46px; }
  .bpmi-hero__logos img { height: 48px; }
  .bpmi-gateway { padding: 80px 20px 32px; }
  .bpmi-gateway__head h2 { font-size: 30px; line-height: 38px; }
  .bpmi-gateway__head p { font-size: 22px; line-height: 30px; }
  .bpmi-gateway__media { height: 300px; }
  .bpmi-gateway__caption { padding: 56px 16px 16px; font-size: 13px; line-height: 19px; }
  .bpmi-gateway__play { place-items: start center; padding-top: 70px; }
  .bpmi-tech { padding: 80px 20px; }
  .bpmi-tech__head h2, .bpmi-band h2, .bpmi-experts__head h2, .about-faq__title { font-size: 30px; line-height: 38px; }
  .bpmi-bento { grid-template-columns: 1fr; }
  .bpmi-bento .bento-card { border-right: 0 !important; }
  /* phones: no pin — a swipeable rail of near-full-width cards */
  .bpmi-programs { height: auto; padding: 60px 0; }
  .bpmi-programs__pin { position: static; height: auto; overflow: visible; gap: 24px; padding-top: 0; }
  .bpmi-programs__title { font-size: 44px; line-height: 52px; }
  .bpmi-programs__rail {
    padding: 8px 20px; gap: 16px; transform: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .bpmi-programs__rail::-webkit-scrollbar { display: none; }
  .pcard { flex-basis: 86%; height: 580px; scroll-snap-align: center; opacity: 1; }
  .pcard__overlay { padding: 24px; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.88) 100%); }
  .pcard__title { font-size: 26px; line-height: 32px; }
  .bpmi-band { padding: 60px 20px; min-height: 380px; }
  .bpmi-band p, .bpmi-experts__head p { font-size: 22px; line-height: 30px; }
  .bpmi-trending__title { font-size: 40px; line-height: 48px; }
  .bpmi-who { padding: 70px 0; }
  .bpmi-who__head h2 { font-size: 36px; line-height: 44px; }
  .bpmi-who__row { padding: 0 20px; }
  .bpmi-who__photo { height: 360px; }
  .bpmi-who__title { font-size: 28px; line-height: 36px; }
  .bpmi-who__band { padding: 40px 20px; flex-direction: column; }
  .bpmi-experts__grid { grid-template-columns: 1fr; padding: 0 20px; }
  .bpmi-reg { padding: 90px 0 420px; }
  .bpmi-reg__intro { gap: 48px; }
  .bpmi-reg__intro h2 { font-size: 40px; line-height: 50px; }
  .bpmi-reg__pill { font-size: 15px; padding: 14px 32px; white-space: normal; flex-shrink: 1; display: inline-block; }
  .bpmi-reg__lead { font-size: 24px; line-height: 36px; }
  .bpmi-reg__features { flex-direction: column; align-items: center; gap: 32px; }
  .reg-feature__div { width: 60%; height: 1px; }
  .about-faq { padding: 100px 16px 24px; }
  .faq summary { font-size: 18px; }
  /* the footer's two-up phone layout from styles.css: multicol stacks each
     side on its own (a shared-row grid left gaps on the right), and the
     break at the 4th block keeps the same 3 | 3 split as the home page */
  .footer-grid { display: block; columns: 2; column-gap: 30px; }
  .footer-col { break-inside: avoid; margin-bottom: 30px; }
  .footer-col:nth-child(4) { -webkit-column-break-before: always; break-before: column; }
}
