/* ============================================================
   PRIMITIVES — Fonts
   Self-hosted variable web fonts (latin subset, SIL OFL — licences
   in assets/fonts/). Self-hosted rather than a Google Fonts <link>
   so a page view makes no third-party request.

   The Inter face is declared under the family name "Inter" on
   purpose: an @font-face family shadows any locally installed
   font of the same name. Before this file existed the theme only
   *named* Inter, so a machine with a partial install (Inter Bold
   alone) rendered every weight bold, and a machine without Inter
   fell through to Avenir or Helvetica.

   Source Serif 4 backs the serif stack wherever Iowan Old Style
   (Apple-only) is missing. A face downloads only when a page
   actually uses it.
   ============================================================ */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../../../fonts/inter-latin-wght.woff2") format("woff2-variations"),
         url("../../../fonts/inter-latin-wght.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;
}

@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url("../../../fonts/source-serif-4-latin-wght.woff2") format("woff2-variations"),
         url("../../../fonts/source-serif-4-latin-wght.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;
}

@font-face {
    font-family: "Source Serif 4";
    font-style: italic;
    font-weight: 200 900;
    font-display: swap;
    src: url("../../../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2-variations"),
         url("../../../fonts/source-serif-4-latin-wght-italic.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;
}
