/* iA Writer Mono: resolved by unifont from the `fontsource` provider.
 * https://unifont.dev/fonts/iA%20Writer%20Mono
 */

/* latin */
@font-face {
  font-family: "iA Writer Mono";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/ia-writer-mono@latest/latin-400-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  --font-ia-writer-mono: "iA Writer Mono", "iA Writer Mono fallback", monospace;
}

/* Metric-matched fallback, so text does not reflow when the real font lands. */
@font-face {
  font-family: "iA Writer Mono fallback";
  src: local("Courier New"), local("Cousine"), local("Liberation Mono"), local("DejaVu Sans Mono"), local("Menlo");
  size-adjust: 100%;
  ascent-override: 102.5%;
  descent-override: 27.5%;
  line-gap-override: 0%;
}
