/* Self-hosted Latin subsets, Cormorant Garamond (display) + Raleway (body/UI).
   Two families only (kit rule). These are VARIABLE fonts: one file per family
   carries the whole weight axis, so every declared weight (500/600/700 etc.)
   renders as a real interpolated cut, not a browser-synthesized faux-bold.
   Served from /assets/fonts so the site has no third-party requests.

   Cut below Google's latin subset by ops/subset-fonts.py (worth ~33KB in the
   LCP window); unicode-range below is exactly what survived. New copy characters
   must be added there -- `ops/subset-fonts.py --check` is the gate. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(cormorant-garamond-var.woff2) format('woff2');
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00AD-00AE, U+00B0, U+00B7, U+00D7, U+2002, U+2009, U+200B, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2122, U+2191, U+2193, U+2212, U+FEFF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(cormorant-garamond-italic-var.woff2) format('woff2');
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00AD-00AE, U+00B0, U+00B7, U+00D7, U+2002, U+2009, U+200B, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2122, U+2191, U+2193, U+2212, U+FEFF;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(raleway-var.woff2) format('woff2');
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00AD-00AE, U+00B0, U+00B7, U+00D7, U+2002, U+2009, U+200B, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2122, U+2191, U+2193, U+2212, U+FEFF;
}

/* Metric-matched fallbacks: with font-display: swap, a slow font fetch would
   otherwise reflow the page when the webfont lands (the four-line display
   heading is the worst case). These overrides reshape the local fallback to
   the webfont's measured metrics so the swap is invisible. Values computed
   from the actual font tables (fontTools, hhea + OS/2 xAvgCharWidth). */
@font-face {
  font-family: 'Cormorant Garamond Fallback';
  src: local('Georgia');
  size-adjust: 122.74%;
  ascent-override: 75.28%;
  descent-override: 23.38%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Raleway Fallback';
  src: local('Arial');
  size-adjust: 128.23%;
  ascent-override: 73.31%;
  descent-override: 18.25%;
  line-gap-override: 0%;
}
