/* Isolated NMP geometry. Media planes and the two-scene controller stay untouched. */
html.nmp-page-snap { scroll-padding-block-start: var(--nmp-header-height); scroll-snap-type: y proximity; }
html.nmp-page-snap.nmp-snap-suspended { scroll-snap-type: none; }
body.abio-nmp-world-v5-page .nmp-single-header { position: sticky; top: 0; z-index: 100; }
.nmp-single-header .brand-row { gap: clamp(24px, 3vw, 56px); min-height: 68px; justify-content: flex-start; }
.nmp-single-header .wordmark { width: 130px; flex: 0 0 130px; line-height: 0; letter-spacing: normal; }
.nmp-single-header .wordmark img { display: block; width: 100%; height: auto; }
.nmp-single-header .nmp-single-nav { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 38px); flex: 1; justify-content: flex-start; }
.nmp-single-header .nmp-single-nav > .nav-dropdown-host:nth-child(3) { margin-left: auto; }
.nmp-single-header .nmp-single-nav > .nav-dropdown-host:last-child { margin-right: clamp(0px, 6vw, 112px); }
.nmp-single-header .nmp-single-nav > .nav-dropdown-host > a { white-space: nowrap; font-size: 12px; font-weight: 650; }
.nmp-single-header .store-button { padding: 13px 22px; }
.nmp-single-header .menu-button { display: none; }
html.nmp-page-snap [data-nmp-snap] { scroll-snap-align: start; scroll-snap-stop: normal; }
html.nmp-page-snap .nmp-world [id] { scroll-margin-block-start: 0; }
html.nmp-page-snap .nmp-v4-hero { height: calc(100svh - var(--nmp-header-height)); min-height: 0; }
@media (max-width: 1100px) {
  .nmp-single-header .brand-row { min-height: 70px; width: calc(100% - 40px); justify-content: space-between; }
  .nmp-single-header .wordmark { width: 118px; flex-basis: 118px; }
  .nmp-single-header .menu-button { display: block; min-height: 44px; padding: 0 12px; border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
  .nmp-single-header .nmp-single-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100svh - var(--nmp-header-height)); overflow-y: auto; overscroll-behavior: contain; background: #fffdf8; padding: 12px 24px 24px; }
  .nmp-single-header.menu-open .nmp-single-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nmp-single-header .nmp-single-nav > .nav-dropdown-host { display: block; width: 100%; margin: 0; }
  .nmp-single-header .nmp-single-nav > .nav-dropdown-host:nth-child(3), .nmp-single-header .nmp-single-nav > .nav-dropdown-host:last-child { margin: 0; }
  .nmp-single-header .nmp-single-nav > .nav-dropdown-host > a { display: flex; align-items: center; min-height: 48px; justify-content: space-between; }
  .nmp-single-header .nav-dropdown-panel { position: static; width: 100%; display: none; transform: none; box-shadow: none; margin: 0 0 12px; padding: 16px; }
  .nmp-single-header .nav-dropdown-host.is-open > .nav-dropdown-panel { display: block; }
  .nmp-single-header .nav-dropdown-panel::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { html.nmp-page-snap { scroll-behavior: auto; } }
/* Existing body overflow-x:hidden computes overflow-y:auto and captures sticky/snap.
   Clip the horizontal axis without creating an intermediate scroll container. */
html.nmp-page-snap, html.nmp-page-snap body.abio-nmp-world-v5-page { overflow-x: clip; overflow-y: visible; }
@media (max-width: 1100px) {
  .nmp-single-header .nav-dropdown-host.is-open > .nav-dropdown-panel { max-height: none; overflow: visible; }
}
