/*!
 * Thmanyah Sans — the site and dashboard typeface.
 *
 * Self-hosted rather than loaded from a CDN: it is not on Google Fonts, and
 * the files are served from the same origin the pages come from, so there is
 * no third-party request before text can paint.
 *
 * woff2 only. Every browser that can run this dashboard supports it, and the
 * otf originals are roughly three times the size for the same glyphs.
 *
 * font-display:swap — text renders immediately in the fallback and reflows
 * when the face arrives. The alternative is an invisible page for however
 * long the download takes.
 */

@font-face {
    font-family: "Thmanyah";
    src: url("../fonts/thmanyah/thmanyahsans-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: "Thmanyah";
    src: url("../fonts/thmanyah/thmanyahsans-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Thmanyah";
    src: url("../fonts/thmanyah/thmanyahsans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* The design uses 800 and 900 in places; both map to Black, the heaviest
   weight shipped, so the browser does not synthesise a fake bold. */
@font-face {
    font-family: "Thmanyah";
    src: url("../fonts/thmanyah/thmanyahsans-Black.woff2") format("woff2");
    font-weight: 800 900;
    font-style: normal;
    font-display: swap;
}
