/* Self-hosted fonts for the home page (no request to Google Fonts).
   Latin subset only: covers EN/ES, the euro sign and the middle dot. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
}

/* Metric-matched fallbacks (Arial resized to the web font's metrics) so the
   swap from fallback to Poppins/Inter does not move the layout (CLS). */
@font-face {
  font-family: 'Poppins Fallback';
  src: local('Arial');
  size-adjust: 111.6%;
  ascent-override: 93.8%;
  descent-override: 31.3%;
  line-gap-override: 8.9%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
