/* The full-screen menu, opened from the header (the menu controller). */
.cipri-overlay { position: fixed; inset: 0; z-index: 80; background: var(--green-deep); color: var(--cream); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); overflow-y: auto; }
.cipri-overlay .cipri-wrap { width: 100%; }
.cipri-overlay .cipri-overlay-top { height: var(--hh); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.cipri-overlay .cipri-brand img { height: 44px; width: auto; }  /* the logo keeps its full height here on phones too */
.cipri-overlay nav { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 2vh, 22px); padding-block: 32px 48px; text-align: center; }
.cipri-overlay nav > a { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 5vw, 3.2rem); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; line-height: 1.1; }
.cipri-overlay nav > a:hover, .cipri-overlay nav > a[aria-current="page"] { color: var(--orange); }
.cipri-overlay .cipri-overlay-meta { font-size: .95rem; color: var(--cream-dim); margin-top: 18px; }
/* The page links are the nav's own children (nav > a), so the number's link in the line under
   them stays the line's size: iOS Safari had made a link of the bare number, which took theirs. */
.cipri-overlay .cipri-overlay-meta a { text-decoration: none; }
.cipri-overlay .cipri-overlay-meta a:hover { color: var(--cream); }
.cipri-overlay .cipri-overlay-top .cipri-btn-book { justify-self: end; min-height: 42px; padding: .55em 1.2em; font-size: .85rem; }

@media (max-width: 760px) {
  .cipri-overlay .cipri-overlay-top .cipri-btn-book { min-height: 48px; }
  .cipri-overlay .cipri-overlay-top .cipri-btn { white-space: nowrap; }
}

/* A phone on its side (or any screen this short): the links and the line under them are scaled
   to the height, so the whole menu fits with nothing to scroll to (Geoff's QA, 16 Nov 2026).
   Each link stays above WCAG's 24px target. */
@media (orientation: landscape) and (max-height: 500px) {
  .cipri-overlay nav { gap: 2px; padding-block: 4px 16px; }
  .cipri-overlay nav > a { font-size: clamp(1.25rem, 6.4vh, 1.9rem); }
  .cipri-overlay .cipri-overlay-meta { margin-top: 8px; }
}
