/* PP Neue Montreal (Pangram Pangram), Regular 400 and Medium 500.
   The font files are licensed and never go in Git: drop Northport's own web-licence
   files into public/fonts/ with these names (see README, "Fonts"). Until they're
   there, the page falls back to the system sans in src/styles/global.css.
   Both files are preloaded (Base.astro). */
@font-face {
  font-family: "PP Neue Montreal";
  src: url("/fonts/PPNeueMontreal-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("/fonts/PPNeueMontreal-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* While the two files load, the words are set in Arial sized to the brand face's measure, so
   nothing moves when they swap in: size-adjust matches the width of a line of the site's copy,
   and the ascent and descent overrides match the brand face's line box. Measured from the
   v3.0 files against macOS Arial (Nov 23, 2026). Where Arial isn't installed (Android), this
   face is skipped and the system sans stands in, as before. */
@font-face {
  font-family: "PP Neue Montreal Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400;
  size-adjust: 96.86%;
  ascent-override: 98.91%;
  descent-override: 24.98%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "PP Neue Montreal Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 500;
  size-adjust: 97.69%;
  ascent-override: 98.07%;
  descent-override: 24.77%;
  line-gap-override: 0%;
}
