/* V11 — permanent, accessible sticky navigation */
html { scroll-padding-top: 112px; }
body.v6-site .site-header,
body.v6-site .site-header.v5-header {
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 0 !important;
  inset-block-start: 0 !important;
  z-index: 9999 !important;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  background: rgba(255,255,255,.985) !important;
  border-bottom: 1px solid #eadff8 !important;
  box-shadow: 0 10px 26px rgba(38,15,80,.11) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: none !important;
}
body.v6-site .site-header.is-scrolled {
  box-shadow: 0 14px 30px rgba(38,15,80,.17) !important;
}
body.v6-site .page-progress { z-index: 10002; }
body.v6-site .main-nav { min-width: 0; }
body.v6-site .site-header > * { flex-shrink: 1; }
body.v6-site .main-nav a { white-space: nowrap; }
[id] { scroll-margin-top: 112px; }
@media(max-width:1100px) {
  html { scroll-padding-top: 88px; }
  [id] { scroll-margin-top: 88px; }
  body.v6-site .site-header, body.v6-site .site-header.v5-header { min-height: 76px; height: auto; }
  body.v6-site .site-header .menu-toggle { flex-shrink: 0; }
}
@media(max-width:820px) {
  html { scroll-padding-top: 86px; }
  [id] { scroll-margin-top: 86px; }
  body.v6-site .site-header,body.v6-site .site-header.v5-header{ height: 76px; min-height: 76px; }
  body.v6-site .main-nav { max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
/* On compact phones the global quote button duplicates the floating contact dock.
   Hide it to prevent overlap with the mobile menu control. */
@media (max-width: 600px) {
  body.v6-site .site-header .header-cta { display: none !important; }
  body.v6-site .site-header .brand { min-width: 0 !important; margin-right: auto; }
  body.v6-site .site-header .menu-toggle { display: flex !important; margin-left: auto; }
}
