/**
 * Self-hosted typefaces for spirited.energy (no Google Fonts at runtime).
 * Run scripts/fetch_fonts.sh once to populate ../fonts/.
 * Falls back to system stacks from design-tokens.css when files are absent.
 */

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

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
}

/* IBM Plex Mono is not a variable family on Google Fonts: each weight is its
   own file, so it needs one @font-face per weight rather than a range. */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
}
