/* Self-hosted Quicksand/Lato - replaces the fonts.bunny.net @import in
   main.css (removed there) so the site has one font source instead of two,
   with font-display: swap so text never waits invisibly for the font. */

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../frontend/fonts/lato-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../frontend/fonts/lato-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../frontend/fonts/lato-900.woff2') format('woff2');
}

/* Quicksand is shipped as a variable font - one file covers every weight;
   the browser picks the right instance per the font-weight declared here. */
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../frontend/fonts/quicksand-var.woff2') format('woff2');
}
