/* ---- Page layout: one header, one page edge ---------------------------------------
   Every page, current and future, follows these rules (DESIGN_SYSTEM.md → "Page layout"):
   1. The page's container pads its sides with var(--gutter). No page sets its own side padding.
   2. The header is <header class="site-header"><ap-lockup></ap-lockup> …</header>, first in that container.
   3. Pages may recolour the logo for a dark look (--lockup-ink, --lockup-tag, --lockup-mark), never resize or move it.
   Footers stay each page's own: the event pages' footer card, the events page's one line, the documents' links.
   test/e2e/layout.suite.mjs checks every page against these rules.                      */

ap-lockup { display: contents; }
/* The logo is artwork, not text: its sizes are fixed px on purpose, so it keeps its proportions
   whatever the Text Size (the one exception to "no pixel font sizes"). */

.site-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  min-height: calc(56px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }

.lockup { display: flex; align-items: center; gap: 18px; min-width: 0; min-height: 44px; color: var(--color-text); text-decoration: none; }
.brand-mark { display: block; flex: none; width: auto; height: 32px; aspect-ratio: 39 / 51; }
.lockup-name { display: block; font-family: var(--font-serif); font-size: 20px; font-weight: 600; line-height: 1.05; letter-spacing: -0.012em;
  color: var(--lockup-ink, var(--brand-ink)); white-space: nowrap; }
.lockup-tag { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--lockup-tag, var(--color-text-muted)); }
@media (max-width: 400px) { .site-header .lockup-name { font-size: 17px; } }   /* the header's name steps down to fit its icons */
@media (max-width: 359px) { .lockup-name { font-size: 15px; } }
