/* Self-hosted font faces for instances with self_host_fonts: true.
   Relative URLs resolve from /static/css/ to /static/fonts/ under any base path,
   so a self-hosting instance makes no third-party requests. */

@font-face {
    font-family: "Lacquer";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lacquer.woff2") format("woff2");
}

@font-face {
    font-family: "Share Tech Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/share-tech-mono.woff2") format("woff2");
}

/* Night City (facelift direction A): the heading, body and mono faces of
   wiki/themes/night-city.yaml. Weights not shipped here are synthesized from
   the nearest declared weight by the browser, never fetched from a CDN. */

@font-face {
    font-family: "Chakra Petch";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/chakra-petch-600.woff2") format("woff2");
}

@font-face {
    font-family: "Chakra Petch";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/chakra-petch-700.woff2") format("woff2");
}

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

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans-600.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");
}

@font-face {
    font-family: "CRT-64";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/crt-64-webfont.woff2") format("woff2");
}

/* The journal's faces (port phase 1), copied from the Go production instance. */
@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/spectral-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/spectral-bold.woff2") format("woff2");
}

@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/source-sans-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/source-sans-bold.woff2") format("woff2");
}
