/* Self-hosted, subset to latin, font-display: swap. Sourced from Google
 * Fonts' official gstatic.com CDN (Bricolage Grotesque, Inter and JetBrains
 * Mono are all OFL-licensed, redistributable) — TASK-713.
 *
 * Metric-adjusted fallback @font-face rules below so the swap from
 * system-font to webfont doesn't reflow the page: sizes computed from each
 * webfont's own OS/2 + hhea tables against Arial's published metrics
 * (unitsPerEm 2048, ascent 1854, descent 434, xAvgCharWidth/upm 0.524),
 * the same approach next/font uses. Not exact browser-vendor numbers, but
 * real metric math against the actual shipped files, not guessed.
 */
@font-face {
  font-family: 'Bricolage Grotesque Fallback';
  src: local('Arial');
  ascent-override: 88.93%;
  descent-override: 25.82%;
  line-gap-override: 0%;
  size-adjust: 104.58%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 83.17%;
  descent-override: 20.71%;
  line-gap-override: 0%;
  size-adjust: 116.48%;
}
@font-face {
  font-family: 'JetBrains Mono Fallback';
  src: local('Courier New');
  ascent-override: 89.08%;
  descent-override: 26.2%;
  line-gap-override: 0%;
  size-adjust: 114.5%;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/static/registrations/fonts/BricolageGrotesque-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/static/registrations/fonts/BricolageGrotesque-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/static/registrations/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/static/registrations/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/static/registrations/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/static/registrations/fonts/JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
