@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#17252e;--navy:#10232d;--orange:#f47c34;--paper:#f5f6f4;--line:#dce1e2}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:#fff}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.wrap{max-width:1280px;margin:auto;padding:0 42px}.site-header{height:88px;background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 2px 20px #0000000b}.nav{height:100%;display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;gap:13px;align-items:center}.brand-mark{display:grid;place-items:center;width:45px;height:45px;background:var(--orange);color:#fff;font:800 38px/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:-4px;padding-right:5px}.mark-slash{color:var(--navy);font-size:23px;margin-left:-5px}.brand-name{font:800 28px/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:1px}.brand-name small{display:block;font:700 8px/1.7 'DM Sans',sans-serif;letter-spacing:1.4px}.nav-links{display:flex;align-items:center;gap:34px;font-size:13px;font-weight:700}.nav-links>a:not(.nav-cta):hover{color:var(--orange)}.nav-cta{background:var(--navy);color:white;padding:15px 20px}.nav-cta span{color:var(--orange);margin-left:13px}.menu-toggle{display:none;border:0;background:none;font-size:26px}.hero{height:min(780px,calc(100svh - 88px));min-height:620px;position:relative;background:#1b313b;color:white;overflow:hidden}.hero-image,.hero-shade{position:absolute;inset:0;width:100%;height:100%}.hero-image{object-fit:cover;object-position:center 52%}.hero-shade{background:linear-gradient(90deg,#0b1c27ee 0%,#0c2330bb 45%,#0a1b2520 100%),linear-gradient(0deg,#071722b5,transparent 35%)}.hero-inner{position:relative;padding-top:155px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2.3px;color:#c36b37;margin:0 0 24px}.eyebrow.light{color:#ffb080}.dot{display:inline-block;width:7px;height:7px;background:var(--orange);border-radius:50%;margin-right:10px}.hero h1,h2,h3{font-family:'Barlow Condensed',Impact,'Arial Narrow',sans-serif}.hero h1{font-size:clamp(72px,9vw,136px);line-height:.86;letter-spacing:-1.5px;margin:0 0 32px;font-weight:800}.hero h1 em,.feature h2 em,.statement h2 em,.contact h2 em{color:var(--orange);font-style:normal}.hero-intro{font-size:17px;line-height:1.8;max-width:540px;color:#e1e8e9}.hero-actions{display:flex;gap:12px;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;padding:18px 23px;font-size:13px;font-weight:800;border:1px solid transparent}.button span{font-size:18px}.button.primary{background:var(--orange);color:#17252e}.button.ghost{border-color:#ffffff80;color:#fff}.button:hover,.nav-cta:hover{filter:brightness(1.1)}.hero-side{position:absolute;right:20px;top:40%;writing-mode:vertical-rl;font-size:10px;letter-spacing:3px;font-weight:700;color:#ffffff99}.hero-bottom{position:absolute;bottom:0;width:100%;border-top:1px solid #ffffff55}.hero-bottom-inner{height:66px;display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1.7px;font-weight:700}.section{padding:110px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:60px;margin-bottom:45px}.section h2,.statement h2,.feature h2{font-size:clamp(48px,5.3vw,75px);line-height:.97;margin:0;font-weight:700}.muted{color:#a2adb2}.head-copy{max-width:355px;color:#64717a;font-size:15px;line-height:1.8;margin:0 0 5px}.intro{background:var(--paper)}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dbe0e1;border:1px solid #dbe0e1}.service-card{background:white;padding:34px;min-height:295px;position:relative;transition:background .2s}.service-card:hover{background:#fdf8f4}.service-no{position:absolute;right:30px;top:30px;color:#aeb9bc;font-size:12px}.service-icon{font-size:35px;color:var(--orange);height:55px}.service-card h3{font-size:30px;line-height:1;margin:12px 0}.service-card p{color:#6d777e;font-size:13px;line-height:1.8;max-width:310px}.service-card a{display:inline-block;margin-top:12px;font-size:12px;font-weight:800}.service-card a span{color:var(--orange);margin-left:10px}.feature{display:grid;grid-template-columns:1fr 1fr;background:var(--navy);color:#fff;min-height:610px}.feature-photo{overflow:hidden}.feature-photo img{width:100%;height:100%;object-fit:cover;object-position:center}.feature-content{padding:100px min(8vw,120px) 80px 70px}.feature h2{font-size:clamp(52px,5.5vw,79px)}.feature-content>p:not(.eyebrow){color:#bfcbd0;line-height:1.9;max-width:500px}.feature-points{margin:35px 0;border-top:1px solid #ffffff33}.feature-points div{display:flex;gap:26px;border-bottom:1px solid #ffffff33;padding:16px 0;font-size:14px;font-weight:700}.feature-points strong{color:var(--orange)}.text-link{font-weight:800;color:#ff9d62;font-size:13px}.projects{background:#fff}.filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:28px}.filter{border:1px solid #dbe0e1;background:white;padding:11px 16px;color:#57646c;font-size:12px;font-weight:800}.filter.active,.filter:hover{background:var(--navy);border-color:var(--navy);color:white}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.project-card{position:relative;min-height:290px;background:#17252e;overflow:hidden}.project-card.wide{grid-column:span 2}.project-card img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .4s}.project-card:hover img{transform:scale(1.04)}.project-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#061721dc,transparent 65%)}.project-caption{position:absolute;z-index:1;bottom:25px;left:25px;right:20px;color:white}.project-caption span{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#ffad76}.project-caption h3{font-size:30px;margin:5px 0 0}.project-card[hidden]{display:none}.gallery-note{color:#849097;font-size:12px;margin-top:25px}.statement{background:#142d39;color:white;padding:110px 0}.statement-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:90px}.statement h2{font-size:clamp(48px,5vw,72px)}.statement-grid>div:nth-child(2)>p{font-size:15px;line-height:1.9;color:#c4cfd3;margin:0 0 17px}.pill-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}.pill-row span{border:1px solid #ffffff44;padding:9px 12px;font-size:11px}.contact{background:var(--paper)}.contact-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:95px}.contact h2{font-size:clamp(54px,5.8vw,83px)}.contact-grid>div>p:not(.eyebrow){max-width:420px;line-height:1.9;color:#64717a}.contact-footnote{font-size:12px!important;margin-top:40px}.contact-form{background:white;padding:38px;box-shadow:0 14px 40px #10232d0b}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contact-form label{display:block;font-size:12px;font-weight:800;margin-bottom:20px}.contact-form input,.contact-form select,.contact-form textarea{display:block;width:100%;margin-top:9px;padding:14px 12px;background:#f7f8f8;border:1px solid #e0e4e5;border-radius:0;color:#182c35;font-size:13px;outline-color:var(--orange)}.contact-form textarea{resize:vertical}.button.dark{background:var(--navy);color:white;width:100%}.form-status{color:#7b888d;font-size:11px;line-height:1.6}footer{background:#0d202a;color:#fff}.footer-top{display:flex;justify-content:space-between;align-items:center;padding-top:50px;padding-bottom:50px;border-bottom:1px solid #ffffff22}.footer-top>p{color:#b6c1c6}.footer-top>a:last-child{font-size:12px;font-weight:700}.footer-bottom{display:flex;justify-content:space-between;padding-top:25px;padding-bottom:25px;color:#98aab3;font-size:11px}.footer-brand .brand-name{color:white}
@media(max-width:900px){.wrap{padding:0 25px}.menu-toggle{display:block}.nav-links{display:none;position:absolute;top:88px;left:0;right:0;background:white;padding:24px;box-shadow:0 12px 20px #0002;flex-direction:column;align-items:stretch;gap:20px}.nav-links.open{display:flex}.hero-inner{padding-top:120px}.hero{min-height:620px}.section{padding:75px 0}.services-grid{grid-template-columns:repeat(2,1fr)}.feature-content{padding:65px 35px}.contact-grid{gap:35px}.statement-grid{gap:35px}.project-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.site-header{height:76px}.nav-links{top:76px}.hero{height:710px;min-height:0}.hero-inner{padding-top:150px}.hero h1{font-size:70px}.hero-intro{font-size:15px}.hero-actions{flex-direction:column;align-items:flex-start}.hero-bottom-inner span:nth-child(2){display:none}.hero-side{display:none}.section-head,.statement-grid,.contact-grid{display:block}.section-head h2{margin-bottom:25px}.head-copy{max-width:100%}.services-grid,.feature,.project-grid{grid-template-columns:1fr}.service-card{min-height:250px}.feature-photo{height:340px}.feature-content{padding:60px 25px}.project-card,.project-card.wide{grid-column:span 1;min-height:290px}.statement-grid>div:nth-child(2){margin-top:30px}.contact-form{padding:22px;margin-top:30px}.form-row{grid-template-columns:1fr;gap:0}.footer-top,.footer-bottom{flex-direction:column;align-items:flex-start;gap:18px}.hero-bottom-inner{font-size:9px}}

/* QMES official brand identity */
:root{--navy:#142e52;--orange:#3b78ae;--ink:#172d48;--paper:#f3f6fa}
.official-logo{width:275px;max-width:100%;height:auto;object-fit:contain}
.footer-brand{background:#fff;padding:10px 14px;border-radius:2px}
.footer-brand .official-logo{width:245px}
@media(max-width:620px){.official-logo{width:195px}.footer-brand .official-logo{width:205px}}

/* v3: integrate the supplied corporate identity into the page architecture */
:root{--navy:#08234c;--orange:#315e96;--ink:#102a50;--paper:#f3f6fa}
.brand-rule{height:5px;background:linear-gradient(90deg,#08234c 0 26%,#7c91a9 26% 30%,#08234c 30% 100%)}
.site-header{height:104px;box-shadow:0 6px 25px #08234c14;border-bottom:1px solid #dce4ee}
.nav{gap:28px}
.brand{align-self:stretch;position:relative;padding:13px 22px 13px 0;border-right:1px solid #dbe3ed}
.brand:after{content:"";position:absolute;bottom:-1px;left:0;right:22px;height:3px;background:#08234c}
.official-logo{width:310px;max-height:74px;object-fit:contain;object-position:left center}
.nav-links{gap:25px;color:#1b3458}
.nav-links>a:not(.nav-cta):hover{color:#315e96}
.nav-cta{background:#08234c;border-left:4px solid #a3b2c6}
.nav-cta span{color:#dbe7f4}
.hero{height:min(780px,calc(100svh - 104px));background:#08234c}
.hero-shade{background:linear-gradient(90deg,#061a37f7 0%,#0a2850e3 42%,#0a285075 72%,#071d3822 100%),linear-gradient(0deg,#071a38a8,transparent 42%)}
.hero-brand-watermark{position:absolute;right:8%;top:13%;width:min(31vw,390px);aspect-ratio:1;background:url('assets/qmes-mark.png') center/contain no-repeat;opacity:.12;filter:grayscale(1) brightness(0) invert(1);pointer-events:none}
.hero-inner{border-left:3px solid #94a9c2;padding-left:38px;margin-top:0;padding-top:143px}
.hero .eyebrow{color:#d2deec}.eyebrow-divider{padding:0 12px;color:#8fa6c2}
.hero h1 em,.feature h2 em,.statement h2 em,.contact h2 em{color:#b4c9e0}
.hero h1{letter-spacing:-.8px}
.button.primary{background:#fff;color:#08234c;border-left:5px solid #7c99bc}
.button.ghost{border-color:#b8c9de}
.hero-bottom{background:#061a37a8}.hero-bottom-inner{color:#e6eef7}
.eyebrow{color:#315e96}.eyebrow.light{color:#b9cee4}.dot{background:#b9cee4}
.service-icon,.service-card a span,.feature-points strong,.text-link{color:#315e96}
.feature .text-link,.feature-points strong{color:#b8cce3}
.service-card:hover{background:#f3f6fa}.project-caption span{color:#b9d2f0}
.statement{background:#08234c}.feature{background:#0d2c52}
footer{background:#eaf0f6;color:#08234c;border-top:5px solid #08234c}
.footer-top{border-bottom:1px solid #c9d5e3}.footer-top>p,.footer-bottom{color:#526981}
.footer-brand{padding:0;background:transparent;border-radius:0}.footer-brand .official-logo{width:290px}
@media(max-width:900px){.site-header{height:95px}.nav-links{top:95px}.brand{padding-right:14px}.official-logo{width:255px}.hero{height:min(780px,calc(100svh - 95px))}.hero-inner{padding-top:120px}}
@media(max-width:620px){.site-header{height:82px}.nav-links{top:82px}.brand{padding:12px 12px 12px 0}.official-logo{width:205px;max-height:58px}.hero{height:710px}.hero-inner{padding:130px 25px 0 23px;border-left:3px solid #94a9c2;margin-left:25px}.hero h1{font-size:clamp(53px,13vw,70px)}.hero-brand-watermark{width:48vw;right:5%;top:13%}.footer-brand .official-logo{width:240px}.hero .eyebrow{font-size:10px;line-height:1.8}}

/* V4: integrate a prominent company identity beside the hero headline */
.hero-inner{border-left:0;padding-left:42px;padding-top:132px}
.hero-brand-layout{display:grid;grid-template-columns:minmax(270px,390px) minmax(0,1fr);gap:clamp(28px,4vw,72px);align-items:center}
.hero-logo-panel{padding:30px 22px 30px 0;border-right:2px solid #9ab0cc;display:flex;align-items:center;justify-content:center;min-height:310px}
.hero-logo-panel img{width:100%;height:auto;filter:drop-shadow(0 10px 18px #0005)}
.hero-message{min-width:0}
.hero-message h1{font-size:clamp(65px,7.4vw,112px)}
.hero-message .hero-intro{max-width:560px}
@media(max-width:1050px){.hero-brand-layout{grid-template-columns:minmax(210px,30%) minmax(0,1fr);gap:25px}.hero-message h1{font-size:clamp(55px,7vw,90px)}.hero-inner{padding-top:125px}}
@media(max-width:700px){.hero{height:auto;min-height:790px}.hero-inner{padding:65px 25px 115px;margin:0}.hero-brand-layout{grid-template-columns:1fr;gap:24px}.hero-logo-panel{min-height:0;max-width:390px;width:90%;margin:auto;padding:0 0 25px;border-right:0;border-bottom:2px solid #9ab0cc}.hero-message h1{font-size:clamp(54px,12vw,83px)}.hero-message .eyebrow{margin-bottom:18px}.hero-bottom-inner{height:58px}}

/* V5: larger, high-contrast white logo in hero only */
@media(min-width:1051px){.hero-brand-layout{grid-template-columns:minmax(380px,44%) minmax(0,1fr);gap:clamp(24px,3vw,48px)}.hero-logo-panel{padding:15px 24px 15px 0;min-height:350px}.hero-message h1{font-size:clamp(62px,6.5vw,102px)}.hero-inner{padding-top:125px}}
.hero-logo-panel img{width:100%;max-width:none;filter:drop-shadow(0 8px 20px rgba(0,0,0,.35))}
@media(min-width:701px) and (max-width:1050px){.hero-brand-layout{grid-template-columns:minmax(270px,39%) minmax(0,1fr)}.hero-logo-panel{padding-right:20px}}
@media(max-width:700px){.hero-logo-panel{max-width:480px;width:100%}}

/* Version 7: clear service pathways */
.support-section{background:#f0f4f8}.support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.support-panel{background:#fff;border:1px solid #dbe3ec;padding:34px;display:flex;flex-direction:column;min-height:320px}.support-panel h3{font-size:clamp(1.3rem,2vw,1.9rem);line-height:1.18;margin:18px 0}.support-panel p{line-height:1.7;flex:1;color:#45556a}.support-panel .text-link{color:#123e72;font-weight:700;text-decoration:none;margin-top:20px}.support-kicker{font-size:.7rem;font-weight:800;letter-spacing:.13em;color:#386aa0}.domestic-panel{background:#e4edf6}@media(max-width:900px){.support-grid{grid-template-columns:1fr}.support-panel{min-height:unset}}

/* Version 8: About QMES editorial layout */
.about-upgraded{padding:110px 0;background:#08234c}.about-heading{display:grid;grid-template-columns:1.25fr 0.75fr;align-items:end;gap:70px;margin-bottom:50px}.about-heading h2{font-size:clamp(52px,6vw,86px)}.about-lead{font-size:18px;line-height:1.8;color:#d5e2ef;margin:0 0 8px}.about-body{display:grid;grid-template-columns:0.95fr 1.05fr;gap:65px;align-items:stretch}.about-photo{position:relative;min-height:560px;overflow:hidden;background:#16395f}.about-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.about-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#061a37a8,transparent 45%)}.about-photo>span{position:absolute;bottom:24px;left:26px;z-index:1;font-size:10px;letter-spacing:2px;font-weight:700}.about-detail{padding:8px 0}.about-detail h3{font-size:clamp(31px,3vw,45px);line-height:1.05;margin:0 0 24px}.about-detail>p{font-size:15px;line-height:1.85;color:#c8d7e5;margin:0 0 16px}.about-values{margin:32px 0}.about-values>div{display:flex;gap:23px;padding:15px 0;border-top:1px solid #ffffff33}.about-values>div:last-child{border-bottom:1px solid #ffffff33}.about-values strong{color:#a7c8ec;font-size:13px}.about-values span{display:grid;gap:4px}.about-values b{font-size:15px}.about-values small{color:#b6cada;font-size:13px;line-height:1.5}.about-cta{background:#fff;color:#09244b}.about-cta:hover{background:#e8f1fc}@media(max-width:900px){.about-heading,.about-body{grid-template-columns:1fr;gap:28px}.about-photo{min-height:360px}.about-upgraded{padding:75px 0}.about-lead{max-width:650px}}

/* Why QMES — v9 */
.why-qmes{background:#f0f4f8}.why-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:34px}.why-card{background:#fff;padding:36px 30px;border-top:4px solid #245b92;box-shadow:0 14px 40px rgba(9,30,57,.06)}.why-number{font-size:12px;letter-spacing:.14em;color:#386995;font-weight:700}.why-card h3{font-size:clamp(21px,2vw,28px);line-height:1.18;margin:23px 0 15px;color:#102e4d}.why-card p{color:#536273;line-height:1.75}.why-bottom{display:flex;justify-content:space-between;align-items:center;gap:28px;border-top:1px solid #cdd8e2;margin-top:35px;padding-top:27px}.why-bottom p{max-width:710px;line-height:1.7;color:#354b62}.why-bottom strong{color:#112e4e}@media(max-width:800px){.why-grid{grid-template-columns:1fr}.why-bottom{flex-direction:column;align-items:flex-start}}

/* Version 10: customer-focused sectors, without unverified client claims */
.clients-section{background:#fff}.clients-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:32px}.clients-grid article{padding:36px;background:#f1f5f9;border-left:4px solid #204f84}.clients-grid article>span{font-size:11px;font-weight:800;letter-spacing:.13em;color:#386995}.clients-grid h3{color:#0b2a4e;font-size:clamp(23px,2.5vw,32px);line-height:1.16;margin:18px 0}.clients-grid p{color:#4c5c70;line-height:1.8;max-width:510px}.clients-action{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:30px;padding-top:24px;border-top:1px solid #d5e0eb}.clients-action p{color:#314961;font-weight:600}@media(max-width:720px){.clients-grid{grid-template-columns:1fr}.clients-grid article{padding:26px}.clients-action{align-items:flex-start;flex-direction:column}}

/* QMES credentials — version 11 */
.credentials{margin:28px 0 30px;padding:22px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.065);border-radius:12px}.credentials-heading p{margin:7px 0 16px;color:#e6edf7}.credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.credential{padding:15px 13px;background:rgba(255,255,255,.09);border-radius:8px;display:flex;flex-direction:column;gap:7px}.credential strong{font-size:clamp(20px,2.2vw,30px);color:white;line-height:1.1}.credential span{font-size:13px;line-height:1.4;color:#dbe5f2}.credential-note{display:block;margin-top:12px;color:#d2ddeb;line-height:1.5}@media(max-width:550px){.credential-grid{grid-template-columns:1fr}}

/* QMES enquiry contact details */
.contact-footnote {line-height:1.95} .contact-footnote a {color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:4px} .contact-footnote small {display:block;opacity:.72;margin-top:10px;font-size:12px}.consent-label{display:flex!important;align-items:flex-start;gap:12px;font-size:13px;line-height:1.5}.consent-label input{width:18px!important;height:18px!important;flex:none;margin-top:2px}.footer-bottom a{color:inherit}

/* Version 13: form, legal pages and keyboard accessibility */
.bot-field{position:absolute;left:-9999px;opacity:0;height:1px;overflow:hidden}
.consent-label a{color:#174c84;text-decoration:underline}
.legal-page{padding-top:165px;padding-bottom:90px;max-width:850px}
.legal-page h1{font-size:clamp(44px,7vw,78px);color:#08234c;line-height:1.1}
.legal-page h2{color:#08234c;font-size:25px;margin-top:32px}
.legal-page p{color:#35485e;line-height:1.8}
.legal-page .legal-note{background:#e8eef6;padding:20px;border-left:4px solid #315e96}
.thanks-page{min-height:100vh;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px;max-width:750px;padding:50px 28px;margin:auto}
.thanks-page img{width:min(300px,75vw)}.thanks-page h1{font-size:clamp(38px,6vw,68px);color:#08234c;line-height:1.08}.thanks-page p{line-height:1.7;color:#43566a}
:focus-visible{outline:3px solid #7bb7ef;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* QMES portfolio pages */
.portfolio-featured,.portfolio-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.portfolio-card{display:flex;flex-direction:column;background:#fff;border:1px solid #dce4eb;box-shadow:0 12px 35px #0b25320b;overflow:hidden;transition:transform .2s,box-shadow .2s}.portfolio-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px #0b25321e}.portfolio-card img{height:245px;width:100%;object-fit:cover}.portfolio-card-content{padding:25px;flex:1;display:flex;flex-direction:column}.portfolio-card-content>span,.portfolio-kicker{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#426a92;text-transform:uppercase}.portfolio-card h3{font-size:31px;line-height:1.04;margin:13px 0 24px}.portfolio-card p{margin:auto 0 0;font-weight:800;font-size:13px;color:#153a59}.portfolio-actions{display:flex;justify-content:center;margin-top:35px}.portfolio-all{width:auto!important;min-width:235px}.portfolio-hero{background:#102c46;color:white;padding:85px 0 75px}.portfolio-hero h1{font:800 clamp(50px,7vw,92px)/.96 'Barlow Condensed',Impact,sans-serif;margin:0 0 20px}.portfolio-hero p{color:#d6e3ee;line-height:1.8;max-width:720px}.portfolio-back{display:inline-block;margin-bottom:30px;color:#b9d2ed;font-weight:800;font-size:13px}.portfolio-page{background:#f5f7f9}.portfolio-page .portfolio-list{margin-top:20px}.portfolio-detail{background:#fff}.portfolio-detail-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:45px;align-items:start}.portfolio-detail-grid img{width:100%;max-height:550px;object-fit:cover}.portfolio-detail-copy h2{font-size:42px;margin:0 0 16px}.portfolio-detail-copy p{line-height:1.85;color:#5c6a76}.portfolio-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:40px}.portfolio-gallery img{width:100%;height:330px;object-fit:cover}.portfolio-disclaimer{font-size:13px;color:#6a7885;line-height:1.7;margin-top:30px}.portfolio-detail .button{width:auto}.portfolio-header-logo{max-width:190px;height:auto}.portfolio-simple-footer{background:#0d202a;color:#dbe5ed;padding:32px 0;font-size:13px}.portfolio-simple-footer .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.portfolio-simple-footer a{color:#fff}.portfolio-list-intro{margin:0 0 30px;color:#64717a;line-height:1.8}@media(max-width:900px){.portfolio-featured,.portfolio-list{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-detail-grid{grid-template-columns:1fr}}@media(max-width:620px){.portfolio-featured,.portfolio-list,.portfolio-gallery{grid-template-columns:1fr}.portfolio-hero{padding:55px 0}.portfolio-gallery img{height:250px}.portfolio-card img{height:220px}}

/* Version 15: full multi-page structure */
.nav-dropdown{position:relative}.dropdown-panel{display:none;position:absolute;top:100%;left:0;min-width:245px;background:#fff;box-shadow:0 12px 30px #001a3d26;padding:10px;border-top:3px solid #aab8ca;z-index:100}.dropdown-panel a{display:block!important;color:#08234c!important;padding:12px!important;white-space:nowrap}.nav-dropdown:hover .dropdown-panel,.nav-dropdown:focus-within .dropdown-panel{display:block}
.subhero{background:#09264b;min-height:340px;position:relative;display:flex;align-items:center;overflow:hidden;color:white}.subhero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.22}.subhero-inner{position:relative;z-index:1;padding-top:65px;padding-bottom:65px}.subhero h1{font-size:clamp(2.8rem,6vw,5.7rem);line-height:1.05;letter-spacing:-.045em;margin:16px 0 22px;color:#fff}.subhero p:not(.eyebrow){font-size:1.15rem;max-width:720px;color:#e0e7ef;line-height:1.65}.split-content{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center}.split-content.reverse .content-copy{order:2}.split-content.reverse .content-image{order:1}.content-copy h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.14;margin:0 0 25px;color:#08234c}.content-copy p{line-height:1.85;font-size:1.05rem;margin:0 0 20px;color:#455368}.content-image img{width:100%;height:390px;object-fit:cover;display:block}.pale-section{background:#f1f4f8}.info-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.info-cards article{background:white;padding:32px;border-top:3px solid #8b9cb2;min-height:205px}.info-cards article span,.directory-item span{color:#71829a;font-size:.75rem;letter-spacing:.13em}.info-cards h3{color:#09264b;font-size:1.35rem;margin:18px 0 12px}.info-cards p{color:#556377;line-height:1.7}.page-cta{background:#08234c;color:white;padding:68px 0}.page-cta .wrap{display:flex;justify-content:space-between;align-items:center;gap:40px}.page-cta h2{color:white;font-size:clamp(1.8rem,3.5vw,3rem);margin:10px 0}.page-cta p{color:#d6e0eb}.directory-item{display:grid;grid-template-columns:38% 1fr;gap:35px;align-items:center;text-decoration:none;color:inherit;border-bottom:1px solid #d9e1eb;padding:24px 0}.directory-item img{width:100%;height:230px;object-fit:cover}.directory-item h2{font-size:2rem;color:#08234c;margin:8px 0}.directory-item p{color:#536277;line-height:1.65}.directory-item strong{color:#09264b}.home-intro{background:#f7f9fc}
@media(max-width:900px){.split-content,.directory-item{grid-template-columns:1fr}.info-cards{grid-template-columns:repeat(2,1fr)}.page-cta .wrap{align-items:flex-start;flex-direction:column}.split-content.reverse .content-copy,.split-content.reverse .content-image{order:initial}.nav-dropdown .dropdown-panel{position:static;box-shadow:none;border:0;background:transparent;padding:0 0 0 16px;display:block}.nav-dropdown .dropdown-panel a{padding:8px!important;color:inherit!important}}
@media(max-width:600px){.info-cards{grid-template-columns:1fr}.subhero{min-height:290px}.content-image img{height:270px}.directory-item img{height:205px}}

/* Version 16: deeper service content and corporate presentation */
.depth-section{background:#fff}.depth-intro{display:grid;grid-template-columns:1.05fr 1fr;gap:65px;align-items:end;margin-bottom:36px}.depth-intro h2,.home-proof h2{font:800 clamp(37px,4.4vw,62px)/1.04 'Barlow Condensed',Impact,sans-serif;color:#09264b;margin:8px 0}.depth-intro p,.home-proof p{color:#526171;line-height:1.8;font-size:16px;max-width:590px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#dce4eb;border:1px solid #dce4eb}.detail-tile{background:#f9fbfd;padding:34px 30px;min-height:225px}.detail-tile>span{font-size:12px;letter-spacing:.16em;color:#8b9cae;font-weight:800}.detail-tile h3{font:800 27px/1.05 'Barlow Condensed',Impact,sans-serif;color:#09264b;margin:18px 0 13px}.detail-tile p{line-height:1.75;color:#526171;font-size:14px;margin:0}.text-link{display:inline-block;margin-top:18px;color:#0c426c;font-weight:800;border-bottom:2px solid #f47c34;padding-bottom:7px}.proof-layout{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.proof-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.proof-stats>div{background:#f1f5f8;padding:28px 18px;min-height:145px}.proof-stats strong{display:block;font:800 35px/1 'Barlow Condensed',Impact,sans-serif;color:#09264b;margin-bottom:15px}.proof-stats span{font-size:12px;line-height:1.5;color:#506173}.home-proof{background:white}.nav-dropdown:focus-within .dropdown-panel{display:block}@media(max-width:900px){.depth-intro,.proof-layout{grid-template-columns:1fr;gap:20px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.detail-grid,.proof-stats{grid-template-columns:1fr}.detail-tile{min-height:unset}.depth-intro h2{font-size:40px}}

/* Version 17 — sector-led maintenance positioning */
.sector-focus{background:#f0f4f8}.sector-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:30px}.sector-grid article{background:#fff;padding:30px 25px;border-top:4px solid #265b89;min-height:240px}.sector-grid article>span{font-size:11px;font-weight:800;letter-spacing:.12em;color:#54718f}.sector-grid h3{font:800 29px/1.1 'Barlow Condensed',Impact,sans-serif;color:#09264b;margin:20px 0 14px}.sector-grid p{font-size:14px;line-height:1.75;color:#536273}.sector-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px}.sector-bottom p{font-weight:700;color:#233f5c}.sector-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.contract-feature{background:#fff}.contract-lead{background:#f7f9fb}@media(max-width:1050px){.sector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.sector-grid,.sector-page-grid{grid-template-columns:1fr}.sector-bottom{align-items:flex-start;flex-direction:column}.sector-grid article{min-height:0}}

/* Commercial brand experience — typographic wordmarks, not official brand assets */
.brand-experience{background:#f4f7fa}.brand-name-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:34px 0 14px}.brand-name{background:#fff;border:1px solid #dbe3eb;min-height:104px;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;font-size:clamp(21px,2.4vw,32px);font-weight:750;letter-spacing:-.04em;color:#122b4d}.brand-name small{font-size:12px;margin-left:5px;letter-spacing:0;font-weight:500}.brand-clarifier{font-size:12px;line-height:1.7;color:#52657a;max-width:930px;margin:0 0 32px}.brand-sector-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:28px 0}.brand-sector-copy h3{margin-bottom:10px}.brand-sector-copy p{line-height:1.75}@media(max-width:760px){.brand-name-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-name{min-height:80px;padding:12px;font-size:21px}.brand-sector-copy{grid-template-columns:1fr;gap:12px}}

/* Version 19: preventative maintenance emphasis */
.pmm-home{background:#f3f6fa}.pmm-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:32px}.pmm-benefits article{background:#fff;border:1px solid #dce5ef;padding:26px 22px;box-shadow:0 8px 24px rgba(8,35,76,.04)}.pmm-benefits article>span{font-size:11px;font-weight:750;letter-spacing:.12em;color:#54728e}.pmm-benefits h3{font-size:21px;line-height:1.24;color:#0b2a50;margin:16px 0 12px}.pmm-benefits p{font-size:15px;line-height:1.65;color:#46596d;margin:0}.pmm-home-foot{display:flex;align-items:center;justify-content:space-between;gap:35px;margin-top:30px}.pmm-home-foot p{max-width:730px;line-height:1.7}.pmm-home-foot .button{flex-shrink:0}.pmm-benefits-six{grid-template-columns:repeat(3,minmax(0,1fr))}.pmm-process{background:#09264c;color:#fff}.pmm-process .eyebrow,.pmm-process .head-copy{color:#b8cce2}.pmm-process h2,.pmm-process h2 .muted{color:#fff}.pmm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}.pmm-steps article{border-top:1px solid #5c7797;padding:20px 10px 12px 0}.pmm-steps article>span{color:#8cbce4;font-size:14px;font-weight:700}.pmm-steps h3{font-size:21px;margin:16px 0 8px;color:#fff}.pmm-steps p{color:#d4e0ed;line-height:1.65}.pmm-small{font-size:12px;opacity:.8}.pmm-sector{background:#f3f6fa}.pmm-sector p:not(.eyebrow){max-width:900px;line-height:1.75}.pmm-sector .button{margin-top:16px}@media(max-width:900px){.pmm-benefits,.pmm-benefits-six,.pmm-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.pmm-home-foot{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.pmm-benefits,.pmm-benefits-six,.pmm-steps{grid-template-columns:1fr}.pmm-benefits article{padding:22px}}

/* Version 20: intentionally concise homepage; full detail lives on dedicated pages */
body:has(.home-intro) .hero{height:min(690px,calc(100svh - 104px));min-height:560px}
body:has(.home-intro) .hero-inner{padding-top:112px}
body:has(.home-intro) .section{padding-top:76px;padding-bottom:76px}
body:has(.home-intro) .services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body:has(.home-intro) .service-card{min-width:0}
body:has(.home-intro) .brand-experience{background:#f3f6fa}
body:has(.home-intro) .brand-name-grid{margin-top:28px}
body:has(.home-intro) .brand-clarifier{font-size:12px;line-height:1.6;margin-top:16px}
body:has(.home-intro) .home-intro .content-image img{max-height:340px;object-fit:cover}
body:has(.home-intro) .portfolio-featured{margin-top:24px}
@media(max-width:1100px){body:has(.home-intro) .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body:has(.home-intro) .hero{height:690px;min-height:0}body:has(.home-intro) .hero-inner{padding-top:120px}body:has(.home-intro) .section{padding-top:55px;padding-bottom:55px}body:has(.home-intro) .services-grid{grid-template-columns:1fr}}

/* V26 — restrained premium motion */
@keyframes qmesHeroRise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@keyframes qmesHeroImage{from{transform:scale(1.065)}to{transform:scale(1)}}
@media(prefers-reduced-motion:no-preference){
 .hero-image{animation:qmesHeroImage 2.8s ease-out both}
 .hero-logo-panel{animation:qmesHeroRise .85s .12s both}
 .hero-message .eyebrow{animation:qmesHeroRise .7s .28s both}
 .hero-message h1{animation:qmesHeroRise .85s .40s both}
 .hero-message .hero-intro{animation:qmesHeroRise .8s .57s both}
 .hero-message .hero-actions{animation:qmesHeroRise .8s .73s both}
 .qmes-reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
 .qmes-reveal.qmes-visible{opacity:1;transform:none}
 .service-card,.portfolio-card,.info-cards article{transition:transform .3s ease,box-shadow .3s ease,background .3s ease}
 .service-card:hover,.info-cards article:hover{transform:translateY(-4px);box-shadow:0 16px 32px #09264b12;z-index:1}
 .portfolio-card img{transition:transform .55s ease}
 .portfolio-card:hover img{transform:scale(1.045)}
 .site-header{transition:box-shadow .3s ease,background-color .3s ease}
}
.site-header.qmes-scrolled{box-shadow:0 9px 32px #08234c27}
.portfolio-card:focus-visible,.service-card a:focus-visible,.qmes-lightbox-close:focus-visible,.qmes-lightbox-nav:focus-visible{outline:3px solid #75a7e5;outline-offset:3px}
.portfolio-gallery img{cursor:zoom-in}
.portfolio-gallery img:focus-visible{outline:4px solid #31649c;outline-offset:3px}
.qmes-lightbox[hidden]{display:none}
.qmes-lightbox{position:fixed;inset:0;z-index:1000;background:#06172bf2;display:flex;align-items:center;justify-content:center;padding:72px 70px 55px}
.qmes-lightbox-figure{margin:0;max-width:min(1100px,100%);max-height:100%;display:flex;flex-direction:column;align-items:center;gap:14px}
.qmes-lightbox-figure img{max-width:100%;max-height:calc(100vh - 170px);object-fit:contain}
.qmes-lightbox-figure figcaption{color:#e1ebf6;font-size:13px;text-align:center}
.qmes-lightbox-close,.qmes-lightbox-nav{position:absolute;background:#ffffff1e;color:#fff;border:1px solid #ffffff55;min-width:46px;min-height:46px;font-size:25px;display:grid;place-items:center}
.qmes-lightbox-close{right:22px;top:20px}.qmes-lightbox-prev{left:15px;top:50%}.qmes-lightbox-next{right:15px;top:50%}
@media(max-width:650px){.qmes-lightbox{padding:75px 14px 80px}.qmes-lightbox-prev,.qmes-lightbox-next{top:auto;bottom:18px}.qmes-lightbox-prev{left:calc(50% - 64px)}.qmes-lightbox-next{right:calc(50% - 64px)}.qmes-lightbox-figure img{max-height:calc(100vh - 210px)}}
@media(prefers-reduced-motion:reduce){.qmes-reveal{opacity:1!important;transform:none!important}}

/* Version 28 — About QMES expertise editorial */
.about-hero .subhero-photo{opacity:.32;object-position:center 52%}.about-hero .subhero-inner{max-width:1150px}.about-hero h1{max-width:890px}.about-section-lead{max-width:790px;color:#526171;line-height:1.8;margin-bottom:35px}.about-feature{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:white;margin:24px 0;border:1px solid #dce4eb;overflow:hidden}.about-feature.reverse .about-feature-photo{order:2}.about-feature-photo{min-height:380px;overflow:hidden}.about-feature-photo img{width:100%;height:100%;object-fit:cover;display:block;max-height:620px}.about-feature-copy{padding:clamp(25px,4vw,54px);align-self:center}.about-index{font-size:11px;font-weight:800;letter-spacing:.13em;color:#527398}.about-feature h3{font:800 clamp(30px,3.5vw,46px)/1.06 'Barlow Condensed',Impact,sans-serif;color:#09264b;margin:15px 0}.about-feature p{line-height:1.75;color:#526171}.about-feature ul{margin:20px 0 8px;padding-left:20px;color:#27415b;line-height:1.85}.about-feature li::marker{color:#4e81ad}.about-diagnostics{background:#09264b;color:#fff}.about-diagnostics-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(25px,5vw,70px);align-items:center}.about-diagnostics-image img{width:100%;max-height:570px;object-fit:cover;display:block}.about-diagnostics h2{font:800 clamp(38px,4.5vw,62px)/1.05 'Barlow Condensed',Impact,sans-serif;color:#fff}.about-diagnostics p:not(.eyebrow){color:#d6e3f0;line-height:1.8}.about-diagnostics .button{margin-top:16px}@media(max-width:760px){.about-feature,.about-diagnostics-grid{grid-template-columns:1fr}.about-feature.reverse .about-feature-photo{order:0}.about-feature-photo{min-height:0;height:290px}.about-feature-copy{padding:26px}.about-diagnostics-image img{max-height:330px}.about-hero .subhero-inner{padding-bottom:45px}}


/* QMES social links */
.qmes-social{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.qmes-social a{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid rgba(150,169,194,.5);border-radius:50%;color:inherit;text-decoration:none;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.qmes-social a:hover,.qmes-social a:focus-visible{transform:translateY(-2px);background:#d8e4f3;color:#08234c;border-color:#d8e4f3}
.qmes-social svg{width:20px;height:20px}
.qmes-follow-section{padding:55px 0;background:#edf2f8;color:#08234c}
.qmes-follow-section h2{margin:0 0 10px}
.qmes-follow-section p{max-width:650px}
.qmes-follow-section .qmes-social{margin-top:20px}
@media(max-width:680px){footer .footer-top{flex-wrap:wrap;gap:18px}.qmes-social a{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.qmes-social a{transition:none}}

/* QMES v30: prominent official-colour social logos in the top navigation */
.qmes-header-social{display:flex;align-items:center;gap:9px;flex:0 0 auto;margin-left:3px}
.qmes-header-social a{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:11px;transition:transform .18s ease,box-shadow .18s ease}
.qmes-header-social a:hover,.qmes-header-social a:focus-visible{transform:translateY(-2px);box-shadow:0 4px 12px #0b285033;outline-offset:3px}
.qmes-header-social img{width:31px;height:31px;display:block}
@media(min-width:901px){.site-header .nav{gap:14px}.site-header .nav-links{gap:clamp(9px,1.4vw,22px)}.site-header .official-logo{width:clamp(175px,19vw,255px)}}
@media(max-width:900px){.qmes-header-social{margin-left:auto;margin-right:8px;gap:7px}.qmes-header-social a{width:37px;height:37px}.qmes-header-social img{width:30px;height:30px}.site-header .menu-toggle{order:3}}
@media(max-width:620px){.site-header .nav{gap:5px}.site-header .official-logo{width:clamp(135px,39vw,205px)}.qmes-header-social{gap:3px;margin-right:1px}.qmes-header-social a{width:32px;height:36px}.qmes-header-social img{width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){.qmes-header-social a{transition:none}}


/* V31 — consistent, refined motion on every page */
@keyframes qmesPageTitleIn{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
@keyframes qmesPagePhotoIn{from{opacity:.6;transform:scale(1.055)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:no-preference){
 .qmes-page-hero{overflow:hidden}
 .qmes-page-hero .subhero-photo{animation:qmesPagePhotoIn 2.1s cubic-bezier(.2,.7,.2,1) both}
 .qmes-page-hero .subhero-inner > *{animation:qmesPageTitleIn .78s cubic-bezier(.2,.7,.2,1) both}
 .qmes-page-hero .subhero-inner > :nth-child(1){animation-delay:.08s}
 .qmes-page-hero .subhero-inner > :nth-child(2){animation-delay:.22s}
 .qmes-page-hero .subhero-inner > :nth-child(3){animation-delay:.38s}
 .qmes-page-hero .subhero-inner > :nth-child(n+4){animation-delay:.5s}
 .qmes-v31-reveal{opacity:0;transform:translateY(25px);transition:opacity .72s ease,transform .72s cubic-bezier(.2,.7,.2,1);transition-delay:var(--qmes-delay,0ms)}
 .qmes-v31-reveal.qmes-v31-visible{opacity:1;transform:none}
 .about-feature-photo img,.directory-item img,.content-image img{transition:transform .8s cubic-bezier(.2,.7,.2,1)}
 .about-feature:hover .about-feature-photo img,.directory-item:hover img,.content-image:hover img{transform:scale(1.035)}
 .detail-tile,.pmm-benefits article,.brand-name,.directory-item{transition:transform .3s ease,box-shadow .3s ease}
 .detail-tile:hover,.pmm-benefits article:hover,.brand-name:hover,.directory-item:hover{transform:translateY(-4px);box-shadow:0 15px 34px rgba(8,35,76,.11)}
 .button{transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease}
 .button:hover{transform:translateY(-2px)}
}
@media(prefers-reduced-motion:reduce){.qmes-v31-reveal{opacity:1!important;transform:none!important}}
