/*
 * Self-hosted web fonts: Inter (body/UI) and Plus Jakarta Sans (headings).
 *
 * Served from our own domain, never fonts.googleapis.com: a Google-hosted font
 * sends every visitor's IP address to Google before they have agreed to
 * anything, which is the kind of transfer the cookie banner exists to avoid.
 *
 * Both are variable fonts, latin subset only (one file each covers every
 * weight 200-800), taken from the @fontsource-variable npm packages. Characters
 * outside latin (e.g. the rupee sign) fall back to the system font.
 *
 * The "Fallback" faces are local Arial resized to Inter's / Jakarta's metrics,
 * so text does not visibly jump (CLS) when the web font finishes loading.
 *
 * The old Open Sans / Poppins / Raleway files are still in static/fonts but are
 * no longer referenced.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format('woff2-variations'),
       url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") 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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.7660bd9909fb.woff2") format('woff2-variations'),
       url("../fonts/plus-jakarta-sans-latin-wght-normal.7660bd9909fb.woff2") 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: 'Inter Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 107.1%;
  ascent-override: 90.4%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Jakarta Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 104.5%;
  ascent-override: 98%;
  descent-override: 21%;
  line-gap-override: 0%;
}

/* Brand wordmark face, used only for the copyright line. Loaded on demand. */
@font-face {
  font-family: 'ADLaM_Display';
  src: url("../fonts/ADLaM-Display.4d07e81bb310.ttf") format('truetype');
  font-display: swap;
}
