/* Stingray Bookkeeping client login, version 3: the fonts.
   All files sit in fonts/ next to this file. Nothing is fetched from a font service.

   What the pages use:
     "Source Serif 4"  headings and statement figures in every look, and everything else too
                       (body, buttons, menu) in Northern lights and in Engraved cream.
                       One file with two dials: weight (200 to 900) and optical size. The browser
                       picks the optical size by itself, so a 64px heading gets the fine display
                       cut and 20px body text gets the sturdy text cut.
     "Source Sans 3"   body, buttons and menu in Night sky and in Engraved night, and the words of
                       the phone bottom bar in every look but Northern lights. Weight 200 to 900.

   Declared but not used by the pages (kept so the two serifs can be compared):
     "Libre Baskerville"  400 and 700.

   Why Source Serif 4 and not Libre Baskerville: rendered next to the owner's pictures at heading and
   figure size, Source Serif 4 has the same narrow build, the same contrast and the same compact
   figures. Libre Baskerville is much wider (the greeting does not fit on one line at 64px) and its
   round 0, 6 and 2 look nothing like the figures in the pictures. */

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* The same serif without the optical-size dial, for a browser that cannot read the file above. */
@font-face {
  font-family: "Source Serif 4 Plain";
  src: url("fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/libre-baskerville-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/libre-baskerville-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
