/*
 * TŌDAI brand faces — all three, all self-hosted.
 * Todai_communicatieconcept_herwerking.pdf p20.
 *
 *   Ubuntu              functional text
 *   Advercase           titles and quotes
 *   Belmonte Ballpoint  the handwritten accent, for the curving lines that
 *                       flow alongside imagery — never body copy
 *
 * SELF-HOSTED, INCLUDING UBUNTU, and that is a deliberate change. Ubuntu was
 * coming from Google Fonts, which means every visitor's browser announced
 * itself to a third party before the page could paint. On a site about
 * addiction at work that is a visitor-privacy question, not just a
 * performance one, and the Ubuntu Font Licence permits redistribution. There
 * are now ZERO external font requests.
 *
 * The faces are SUBSET to latin + latin-ext. The supplied TTFs carry full
 * Unicode (Cyrillic, Greek) at ~124 KB per weight; subset they are ~26 KB, so
 * self-hosting costs less over the wire than the Google request it replaced.
 * Dutch lives entirely inside latin-1; latin-ext is carried for names.
 *
 * Ubuntu ships 300/400/500/700. The stylesheet asks for 600 in thirty places
 * and Ubuntu has no 600 — the browser resolves that to Bold, which is the
 * intended weight anyway.
 */

/* ---- Ubuntu — functional text ---------------------------------------- */
@font-face {
    font-family: 'Ubuntu';
    src: url('Ubuntu-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('Ubuntu-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('Ubuntu-400i.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('Ubuntu-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('Ubuntu-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---- Advercase — titles and quotes ------------------------------------ */
/* font-display:swap — the page paints in Ubuntu and reflows to Advercase.
   `block` would leave headings invisible on a slow connection, and headings
   are the first thing a reader needs. */
@font-face {
    font-family: 'Advercase';
    src: url('Advercase-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Advercase';
    src: url('Advercase-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---- Belmonte Ballpoint — the handwritten accent ----------------------
   The PRINT cut, which is the one p20 names. The package also ships a
   Cursive cut; it is not the specified face and is not loaded.

   LICENCE, UNRESOLVED: the supplied archive is
   "Typeheist-Belmonte-Ballpoint-Desktop-Package". A DESKTOP licence
   conventionally does not cover webfont embedding, and the readme only links
   to typeheist.co/licensing rather than stating terms. Nothing on the site
   uses this face yet — the deck restricts it to the curving lines beside
   imagery, and those are currently baked into the banner artwork — so this
   declaration is inert until something asks for @todai-font-hand. Confirm the
   web licence with Typeheist before it is used in anger. */
@font-face {
    font-family: 'Belmonte Ballpoint';
    src: url('BelmonteBallpoint-Print.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
