/**
 * Solar Alchemist — Self-hosted font stack.
 *
 * Removed 2026-02: fonts.googleapis.com + api.fontshare.com externals and
 * their preconnects (killed ~500-900ms of render-blocking + ~120ms DNS/TLS
 * setup on cold mobile 4G). All Latin-subset woff2 files ship from
 * /fonts/ under our own cache-control policy.
 *
 * Preloaded above-the-fold weights (see index.html):
 *   • Cabinet Grotesk 500  (hero H2 / headings)
 *   • Manrope        (variable, body 400/500/600/700)
 * Everything else (Cabinet Grotesk 700, Allura) is font-display:swap and
 * lazy — the browser only pulls them when a matching selector renders.
 */

/* ─── Manrope (variable, weights 200-800) — body text ────────────────── */
@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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Cabinet Grotesk 500 (medium) — headings ────────────────────────── */
@font-face {
  font-family: 'Cabinet Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cabinet-grotesk-500.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+2074, U+20AC, U+2122, U+2212, U+2215;
}

/* ─── Cabinet Grotesk 700 (bold) — occasional strong headings ────────── */
@font-face {
  font-family: 'Cabinet Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/cabinet-grotesk-700.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+2074, U+20AC, U+2122, U+2212, U+2215;
}

/* ─── Allura (cursive) — founder signature on /about-me only ─────────── */
@font-face {
  font-family: 'Allura';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/allura-400.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;
}
