/* =============================================================================
   Matthew House - self-hosted fonts (NO external CDN at runtime).
   Static TTFs live in /wwwroot/fonts. Italics and variable-font files are not
   declared (the UI uses neither).

   ACTIVE (Addendum D1, the design font system):
     - Hanken Grotesk -> --mh-font-head AND --mh-font-body (weights 400/500/600/700/800)
     - IBM Plex Mono  -> --mono, data-identifier surfaces only (weights 400/500/600)
     - Source Serif 4 -> --mh-font-serif, LOADED but applied NOWHERE yet (design accent,
                         waits for the full design engagement; weights 400/600/700)
   RETIRED (kept declared so stragglers degrade gracefully; tokens no longer point at
   them; asset cleanup rides the Phase 8 sweep): Urbanist, Fraunces, Public Sans.
   font-display: swap throughout.
   ========================================================================== */

/* ---- Hanken Grotesk (active head + body) ---- */
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:400; font-display:swap; src:url("/fonts/hankengrotesk-regular.ttf") format("truetype"); }
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:500; font-display:swap; src:url("/fonts/hankengrotesk-medium.ttf") format("truetype"); }
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:600; font-display:swap; src:url("/fonts/hankengrotesk-semibold.ttf") format("truetype"); }
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:700; font-display:swap; src:url("/fonts/hankengrotesk-bold.ttf") format("truetype"); }
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:800; font-display:swap; src:url("/fonts/hankengrotesk-extrabold.ttf") format("truetype"); }

/* ---- Bricolage Grotesque (display headings; now SELF-HOSTED, no CDN) ----
   Previously pulled from the Google Fonts CDN in App.razor; vendored here so the
   app has no runtime font egress. woff2 subsets (weights 600/700/800, latin +
   latin-ext) live in /wwwroot/fonts. Used by the First-Login onboarding screen
   (--font-display) and already referenced by mh-login / mh-datepicker / mh-subsidy. */
@font-face { font-family:"Bricolage Grotesque"; font-style:normal; font-weight:600; font-display:swap;
  src:url("/fonts/bricolagegrotesque-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+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:"Bricolage Grotesque"; font-style:normal; font-weight:600; font-display:swap;
  src:url("/fonts/bricolagegrotesque-semibold-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:"Bricolage Grotesque"; font-style:normal; font-weight:700; font-display:swap;
  src:url("/fonts/bricolagegrotesque-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+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:"Bricolage Grotesque"; font-style:normal; font-weight:700; font-display:swap;
  src:url("/fonts/bricolagegrotesque-bold-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:"Bricolage Grotesque"; font-style:normal; font-weight:800; font-display:swap;
  src:url("/fonts/bricolagegrotesque-extrabold-latin.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:"Bricolage Grotesque"; font-style:normal; font-weight:800; font-display:swap;
  src:url("/fonts/bricolagegrotesque-extrabold-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---- IBM Plex Mono (data identifiers: MH codes, record IDs, User ID) ---- */
@font-face { font-family:"IBM Plex Mono"; font-style:normal; font-weight:400; font-display:swap; src:url("/fonts/ibmplexmono-regular.ttf") format("truetype"); }
@font-face { font-family:"IBM Plex Mono"; font-style:normal; font-weight:500; font-display:swap; src:url("/fonts/ibmplexmono-medium.ttf") format("truetype"); }
@font-face { font-family:"IBM Plex Mono"; font-style:normal; font-weight:600; font-display:swap; src:url("/fonts/ibmplexmono-semibold.ttf") format("truetype"); }

/* ---- Source Serif 4 (declared + loaded via --mh-font-serif; applied NOWHERE yet) ---- */
@font-face { font-family:"Source Serif 4"; font-style:normal; font-weight:400; font-display:swap; src:url("/fonts/sourceserif4-regular.ttf") format("truetype"); }
@font-face { font-family:"Source Serif 4"; font-style:normal; font-weight:600; font-display:swap; src:url("/fonts/sourceserif4-semibold.ttf") format("truetype"); }
@font-face { font-family:"Source Serif 4"; font-style:normal; font-weight:700; font-display:swap; src:url("/fonts/sourceserif4-bold.ttf") format("truetype"); }

/* ---- Urbanist (RETIRED - was head + body; tokens now point at Hanken Grotesk) ----
   Static TTFs; weights 400/500/600/700/800. Kept declared per the Fraunces precedent;
   asset cleanup rides Phase 8. Italics intentionally not declared.
   --------------------------------------------------------------------------*/
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/urbanist-regular.ttf") format("truetype");
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/urbanist-medium.ttf") format("truetype");
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/urbanist-semibold.ttf") format("truetype");
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/urbanist-bold.ttf") format("truetype");
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/urbanist-extrabold.ttf") format("truetype");
}

/* ---- Fraunces (display / headings) ---- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin.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: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Public Sans (body / UI) ---- */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/publicsans-latin.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: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/publicsans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
