/**
 * IBM 3270 Nerd Font - Mainframe Terminal Aesthetic
 * Self-hosted web fonts for the entire site
 */

/* 3270 Nerd Font - Regular (Proportional) */
@font-face {
    font-family: '3270 Nerd Font';
    src: url('../fonts/3270NerdFont-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '3270 Nerd Font';
    src: url('../fonts/3270NerdFont-SemiCondensed.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '3270 Nerd Font';
    src: url('../fonts/3270NerdFont-Condensed.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* 3270 Nerd Font Mono - Fixed Width (Best for code) */
@font-face {
    font-family: '3270 Nerd Font Mono';
    src: url('../fonts/3270NerdFontMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '3270 Nerd Font Mono';
    src: url('../fonts/3270NerdFontMono-SemiCondensed.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '3270 Nerd Font Mono';
    src: url('../fonts/3270NerdFontMono-Condensed.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* 3270 Nerd Font Propo - Proportional variant */
@font-face {
    font-family: '3270 Nerd Font Propo';
    src: url('../fonts/3270NerdFontPropo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '3270 Nerd Font Propo';
    src: url('../fonts/3270NerdFontPropo-SemiCondensed.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '3270 Nerd Font Propo';
    src: url('../fonts/3270NerdFontPropo-Condensed.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/**
 * Font Stack Variables
 * Use these throughout the site for consistent typography
 */
:root {
    /* Monospace - for code, terminals, technical text */
    --font-mono: '3270 Nerd Font Mono', 'JetBrains Mono', 'Courier New', monospace;

    /* Proportional - for UI elements that benefit from terminal aesthetic */
    --font-terminal: '3270 Nerd Font', 'Exo 2', monospace;

    /* Display font - using 3270 for terminal aesthetic, fallback to Exo 2 */
    --font-display: '3270 Nerd Font', 'Exo 2', sans-serif;

    /* Fallback to Exo 2 if 3270 fails to load */
    --font-sans: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
}
