/* Custom Fonts for FinelySourced */

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

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

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

@font-face {
    font-family: 'InstrumentSerif';
    src: url('/fonts/InstrumentSerif-Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

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

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

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

@font-face {
    font-family: 'InstrumentSans';
    src: url('/fonts/InstrumentSans-Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Apply fonts immediately */
html, body {
    font-family: 'InstrumentSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

h1 {
    font-family: 'InstrumentSerif', Georgia, 'Times New Roman', serif !important;
    font-weight: 700 !important;
}

h2, h3, h4, h5, h6 {
    font-family: 'InstrumentSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 600 !important;
}

p {
    font-family: 'InstrumentSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 400 !important;
} 