.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--pine, #18302a);
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  position: relative;
  z-index: 10;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px var(--page-pad, clamp(22px, 5vw, 80px));
  background: var(--pine, #18302a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.brand span {
  white-space: nowrap;
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 38px);
}

nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover {
  color: #fff;
}

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    padding: 9px 20px;
  }

  .mobile-nav-enhanced .mobile-nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-header .site-navigation {
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: var(--pine, #18302a);
    box-shadow: 0 18px 38px rgba(14, 34, 29, 0.28);
  }

  .mobile-nav-enhanced .site-header .site-navigation {
    display: none;
    position: absolute;
    top: calc(100% - 8px);
    right: 20px;
    left: 20px;
    z-index: 20;
  }

  .mobile-nav-enhanced .site-header .site-navigation[data-open="true"] {
    display: flex;
  }

  .site-header .site-navigation a {
    width: 100%;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.9rem;
  }

  .site-header .site-navigation a:last-child {
    border-bottom: 0;
  }

  .site-header .site-navigation a:hover,
  .site-header .site-navigation a:focus-visible {
    background: rgba(255, 255, 255, 0.09);
  }

}

@media (max-width: 360px) {
  .site-header .brand span {
    display: none;
  }
}

.site-header .brand,
.guide-header .brand {
  gap: 8px;
  font-size: .82rem;
}

.site-header .brand-mark,
.guide-header .brand-mark {
  width: 36px;
  height: 36px;
}

.site-header .site-navigation {
  gap: clamp(14px, 2vw, 28px);
}

.site-header .site-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .82rem;
}

@media (max-width: 900px) {
  .site-header .site-navigation { gap: 0; }
}
