/* ============================================================
   MEGAWATT IQ — SELF-HOSTED FONTS
   Families: Fraunces (display/serif) · Hanken Grotesk (UI/body) · JetBrains Mono (data/labels)

   All .woff2 files live alongside this file in /assets/fonts/ (latin subset,
   sourced from @fontsource). Link this file FIRST in every page <head> — there
   must be no Google Fonts <link> or fonts.g* preconnect anywhere.

   Recommended preloads for fast first paint:
     <link rel="preload" href="/assets/fonts/hanken-grotesk-latin-400.woff2" as="font" type="font/woff2" crossorigin>
     <link rel="preload" href="/assets/fonts/fraunces-latin-italic-variable.woff2" as="font" type="font/woff2" crossorigin>

   Why self-host: no third-party request (fits the "nothing leaves your machine"
   brand promise), faster repeat loads, no GDPR exposure from Google Fonts.
   ============================================================ */

/* ---- Hanken Grotesk — UI/body. 400/500/600/700 statics cover the site and app. */
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('hanken-grotesk-latin-400.woff2') format('woff2')}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('hanken-grotesk-latin-500.woff2') format('woff2')}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('hanken-grotesk-latin-600.woff2') format('woff2')}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('hanken-grotesk-latin-700.woff2') format('woff2')}

/* ---- Fraunces — display serif + italic accents. Variable (opsz + wght axes),
   one file per style covers 400–600 at every optical size. */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:400 600;font-display:swap;src:url('fraunces-latin-variable.woff2') format('woff2')}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:400 600;font-display:swap;src:url('fraunces-latin-italic-variable.woff2') format('woff2')}

/* ---- JetBrains Mono — data/labels. 400/500 only. */
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('jetbrains-mono-latin-400.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('jetbrains-mono-latin-500.woff2') format('woff2')}

/* Metric-compatible fallback stacks are defined in the token files:
   --serif:'Fraunces',Georgia,serif
   --sans:'Hanken Grotesk',system-ui,-apple-system,sans-serif
   --mono:'JetBrains Mono',ui-monospace,monospace                      */
