/* ES Facades – website styles (self-contained: fonts and images are served from this site only) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }

:root {
  --navy: #1C2E4A; --deep: #14223A; --blue: #4E7BB8; --sky: #8FB0DD; --pale: #C9D6EA;
  --char: #1F2328; --grey: #5F6670; --soft: #8A9099; --rule: #DADEE3; --mist: #F3F5F7; --white: #fff;
  --wrap: 1200px; --r: 2px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: "Poppins", Arial, sans-serif; color: var(--char); background: var(--white); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(20, 34, 58, .97); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.top .logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #E3E9F2; text-decoration: none; font-size: 14px; letter-spacing: .02em; }
.nav a:hover { color: var(--white); }
.nav a.cta { background: var(--blue); color: var(--white); padding: 9px 18px; border-radius: var(--r); font-weight: 500; }
.nav a.cta:hover { background: #3F6AA3; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); font: inherit; font-size: 14px; padding: 7px 12px; border-radius: var(--r); align-items: center; gap: 8px; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }

/* hero */
.hero { position: relative; min-height: 620px; height: 92vh; max-height: 900px; color: var(--white); overflow: hidden; background: var(--deep); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; animation: fade 28s infinite; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide:nth-child(1) { opacity: 1; animation-name: fadefirst; animation-delay: 0s; } .slide:nth-child(2) { animation-delay: 7s; }
@keyframes fadefirst { 0% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 96% { opacity: 0; } 100% { opacity: 1; } }
.slide:nth-child(3) { animation-delay: 14s; } .slide:nth-child(4) { animation-delay: 21s; }
@keyframes fade { 0% { opacity: 0; transform: scale(1.04); } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.slide .cap { position: absolute; right: 24px; bottom: 150px; font-size: 12px; color: rgba(255,255,255,.75); letter-spacing: .04em; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,34,58,.86) 0%, rgba(20,34,58,.6) 40%, rgba(20,34,58,.08) 76%), linear-gradient(180deg, rgba(20,34,58,.25) 0%, rgba(20,34,58,0) 20%, rgba(20,34,58,0) 62%, rgba(20,34,58,.82) 100%); pointer-events: none; }
.hero .inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 120px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--blue); }
.hero .kicker { color: var(--sky); }
.hero h1 { font-size: clamp(34px, 4.3vw, 56px); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; max-width: 19ch; margin-top: 14px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero h1 b { font-weight: 500; }
.hero p.sub { font-size: clamp(16px, 1.5vw, 19px); font-weight: 300; color: #E6ECF4; max-width: 54ch; margin-top: 20px; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-block; text-decoration: none; font-weight: 500; font-size: 15px; padding: 13px 24px; border-radius: var(--r); border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-blue { background: var(--blue); color: var(--white); } .btn-blue:hover { background: #3F6AA3; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); } .btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--navy); color: var(--white); } .btn-dark:hover { background: var(--deep); }
.stats { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid rgba(255,255,255,.18); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 24px 26px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.stat .n { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; letter-spacing: -.01em; line-height: 1.1; }
.stat .l { font-size: 13px; color: var(--pale); margin-top: 4px; }

/* trust strip */
.trust { background: var(--mist); border-bottom: 1px solid var(--rule); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding-top: 18px; padding-bottom: 18px; }
.trust .acc { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: var(--navy); font-size: 14px; letter-spacing: .02em; }
.trust .acc span::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--blue); margin-right: 9px; vertical-align: 1px; }
.trust .who { font-size: 13.5px; color: var(--grey); max-width: 62ch; }

/* sections */
.sec { padding: 96px 0; }
.sec.alt { background: var(--mist); }
.sec.dark { background: var(--navy); color: var(--white); }
.sec h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 400; line-height: 1.15; letter-spacing: -.015em; color: var(--navy); margin-top: 10px; max-width: 22ch; }
.sec.dark h2 { color: var(--white); }
.sec.dark .kicker { color: var(--sky); }
.lead { font-size: 18px; font-weight: 300; color: var(--grey); max-width: 62ch; margin-top: 16px; }
.sec.dark .lead { color: var(--pale); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* services */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid var(--rule); }
.svc > div { padding: 28px 24px 30px 0; border-bottom: 1px solid var(--rule); }
.svc > div:not(:nth-child(4n)) { border-right: 1px solid var(--rule); }
.svc > div:not(:nth-child(4n+1)) { padding-left: 24px; }
.svc .num { font-size: 26px; font-weight: 200; color: var(--blue); line-height: 1; }
.svc h3 { font-size: 17px; font-weight: 500; color: var(--navy); margin-top: 14px; }
.svc p { font-size: 14.5px; color: var(--grey); margin-top: 6px; }
.systems { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.systems .label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-right: 8px; }
.chip { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--navy); border: 1px solid var(--rule); padding: 6px 12px; border-radius: var(--r); background: var(--white); }

/* projects */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.card { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--rule); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20,34,58,.12); }
.card .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph .credit { position: absolute; right: 8px; bottom: 6px; font-size: 10.5px; color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.card .ph.type { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: linear-gradient(140deg, var(--navy), var(--deep)); }
.card .ph.type .big { font-size: 64px; font-weight: 200; color: rgba(143,176,221,.35); line-height: 1; }
.card .ph.type .t { font-size: 13px; color: var(--pale); letter-spacing: .06em; margin-top: 6px; }
.card .txt { padding: 20px 22px 22px; }
.card .meta { font-size: 12.5px; color: var(--soft); letter-spacing: .03em; }
.card h3 { font-size: 19px; font-weight: 500; color: var(--navy); margin-top: 4px; line-height: 1.3; }
.card p { font-size: 14.5px; color: var(--grey); margin-top: 8px; }
.card .for { font-size: 13px; color: var(--char); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
.card .for b { font-weight: 500; color: var(--navy); }
.more { margin-top: 30px; font-size: 14px; color: var(--grey); }

/* remediation */
.rem { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
ul.ticks { list-style: none; margin-top: 8px; }
ul.ticks li { padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15.5px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 2px; background: var(--sky); }
.sec:not(.dark) ul.ticks li { border-bottom-color: var(--rule); }
.sec:not(.dark) ul.ticks li::before { background: var(--blue); }

/* how we work */
.how { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: stretch; margin-top: 48px; }
.steps { counter-reset: s; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.step:first-child { border-top: 1px solid var(--rule); }
.step .n { font-size: 30px; font-weight: 200; color: var(--blue); line-height: 1; grid-row: span 2; }
.step h3 { font-size: 17px; font-weight: 500; color: var(--navy); }
.step p { font-size: 14.5px; color: var(--grey); }
.how figure { position: relative; min-height: 420px; overflow: hidden; }
.how figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
figure .cap2 { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-size: 12.5px; background: linear-gradient(180deg, rgba(20,34,58,0), rgba(20,34,58,.8)); }

/* accreditations */
.acc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.acc-grid div { background: var(--white); border-top: 3px solid var(--navy); padding: 22px; }
.acc-grid h3 { font-size: 17px; font-weight: 500; color: var(--navy); }
.acc-grid p { font-size: 14px; color: var(--grey); margin-top: 6px; }
.note { font-size: 14px; color: var(--grey); margin-top: 22px; }

/* about */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; margin-top: 8px; }
.about p + p { margin-top: 14px; }
.md { background: var(--navy); color: var(--white); padding: 30px; }
.md .badge { width: 64px; height: 64px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.md .badge img { width: 44px; height: auto; }
.md h3 { font-size: 20px; font-weight: 500; margin-top: 18px; }
.md .role { color: var(--sky); font-size: 14px; }
.md p { color: var(--pale); font-size: 14.5px; margin-top: 12px; }
.quals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quals span { font-size: 12.5px; border: 1px solid rgba(255,255,255,.25); padding: 5px 10px; border-radius: var(--r); color: #E3E9F2; }
.onsite { margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--blue); background: var(--mist); font-size: 15px; }
.onsite b { color: var(--navy); font-weight: 600; }

/* careers */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.roles div { border: 1px solid var(--rule); padding: 22px; }
.roles h3 { font-size: 16px; font-weight: 500; color: var(--navy); }
.roles p { font-size: 14px; color: var(--grey); margin-top: 6px; }

/* faq */
.faq { margin-top: 36px; border-top: 1px solid var(--rule); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-size: 17px; font-weight: 500; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 24px; font-weight: 300; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--grey); max-width: 75ch; }

/* contact & form */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.contact .mail { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 18px; font-weight: 500; color: var(--navy); }
.copy-btn { font: inherit; font-size: 12.5px; padding: 5px 10px; border: 1px solid var(--rule); background: var(--white); cursor: pointer; border-radius: var(--r); color: var(--grey); }
.enquiry { background: var(--white); border: 1px solid var(--rule); padding: 30px; }
.enquiry .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 0; }
.enquiry label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--navy); }
.enquiry label small { font-weight: 400; color: var(--soft); font-size: 12.5px; }
.enquiry .full { grid-column: 1 / -1; }
.enquiry input, .enquiry select, .enquiry textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--char); border: 1px solid #C7CDD4; border-radius: var(--r); padding: 11px 12px; background: var(--white); width: 100%; }
.enquiry textarea { min-height: 130px; resize: vertical; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.enquiry .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--grey); }
.enquiry .consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.send { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.msg { font-size: 13.5px; color: var(--grey); }
.msg.ok { color: #1E7B45; }

/* privacy */
.legal { font-size: 14px; color: var(--grey); max-width: 85ch; }
.legal h3 { font-size: 16px; font-weight: 500; color: var(--navy); margin: 22px 0 6px; }
.legal p + p { margin-top: 10px; }

/* footer */
footer { background: var(--deep); color: #C9D2DE; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 64px; padding-bottom: 44px; }
.foot img { height: 40px; width: auto; }
.foot h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sky); font-weight: 600; margin-bottom: 12px; }
.foot ul { list-style: none; }
.foot li { padding: 3px 0; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--white); }
.social { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }
.social svg { width: 18px; height: 18px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 26px; font-size: 12.5px; color: #8E9BB0; }

/* project pages */
.phero { position: relative; height: 62vh; min-height: 420px; max-height: 640px; background: var(--deep); color: #fff; overflow: hidden; }
.phero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,34,58,.35) 0%, rgba(20,34,58,.05) 40%, rgba(20,34,58,.85) 100%); }
.phero.type::after { background: linear-gradient(140deg, var(--navy), var(--deep)); }
.phero .inner { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; }
.phero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; margin-top: 10px; }
.phero .where { color: var(--pale); font-size: 17px; font-weight: 300; margin-top: 6px; }
.phero .credit { position: absolute; right: 24px; top: 16px; z-index: 2; font-size: 12px; color: rgba(255,255,255,.8); }
.crumb { font-size: 13px; color: var(--pale); }
.crumb a { text-decoration: none; }
.pbody { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; padding-top: 72px; padding-bottom: 72px; }
.pbody .txt p { font-size: 17px; color: var(--char); }
.pbody .txt p + p { margin-top: 16px; }
.pbody h2 { font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); margin: 34px 0 10px; }
.pbody h2:first-child { margin-top: 0; }
.facts { background: var(--mist); padding: 28px; align-self: start; }
.facts > div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts > div:last-child { border-bottom: 0; }
.facts .k { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.facts .v { font-size: 16px; font-weight: 500; color: var(--navy); margin-top: 2px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 72px; }
.gallery figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.pnav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--rule); padding-top: 28px; padding-bottom: 80px; }
.pnav a { text-decoration: none; color: var(--navy); font-weight: 500; }
.pnav span { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); font-weight: 600; }
.ctaband { background: var(--navy); color: #fff; padding: 64px 0; }
.ctaband .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ctaband h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; }

/* simple pages */
.simple { padding: 120px 0; min-height: 60vh; }
.simple h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 400; color: var(--navy); margin-top: 10px; }

/* responsive */
@media (max-width: 1080px) {
  .svc { grid-template-columns: repeat(2, 1fr); }
  .svc > div { border-right: 0 !important; padding-left: 0 !important; }
  .svc > div:nth-child(odd) { border-right: 1px solid var(--rule) !important; padding-right: 24px; }
  .svc > div:nth-child(even) { padding-left: 24px !important; }
  .grid, .roles, .acc-grid { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--deep); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .nav a.cta { margin-top: 12px; text-align: center; }
  .rem, .how, .about, .contact, .pbody { grid-template-columns: 1fr; gap: 40px; }
  .how figure { min-height: 320px; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-top: 14px; padding-bottom: 16px; }
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero .inner { padding-top: 64px; padding-bottom: 36px; height: auto; }
  .hero::after { background: linear-gradient(180deg, rgba(20,34,58,.70) 0%, rgba(20,34,58,.78) 60%, rgba(20,34,58,.92) 100%); }
  .stats { position: relative; }
  .slide .cap { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sec { padding: 68px 0; }
  .grid, .roles, .acc-grid, .svc, .foot { grid-template-columns: 1fr; }
  .svc > div { border-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  .enquiry { padding: 20px; }
  .enquiry .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .trust .wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { animation: none; }
  .slide:first-child { opacity: 1; }
  .card { transition: none; }
}
