/* One navigation system for every public page. */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgb(247 247 242 / 30%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease-out, visibility 220ms ease-out;
}
body.menu-is-open { overflow: hidden; }
.menu-is-open .menu-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .menu-backdrop { background: rgb(36 38 32 / 25%); }
}
.site-header {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  height: 90px;
  margin: 0 auto;
  padding: 0 var(--brand-gutter);
  border-bottom: 1px solid var(--brand-line);
  background: var(--brand-bg);
  font-family: Manrope, sans-serif;
}
.site-header a, .mobile-nav a { text-decoration: none; }
.site-header .brand { display: flex; gap: 12px; font-size: 13px; line-height: 1.4; }
.site-header .brand img { display: block; width: 42px; height: 42px; }
.site-header .brand-caption { font-size: 11px; }
.site-header .desktop-nav { display: flex; align-items: center; gap: 22px; }
.site-header .desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--brand-muted);
}
.site-header .desktop-nav a:hover,
.site-header .desktop-nav a[aria-current] { color: var(--brand-ink); }
.site-header .desktop-nav a[aria-current]::after {
  content: '';
  position: absolute;
  left: calc(50% - 2px);
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.site-header .header-cta { display: inline-flex; min-height: 44px; padding: 11px 20px; font-size: 12px; white-space: nowrap; }
.site-header .menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 94px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--brand-line);
  border-radius: 24px;
  background: transparent;
  color: var(--brand-ink);
  font: 500 12px/1.5 Manrope, sans-serif;
  cursor: pointer;
  transition: background-color 150ms ease-out;
}
.site-header .menu-toggle:hover,
.site-header .menu-toggle[aria-expanded="true"] { background: var(--brand-soft); }
.menu-icon { position: relative; width: 18px; height: 18px; }
.menu-icon::before,.menu-icon::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 5px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease-out;
}
.menu-icon::after { top: 12px; }
[aria-expanded="true"] .menu-icon::before { transform: translateY(3.5px) rotate(45deg); }
[aria-expanded="true"] .menu-icon::after { transform: translateY(-3.5px) rotate(-45deg); }
nav.mobile-nav {
  box-sizing: border-box;
  position: fixed;
  inset: 90px 0 auto;
  z-index: 1000;
  display: grid;
  gap: 4px;
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px var(--brand-gutter) max(24px, env(safe-area-inset-bottom));
  border-bottom: 1px solid var(--brand-line);
  background: var(--brand-bg);
  font-family: Manrope, sans-serif;
}
nav.mobile-nav[hidden] { display: none; }
nav.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--brand-ink);
  font-size: 17px;
  line-height: 1.5;
}
nav.mobile-nav a:hover { background: var(--brand-soft); }
nav.mobile-nav a[aria-current] { background: var(--brand-soft); font-weight: 650; }
nav.mobile-nav a[aria-current]::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #a28524; }
nav.mobile-nav .mobile-contact { margin-top: 12px; background: var(--brand-ink); color: #fff; font-size: 14px; }
nav.mobile-nav .mobile-contact:hover { background: #41443a; }
@media (max-width: 1120px) {
  .site-header .desktop-nav, .site-header .header-cta { display: none; }
  .site-header .menu-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  .site-header { height: 76px; gap: 12px; }
  .site-header .brand { gap: 10px; font-size: 12px; }
  .site-header .brand-caption { font-size: 10px; }
  nav.mobile-nav { top: 76px; max-height: calc(100dvh - 76px); }
}
@media (max-width: 370px) {
  .site-header .brand { gap: 8px; font-size: 11px; }
  .site-header .brand img { width: 34px; height: 34px; }
  .site-header .brand-caption { font-size: 9px; }
  .site-header .menu-toggle { min-width: 82px; padding-inline: 12px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-icon::before,.menu-icon::after { transition: none; }
}
