/* ==========================================================================
   Black Team — self-hosted webfonts
   --------------------------------------------------------------------------
   GDPR: every byte below is served from blackteam.dk itself. Nothing is
   requested from fonts.googleapis.com or fonts.gstatic.com at runtime, so no
   visitor IP is ever handed to Google.

   The two families are exposed under the aliases the design tokens already
   expect (see assets/css/tokens.css):

     "BT Display"  =  Fjalla One    (SIL Open Font License 1.1)
     "BT Body"     =  Source Sans 3 (SIL Open Font License 1.1)

   Chosen as the closest open-licence match to the print one-pagers:
   Fjalla One reproduces the headline face's proportions to within ~0.5%
   (cap-height-to-width) and its stem weight to within ~1%; Source Sans 3
   matches the body face's width-to-height across five sampled strings to
   within ±2%.

   SUBSETS
   `latin` covers Danish — æ ø å Æ Ø Å live at U+00E5/E6/F8 and U+00C5/C6/D8,
   i.e. inside U+0000-00FF. `latin-ext` is a progressive extra for Central and
   Eastern European names (Łódź, Přerov, Şişli); the unicode-range descriptor
   means it is only fetched when such a character actually appears.

   DISPLAY WEIGHTS
   Fjalla One ships one design weight. That is faithful to the source sheets,
   which use a single display weight throughout (measured stem-to-cap ratio
   0.150-0.157 across three different display sizes) and build hierarchy with
   size and letter-spacing rather than weight. The descriptor below declares
   the range 100-900 so any `font-weight` the components ask for resolves to
   the real design instead of triggering the browser's faux-bold synthesis,
   which smears a condensed face badly. Use letter-spacing for the tracked
   look from print: ~.10em-.16em on small caps labels, ~.01em-.02em on hero
   headlines.
   ========================================================================== */

/* ============================== BT Display ================================
   Fjalla One — headlines, section titles, small-caps labels, numerals.
   ========================================================================= */

@font-face {
  font-family: "BT Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fjalla-one-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;
}

@font-face {
  font-family: "BT Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fjalla-one-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;
}

/* ================================ BT Body =================================
   Source Sans 3 — running text, lead paragraphs, lists, captions, UI.
   Variable font: one file per subset covers weights 200-900, so 300, 400,
   500, 600 and 700 all come out of a single download.
   ========================================================================= */

@font-face {
  font-family: "BT Body";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./source-sans-3-var-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;
}

@font-face {
  font-family: "BT Body";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./source-sans-3-var-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;
}
