/*
 * Self-hosted webfonts. No request leaves the server for these.
 *
 * Albert Sans carries the interface and the reading — labels, buttons, the
 * stories, the notes. Bodoni Moda carries the brands, wherever one stands,
 * running text included, and the headings.
 *
 * 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 and an English list.
 *
 * Bodoni Moda is the build with the optical-size axis: browsers apply opsz
 * from the font size, so a brand at 48px gets finer hairlines than the same
 * face at 17px, which is what a Bodoni is drawn for. Only 400 and 500 are
 * asked for, the two weights the design uses; its italic is there for one
 * place, the joke on the 404, and a browser only fetches it once something
 * on the page is set in it. So no rule asks Bodoni for more than 500: a 600
 * gets a bold the browser smears on by itself, and every browser smears it
 * differently.
 *
 * Albert Sans has its italic too, for *emphasis* in a story or a note, so
 * it is the face's own italic and not the upright leaned over.
 *
 * The files are Google's subsets as they come, not cut down here: neither
 * licence names a Reserved Font Name, but a subset of our own would be a
 * modified font all the same, and these need no renaming.
 *
 * To refresh (after a font update, say): fetch
 *   https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,300..700;1,300..700&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..500;1,6..96,400..500&display=swap
 * with a browser user agent, download the latin and latin-ext woff2 files it
 * points at, and update the rules below. 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: "Albert Sans";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("/fonts/albert-sans-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: "Albert Sans";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("/fonts/albert-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Albert Sans";
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url("/fonts/albert-sans-italic-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: "Albert Sans";
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url("/fonts/albert-sans-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Bodoni Moda";
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url("/fonts/bodoni-moda-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: "Bodoni Moda";
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url("/fonts/bodoni-moda-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Bodoni Moda";
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url("/fonts/bodoni-moda-italic-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: "Bodoni Moda";
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url("/fonts/bodoni-moda-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
