/* Phone and tablet refinements. Print editions retain their A4 layouts. */
@media screen and (max-width:950px){
 html{scroll-padding-top:calc(var(--asa-header-height,86px) + 16px);-webkit-text-size-adjust:100%;text-size-adjust:100%}
 .navigation{height:86px;padding:12px 5%;gap:14px;isolation:isolate}
 .navigation .brand-logo{width:95px;height:auto}
 .navigation .button{display:none}
 .nav-actions{gap:10px;margin-inline-start:auto}
 .lang,.menu{min-width:44px;min-height:44px;display:inline-grid;place-items:center;flex-shrink:0}
 .menu{display:inline-grid}
 .lang{font-size:12px;padding:8px 13px}
 .main-nav{display:none;position:fixed;inset:var(--asa-header-height,86px) 0 auto;background:#fff;border-bottom:1px solid #dce4eb;padding:16px 6% max(24px,env(safe-area-inset-bottom))!important;border-radius:0!important;box-shadow:0 18px 30px #1c3c5512;max-height:calc(var(--asa-viewport-height,100dvh) - var(--asa-header-height,86px))!important;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:14px;-webkit-overflow-scrolling:touch}
 .main-nav.open{display:flex;flex-direction:column;align-items:stretch;gap:8px!important;font-size:15px}
 .main-nav>a,.nav-services{min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:10px 3px;flex-shrink:0;font-size:15px}
 .main-nav .services-menu{position:static;flex-shrink:0}
 .mega-panel{position:static;padding:8px 0 16px;border:0;box-shadow:none;max-height:none;overflow:visible}
 .mega-heading{position:sticky;top:-16px;z-index:2;background:#fff;padding:12px 0 15px;margin:0}
 .mega-heading h2{font-size:23px;margin-bottom:12px}
 .mega-search>span{font-size:13px}
 .mega-search input{width:100%;font-size:16px;min-height:48px;padding:12px;border-radius:12px;outline-offset:-3px}
 .mega-group{min-width:0}.mega-group h3 a{min-height:44px;align-items:center}
 .mega-group li a{min-height:48px;padding:12px 2px;font-size:14px;line-height:1.8}
 #mega-groups{gap:12px;margin-top:6px}
 body.asa-nav-open{overflow:hidden;overscroll-behavior:none}
 body.asa-nav-open .menu{font-size:0}body.asa-nav-open .menu svg{display:none}body.asa-nav-open .menu:after{content:'×';font:400 30px/1 Arial,sans-serif}
 body.asa-nav-open .mobile-contact-bar,body.asa-editing .mobile-contact-bar{display:none!important}
 body:has(.mobile-contact-bar){padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
 .mobile-contact-bar{padding:10px max(5%,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(5%,env(safe-area-inset-left));gap:8px}
 .mobile-contact-bar a{min-height:48px;display:flex;align-items:center;justify-content:center;padding:11px 13px;line-height:1.5;font-size:13px}
 .hero-copy,.hero-scene,.section>div,.catalog-head>div,.request-card,.profile-text,.service-selection>article{min-width:0}
 .filters button,.story-controls button,.catalog-tabs button,.choose-files,.remove-file,.photo-close,.photo-controls button{min-height:44px}
 .filters button{font-size:12px;padding:10px 14px}
 .request-card input:not([type=file]):not([type=checkbox]),.request-card select,.request-card textarea{font-size:16px;line-height:1.6;min-height:50px;padding:12px}
 .request-card textarea{min-height:144px;resize:vertical}
 .request-card label,html[lang=ar] .request-card label{font-size:14px}
 .request-card select{width:100%;max-width:100%;text-overflow:ellipsis}
 .request-card .form-grid{gap:16px}
 .consent-row{min-height:44px;align-items:flex-start!important}.consent-row input{width:22px!important;height:22px;min-height:22px;padding:0!important;margin-top:3px}.consent-row span{font-size:13px}
 .privacy-link{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
 .upload-box small{font-size:12px;line-height:1.9}
 #file-list .file-entry{gap:12px;font-size:13px}.remove-file{padding:8px 13px;font-size:12px}
 #brief-result{overflow-wrap:anywhere}#brief-result strong{max-width:100%;font-size:18px;overflow-wrap:anywhere}
 .request-reference{max-width:100%;font-size:18px!important;padding:10px 12px;white-space:normal}
 .service-faq summary{min-height:52px;font-size:16px;padding-block:16px;line-height:1.8}
 .service-faq details>p{font-size:15px;line-height:1.9}
 .verified-contact-links a{min-height:44px;display:flex;align-items:center;font-size:14px}
 .brand-service-link{min-height:44px;line-height:1.8}
 #photo-dialog{width:calc(100% - 24px);max-width:740px;padding:16px;max-height:calc(var(--asa-viewport-height,100dvh) - 24px)}
 #photo-large{max-height:calc(var(--asa-viewport-height,100dvh) - 215px);min-height:60px}.photo-controls{gap:10px}.photo-controls button{font-size:13px}.compare-slider input{min-height:44px}
}
@media screen and (min-width:851px) and (max-width:950px){.hero-vivid{gap:28px}.hero-vivid h1,html[lang=ar] .hero-vivid h1{font-size:44px}.hero-description,html[lang=ar] .hero-description{font-size:16px}.hero-scene{min-height:440px}.hero-buttons{gap:10px}.hero-buttons .button{padding:14px;font-size:13px;gap:10px}.float-materials{width:145px}.float-hvac{max-width:185px}}
@media screen and (max-width:600px){
 .hero{padding-top:25px;padding-bottom:38px}.hero-vivid{gap:28px}
 .hero-vivid h1,html[lang=ar] .hero-vivid h1{font-size:clamp(33px,10.25vw,42px);line-height:1.48}html[lang=en] .hero-vivid h1{font-size:clamp(36px,10.8vw,45px);line-height:1.2}
 .hero-description,html[lang=ar] .hero-description{font-size:15px;line-height:1.95;margin-top:14px}
 .hero-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:22px}.hero-buttons .button{width:100%;min-height:52px;padding:12px 10px;gap:7px;justify-content:center;font-size:12px;line-height:1.7;text-align:center}.hero-buttons .button>svg{width:17px;height:17px;flex-shrink:0}
 .hero-service-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:20px}.hero-service-pills>span{justify-content:center;min-height:38px;padding:7px;font-size:11px;line-height:1.7;white-space:normal}
 .hero-scene{min-height:330px;margin-top:0}.building-model{inset:45px -7px 35px}.float-hvac{right:-4px}.float-materials{left:-4px}
 .section{padding-block:44px}.section-heading h2{font-size:clamp(29px,8.5vw,35px)}
 .process-grid{grid-template-columns:1fr}.process-card{padding:23px;position:relative}.process-no{font-size:28px;padding-bottom:15px}.process-card h3,html[lang=ar] .process-card h3{font-size:23px}.process-card p,html[lang=ar] .process-card p{font-size:15px}.process-connector{top:25px;inset-inline-end:23px}
 .story-controls button{font-size:12px;line-height:1.7}.catalog-tabs button{font-size:12px;min-height:52px;padding:11px 9px}.catalog-tabs button>svg{flex-shrink:0}
 .request-intro h2{font-size:clamp(33px,9.5vw,42px);line-height:1.5}.request-card{padding:23px 18px}.request-card-top{align-items:flex-start}.request-card-top h3{font-size:22px}.request-card-top p,html[lang=ar] .request-card-top p{font-size:13px;line-height:1.9}.request-card .form-grid{grid-template-columns:1fr}
 .service-hero h1,html[lang=en] .service-hero h1{font-size:clamp(31px,9vw,38px);line-height:1.5;overflow-wrap:normal}.service-main-image{height:auto;aspect-ratio:1.2}.service-main-image>img{height:100%;object-fit:cover}.service-main-image>span{font-size:12px;line-height:1.7;padding:12px}
 .specific-scope-card{padding:20px;gap:14px}.service-selection h2{font-size:31px}.selection-applications,.selection-options{padding:23px}.selection-options li{font-size:15px}
 .project-detail-hero h1{font-size:clamp(30px,8.5vw,36px);line-height:1.65}.project-scope h2,.project-next h2{font-size:32px}.related-project h3{font-size:24px}
 .portfolio-record .project-copy{padding:23px}.portfolio-record h3{font-size:24px}.portfolio-record-top{gap:12px}.portfolio-record .project-year{max-width:160px}
 .profile-visual{width:100%;max-width:390px}.profile-text h2{font-size:34px}
 .mobile-contact-bar a{font-size:12px}.mobile-email{padding-inline:12px}
}
@media screen and (max-width:360px){.hero-buttons{grid-template-columns:1fr}.hero-buttons .button{min-height:48px;font-size:13px}.hero-service-pills>span{font-size:10px}.hero-scene{min-height:310px}.hero-vivid h1,html[lang=ar] .hero-vivid h1{font-size:34px}.building-details{padding:20px}.hotspot-label{font-size:8px}.project-detail-hero h1{font-size:30px}.specific-scope-card p{font-size:15px}.mobile-contact-bar{padding-inline:4%}.mobile-contact-bar a{font-size:11px;min-height:46px}.request-card{padding:20px 16px}}
@media screen and (max-width:950px) and (max-height:500px){.navigation{height:64px;padding-block:8px}.navigation .brand-logo{width:78px}.mobile-contact-bar{display:none!important}body:has(.mobile-contact-bar){padding-bottom:0}.mega-heading{position:static}.main-nav{max-height:calc(var(--asa-viewport-height,100dvh) - var(--asa-header-height,64px))!important}}
/* The long and short profile readers use the same comfortable mobile controls. */
@media screen and (max-width:850px){
 html:has(.reader-toolbar){scroll-padding-top:calc(var(--asa-header-height,120px) + 12px)}
 .reader-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px;padding:10px 5%;align-items:center;min-height:0}
 .reader-toolbar>a:first-child{min-height:44px;display:flex;align-items:center;font-size:13px;white-space:nowrap}
 .reader-title strong,.reader-toolbar>strong{font-size:14px;line-height:1.7}.reader-title>span{font-size:11px}
 .reader-actions,.reader-toolbar>div:not(.reader-title){grid-column:1/-1;margin:0;display:flex;gap:8px;width:100%;align-items:stretch}
 .reader-actions a{min-height:44px;display:flex;justify-content:center;align-items:center;padding:10px 14px;font-size:13px}.reader-actions .download-profile{flex:1}.reader-actions .edition-switch{min-width:80px}
 .reader-toolbar .download,.reader-toolbar>div:not(.reader-actions):not(.reader-title)>a,.reader-toolbar button{min-height:44px;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:1.6;text-align:center;padding:9px 8px;border-radius:9px;flex:1}
 .reader-toolbar>div:not(.reader-actions):not(.reader-title)>a:not(.download){background:#f1f5f9}
 .reader-layout{padding-inline:4%;margin-top:16px}.reader-index{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:16px;align-items:center;border-radius:15px}
 .reader-index label{font-size:13px;white-space:normal;max-width:95px;margin:0}.reader-index select{min-width:0;max-width:none;width:100%;min-height:48px;font-size:16px;padding:10px 8px;border-radius:9px}
 .reader-index .capability-shortcut{grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:44px;font-size:13px;line-height:1.7;margin:0;padding:10px;border:0;border-radius:9px;background:#fff0e4}
 .sheet{scroll-margin-top:0;min-width:0}.sheet h1,.sheet h2,.sheet h3{overflow-wrap:normal}
 .sheet-header>span{min-width:0}.contact-panel>a,.contact-panel>span{overflow-wrap:anywhere}
 .reader .cap-hero h1{font-size:36px}.reader .cap-hero figure{height:auto;min-height:0}.reader .cap-hero img{width:100%;height:auto;max-height:370px;object-fit:contain}.reader .cap-hero figcaption{font-size:10px;margin-top:8px}.reader .division-head{flex-wrap:wrap;gap:8px}.reader .division-head h2{font-size:22px}.reader .division p{font-size:14px}.reader .sheet-head{gap:16px}.reader .sheet-head>span{font-size:12px}.reader .sheet-head img{width:88px;flex-shrink:0}.reader .sheet-head small{font-size:10px}.reader .contact p{font-size:13px}
}
@media screen and (max-width:360px){.reader-toolbar{padding-inline:4%;gap:7px 10px}.reader-title strong,.reader-toolbar>strong{font-size:13px}.reader-toolbar>div:not(.reader-actions):not(.reader-title){gap:5px}.reader-toolbar>div:not(.reader-actions):not(.reader-title)>a,.reader-toolbar button{font-size:11px;padding:8px 5px}.reader-index{padding:13px;gap:10px}.reader-index label{max-width:73px;font-size:12px}.reader-index select{font-size:16px}.cover-sheet h1,html[lang=en] .cover-sheet h1{font-size:32px}.page-title h2,html[lang=en] .page-title h2{font-size:28px}.reader .sheet{padding-inline:18px}.reader .sheet-head{gap:9px}.reader .sheet-head>span{font-size:11px}}
@media screen and (max-height:500px) and (max-width:950px){.reader-toolbar{position:static}}
@media screen and (max-width:1120px){.reader-index select{font-size:16px;min-height:48px}}
@media screen and (pointer:coarse){.request-card input:not([type=file]):not([type=checkbox]),.request-card textarea,.request-card select,.mega-search input,.reader-index select{font-size:16px;min-height:48px}.lang,.nav-services,.choose-files,.filters button,.reader-toolbar a,.reader-toolbar button{min-height:44px}.lang{min-width:58px}}
