/* ============================================================
   Reality Breaker — Webfonts
   Self-hosted variable fonts (latin subset).
   Fraunces  : storybook serif, optical-size variable (headlines)
   Inter     : neutral grotesque (body / UI)
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin.woff2") format("woff2");
}

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

/* Metric-matched local fallbacks: pre-swap text occupies the same space as the
   webfont (size-adjust + ascent/descent overrides), so nothing reflows when
   Fraunces / Inter finish loading. */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 92.7%;
  ascent-override: 105.5%;
  descent-override: 26.3%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.64%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}
