@font-face {
  font-family: "Fira Sans Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/fira.6dfaf953.woff2") format("woff2");
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/zilla-regular.f7418a96.woff2") format("woff2");
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/zilla-medium.0f868df4.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-complete.8f49156d.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --porcelain: #fbf9f6;
  --ink: #332d29;
  --vermillion: #ae3e06;
  --white: #fff;
  --font-heading: "Fira Sans Condensed", sans-serif;
  --font-body: "Zilla Slab", Georgia, serif;
  --font-mono: "JetBrains Mono", monospace;
  background: var(--porcelain);
  color: var(--ink);
  font: 400 100%/1.4 var(--font-body);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; }
a { color: inherit; text-underline-offset: .15em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--porcelain);
  color: var(--ink);
}
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
#content { display: flex; flex: 1 0 auto; flex-direction: column; }
#content > .home-news { flex: 1 0 auto; }

/* Give transparent editorial type a grayscale compositing surface. This keeps
   coloured subpixel fringes off both the porcelain and vermillion grounds. */
@media screen and (forced-colors: none) {
  .bagel-masthead__nav,
  .viewer-location,
  .bagel-introduction__inner,
  #bagel-hardware-heading,
  .bagel-deploy,
  .home-research__copy,
  .home-research__resources,
  .home-research__controls,
  .home-news__inner,
  .home-footer__links { filter: opacity(.999); }
}
