/* The header stays within reach as visitors explore the content ecosystem. */
html { scroll-padding-top: 108px; }
.header {
  position: fixed;
  z-index: 40;
  background: rgba(18, 21, 16, .18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.header .nav-shell { transition: height .3s ease; }
.header.is-scrolled, .header.is-menu-open {
  background: rgba(22, 26, 19, .9);
  border-bottom-color: rgba(255, 255, 255, .13);
  box-shadow: 0 8px 30px rgba(10, 15, 7, .13);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}
.header.is-scrolled .nav-shell { height: 76px; }
.navigation a { transition: color .2s ease; }
.navigation a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navigation a:hover::after, .navigation a.active::after,
.navigation a:focus-visible::after { transform: scaleX(1); }
.nav-cta span { transition: transform .25s ease; }
.nav-cta:hover span, .nav-cta:focus-visible span { transform: translate(3px, -3px); }
.header .brand-symbol i { transition: transform .25s ease; }
.header .brand:hover i:nth-child(2) { transform: translateY(-3px); }
.header .brand:hover i:nth-child(3) { transform: translateY(2px); }

@media (max-width: 960px) {
  html { scroll-padding-top: 94px; }
  .header.is-scrolled .nav-shell { height: 68px; }
  .header .navigation { top: 100%; max-height: calc(100dvh - 78px); overflow-y: auto; }
  .navigation a::after { right: auto; width: 30px; bottom: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .header, .header *, .header *::after { transition: none !important; }
}
