/* Hallmark · shape: component (the site menu for phones and tablets, shared by every public page) · genre: atmospheric · theme: custom (DESIGN.md, locked) · idea: "the desktop nav, set in the display voice on a black sheet" · vibe: "black atelier, hairline type, one champagne metal" · job: move between the site's sections on a phone · draw: none (design.md)
 * nav: the Menu button at the end of the nav under 60rem (mark only under 30rem), the sheet under the nav at full height · imagery: none · signature: the four sections in the hairline display weight, the current one underlined in the accent
 * axes: dark/grotesk-sans/warm · posture: restrained · motion: none (DESIGN.md: nothing moves but the figure and the link rule) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S3 R5 V3 · weakest: S, a menu sheet is a known pattern; kept it in the locked voice (hairline display weight, sentence case as nav links must be, accent only on the current section) rather than inventing a new control */
/* Hallmark · finish-review: subagent · recapture (shots predated edits, round restarted), then fix · 11 findings · 8 resolved 2 partial 1 dismissed · partial: the live chest keeps a ~5 cm corner where the first rectus block meets the pec heads (head geometry, not grid stairs; 160 passes rounded it but cost teres major 26% of its area, so 80 stays) and the 40px PDF buttons read at app scope · dismissed: the 33-34 min range and the catalog's Worlds Greatest Stretch predate this run · gap: none */

.nav__menu { display: none; }
@media (max-width: 60rem) {
  .nav__menu { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; min-width: 44px; padding: 0 var(--space-xs); margin-inline-end: calc(var(--space-xs) * -1); border: 0; background: transparent; color: var(--color-ink); font: 400 var(--text-sm)/1 var(--font-body); cursor: pointer; }
  .nav__menu:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
  .nav__menu-bars { position: relative; width: 18px; height: 8px; }
  .nav__menu-bars::before, .nav__menu-bars::after { content: ""; position: absolute; left: 0; right: 0; height: var(--rule-hair); background: currentColor; }
  .nav__menu-bars::before { top: 0; }
  .nav__menu-bars::after { bottom: 0; }
  .nav__menu[aria-expanded="true"] .nav__menu-bars::before { top: 50%; transform: rotate(45deg); }
  .nav__menu[aria-expanded="true"] .nav__menu-bars::after { bottom: auto; top: 50%; transform: rotate(-45deg); }
  .nav.is-menu { background: var(--color-paper); box-shadow: 0 var(--rule-hair) 0 var(--color-rule); }
  .nav.is-menu .nav__side--end > :not([data-menu-toggle]) { visibility: hidden; }   /* open: the sheet carries every link and the plan action once */
  [data-nav] .wordmark__name { white-space: nowrap; }
}
/* phones: the button keeps its name for assistive tech but shows the mark only; on the narrowest screens the plan action lives in the sheet */
@media (max-width: 30rem) {
  .nav__menu { padding: 0; justify-content: center; }
  .nav__menu [data-menu-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  [data-nav] .nav__side--end { gap: var(--space-md); }
}
@media (max-width: 23.75rem) { [data-nav] .nav__side--end .btn { display: none; } }
.smenu { position: fixed; inset: 80px 0 0 0; z-index: calc(var(--z-sticky-nav) - 1); background: var(--color-paper); overflow-y: auto; overscroll-behavior: contain; }
.smenu__in { display: flex; flex-direction: column; min-height: 100%; padding: var(--space-lg) var(--gutter) var(--space-xl); box-sizing: border-box; }
.smenu ul { list-style: none; margin: 0; padding: 0; }
.smenu__main li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.smenu__link { display: flex; align-items: center; min-height: 64px; color: var(--color-ink); text-decoration: none; font: var(--display-weight) var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.smenu__link:active, .smenu__minor:active, .nav__menu:active { transform: translateY(1px); }
.smenu__link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.smenu__sub { margin-top: var(--space-lg); }
.smenu__minor { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); font-size: var(--text-md); }
.smenu__act { align-self: flex-start; margin-top: auto; }
.smenu a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.is-menu-open, .is-menu-open body { overflow: hidden; }
@media (min-width: 60.0625rem) { .smenu { display: none; } }
/* run 8: the account link pages/auth-nav.js adds to the nav (only when the accounts API serves the page); on phones it lives in the sheet */
@media (max-width: 60rem) { [data-nav] .nav__acct { display: none; } }
