/*
 * Self-hosted font-loading structure.
 *
 * ACTIVE: woff2 files downloaded directly from Google Fonts' own CDN
 * (fonts.gstatic.com, resolved via the exact family/weight/style request in
 * https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&
 * family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Fragment+Mono,
 * the same request the prototype's <link> makes — "latin" subset only, which
 * covers the accented characters used in this site's copy, e.g. "Armèlle").
 * Space Grotesk and Instrument Sans are shipped by Google as variable fonts:
 * their 400/500/600(/700) static weight requests all resolved to the *same*
 * underlying woff2 (confirmed byte-for-byte via the css2 response), so each
 * weight file below is that same variable font saved under its per-weight
 * filename — correct and self-consistent, not a placeholder duplicate.
 *
 * Licence: SIL Open Font License 1.1 for all three families, fetched from
 * the official google/fonts GitHub source and stored alongside each family's
 * files (assets/fonts/<family>/OFL.txt).
 *
 * Source: handoff/01-design-tokens.md ("Self-host Space Grotesk, Instrument
 * Sans, Fragment Mono ... in production").
 */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk/space-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk/space-grotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk/space-grotesk-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans/instrument-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans/instrument-sans-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans/instrument-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans/instrument-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fragment Mono';
  src: url('../fonts/fragment-mono/fragment-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
