/* Self-hosted fonts — latin + latin-ext (PL)
   Source Serif 4 (OFL) — headings / logotype fallback for Sitka
   Nunito Sans (OFL) — body / UI
   Variable woff2 from Google Fonts; weight range tracks CSS font-weight. */

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 300 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('nunito-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-017F;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 300 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('nunito-sans-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 Serif 4';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('source-serif-4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-017F;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('source-serif-4-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 Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('source-serif-4-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-017F;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('source-serif-4-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;
}

/* Fallback Nunito dopasowany metrycznie (Arial przeskalowany do metryk
   Nunito Sans; wartości z @capsizecss/metrics). Bez niego tekst po
   podmianie fontu łamał się inaczej (np. hero /gabinet/ rósł o jedną
   linię) — CLS do 0,145. Wyszukiwanie local() jest rozgrzewane w <head>,
   zanim dotrze CSS (forestdent_print_inline_fonts()), bo w pierwszym
   layoucie kosztowało ~90 ms LCP. Source Serif celowo bez fallbacku —
   jego podmiana daje przesunięcia rzędu 0,01. Na Androidzie local('Arial')
   nie trafia i przeglądarka przechodzi dalej po stosie. */
@font-face {
  font-family: 'Nunito Sans Fallback';
  src: local('Arial');
  size-adjust: 101.39%;
  ascent-override: 99.71%;
  descent-override: 34.82%;
  line-gap-override: 0%;
}
