/* The stand-ins are always loaded: they stand in for unlicensed faces and fill the punctuation the trial files lack (: % @ …). */
@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,300;6..72,400;6..72,500;6..72,700&family=Hanken+Grotesk:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400&display=swap");

/* 2140 Studio type. The font files are not in this repository: they are licensed separately.
   Put them in packages/brand/fonts/ (git ignores that folder), or change the paths.
   Today the studio holds trial licences only (internal evaluation). Anything published uses the stand-ins below
   until Signifier (Klim) and GT Standard + GT Standard Mono (Grilli Type) are licensed. */
@font-face {
  font-family: "Signifier";
  src: url("../fonts/test-signifier-vf-roman.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Standard";
  src: url("../fonts/GT-Standard-Trial-VF.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Standard Mono";
  src: url("../fonts/GT-Standard-Mono-Trial-VF.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
:root {
  /* each stack falls back to the published stand-in, then to the system */
  --f-display: "Signifier", "Newsreader", Georgia, serif;
  --f-body: "GT Standard", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "GT Standard Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
/* For anything published while the studio holds trial licences, set data-fonts="stand-ins" on <html>:
   the stand-ins then lead every stack. GT Standard 575 renders as Hanken Grotesk 600. */
:root[data-fonts="stand-ins"] {
  --f-display: "Newsreader", Georgia, serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
