/* Self-hosted display fonts for the board. The board sets data-clock-font and
   data-text-font on <html>; each choice maps to a family below. */
@font-face { font-family: 'Russo One'; src: url('fonts/russo-one-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Orbitron'; src: url('fonts/orbitron-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Orbitron'; src: url('fonts/orbitron-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Share Tech Mono'; src: url('fonts/share-tech-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Bebas Neue'; src: url('fonts/bebas-neue-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('fonts/nunito-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('fonts/nunito-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('fonts/atkinson-hyperlegible-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('fonts/atkinson-hyperlegible-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('fonts/lora-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('fonts/lora-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Merriweather'; src: url('fonts/merriweather-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Merriweather'; src: url('fonts/merriweather-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Roboto Slab'; src: url('fonts/roboto-slab-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Roboto Slab'; src: url('fonts/roboto-slab-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* Clock faces. Only the seven-segment face shows the dim "88:88:88" ghost digits.
   The -adjust values are each font's x-height ratio, for font-size-adjust. */
:root { --clock-font: 'DSEG7 Modern', ui-monospace, monospace; --clock-ghost: 0.13; }
[data-clock-font="russo-one"]        { --clock-font: 'Russo One', sans-serif; --clock-ghost: 0; --clock-adjust: 0.53; }
[data-clock-font="orbitron"]         { --clock-font: 'Orbitron', sans-serif; --clock-ghost: 0; --clock-adjust: 0.58; }
[data-clock-font="share-tech-mono"]  { --clock-font: 'Share Tech Mono', ui-monospace, monospace; --clock-ghost: 0; --clock-adjust: 0.5; }
[data-clock-font="bebas-neue"]       { --clock-font: 'Bebas Neue', sans-serif; --clock-ghost: 0; --clock-adjust: 0.7; }
[data-clock-font="playfair-display"] { --clock-font: 'Playfair Display', serif; --clock-ghost: 0; --clock-adjust: 0.514; }
[data-clock-font="inter"]            { --clock-font: 'Inter', sans-serif; --clock-ghost: 0; --clock-adjust: 0.546; }

/* Text used by the date, weather, calendar, and tickers. */
[data-text-font="inter"]                 { --text-font: 'Inter', sans-serif; --text-adjust: 0.546; }
[data-text-font="plus-jakarta-sans"]     { --text-font: 'Plus Jakarta Sans', sans-serif; --text-adjust: 0.536; }
[data-text-font="nunito"]                { --text-font: 'Nunito', sans-serif; --text-adjust: 0.484; }
[data-text-font="atkinson-hyperlegible"] { --text-font: 'Atkinson Hyperlegible', sans-serif; --text-adjust: 0.496; }
[data-text-font="lora"]                  { --text-font: 'Lora', serif; --text-adjust: 0.5; }
[data-text-font="merriweather"]          { --text-font: 'Merriweather', serif; --text-adjust: 0.555; }
[data-text-font="roboto-slab"]           { --text-font: 'Roboto Slab', serif; --text-adjust: 0.528; }
