/* LandAnker webfonts
 *
 * Brocha is the only family on the site — both headings
 * (--font-family-headings) and body copy (--font-family).
 *
 * Generated as WOFF2 from the licensed OTF originals kept in /fonts-src/
 * (see fonts-src/README.md for the conversion command).
 *
 * Notes for future edits:
 *  - These are OpenType/CFF fonts, so the format hint must be `woff2` here and
 *    `opentype` (never `truetype`) if an .otf is ever referenced directly.
 *  - Neben den WOFF2 liegen hier Brocha-Regular.otf und Brocha-Bold.otf. Die
 *    holt der Konfigurator, wenn jemand seine Planung als PDF herunterlädt:
 *    pdf-lib bettet Schriften über fontkit ein, und fontkit kann WOFF2 nicht
 *    entpacken. Sie werden von keiner @font-face-Regel geladen.
 *  - No `local()` sources: they made a locally-installed desktop copy win over
 *    the webfont, so the site rendered differently on machines that had Brocha
 *    installed than it did for visitors.
 *  - Brocha's internal usWeightClass values are 350 / 500 / 700 for
 *    Light / Regular / Bold. They are mapped to the conventional CSS steps
 *    300 / 400 / 700 below, which is what the site's stylesheets ask for.
 */

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

@font-face {
    font-family: 'Brocha';
    src: url('/fonts/Brocha-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

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

@font-face {
    font-family: 'Brocha';
    src: url('/fonts/Brocha-RegularItalic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

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

@font-face {
    font-family: 'Brocha';
    src: url('/fonts/Brocha-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}


/* JetBrains Mono (SIL Open Font License), nur für Maße und Messwerte.
 * Latin-Untermenge, Version 5.0.19 von @fontsource/jetbrains-mono.
 * Selbst gehostet, damit die Messwerte auf jedem System gleich aussehen. */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('/fonts/JetBrainsMono-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
