/* Shared layout refinements for the connected eight-page site. */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0}
#nexa-prototype :where(section,article,figure,nav,form,fieldset,[role="tabpanel"]){min-width:0}
#nexa-prototype :where(p,h1,h2,h3,h4,a,button,summary,address){overflow-wrap:break-word}
#nexa-prototype :where(button,input,select,textarea){max-width:100%}
#nexa-prototype :where(a,button,summary){touch-action:manipulation}
#nexa-prototype [hidden]{display:none!important}
#nexa-prototype [id]{scroll-margin-top:20px}
@media(max-width:1100px){
 #nexa-prototype .header{flex-wrap:wrap;gap:18px}
 #nexa-prototype .header-enquiry{display:none}
 #nexa-prototype .menu-toggle{display:block;min-width:76px;min-height:44px}
 #nexa-prototype .nav{display:none;width:100%;order:3;gap:0 24px;background:#17252f;padding:10px 16px}
 #nexa-prototype .nav.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #nexa-prototype .nav a{display:flex;align-items:center;min-height:48px;font-size:14px;padding:11px 0}
 #nexa-prototype .nav a.active:after{bottom:6px}
}
@media(max-width:700px){
 #nexa-prototype .wrap{width:calc(100% - 40px)}
 #nexa-prototype :where(input,select,textarea){font-size:16px;min-width:0;width:100%}
 #nexa-prototype .enquiry-preview{white-space:pre-wrap;overflow-wrap:anywhere}
 #nexa-prototype .enquiry-field,#nexa-prototype .enquiry-panel,#nexa-prototype .enquiry-form{min-width:0}
 #nexa-prototype .services-sector-tabs,#nexa-prototype .opportunities-tabs{flex-wrap:wrap;row-gap:0}
 #nexa-prototype .services-sector-tabs button,#nexa-prototype .opportunities-tabs button{white-space:normal;text-align:left}
 #nexa-prototype .home-footer-nav a,#nexa-prototype .home-footer-map,#nexa-prototype .careers-email-address{min-height:44px}
 #nexa-prototype .hero-copy{padding-top:65px}
 #nexa-prototype .hero-picture .hero-image{object-position:50% 50%}
 #nexa-prototype .hero-caption{max-width:calc(100% - 40px);text-align:right;line-height:1.7}
 #nexa-prototype .careers-people .eyebrow{font-size:11px}
}
@media(max-width:380px){
 #nexa-prototype h1{font-size:38px!important;letter-spacing:-.8px!important}
 #nexa-prototype :where(.home-contact h2,.services-editorial-head h2,.leadership-spotlight-top h2,.opportunities-enquiries h2,.services-approach h2,.careers-interest-heading h2){font-size:34px!important}
 #nexa-prototype .enquiry-panel{padding:25px 18px}
 #nexa-prototype .home-contact-primary{max-width:100%;gap:18px;padding-left:21px;padding-right:21px}
 #nexa-prototype .services-feature-body{padding-left:20px;padding-right:20px}
 #nexa-prototype .leader-spotlight-portrait{max-width:100%}
 #nexa-prototype .careers-people{padding-left:21px;padding-right:21px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#nexa-prototype *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
