/* Self-hosted variable fonts — latin subset, generated from Google Fonts 2026-06-16.
   Eliminates the render-blocking googleapis+gstatic round-trip.

   ONE variable woff2 per family/style covers every weight the site uses
   (Outfit 300-700, Cormorant Garamond 400-700 + 600 italic). The weight
   descriptor is a RANGE (e.g. 100 900), so the browser sets the variation
   axis to the requested weight — previously each weight pointed at the same
   file with a single-value descriptor, so bold rendered at the default weight. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Metric-matched fallbacks ───────────────────────────────────────────────
   Overrides computed from the real font metrics (weighted avg char width,
   hhea ascent/descent) so the local fallback renders at nearly the same size
   and line box as the webfont. The swap is then visually near-invisible — no
   jarring multi-step flash and ~zero layout shift (CLS) when the woff2 loads. */
@font-face {
  font-family: 'Outfit Fallback';
  src: local('Arial');
  size-adjust: 98.27%;
  ascent-override: 101.76%;
  descent-override: 26.46%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Cormorant Fallback';
  src: local('Times New Roman');
  size-adjust: 94.71%;
  ascent-override: 97.57%;
  descent-override: 30.30%;
  line-gap-override: 0%;
}
