/* A compact navigation rail. Native anchor links work without JavaScript. */
.site-header {
  height: 88px;
  background: linear-gradient(180deg, #07111deb, #050d19e8);
  border-bottom-color: #81c7ff12;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header[data-scrolled="true"] {
  background: #07111df5;
  border-bottom-color: #81c7ff24;
  box-shadow: 0 10px 30px #00000024;
}
.site-header .nav-row { gap: 22px; }
.site-header .brand { min-height: 44px; }
.site-header .nav-row nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid #9bbde31f;
  border-radius: 999px;
  background: #10213970;
  box-shadow: inset 0 1px 0 #d5eaff05;
}
.site-header .nav-row nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  color: #b3c3d7;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.site-header .nav-row nav a:hover {
  color: #f4f7fc;
  background: #93c7ff0c;
}
.site-header .nav-row nav a[aria-current="location"] {
  color: #e9f5ff;
  border-color: #81c7ff38;
  background: linear-gradient(135deg, #24476a99, #17314c99);
  box-shadow: inset 0 1px 0 #c9e5ff0d, 0 2px 8px #0002;
}
.site-header .nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 9px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid #ffba3961;
  border-radius: 999px;
  background: #ffba390c;
  color: #ffd282;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.site-header .nav-contact svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-header .nav-contact:hover,
.site-header .nav-contact[aria-current="location"] {
  background: #ffba3920;
  border-color: #ffcc74;
  color: #ffe5b3;
}
.site-header a:focus-visible { outline-offset: 3px; }
@media (max-width: 1000px) and (min-width: 801px) {
  .site-header .nav-row { gap: 14px; }
  .site-header .nav-row nav a { padding-inline: 12px; }
  .site-header .brand { font-size: 1.4rem; }
  .site-header .nav-contact { padding-inline: 14px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 145px; }
  .site-header { height: 128px; }
  .site-header .nav-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 62px 52px;
    align-content: start;
    gap: 0 12px;
  }
  .site-header .brand { grid-column: 1; grid-row: 1; width: fit-content; }
  .site-header .nav-contact {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    min-height: 44px;
    padding: 8px 13px;
    gap: 7px;
  }
  .site-header .nav-row nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1.14fr .85fr;
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 3px;
  }
  .site-header .nav-row nav a { padding: 8px 6px; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .nav-row nav a, .site-header .nav-contact { transition: none; }
}
