/* Self-hosted Manrope + Inter — latin subset only.
 *
 * ONE FILE PER FAMILY, ON PURPOSE (audit 2026-08-15). The ten per-weight files
 * this replaced were MD5-identical five-way duplicates: each was already the
 * VARIABLE font (Inter wght 100–900, Manrope wght 200–800), saved under five
 * weight-named filenames and declared as five single-weight faces — so every
 * page downloaded the same bytes up to five times per family (~283KB of a
 * 607KB profile). The two faces below serve every weight from the same bytes
 * the browser was already rendering; the collapse is byte-identical by
 * construction, verified via fontTools (fvar axes) and md5 before the change.
 */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallback for Manrope, referenced as the 2nd family in
   `Manrope, 'Manrope Fallback', sans-serif` across profile/properties/
   project-detail/mortgage CSS. Overrides Arial's metrics to match Manrope's
   own (unitsPerEm 2000, ascent 2132, descent -600, lineGap 0, xWidthAvg 887)
   so the swap from this fallback to the real Manrope produces zero layout
   shift. Values computed from the real woff2 via Capsize. CONCERNS.md C14. */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial'), local('ArialMT');
  ascent-override: 107.153%;
  descent-override: 30.1556%;
  line-gap-override: 0%;
  size-adjust: 99.4839%;
}

/* Same treatment for Inter — this face did NOT exist until 2026-08-15, and its
   absence was measurable: the homepage's entire CLS (0.048 of 0.050) was one
   element, .cta-stack, moving when Arial swapped to Inter above it. Computed
   from fonts/inter-var.woff2 with the same Capsize method as the Manrope block
   (verified by reproducing Manrope's exact published values from its own file
   first): unitsPerEm 2048, ascent 1984, descent -494, lineGap 0, xWidthAvg 978
   against Arial 913/2048. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT');
  ascent-override: 90.4365%;
  descent-override: 22.518%;
  line-gap-override: 0%;
  size-adjust: 107.1194%;
}
