/*
 * Dagmar design system: the canonical font-loading stylesheet (decision 0005).
 *
 * Apps copy (or serve) the whole fonts/ folder and load this file once, with a <link> in index.html when the files
 * are in the app's public/ folder (fonts/README.md).
 * URLs are relative, so the folder works at any path (/fonts/, /assets/fonts/, a CDN prefix).
 *
 * Family names are EXACTLY the ones in tokens/type.json; the theme's font stacks only work
 * with these names. No other family name ("Sentient Haas", "Neue Haas Display", …) is part
 * of the system. tokens/type.json lists the same four files under "fonts".
 *
 * The woff2 files sit next to this file and ship in the package; Archivo is SIL OFL (OFL.txt).
 *
 * File naming scheme: Archivo-<Style>.woff2.
 */

/* Archivo: every text, heading and display style in both profiles. SIL Open Font License; three static cuts, plus the condensed display cut below. */
@font-face {
  font-family: "Archivo";
  src: url("./Archivo-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("./Archivo-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("./Archivo-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Brand display (decision 0040): the display-* styles select it with font-weight 800 and font-stretch 75%. */
@font-face {
  font-family: "Archivo";
  src: url("./Archivo-CondensedExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-stretch: 75%;
  font-style: normal;
  font-display: swap;
}

/*
 * Not declared on purpose:
 * - 600 (semibold): the system has no 600 (decision 0005); move each semibold to 500 or 700 by role.
 * - Italics: no app uses them. A browser synthesises an oblique if one is requested.
 * - 95 Black (900): only Senti's display lockup uses it; the Senti mark is an asset file.
 *
 * Recommended in each app's <head>, for the two cuts on every screen:
 *   <link rel="preload" href="/fonts/Archivo-Regular.woff2" as="font" type="font/woff2" crossorigin>
 *   <link rel="preload" href="/fonts/Archivo-Medium.woff2" as="font" type="font/woff2" crossorigin>
 */
