/*
 * The site's three typefaces, served from the site itself so no page calls a third-party font service.
 * All three are open-licence (SIL Open Font License). The layout only links this file once the font
 * files are in ../fonts/; until then the system fallbacks in site.css's font tokens are used.
 * How to add the files: Documentation/fonts.md.
 */

/* ---------- Archivo: headlines and titles (weights 400 to 750) ---------- */

@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 900;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url("../fonts/archivo-variable.woff2") format("woff2");
}

/* ---------- Hanken Grotesk: body text (weights 400 to 600) ---------- */

@font-face {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/hanken-grotesk-variable.woff2") format("woff2");
}

/* ---------- IBM Plex Mono: labels and numbers (weights 400 and 500) ---------- */

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}
