/* ==========================================================================
   Potęga Prasy — self-hosted webfonts
   --------------------------------------------------------------------------
   Replaces the design system's Google Fonts @import (GDPR: no third-party CDN).
   Drop the woff2 files described in README.md next to this file. Until they are
   present the @font-face rules simply fail and the CSS fallback stacks in
   tokens.css take over (Trebuchet / system / Georgia / ui-monospace), so the
   site stays usable — just not fully on-brand.

   Fredoka is HAND-FIXED for Polish glyphs (ę ń ł ą ż ź ć ś …) and subset with
   glyphhanger; the Baloo 2 per-glyph fallback is therefore dropped. The other
   three families already cover Polish and are only subset, not edited.

   font-display: swap — show fallback immediately, swap when the face loads.
   ========================================================================== */

/* ---- Fredoka — display / brand (weights 300–700, default width only) -----
   Served as hand-fixed TTF (not woff2): the woff2 conversion mangled the Polish
   ogonek glyphs (ę/ą), so these ship as the corrected TrueType files instead.
   Slightly larger over the wire, but only a handful of display weights. */
@font-face{
  font-family:'Fredoka'; font-style:normal; font-weight:300; font-display:swap;
  src:url('./Fredoka-Light.ttf') format('truetype');
}
@font-face{
  font-family:'Fredoka'; font-style:normal; font-weight:400; font-display:swap;
  src:url('./Fredoka-Regular.ttf') format('truetype');
}
@font-face{
  font-family:'Fredoka'; font-style:normal; font-weight:500; font-display:swap;
  src:url('./Fredoka-Medium.ttf') format('truetype');
}
@font-face{
  font-family:'Fredoka'; font-style:normal; font-weight:600; font-display:swap;
  src:url('./Fredoka-SemiBold.ttf') format('truetype');
}
@font-face{
  font-family:'Fredoka'; font-style:normal; font-weight:700; font-display:swap;
  src:url('./Fredoka-Bold.ttf') format('truetype');
}

/* ---- Libre Franklin — UI + news headlines (400/500/600/700/800 + italics) - */
@font-face{
  font-family:'Libre Franklin'; font-style:normal; font-weight:400; font-display:swap;
  src:url('./LibreFranklin-Regular.woff2') format('woff2');
}
@font-face{
  font-family:'Libre Franklin'; font-style:normal; font-weight:500; font-display:swap;
  src:url('./LibreFranklin-Medium.woff2') format('woff2');
}
@font-face{
  font-family:'Libre Franklin'; font-style:normal; font-weight:600; font-display:swap;
  src:url('./LibreFranklin-SemiBold.woff2') format('woff2');
}
@font-face{
  font-family:'Libre Franklin'; font-style:normal; font-weight:700; font-display:swap;
  src:url('./LibreFranklin-Bold.woff2') format('woff2');
}
@font-face{
  font-family:'Libre Franklin'; font-style:normal; font-weight:800; font-display:swap;
  src:url('./LibreFranklin-ExtraBold.woff2') format('woff2');
}
@font-face{
  font-family:'Libre Franklin'; font-style:italic; font-weight:400; font-display:swap;
  src:url('./LibreFranklin-Italic.woff2') format('woff2');
}
@font-face{
  font-family:'Libre Franklin'; font-style:italic; font-weight:600; font-display:swap;
  src:url('./LibreFranklin-SemiBoldItalic.woff2') format('woff2');
}

/* ---- Source Serif 4 — editorial body (400/600 + italics) ----------------- */
@font-face{
  font-family:'Source Serif 4'; font-style:normal; font-weight:400; font-display:swap;
  src:url('./SourceSerif4-Regular.woff2') format('woff2');
}
@font-face{
  font-family:'Source Serif 4'; font-style:normal; font-weight:600; font-display:swap;
  src:url('./SourceSerif4-SemiBold.woff2') format('woff2');
}
@font-face{
  font-family:'Source Serif 4'; font-style:italic; font-weight:400; font-display:swap;
  src:url('./SourceSerif4-Italic.woff2') format('woff2');
}
@font-face{
  font-family:'Source Serif 4'; font-style:italic; font-weight:600; font-display:swap;
  src:url('./SourceSerif4-SemiBoldItalic.woff2') format('woff2');
}

/* ---- IBM Plex Mono — broadcast metadata (400/500/600/700) ---------------- */
@font-face{
  font-family:'IBM Plex Mono'; font-style:normal; font-weight:400; font-display:swap;
  src:url('./IBMPlexMono-Regular.woff2') format('woff2');
}
@font-face{
  font-family:'IBM Plex Mono'; font-style:normal; font-weight:500; font-display:swap;
  src:url('./IBMPlexMono-Medium.woff2') format('woff2');
}
@font-face{
  font-family:'IBM Plex Mono'; font-style:normal; font-weight:600; font-display:swap;
  src:url('./IBMPlexMono-SemiBold.woff2') format('woff2');
}
@font-face{
  font-family:'IBM Plex Mono'; font-style:normal; font-weight:700; font-display:swap;
  src:url('./IBMPlexMono-Bold.woff2') format('woff2');
}
