/*
 * Self-hosted webfonts. No request leaves the server for these.
 *
 * Archivo carries the interface — labels, buttons, notes. Newsreader carries
 * the words the register is about: the term and the brand it replaced.
 *
 * Both are variable fonts, so one file covers every weight in the declared
 * range. Only the latin and latin-ext subsets are included; the other subsets
 * Google offers are not needed for a Dutch site.
 *
 * The declared ranges are the ones the files actually carry, which is wider
 * than what the design uses (400-600). Google serves one file per set of axes
 * and only narrows the declaration, so asking for less would not have saved a
 * byte — it would only have made the weights above 600 synthetic.
 *
 * Newsreader is the build *with* the optical-size axis. That axis is why the
 * file is 132 kB where the plain weight-only build is 58 kB, and it earns it
 * here: browsers apply opsz automatically from the font size, so the term set
 * at 34px gets finer hairlines and tighter spacing than the same face scaled
 * up from a text design. Archivo is the weight-only build — its width axis is
 * never used, and dropping it halved the file.
 *
 * To refresh (after a font update, say): fetch
 *   https://fonts.googleapis.com/css2?family=Archivo:wght@100..900&family=Newsreader:opsz,wght@6..72,200..800&display=swap
 * with a browser user agent, download the woff2 files it points at, and update
 * the rules below. Requesting fewer axes than these gets you a different,
 * smaller file — which is the trade above, not a free win. Both fonts are SIL
 * Open Font License 1.1; see the OFL files next to the woff2 files in
 * wwwroot/fonts/.
 */

@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url("/fonts/archivo-latin.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: "Archivo";
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Newsreader";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("/fonts/newsreader-latin.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: "Newsreader";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("/fonts/newsreader-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
