/* LAVAN Menu motion (A, user choice 2026-10-16). Static menu layout and listing-ui.js lifecycle are unchanged. */

/* While the menu animates in, the page stays visible behind it (listing-ui hides .stage once the menu is open). */
html.nav-open.nav-anim body .stage { visibility: visible; }
/* After closing, the menu stays drawn (inert, no pointer events) for its exit; the page is already restored. */
html.nav-closing .nav-menu { display: flex; pointer-events: none; }

/* The panel rises from the lower edge on opening and clears upwards on closing. */
.nav-menu.mn-run {
  clip-path: inset(calc((100% + 1px) * (1 - var(--mn-in, 1))) 0 calc((100% + 1px) * var(--mn-out, 0)) 0);
}
/* Link masks: the li clips its lower edge, the link moves. */
.nav-sections li.mn-mask { clip-path: inset(-40% -15% 0 -15%); }
