/* Transparent masthead, then light glass with dark navigation on scroll. */
:root{--aa-header-height:98px;--aa-header-offset:0px}
.aa-masthead-backdrop{position:relative;height:0;pointer-events:none}
.aa-masthead-backdrop:before{content:"";position:absolute;inset:0 0 auto;height:var(--aa-header-height);background:#173f35}
.aa-site .aa-header{position:sticky;top:var(--aa-header-offset);z-index:1000;isolation:isolate;background:transparent;color:#f7f6f0;border-bottom:1px solid #ffffff26;box-shadow:none;transition:background-color .24s ease,box-shadow .24s ease,border-color .24s ease,color .24s ease}
.aa-header .aa-header-inner{min-height:var(--aa-header-height);height:var(--aa-header-height);gap:32px;padding-block:0;position:relative;flex-wrap:nowrap}
.aa-header .aa-brand{color:inherit;font-size:1.4rem;gap:15px;letter-spacing:-.035em;line-height:1.1}
.aa-site .aa-brand-logo{display:block;width:56px;height:56px;object-fit:contain;border-radius:12px;flex:none;margin:0}
.aa-header .aa-main-nav{gap:22px}
.aa-header .aa-nav-group>a{font-size:.82rem;font-weight:500;color:inherit;padding-block:15px;transition:color .2s ease}
.aa-header .aa-sub-toggle{color:inherit;background:transparent;border:0;min-width:28px;min-height:44px;border-radius:6px;padding:0;font-size:1rem}
.aa-header .aa-nav-group>a:hover,.aa-header .aa-sub-toggle:hover{color:#ffc355}
.aa-header .aa-nav-journal>a{border-left:1px solid #ffffff35;padding-left:24px}
.aa-header .aa-submenu{background:#173f35;color:#f7f6f0;border:1px solid #ffffff24;border-top:2px solid #ffc355;border-radius:0 0 12px 12px;box-shadow:0 18px 35px #102f2926;padding:12px;min-width:275px}
.aa-header .aa-submenu a{color:inherit;font-size:.88rem;padding:12px;min-height:44px;border-radius:5px}
.aa-header .aa-submenu a:hover{background:#ffffff10;color:#ffc355}
.aa-header .aa-menu-toggle{color:inherit;border:1px solid #ffffff48;background:transparent;min-width:99px;min-height:46px;padding:10px 14px;gap:13px;align-items:center;border-radius:7px;box-shadow:none;line-height:1.2;font-size:.85rem}
.aa-header .aa-menu-toggle span{margin:0}
.aa-menu-glyph{display:flex;flex-direction:column;gap:6px;width:20px}
.aa-menu-glyph i{display:block;height:1.5px;background:currentColor;width:20px;transition:transform .2s ease}
.aa-menu-toggle[aria-expanded=true] .aa-menu-glyph i:first-child{transform:translateY(3.75px) rotate(45deg)}
.aa-menu-toggle[aria-expanded=true] .aa-menu-glyph i:last-child{transform:translateY(-3.75px) rotate(-45deg)}
.aa-site .aa-header.is-scrolled{background:rgba(250,249,244,.94);color:#173f35;border-bottom-color:#173f351c;box-shadow:0 4px 24px #173f3512;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.aa-header.is-scrolled .aa-nav-group>a:hover,.aa-header.is-scrolled .aa-sub-toggle:hover{color:#765019}
.aa-header.is-scrolled .aa-nav-journal>a{border-left-color:#173f352b}
.aa-header.is-scrolled .aa-menu-toggle{border-color:#173f3540}
.aa-header.is-scrolled .aa-submenu{background:#faf9f4;color:#173f35;border-color:#173f3522;border-top-color:#ba7b23}
.aa-header.is-scrolled .aa-submenu a:hover{background:#e5eadf;color:#173f35}
.aa-header a:focus-visible,.aa-header button:focus-visible{outline:2px solid #ffc355;outline-offset:4px}
.aa-header.is-scrolled a:focus-visible,.aa-header.is-scrolled button:focus-visible{outline-color:#8a5b18}
.aa-site main[id],.aa-site main [id]{scroll-margin-top:calc(var(--aa-header-height) + var(--aa-header-offset) + 24px)}
.aa-site .skip-link:focus{z-index:10001}
.admin-bar{--aa-header-offset:32px}
.aa-footer .aa-brand{gap:15px}
@media(min-width:1201px){
 .aa-header .aa-main-nav{position:static;display:flex;flex-wrap:nowrap;width:auto;padding:0;border:0}
 .aa-header .aa-menu-toggle{display:none}
}
@media(max-width:1200px){
 :root{--aa-header-height:88px}
 .aa-header .aa-header-inner{gap:18px;position:static}
 .aa-header .aa-brand{font-size:1.3rem;gap:12px}
 .aa-header .aa-brand-logo{width:50px;height:50px;border-radius:10px}
 .aa-header .aa-menu-toggle:not([hidden]){display:flex}
 .aa-header .aa-main-nav{position:absolute;left:0;right:0;top:100%;width:auto;display:block;margin:0;padding:12px max(32px,calc((100vw - 1280px) / 2)) 26px;background:#173f35;color:#f7f6f0;border-top:1px solid #ffffff24;max-height:calc(100vh - var(--aa-header-height) - var(--aa-header-offset));max-height:calc(100dvh - var(--aa-header-height) - var(--aa-header-offset));overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 30px #102f2926}
 .aa-header .aa-main-nav[hidden]{display:none}
 .aa-header .aa-nav-group{display:flex;flex-wrap:wrap;border-bottom:1px solid #ffffff26;gap:0}
 .aa-header .aa-nav-group>a{flex:1;font-size:1rem;padding:16px 0;min-height:54px}
 .aa-header .aa-sub-toggle{min-width:48px;min-height:50px}
 .aa-header .aa-submenu{position:static;width:100%;min-width:0;background:transparent;color:inherit;border:0;box-shadow:none;padding:0 0 13px 14px;border-radius:0}
 .aa-header .aa-submenu a{border:0;padding:12px 10px;font-size:.9rem}
 .aa-header .aa-nav-journal>a{border-left:0;padding-left:0}
 .aa-header.is-scrolled .aa-main-nav{background:#faf9f4;color:#173f35;border-top-color:#173f3522}
 .aa-header.is-scrolled .aa-nav-group{border-bottom-color:#173f3522}
 .aa-header.is-scrolled .aa-submenu{background:transparent}
 .aa-header.has-open-menu:not(.is-scrolled){background:#173f35}
 .aa-site:not(.aa-js) .aa-header{position:relative;height:auto;background:#173f35}
 .aa-site:not(.aa-js) .aa-header-inner{height:auto;flex-wrap:wrap;padding-block:18px}
 .aa-site:not(.aa-js) .aa-header .aa-main-nav{position:static;max-height:none;width:100%;padding:12px 0;box-shadow:none}
 .aa-site:not(.aa-js) .aa-header .aa-submenu{display:block}
}
@media(max-width:782px){.admin-bar{--aa-header-offset:46px}}
@media(max-width:600px){.admin-bar{--aa-header-offset:0px}}
@media(max-width:760px){
 .aa-header .aa-main-nav{padding-inline:24px}
 .aa-header .aa-brand{font-size:1.2rem;gap:10px}
 .aa-header .aa-menu-toggle{min-width:90px;padding-inline:12px;gap:10px}
 .aa-header .aa-brand-logo{width:46px;height:46px;border-radius:9px}
}
@media(prefers-reduced-motion:reduce){.aa-header,.aa-header *{transition:none!important}}
@media print{.aa-masthead-backdrop,.aa-site .aa-header{display:none!important}}
