/*
 * Self-hosted Playfair Display, Caveat, and Open Sans.
 *
 * Both WOFF2 and TTF formats are declared without unicode-range splitting
 * so that all character sets (Latin, Latin-Ext, Cyrillic) load consistently
 * across all browser previews and PDF generators.
 *
 * Licence: SIL Open Font License 1.1 — see ../fonts/OFL-*.txt.
 */

/* ==========================================================================
   Playfair Display
   ========================================================================== */

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/playfair-display-latin.woff2') format('woff2'),
         url('../fonts/ttf/PlayfairDisplay-400.ttf') format('truetype');
}

/* ==========================================================================
   Caveat
   ========================================================================== */

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

@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Caveat-600.woff2') format('woff2'),
         url('../fonts/ttf/Caveat-600.ttf') format('truetype');
}

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

/* ==========================================================================
   Open Sans
   ========================================================================== */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/open-sans-latin.woff2') format('woff2'),
         url('../fonts/ttf/OpenSans-400.ttf') format('truetype');
}