/* Caratteri self-hostati di Masseria Monte — L10/9/2026.
   Fraunces e Source Sans 3, entrambi SIL Open Font License 1.1 (vedi LEGGIMI.md).
   File .woff2 variabili, sottoinsiemi latin e latin-ext soltanto: nessuna
   richiesta a domini esterni in esecuzione. */

/* Fraunces — titoli. Assi: opsz 9..144, wght 300..700.
   font-optical-sizing: auto usa l'asse opsz secondo la dimensione reale. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Source Sans 3 — corpo. Asse: wght 300..700. */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   RIPIEGHI CON METRICHE CORRETTE — 10 settembre 2026
   ============================================================
   Il titolare ha segnalato che cambiando pagina «i caratteri diventano prima
   grandi e poi di nuovo piccoli». Misurato con `metriche.mjs` sulla stessa
   stringa a corpo 100: Georgia e' largo 1082,4 px dove Fraunces sta in 919,5
   (**15% in piu'**), Arial e' 1089,7 dove Source Sans 3 sta in 1000,3 (8,2%).
   Il browser mostra il ripiego finche' il .woff2 non arriva, poi sostituisce:
   di qui il salto.
   Questi due @font-face non scaricano nulla: prendono il font di sistema con
   `local()` e lo ridimensionano perche' occupi lo stesso spazio di quello vero.
   Vanno nominati nella catena PRIMA del font di sistema. */

@font-face {
  font-family: "Fraunces ripiego";
  src: local("Georgia"), local("Times New Roman"), local("serif");
  size-adjust: 84.95%;   /* 919,5 / 1082,4 */
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Source Sans 3 ripiego";
  src: local("Helvetica Neue"), local("Arial"), local("sans-serif");
  size-adjust: 91.8%;    /* 1000,3 / 1089,7 */
  ascent-override: 98%;
  descent-override: 28%;
  line-gap-override: 0%;
}

/* Fraunces con TUTTI gli assi variabili (opsz, wght, SOFT, WONK), scaricato
   l'11/9. Il file usato per i titoli ha solo opsz e wght: bastano per il testo,
   ma non permettono di caratterizzare il marchio in testata.
   Usato SOLO per la scritta «Monte»: 121 KB in piu' su un elemento solo,
   giustificati perche' e' il marchio. */
@font-face {
  font-family: "Fraunces Marchio";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./fraunces-completo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
