/*
Theme Name: ABM Constructions
Version: 1.1.6
Requires PHP: 8.2
Description: Editable six-page ABM design, based on approved responsive preview.
Author: ABM Constructions
License: GPL-2.0-or-later
*/
@font-face{font-family:Manrope;src:url('assets/fonts/manrope-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url('assets/fonts/manrope-500.ttf') format('truetype');font-weight:500;font-display:swap}@font-face{font-family:Manrope;src:url('assets/fonts/manrope-600.ttf') format('truetype');font-weight:600;font-display:swap}@font-face{font-family:Manrope;src:url('assets/fonts/manrope-700.ttf') format('truetype');font-weight:700;font-display:swap}@font-face{font-family:Manrope;src:url('assets/fonts/manrope-800.ttf') format('truetype');font-weight:800;font-display:swap}
:root{--navy:#041d3d;--ink:#071e3c;--green:#11833d;--mint:#8fe99b;--rule:#e4e7e9;--body:#334257}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Manrope,Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.wrap{width:100%;max-width:1240px;margin:auto;padding:0 48px}.header{position:relative;background:#fff;z-index:20;border-bottom:1px solid #eef0f2}.nav{height:96px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:block;flex-shrink:0}.brand img{width:180px;height:auto;display:block}.nav nav{display:flex;align-items:center;gap:26px}.nav nav a{font-size:12px;font-weight:600;white-space:nowrap;padding:13px 0 7px;border-bottom:2px solid transparent}.nav nav a.active{color:var(--green);border-bottom-color:var(--green)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:13px 23px;font-size:13px;font-weight:700;line-height:1.2;border:0;border-radius:5px;cursor:pointer}.navy{background:var(--navy);color:#fff}.green{background:var(--green);color:#fff}.white,.outline{background:#fff;color:var(--navy);box-shadow:0 2px 5px #00000014}.outline{border:1px solid #e5e7eb}.topcta{white-space:nowrap}.menu{display:none}.line-icon{width:35px;height:35px;flex-shrink:0;display:block}.btn .line-icon,.icon-link .line-icon{width:18px;height:18px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase}.hero{min-height:470px;position:relative;display:flex;align-items:center;background:#edf6ff;overflow:hidden}.hero:before{content:'';position:absolute;inset:0 0 0 31%;background:url('assets/hero.jpg') center 48%/cover no-repeat}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#edf6ff 0%,#f1f8ff 26%,#f4f9ffe8 35%,#f4f9ff75 44%,transparent 57%)}.hero .wrap{position:relative;z-index:1;padding-top:34px;padding-bottom:34px}.hero h1{font-size:56px;line-height:1.03;letter-spacing:-2.4px;font-weight:800;margin:20px 0 18px;max-width:590px}.hero h1 em{font-style:normal;color:var(--green);white-space:nowrap}.hero p{max-width:415px;font-size:17px;line-height:1.45;margin:0}.actions{display:flex;gap:24px;align-items:center;margin-top:27px}.stats{border-bottom:1px solid var(--rule)}.statgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding-top:27px;padding-bottom:27px}.stat{text-align:center;border-right:1px solid var(--rule);padding:0 10px}.stat:last-child{border:0}.stat .sym{display:flex;justify-content:center;color:var(--green)}.stat .sym .line-icon{width:43px;height:43px}.stat strong{display:block;font-weight:800;font-size:25px;letter-spacing:-.9px;margin:6px 0 3px;line-height:1.25}.stat small{display:block;font-size:14px;line-height:1.3;font-weight:500}.section{padding:22px 0 25px;border-bottom:1px solid #eef0f2}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.sectionhead h2,.section h2{font-size:30px;font-weight:800;line-height:1.14;letter-spacing:-1px;margin:6px 0 0}.sub{color:var(--green);font-size:13px;font-weight:800}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.cards.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px}.card{border:1px solid #e9ebed;border-radius:4px;overflow:hidden;background:linear-gradient(#fff,#fafafa);cursor:pointer}.card img{width:100%;height:auto;aspect-ratio:1.58;object-fit:cover;display:block}.cardcontent{padding:11px 14px 13px}.card h3{font-size:13px;font-weight:800;line-height:1.3;letter-spacing:-.25px;margin:0 0 7px}.card p{font-size:12px;line-height:1.4;color:#485466;margin:2px 0}.status{font-size:12px;font-weight:500;margin-top:9px}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--green);margin-right:6px}.dot.completed{background:var(--navy)}.cards.three .card img{aspect-ratio:2.12}.cards.three .card h3{font-size:15px}.cards.three .card p,.cards.three .status{font-size:13px}.servicesrow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding-top:0}.service{text-align:center;padding:0 12px;border-right:1px solid var(--rule)}.service:last-child{border:0}.service .ico{width:68px;height:68px;border-radius:50%;background:#e6f3e8;color:var(--green);display:grid;place-items:center;margin:0 auto 9px}.service .ico .line-icon{width:38px;height:38px}.service h3{font-size:12px;font-weight:800;line-height:1.2;margin:0 0 7px}.service p{font-size:11px;line-height:1.4;color:var(--body);margin:0}.pagehero{height:260px;display:flex;align-items:center;color:white;background-size:cover;background-position:center 44%}.pagehero .wrap{width:100%}.pagehero h1{font-size:43px;letter-spacing:-1.35px;font-weight:800;line-height:1.03;margin:13px 0;max-width:620px}.pagehero h1 em{font-style:normal;color:var(--mint)}.pagehero p{font-size:14px;line-height:1.45;max-width:490px;margin:0}.pagehero .eyebrow{font-size:10px;letter-spacing:2.1px}.pagehero.projects{height:285px;background-image:linear-gradient(90deg,#052345fa 0%,#082c51e0 30%,#082c5155 58%,transparent 76%),url('assets/hero.jpg')}.pagehero.projects h1{font-size:51px}.pagehero.projects p{font-size:15px;max-width:430px}.pagehero.services{background-image:linear-gradient(90deg,#052345f7 0%,#082c51cf 35%,#082c5144 60%,transparent 78%),url('assets/project-4.png')}.pagehero.about{background-image:linear-gradient(90deg,#052345f7 0%,#082c51c9 33%,transparent 70%),url('assets/hero.jpg')}.pagehero.joint{background-image:linear-gradient(90deg,#052345f7 0%,#082c51c9 33%,transparent 70%),url('assets/project-4.png')}.pagehero.contact{background-image:linear-gradient(90deg,#052345f7 0%,#082c51c9 33%,transparent 70%),url('assets/hero.jpg')}.servicesdetail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 18px}.servicebox{display:grid;grid-template-columns:32px minmax(0,1fr) 85px;gap:11px;border-bottom:1px solid var(--rule);padding-bottom:12px;min-height:130px}.service-icon{color:var(--green);padding-top:4px}.service-icon .line-icon{width:31px;height:31px}.servicebox h3{font-size:12px;font-weight:800;line-height:1.3;margin:7px 0}.servicebox p{font-size:11px;line-height:1.4;color:var(--body);margin:0 0 9px}.reference-photo{background-repeat:no-repeat;background-size:cover;background-position:center;border-radius:2px}.service-photo{width:85px;height:117px}.service-photo-0{background-image:url('assets/service-0-v5.svg')}.service-photo-1{background-image:url('assets/hero.jpg')}.service-photo-2{background-image:url('assets/service-2-v5.svg')}.service-photo-3{background-image:url('assets/service-3-v5.svg')}.service-photo-4{background-image:url('assets/service-4-v5.svg')}.service-photo-5{background-image:url('assets/reference-sheet.png');background-size:2194.286% 1219.048%;background-position:45.02% 34.362%}.about-layout{display:grid;grid-template-columns:1.6fr 1.18fr .95fr;gap:20px;align-items:stretch}.story>p,.joint-layout>div>p{font-size:12px;line-height:1.5;color:var(--body);margin:11px 0 15px}.story-photo{min-height:270px;background-image:url('assets/hero.jpg');background-position:43% center}.values,.seeking{background:#f5f6f7;padding:15px}.values h3,.seeking h3{font-size:14px;font-weight:800;margin:0 0 13px}.value-row{display:flex;align-items:flex-start;gap:11px;margin:15px 0}.value-row>.line-icon{width:27px;height:27px;color:var(--green)}.value-row h4{font-size:11px;font-weight:800;line-height:1.25;margin:0 0 5px}.value-row p{font-size:10px;line-height:1.4;color:var(--body);margin:0}.compact-stats{border:0;margin-top:15px}.compact-stats .wrap{padding:0;gap:0;max-width:none}.compact-stats .stat{padding:0 4px}.compact-stats .stat .line-icon{width:27px;height:27px}.compact-stats .stat strong{font-size:14px;letter-spacing:-.5px;white-space:nowrap;margin:5px 0}.compact-stats .stat small{font-size:9px;line-height:1.3}.joint-layout{display:grid;grid-template-columns:1.4fr .88fr .96fr;gap:22px}.joint-layout h2{font-size:22px}.ticks{list-style:none;padding:0;margin:13px 0}.ticks li{position:relative;padding-left:21px;margin:9px 0;font-size:11px;line-height:1.4;color:var(--body)}.ticks li:before{content:'✓';position:absolute;top:0;left:0;width:14px;height:14px;line-height:14px;font-size:10px;text-align:center;background:#3ea45f;color:white;border-radius:50%}.partner-photo{background-image:url('assets/service-4-v5.svg');min-height:270px}.icon-disc{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;color:var(--green);background:#e2f2e5;border-radius:50%}.icon-disc .line-icon{width:27px;height:27px}.seeking .value-row{gap:10px}.seeking .btn{width:100%;font-size:11px;min-height:35px;padding:10px}.contactgrid{display:grid;grid-template-columns:.8fr 1.35fr;gap:70px;padding-top:7px;padding-bottom:7px}.contact-details>div{display:flex;gap:22px;align-items:flex-start;margin:10px 0 25px}.contact-details .line-icon{width:25px;height:25px;margin-top:3px}.contact-details p{font-size:13px;line-height:1.45;margin:0}.contact-details b{font-size:12px;font-weight:800}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px 15px;align-content:start}label{font-size:11px;font-weight:500}input,textarea{width:100%;border:1px solid #dde1e6;border-radius:2px;padding:9px;font-size:13px;background:#fff;color:var(--ink)}label input,label textarea{margin-top:5px}input{height:37px}textarea{min-height:85px;resize:vertical}.full{grid-column:1/-1}.formgrid .btn{min-height:37px;padding:10px}.muted{color:#536275;font-size:10px;line-height:1.5;margin:0}.notice{font-size:12px;font-weight:700;color:#075a30}.notice:empty{display:none}.footer{background:#041e3e;color:white;padding-top:23px}.footgrid{display:grid;grid-template-columns:1.18fr .8fr 1.12fr 1.3fr .93fr;gap:22px}.footgrid>div:nth-child(2),.footgrid>div:nth-child(4),.footgrid>div:nth-child(5){border-left:1px solid #ffffff30;padding-left:21px}.footerlogo img{display:block;width:145px;max-width:100%;height:auto;filter:brightness(0) invert(1)}.footgrid h4{font-size:12px;font-weight:800;margin:0 0 10px}.footgrid a:not(.btn){display:block;font-size:11px;line-height:1.5;color:#e7edf5}.footgrid p{font-size:11px;line-height:1.45;color:#e7edf5;margin:8px 0}.footgrid>div:first-child p{font-size:13px}.footgrid p a{display:inline!important}.footgrid .btn{min-height:36px;padding:10px 13px;font-size:11px;white-space:nowrap}.footer-contact-icon{width:23px;display:inline-block;vertical-align:middle}.footer-contact-icon .line-icon{width:17px;height:17px;display:inline-block}.footbottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ffffff40;margin-top:18px;padding-top:12px;padding-bottom:15px;font-size:10px;color:#e0e8f4}.modal{position:fixed;inset:0;z-index:50;background:#00172bcc;display:flex;align-items:center;justify-content:center;padding:22px}.modalcontent{position:relative;background:white;border-radius:5px;padding:25px;width:min(750px,100%);max-height:90vh;overflow:auto}.modalcontent h2{font-size:24px}.modalcontent img{width:100%;max-height:360px;object-fit:cover}.close{position:absolute;right:13px;top:8px;cursor:pointer;background:var(--navy);color:white;border:0;font-size:25px;border-radius:3px}.warning{background:#fff8e8;border:1px solid #ead39d;padding:12px;font-size:12px;margin:15px 0}.admin{max-width:800px;margin:30px auto;padding:0 25px}.admin textarea{height:300px;font-family:monospace}.admin .btn{margin:6px}.card:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #68ba7d;outline-offset:3px}

/* Reference-matched edition. Fixed minimum canvas lets phone browsers fit the complete design and zoom. */
html{background:#f2f5f7}body{min-width:1024px;max-width:1440px;margin:0 auto;background:#fff;color:#081e3d}
.wrap{max-width:1240px;padding-left:48px;padding-right:48px}
.nav{height:95px;gap:25px}.brand{width:180px;height:78px;overflow:hidden}.brand img{width:180px;height:78px;object-fit:cover;object-position:center}
.nav nav{gap:26px}.nav nav a{font-size:12px;font-weight:600}.topcta{padding:15px 25px;min-height:47px}
.hero{min-height:467px;background:#edf7ff}.hero:before{left:38%;background-image:url('assets/hero.jpg');background-position:center;background-size:cover}.hero:after{background:linear-gradient(90deg,#eef8ff 0%,#f4faff 28%,#f6fbffd9 35%,#f6fbff55 44%,transparent 52%)}
.hero .wrap{padding-left:62px;padding-top:39px;padding-bottom:39px}.hero h1{font-size:56px;line-height:1.045;letter-spacing:-2px;margin:19px 0 16px}.hero p{font-size:16px;line-height:1.48;max-width:390px}.hero .eyebrow{font-size:11px;letter-spacing:1.5px}.actions{margin-top:25px;gap:25px}
.statgrid{padding-top:27px;padding-bottom:27px}.stat .sym .line-icon{width:40px;height:40px}.stat strong{font-size:25px;margin:8px 0 3px}.stat small{font-size:15px;line-height:1.35}
.section{padding:20px 0 22px}.sectionhead{margin-bottom:16px}.sectionhead h2,.section h2{font-size:33px;letter-spacing:-1.1px}.eyebrow{font-size:11px;letter-spacing:1.5px}.sub{font-size:13px;font-weight:700}.cards{gap:16px}.card{border-radius:4px;box-shadow:none;background:#fafafa;border:1px solid #e9eaec;overflow:hidden}.card img{display:block;width:100%;aspect-ratio:1.56;object-fit:cover}.cardcontent{padding:11px 14px 13px}.card h3{font-size:13px;font-weight:800;line-height:1.35;margin:0 0 7px}.card p,.status{font-size:12px;line-height:1.4;margin:4px 0}.status{margin-top:10px}.dot{width:9px;height:9px}
.servicesrow{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin-top:4px}.service{padding:0 9px;border-right:1px solid #e1e5e6}.service:last-child{border:0}.service .ico{width:66px;height:66px;margin-bottom:10px;background:#e3f2e7}.service .ico .line-icon{width:37px;height:37px}.service h3{font-size:12px;line-height:1.35;margin:0 0 7px;font-weight:800}.service p{font-size:11px;line-height:1.45;margin:0}
.pagehero{height:200px;background-size:auto 100%;background-repeat:no-repeat;background-position:right center;background-color:#082c53}.pagehero h1{font-size:37px;line-height:1.03;margin:12px 0 10px;letter-spacing:-1px}.pagehero .eyebrow{font-size:10px;letter-spacing:1.6px}.pagehero p{font-size:13px;line-height:1.4;max-width:405px}.pagehero .wrap{padding-left:62px}
.pagehero.services{background-image:linear-gradient(90deg,#082b50 0%,#082b50 22%,#082b50c9 40%,transparent 69%),url('assets/services-hero.png');background-size:100% 100%,auto 100%}
.pagehero.about{background-image:linear-gradient(90deg,#082b50 0%,#082b50 22%,#082b50c9 40%,transparent 69%),url('assets/about-hero.png');background-size:100% 100%,auto 100%}
.pagehero.joint{height:170px;background-image:linear-gradient(90deg,#082b50 0%,#082b50 22%,#082b50c9 40%,transparent 69%),url('assets/joint-hero.png');background-size:100% 100%,auto 100%}
.pagehero.contact{height:170px;background-image:linear-gradient(90deg,#082b50 0%,#082b50 22%,#082b50c9 40%,transparent 69%),url('assets/contact-hero.png');background-size:100% 100%,auto 100%}
.pagehero.projects{height:276px;background-image:linear-gradient(90deg,#082b50 0%,#082b50f0 22%,#082b5080 43%,transparent 69%),url('assets/projects-hero.jpg');background-size:100% 100%,auto 100%}.pagehero.projects h1{font-size:51px}.pagehero.projects p{font-size:15px;max-width:405px}
.cards.three{gap:13px 16px}.cards.three .card img{aspect-ratio:2.12}.cards.three .card h3{font-size:15px}.cards.three .card p,.cards.three .status{font-size:12px}
.service-section{padding:17px 0 15px}.service-section .wrap{padding:0 36px}.servicesdetail{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 17px}.servicebox{grid-template-columns:35px minmax(0,1fr) 92px;gap:10px;min-height:0;padding:0 0 11px;border-bottom:1px solid #eceeef;align-items:start}.service-icon{padding-top:8px;color:#16843d}.service-icon .line-icon{width:33px;height:38px}.servicebox h3{font-size:11px;margin:9px 0 7px;line-height:1.32}.servicebox p{font-size:10px;line-height:1.4;margin:0 0 7px}.service-photo{width:92px;height:110px;border-radius:0;background-image:url('assets/reference-sheet.png');background-size:1669.565% 930.909%;background-repeat:no-repeat}.service-photo-0{background-position:12.53% 23.80%}.service-photo-1{background-position:28.99% 23.80%}.service-photo-2{background-position:45.11% 23.80%}.service-photo-3{background-position:12.53% 34.90%}.service-photo-4{background-position:28.99% 34.90%}.service-photo-5{background-position:45.11% 34.90%}
.about-layout{grid-template-columns:1.6fr 1.18fr .95fr;gap:20px}.story h2{font-size:25px}.story>p{font-size:11px;line-height:1.43;margin:9px 0 16px}.story-photo{min-height:255px;background-image:url('assets/reference-sheet.png');background-size:600% 400%;background-position:85.94% 29.3%}.values{padding:14px 16px;background:#f7f8f9}.values h3{font-size:15px;margin:0 0 12px}.value-row{gap:11px;margin:16px 0}.value-row h4{font-size:11px;margin:0 0 5px}.value-row p{font-size:10px;line-height:1.4}.value-row>.line-icon{width:28px;height:28px}.compact-stats .statgrid{padding:0}.compact-stats .stat .sym .line-icon{width:27px;height:27px}.compact-stats .stat strong{font-size:14px;white-space:nowrap}.compact-stats .stat small{font-size:8px}
.joint-layout{grid-template-columns:1.45fr .9fr .98fr;gap:20px}.joint-layout h2{font-size:23px}.joint-layout>div>p{font-size:11px;line-height:1.4;margin:7px 0 10px}.ticks li{font-size:10px;margin:7px 0;padding-left:21px}.partner-photo{min-height:235px;background-image:url('assets/reference-sheet.png');background-size:768% 390%;background-position:25.1% 83.2%}.seeking{padding:12px 14px;background:#f7f8f8}.seeking h3{font-size:13px;margin:0 0 11px}.seeking .value-row{margin:11px 0}.seeking .value-row h4{font-size:10px}.seeking .value-row p{font-size:9px}.seeking .btn{border-radius:2px;min-height:32px;padding:8px;font-size:11px}.icon-disc{width:37px;height:37px}
.contactgrid{grid-template-columns:.8fr 1.35fr;gap:55px;padding-top:5px;padding-bottom:3px}.contact-details>div{margin:8px 0 24px}.contact-details p{font-size:12px}.formgrid{gap:10px 15px}.formgrid input{height:30px}.formgrid textarea{min-height:68px}.formgrid .btn{min-height:31px;padding:8px;border-radius:2px}
.footer{background:#031e40;padding-top:23px}.footgrid{grid-template-columns:1.18fr .8fr 1.12fr 1.3fr .93fr;gap:22px}.footerlogo img{width:145px;height:62px;filter:none;display:block;object-fit:contain;object-position:left center}.footgrid>div:first-child p{font-size:13px;line-height:1.35;margin:8px 0}.footgrid h4{font-size:12px;margin-bottom:9px}.footgrid a:not(.btn),.footgrid p{font-size:11px;line-height:1.45}.footgrid .btn{background:#fff;color:#041e40;border-radius:4px;padding:11px 13px;font-size:11px}.footbottom{margin-top:19px;padding:12px 48px 15px;font-size:10px}
body[data-route="services"] .footgrid .btn,body[data-route="about"] .footgrid .btn,body[data-route="joint-ventures"] .footgrid .btn,body[data-route="contact"] .footgrid .btn{background:#11883e;color:#fff}

/* Exact photo windows from the supplied mockup. */
.service-photo-0{background-image:url('assets/service-0-v5.svg');background-size:100% 100%;background-position:center}
.service-photo-1{background-image:url('assets/service-1-v5.svg');background-size:100% 100%;background-position:center}
.service-photo-2{background-image:url('assets/service-2-v5.svg');background-size:100% 100%;background-position:center}
.service-photo-3{background-image:url('assets/service-3-v5.svg');background-size:100% 100%;background-position:center}
.service-photo-4{background-image:url('assets/service-4-v5.svg');background-size:100% 100%;background-position:center}
.service-photo-5{background-image:url('assets/service-5-v5.svg');background-size:100% 100%;background-position:center}
.story-photo{background-image:url('assets/story-v5.svg');background-size:cover;background-position:center}.partner-photo{background-image:url('assets/partner-v5.svg');background-size:cover;background-position:center}
.pagehero.services,.pagehero.about,.pagehero.joint,.pagehero.contact,.pagehero.projects{background-size:100% 100%,75% 100%}
body{max-width:1024px}.wrap{max-width:1024px}.nav nav{gap:25px}.nav nav a{font-size:12px}.brand{width:180px}.nav{gap:24px}.servicebox{grid-template-columns:32px minmax(0,1fr) 85px;gap:8px}.service-photo{width:85px;height:110px}

.hero:before{left:47%}.hero:after{background:linear-gradient(90deg,#eef8ff 0%,#f4faff 29%,#f6fbffd9 37%,#f6fbff55 47%,transparent 57%)}

.hero:after{background:linear-gradient(90deg,#eef8ff 0%,#f4faff 35%,#f4faff 47%,#f4faff70 53%,transparent 60%)}
.pagehero.joint h1{font-size:33px;margin:10px 0}.pagehero.joint p{font-size:12px;line-height:1.35;max-width:530px}

/* Portrait tablet correction: Home retains its approved layout. */
@media (orientation:portrait) {
  html:has(body:not([data-route="home"]):not([data-route="projects"])) { background:#fff; }
  body:not([data-route="home"]):not([data-route="projects"]) { min-height:100vh;min-height:100svh;display:flex;flex-direction:column; }
  body:not([data-route="home"]):not([data-route="projects"]) #app { flex:1; }
  body:not([data-route="home"]):not([data-route="projects"]) .pagehero { height:270px; }
  body:not([data-route="home"]):not([data-route="projects"]) .pagehero h1 { font-size:43px;line-height:1.08;margin:16px 0; }
  body:not([data-route="home"]):not([data-route="projects"]) .pagehero p { font-size:16px;line-height:1.5;max-width:530px; }
  body:not([data-route="home"]):not([data-route="projects"]) .pagehero .eyebrow { font-size:12px; }
  body:not([data-route="home"]):not([data-route="projects"]) .section { padding:32px 0; }
  .servicesdetail { grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px; }
  .service-section .wrap { padding-left:48px;padding-right:48px; }
  .servicebox { grid-template-columns:39px minmax(0,1fr) 120px;gap:14px;padding-bottom:18px; }
  .service-photo { width:120px;height:148px; }
  .servicebox h3 { font-size:15px;margin:9px 0;line-height:1.35; }
  .servicebox p { font-size:14px;line-height:1.5;margin:0 0 10px; }
  .service-icon .line-icon { width:37px;height:40px; }
  .about-layout { grid-template-columns:1.15fr 1fr;gap:28px; }
  .story { grid-column:1/-1; }
  .story h2 { font-size:31px; }
  .story>p { font-size:16px;line-height:1.6;margin:14px 0 23px; }
  .story-photo { min-height:320px; }
  .values { padding:24px; }
  .values h3 { font-size:20px; }
  .value-row { gap:16px;margin:21px 0; }
  .value-row h4 { font-size:15px; }
  .value-row p { font-size:14px;line-height:1.5; }
  .compact-stats .stat strong { font-size:21px;margin:8px 0; }
  .compact-stats .stat small { font-size:12px; }
  .compact-stats .stat .sym .line-icon { width:34px;height:34px; }
  .joint-layout { grid-template-columns:1fr 1fr;gap:28px; }
  .joint-layout>div:first-child { grid-column:1/-1; }
  .joint-layout h2 { font-size:31px; }
  .joint-layout>div>p { font-size:16px;line-height:1.6; }
  .ticks { display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;margin:20px 0 0; }
  .ticks li { font-size:14px;line-height:1.5;padding-left:23px; }
  .ticks li:before { top:3px; }
  .partner-photo { min-height:330px; }
  .seeking { padding:24px; }
  .seeking h3 { font-size:18px; }
  .seeking .value-row { margin:19px 0; }
  .seeking .value-row h4 { font-size:14px; }
  .seeking .value-row p { font-size:13px; }
  .seeking .btn { min-height:42px;font-size:14px; }
  .contactgrid { grid-template-columns:1fr;gap:24px; }
  .contact-details { display:grid;grid-template-columns:1fr .85fr 1.25fr;gap:20px; }
  .contact-details>div { gap:12px;margin:4px 0 14px; }
  .contact-details p,.contact-details b { font-size:14px;line-height:1.5; }
  .formgrid { gap:18px 22px; }
  .formgrid label { font-size:14px; }
  .formgrid input { height:44px;font-size:16px; }
  .formgrid textarea { min-height:135px;font-size:16px; }
  .formgrid .btn { min-height:44px;font-size:14px; }
  .formgrid .muted { font-size:12px; }
}

/* User-selected panoramic Wickford banner. Original image bytes retained. */
.hero:before{inset:0;background-image:url('assets/wickford-home-banner-v7.png');background-size:cover;background-position:center center}
.hero:after{background:linear-gradient(90deg,#f1f8fffc 0%,#f1f8fff5 24%,#f1f8ffd9 34%,#f1f8ff66 46%,#f1f8ff00 60%)}

/* Full panoramic scene, separated from the Home copy. */
.hero{min-height:390px;background:#eef6fc;overflow:hidden;align-items:stretch}
.hero:before{inset:0 0 0 39%;background-image:url('assets/wickford-home-banner-v7.png');background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#dceaf4}
.hero:after{display:none}
.hero .wrap{margin:0;width:39%;max-width:none;padding:30px 27px 32px 38px;display:flex;flex-direction:column;justify-content:center;background:#f1f8ff}
.hero .eyebrow{font-size:9px;letter-spacing:1.05px;line-height:1.6}
.hero h1{font-size:44px;line-height:1.06;letter-spacing:-1.6px;margin:17px 0 15px}
.hero h1 em{display:block;white-space:nowrap;font-size:35px;letter-spacing:-1.3px}
.hero p{font-size:14px;line-height:1.5;max-width:none}
.hero .actions{gap:12px;margin-top:22px;flex-wrap:wrap}
.hero .actions .btn{font-size:11px;min-height:40px;padding:12px 15px}
/* Match the panorama's proportions with a shorter banner. */
.hero{min-height:0;height:280px;background:#f1f8ff}
.hero:before{left:30%;background-color:#f1f8ff}
.hero .wrap{width:30%;padding:16px 20px 16px 30px}
.hero .eyebrow{font-size:8px;letter-spacing:.7px;line-height:1.5}
.hero h1{font-size:32px;line-height:1.04;letter-spacing:-1px;margin:13px 0 11px}
.hero h1 em{font-size:26px;letter-spacing:-.9px}
.hero p{font-size:11.5px;line-height:1.45}
.hero .actions{margin-top:14px;gap:9px;flex-wrap:nowrap}
.hero .actions .btn{font-size:10px;min-height:34px;padding:10px 12px;white-space:nowrap}
/* Soft join between copy and panorama, with no solid divider. */
.hero{background:#f1f8ff}
.hero .wrap{background:transparent}
.hero:before{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 10%);mask-image:linear-gradient(90deg,transparent 0%,#000 10%)}

/* Device-width layout: retain desktop canvas above 1023px, adapt smaller screens. */
@media(max-width:1023px){
 html{background:#fff}body{min-width:0;width:100%;max-width:1024px}.wrap{padding-left:28px;padding-right:28px}
 .nav{gap:18px}.nav nav{gap:16px}.nav nav a{font-size:11px}.brand{width:150px}.brand img{width:150px}.topcta{padding:13px 17px;font-size:12px}
 .hero .wrap{width:39%;padding-left:28px;padding-right:18px}.hero:before{left:39%}.hero h1{font-size:30px}.hero h1 em{font-size:24px;white-space:normal}.hero .actions{gap:8px;flex-wrap:wrap}.hero .actions .btn{padding:10px;font-size:10px}
 .footgrid{grid-template-columns:1fr 1fr 1.25fr;gap:25px}.footgrid>div:nth-child(2),.footgrid>div:nth-child(4),.footgrid>div:nth-child(5){padding:0;border:0}.footgrid a:not(.btn){overflow-wrap:anywhere}
 .footbottom{padding-left:28px;padding-right:28px}
}
@media(max-width:900px){
 body .header .wrap.nav{height:80px;gap:16px}body .header .nav .brand{width:155px;height:68px}body .header .nav .brand img{width:155px;height:68px}
 body .header .menu{display:block;margin-left:auto;border:0;background:none;color:var(--navy);font-size:28px;padding:8px;min-width:44px;min-height:44px}
 body .header .topcta{display:none}body .header .wrap.nav nav{display:none;position:absolute;top:80px;left:0;right:0;background:white;padding:12px 28px 20px;box-shadow:0 8px 15px #0002;flex-direction:column;align-items:stretch;gap:0}
 body .header .wrap.nav nav.open{display:flex}body .header .wrap.nav nav a{font-size:16px;padding:12px 0;border-bottom:1px solid #e7ecef;min-height:44px}
}
@media(max-width:600px){
 html{background:#fff;scroll-behavior:auto}
 body,body:not([data-route="home"]):not([data-route="projects"]){min-width:0;min-height:0;display:block;background:#fff}
 .wrap{padding-left:22px;padding-right:22px}
 body #app{display:block;flex:none}body .section{padding:25px 0}
 .hero{height:auto;min-height:0;display:flex;flex-direction:column;background:#f1f8ff}
 .hero .wrap{order:1;width:100%;padding:27px 22px 23px;display:block}
 .hero:before{order:2;position:relative;display:block;inset:auto;left:auto;flex:none;width:100%;height:auto;aspect-ratio:1536/569;background-size:contain;background-position:center;background-color:#f1f8ff;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 7%);mask-image:linear-gradient(180deg,transparent 0%,#000 7%)}
 .hero .eyebrow{font-size:9px;letter-spacing:1px}.hero h1{font-size:43px;line-height:1.04;margin:17px 0}.hero h1 em{font-size:34px;white-space:normal;letter-spacing:-1px}.hero p{font-size:15px;line-height:1.5}.hero .actions{margin-top:21px;gap:12px;flex-wrap:wrap}.hero .actions .btn{font-size:13px;min-height:44px;padding:13px 18px}
 .statgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 0;padding:24px 22px}.stat:nth-child(2){border:0}.stat strong{font-size:24px}.stat small{font-size:13px}.stat .sym .line-icon{width:35px;height:35px}
 .sectionhead{flex-wrap:wrap;align-items:flex-start;gap:12px}.sectionhead h2,.section h2{font-size:28px;line-height:1.15;letter-spacing:-.8px}.sectionhead .sub{font-size:12px}.eyebrow{font-size:10px}
 .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cardcontent{padding:11px}.card h3{font-size:13px;line-height:1.4}.card p,.status{font-size:12px;line-height:1.4}.status{margin-top:10px}.card img{aspect-ratio:1.4}.cards.three{grid-template-columns:1fr;gap:20px}.cards.three .card img{aspect-ratio:1.9}.cards.three .card h3{font-size:17px}.cards.three .card p,.cards.three .status{font-size:14px}
 .servicesrow{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 0}.service{padding:0 12px}.service:nth-child(even){border:0}.service h3{font-size:13px}.service p{font-size:12px;line-height:1.5}
 body:not([data-route="home"]) .pagehero{height:auto;min-height:235px;padding:28px 0;background-size:100% 100%,auto 100%;background-position:center,right center}
 body:not([data-route="home"]) .pagehero .wrap{padding-left:22px;padding-right:22px}
 body:not([data-route="home"]) .pagehero h1{font-size:34px;line-height:1.08;letter-spacing:-1px;margin:14px 0}
 body:not([data-route="home"]) .pagehero p{font-size:14px;line-height:1.5;max-width:335px}
 body:not([data-route="home"]) .pagehero .eyebrow{font-size:10px}
 .servicesdetail{grid-template-columns:1fr;gap:20px}.service-section .wrap{padding:0 22px}.servicebox{grid-template-columns:32px minmax(0,1fr) 94px;gap:12px;padding-bottom:20px}.service-photo{width:94px;height:130px}.servicebox h3{font-size:15px;margin:4px 0 8px}.servicebox p{font-size:13px;line-height:1.5}.service-icon .line-icon{width:30px;height:34px}
 .about-layout,.joint-layout{grid-template-columns:1fr;gap:24px}.story,.joint-layout>div:first-child{grid-column:auto}.story>p,.joint-layout>div>p{font-size:15px;line-height:1.6}.story-photo,.partner-photo{min-height:0;aspect-ratio:1.25}.values,.seeking{padding:22px}.values h3,.seeking h3{font-size:20px}.value-row h4,.seeking .value-row h4{font-size:15px}.value-row p,.seeking .value-row p{font-size:14px;line-height:1.5}.value-row,.seeking .value-row{margin:20px 0}.seeking .btn{min-height:44px;font-size:14px}
 .ticks{grid-template-columns:1fr;gap:5px;margin-top:18px}.ticks li{font-size:14px;line-height:1.5;margin:6px 0}.compact-stats .statgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 0}.compact-stats .stat strong{font-size:20px}.compact-stats .stat small{font-size:12px}.compact-stats .stat:nth-child(2){border:0}
 .contactgrid{grid-template-columns:1fr;gap:24px}.contact-details{display:block}.contact-details>div{gap:17px;margin:0 0 23px}.contact-details p,.contact-details b{font-size:15px}.formgrid{grid-template-columns:1fr;gap:16px}.formgrid label{font-size:14px}.formgrid input{height:46px;font-size:16px}.formgrid textarea{min-height:135px;font-size:16px}.formgrid .btn{min-height:46px;font-size:14px}.formgrid .muted{font-size:12px;line-height:1.5}
 .footer{padding-top:26px}.footgrid{grid-template-columns:1fr 1fr;gap:25px}.footgrid>div:first-child{grid-column:1/-1}.footgrid>div:nth-child(2),.footgrid>div:nth-child(4),.footgrid>div:nth-child(5){border:0;padding:0}.footgrid>div:nth-child(4){grid-column:1/-1}
 body .footer .footerlogo img{width:155px;height:65px}body .footer .wrap.footgrid h4{font-size:15px;margin-bottom:12px}body .footer .wrap.footgrid a:not(.btn),body .footer .wrap.footgrid p{font-size:13px;line-height:1.65}body .footer .wrap.footgrid>div:first-child p{font-size:14px}body .footer .wrap.footgrid .btn{font-size:13px;min-height:44px;padding:13px 17px}body .footer .footbottom{display:flex;flex-direction:column;gap:9px;font-size:11px;line-height:1.6;padding:16px 22px 20px;margin-top:25px}
 .modal{padding:16px}.modalcontent{padding:22px 16px;max-height:90vh}.modalcontent h2{font-size:23px}
}

/* WordPress refinements: consistent inner banner proportions, portrait CTA. */
body:not([data-route="home"]) .pagehero{height:280px;min-height:280px;display:flex;align-items:center}
body:not([data-route="home"]) .pagehero h1{font-size:42px;line-height:1.08}
body:not([data-route="home"]) .pagehero p{font-size:14px;max-width:480px;line-height:1.5}
body:not([data-route="home"]) .pagehero .eyebrow{font-size:11px}
@media(max-width:900px){body .header .wrap.nav{display:flex;gap:12px}body .header .nav .brand{margin-right:auto}body .header .topcta{display:inline-flex;order:2;font-size:12px;min-height:42px;padding:10px 13px;white-space:nowrap}body .header .menu{order:3;flex-shrink:0}body .header .nav nav{order:4}}
@media(max-width:600px){body .header .nav .brand{width:125px}body .header .nav .brand img{width:125px;height:60px}body .header .wrap.nav{padding:0 16px;gap:9px}body .header .topcta{font-size:11px;padding:10px}body:not([data-route="home"]) .pagehero{height:auto;min-height:280px;padding:30px 0}body:not([data-route="home"]) .pagehero h1{font-size:34px}body:not([data-route="home"]) .pagehero p{font-size:14px;max-width:335px}}
.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:10px;top:10px;z-index:999;background:white;padding:12px}.abm-honey{position:absolute;left:-10000px}.abm-message{padding:12px;border:1px solid currentColor}.project-gallery img{width:100%;height:auto}.abm-single{padding:35px 0}body.admin-bar .header{top:32px}@media(max-width:782px){body.admin-bar .header{top:46px}}

.hero:before{background-image:var(--abm-banner)}.pagehero.projects,.pagehero.services,.pagehero.about,.pagehero.joint,.pagehero.contact{background-image:linear-gradient(90deg,rgba(3,34,67,.96),rgba(3,34,67,.6) 40%,transparent 75%),var(--abm-banner)}

body:not([data-route="home"]):not([data-route="projects"]) .pagehero{height:280px;min-height:280px}body:not([data-route="home"]):not([data-route="projects"]) .pagehero h1{font-size:42px}body:not([data-route="home"]):not([data-route="projects"]) .pagehero p{font-size:14px;line-height:1.5;max-width:480px}@media(max-width:600px){body:not([data-route="home"]):not([data-route="projects"]) .pagehero{height:auto;min-height:280px}body:not([data-route="home"]):not([data-route="projects"]) .pagehero h1{font-size:34px}body:not([data-route="home"]):not([data-route="projects"]) .pagehero p{max-width:335px}}
a.card{color:inherit;text-decoration:none}.abm-project-dialog{border:0;border-radius:8px;padding:28px;max-width:720px;width:calc(100% - 32px);max-height:90vh;color:#09213e}.abm-project-dialog::backdrop{background:#00172cbb}.abm-dialog-close{float:right;font-size:30px;background:none;border:0;cursor:pointer;min-width:44px;min-height:44px}.abm-project-dialog h2{font-size:26px;margin:0 44px 20px 0}.abm-project-dialog img{margin-bottom:15px}

/* Consistent banner proportions and always-visible portrait enquiry action. */
@media(min-width:901px){
 body[data-route="home"] .hero{height:clamp(320px,26vw,480px);min-height:320px}
 body[data-route="home"] .hero:before{left:30%;background-size:contain;background-position:center right}
 body[data-route="home"] .hero .wrap{width:34%;padding-left:clamp(28px,4.5vw,70px);padding-right:20px}
 body[data-route="home"] .hero h1{font-size:clamp(32px,3.1vw,48px);line-height:1.06}
 body[data-route="home"] .hero h1 em{font-size:clamp(26px,2.6vw,40px);white-space:normal}
 body[data-route="home"] .hero p{font-size:14px;line-height:1.5;max-width:360px}
}
body:not([data-route="home"]) .pagehero,
body:not([data-route="home"]):not([data-route="projects"]) .pagehero{height:clamp(320px,26vw,480px);min-height:320px;display:flex;align-items:center;padding:26px 0;box-sizing:border-box}
body:not([data-route="home"]) .pagehero h1,
body:not([data-route="home"]):not([data-route="projects"]) .pagehero h1{font-size:clamp(36px,3.6vw,52px);line-height:1.08;margin:14px 0;letter-spacing:-1px}
body:not([data-route="home"]) .pagehero p,
body:not([data-route="home"]):not([data-route="projects"]) .pagehero p{font-size:15px;line-height:1.5;max-width:490px}
body:not([data-route="home"]) .pagehero .eyebrow{font-size:11px}
@media(max-width:900px){
 body .header .wrap.nav{display:flex;gap:12px}body .header .nav .brand{margin-right:auto}
 body .header .topcta{display:inline-flex;order:2;align-items:center;font-size:12px;min-height:42px;padding:10px 13px;white-space:nowrap}
 body .header .menu{order:3;flex-shrink:0}body .header .nav nav{order:4}
 body[data-route="home"] .hero{height:auto;min-height:0;display:flex;flex-direction:column}
 body[data-route="home"] .hero .wrap{order:1;width:100%;padding:28px;box-sizing:border-box}
 body[data-route="home"] .hero:before{order:2;position:relative;display:block;inset:auto;left:auto;flex:none;width:100%;height:auto;aspect-ratio:1536/569;background-size:contain;background-position:center;background-repeat:no-repeat;-webkit-mask-image:linear-gradient(180deg,transparent,#000 7%);mask-image:linear-gradient(180deg,transparent,#000 7%)}
 body[data-route="home"] .hero h1{font-size:40px;line-height:1.05}body[data-route="home"] .hero h1 em{font-size:34px;white-space:normal}
 body[data-route="home"] .hero p{font-size:15px;line-height:1.5;max-width:560px}
 body[data-route="home"] .hero .actions .btn{font-size:13px;padding:13px 16px;min-height:44px}
 body:not([data-route="home"]) .pagehero,body:not([data-route="home"]):not([data-route="projects"]) .pagehero{height:auto;min-height:300px}
}
@media(max-width:600px){
 body .header .nav .brand{width:125px}body .header .nav .brand img{width:125px;height:60px}
 body .header .wrap.nav{padding:0 16px;gap:9px}body .header .topcta{font-size:11px;padding:10px}
 body[data-route="home"] .hero .wrap{padding:28px 22px}
 body:not([data-route="home"]) .pagehero,body:not([data-route="home"]):not([data-route="projects"]) .pagehero{height:auto;min-height:300px;padding:30px 0}
 body:not([data-route="home"]) .pagehero h1,body:not([data-route="home"]):not([data-route="projects"]) .pagehero h1{font-size:34px}
 body:not([data-route="home"]) .pagehero p,body:not([data-route="home"]):not([data-route="projects"]) .pagehero p{font-size:14px;max-width:335px}
}

@media(min-width:901px){body[data-route="home"] .hero h1{font-size:34px}body[data-route="home"] .hero h1 em{font-size:26px;white-space:nowrap}body[data-route="home"] .hero p{font-size:13px}}

/* Home photograph defines the desktop banner height: no letterboxing. */
@media(min-width:901px){
 body[data-route="home"] .hero{height:auto;min-height:0;aspect-ratio:15360/3983}
 body[data-route="home"] .hero:before{inset:0 0 0 30%;background-size:100% 100%;background-position:center}
 body[data-route="home"] .hero .wrap{display:flex;flex-direction:column;justify-content:center;padding-top:14px;padding-bottom:14px}
 body[data-route="home"] .hero h1{font-size:30px;line-height:1.04;margin:10px 0}
 body[data-route="home"] .hero h1 em{font-size:24px;white-space:nowrap}
 body[data-route="home"] .hero p{font-size:11.5px;line-height:1.45;margin:0 0 13px}
 body[data-route="home"] .hero .eyebrow{font-size:8px}
 body[data-route="home"] .hero .actions .btn{font-size:10px;padding:10px 12px;min-height:34px}
}

/* Shared enquiry buttons: identical typography and dimensions in every orientation. */
body .header .wrap.nav .topcta,body .footer .wrap.footgrid .btn{font-family:Manrope,Arial,sans-serif;font-size:12px;font-weight:700;line-height:1.2;height:44px;min-height:44px;min-width:138px;padding:12px 16px;border-radius:5px;box-sizing:border-box;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}

@media(max-width:374px){body .header .nav .brand,body .header .nav .brand img{width:82px;height:45px}}

.project-gallery{display:grid;gap:16px}.project-gallery img{display:block;width:100%;height:auto;margin:0}.abm-project-dialog .project-gallery{margin:20px 0}.footer-instagram{display:inline-flex;align-items:center;gap:8px;overflow-wrap:anywhere}.footer-instagram svg{width:18px;height:18px;flex-shrink:0}

.abm-accreditation{background:#f7f7f7;border-top:1px solid var(--rule);padding:16px 0}.abm-accreditation-inner{display:flex;align-items:center;justify-content:center;gap:30px}.abm-accreditation p{font-size:16px;font-weight:700;margin:0}.abm-nhbc-logo{width:190px;height:72px;position:relative;overflow:hidden;flex-shrink:0}.abm-nhbc-logo img{position:absolute;display:block;width:224px;height:224px;max-width:none;left:-18px;top:-80px}@media(max-width:600px){.abm-accreditation-inner{flex-direction:column;gap:4px;text-align:center}.abm-accreditation p{font-size:14px}}

.abm-accreditation p{max-width:580px;line-height:1.55}

.abm-document{max-width:1000px;padding-top:44px;padding-bottom:56px;font-size:16px;line-height:1.75;overflow-wrap:anywhere}.abm-document h1{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:0 0 24px}.abm-document h2{font-size:22px;line-height:1.35;margin:30px 0 12px}.abm-document p,.abm-document ul{margin:0 0 18px}.abm-document li{margin:8px 0}.abm-document a,.abm-form-privacy a{text-decoration:underline;text-underline-offset:3px}.abm-document-date{color:#536174;font-size:14px}.abm-form-privacy{font-size:12px;line-height:1.5;margin:0}.footbottom a:hover{text-decoration:underline}@media(max-width:600px){.abm-document{padding:30px 22px 40px;font-size:15px}.abm-document h2{font-size:20px}}

.line-icon{shape-rendering:geometricPrecision}.service-photo{background-repeat:no-repeat;background-size:cover;background-position:center}.service-photo-2{background-position:52% center}.service-photo-4{background-position:39% center}.service-photo-5{background-color:#f7f7f7;background-size:110% auto!important;background-position:center!important}.story-photo{background-position:50% center}.partner-photo{background-position:42% center}
