/*
 * Self-hosted variable fonts (downloaded from fonts.google.com).
 * Served same-origin from /fonts/*.ttf — immune to Brave Shields / ad-blockers /
 * corporate firewalls / Google outages.
 *
 * Files are variable TTFs with a wght axis (Space Grotesk, JetBrains Mono) and
 * opsz+wght axes (Inter). Using format("truetype-variations") tells the browser
 * to treat these as variable fonts.
 *
 * Total size ~1.1MB uncompressed; Vite/nginx gzip brings it down substantially.
 * If bundle size becomes a concern, run the files through `ttf2woff2` to get
 * ~100KB total at the same visual fidelity.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-variable.ttf") format("truetype-variations");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-variable.ttf") format("truetype-variations");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-variable.ttf") format("truetype-variations");
}
