/* Shared navigation: a calm, scrollable sidebar with a compact mobile menu. */
body:has(#site-menu){--sidebar-width:274px;padding-left:var(--sidebar-width)}
body:has(#site-menu) > header.nav{position:fixed!important;inset:0 auto 0 0!important;width:var(--sidebar-width)!important;height:100dvh;box-sizing:border-box;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:24px!important;padding:26px 20px!important;margin:0!important;overflow-y:auto;background:#fff8f0!important;border-right:1px solid #d9c5b5;z-index:100}
body:has(#site-menu) .nav .brand-lockup{display:flex;gap:10px;white-space:normal}
body:has(#site-menu) .nav .brand-emblem{width:43px;height:52px;object-fit:contain}
body:has(#site-menu) .nav .brand-copy{font-size:14px;line-height:1.5;letter-spacing:.06em}
body:has(#site-menu) .nav .brand-copy > span{font-size:12px}
body:has(#site-menu) .grouped-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;width:100%;font-size:16px}
body:has(#site-menu) .grouped-nav > a,body:has(#site-menu) .nav-group > summary{display:block;padding:10px 12px;border-radius:7px;font-size:16px!important;line-height:1.45;white-space:normal;cursor:pointer}
body:has(#site-menu) .nav-group{width:100%;position:static}
body:has(#site-menu) .nav-dropdown{position:static!important;inset:auto!important;min-width:0!important;width:100%!important;box-sizing:border-box;box-shadow:none!important;background:transparent!important;border:0!important;border-left:1px solid #d9c5b5!important;border-radius:0!important;margin:4px 0 8px 12px;padding:0 0 0 10px!important}
body:has(#site-menu) .nav-dropdown a{display:block;font-size:14px!important;line-height:1.5;padding:8px!important;white-space:normal}
body:has(#site-menu) .grouped-nav a:hover,body:has(#site-menu) .nav-group summary:hover,body:has(#site-menu) .grouped-nav a[aria-current=page]{background:#eee0d3;color:#553b34}
body:has(#site-menu) a:focus-visible,body:has(#site-menu) button:focus-visible,body:has(#site-menu) summary:focus-visible{outline:2px solid #855b36;outline-offset:3px}
body:has(#site-menu) .nav-portrait{align-self:flex-start}
body:has(#site-menu) main{min-width:0}
body:has(#site-menu) .wrap{max-width:1150px;width:calc(100% - 64px);box-sizing:border-box}
body:has(#site-menu) .home-welcome{padding-top:65px;padding-bottom:60px;min-height:72dvh;gap:40px;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center}
body:has(#site-menu) .home-welcome h1{font-size:clamp(30px,3.4vw,52px)!important;line-height:1.15}
body:has(#site-menu) .home-welcome .home-portrait{max-height:560px}
body:has(#site-menu) .home-welcome .home-portrait img{width:100%;height:100%;max-height:560px;object-fit:cover}
.welcome-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.topic-heading{padding-top:48px}.topic-heading h1{font-size:clamp(28px,3vw,42px)!important;line-height:1.2}.site-menu-toggle{display:none}
@media(max-width:1000px){
 body:has(#site-menu){padding-left:0}
 body:has(#site-menu) > header.nav{position:relative!important;inset:auto!important;width:100%!important;height:auto;max-height:none;padding:18px 22px!important;display:grid!important;grid-template-columns:1fr auto;gap:14px!important;border-right:0;border-bottom:1px solid #d9c5b5;overflow:visible}
 .site-menu-toggle{display:block;padding:10px 16px;border:1px solid #b99872;border-radius:7px;color:#553b34;background:transparent;font:inherit;font-size:16px;cursor:pointer}
 body:has(#site-menu) #site-menu{grid-column:1/-1}
 body:has(#site-menu) #site-menu.menu-ready:not(.is-open){display:none!important}
 body:has(#site-menu) .wrap{width:calc(100% - 40px)}
 body:has(#site-menu) .home-welcome{padding-top:36px;min-height:0;grid-template-columns:1fr;gap:28px}
 body:has(#site-menu) .home-welcome .home-portrait{max-width:540px;width:100%;margin:auto}
 body:has(#site-menu) .home-welcome .home-portrait img{max-height:390px}
}

/* Gold buttons make each navigation choice distinct. */
body:has(#site-menu) .grouped-nav{gap:10px!important}
body:has(#site-menu) #site-menu a:not(.nav-portrait),
body:has(#site-menu) #site-menu .nav-group > summary,
body:has(#site-menu) .site-menu-toggle{
 box-sizing:border-box;
 border:1px solid #b58b35!important;
 border-radius:9px!important;
 background:linear-gradient(135deg,#ead396,#d5b363)!important;
 color:#332619!important;
 box-shadow:0 2px 4px #553b3414;
 text-decoration:none!important;
 padding:12px!important;
 min-height:44px;
 font-weight:600;
 transition:background .15s ease,box-shadow .15s ease;
}
body:has(#site-menu) #site-menu .nav-dropdown{width:calc(100% - 12px)!important;display:grid;gap:8px;margin-top:9px;margin-bottom:4px}
body:has(#site-menu) #site-menu a:not(.nav-portrait):hover,
body:has(#site-menu) #site-menu .nav-group > summary:hover,
body:has(#site-menu) .site-menu-toggle:hover{
 background:linear-gradient(135deg,#e1c47f,#cba64e)!important;
 box-shadow:0 3px 7px #553b3426;
}
body:has(#site-menu) #site-menu a[aria-current="page"]:not(.nav-portrait){
 background:#78551f!important;
 border-color:#78551f!important;
 color:#fff9ed!important;
 box-shadow:inset 4px 0 0 #f0d794;
}
body:has(#site-menu) #site-menu a:focus-visible,
body:has(#site-menu) #site-menu summary:focus-visible,
body:has(#site-menu) .site-menu-toggle:focus-visible{outline:3px solid #66451c;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body:has(#site-menu) #site-menu a,body:has(#site-menu) #site-menu summary{transition:none}}

/* Prominent logo, with compact proportions on smaller screens. */
body:has(#site-menu) .nav .brand-lockup{flex-direction:column;align-items:center;text-align:center;gap:12px}
body:has(#site-menu) .nav .brand-emblem{width:148px;height:148px;flex:0 0 148px;max-width:100%;object-fit:contain}
body:has(#site-menu) .nav .brand-copy{font-size:15px}
@media(max-width:1000px){body:has(#site-menu) .nav .brand-lockup{flex-direction:row;align-items:center;text-align:left;min-width:0;gap:12px}body:has(#site-menu) .nav .brand-emblem{width:90px;height:90px;flex:0 0 90px}}
@media(max-width:480px){body:has(#site-menu) .nav .brand-emblem{width:74px;height:74px;flex:0 0 74px}body:has(#site-menu) .nav .brand-copy{font-size:12px}body:has(#site-menu) .nav .brand-copy>span{font-size:10px}}
