/* Self-hosted Latin subsets (OFL via Fontsource). Served from /assets/fonts/.
 * Mirror marketing Sept 13 policy (packages/ui-tokens/fonts.css): preload the
 * first-paint Latin faces and use font-display: block so a hard refresh paints
 * the webfont instead of swapping from Georgia/Times/system. Late faces stay
 * optional so they never replace text that already painted. Do not preload those.
 * EB Garamond size-adjust matches Georgia's x-height so a late optional face
 * does not reflow. Portal ships 600 (not 700) for bold body — treat it like
 * marketing's EB Garamond 700 first-paint face. */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/assets/fonts/cinzel-600.woff2") format("woff2");
}

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("/assets/fonts/cinzel-700.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  size-adjust: 119%;
  src: url("/assets/fonts/eb-garamond-400.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  size-adjust: 119%;
  src: url("/assets/fonts/eb-garamond-600.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  size-adjust: 119%;
  src: url("/assets/fonts/eb-garamond-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/assets/fonts/jetbrains-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2");
}
