/* Self-hosted brand fonts. No third-party request, no render-blocking
   stylesheet, and the fallbacks below are metric-matched to the webfonts so the
   swap does not move the layout (this is the measured CLS source). */

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/fonts/syne-var.woff2') format('woff2-variations');
  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: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/sourceserif4-var.woff2') format('woff2-variations');
  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: the browser lays text out with these while the
   webfont downloads, so the swap changes nothing measurable. */
@font-face {
  font-family: 'Syne Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
  size-adjust: 107%;
  ascent-override: 98%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Source Serif Fallback';
  src: local('Georgia'), local('Liberation Serif'), local('Times New Roman');
  size-adjust: 103%;
  ascent-override: 102%;
  descent-override: 28%;
  line-gap-override: 0%;
}
