/*
 * Shared site header. Every public page uses the same markup:
 *   <header class="pb-header"><div class="pb-header__inner">
 *     <a class="pb-brand" href="/">…pebble</a>
 *     <nav class="pb-nav" aria-label="Main navigation">Research · Papers & code · Tools · About</nav>
 *   </div></header>
 * Load this stylesheet after the page's own CSS. Every property is set here so
 * page stylesheets (findings notes, white paper, 404) cannot restyle it.
 */
.pb-header {
  display: block;
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  background: #faf5e7;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.75;
}
.pb-header__inner {
  box-sizing: border-box;
  width: min(860px, calc(100% - 64px));
  max-width: none;
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.pb-header .pb-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #1a1a1a;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  text-decoration: none;
}
.pb-header .pb-brand img {
  display: block;
  width: 21px;
  height: 28px;
}
.pb-header .pb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.75;
}
.pb-header .pb-nav a {
  margin: 0;
  padding: 0;
  color: #1a1a1a;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.pb-header .pb-nav a:hover,
.pb-header .pb-nav a[aria-current="page"] { color: #1a1a1a; text-decoration-thickness: 2px; }
.pb-header a:focus-visible { outline: 2px solid #8b2e1f; outline-offset: 5px; }
@media (max-width: 640px) {
  .pb-header__inner { width: calc(100% - 40px); padding: 22px 0; }
}
@media (max-width: 520px) {
  .pb-header__inner { flex-wrap: wrap; gap: 14px; }
}
