/* Self-hosted fonts — Boska + Satoshi (Fontshare, ITF Free Font License),
   JetBrains Mono (SIL OFL). Served same-origin, woff2, immutable-cached.
   Replaces the Fontshare + Google Fonts CDN links (3 external round-trips removed).
   Only the weights actually used in the build: 400 / 500 / 700. Italic is
   browser-synthesised from the normal face, matching the previous CDN setup. */

/* ---- Boska (display) ---- */
@font-face {
  font-family: 'Boska';
  src: url('/assets/fonts/boska-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Boska';
  src: url('/assets/fonts/boska-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Boska';
  src: url('/assets/fonts/boska-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---- Satoshi (body) ---- */
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---- JetBrains Mono (meta) — latin subset ---- */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrainsmono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrainsmono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
