/* STAN navigation: shared responsive component, loaded after page-specific styles. */
.stan-header{position:relative;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;min-width:0}
.stan-header .logo{flex:0 0 auto;white-space:nowrap;text-decoration:none}
.stan-header .stan-nav{display:flex!important;flex-wrap:wrap!important;align-items:center;justify-content:flex-end;gap:8px 16px;min-width:0}
.stan-header .stan-nav a{margin:0!important;text-decoration:none;white-space:nowrap;font-size:13px;line-height:1.35}
.stan-header .stan-nav a[aria-current="page"]{font-weight:800;color:#254b32}
.stan-menu-toggle{display:none;align-items:center;gap:9px;border:1px solid #d8e1d8;border-radius:10px;background:#fff;color:#264632;padding:10px 13px;font:700 14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.stan-menu-toggle:focus-visible,.stan-header .stan-nav a:focus-visible{outline:3px solid #559966;outline-offset:3px}
@media(max-width:920px){
 .stan-header{padding:16px 20px!important;min-height:68px;isolation:isolate}
 .stan-header .logo{font-size:clamp(16px,4vw,21px)!important}
 .stan-menu-toggle{display:inline-flex;flex:0 0 auto}
 .stan-header .stan-nav{display:none!important;position:absolute;top:calc(100% - 1px);right:12px;left:12px;z-index:1000;flex-direction:column;align-items:stretch;gap:0;padding:8px;background:#fff;border:1px solid #dce5dc;border-radius:14px;box-shadow:0 14px 35px rgba(25,45,32,.16)}
 .stan-header .stan-nav.is-open{display:flex!important}
 .stan-header .stan-nav a{display:block;padding:13px 15px!important;font-size:15px!important;white-space:normal;border-radius:8px}
 .stan-header .stan-nav a:hover,.stan-header .stan-nav a[aria-current="page"]{background:#edf3ed}
}
@media(max-width:340px){.stan-header{padding-left:12px!important;padding-right:12px!important}.stan-header .logo{font-size:15px!important}.stan-menu-toggle{padding:9px}}

/* First-visit Safari hardening: keep the expanded menu above the page's hero. */
@media(max-width:920px){
 header.stan-header{position:relative!important;z-index:2147483000!important;background:#f8f8f6!important;isolation:isolate!important}
 header.stan-header nav#stan-main-navigation.is-open{display:flex!important;position:absolute!important;top:calc(100% - 1px)!important;left:12px!important;right:12px!important;z-index:2147483000!important;background-color:#fff!important;opacity:1!important;box-shadow:0 16px 44px rgba(25,45,32,.20)!important;contain:paint}
}

/* iPhone / small viewport: force a visible, tappable menu independent of legacy header styles. */
@media screen and (max-width:920px){
 header.stan-header button.stan-menu-toggle{display:inline-flex!important;visibility:visible!important;opacity:1!important;min-height:44px;min-width:74px;justify-content:center;position:relative;z-index:2}
 header.stan-header nav#stan-main-navigation:not(.is-open){display:none!important}
 header.stan-header nav#stan-main-navigation.is-open{display:flex!important;max-height:min(72dvh,610px);overflow-y:auto;-webkit-overflow-scrolling:touch}
 header.stan-header .logo{min-width:0;max-width:calc(100% - 95px);overflow:hidden;text-overflow:ellipsis}
 header.stan-header{width:100%;max-width:100%;box-sizing:border-box}
}
@media screen and (max-width:480px){
 header.stan-header{padding:12px 14px!important;gap:8px!important}
 header.stan-header .logo{font-size:clamp(12px,3.65vw,17px)!important;letter-spacing:-.04em}
 header.stan-header .stan-brandmark{width:25px;height:25px;object-fit:contain}
}

/* Mobile first: expose the menu control and reserve full-width tap targets. */
@media(max-width:920px){
 html body header.stan-header .stan-menu-toggle{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;min-width:80px;min-height:44px}
 html body header.stan-header{overflow:visible!important}
 html body header.stan-header nav#stan-main-navigation.is-open{display:flex!important;visibility:visible!important;pointer-events:auto!important}
 html body header.stan-header nav#stan-main-navigation a{min-height:44px;align-content:center}
}
