/* Theme fonts - centralized @font-face declarations */
@font-face {
    font-family: 'Mona Sans';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url('../fonts/Mona_Sans/MonaSans-VariableFont_wdth,wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Mona Sans';
    font-style: italic;
    font-weight: 200 900;
    font-display: swap;
    src: url('../fonts/Mona_Sans/MonaSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
}

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

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/IBM_Plex_Mono/IBMPlexMono-Italic.ttf') format('truetype');
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/IBM_Plex_Mono/IBMPlexMono-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/IBM_Plex_Mono/IBMPlexMono-BoldItalic.ttf') format('truetype');
}

/* Optional: Define UI stacks using theme fonts as first choice */
:root {
    --font-sans: 'Mona Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Brier', 'Times New Roman', serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

html, body {
    font-family: var(--font-sans);
}
