/* Round 12.3 — restore right-hand navigation, mobile menu stacking, legible white hero copy. */
body:not(.admin-page) header{position:relative!important;z-index:10000!important;isolation:auto!important;overflow:visible!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:clamp(10px,1.6vw,24px)!important}
body:not(.admin-page) header .brand{order:0;flex-shrink:0}
body:not(.admin-page) header #mainNav{order:1;margin-inline-start:auto!important;margin-left:auto!important;display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,2vw,28px);flex:0 1 auto}
body:not(.admin-page) header .r11-switchers{order:2;flex-shrink:0;margin-inline-start:0!important;position:relative;z-index:10003}
body:not(.admin-page) header .nav-contact{position:relative;z-index:10002}
body:not(.admin-page) header .contact-menu:not([hidden]){display:flex!important;flex-direction:column;position:absolute!important;top:calc(100% + 12px)!important;right:0!important;left:auto!important;z-index:10004!important;box-shadow:0 18px 42px rgba(0,0,0,.25)!important}
body:not(.admin-page) .hero{z-index:0!important}
/* White headline on image, with a defined edge and shadow for both modes. */
html[data-theme="light"] body:not(.admin-page) #heroTitle,
html:not([data-theme="dark"]) body:not(.admin-page) #heroTitle{color:#fff!important;-webkit-text-stroke:.45px rgba(20,18,16,.55)!important;text-shadow:0 2px 3px rgba(0,0,0,.85),0 5px 20px rgba(0,0,0,.55)!important}
html[data-theme="light"] body:not(.admin-page) #heroSubtitle,
html:not([data-theme="dark"]) body:not(.admin-page) #heroSubtitle{color:#fff!important;text-shadow:0 1px 3px rgba(0,0,0,.95),0 2px 12px rgba(0,0,0,.7)!important}
html[data-theme="dark"] body:not(.admin-page) #heroTitle{color:#fff!important;-webkit-text-stroke:.3px rgba(0,0,0,.35)!important;text-shadow:0 2px 5px rgba(0,0,0,.65),0 4px 18px rgba(0,0,0,.4)!important}
html[data-theme="dark"] body:not(.admin-page) #heroSubtitle{color:#fff!important;text-shadow:0 1px 5px rgba(0,0,0,.7)!important}
@media(max-width:700px){
 body:not(.admin-page) header{z-index:10000!important;isolation:auto!important;flex-wrap:nowrap!important;gap:5px!important}
 body:not(.admin-page) header #mainNav,body:not(.admin-page) header #mainNav.open{position:relative!important;inset:auto!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;min-height:0!important;padding:0!important;margin-inline-start:auto!important;margin-left:auto!important;gap:clamp(3px,1.3vw,10px)!important;background:transparent!important;box-shadow:none!important;border:0!important;z-index:10002!important}
 body:not(.admin-page) header #mainNav a,body:not(.admin-page) header #mainNav .nav-contact>button{font-size:clamp(8px,1.8vw,11px)!important;white-space:nowrap!important}
 body:not(.admin-page) header .r11-switchers{order:2!important;z-index:10003!important}
 body:not(.admin-page) header .nav-contact .contact-menu:not([hidden]){position:fixed!important;top:var(--r123-menu-top,80px)!important;right:3vw!important;left:auto!important;width:min(260px,90vw)!important;max-height:65vh!important;overflow-y:auto!important;z-index:10005!important;background:var(--r11-bg)!important;color:var(--r11-fg)!important;box-shadow:0 16px 40px rgba(0,0,0,.35)!important}
 body:not(.admin-page) header .nav-contact .contact-menu:not([hidden]) a{display:flex!important;visibility:visible!important;opacity:1!important}
}
