/* Locally hosted so Polish diacritics and the tape controls keep the same face offline. */
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/plex/ibm-plex-mono-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/plex/ibm-plex-mono-400-ext.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0100-02FF, U+1D00-1EFF, U+20A0-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/plex/ibm-plex-mono-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/plex/ibm-plex-mono-500-ext.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; unicode-range: U+0100-02FF, U+1D00-1EFF, U+20A0-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/plex/ibm-plex-mono-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/plex/ibm-plex-mono-600-ext.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; unicode-range: U+0100-02FF, U+1D00-1EFF, U+20A0-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* BENTOS's own typefaces, scoped to the project and its featured card. */
@font-face { font-family: "Open Sauce Sans"; src: url("../assets/fonts/bentos/open-sauce-sans-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sauce Sans"; src: url("../assets/fonts/bentos/open-sauce-sans-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Open Sauce Sans"; src: url("../assets/fonts/bentos/open-sauce-sans-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Open Sauce Sans"; src: url("../assets/fonts/bentos/open-sauce-sans-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Bentos Space Mono"; src: url("../assets/fonts/bentos/space-mono-latin-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Bentos Space Mono"; src: url("../assets/fonts/bentos/space-mono-latin-ext-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0100-02FF, U+1D00-1EFF, U+20A0-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bentos Space Mono"; src: url("../assets/fonts/bentos/space-mono-latin-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Bentos Space Mono"; src: url("../assets/fonts/bentos/space-mono-latin-ext-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; unicode-range: U+0100-02FF, U+1D00-1EFF, U+20A0-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --font-head: "IBM Plex Mono", ui-monospace, monospace;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}
.hero__title { font-size: clamp(3.5rem, 8vw, 7.6rem); letter-spacing: -.065em; }
/* A small echo of the angled VHS stripes in the About headline. */
.hero__title .phd {
  color: #9b246c;
  background: linear-gradient(135deg, #a95700 0 20%, #bd4e14 20% 40%, #c52450 40% 60%, #a82a87 60% 80%, #6835bf 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
:root[data-theme="dark"] .hero__title .phd {
  background-image: linear-gradient(135deg, #ffce62 0 20%, #ff985a 20% 40%, #ff7790 40% 60%, #e880d3 60% 80%, #bea1ff 80%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero__title .phd {
    background-image: linear-gradient(135deg, #ffce62 0 20%, #ff985a 20% 40%, #ff7790 40% 60%, #e880d3 60% 80%, #bea1ff 80%);
  }
}
@media (forced-colors: active) {
  .hero__title .phd { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
.bentos, .card--bentos {
  --font-body: "Open Sauce Sans", system-ui, sans-serif;
  --font-head: "Open Sauce Sans", system-ui, sans-serif;
  --font-mono: "Bentos Space Mono", ui-monospace, monospace;
  font-family: var(--font-body);
}
/* The cassette and remote use the same glyphs on every language channel. */
.channel, .back-top__label, .osd, .tape-resume, .remote.remote { font-family: var(--font-mono); }
.channel { font-size: .85rem; }
.back-top__label { font-size: .65rem; }
.tape-resume { font-size: .78rem; }
