/* Self-hosted brand fonts for the legacy dashboard (drop the Google-Fonts CDN — CSP `script-src 'self'` +
   self-host standing ruling; CDN dependence already proved fragile). Served same-origin so the tightened
   _headers CSP needs NO external font/style origins at all.

   Files are .latin subsets (the legacy pages are English-only) copied from apps/cos-suite-shared/fonts —
   the same faces the React apps and minel.html self-host. Licenses: OFL-Cormorant.txt, OFL-Manrope.txt,
   OFL-IBMPlexMono.txt (SIL Open Font License 1.1, alongside this file).

   Weight RANGES cover css2-requested weights that have no exact file, so the nearest held face serves them
   (e.g. requests for Cormorant 400 render the Medium face; Cormorant 700 renders SemiBold; Manrope 300
   renders Regular). Family names match the pages' existing font-family CSS unchanged. */

/* ---- Cormorant Garamond (requested union: 400/500/600/700 + italic 400/500) ---- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/CormorantGaramond-Medium.latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/CormorantGaramond-MediumItalic.latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/CormorantGaramond-SemiBold.latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/CormorantGaramond-SemiBoldItalic.latin.woff2") format("woff2");
}

/* ---- Manrope (requested union: 400/500/600/700/800) ---- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("/fonts/Manrope-Regular.latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/Manrope-Medium.latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Manrope-SemiBold.latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Manrope-Bold.latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("/fonts/Manrope-ExtraBold.latin.woff2") format("woff2");
}

/* ---- IBM Plex Mono (requested union: 400/500) ---- */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/IBMPlexMono-Regular.latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/IBMPlexMono-Medium.latin.woff2") format("woff2");
}
