/* Instrument Sans, self-hosted fallback.
   Each @font-face tries the bunny.net CDN file first, then falls back to
   the local copy in public/fonts/ if the CDN request fails (network error,
   CDN outage, blocked domain, etc.) — the browser tries each src in order
   and stops at the first one that loads successfully. */

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src:
        url(https://fonts.bunny.net/instrument-sans/files/instrument-sans-latin-400-normal.woff2) format('woff2'),
        url(https://fonts.bunny.net/instrument-sans/files/instrument-sans-latin-400-normal.woff) format('woff'),
        url(../fonts/InstrumentSans-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src:
        url(https://fonts.bunny.net/instrument-sans/files/instrument-sans-latin-500-normal.woff2) format('woff2'),
        url(https://fonts.bunny.net/instrument-sans/files/instrument-sans-latin-500-normal.woff) format('woff'),
        url(../fonts/InstrumentSans-Medium.woff2) format('woff2');
}

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src:
        url(https://fonts.bunny.net/instrument-sans/files/instrument-sans-latin-600-normal.woff2) format('woff2'),
        url(https://fonts.bunny.net/instrument-sans/files/instrument-sans-latin-600-normal.woff) format('woff'),
        url(../fonts/InstrumentSans-SemiBold.woff2) format('woff2');
}

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src:
        url(https://fonts.bunny.net/instrument-sans/files/instrument-sans-latin-700-normal.woff2) format('woff2'),
        url(https://fonts.bunny.net/instrument-sans/files/instrument-sans-latin-700-normal.woff) format('woff'),
        url(../fonts/InstrumentSans-Bold.woff2) format('woff2');
}
