/* =====================================================================
   DISPLAY FACE — the geometric grotesk used for the HARMONIA ENGINE
   wordmark (homepage footer) and the HARMONIA credit on the results page.

   Gotham (Hoefler&Co) is the intended face and it is a licensed, commercial
   typeface. Until a webfont licence is held, Montserrat (SIL OFL 1.1, the
   closest free geometric match) is self-hosted here and stands in. Nothing
   downstream names either family: every surface reads the --font-display
   token below, so swapping the face is a one-line change in this file.

   TO SHIP GOTHAM: drop the licensed woff2 files into assets/fonts/ and add
   @font-face blocks for font-family: "Gotham" (weights 500/700) above the
   Montserrat ones. "Gotham" is already first in the token's stack, so the
   browser picks it up the moment the face resolves; Montserrat stays as the
   fallback for anyone whose machine has neither.
   ===================================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("montserrat-medium-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("montserrat-semibold-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("montserrat-bold-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The token. "Gotham" first so a licensed install (local or @font-face) wins,
   Montserrat as the shipped stand-in, then the platform's own geometric sans. */
:root {
  --font-display: "Gotham", "Montserrat", "Avenir Next", "Helvetica Neue", Arial, system-ui, sans-serif;
}

/* The wordmark treatment shared by every surface that sets the display face:
   caps are set IN MARKUP (so they copy and read aloud correctly), and this
   only supplies the tracking and the face. */
.display-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-indent: 0.22em;            /* balances the trailing tracking so the caps centre optically */
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}
