/* Both faces are subset to the 116 characters the site actually uses, which
   took Inter from 72.9KB to 43.3KB and JetBrains Mono from 21.2KB to 16.4KB.
   The full originals are kept beside them as .full.woff2.bak. If a future page
   needs a glyph outside that set it will fall back and look wrong, so re-run
   the subset (see README) after adding copy in another language or a new
   symbol. The variable weight and optical-size axes are preserved. */
/* Self-hosted faces for ksmedia.marketing.
   Files live in /assets/fonts and are cached immutable (see vercel.json).
   Latin subset only: the site is English and every other range would be dead weight.
   Both faces are the Google Fonts static builds, verified as real woff2 before commit.
   Inter is the variable build with the wght axis (100 to 900) and the opsz axis (14 to 32),
   so plain font-weight values and font-optical-sizing: auto both work as before. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-var-latin.woff2?v=9deb1ffe") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-400-latin.woff2?v=f56571ff") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* A metrics-matched stand-in for Inter, so the text that paints before the
   webfont arrives occupies exactly the same space and the swap causes no
   reflow. The four override values are the standard Inter-on-Arial set used
   by font optimisers; they make Arial's box match Inter's. Without this the
   headline visibly resettles when the font lands. */
@font-face {
  /* Regular. size-adjust measured, not copied: Inter renders at 98.04 per cent
     of Arial's width at weight 400 in this subset. The published 107.4 per cent
     figure is for a different Inter build and was 9 per cent out here, which is
     enough for the headline to visibly resize when the real font lands. */
  font-family: "Inter Fallback";
  font-weight: 100 550;
  src: local("Arial");
  ascent-override: 98.90%;
  descent-override: 24.64%;
  line-gap-override: 0.00%;
  size-adjust: 98.04%;
}

@font-face {
  /* Semibold and above, where the headline lives. Arial Bold is wider than
     Inter Semibold, so this one adjusts down further. */
  font-family: "Inter Fallback";
  font-weight: 551 900;
  /* Arial Bold by name: declaring a weight range stops the browser synthesising
     bold from Arial regular, which made the stand-in 6 per cent too narrow. */
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial");
  ascent-override: 101.77%;
  descent-override: 25.36%;
  line-gap-override: 0.00%;
  size-adjust: 95.27%;
}
