/* ==========================================================================
   AirCrewCentral - fonts

   Three roles:
     body text        Roboto        - local files, already in this folder
     headings         ACC Display   - local .ttf files, already here
     flight figures   monospace     - the system one (Consolas, SF Mono)

   WHY THIS FILE WAS REWRITTEN ON 25.08.

   It used to declare every face twice, woff2 first and ttf second, and
   it declared an "ACC Mono" family as well. None of those woff2 files
   were ever put in this folder, and no acc-mono file exists in either
   format.

   A src line pointing at a missing file is not free. Every page load
   asked the server for five files that are not there and got five 404s
   back before falling through to the format that works. Measured on the
   live site before the change: acc-display-500/600/700.woff2 -> 404,
   acc-mono-400.woff2 -> 404, acc-mono-400.ttf -> 404.

   Nothing looked broken, which is exactly why it lasted: the browser
   fell back silently. But five wasted requests on every page of every
   pilot is a real cost paid for nothing.

   Now each face names only files that are actually here. To add a real
   condensed or monospace font later, drop the file in this folder and
   add its src line back.
   ========================================================================== */

/* --------------------------------------------------------------------------
   BODY TEXT - Roboto. Files present.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "ACC Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("roboto-v47-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "ACC Text";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("roboto-v47-latin-italic.woff2") format("woff2");
}

@font-face {
  font-family: "ACC Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("roboto-v47-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "ACC Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("roboto-v47-latin-700.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   HEADINGS - ACC Display. Only .ttf files exist in this folder, so only
   .ttf is named. The .woff2 lines that used to sit above these were
   pointing at files that were never installed.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "ACC Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("acc-display-500.ttf") format("truetype");
}

@font-face {
  font-family: "ACC Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("acc-display-600.ttf") format("truetype");
}

@font-face {
  font-family: "ACC Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("acc-display-700.ttf") format("truetype");
}

/* --------------------------------------------------------------------------
   FLIGHT FIGURES - no @font-face at all.

   There is no acc-mono file in this folder, in any format, and there
   never was. The two @font-face blocks that used to be here only
   produced 404s; the text was drawn by the system monospace anyway,
   through the fallback stack in acc-tokens.css.

   Nothing changes on screen. Four requests per page do.

   To install a real one - JetBrains Mono, for instance - put
   acc-mono-400.ttf and acc-mono-500.ttf in this folder and bring back
   two blocks in the shape of the ACC Display ones above.
   -------------------------------------------------------------------------- */
