/* The research site's header, on every page of the site and on the work copied into it (build.py adds it
   to each artifact's index.html). It resets its own elements, so the styles of the page under it cannot
   reach it, and sizes in px rather than rem for the same reason.

   --lbh-header-height is its height. A full-window page leaves that much room at the top, as the talk does.
   In full screen the header hides and the height is 0. */
@font-face { font-family: "LBH Geist"; src: url("fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root { --lbh-header-height: 72px; }
:root:fullscreen { --lbh-header-height: 0px; }
:root:fullscreen .lbh-top { display: none; }

.lbh-top, .lbh-top * { all: unset; }
.lbh-top { display: block; position: relative; z-index: 1000; box-sizing: border-box; height: var(--lbh-header-height);
  background: #084c42; color: #fff; font: 400 17px/1.6 "LBH Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; }
.lbh-top .lbh-shell { display: flex; align-items: center; gap: 24px; box-sizing: border-box; height: 100%;
  width: min(1216px, 100% - 2 * clamp(16px, 4vw, 40px)); margin: 0 auto; }
.lbh-top a { cursor: pointer; }
.lbh-top a:focus-visible { outline: 3px solid #f89c45; outline-offset: 2px; }
.lbh-top .lbh-brand { display: flex; align-items: center; gap: 16px; color: #fff; }
.lbh-top .lbh-brand img { display: block; width: 124px; height: auto; }
.lbh-top .lbh-brand span { font-weight: 750; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .3); }
.lbh-top .lbh-nav { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 15px; }
.lbh-top .lbh-nav a { color: #cfe2db; white-space: nowrap; padding: 6px 0; box-shadow: inset 0 -2px 0 transparent; }
.lbh-top .lbh-nav a:hover { color: #fff; }
.lbh-top .lbh-nav a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 #f89c45; }

@media (max-width: 560px) {
  :root { --lbh-header-height: 62px; }
  .lbh-top .lbh-shell { gap: 16px; }
  .lbh-top .lbh-brand img { width: 100px; }
  .lbh-top .lbh-brand span { font-size: 16px; padding-left: 13px; }
  .lbh-top .lbh-nav { gap: 18px; font-size: 14px; }
  .lbh-top .lbh-nav .lbh-out { display: none; }
}
