/* Gate brand fonts — self-hosted from /brand-kit/fonts/.
 *
 * Loaded from public/ so the path is identical to gstatic's:
 *   /brand-kit/fonts/<file>.woff2
 *
 * All four are variable fonts — one .woff2 per family covers every weight
 * we use (gate-font-weight tokens hit values inside each file's range).
 *
 * Order matters: Inter first so the brand wordmark fallback resolves to
 * the correct weight if Plus Jakarta Sans is still loading.
 *
 * font-display: swap — render fallback immediately, swap to brand font
 * once it loads. Prevents FOIT (flash of invisible text) and matches
 * what we had with the Google Fonts link.
 */

@font-face {
  font-family: 'Inter';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('/brand-kit/fonts/inter-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-weight: 200 800; /* variable axis range */
  font-style: normal;
  font-display: swap;
  src: url('/brand-kit/fonts/plus-jakarta-sans-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 400 900; /* variable axis range */
  font-style: normal;
  font-display: swap;
  src: url('/brand-kit/fonts/playfair-display-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 100 800; /* variable axis range */
  font-style: normal;
  font-display: swap;
  src: url('/brand-kit/fonts/jetbrains-mono-variable.woff2') format('woff2');
}
