/* Layout rules by viewport: phone, tablet, and laptop. */
html{max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;max-width:100%;min-width:0;overflow-x:clip}
header,main,footer,.hero,.section,.bank-proof{width:100%;min-width:0}
.hero>*,.about>*,.about-body>*,.values>*,.contact>*,.contact-address>*,.commitment-grid>*,.project-grid>*,.section-top>*,.service-content>*{min-width:0}
.hero,.project-grid,.about-body,.contact,.contact-address{grid-auto-columns:minmax(0,1fr)}
.hero-copy{width:100%;max-width:100%;overflow-wrap:break-word}
.hero h1,.section h2,.project h3{overflow-wrap:break-word}
.hero-copy .intro{width:100%;max-width:52ch}
.hero-carousel{width:100%;min-width:0;max-width:100%}
.hero-carousel .hero-slides{width:100%;max-width:100%}
.section-top>p{flex-shrink:1}
.project-caption>div{min-width:0;flex:1}
.project-caption>span{flex-shrink:0;margin-left:12px}
.project-caption h3{overflow-wrap:anywhere}
.project-description{max-width:100%}
.bank-names{min-width:0;max-width:100%}
.bank-names strong{white-space:normal;overflow-wrap:break-word}
.service-list summary h3{min-width:0;flex:1}
.service-list .plus{flex-shrink:0}
.contact form{min-width:0;max-width:100%}
input,select,textarea{min-width:0;max-width:100%}
.contact-address p{overflow-wrap:break-word}
dialog{width:calc(100% - 32px);max-width:900px;max-height:90dvh;margin:auto;overflow:auto}

/* Laptop: full navigation, side-by-side opening, and two-column gallery. */
@media(min-width:1024px){
 html{scroll-padding-top:90px}
 header{display:flex;height:90px;padding:0 clamp(24px,4vw,72px);gap:18px}
 header .brand{font-size:14px;gap:10px;max-width:none}
 header .brand img{width:43px;height:46px}
 header .brand small{display:block;font-size:8px;letter-spacing:.13em}
 header .menu{display:none}
 header nav{display:flex;position:static;flex-direction:row;align-items:center;gap:20px;margin-left:auto;padding:0;box-shadow:none;font-size:12px}
 header nav a{padding:14px 0;white-space:nowrap}
 header .nav-cta span{margin-left:12px}
 .language-switch button{font-size:10px;padding:8px;min-height:44px}
 .hero{display:grid;grid-template-columns:minmax(0,54fr) minmax(0,46fr);min-height:740px;gap:0;align-items:stretch}
 .hero-copy{padding:clamp(58px,6vw,100px) clamp(28px,4vw,72px) 34px}
 .hero h1,html[lang="en"] .hero h1{font-size:clamp(44px,4.2vw,68px);line-height:1.13}
 .hero-copy .intro{font-size:17px;line-height:1.8}
 .hero .actions{display:flex;flex-wrap:wrap;gap:16px 24px}
 .hero .hero-carousel{height:auto;min-height:600px;aspect-ratio:auto}
 .hero-bottom{flex-direction:column;gap:10px;padding-top:36px}
 .hero-bottom>a{display:block}
 .section{padding:90px clamp(32px,6vw,96px)}
 .about{grid-template-columns:minmax(150px,1fr) minmax(0,3fr);gap:45px}
 .about-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
 .values{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
 .values strong{font-size:clamp(25px,2vw,32px)}
 .values>div:first-child strong{font-size:40px}
 .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 30px}
 .commitment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}
 .contact{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:6%}
 .contact-address{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .contact h2{font-size:clamp(34px,3vw,46px)}
 .bank-proof{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(0,1.7fr) auto;gap:24px;padding:30px 5%}
 .bank-proof>.bank-names{display:flex;flex-wrap:wrap;gap:12px 22px}
 .bank-proof>a.home-proof{grid-column:1/-1;width:100%;margin:0}
 .bank-names strong{font-size:19px}
 footer{display:flex;flex-wrap:nowrap}
 footer .footer-brand{width:auto}
}
@media(min-width:1400px){header .brand{font-size:17px}header nav{font-size:14px;gap:30px}.language-switch button{font-size:11px;padding:8px 12px}.hero-copy .intro{font-size:18px}.hero-bottom{flex-direction:row;gap:15px}}

/* Tablet: compact navigation and a wider landscape slideshow below the message. */
@media(min-width:768px) and (max-width:1023px){
 html{scroll-padding-top:84px}
 header{height:84px;display:flex;padding:0 4%;gap:18px}
 header .brand{font-size:14px;gap:9px}
 header .brand img{width:38px;height:42px}
 header .brand small{display:block;font-size:7px}
 header .menu{display:block;margin-left:auto;min-width:66px;min-height:44px;padding:8px 12px}
 header nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;padding:16px 5%;margin:0;background:var(--cream);box-shadow:0 15px 25px #101e3014;max-height:70dvh;overflow-y:auto}
 header nav.open{display:flex;gap:0}
 header nav a{padding:14px 0;font-size:16px}
 .language-switch button{font-size:11px;padding:8px 10px;min-height:44px}
 .hero{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;gap:0}
 .hero-copy{padding:64px 8% 40px;background-position:center 58%}
 .hero h1,html[lang="en"] .hero h1{font-size:58px}
 .hero-copy .intro{font-size:18px;max-width:56ch}
 .hero-bottom{padding-top:32px;flex-direction:row}
 .hero .hero-carousel{height:auto;min-height:0;aspect-ratio:16/9}
 .section{padding:70px 6%}
 .about{grid-template-columns:minmax(0,1fr);gap:12px}
 .about-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
 .values{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
 .section-top{display:flex;gap:28px}
 .section-top>p{max-width:260px}
 .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 24px}
 .project-caption h3,.project.residential h3{font-size:25px}
 .contact{grid-template-columns:minmax(0,1fr);gap:36px}
 .contact-address{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
 .commitment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
 .service-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px}
 .bank-proof{padding:30px 6%;display:flex;flex-wrap:wrap;gap:24px}
 .bank-proof>.bank-names{flex:1 1 60%;display:flex;flex-wrap:wrap;gap:14px 24px}
 .bank-proof>a.home-proof{flex-basis:100%}
}

/* Phone: one-column content, a two-row header, and comfortably sized controls. */
@media(max-width:767px){
 html{scroll-padding-top:120px}
 header{height:auto;min-height:112px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px 44px;gap:6px 12px;padding:8px 5%;align-items:center}
 header .brand{grid-column:1;grid-row:1;min-width:0;max-width:100%;font-size:13px;gap:8px}
 header .brand img{width:32px;height:36px;flex-shrink:0}
 header .brand>span{min-width:0;white-space:normal}
 header .brand small{display:block;font-size:7px;letter-spacing:.08em}
 header .menu{display:block;grid-column:2;grid-row:1;margin:0;min-width:68px;min-height:44px;padding:8px 12px;font-size:13px}
 header .menu span{margin-left:5px}
 header .language-switch{grid-column:1/-1;grid-row:2;justify-self:end;max-width:100%;margin:0;padding:2px}
 header .language-switch button{font-size:11px;padding:7px 14px;min-width:72px;min-height:40px}
 header nav{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:14px 5%;flex-direction:column;align-items:stretch;gap:0;background:var(--cream);box-shadow:0 12px 22px #101e3017;max-height:65dvh;overflow-y:auto}
 header nav.open{display:flex}
 header nav a{white-space:normal;padding:15px 0;font-size:16px;min-height:48px}
 .hero{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-height:0;gap:0}
 .hero-copy{padding:42px 6% 30px;background-position:54% center}
 .hero h1,html[lang="en"] .hero h1{font-size:clamp(32px,8.4vw,48px);line-height:1.16;letter-spacing:-.04em;margin-bottom:24px}
 .hero-copy .eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:26px;flex-wrap:wrap;gap:7px}
 .hero-copy .intro{font-size:16px;line-height:1.8;letter-spacing:0;max-width:100%;margin-bottom:24px}
 .hero .actions{display:flex;flex-direction:column;align-items:stretch;gap:18px;margin-top:6px}
 .hero .actions .button{justify-content:space-between;width:100%;font-size:13px;min-height:52px;padding:15px 20px}
 .hero .actions .text-link{align-self:flex-start;max-width:100%;font-size:12px}
 .hero-bottom{padding-top:32px;gap:10px;flex-direction:column;font-size:8px;line-height:1.8;letter-spacing:.08em}
 .hero-bottom>a{display:none}
 .hero .hero-carousel{width:100%;height:auto;min-height:340px;aspect-ratio:4/3}
 .hero-carousel .hero-slide{object-position:center center}
 .hero-carousel .image-tag{left:18px;bottom:130px;max-width:calc(100% - 36px)}
 .hero-carousel .image-tag span{font-size:9px;line-height:1.6}
 .hero-carousel .image-tag small{font-size:11px;max-width:100%;line-height:1.6}
 .hero-carousel .slideshow-controls{left:12px;right:12px;bottom:64px;gap:0;justify-content:space-between}
 .hero-carousel .slideshow-controls>button{min-width:44px;width:44px;height:44px}
 .hero-carousel .slide-dots{gap:0;flex-shrink:1}
 .hero-carousel .slide-dots button{width:44px;min-width:32px;height:44px}
 .hero-carousel .motion-toggle{bottom:12px;right:12px;min-height:44px;padding:10px 14px;font-size:11px}
 .section{padding:54px 6%;max-width:100%}
 .section h2,.contact h2{font-size:clamp(28px,7.3vw,38px);line-height:1.2;letter-spacing:-.04em}
 .section-label{font-size:10px;letter-spacing:.1em}
 .about{grid-template-columns:minmax(0,1fr);gap:8px}
 .about-body{grid-template-columns:minmax(0,1fr);gap:0;font-size:15px}
 .values{grid-template-columns:minmax(0,1fr);gap:24px}
 .values strong{font-size:29px}
 .values>div:first-child strong{font-size:40px}
 .values span{font-size:13px;max-width:100%}
 .section-top{display:block}
 .section-top>p{max-width:100%;font-size:15px;line-height:1.8;margin-bottom:25px}
 .service-list summary{gap:14px;padding:20px 0;min-height:82px}
 .service-list summary h3{font-size:22px;line-height:1.3;overflow-wrap:anywhere}
 .service-content{margin-left:0;grid-template-columns:minmax(0,1fr);gap:8px;padding:0 0 24px 26px}
 .service-content p{font-size:15px;line-height:1.8}
 .service-content span{font-size:12px;line-height:1.7}
 .filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:25px}
 .filters button{max-width:100%;white-space:normal;min-height:44px;padding:11px 15px;font-size:12px;line-height:1.45}
 .project-grid{grid-template-columns:minmax(0,1fr);gap:34px}
 .project .project-img,.project:nth-child(n+3) .project-img{height:auto;aspect-ratio:4/3}
 .project.bank-exterior .project-img{aspect-ratio:16/9}
 .project-caption h3{font-size:23px;line-height:1.3}
 .project.residential h3{font-size:27px}
 .project-description{font-size:14px;line-height:1.8;width:100%;max-width:100%}
 .project .view{opacity:1;transform:none}
 .bank-proof{display:flex;flex-direction:column;align-items:stretch;padding:28px 6%;gap:22px;max-width:100%}
 .bank-proof>.bank-names{display:grid;grid-template-columns:minmax(0,1fr);flex:auto;gap:13px;max-width:100%}
 .bank-names strong{font-size:22px;line-height:1.4;white-space:normal}
 .bank-proof>a:not(.home-proof){align-self:flex-start;max-width:100%}
 .bank-proof>a.home-proof{width:100%;max-width:100%;gap:14px;align-items:center}
 .home-proof img{width:88px;height:80px;flex-shrink:0}
 .home-proof>span{min-width:0}
 .home-proof strong{font-size:22px;overflow-wrap:anywhere}
 .home-proof small{font-size:9px;line-height:1.6}
 .bank-proof .home-proof span span{font-size:11px;line-height:1.6}
 .commitment-grid{grid-template-columns:minmax(0,1fr);gap:25px;margin-top:32px}
 .commitment-grid p{max-width:100%}
 .contact{grid-template-columns:minmax(0,1fr);gap:30px}
 .contact-address{grid-template-columns:minmax(0,1fr);gap:22px}
 .contact-address h3{font-size:16px}
 .contact-address p,.contact-address a{font-size:14px;line-height:1.8}
 .contact .email{max-width:100%;font-size:18px;line-height:1.6;margin-bottom:30px}
 .contact form{padding:24px 20px;width:100%}
 form h3{font-size:25px}
 input,select,textarea{font-size:16px;width:100%}
 form label{font-size:12px}
 form .button{font-size:12px;gap:12px;white-space:normal}
 form>small{font-size:11px;line-height:1.75}
 footer{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:30px 6%}
 footer .footer-brand{width:100%;max-width:100%}
 dialog{padding:18px}
 dialog h2{font-size:24px;overflow-wrap:anywhere}
}
