/* The two faces the app is set in.

   Scandia Web Bold does the work Poppins used to: headings, labels, badges,
   anything that reads as a title. Fresco Pro sets everything else.

   Both are served from /webfonts rather than from Google, so no page -- and
   no quote or invoice being printed to PDF by headless Chrome -- waits on
   somebody else's CDN, or fails to render properly without one.
*/

@font-face {
  font-family: 'Scandia';
  src: url('/webfonts/ScandiaWebBold.woff') format('woff');
  /* Bold is the only weight there is, and the range says so: a rule asking
     for 600, or for 800, is given this face rather than having the browser
     draw a lighter or heavier one of its own. */
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fresco Pro';
  src: url('/webfonts/FrescoPro-Normal.woff') format('woff');
  /* Declared at its own weight only, deliberately: body text is full of bold
     runs -- <strong>, a name in a timeline entry, a total on an invoice --
     and letting the browser embolden this face keeps that emphasis visible.
     Claiming the whole range here would flatten all of it back to normal. */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
