/*
 * Self-hosted @font-face — Fraunces (headings) + Nunito Sans (body).
 * Per seo-tech §6 / visual-identity §3: NO Google CDN (perf + privacy).
 *
 * TODO at install (see docs/tech/setup-wordpress-o2switch.md):
 *   1. Download the two families from Google Fonts (OFL — self-hosting allowed).
 *   2. Subset to Latin and convert to .woff2 (e.g. google-webfonts-helper or fonttools).
 *   3. Place the .woff2 files in assets/fonts/ with the names referenced below.
 *   4. Keep weights minimal: Fraunces 600 (and 700 if needed); Nunito Sans 400/600/700.
 *
 * font-display: swap protects LCP; the two critical weights are also <link rel=preload>
 * in functions.php (boughnest_preload_fonts).
 */

/* ---- Fraunces (headings, soft serif) ---- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/fraunces-700.woff2") format("woff2");
}

/* ---- Nunito Sans (body, humanist sans) ---- */
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/nunito-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/nunito-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/nunito-sans-700.woff2") format("woff2");
}
