/* Top menu on one line on medium screens (7 Nov 2026), for every page with the shared menu. */
@media (min-width: 851px) and (max-width: 1120px) {
  .site-header .nav-inner, .nav-inner { flex-wrap: nowrap; }
  .nav a { padding: 0 clamp(6px, .95vw, 14px); letter-spacing: .04em; white-space: nowrap; }
}
@media (min-width: 851px) and (max-width: 980px) {
  .nav a { padding: 0 6px; font-size: 10.5px; letter-spacing: .02em; }
}
@media (min-width: 851px) and (max-width: 900px) {
  .nav a { padding: 0 4.5px; font-size: 10px; letter-spacing: .01em; }
}
/* 601–850px: the links need about 1000px, so use the phone menu (☰ button, links in a column) instead of two rows. */
@media (min-width: 601px) and (max-width: 850px) {
  .menu-toggle { display: grid; place-items: center; width: 34px; height: 34px; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav-inner, .site-header .nav-inner { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 4px 16px 10px; }
  .nav a { min-height: 44px; padding: 0 10px; border-bottom: 1px solid #3f3f3f; border-left: 3px solid transparent; font-size: 11px; }
  .nav a:hover, .nav a.nav-current, .site-header .nav a:hover, .site-header .nav a:focus-visible, .site-header .nav a.nav-current,
  .site-header .nav a[aria-current="page"], .site-header .nav a[aria-current="location"] { border-bottom-color: #3f3f3f; border-left-color: #f05a18; }
}
