@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #eff4f7;
  --paper: #ffffff;
  --ink: #132d3d;
  --muted: #495e6d;
  --brand-blue: #3975a8;
  --brand-blue-hover: #245d88;
  --silver: #c9d2da;
  --dark: #102936;
  --brand-green: #73af54;
  --brand-green-light: #bce3a7;
  --line: #d7e4ed;
  --display: "Instrument Sans", Inter, sans-serif;
  --body: Inter, sans-serif;
  --edge: clamp(12px, 1.65vw, 28px);
  --gutter: clamp(24px, 4.3vw, 78px);
  --shell: min(calc(100% - var(--edge) * 2), 1780px);
  --radius: clamp(19px, 2vw, 32px);
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 400 15px/1.65 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #3975a8; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
section[id] { scroll-margin-top: calc(var(--header-height) + 14px); }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1450px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 15px; border-radius: 8px; color: var(--ink); background: var(--brand-green); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  width: var(--shell);
  margin: var(--edge) auto calc(-1 * var(--header-height));
  border-radius: var(--radius) var(--radius) 0 0;
  color: #f8fcff;
  transition: background .25s, border-radius .25s;
}
.site-header.is-scrolled { border-radius: 0 0 17px 17px; background: #102936f5; box-shadow: 0 4px 28px #10293626; backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; width: max-content; gap: 8px; line-height: 1; }
.brand img { object-fit: contain; flex: none; filter: saturate(0) brightness(1.22); }
.brand strong { display: block; font: 650 23px/.95 var(--display); letter-spacing: -.035em; }
.brand-accent { color: var(--brand-green-light); }
.brand small { display: block; margin-top: 6px; color: var(--silver); font-size: 7px; font-weight: 600; letter-spacing: .095em; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.55vw, 40px); }
.main-nav a { position: relative; padding-block: 9px; color: #ebf4fb; font-size: .875rem; font-weight: 500; line-height: 1.45; transition: color .2s; }
.main-nav a:hover, .main-nav a[aria-current] { color: #bce3a7; }
.main-nav a[aria-current]::after { position: absolute; bottom: 3px; left: 0; right: 0; height: 1px; background: #bce3a7; content: ""; }
.main-nav .nav-contact, .menu-toggle { display: none; }
.projects-menu { position: relative; }
.projects-menu summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 9px;
  color: #ebf4fb;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.projects-menu summary::-webkit-details-marker { display: none; }
.projects-menu summary::after {
  width: 6px;
  height: 6px;
  margin-bottom: 3px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
  content: "";
}
.projects-menu[open] summary::after { margin-bottom: -3px; transform: rotate(225deg); }
.projects-menu summary:hover, .projects-menu.is-active summary, .projects-menu[open] summary { color: var(--brand-green-light); }
.projects-menu.is-active summary::before {
  position: absolute;
  inset: auto 0 3px;
  height: 1px;
  background: currentColor;
  content: "";
}
.projects-menu-links {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: max-content;
  padding: 5px;
  border: 1px solid #a9c1d34d;
  border-radius: 12px;
  background: var(--dark);
  box-shadow: 0 9px 25px #0b22334d;
}
.projects-menu-links a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 7px;
}
.projects-menu-links a:hover, .projects-menu-links a[aria-current] { background: #ecf7ff12; }
.main-nav .projects-menu-links a[aria-current]::after { display: none; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 17px; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 650; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button span, .text-link span { font-size: 16px; line-height: 1; }
.button-primary { color: #ffffff; background: var(--brand-blue); }
.button-primary:hover { background: var(--brand-blue-hover); }
.button-light { color: var(--ink); background: #f3f8fc; }
.button-light:hover { background: var(--brand-green-light); }
.button-outlined { color: #f8fcff; border-color: #e7f5ffa3; background: #10293650; }
.button-outlined:hover { border-color: #f8fcff; background: #10293690; }
.button-small { min-height: 39px; padding-inline: 16px; font-size: 12px; }

.hero {
  position: relative;
  isolation: isolate;
  width: var(--shell);
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius);
  color: #f8fcff;
  background: #183e51;
}
.hero-media { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  opacity: 0;
  filter: saturate(.87);
  scale: 1.025;
  transform: translate(var(--pan-x, 0px), var(--pan-y, 0px));
  transition: opacity .72s ease, transform .38s cubic-bezier(.2,.7,.35,1);
}
.hero-scene.is-current { opacity: 1; }
.hero-scene[data-hero-image="electrical"] { object-position: 64% 52%; }
.hero-scene[data-hero-image="fire"] { object-position: 64% 66%; }
.hero-scene[data-hero-image="hvac"] { object-position: 64% center; }
.hero-scene[data-hero-image="hvac"].is-current { animation: hero-image 1.65s cubic-bezier(.24,.65,.3,1) both; }
.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #0c202ea8, transparent 23%, transparent 59%, #102b3dcf 100%),
    linear-gradient(90deg, #0a2031ef, #112f44bc 38%, #102e470a 79%);
  content: "";
}
.hero-inner {
  display: flex;
  flex-direction: column;
  min-height: clamp(550px, 88svh, 960px);
  padding-block: clamp(108px, 15svh, 168px) 54px;
}
.hero-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 24px; margin-block: auto; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; line-height: 1.45; letter-spacing: .13em; }
.indicator { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #5d9940; }
.eyebrow-divider { width: 18px; height: 1px; background: #b7d2e282; }
.hero .eyebrow { color: #dfedf6; }
.hero .indicator, .contact .indicator { background: var(--brand-green); }
.hero h1 { margin: 14px 0 18px; font-size: clamp(63px, 7.1vw, 111px); font-weight: 500; line-height: .92; letter-spacing: -.052em; word-spacing: .035em; }
.hero h1 span { display: block; transform: translateY(12px); animation: enter .75s cubic-bezier(.2,.65,.3,1) both; }
.hero h1 span:first-child { animation-delay: .06s; }
.hero h1 span:last-child { animation-delay: .17s; }
.hero h1 em { color: #bce3a7; font-style: normal; }
.hero-summary { max-width: 395px; color: #ecf5fb; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.hero-copy > :not(h1), .hero-scene-controls { animation: enter .62s cubic-bezier(.2,.65,.3,1) both; }
.hero-copy .hero-summary { animation-delay: .24s; }
.hero-copy .hero-actions, .hero-scene-controls { animation-delay: .31s; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-image { from { scale: 1.085; } to { scale: 1.025; } }

.hero-scene-controls { display: flex; align-items: center; gap: 10px; justify-self: end; padding: 5px 6px 5px 13px; border: 1px solid #cde6f65e; border-radius: 999px; background: #102936c7; backdrop-filter: blur(10px); }
.hero-scene-count { color: #d5e6f1; font-size: 10px; font-weight: 550; white-space: nowrap; }
.hero-scene-count strong { color: #f8fcff; font-size: 13px; }
.hero-scene-select { display: flex; }
.hero-scene-select button { position: relative; width: 27px; height: 34px; padding: 0; border: 0; border-radius: 5px; background: transparent; }
.hero-scene-select button::after { position: absolute; inset: 15px 3px; border-radius: 5px; background: #cce3f06b; content: ""; transition: background .22s; }
.hero-scene-select button:is(:hover, [aria-pressed="true"])::after { background: var(--brand-green-light); }
.hero-scene-controls .circle-control { width: 36px; height: 36px; color: var(--ink); background: var(--brand-green-light); }
.hero-scene-controls .circle-control:hover { background: #d5edc7; }



.section { width: var(--shell); margin-inline: auto; }
h2 { margin-top: 9px; font-size: clamp(38px, 4.05vw, 65px); font-weight: 520; line-height: 1.01; letter-spacing: -.048em; word-spacing: .025em; }
h3 { font-size: clamp(24px, 2.45vw, 36px); font-weight: 550; line-height: 1.1; letter-spacing: -.038em; }

.about { position: relative; z-index: 1; margin-top: -18px; padding-block: clamp(35px, 4.65vw, 76px) clamp(30px, 3.6vw, 60px); border-radius: var(--radius) var(--radius) 0 0; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(24px, 4.8vw, 80px); }
.about-collage { display: grid; grid-template-columns: 1.85fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 8px; height: clamp(245px, 27vw, 415px); margin-top: 13px; }
.about-collage img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 15px; filter: saturate(.89); }
.about-collage img:first-child { grid-row: span 2; object-position: 24% center; }
.about-copy h2 { margin-top: 0; }
.about-copy p { max-width: 54ch; margin-top: 13px; color: var(--muted); }
.about-copy .button { margin-top: 19px; }
.quick-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: clamp(19px, 2.3vw, 36px); }
.quick-services a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 14px 11px; min-height: 79px; border: 1px solid var(--line); border-radius: 14px; background: #f3f8fb; transition: background .2s, transform .2s; }
.quick-services a:hover { background: #e6f3e4; transform: translateY(-2px); }
.quick-mark { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #b2c5d4; border-radius: 50%; color: #275575; font: 400 21px/1 Georgia, serif; }
.quick-services strong { display: block; font: 600 clamp(12px, 1.2vw, 17px)/1.2 var(--display); }
.quick-services small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.25; }
.quick-services a > span:last-child { color: #2b648d; font-size: 13px; }

.services { background: var(--paper); }
.home-page .services { padding-bottom: clamp(37px, 5.2vw, 80px); }
.building-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 21px clamp(13px, 2vw, 30px);
  padding: clamp(14px, 2vw, 32px) clamp(23px, 4.1vw, 62px) clamp(14px, 2vw, 32px) clamp(10px, 1.75vw, 27px);
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #284b60;
  border-radius: 23px;
  color: #f8fcff;
  background: radial-gradient(ellipse at 29% 61%, #224358, transparent 63%), #102936;
}
.building-intro { grid-area: 1 / 2; align-self: end; padding-top: 12px; }
.building-intro .eyebrow, .building-details .eyebrow { color: var(--brand-green-light); }
.building-intro .indicator { background: var(--brand-green); }
.building-intro h2 { max-width: 13ch; font-size: clamp(34px, 4vw, 63px); }
.building-intro > p:last-child { max-width: 34ch; margin-top: 12px; color: #d7e7f0; }
.building-figure { position: relative; grid-area: 1 / 1 / 3; align-self: center; min-width: 0; }
.building-figure img {
  width: 100%;
  height: auto;
  mask-image: linear-gradient(to right, transparent 0%, #000 7% 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 13% 88%, transparent 100%);
  mask-composite: intersect;
}
.building-hotspots { position: absolute; inset: 0; }
.building-hotspot {
  --badge-size: clamp(20px, 2.05vw, 29px);
  --label-inset: 3px;
  --label-end: 9px;
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--label-inset) var(--label-end) var(--label-inset) var(--label-inset);
  transform: translate(calc(-1px - var(--badge-size) / 2 - var(--label-inset)), -50%);
  border: 1px solid #f8fcff;
  border-radius: 999px;
  color: #152f43;
  background: #f8fcff;
  box-shadow: 0 2px 10px #081d2d61;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: box-shadow .2s;
}
.building-hotspot[data-label-side="left"] {
  flex-direction: row-reverse;
  padding-inline: var(--label-end) var(--label-inset);
  transform: translate(calc(-100% + 1px + var(--badge-size) / 2 + var(--label-inset)), -50%);
}
.hotspot-number { display: grid; flex: none; width: var(--badge-size); height: var(--badge-size); place-items: center; border-radius: 50%; color: #f8fcff; background: #275c82; font-variant-numeric: tabular-nums; }
.building-hotspot:hover { z-index: 1; background: var(--brand-green-light); }
.building-hotspot[aria-pressed="true"] { z-index: 1; color: #f8fcff; background: #173e58; box-shadow: 0 0 0 3px #bce3a771, 0 3px 12px #081d2d80; }
.building-hotspot[aria-pressed="true"] .hotspot-number { color: #102936; background: var(--brand-green); }
.building-hotspot:focus-visible { z-index: 2; outline-color: #bce3a7; outline-offset: 3px; }
.building-details {
  grid-area: 2 / 2;
  align-self: start;
  min-width: 0;
  padding-block: 20px 12px;
  border-top: 1px solid #bfd9e845;
}
.building-details h3 { margin-block: 9px 8px; font-size: clamp(27px, 3.1vw, 46px); }
.building-details .building-service p:last-child, .building-scope p { max-width: 42ch; color: #d7e7f0; }
.building-scope { margin-top: 16px; }
.building-scope summary { display: flex; align-items: center; gap: 9px; width: fit-content; cursor: pointer; color: #f2f9fe; font-size: 13px; font-weight: 650; }
.building-scope summary::-webkit-details-marker { display: none; }
.building-scope summary span { color: var(--brand-green); transition: transform .2s; }
.building-scope[open] summary span { transform: rotate(180deg); }
.building-scope p { margin-top: 8px; font-size: 14px; }
.building-details .text-link { margin-top: 15px; }

.circle-control { display: grid; width: 41px; height: 41px; place-items: center; padding: 0; border: 1px solid #c1dded7d; border-radius: 50%; color: #f8fcff; background: transparent; font-size: 19px; line-height: 1; transition: color .2s, background .2s; }
.circle-control:hover { color: var(--ink); background: var(--brand-green); }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 12px; font-weight: 650; transition: color .2s; }
.text-link:hover { color: #245d88; }
.building-details .text-link, .site-footer .text-link { color: #c3e5b4; }
.building-details .text-link:hover, .site-footer .text-link:hover { color: #f2f9fe; }

.projects { padding-bottom: clamp(37px, 5.2vw, 80px); background: var(--paper); }
.projects-heading { margin-bottom: 11px; }
.portfolio-note { margin-bottom: 16px; color: var(--muted); }
.project-grid {
  --project-gap: clamp(9px, 1.13vw, 18px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--project-gap)) / 3);
  gap: var(--project-gap);
  overflow-x: auto;
  padding-block: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #b2c5d4 transparent;
}
.project-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #f2f7fb; text-align: left; scroll-snap-align: start; transition: border-color .22s, transform .22s; }
.project-card:hover { transform: translateY(-3px); border-color: #619f81; }
.project-card:focus-visible { outline-offset: -3px; }
.project-card img { width: 100%; height: clamp(150px, 18.5vw, 291px); object-fit: cover; background: #e1edf4; filter: saturate(.9); }
.project-info { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 7px; min-height: 79px; padding: 12px 14px; }
.project-info small { display: block; color: #506675; font-size: 9px; font-weight: 700; letter-spacing: .095em; }
.project-info strong { display: block; margin-top: 3px; font: 600 clamp(17px, 1.8vw, 26px)/1.1 var(--display); letter-spacing: -.035em; }
.project-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 15px; }
.project-controls { display: flex; align-items: center; gap: 8px; }
.project-position { margin-inline-end: 5px; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
:is(.project-controls, .client-logos-controls) .circle-control { width: 44px; height: 44px; border-color: var(--line); color: var(--ink); background: #f2f7fb; }
:is(.project-controls, .client-logos-controls) .circle-control:hover:not([aria-disabled="true"]) { border-color: var(--brand-green); background: var(--brand-green-light); }
.project-controls .circle-control[aria-disabled="true"] { opacity: .47; cursor: default; }

.client-logos { padding-bottom: clamp(30px, 4.25vw, 64px); background: var(--paper); }
.client-logos-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 17px; }
.client-logos-heading h2 { margin: 0; font-size: clamp(30px, 3.5vw, 54px); }
.client-logos-controls { display: flex; flex: none; align-items: center; gap: 7px; }
.carousel-playback { min-height: 44px; min-width: 74px; justify-content: center; padding-inline: 12px; }
.client-logo-track {
  --logo-columns: 6;
  --logo-gap: clamp(8px, 1.15vw, 17px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--logo-columns) - 1) * var(--logo-gap)) / var(--logo-columns));
  gap: var(--logo-gap);
  margin: 0;
  padding: 0 0 4px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #b2c5d4 transparent;
}
.logo-tile {
  height: clamp(84px, 8vw, 120px);
  min-width: 0;
  padding: clamp(12px, 1.3vw, 21px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  scroll-snap-align: start;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile img[src$="/adnan-saffarini.png"] { object-fit: cover; object-position: center 46%; }
.logo-tile img[src$="/nasec.jpg"] { object-fit: cover; clip-path: inset(17% 18%); scale: 1.35; }

.contact { padding-bottom: clamp(24px, 4vw, 54px); border-radius: 0 0 var(--radius) var(--radius); background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(22px, 5vw, 76px); padding: clamp(20px, 3.2vw, 48px); border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at right bottom, #deefe1, transparent 76%), #f2f7fb; }
.contact .indicator { background: #5d9940; }
.contact h2 { font-size: clamp(34px, 3.8vw, 56px); }
.contact-intro > p:last-child { max-width: 35ch; margin-top: 14px; color: var(--muted); font-size: 16px; }
.home-enquiry { min-width: 0; padding: clamp(16px, 2.4vw, 33px); border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.home-enquiry h3 { font-size: clamp(22px, 2.1vw, 29px); }
.home-enquiry > p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.home-enquiry .enquiry-form { margin-top: 17px; }

.site-footer { width: var(--shell); margin: 7px auto var(--edge); padding-block: clamp(27px, 3.6vw, 53px) 18px; border-radius: var(--radius); color: #d7e7f0; background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: minmax(200px, 1.35fr) minmax(0, .7fr) minmax(0, 1.1fr) minmax(185px, 1.05fr); gap: clamp(16px, 3vw, 46px); }
.footer-brand > p { max-width: 28ch; margin-top: 12px; font-size: 14px; }
.footer-brand .brand strong { color: #f8fcff; font-size: 20px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.footer-links h2 { margin: 0 0 6px; color: #f8fcff; font: 650 16px/1.3 var(--display); letter-spacing: normal; }
.footer-links a, .footer-bottom a { color: #e0eef7; font-size: 14px; overflow-wrap: anywhere; }
.footer-links h2 a { color: inherit; font-size: inherit; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--brand-green-light); text-decoration: underline; text-underline-offset: 3px; }
.footer-address { font-size: 14px; font-style: normal; line-height: 1.55; }
.footer-address strong { color: #f8fcff; font-weight: 650; }
.footer-contact-links { display: grid; gap: 3px; margin-block: 6px; }
.footer-links > .text-link { margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 20px; margin-top: clamp(19px, 2.6vw, 37px); padding-top: 14px; border-top: 1px solid #c1dded40; }
.footer-bottom p, .footer-bottom a { font-size: 13px; }

:is(.project-dialog, .enquiry-dialog) { width: min(680px, calc(100% - 28px)); max-height: calc(100% - 32px); padding: 0; overflow: auto; border: 0; border-radius: 19px; color: var(--ink); background: var(--paper); }
:is(.project-dialog, .enquiry-dialog)[open] { animation: enter .29s ease both; }
:is(.project-dialog, .enquiry-dialog)::backdrop { background: #0b2334c0; backdrop-filter: blur(5px); }
.dialog-media { position: relative; }
.dialog-media img { width: 100%; height: clamp(180px, 42vh, 390px); object-fit: cover; }
.close-dialog { position: absolute; top: 12px; right: 12px; display: grid; width: 43px; height: 43px; place-items: center; padding: 0; border: 1px solid #ffffff63; border-radius: 50%; color: #f8fcff; background: var(--brand-blue); font-size: 31px; line-height: 1; }
.close-dialog:hover { color: var(--brand-green); }
.dialog-body { padding: clamp(23px, 5vw, 42px); }
.dialog-body h2 { margin-top: 8px; font-size: clamp(34px, 6vw, 55px); }
.dialog-body p:not(.eyebrow) { margin-top: 13px; color: var(--muted); }
.dialog-body #dialog-credit { font-size: 13px; font-weight: 600; }
.project-scope { margin-top: 17px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 13px; background: #eef5f9; }
.project-scope h3 { font: 700 11px/1.35 var(--body); letter-spacing: .09em; text-transform: uppercase; }
.dialog-body .project-scope p { margin-top: 6px; }

.enquiry-dialog { max-width: 540px; }
.enquiry-dialog .close-dialog { z-index: 1; }
.enquiry-form { display: grid; gap: 12px; margin-top: 21px; }
.enquiry-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.enquiry-field { display: grid; gap: 4px; min-width: 0; }
.enquiry-field label { font-size: 14px; font-weight: 650; }
.enquiry-field :is(input, textarea) { width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid #95adbe; border-radius: 8px; color: var(--ink); background: var(--paper); font: inherit; font-size: 16px; }
.enquiry-field textarea { min-height: 90px; resize: vertical; }
.enquiry-form .button { justify-self: start; margin-top: 2px; }
.enquiry-status:empty { display: none; }
.dialog-body .enquiry-status { margin-top: 4px; }

.will-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.6,.3,1); }
.will-reveal.is-visible, .will-reveal:focus-within { opacity: 1; transform: none; }

@media (max-width: 950px) {
  .quick-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .project-grid { grid-auto-columns: calc((100% - var(--project-gap)) / 2); }
  .client-logo-track { --logo-columns: 4; }
}

@media (max-width: 780px) {
  :root { --header-height: 66px; }
  .header-cta { display: none; }
  .main-nav .nav-contact { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .client-logo-track { --logo-columns: 3; }
  .building-explorer { grid-template: auto auto auto / minmax(0, 1fr); gap: 14px; padding: 20px 12px 18px; border-radius: 17px; }
  .building-intro { grid-area: 1 / 1; padding: 0 6px; }
  .building-intro h2 { max-width: none; font-size: clamp(33px, 8vw, 48px); }
  .building-intro > p:last-child { margin-top: 7px; font-size: 13px; }
  .building-figure { grid-area: 2 / 1; width: min(100%, 580px); justify-self: center; }
  .building-details { grid-area: 3 / 1; margin-inline: 6px; padding-block: 14px 0; }
  .building-hotspot { --badge-size: 19px; --label-inset: 2px; --label-end: 6px; gap: 4px; font-size: 10px; }
}

@media (max-width: 620px) {
  :root { --header-height: 63px; --gutter: clamp(15px, 4.8vw, 28px); }
  .brand img { width: 33px; height: 33px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 6px; }
  .hero-stage { grid-template-columns: 1fr; }
  .hero-scene-controls { justify-self: start; }
  .hero-scene { object-position: 74% 40%; }
  .hero-scene[data-hero-image="electrical"] { object-position: 62% center; }
  .hero-scene[data-hero-image="fire"] { object-position: 58% center; }
  .hero-media::after { background: linear-gradient(180deg, #0e2a3cbb 0%, #0f2a3d40 20%, #102c429e 59%, #102c42ef 100%), linear-gradient(90deg, #0e253978, #0e25390c); }
  .hero-inner { min-height: max(500px, 80svh); padding-block: clamp(110px, 17svh, 160px) 40px; }
  .hero h1 { margin-block: 11px 12px; font-size: clamp(38px, 12.35vw, 70px); }
  .hero-summary { max-width: 345px; font-size: 13px; }
  .hero-actions { gap: 7px; margin-top: 17px; }
  .hero-actions .button { min-height: 41px; gap: 8px; padding-inline: 10px; font-size: 11px; }
  .about-grid { grid-template-columns: 1fr; gap: 19px; }
  .about-collage { grid-template-columns: 1.8fr 1fr; height: clamp(155px, 49vw, 272px); gap: 6px; }
  .about-collage img { border-radius: 11px; }
  .about-copy p { font-size: 14px; }
  .quick-services { gap: 7px; }
  .quick-services a { grid-template-columns: auto 1fr; gap: 5px; min-height: 69px; padding: 8px 6px; border-radius: 11px; }
  .quick-mark { width: 25px; height: 25px; font-size: 16px; }
  .quick-services small { font-size: 9px; }
  .quick-services a > span:last-child { display: none; }
  .project-grid { grid-auto-columns: 100%; }
  .project-card { border-radius: 12px; }
  .project-card img { height: clamp(172px, 52vw, 248px); }
  .project-info { min-height: 64px; padding: 10px 12px; }
  .contact-grid { gap: 15px; }
}

@media (max-width: 520px) {
  .client-logo-track { --logo-columns: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene { transform: none; }
  .hero-copy > *, .hero h1 span, .hero-scene-controls { animation-delay: 0ms !important; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.button-outline-dark { color: var(--ink); border-color: #a9c1d3; background: transparent; }
.button-outline-dark:hover { border-color: #3975a8; background: #e7f1fa; }
.home-page .services .button-outline-dark { margin-top: 19px; }
#dialog-portfolio-link { margin-top: 13px; }

.page-masthead { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; color: #f8fcff; background: var(--dark); }
.page-masthead-media { position: absolute; z-index: -1; inset: 0; }
.page-masthead-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 41%; filter: saturate(.86); }
.page-masthead-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d283cf5, #153b52d4 39%, #183d563d 78%), linear-gradient(180deg, #0b253bb3, transparent 38%, #0d2b3f52);
  content: "";
}
.page-masthead-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: clamp(410px, 49vw, 580px); padding-block: calc(var(--header-height) + 42px) clamp(38px, 6vw, 77px); }
.page-masthead .eyebrow { color: #c5e6b7; }
.page-masthead .indicator { background: var(--brand-green); }
.page-masthead h1 { margin-block: 14px 15px; font-size: clamp(51px, 6.45vw, 99px); font-weight: 500; line-height: .95; letter-spacing: -.06em; text-wrap: balance; }
.page-intro { max-width: 48ch; color: #e5eff7; font-size: clamp(14px, 1.22vw, 17px); }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.masthead-credit { position: absolute; right: 0; bottom: 19px; color: #e2edf4; background: #102936bf; border-radius: 999px; padding: 5px 12px; font-size: 11px; }

.interior-content { padding-block: clamp(35px, 5.45vw, 86px); background: var(--paper); }
.interior-content + .interior-content:not(.section-tinted) { padding-top: clamp(31px, 4.8vw, 70px); }
.section-tinted { background: #edf4f9; }
.interior-explorer { padding-top: clamp(25px, 4.4vw, 64px); }
.interior-explorer .services { background: transparent; }
.interior-page .page-masthead + .interior-explorer { width: var(--shell); margin-inline: auto; background: var(--paper); }
.interior-explorer .services { width: 100%; }

.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 5vw, 77px); }
.editorial-copy p:not(.eyebrow) { max-width: 55ch; margin-top: 13px; color: var(--muted); }
.editorial-copy .text-link { margin-top: 17px; }
.interior-figure { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #e0edf5; }
.interior-figure img { width: 100%; height: clamp(230px, 27vw, 390px); object-fit: cover; }
.section-tinted .interior-figure img { object-position: center 36%; }
.interior-figure figcaption { padding: 10px 15px; color: var(--muted); font-size: 11px; }
.interior-cards { display: grid; gap: clamp(11px, 1.4vw, 21px); margin-top: 24px; }
.interior-card { min-width: 0; padding: clamp(18px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 17px; background: #f2f7fb; }
.interior-card > p, .interior-card > div > p:not(.eyebrow) { margin-top: 10px; color: var(--muted); }
.principles-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.principles-grid h3, .discipline-grid h3 { font-size: clamp(23px, 2.3vw, 31px); }
.discipline-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.discipline { display: flex; flex-direction: column; align-items: flex-start; scroll-margin-top: calc(var(--header-height) + 16px); }
.discipline-number { display: inline-grid; width: 35px; height: 35px; place-items: center; margin-bottom: 12px; border: 1px solid #a4c0d4; border-radius: 50%; color: #245d88; font-size: 12px; font-weight: 650; }
.discipline .text-link { margin-top: auto; }
.discipline > p { margin-bottom: 15px; }
.region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(13px, 2vw, 32px); }
.region-card { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 19px; background: #f2f7fb; overflow: hidden; transition: transform .22s, border-color .22s; }
.region-card:hover { transform: translateY(-4px); border-color: #619f81; }
.region-card > img { width: 100%; height: clamp(175px, 24vw, 350px); object-fit: cover; filter: saturate(.84); }
.region-card > div { padding: clamp(18px, 2.7vw, 38px); }
.project-sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.project-sectors h3 { font-size: clamp(22px, 2.5vw, 35px); }
@media (max-width: 760px) { .project-sectors { grid-template-columns: 1fr; } }
.region-card p:not(.eyebrow) { margin-top: 11px; color: var(--muted); }
.region-cta { display: inline-flex; gap: 10px; align-items: center; margin-top: 13px; border-bottom: 1px solid; font-size: 13px; font-weight: 650; }

.team-member { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: clamp(10px, 1.6vw, 22px); }
.team-member .eyebrow { color: #2a628c; text-transform: uppercase; }
.team-member h3 { margin-top: 7px; }
.initials { display: grid; place-items: center; width: clamp(41px, 5vw, 71px); height: clamp(41px, 5vw, 71px); border: 1px solid #a4c0d4; border-radius: 50%; background: #dfedf7; color: #205377; font: 600 clamp(17px, 2.4vw, 31px)/1 var(--display); }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(23px, 5.5vw, 80px); }
#office { scroll-margin-top: calc(var(--header-height) + 16px); }
.contact-page-info address { margin-block: 15px 11px; color: var(--muted); font-style: normal; }
.contact-methods { display: grid; gap: 0; margin-top: 16px; }
.contact-methods a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--line); font-weight: 600; }
.contact-methods a:hover { color: #245d88; }
.contact-methods span { color: var(--muted); font-weight: 400; }
.enquiry-card h2 { font-size: clamp(31px, 3.5vw, 51px); }
.page-cta { padding-bottom: clamp(23px, 3.75vw, 47px); border-radius: 0 0 var(--radius) var(--radius); background: var(--paper); }
.page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(21px, 3.5vw, 49px); border-radius: 18px; color: #f8fcff; background: radial-gradient(ellipse at right, #215778, var(--dark) 66%); }
.page-cta h2 { margin-top: 0; font-size: clamp(32px, 4.25vw, 60px); }
.page-cta p { margin-top: 8px; color: #deedf4; }
.page-cta .button { flex: none; }

@media (max-width: 920px) {
  .discipline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding-inline: 12px; border: 1px solid #cde6f678; border-radius: 999px; color: #f8fcff; background: #102936aa; font-size: 12px; font-weight: 600; }
  .menu-toggle i { display: block; width: 11px; height: 7px; border-block: 1px solid currentColor; }
  .main-nav { position: absolute; top: 100%; inset-inline: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - var(--header-height) - var(--edge)); overflow-y: auto; padding: 4px var(--gutter) 12px; border-radius: 0 0 15px 15px; background: var(--dark); }
  .main-nav.is-open { display: flex; }
  .main-nav a, .projects-menu summary { min-height: 44px; padding: 10px 0; border-bottom: 1px solid #b4d2e633; }
  .main-nav a[aria-current]::after, .projects-menu.is-active summary::before { display: none; }
  .projects-menu summary { justify-content: space-between; padding-right: 6px; }
  .projects-menu-links { position: static; min-width: 0; padding: 4px 0 4px 13px; border: 0; border-left: 1px solid #a9c1d34d; border-radius: 0; box-shadow: none; }
  .projects-menu-links a { border: 0; padding-inline: 10px; }
  .editorial-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .editorial-grid .interior-figure { order: 2; }
  .page-masthead-media::after { background: linear-gradient(90deg, #0e2a3fdf, #10384fa8 75%), linear-gradient(180deg, #0d283c95, transparent 42%, #0d283c52); }
}
@media (max-width: 570px) {
  .page-masthead-inner { min-height: 390px; padding-block: calc(var(--header-height) + 31px) 38px; }
  .page-masthead h1 { margin-block: 11px; font-size: clamp(39px, 11vw, 57px); }
  .page-actions { margin-top: 14px; }
  .page-actions .button { min-height: 40px; gap: 8px; padding-inline: 12px; font-size: 11px; }
  .masthead-credit { bottom: 11px; font-size: 9px; }
  .principles-grid, .discipline-grid, .team-grid, .region-grid { grid-template-columns: 1fr; }
  .page-cta-inner { flex-direction: column; align-items: flex-start; }
  .team-member { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
}
@media (max-width: 620px) {
  .footer-grid { gap: 20px 12px; }
  .footer-brand, .footer-links[aria-labelledby] { grid-column: 1 / -1; }
  .enquiry-contact-fields { grid-template-columns: 1fr; }
}
