/* Bundled typeface.

   Source Serif 4, SIL Open Font License 1.1 (static/fonts/OFL.txt).

   Vendored rather than fetched from a CDN, for the same reason HTMX and
   Alpine are: an IRB-governed platform should not hand a third party a
   request log of who read their profile and when.

   It is bundled at all because the previous stack — "Iowan Old Style",
   "Palatino Linotype", Georgia — resolves to none of those on the Linux
   deployment target. The document would silently fall back to whatever
   generic serif the container happened to carry, so what a participant
   received depended on the server rather than on the design. Embedding the
   face makes the profile render identically everywhere, on screen and in
   the PDF.

   Chosen for long-form reading on screen *and* in print: this is a document
   meant to be read slowly and often printed. Its larger x-height also reads
   more clearly at body size than an old-style face would, which matters for
   WCAG 2.2 AA (NFR-10).

   One variable file covers the 400 and 600 weights; italic is separate. */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;   /* variable axis range */
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.e9192c2fe0a3.woff2") format("woff2");
  /* Latin only — the instrument is English-language, and shipping the
     cyrillic/greek subsets would triple the payload for nothing. */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
                 U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-italic.c43c9461f66c.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
                 U+FFFD;
}
