/* ============================================================
   FONTS — the two display faces, self-hosted. Both are SIL Open Font
   License; the licences sit beside the files in /fonts.

   The phone and the wall screen each load only their own: pages link this
   file, and a face is fetched only when text uses it. Latin subset only —
   an apartment label or a space name outside it falls back to the system
   font, which is what --font-display's stack is for.

   font-display: swap, not optional. A wall screen is never reloaded, so a
   face that missed its first 100ms must still arrive and be used.
   ============================================================ */

/* Phone and every other surface. One variable file covers the weights. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

/* Wall screen: a semi-condensed face, so a seven-column week still has a
   date at 36px. Static files, so only the two weights it uses. */
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/fonts/barlow-semi-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/fonts/barlow-semi-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
