/* Device finishing pass: preserve content and interactions, adapt available space. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{width:100%;min-width:0}.php-header,.php-footer,.page-main,main{min-width:0}img,video,iframe{max-width:100%}button,a,input,textarea{-webkit-tap-highlight-color:transparent}.article-content pre,.article-content code{max-width:100%;overflow-wrap:anywhere}.article-content pre{overflow:auto}.form-status,.office-details,.contact-information,.company-project-body{overflow-wrap:anywhere}.php-header .brand{min-width:0}.page-breadcrumb>span:last-child{overflow-wrap:anywhere}.page-main h1{hyphens:auto}.related-grid>a,.directory-page-card,.company-project,.healthcare-card{min-width:0}.article-content iframe{width:100%}.article-content img{object-fit:contain}.cookie-banner{padding-bottom:max(20px,env(safe-area-inset-bottom))}.php-header{padding-top:env(safe-area-inset-top,0px)}
@media(max-width:1100px) and (min-width:721px){.home-page .hero-title{font-size:clamp(41px,4.7vw,49px)}.home-page .hero-desc{max-width:290px}.home-page .hero-buttons{gap:10px;flex-wrap:wrap}.home-page .hero-buttons .btn{padding:13px 14px;font-size:10px}.home-page .hero-summary{max-width:280px}.company-contact .contact-actions{gap:9px}.company-contact .contact-actions .btn{padding:13px;font-size:10px}}
@media(max-width:720px){.php-header{padding-left:max(5%,env(safe-area-inset-left));padding-right:max(5%,env(safe-area-inset-right))}.masthead-actions{row-gap:18px}.masthead-actions .btn{max-width:100%;white-space:normal}.directory-page-card h3,.healthcare-card h3{overflow-wrap:anywhere}.footer-top>div{min-width:0}.legal-footer{line-height:1.9}.contact-actions .btn{white-space:normal}.site-dialog,#contact-dialog{max-height:calc(100svh - 28px)}.cookie-dialog{max-width:94vw}.page-breadcrumb{font-size:9px}.comparison{touch-action:pan-y}.expertise-tabs,.stage-cards{overscroll-behavior-x:contain}.stage-cards{scroll-padding-inline:2px}.hero-buttons a,.hero-buttons button{min-height:42px}.scene-controls button{min-height:36px}.loader-inner{max-width:calc(100vw - 50px)}}
@media(max-width:720px) and (max-height:760px) and (min-height:621px){.home-page .experience{height:100svh;min-height:0;max-height:none}.home-page .hero-layout{padding-top:96px}.home-page .hero-title{font-size:32px;margin:12px 0 10px}.home-page .hero-desc{font-size:9px;line-height:1.7;max-width:290px}.home-page .hero-buttons{margin-top:13px}.home-page .hero-buttons .btn{padding:9px 11px;font-size:9px;min-height:39px}.home-page .scene{top:290px;bottom:110px}.home-page .stage-rail{top:320px;padding:5px;width:80px}.home-page .stage-rail button{padding:4px 1px;min-height:27px;font-size:7px}.home-page .stage-rail button small{font-size:7px}.home-page .rail-progress{padding-top:6px;font-size:6px}.home-page .rail-progress span{font-size:13px}.home-page .h0{top:49%}.home-page .h1{top:64%}.home-page .h2{top:66%}.home-page .h3{top:54%}.home-page .complete-message{bottom:190px;max-width:190px}.home-page .complete-message h2{font-size:17px}.home-page .construction-hint{bottom:152px;font-size:6px}.home-page .scene-caption{font-size:6px}.home-page .build-caption{bottom:108px;max-width:155px}}
@media(max-height:620px){.home-page .experience{height:760px;min-height:760px;max-height:none}.php-header .header-panel.professional-mega{max-height:calc(100svh - 105px)}.mega-layout{height:calc(100svh - 265px);min-height:100px}.mega-top{padding-top:16px;padding-bottom:16px}.mega-bottom{padding-top:12px;padding-bottom:12px}.mega-feature{display:none}.mega-layout{grid-template-columns:210px minmax(0,1fr)}.cookie-banner{max-height:75svh;overflow:auto}.site-dialog{max-height:88svh}.page-loader{height:2px}}
@media(max-width:720px) and (max-height:620px){.home-page .experience{height:760px;min-height:760px}.php-header .header-panel.professional-mega{max-height:none}.mega-layout{height:auto;min-height:0;display:block}.mega-service-panel{max-height:230px}.php-header nav.php-nav{max-height:calc(100svh - 78px)}.mega-top{padding:17px 16px}.mega-bottom{padding:14px 16px}}
@media(pointer:coarse){.dropdown-toggle,.php-header .menu{min-height:40px}.php-header .nav-trigger{min-height:48px}.hotspot{width:36px;height:36px}.round{min-width:36px;min-height:36px}.stage-card{touch-action:pan-x}.mega-categories [role=tab]{min-height:42px}.menu-service-group summary{min-height:44px}.cookie-actions button{min-height:42px}}
@media(prefers-reduced-motion:reduce){.reveal-on-view{opacity:1!important;transform:none!important}.construction-layer,.construction-layer img{transition:none!important}}
