/* PRC Group — self-hosted fonts (latin subset).
   Serving these from our own domain removes two render-blocking requests to
   Google Fonts and, with size-adjust metrics, eliminates the layout shift
   that happened when the web fonts replaced the fallback. */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/manrope.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../assets/fonts/plusjakartasans.woff2') format('woff2');
}

/* Fallback faces matched to the web fonts' metrics: text laid out with the
   system font occupies the same space, so swapping in the real font shifts
   nothing (CLS ~0). */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans'), local('Roboto');
  size-adjust: 103%;
  ascent-override: 100%;
  descent-override: 28%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Jakarta Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans'), local('Roboto');
  size-adjust: 105%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}
