/*
 * brand/fonts.css — Skerply self-hosted brand fonts.
 *
 * Both families ship with the brand bundle as woff2 variable fonts
 * under /fonts/. No third-party CDN (per the comment in tokens.css —
 * security-driven, also avoids the Google Fonts privacy footnote).
 *
 * font-display: swap means the navy fallback (system-ui) renders
 * immediately and gets swapped when the variable font arrives. CLS
 * is mitigated by `size-adjust` + `ascent-override` keeping x-height
 * roughly aligned with the system fallback.
 *
 * Files copied from @fontsource-variable/inter and
 * @fontsource-variable/space-grotesk (both SIL OFL — see
 * /fonts/LICENSE-*.txt). Variable axis: weight only.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("/fonts/inter-latin-wght-normal.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+2074, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  size-adjust: 107%;
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-italic.woff2") format("woff2-variations"),
       url("/fonts/inter-latin-wght-italic.woff2") format("woff2");
  size-adjust: 107%;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
       url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
}
