/* Endgame brand fonts.
 *
 * Licensed faces, committed to this (private) repo so the deploy is
 * reproducible — the alternative is fonts that live on one person's laptop and
 * a build that renders differently depending on who ran it. Confirm the
 * webfont licence covers self-hosting before this reaches a public domain;
 * see docs/BRANDING.md.
 *
 *   Diagramm             body text and UI
 *   FreightBig Pro Book  headings
 *
 * Only the weights actually present in assets/fonts/ are declared. That
 * matters more than it looks: CSS font matching picks the *nearest available*
 * weight within a family, so a family declared with only a 700 face renders
 * the entire interface bold. Weights we do not have are left to the fallback
 * stack rather than faked.
 */

/* Diagramm — Bold is the only weight supplied so far, so it is registered
   under its OWN family name rather than as the 700 face of "Diagramm".
   
   That is deliberate and was verified rather than assumed. CSS font matching
   picks the *nearest available* weight within a family: declare "Diagramm"
   with only a 700 face and every 400-weight label in the app is rendered in
   Bold. Measured — 40px text at weight 400 and 700 came back the identical
   676px — and it looked it: the whole board bold, and status chips clipped
   because the heavier face is wider than the fallback ("WON" became "WO").
   
   So the display family is used only where the design already wants weight,
   via --font-display. Body text stays on the system sans until Diagramm
   Regular arrives. */
@font-face {
  font-family: "Diagramm Display";
  src: url("../assets/fonts/Diagramm-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Not yet supplied. Once Regular lands, uncomment these AND point
   --font-body at "Diagramm" in styles.css — the display family above can stay
   as it is, or be folded back in as the 700 face.
@font-face {
  font-family: "Diagramm";
  src: url("../assets/fonts/Diagramm-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Diagramm";
  src: url("../assets/fonts/Diagramm-Medium.woff2") format("woff2");
  font-weight: 500 550;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Diagramm";
  src: url("../assets/fonts/Diagramm-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
*/

@font-face {
  font-family: "FreightBig Pro";
  src: url("../assets/fonts/FreightBigProBook-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
