/* ============================================================ FONTS ============================================================
   One place for every font on the domain (website, admin, door, demo).
   To change a font: swap the src files below and keep the family names. */

/* ---- display ---- */
@font-face { font-family: 'TM Display'; src: url('/static/fonts/RedHat/RedHatDisplay-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; 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: 'TM Display'; src: url('/static/fonts/RedHat/RedHatDisplay-latin-ext.woff2') format('woff2'); font-weight: 300 700; font-display: swap; 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; }

/* ---- text ---- */
@font-face { font-family: 'TM Text'; src: url('/static/fonts/RedHat/RedHatText-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; 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: 'TM Text'; src: url('/static/fonts/RedHat/RedHatText-latin-ext.woff2') format('woff2'); font-weight: 300 700; font-display: swap; 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; }

/* ---- mono ---- */
@font-face { font-family: 'TM Mono'; src: url('/static/fonts/RedHat/RedHatMono-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; 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: 'TM Mono'; src: url('/static/fonts/RedHat/RedHatMono-latin-ext.woff2') format('woff2'); font-weight: 300 700; font-display: swap; 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; }

/* ---- fitted variants: same files, scaled to the widths of the old fonts so fixed layouts (admin, door, demo) keep their sizes ---- */
/* replaces Poppins / Verdana */
@font-face { font-family: 'TM Text Fit'; src: url('/static/fonts/RedHat/RedHatText-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; size-adjust: 106%; }
/* replaces Bebas Neue (condensed caps) */
@font-face { font-family: 'TM Display Condensed'; src: url('/static/fonts/RedHat/RedHatDisplay-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; size-adjust: 63%; }
/* replaces Oswald */
@font-face { font-family: 'TM Display Narrow'; src: url('/static/fonts/RedHat/RedHatDisplay-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; size-adjust: 76%; }
/* replaces Inconsolata */
@font-face { font-family: 'TM Mono Fit'; src: url('/static/fonts/RedHat/RedHatMono-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; size-adjust: 84%; }

/* ---- brand ---- */
@font-face { font-family: 'Agelast'; src: url('/static/fonts/Agelast/AgelastStyledBold.woff') format('woff'), url('/static/fonts/Agelast/AgelastStyledBold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --tm-font-display: 'TM Display', 'Helvetica Neue', Arial, sans-serif;
  --tm-font-text: 'TM Text', 'Helvetica Neue', Arial, sans-serif;
  --tm-font-mono: 'TM Mono', ui-monospace, Menlo, monospace;
  --tm-font-text-fit: 'TM Text Fit', 'Helvetica Neue', Arial, sans-serif;
  --tm-font-display-condensed: 'TM Display Condensed', 'Arial Narrow', sans-serif;
  --tm-font-display-narrow: 'TM Display Narrow', 'Arial Narrow', sans-serif;
  --tm-font-mono-fit: 'TM Mono Fit', ui-monospace, Menlo, monospace;
  --tm-font-brand: 'Agelast', var(--tm-font-display);
}
