/* Self-hosted Inter (woff2) — removes render-blocking third-party Google Fonts.
   font-display: swap keeps text visible during load for a fast LCP. */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('/static/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('/static/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('/static/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('/static/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:800; font-display:swap; src:url('/static/fonts/inter-800.woff2') format('woff2'); }

/* Metrics-matched fallback: Arial sized to occupy the exact same box as Inter,
   so when Inter finishes loading and swaps in, no text reflows. This is what
   removes the ~0.5 font-swap CLS. Values are the standard Inter/Arial overrides
   (as generated by fontaine / next/font). Referenced in --font after 'Inter'. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0.00%;
  size-adjust: 107.12%;
}
