/* Self-hosted Google Fonts — Lora (variable) + Nunito Sans (variable) — latin subset */

/* Lora — variable font, one file covers weights 400-700 */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/lora.woff2) format('woff2-variations'),
       url(/fonts/lora.woff2) format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lora-italic.woff2) format('woff2-variations'),
       url(/fonts/lora-italic.woff2) format('woff2');
}

/* Nunito Sans — variable font, one file covers weights 400-800 */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/nunito-sans.woff2) format('woff2-variations'),
       url(/fonts/nunito-sans.woff2) format('woff2');
}

/* Fallback metrics to prevent layout shift while web fonts load */
@font-face {
  font-family: 'Lora Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 104%;
  ascent-override: 101%;
  descent-override: 28%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Nunito Sans Fallback';
  src: local('Helvetica Neue'), local('Helvetica'), local('Arial');
  size-adjust: 101%;
  ascent-override: 102%;
  descent-override: 29%;
  line-gap-override: 0%;
}
