/* ==========================================================================
   FONTY HOSTOWANE LOKALNIE

   Nazwy plików odpowiadają temu, co pobiera Google Webfonts Helper —
   czyli pełnej nazwie rodziny: „cormorant-garamond-300.woff2”, nie
   „cormorant-300.woff2”. Wcześniej ten plik szukał skróconej nazwy
   i przez to Cormorant się nie wczytywał, a nagłówki lądowały
   na zapasowym kroju systemowym.

   Ładowany dopiero, gdy w assets/fonts/ istnieje jost-400.woff2 —
   sprawdza to inc/enqueue.php.
   ========================================================================== */

/* --- Jost — krój z księgi znaku ------------------------------------------
   font-display: swap sprawia, że tekst jest czytelny od razu, krojem
   zastępczym, i podmienia się po wczytaniu. Bez tego przez ułamek sekundy
   widać pustą stronę.

   unicode-range obejmuje latin i latin-ext — bez latin-ext nie byłoby
   ą, ć, ę, ł, ń, ó, ś, ź, ż. --- */

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

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

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

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

/* --- Cormorant Garamond — nagłówki -------------------------------------- */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-300-italic.woff2') format('woff2');
}

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

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400-italic.woff2') format('woff2');
}

/* Wagi 500 i 600 Cormorant leżą w katalogu, ale projekt ich nie używa —
   deklarujemy je świadomie, żeby przeglądarka nie próbowała pogrubiać
   wagi 300 sztucznie, gdyby kiedyś pojawiło się <strong> w nagłówku. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500.woff2') format('woff2');
}

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