/*
 * fonts.css
 * Self-hosted variable font declarations.
 * Replaces all Google Fonts and Font Awesome CDN calls.
 *
 * Fonts:
 *   Oswald          — headings, brand wordmarks
 *   Open Sans       — body copy, UI
 *   Source Sans 3   — admin UI
 *
 * Font Awesome 7 is loaded via /assets/css/fontawesome.min.css
 * with webfonts served from /assets/fonts/fontawesome/
 */

/* ── Oswald (variable weight 100–900) ─────────────────────────────────── */
@font-face {
    font-family: 'Oswald';
    src: url('/assets/fonts/oswald/Oswald-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ── Open Sans (variable weight + width) ──────────────────────────────── */
@font-face {
    font-family: 'Open Sans';
    src: url('/assets/fonts/opensans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/assets/fonts/opensans/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ── Source Sans 3 (variable weight) ─────────────────────────────────── */
@font-face {
    font-family: 'Source Sans 3';
    src: url('/assets/fonts/sourcesans3/SourceSans3-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('/assets/fonts/sourcesans3/SourceSans3-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
