/*
 * Montserrat and Open Sans, served from this domain.
 *
 * Google hands out one variable font per family per subset, and it covers the
 * whole weight axis - the files it returned for weights 300, 400 and 700 came
 * back byte for byte identical. So four files replace the ten static ones the
 * site was downloading, every weight still works, and nothing in the design
 * has to change.
 *
 * Measured on the live home page before this file existed:
 *   10 files from fonts.gstatic.com    233 KB
 *   4 files from this domain           188 KB, of which 84 KB is Latin
 *
 * latin-ext is declared but rarely fetched: unicode-range means the browser
 * only asks for it when the page contains a character from that block. An
 * ordinary English page pays 84 KB.
 */

/* Montserrat - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    /* One variable face for the whole axis, so 300, 400, 500, 600, 700 and 800
       all resolve without another request. */
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/montserrat-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;
}

/* Montserrat - latin-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    /* One variable face for the whole axis, so 300, 400, 500, 600, 700 and 800
       all resolve without another request. */
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/montserrat-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;
}

/* Open Sans - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    /* One variable face for the whole axis, so 300, 400, 500, 600, 700 and 800
       all resolve without another request. */
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/open-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;
}

/* Open Sans - latin-ext */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    /* One variable face for the whole axis, so 300, 400, 500, 600, 700 and 800
       all resolve without another request. */
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/open-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
