/*
 * packages/brand/css/fonts.css — canonical @font-face declarations for the brand typeface.
 *
 * SOURCE OF TRUTH: edit here, never the synced copies under apps/<name>/.../brand/.
 *
 * Loaded as a STANDALONE stylesheet, NOT through the Tailwind @import chain:
 *   - Rails:  stylesheet_link_tag "css/fonts" in the layout <head>
 *   - Astro:  @import "../brand/css/fonts.css" in src/styles/global.css
 * Reason (per /ops, verified against Propshaft 1.3.1 + Tailwind v4 CLI): Tailwind v4
 * inlines @import'd CSS verbatim into builds/tailwind.css WITHOUT rebasing url(), which
 * flattens away this file's css/ directory and breaks the relative ../fonts/ path. Kept
 * out of the Tailwind chain, the relative url() below resolves in BOTH pipelines:
 * Propshaft resolves it from this file's logical dir (css/ -> ../fonts/), and Vite
 * rebases + fingerprints it from src/brand/fonts/.
 *
 * The --font-sans / --font-mono chains stay in tokens.css (@theme). The family names
 * here ("Geist", "Geist Mono") MUST match those chains exactly, or the face won't apply.
 *
 * Typeface pinned by brand.md § 3 (Geist, OFL); self-hosted hosting pinned by /ops
 * (brand.md § 9). Binaries vendored by /ops from the geist npm package (variable,
 * upright) into ../fonts/, with OFL.txt (the full OFL-1.1 license) alongside.
 *
 * font-weight: 100 900 declares the variable file's true axis range. It describes the
 * FILE, not brand policy. The curated brand weights are 400-700 (brand.md § 3); that
 * discipline is enforced by usage (Tailwind font-weight utilities), not by clamping here.
 *
 * Upright only. Geist italic is not part of the brand today (brand.md § 3 names no
 * italic use); add Geist-Italic[wght].woff2 + matching font-style: italic faces here if
 * an italic need is ever established.
 */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable-b11a6485.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable-6dd1dc09.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
