/*
 * Fixes on Tess's /events page, kept outside the imported HTML: scripts/import-events-page.mjs links this file at the
 * end of <head> on every import and never deletes it. Hand-written; each rule says why.
 */

/* 1. Text jumping as the page loads: until Host Grotesk has loaded, Arial at its measures (the values next/font
 *    computes for the home), so the lines do not move when the font swaps in. Same fix as /start. */
@font-face { font-family: "Host Grotesk Fallback"; src: local("Arial"); ascent-override: 96.69%; descent-override: 30.01%; line-gap-override: 0%; size-adjust: 104.98% }
html:root { --f: "Host Grotesk", "Host Grotesk Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif }

/* 2. Phones held sideways: the page hides its navbar after 3 s (Tess's script, pointed at the site navbar by the
 *    import); the site navbar slides away the same way. */
html body .snav { transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .35s }
html body .snav.auto-hide { transform: translateY(-120%); opacity: 0; pointer-events: none }
