/* Vela Sans, self-hosted.

   The design-system bundle ships its own @font-face blocks, but they are dropped at bundle
   build time ("unresolvable src") and point at hashed filenames we deliberately do not
   vendor -- the five weights below are already committed under fonts/ and are the same
   faces. Root-absolute URLs, because pages live at several directory depths
   (/data-room/legal) and a relative url() would resolve against the page, not the sheet.

   Six weights exist in the identity pack; only these five are used. ExtraLight (200) is
   deliberately not shipped -- nothing on the site sets it, and it is ~94 KB.

   TWO src ENTRIES PER FACE, AND THE ORDER MATTERS. The .woff2 is a Latin subset generated by
   ui/scripts/subset-fonts.py; the .otf is the full original. A browser takes the first format
   it understands, so every browser since ~2016 fetches only the woff2 -- 145 KB for all five
   faces against 492 KB, or ~296 KB after nginx's gzip. The .otf stays listed so that a glyph
   outside the subset still has somewhere to come from: the failure mode for an investor name
   in a script we did not anticipate is a slower page, not tofu. Do not remove it, and do not
   add font/woff2 to nginx's gzip_types -- woff2 is already brotli.

   One thing the subset does NOT cause: U+2197 (the small north-east arrow on the external
   quick links) is absent from Vela Sans itself, in the .otf too, and has always rendered in
   whatever the fallback sans is. */

@font-face {
  font-family: "Vela Sans";
  src: url("/assets/fonts/VelaSans-Light.woff2") format("woff2"),
       url("/assets/fonts/VelaSans-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vela Sans";
  src: url("/assets/fonts/VelaSans-Regular.woff2") format("woff2"),
       url("/assets/fonts/VelaSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vela Sans";
  src: url("/assets/fonts/VelaSans-Medium.woff2") format("woff2"),
       url("/assets/fonts/VelaSans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vela Sans";
  src: url("/assets/fonts/VelaSans-SemiBold.woff2") format("woff2"),
       url("/assets/fonts/VelaSans-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vela Sans";
  src: url("/assets/fonts/VelaSans-Bold.woff2") format("woff2"),
       url("/assets/fonts/VelaSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
