/*
  Barlow — the accepted MiE brand face.

  Self-hosted rather than linked from Google Fonts, for the same reason Bootstrap and jQuery sit in
  wwwroot/lib: the app is internal, sits behind Entra SSO, and should not make a third-party request
  on every page load. It also keeps working on a site connection that can reach the app but not
  fonts.googleapis.com.

  Latin subset only. The Google-served CSS ships latin, latin-ext, cyrillic, cyrillic-ext and
  vietnamese; the other four are ~2/3 of the bytes and nothing in this app renders them.

  Three widths, one superfamily:
    Barlow Condensed       display — the BMS board's stage names, badges and flow labels
    Barlow Semi Condensed  interface — tile titles, headings, labels, buttons, table headers
    Barlow                 running prose and data

  Condensed was added 2026-08-31 with the v2 BMS board. Until then the board's headings fell
  back to Semi Condensed, which is the same superfamily and so degraded gracefully — but a face
  wider than the drawing, on every heading, on the page most people open first.

  LICENSING. Barlow is SIL Open Font License 1.1, which explicitly permits self-hosting,
  embedding and redistribution. OFL.txt sits beside the files here because the licence requires
  the notice to travel with them, the same way wwwroot/lib carries jQuery's and Bootstrap's. It
  was missing for the first two widths; adding the third was the prompt to fix that. There is no
  Reserved Font Name on Barlow, so nothing here turns on not renaming the files.

  Weights are limited to the four the app actually uses (300/400/600/700). Adding a weight means
  adding a file here; do not reach for one that isn't listed, the browser will synthesise it and it
  will look wrong next to the real cuts.

  font-display: swap — text paints immediately in the fallback and reflows when Barlow arrives.
  Preferred over invisible text on a slow connection.
*/

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

@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/BarlowSemiCondensed-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/BarlowSemiCondensed-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/BarlowSemiCondensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/BarlowSemiCondensed-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/BarlowCondensed-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/BarlowCondensed-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/BarlowCondensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/BarlowCondensed-700.woff2') format('woff2');
}
