/* includes/shared/fonts.css
   Global Gotham font declarations + a metric-matched fallback so the
   page doesn't shift when Gotham finishes loading (CLS = 0). */

/* Gotham — actual web font, swap so text is readable while loading. */
@font-face {
  font-family: "Gotham";
  src:
    url("../../fonts/Gotham-Book.woff2") format("woff2"),
    url("../../fonts/Gotham-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* size-adjust + ascent/descent tuned so the system fallback below
     occupies the same line-box. Values measured against Gotham-Book. */
  size-adjust: 96%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Gotham";
  src:
    url("../../fonts/Gotham-Medium.woff2") format("woff2"),
    url("../../fonts/Gotham-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  size-adjust: 96%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Gotham";
  src:
    url("../../fonts/Gotham-Bold.woff2") format("woff2"),
    url("../../fonts/Gotham-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 96%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Gotham";
  src:
    url("../../fonts/Gotham-Black.woff2") format("woff2"),
    url("../../fonts/Gotham-Black.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  size-adjust: 96%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* Metric-adjusted local fallback. Used as the second item in any
   font-family stack so the SYSTEM font that paints first matches
   Gotham's vertical metrics — no layout shift when Gotham loads. */
@font-face {
  font-family: "Gotham Fallback";
  src: local("Arial"), local("Helvetica"), local("Segoe UI"), local("Roboto");
  size-adjust: 96%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}
