/* One header across all pages. Theme stays fixed while scrolling. */
.site-header {
  --header-ink: #181818;
  --header-glass: rgb(20 20 20 / 4%);
  position: fixed;
  z-index: 999;
  inset: 16px 0 auto;
  pointer-events: none;
  font-family: 'Basiersquare webfont', sans-serif;
  font-size: 16px;
  line-height: 20px;
}
.site-header--dark {
  --header-ink: #fff;
  --header-glass: rgb(255 255 255 / 10%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 96px;
}
.site-header__pill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  contain: paint;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex: 0 1 424px;
  min-width: 0;
  height: 48px;
  border-radius: 100px;
  color: var(--header-ink);
  pointer-events: auto;
}
/* Keep the glass on one rounded layer, independent of link layout. */
.site-header__pill::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: var(--header-glass);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  pointer-events: none;
}
.site-header__home,
.site-header__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  height: 100%;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  border-radius: inherit;
  -webkit-tap-highlight-color: transparent;
}
.site-header__home, .site-header__links { position: relative; z-index: 1; }
.site-header__home { padding-inline: 20px 16px; }
.site-header__links { display: flex; align-items: stretch; border-radius: inherit; }
.site-header__thingy { padding-inline: 16px 8px; }
.site-header__about { padding-inline: 16px; }
.site-header__portrait {
  display: block;
  flex: none;
  object-fit: cover;
  border-radius: 50%;
}
.site-header__portrait--desktop { width: 20px; height: 20px; }
.site-header__portrait--mobile { display: none; width: 22px; height: 22px; }
.site-header__thingy-icon { display: block; flex: none; width: 32px; height: 20px; object-fit: contain; }
.site-header__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 112px;
  height: 44px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(#323232, #141414);
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  box-shadow: -12px 9px 9px #0000000d, -3px 4px 6px #0000001a, -1px 1px 4px #00000024, inset 0 1px 1px #ffffff26;
}
.site-header a:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.site-header__contact:active { transform: scale(.97); }
@media (max-width: 991px) {
  .site-header__inner { padding-inline: 48px; }
}
@media (max-width: 767px) {
  .site-header { font-size: 14px; line-height: 18px; }
  .site-header__inner { padding-inline: 24px; gap: 12px; }
  .site-header__pill { flex-basis: 330px; height: 36px; }
  .site-header__contact { height: 34px; flex-basis: 104px; }
  .site-header__home { padding-inline: 16px 8px; }
  .site-header__thingy { padding-inline: 8px; }
  .site-header__about { padding-inline: 8px 16px; }
  .site-header__thingy-icon { display: none; }
}
@media (max-width: 479px) {
  .site-header__inner { padding-inline: 20px; }
  .site-header__pill { flex: 1 1 auto; }
  .site-header__home { padding-inline: 8px; }
  .site-header__portrait--mobile { display: block; }
  .site-header__portrait--desktop, .site-header__thingy { display: none; }
}
@media (max-width: 359px) {
  .site-header__inner { padding-inline: 12px; gap: 8px; }
  .site-header__home { gap: 6px; }
  .site-header__contact { flex-basis: 90px; padding-inline: 12px; }
  .site-header__about { padding-inline: 8px 12px; }
}
