/* Site menu, shared by both header styles (.top in styles.css, .site-head
   in pages.css). Same markup on every public page; menu.js marks the
   current page and runs the phone toggle. Without JS the links simply
   wrap, so nothing is ever unreachable.

   Audience is adults 50+: links are 18px and every target is at least
   48px tall. */
.menu__toggle { display: none; }
.menu__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px;
}
.menu__list a {
  display: inline-flex; align-items: center; min-height: 48px;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  color: var(--ink-2, #AEBECC);
  border-bottom: 2px solid transparent;
}
.menu__list a:hover,
.menu__list a[aria-current="page"] {
  color: var(--ink, #EDF2F7);
  border-bottom-color: var(--accent, #3B8FE0);
}
.menu__list a:focus-visible,
.menu__toggle:focus-visible { outline: 3px solid var(--accent, #3B8FE0); outline-offset: 3px; }

/* Inline (wide screens): one row that never wraps. Home is dropped here
   because the logo beside it is the home link; it stays in the drop-down. */
.menu--inline { flex: none; }
.menu--inline .menu__list { flex-wrap: nowrap; }
.menu--inline .menu__list li:first-child { display: none; }
.top__tel { white-space: nowrap; }

/* Collapsed: menu.js sets .menu--collapsed under 1280px (the full row needs ~1,175px), and always on a
   nav marked data-compact (the centred-logo headers on articles, which
   have no room for a row of links). */
.menu--collapsed .menu__toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px;
  font: 600 1.05rem/1 var(--sans, "Public Sans", system-ui, sans-serif);
  color: var(--ink, #EDF2F7); background: transparent; cursor: pointer;
  border: 1px solid rgb(174 190 204 / 0.55); border-radius: 999px;
}
.menu--collapsed .menu__toggle::before {
  content: ""; width: 18px; height: 12px;
  border-block: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
.menu--collapsed .menu__toggle[aria-expanded="true"]::before {
  border: 0; height: 18px;
  background:
    linear-gradient(45deg, transparent 45%, currentColor 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, currentColor 45% 55%, transparent 55%);
}
/* Drops from the bottom of the fixed/absolute header, full width. */
.menu--collapsed .menu__list {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
  flex-direction: column; align-items: stretch; gap: 0;
  padding: 8px max(24px, calc((100vw - 1152px) / 2)) 28px;
  background: var(--ground, #0A1017);
  border-bottom: 1px solid rgb(174 190 204 / 0.25);
  max-height: calc(100svh - 64px); overflow-y: auto;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.45);
}
.menu--collapsed .menu__list.is-open { display: flex; }
.menu--collapsed .menu__list a {
  width: 100%; min-height: 58px; font-size: 1.2rem;
  border-bottom: 1px solid rgb(174 190 204 / 0.18);
}
.menu--collapsed .menu__list a[aria-current="page"] { border-bottom-color: var(--accent, #3B8FE0); }
/* The long CTA label shortens to "Book" where the menu button needs the room. */
@media (max-width: 700px) {
  .cta-long { display: none; }
}

/* btn--sm computes to 14px, under this audience's 15px floor (see the
   note in modesto.html). The header button is the one every page shares. */
.top .btn--sm { font-size: 1rem; }
