/* Self-hosted web fonts (Latin subset, variable weight). Files: website/design/fonts/ -> /assets/fonts/.
   DM Sans and Manrope are licensed under the SIL Open Font License 1.1. Downloaded from Google Fonts
   2026-12-03 (DM Sans v17, Manrope v23). Preloaded by design/fonts-head.html, so the swap happens before
   first paint in most loads and no third-party request blocks rendering. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-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: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-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 local fallbacks (Arial scaled to each font: letter-frequency-weighted advance widths
   and OS/2 typo metrics read from the files above), so the swap to the web font does not move the layout. */
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  size-adjust: 105.58%;
  ascent-override: 93.96%;
  descent-override: 29.36%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  size-adjust: 99.95%;
  ascent-override: 106.65%;
  descent-override: 30.01%;
  line-gap-override: 0%;
}
