/*
 * Self-hosted display fonts.  The adjusted fallback faces keep the same
 * approximate metrics while the WOFF2 files are loading, preventing text
 * reflow when the final face swaps in.
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Fallback";
  font-style: normal;
  font-weight: 300 900;
  src: local("Arial");
  size-adjust: 107.5%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

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

@font-face {
  font-family: "JetBrains Mono Fallback";
  font-style: normal;
  font-weight: 400 700;
  src: local("Consolas"), local("Courier New");
  size-adjust: 92%;
  ascent-override: 102%;
  descent-override: 28%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/playfair-display-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/playfair-display-latin-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display Fallback";
  font-style: normal;
  font-weight: 700 800;
  src: local("Georgia");
  size-adjust: 109.7%;
  ascent-override: 90.7%;
  descent-override: 22.2%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Playfair Display Fallback";
  font-style: italic;
  font-weight: 700 800;
  src: local("Georgia");
  size-adjust: 109.7%;
  ascent-override: 90.7%;
  descent-override: 22.2%;
  line-gap-override: 0%;
}