/* Self-hosted Figtree: the same variable-font file Google Fonts serves for
   wght@300..800 (avoids the fonts.googleapis.com -> fonts.gstatic.com hop). */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/figtree-var.woff2") format("woff2");
}

/* Metric-matched fallback for Figtree, computed from the actual webfont
   (ascent 950, descent 250, lineGap 0 / unitsPerEm 1000) against Arial
   (xAvgCharWidth 904 / unitsPerEm 2048), so paragraphs and headings don't
   reflow when Figtree finishes loading and swaps in. */
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial");
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 120.09%;
}
