/* Self-hosted webfonts — fetched at build time via scripts/fetch-fonts.sh.
   font-display: swap to keep LCP fast even before fonts settle.

   Brand spec (April 2026):
   - Display / UI: Inter Variable
   - Body serif:   EB Garamond 12 (variable)
   - Mono:         Latin Modern Mono

   EB Garamond ships as WOFF2 variable; Latin Modern Mono ships as WOFF
   only — all evergreen browsers support both formats. */

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

@font-face {
  font-family: "EB Garamond 12";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/EBGaramond-Variable.woff2") format("woff2-variations"),
       url("/static/fonts/EBGaramond-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond 12";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/EBGaramond-Italic-Variable.woff2") format("woff2-variations"),
       url("/static/fonts/EBGaramond-Italic-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Latin Modern Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/LatinModernMono-Regular.woff") format("woff");
}
@font-face {
  font-family: "Latin Modern Mono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/LatinModernMono-Italic.woff") format("woff");
}
@font-face {
  font-family: "Latin Modern Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/LatinModernMono-Bold.woff") format("woff");
}
@font-face {
  font-family: "Latin Modern Mono";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/LatinModernMono-BoldItalic.woff") format("woff");
}
