/*********************************************/
/*  fonts.css                                */
/*-------------------------------------------*/
/*           This file is part of:           */
/*               Hope4KidsBS5                */
/*       based on 2shine (2shine.org)        */
/*-------------------------------------------*/
/*  Lokale webfonts. Geen externe CDN --     */
/*  Google Fonts zou het IP-adres van elke   */
/*  bezoeker naar Google sturen (AVG).       */
/*                                           */
/*  Gewichten gemeten in Figma:              */
/*  Lora Bold 700, Noto Sans 400 + 600.      */
/*  De italic is toegevoegd voor <em> in     */
/*  redactionele content.                    */
/*                                           */
/*  latin-ext is nodig voor partnernamen     */
/*  zoals "OKFO" (U+0150) -- browsers laden  */
/*  die alleen als de pagina zo'n teken      */
/*  bevat (unicode-range).                   */
/*                                           */
/*  Licenties: SIL OFL 1.1, zie fonts/       */
/*********************************************/

/* Lora 700 - latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('lora-700-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;
}

/* Lora 700 - latin-ext */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('lora-700-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;
}

/* Noto Sans 400 italic - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('noto-sans-400-italic-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;
}

/* Noto Sans 400 italic - latin-ext */
@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('noto-sans-400-italic-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;
}

/*
  Noto Sans is een VARIABELE font: één bestand bevat alle gewichten (het heeft
  een fvar-tabel met een wght-as).

  Hier stonden vier @font-face-regels: 400 en 600, elk in twee subsets. De
  bestanden noto-sans-400-*.woff2 en noto-sans-600-*.woff2 zijn echter
  byte-identiek -- het is twee keer dezelfde variabele font onder een andere
  naam. Het rendert wel goed (de browser zet de wght-as gewoon op 600), maar de
  browser ziet twee verschillende URL's en haalt dus alles dubbel op:
  2x 35 KB voor latin en 2x 168 KB voor latin-ext.

  Nu één regel per subset met het bereik 100-900. De browser kiest zelf de
  juiste positie op de wght-as, en haalt elk bestand nog maar één keer op.
  De partnernamen op de Partners-pagina zitten vol latin-ext-tekens, dus daar
  scheelt dat het meest.
*/

/* Noto Sans 100-900 - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('noto-sans-400-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;
}

/* Noto Sans 100-900 - latin-ext */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('noto-sans-400-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;
}

