/* fonts.css — un solo file per famiglia.
 *
 * I 12 woff2 del build attuale sono 3 variable font replicati per peso:
 *   Manrope-400/500/600/700/800.woff2  -> stesso file, 24.576 B  (asse wght 200-800)
 *   Unbounded-300/400/600/800.woff2    -> stesso file, 50.892 B  (asse wght 200-900)
 *   Caveat-500/700.woff2               -> stesso file, 74.572 B  (asse wght 400-700)
 *   ShareTechMono-400.woff2            -> font statico, 7.408 B
 *
 * Dichiarando il range di pesi il browser scarica un file solo per famiglia:
 * 157 KB invece di 483 KB. Nessuna dipendenza da un font-loader.
 */

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

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

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

@font-face {
  font-family: 'Share Tech Mono';
  src: url('./ShareTechMono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Il unicode-range del file originale (latin + latin-ext parziale) e' stato rimosso:
 * con un solo file per famiglia non serve a suddividere i download, e limitarlo
 * rischia solo di far cadere caratteri accentati o simboli. Se serve ridurre ancora
 * il peso, la strada corretta e' il subsetting con pyftsubset in fase di build. */
