*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:#f4f7fa;color:#173049;font-family:Arial,Helvetica,sans-serif}header{height:88px;position:sticky;top:0;z-index:20;background:#071c31;display:flex;align-items:center;justify-content:space-between;padding:8px clamp(18px,4.5vw,85px);gap:20px;box-shadow:0 3px 16px #0018}header img{width:190px;max-height:70px;object-fit:contain}nav{display:flex;gap:clamp(10px,1.8vw,28px);align-items:center;flex-wrap:wrap}nav a{font-size:18px;font-weight:700;color:#fff;text-decoration:none;white-space:nowrap}nav a:hover{color:#34b5ff}.hero{min-height:680px;height:calc(100svh - 88px);max-height:950px;background-image:linear-gradient(90deg,rgba(4,19,34,.78) 0%,rgba(4,19,34,.48) 34%,rgba(4,19,34,.04) 76%),url("9241893b534162b6.webp");background-size:cover;background-position:center;display:flex;align-items:center;padding:6vw clamp(24px,5vw,90px);color:white}.hero-content{max-width:730px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:3px;color:#20aaf5;text-transform:uppercase}.hero h1{font-size:clamp(45px,5.5vw,85px);line-height:1.02;margin:18px 0 24px;text-shadow:0 2px 9px #0018}.hero h1 em{color:#26adfa;font-style:normal}.hero p{font-size:clamp(17px,1.6vw,23px);line-height:1.55;max-width:620px;text-shadow:0 1px 5px #001a}.cta,.enquire{display:inline-block;background:#078fe0;color:white;text-decoration:none;font-weight:800;border-radius:7px;padding:16px 23px;margin-top:20px}.intro{padding:75px 5vw 45px;max-width:1400px;margin:auto}.intro h2{font-size:clamp(28px,3vw,44px);margin:10px 0}.intro p{font-size:18px;max-width:850px;line-height:1.7;color:#4a6072}.service{padding:65px 5vw 80px;max-width:1500px;margin:auto;border-top:1px solid #d7e1e9}.service:nth-of-type(even){background:#edf3f8;max-width:none}.sectionhead{max-width:1350px;margin:0 auto 28px;display:flex;justify-content:space-between;align-items:end;gap:20px}.sectionhead h2{font-size:clamp(31px,3.3vw,50px);margin:10px 0}.sectionhead p{max-width:770px;line-height:1.65;color:#4c6070;font-size:17px}.enquire{white-space:nowrap;font-size:14px}.gallery{max-width:1350px;margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense;gap:14px}.photo{padding:0;position:relative;display:block;overflow:hidden;border:0;border-radius:8px;background:#cbd9e4;cursor:pointer;aspect-ratio:4/3;text-align:left}.photo.feature{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}.photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.photo:hover img{transform:scale(1.04)}.photo span{position:absolute;bottom:0;left:0;right:0;color:#fff;background:linear-gradient(transparent,#061a30dc);font-size:13px;font-weight:700;padding:35px 13px 12px}.contact{background:#071c31;color:#fff;padding:75px 5vw;text-align:center}.contact h2{font-size:40px}.contact p{font-size:18px;max-width:700px;margin:20px auto;line-height:1.6}.contact a{color:#50c1ff}.modal{display:none;position:fixed;inset:0;z-index:50;background:#03101de9;align-items:center;justify-content:center;flex-direction:column;padding:35px}.modal.open{display:flex}.modal img{max-width:95vw;max-height:78vh;object-fit:contain}.modal p{color:#fff;text-align:center}.close{position:absolute;right:20px;top:12px;border:0;background:none;color:#fff;font-size:42px;cursor:pointer}@media(max-width:1100px){header{height:auto;min-height:88px;flex-wrap:wrap;justify-content:center;padding:10px 16px}nav{justify-content:center}.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){nav a{font-size:13px}.hero{min-height:540px;height:75svh;background-position:55% center}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo.feature{grid-row:span 1}.sectionhead{display:block}.enquire{margin:5px 0 10px}.photo span{font-size:11px;padding:24px 8px 8px}}

:root{--navy:#071d33;--blue:#008fe0;--ink:#102a43;--paper:#f5f8fb}
header{min-height:88px;height:auto!important;padding-top:12px!important;padding-bottom:12px!important}
header img{width:190px!important;max-width:35vw;filter:none!important}
nav a{font-size:16px!important;letter-spacing:.005em}
.hero{background-position:center center!important}
.quicknav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#071d33;padding:0 max(24px,5vw);gap:1px;border-top:1px solid #ffffff24}
.quicknav a{padding:24px 14px;color:#fff;text-decoration:none;font-size:17px;font-weight:700;border-right:1px solid #ffffff20;transition:background .2s}
.quicknav a:hover{background:#123d60;color:#56c5ff}
.quicknav small{display:block;font-size:12px;letter-spacing:.17em;color:#54c0f5;margin-bottom:9px}
.service{scroll-margin-top:105px}
.sectionhead{border-bottom:1px solid #cbd8e2;padding-bottom:24px;margin-bottom:24px}
.sectionhead h2{letter-spacing:-.035em}
.photo-count{display:inline-block;margin-top:10px;padding:6px 12px;border:1px solid #cbd9e5;border-radius:30px;color:#40617c;font-size:12px;font-weight:700;letter-spacing:.03em}
.gallery .photo{border-radius:10px;overflow:hidden;box-shadow:0 6px 22px #09203914;transition:transform .2s,box-shadow .2s}
.gallery .photo:hover{transform:translateY(-3px);box-shadow:0 12px 30px #09203928}
.gallery .photo img{object-fit:cover}
#contact{background:#071d33;color:#fff}
#contact a{color:#64c6ff}
@media(max-width:850px){.quicknav{grid-template-columns:repeat(2,1fr);padding:0 14px}.quicknav a{padding:16px 12px;font-size:14px}header{align-items:center!important}nav{gap:10px!important}nav a{font-size:13px!important}}
@media(max-width:480px){.quicknav{grid-template-columns:1fr 1fr}.quicknav a{font-size:12px}header img{width:140px!important}nav a{font-size:12px!important}}

/* Larger, more prominent original Maatek logo */
header{min-height:132px;height:auto;padding-top:10px;padding-bottom:10px;gap:18px}
header>a:first-child{display:flex;align-items:center;justify-content:center;flex:0 0 auto;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
header>a:first-child img{width:350px;max-height:112px;height:auto;filter:drop-shadow(0 0 11px rgba(52,181,255,.45)) drop-shadow(0 3px 5px rgba(0,0,0,.7))}
.hero{height:calc(100svh - 132px)}
@media(max-width:1100px){header>a:first-child img{width:270px;max-height:96px}header{gap:12px}nav{gap:12px}nav a{font-size:15px}}
@media(max-width:760px){header{min-height:0;padding:10px 14px}header>a:first-child{padding:0}header>a:first-child img{width:220px;max-height:78px}.hero{height:auto;min-height:580px}}

/* Full-site navigation adjustments */
header nav a{font-size:18px;}
.page-heading{padding:70px 6% 35px;background:linear-gradient(115deg,#071c31,#123b56);color:#fff}.page-heading h1{font-size:clamp(36px,5vw,64px);margin:0 0 12px}.page-heading p{font-size:18px;max-width:750px;color:#d5e8f5}.home-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;padding:35px 6% 75px}.home-link{display:block;padding:30px;border-radius:16px;background:#fff;box-shadow:0 8px 25px #08253c15;color:#123b56;text-decoration:none}.home-link h2{margin-top:0;color:#138fc4}.home-link:hover{transform:translateY(-3px)}@media(max-width:900px){header nav a{font-size:15px}}
/* Rebuilt complete website: project gallery and responsive navigation */
.gallery-category{padding:42px 6%;background:#f4f8fb}.gallery-category:nth-of-type(odd){background:white}.gallery-category h2{font-size:clamp(26px,3vw,40px);color:#123b56;margin:0 0 25px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.gallery-grid figure{margin:0;overflow:hidden;border-radius:12px;background:#dce8f0;box-shadow:0 8px 25px #08253c18}.gallery-grid img{width:100%;height:230px;object-fit:cover;display:block;transition:transform .25s}.gallery-grid img:hover{transform:scale(1.04)}header nav{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(9px,1.5vw,22px)}header nav a{font-size:18px}@media(max-width:1100px){header nav a{font-size:15px}}
/* Final WordPress release: original blue/silver logo, charcoal contrast header */
header{height:auto;min-height:112px;background:#171e27;padding:12px clamp(16px,3vw,52px)}
header>a{flex:0 0 auto;display:flex;align-items:center}
header>a img{width:clamp(220px,25vw,350px);max-height:96px;height:auto;object-fit:contain;filter:drop-shadow(0 2px 8px rgba(0,0,0,.35))}
header nav{justify-content:flex-end;gap:clamp(12px,1.6vw,26px)}
header nav a{font-size:18px;line-height:1.5}
header nav a:focus-visible,.cta:focus-visible{outline:3px solid #38b8ff;outline-offset:4px}
@media(max-width:1150px){header{flex-wrap:wrap;justify-content:center}header nav{justify-content:center}header nav a{font-size:17px}}
@media(max-width:650px){header{position:relative;padding:14px}header>a img{width:min(80vw,330px)}header nav{gap:8px 15px}header nav a{font-size:15px}.hero{min-height:540px;height:auto}}

/* Installations: balanced large-format project photography */
body.page-template-page-installations .gallery, body.page-id-0 .unused { }
body:has(#installations) #installations .gallery {grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;grid-auto-flow:row;}
body:has(#installations) #installations .gallery .photo {grid-column:span 2;grid-row:auto;aspect-ratio:4/3;min-height:0;}
body:has(#installations) #installations .gallery .photo:nth-child(1),
body:has(#installations) #installations .gallery .photo:nth-child(5),
body:has(#installations) #installations .gallery .photo:nth-child(9) {grid-column:span 3;aspect-ratio:16/10;}
body:has(#installations) #installations .gallery .photo:nth-child(2) {grid-column:span 3;aspect-ratio:16/10;}
body:has(#installations) #installations .gallery .photo:nth-child(6) {grid-column:span 3;aspect-ratio:16/10;}
body:has(#installations) #installations .gallery .photo:nth-child(7),
body:has(#installations) #installations .gallery .photo:nth-child(8) {grid-column:span 3;aspect-ratio:16/10;}
body:has(#installations) #installations .gallery .photo img {object-fit:cover;object-position:center;}
@media(max-width:850px){body:has(#installations) #installations .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}body:has(#installations) #installations .gallery .photo,body:has(#installations) #installations .gallery .photo:nth-child(n){grid-column:span 1;aspect-ratio:4/3;}body:has(#installations) #installations .gallery .photo:first-child{grid-column:span 2;aspect-ratio:16/9;}}
@media(max-width:520px){body:has(#installations) #installations .gallery{grid-template-columns:1fr;}body:has(#installations) #installations .gallery .photo,body:has(#installations) #installations .gallery .photo:nth-child(n){grid-column:span 1;aspect-ratio:4/3;}}
@media(min-width:851px){body:has(#installations) #installations .gallery .photo:nth-child(3),body:has(#installations) #installations .gallery .photo:nth-child(4){grid-column:span 3;aspect-ratio:16/10;}body:has(#installations) #installations .gallery .photo:nth-child(5),body:has(#installations) #installations .gallery .photo:nth-child(6),body:has(#installations) #installations .gallery .photo:nth-child(7){grid-column:span 2;aspect-ratio:4/3;}body:has(#installations) #installations .gallery .photo:nth-child(8),body:has(#installations) #installations .gallery .photo:nth-child(9){grid-column:span 3;aspect-ratio:16/10;}}

/* Installations: eight evenly sized photos in four balanced rows */
@media (min-width: 851px) {
 body:has(#installations) #installations .gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
 body:has(#installations) #installations .gallery .photo,
 body:has(#installations) #installations .gallery .photo:nth-child(n),
 body:has(#installations) #installations .gallery .photo.feature {grid-column:span 1;grid-row:auto;aspect-ratio: 4/3;min-width:0;}
}
@media (min-width: 521px) and (max-width: 850px) {
 body:has(#installations) #installations .gallery .photo:first-child {grid-column:span 1;aspect-ratio:4/3;}
}

/* 2026-11-06: larger Maatek branding and legible top navigation */
header {min-height:136px!important; padding:14px clamp(18px,2.8vw,48px)!important; gap:22px!important;}
header>a:first-child img, header>a img {width:clamp(320px,29vw,430px)!important;max-width:none!important;max-height:120px!important;height:auto!important;object-fit:contain!important;}
header nav {gap:clamp(12px,1.25vw,22px)!important;}
header nav a, nav a {font-size:20px!important;line-height:1.4!important;font-weight:700!important;}
@media(max-width:1320px){header{flex-wrap:wrap!important;justify-content:center!important;}header nav{justify-content:center!important;}header nav a{font-size:19px!important;}}
@media(max-width:760px){header{padding:14px!important;gap:12px!important;}header>a:first-child img,header>a img{width:min(88vw,370px)!important;max-height:110px!important;}header nav{gap:10px 16px!important;}header nav a,nav a{font-size:16px!important;}}
@media(max-width:420px){header nav a,nav a{font-size:15px!important;}}

/* November 2026: enlarged Maatek masthead and navigation */
@media(min-width:1350px){
 header{min-height:156px!important;height:auto!important;padding:18px clamp(24px,3vw,56px)!important;gap:24px!important;}
 header>a:first-child img,header>a img{width:clamp(440px,33vw,520px)!important;max-height:145px!important;}
 header nav a,nav a{font-size:22px!important;line-height:1.45!important;}
 header nav{gap:clamp(12px,1.4vw,22px)!important;}
}
@media(min-width:761px) and (max-width:1349px){
 header{min-height:132px!important;height:auto!important;padding:14px 22px!important;}
 header>a:first-child img,header>a img{width:clamp(370px,37vw,470px)!important;max-height:128px!important;}
 header nav a,nav a{font-size:20px!important;}
}
@media(max-width:760px){
 header>a:first-child img,header>a img{width:min(90vw,390px)!important;max-height:125px!important;}
 header nav a,nav a{font-size:17px!important;}
}
@media(max-width:420px){header nav a,nav a{font-size:16px!important;}}

/* Maatek larger masthead - latest revision */
@media (min-width: 1550px) {
 header {min-height:180px!important;padding:18px 3vw!important;gap:22px!important;flex-wrap:nowrap!important;}
 header>a:first-child img,header>a img {width:570px!important;max-width:570px!important;max-height:160px!important;}
 header nav {gap:clamp(12px,1.1vw,20px)!important;justify-content:flex-end!important;}
 header nav a,nav a {font-size:24px!important;line-height:1.35!important;}
}
@media (min-width: 1101px) and (max-width: 1549px) {
 header {min-height:170px!important;padding:18px 2.5vw!important;flex-wrap:wrap!important;justify-content:center!important;}
 header>a:first-child img,header>a img {width:540px!important;max-width:90vw!important;max-height:155px!important;}
 header nav {justify-content:center!important;gap:14px 24px!important;}
 header nav a,nav a {font-size:23px!important;}
}
@media (min-width: 761px) and (max-width: 1100px) {
 header {min-height:145px!important;flex-wrap:wrap!important;justify-content:center!important;}
 header>a:first-child img,header>a img {width:490px!important;max-width:90vw!important;max-height:140px!important;}
 header nav {justify-content:center!important;gap:12px 20px!important;}
 header nav a,nav a {font-size:21px!important;}
}
@media (max-width:760px) {
 header {height:auto!important;padding:16px 12px!important;flex-wrap:wrap!important;justify-content:center!important;}
 header>a:first-child img,header>a img {width:min(94vw,440px)!important;max-width:94vw!important;max-height:130px!important;}
 header nav {justify-content:center!important;gap:12px 18px!important;}
 header nav a,nav a {font-size:18px!important;}
}
@media (max-width:420px) {header nav a,nav a {font-size:16px!important;}}

/* Latest adjustment: smaller Maatek logo; navigation remains enlarged */
@media(min-width:1550px){header>a:first-child img,header>a img{width:440px!important;max-width:440px!important;max-height:135px!important;}}
@media(min-width:1101px) and (max-width:1549px){header>a:first-child img,header>a img{width:420px!important;max-width:85vw!important;max-height:130px!important;}}
@media(min-width:761px) and (max-width:1100px){header>a:first-child img,header>a img{width:390px!important;max-width:85vw!important;max-height:120px!important;}}
@media(max-width:760px){header>a:first-child img,header>a img{width:min(82vw,340px)!important;max-width:82vw!important;max-height:110px!important;}}

/* Header refinement: smaller logo and navigation, all site pages */
@media(min-width:1550px){header{min-height:116px!important;padding:12px 3vw!important;gap:22px!important;}header>a:first-child img,header>a img{width:350px!important;max-width:350px!important;max-height:105px!important;}header nav a,nav a{font-size:19px!important;}header nav{gap:clamp(10px,1vw,18px)!important;}}
@media(min-width:1101px) and (max-width:1549px){header{min-height:110px!important;padding:12px 2.5vw!important;}header>a:first-child img,header>a img{width:340px!important;max-width:85vw!important;max-height:100px!important;}header nav a,nav a{font-size:18px!important;}}
@media(min-width:761px) and (max-width:1100px){header{min-height:104px!important;padding:12px 20px!important;}header>a:first-child img,header>a img{width:310px!important;max-width:85vw!important;max-height:95px!important;}header nav a,nav a{font-size:17px!important;}}
@media(max-width:760px){header{padding:12px!important;}header>a:first-child img,header>a img{width:min(75vw,290px)!important;max-width:75vw!important;max-height:90px!important;}header nav a,nav a{font-size:15px!important;}header nav{gap:9px 14px!important;}}
@media(max-width:420px){header nav a,nav a{font-size:14px!important;}}

/* November 2026: compact top banner across the entire site */
@media(min-width:1550px){header{min-height:98px!important;padding:10px 2.5vw!important;}header>a:first-child img,header>a img{width:290px!important;max-width:290px!important;max-height:88px!important;}header nav a,nav a{font-size:17px!important;}header nav{gap:12px!important;}}
@media(min-width:1101px) and (max-width:1549px){header{min-height:94px!important;padding:10px 2vw!important;}header>a:first-child img,header>a img{width:280px!important;max-width:280px!important;max-height:86px!important;}header nav a,nav a{font-size:16px!important;}header nav{gap:10px!important;}}
@media(min-width:761px) and (max-width:1100px){header{min-height:90px!important;padding:10px 16px!important;}header>a:first-child img,header>a img{width:260px!important;max-width:80vw!important;max-height:80px!important;}header nav a,nav a{font-size:15px!important;}}
@media(max-width:760px){header{padding:10px!important;}header>a:first-child img,header>a img{width:min(70vw,250px)!important;max-width:70vw!important;max-height:76px!important;}header nav a,nav a{font-size:14px!important;}}
@media(max-width:420px){header nav a,nav a{font-size:13px!important;}}

/* 2026 portfolio refresh: inner pages only. Homepage hero and homepage layout untouched. */
body:not(.home):not(.front-page) {background:#f5f8fb;color:#172e40}
body:not(.home):not(.front-page) main {max-width:1440px;margin:0 auto;padding:42px clamp(18px,3.4vw,52px) 90px;box-sizing:border-box}
body:not(.home):not(.front-page) .service,body:not(.home):not(.front-page) .gallery-category {max-width:1320px;margin:0 auto 54px}
body:not(.home):not(.front-page) .sectionhead,body:not(.home):not(.front-page) .page-heading {background:linear-gradient(115deg,#102a40 0%,#194663 100%);border-radius:18px;padding:clamp(24px,4vw,48px);margin:0 0 32px;color:#fff;box-shadow:0 14px 32px rgba(15,41,60,.13)}
body:not(.home):not(.front-page) .sectionhead h2,body:not(.home):not(.front-page) .page-heading h1 {font-size:clamp(32px,4.5vw,54px);letter-spacing:-.035em;line-height:1.07;color:#fff;margin:8px 0 16px}
body:not(.home):not(.front-page) .sectionhead p,body:not(.home):not(.front-page) .page-heading p {color:#d7e8f2;font-size:clamp(16px,1.5vw,19px);line-height:1.65;max-width:820px}
body:not(.home):not(.front-page) .sectionhead .eyebrow {color:#70cafa;font-size:12px;font-weight:800;letter-spacing:.16em}
body:not(.home):not(.front-page) .photo-count {color:#9ad7f5;font-size:13px;font-weight:700}
body:not(.home):not(.front-page) .enquire {background:#078dd2;color:#fff;border-radius:9px;padding:13px 20px;font-weight:700;white-space:nowrap}
body:not(.home):not(.front-page) .gallery,body:not(.home):not(.front-page) .gallery-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;align-items:stretch}
body:not(.home):not(.front-page) .gallery .photo,body:not(.home):not(.front-page) .gallery .photo.feature {grid-column:auto;display:flex;flex-direction:column;min-width:0;min-height:0;height:auto;padding:0;border:1px solid #dce5ed;border-radius:16px;overflow:hidden;background:#fff;color:#153148;text-align:left;box-shadow:0 12px 30px rgba(24,51,72,.09);cursor:pointer}
body:not(.home):not(.front-page) .gallery .photo img {width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center;flex:none;filter:contrast(1.045) saturate(1.035)}
body:not(.home):not(.front-page) .gallery .photo>span {background:transparent;color:#12324a;font-size:19px;font-weight:750;line-height:1.3;padding:19px 22px 6px}
body:not(.home):not(.front-page) .gallery .photo .photo-detail {color:#536979;font-size:15px;line-height:1.65;padding:0 22px 23px}
body:not(.home):not(.front-page) .gallery-grid figure {border:1px solid #dce5ed;background:#fff;color:#153148;box-shadow:0 12px 30px rgba(24,51,72,.09);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
body:not(.home):not(.front-page) .gallery-grid figure img {width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
body:not(.home):not(.front-page) .gallery-grid figcaption {padding:19px 22px 24px;flex:1;color:#536979;font-size:15px;line-height:1.65;background:#fff}
body:not(.home):not(.front-page) .gallery-grid figcaption strong {color:#12324a;font-size:19px;margin:0 0 7px;display:block}
body:not(.home):not(.front-page) .maatek-specialties {grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0 34px}
body:not(.home):not(.front-page) .maatek-specialty {background:#fff;border:1px solid #dce5ed;border-top:4px solid #078dd2;box-shadow:0 10px 28px rgba(24,51,72,.07)}
body:not(.home):not(.front-page) .maatek-safety-card,body:not(.home):not(.front-page) .maatek-safety-control-card {background:#fff;border:1px solid #dce5ed;box-shadow:0 10px 28px rgba(24,51,72,.08)}
body:not(.home):not(.front-page) .maatek-safety-card img {height:auto;aspect-ratio:4/3;object-fit:cover}
body:not(.home):not(.front-page) .gallery-category h2 {font-size:clamp(27px,3vw,38px);color:#13364f;border-left:5px solid #078dd2;padding-left:18px;margin:38px 0 24px}
@media(max-width:900px){body:not(.home):not(.front-page) .maatek-specialties {grid-template-columns:1fr}body:not(.home):not(.front-page) .sectionhead {display:block}body:not(.home):not(.front-page) .enquire {display:inline-block;margin-top:18px}}
@media(max-width:720px){body:not(.home):not(.front-page) main {padding:22px 15px 60px}body:not(.home):not(.front-page) .gallery,body:not(.home):not(.front-page) .gallery-grid {grid-template-columns:1fr;gap:18px}body:not(.home):not(.front-page) .sectionhead,body:not(.home):not(.front-page) .page-heading {padding:26px 22px}body:not(.home):not(.front-page) .gallery .photo img {aspect-ratio:4/3}}

/* Homepage service stories: restore the same centred page width as interior pages.
   The full-width tank hero is deliberately excluded. */
body.home .home-category-stories,body.front-page .home-category-stories{width:100%;max-width:100%;padding:clamp(48px,6vw,85px) clamp(16px,3.4vw,52px) clamp(60px,7vw,105px);overflow:hidden}
body.home .home-category-heading,body.front-page .home-category-heading{width:100%;max-width:1320px;margin:0 auto 38px;padding:0}
body.home .home-story,body.front-page .home-story{box-sizing:border-box;width:100%;max-width:1320px;margin:0 auto 28px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch;overflow:hidden;border-radius:14px}
body.home .home-story-photo,body.front-page .home-story-photo{display:block;position:relative;min-width:0;min-height:0;aspect-ratio:16/10;overflow:hidden}
body.home .home-story-photo img,body.front-page .home-story-photo img{display:block;width:100%;height:100%;min-height:0;max-width:100%;object-fit:cover;object-position:center}
body.home .home-story-copy,body.front-page .home-story-copy{box-sizing:border-box;min-width:0;padding:clamp(24px,3.5vw,54px);justify-content:center}
body.home .home-story-copy h3,body.front-page .home-story-copy h3{font-size:clamp(26px,2.5vw,40px);overflow-wrap:break-word}
body.home .home-story-copy p,body.front-page .home-story-copy p{font-size:clamp(15px,1.2vw,18px);line-height:1.65}
@media(max-width:800px){body.home .home-story,body.front-page .home-story{display:flex;flex-direction:column}body.home .home-story-photo,body.front-page .home-story-photo{order:0!important;aspect-ratio:16/10}body.home .home-story-copy,body.front-page .home-story-copy{order:1!important;padding:25px 24px 30px}body.home .home-category-heading,body.front-page .home-category-heading{margin-bottom:26px}}
@media(max-width:480px){body.home .home-category-stories,body.front-page .home-category-stories{padding-left:16px;padding-right:16px}body.home .home-story-photo,body.front-page .home-story-photo{aspect-ratio:4/3}body.home .home-story-copy,body.front-page .home-story-copy{padding:22px 20px 26px}}

/* 2026-11-08: Unified, wider site rhythm. Hero remains untouched. */
:root{--maatek-content-width:1540px;--maatek-gutter:clamp(18px,3.2vw,56px)}
body.home .home-category-stories,body.front-page .home-category-stories{padding-left:var(--maatek-gutter);padding-right:var(--maatek-gutter)}
body.home .home-category-heading,body.front-page .home-category-heading,body.home .home-story,body.front-page .home-story{max-width:var(--maatek-content-width)}
body.home .home-story,body.front-page .home-story{grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-bottom:26px}
body.home .home-story-photo,body.front-page .home-story-photo{aspect-ratio:16/9}
body.home .home-story-copy,body.front-page .home-story-copy{padding:clamp(28px,3.3vw,62px)}
body.home .home-category-heading h2,body.front-page .home-category-heading h2{max-width:1000px;font-size:clamp(32px,3.3vw,52px);line-height:1.12}
body.home .home-category-heading p,body.front-page .home-category-heading p{max-width:780px;font-size:clamp(16px,1.15vw,19px);line-height:1.65}
body:not(.home):not(.front-page) main{max-width:calc(var(--maatek-content-width) + 2 * 56px);padding-left:var(--maatek-gutter);padding-right:var(--maatek-gutter)}
body:not(.home):not(.front-page) .service,body:not(.home):not(.front-page) .gallery-category{max-width:var(--maatek-content-width)}
body:not(.home):not(.front-page) .gallery,body:not(.home):not(.front-page) .gallery-grid,body:not(.home):not(.front-page) .sectionhead{max-width:var(--maatek-content-width)}
body:not(.home):not(.front-page) .gallery-category{padding-left:clamp(16px,2vw,34px);padding-right:clamp(16px,2vw,34px)}
body:not(.home):not(.front-page) .gallery .photo,body:not(.home):not(.front-page) .gallery-grid figure{min-width:0}
body:not(.home):not(.front-page) img{max-width:100%}
@media(max-width:1000px){body.home .home-story,body.front-page .home-story{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body.home .home-story-copy,body.front-page .home-story-copy{padding:clamp(22px,3vw,36px)}}
@media(max-width:800px){body.home .home-story,body.front-page .home-story{display:flex;flex-direction:column}body.home .home-story-photo,body.front-page .home-story-photo{aspect-ratio:16/10;order:0!important}body.home .home-story-copy,body.front-page .home-story-copy{order:1!important;padding:26px 25px 32px}body:not(.home):not(.front-page) .gallery,body:not(.home):not(.front-page) .gallery-grid{grid-template-columns:1fr;gap:18px}}
@media(max-width:480px){:root{--maatek-gutter:16px}body.home .home-story-photo,body.front-page .home-story-photo{aspect-ratio:4/3}body.home .home-story-copy,body.front-page .home-story-copy{padding:22px 20px 27px}body.home .home-category-heading h2,body.front-page .home-category-heading h2{font-size:clamp(28px,8vw,36px)}body:not(.home):not(.front-page) main{padding-left:16px;padding-right:16px}body:not(.home):not(.front-page) .gallery-category{padding-left:0;padding-right:0}}
