/* Header and mobile menu fixes (client, Dec 2026). Loaded right after /hla2/assets/site.css on every page
   (the home and all inner pages), so Peter's site.css stays untouched.
   1. "Donate" always in view: the header never hides on scroll (the .scrolled background stays), and phones
      get a compact Donate pill next to the Menu button. It stays visible while the menu is open.
   2. The open mobile menu scrolls: #ovl carries data-lenis-prevent (Lenis leaves its wheel/touch events
      alone), and scrolling stays inside the overlay. Its Donate button is a normal pill again. */

/* 1. header never hides (site.js still toggles .hide; it no longer moves the header) */
.hdr.hide { transform: none; }

/* 2. mobile menu overlay */
.ovl { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.ovl-in > a.btn {                       /* .ovl-in>a (serif 34px, padding 4px 0) was squashing it into a circle */
  flex: none; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center;
  height: 54px; margin-top: 28px; padding: 0 34px; font: 500 15px/1 var(--sans); letter-spacing: .04em; white-space: nowrap;
}

/* phones and tablets (site.css hides the header Donate at <= 1080px) */
@media (max-width: 1080px) {
  .hdr { gap: 10px; }
  .hdr .hdr-give {
    display: inline-flex; margin-left: auto; flex: none;
    height: 38px; padding: 0 18px; font-size: 13px; letter-spacing: .04em; white-space: nowrap;
  }
  .hdr .menu-btn { margin-left: 6px; flex: none; }
  .hdr .brand { flex: none; }
}
@media (max-width: 380px) {
  .hdr { gap: 8px; }
  .hdr .hdr-give { height: 34px; padding: 0 14px; font-size: 12.5px; }
  .hdr .menu-btn { gap: 8px; font-size: 12px; letter-spacing: .1em; margin-left: 2px; }
  .hdr .brand img { height: 38px; }
}
@media (max-width: 340px) {
  .hdr .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* icon only; the word stays for screen readers */
}
