/* =========================
   Inter — local self-hosted
   =========================

   Primary: one variable file covering weights 100–900.
   Fallback: static weights for browsers without
   variable-font support (very old; rarely needed in 2026).

   Paths assume this file lives in /css/ and fonts in
   /assets/fonts/ — same relative layout as style.css.
*/

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

/* --- Static fallbacks (only used if variable isn't applied) --- */
@font-face {
  font-family: "Inter static";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter static";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Inter static";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter static";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/Inter-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter static";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/Inter-ExtraBold.woff2") format("woff2");
}
