/* AlpsCraft ERP — self-hosted variable fonts (CSP-safe, no external fetch).

   Brand-aligned with adventures.alpscraft.at:
     Inter (sans, body/UI) + Fraunces (serif, display with opsz axis) + JetBrains Mono.

   All three are variable woff2 — Inter & Fraunces have italic counterparts,
   JetBrains Mono is upright-only. The `format('woff2-variations')` hint enables
   font-variation-settings in modern browsers; the `format('woff2')` fallback
   covers any UA that lags on the new format string. */


/* Inter — body & UI text. Variable weight 100–900. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/InterVariable-2bf3d951bf9d6109437ea0874bbf12fb.woff2') format('woff2-variations'),
         url('/fonts/InterVariable-2bf3d951bf9d6109437ea0874bbf12fb.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/InterVariable-Italic-8d1dc86da25893737b6bb8a9c64b790e.woff2') format('woff2-variations'),
         url('/fonts/InterVariable-Italic-8d1dc86da25893737b6bb8a9c64b790e.woff2') format('woff2');
}


/* Fraunces — display headings. Variable opsz (9–144) + wght (100–900).
   Use `font-variation-settings: 'opsz' N` on h1/h2/hero per fonts default rules. */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/Fraunces-Variable-9a18143814559c6670ec34a76bddd118.woff2') format('woff2-variations'),
         url('/fonts/Fraunces-Variable-9a18143814559c6670ec34a76bddd118.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/Fraunces-Variable-Italic-7c1d820d2597461b3d47758c4111c829.woff2') format('woff2-variations'),
         url('/fonts/Fraunces-Variable-Italic-7c1d820d2597461b3d47758c4111c829.woff2') format('woff2');
}


/* JetBrains Mono — code, identifiers, license keys, tabular numerals. */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('/fonts/JetBrainsMono-Variable-b058178d7f309414f8f856b99fd80d9b.woff2') format('woff2-variations'),
         url('/fonts/JetBrainsMono-Variable-b058178d7f309414f8f856b99fd80d9b.woff2') format('woff2');
}


/* Backward-compat aliases for the previous 'Geist' / 'Geist Mono' references
   that may still exist in inline styles or older templates. Resolves to Inter
   / JetBrains Mono. Remove after a sweep of templates in phase 6/7. */
@font-face {
    font-family: 'Geist';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/InterVariable-2bf3d951bf9d6109437ea0874bbf12fb.woff2') format('woff2-variations'),
         url('/fonts/InterVariable-2bf3d951bf9d6109437ea0874bbf12fb.woff2') format('woff2');
}
@font-face {
    font-family: 'Geist Mono';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('/fonts/JetBrainsMono-Variable-b058178d7f309414f8f856b99fd80d9b.woff2') format('woff2-variations'),
         url('/fonts/JetBrainsMono-Variable-b058178d7f309414f8f856b99fd80d9b.woff2') format('woff2');
}
