/*
 * Self-hosted fonts (replaces Google Fonts CDN).
 * Latin subset only — il sito è italiano, non serve devanagari/latin-ext.
 * Download da fonts.gstatic.com il 5 maggio 2026 (subset estratto da CSS Google).
 *
 * Vantaggi:
 *  - Zero DNS/TLS handshake a fonts.googleapis.com / fonts.gstatic.com
 *  - URL stabili → preload affidabile via <link rel="preload">
 *  - Stessa origine → priority alta automatica
 *  - GDPR-friendly: no IP utente inviato a Google
 *
 * font-display: swap = mostra fallback durante caricamento, swap quando ready.
 * size-adjust + ascent-override = riduce CLS dovuto a metric mismatch
 *   (calcolati con https://meowni.ca/font-style-matcher per fallback Arial/sans-serif).
 */

@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/archivo-black-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/hind-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/hind-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/hind-700.woff2') format('woff2');
}
