/* ==========================================================================
   Self-hosted fonts (assets/fonts, latin subset, from Google Fonts — SIL OFL)
   Inter & Sora are variable fonts: one file covers every weight.

   The "… Fallback" faces are Arial resized to each web font's measured width
   and line metrics, so text doesn't jump (layout shift) when the real font
   swaps in. Re-measure if you change fonts.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../../assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../../assets/fonts/sora-latin-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Michroma";
  src: url("../../assets/fonts/michroma-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallbacks */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.22%;
  ascent-override: 90.47%;
  descent-override: 22.38%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Sora Fallback";
  src: local("Arial");
  size-adjust: 108.52%;
  ascent-override: 89.38%;
  descent-override: 26.72%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Michroma Fallback";
  src: local("Arial");
  size-adjust: 144.62%;
  ascent-override: 80.21%;
  descent-override: 18.67%;
  line-gap-override: 0%;
}
