/* ============================================================
   Self-hosted Google Fonts — Plus Jakarta Sans, Inter, Sometype Mono
   Variable font files in assets/fonts/

   Download instructions:
   1. Visit https://fonts.google.com and download each family
   2. Place the .woff2 variable font files in assets/fonts/
   3. File names must match the src references below

   Expected files:
   - PlusJakartaSans-VariableFont_wght.woff2
   - Inter-VariableFont_opsz_wght.woff2
   - SometypeMono-VariableFont_wght.woff2
   ============================================================ */

/* ── Metric-adjusted fallbacks ──
   These local fonts render at the same dimensions as our web fonts,
   so when font-display: swap fires, text barely moves. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 23%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 109%;
  ascent-override: 88%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Sometype Mono Fallback';
  src: local('Courier New'), local('Courier');
  size-adjust: 91%;
  ascent-override: 103%;
  descent-override: 26%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-VariableFont_wght.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz_wght.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sometype Mono';
  src: url('../fonts/SometypeMono-VariableFont_wght.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
