:root {
  --ink: #0a1644;
  --deep-blue: #0a1644;
  --blue: #293b86;
  --sage: #dbe2ec;
  --pale-sage: #f0f3f7;
  --cream: #f8f9fb;
  --sand: #e9edf3;
  --white: #ffffff;
  --line: #d7dde7;
  --display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --footer-blue: #0a1644;
  --footer-muted: #b9c4d9;
  --footer-line: rgba(255, 255, 255, .18)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55
}

img {
  max-width: 100%
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: auto
}

.skip-link {
  position: absolute;
  left: -999px
}

.skip-link:focus {
  left: 15px;
  top: 15px;
  z-index: 100;
  padding: 10px 15px;
  background: #fff;
  color: #000
}

.site-header {
  position: fixed !important;
  background: #fff !important;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(24px, calc((100% - 1180px)/2));
  color: #0a1644
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 4px
}

.brand span {
  font-size: 50px;
  letter-spacing: .5px;
  text-transform: uppercase
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px
}

.site-nav a {
  color: #707784;
  text-decoration: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  transition: opacity .2s ease
}

.site-nav a:hover {
  opacity: .7
}
.nav-button {
  border: 1px solid #fffc;
  padding: 11px 16px
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: #fff
}

.hero {
  position: relative;
  min-height: 790px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff
}

.hero-overlay {
  position: absolute;
  inset: 0
}

.hero-overlay {
  background: linear-gradient(90deg, #0a1d17d1, #0a1d1757 65%, #0a1d1729), linear-gradient(0deg, rgba(10, 29, 23, .52), transparent 50%)
}

.hero-content,
.hero-footer {
  position: relative;
  z-index: 1
}

.hero-content {
  padding-top: 95px
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase
}

.eyebrow.light {
  color: #d9ebdc
}

.hero h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -1.8px
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(45px, 6.2vw, 82px)
}

.hero h1 em {
  font-weight: 500
}

.hero-copy {
  max-width: 540px;
  margin: 28px 0 0;
  color: #eef4ee;
  font-size: 18px
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid transparent;
  padding: 15px 20px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease
}

.button-primary {
  border: 0;
  background: #d9e8d9;
  color: var(--ink)
}

.button-primary:hover {
  background: #fff;
  transform: translateY(-2px)
}

.button-text {
  padding-left: 0;
  color: #fff
}

.button-text:hover {
  opacity: .75
}

.hero-footer {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  transform: translate(-50%);
  color: #d9e5db;
  font-size: 11px
}

.section {
  padding: 125px 0
}

.intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12%
}

.intro h2,
.section-heading h2 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(34px, 4vw, 55px)
}

.intro-text {
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 18px
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none
}

.text-link span {
  margin-left: 8px
}

.services {
  background: #f5f3ef
}

.section-heading {
  margin-bottom: 50px
}

.services .eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  letter-spacing: .22em;
  text-transform: uppercase
}

.services .eyebrow:after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--blue)
}

.services .section-heading h2 {
  max-width: 900px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.08
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.services .service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  background: #fbfbfa;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: color .35s ease, border-color .35s ease, box-shadow .35s ease
}

.services .service-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(images/backgrounds/contact-panel-blueprint.webp) center / cover no-repeat, var(--deep-blue);
  opacity: 0;
  transition: opacity .4s ease
}

.services .service-card:hover {
  background: #fbfbfa;
  border-color: var(--deep-blue);
  color: #fff;
  box-shadow: 0 18px 40px #0a164440
}

.services .service-card:hover:before {
  opacity: 1
}

.service-image {
  aspect-ratio: 16 / 9.6;
  overflow: hidden
}

.service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 10px 14px
}

.service-number {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: .2em;
  opacity: 1;
  transition: color .35s ease
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15
}

.service-card p {
  margin: 0;
  color: #5b6272;
  font-size: 15px;
  line-height: 1.6;
  transition: color .35s ease
}

.service-card ul {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
  font-size: 14px
}

.service-card li {
  position: relative;
  padding: 6px 0 6px 26px;
  border: 0;
  color: #5b6272;
  transition: color .35s ease
}

.service-card li:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
  transition: background .35s ease
}

.service-card a {
  position: static;
  margin-top: auto;
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .35s ease
}

.service-card a span {
  display: inline-block;
  margin-left: 8px;
  transition: transform .25s ease
}

.service-card a:hover span {
  transform: translate(5px)
}

.service-card:hover .service-number,
.service-card:hover a {
  color: #fff
}

.service-card:hover p,
.service-card:hover li {
  color: #ffffffdb
}

.service-card:hover li:before {
  background: #fff
}

.projects {
  background: var(--ink);
  color: #fff
}

.projects-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
  margin-bottom: 44px
}

.projects h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 62px)
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px
}

.filter-button {
  border: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
  padding: 9px 14px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease
}

.filter-button:hover,
.filter-button.active {
  border-color: #d9e8d9;
  background: #d9e8d9;
  color: var(--ink)
}

.project-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px
}

.process-project-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1
}

.process-project-grid::-webkit-scrollbar {
  display: none
}

.process-project-grid>.project-process {
  scroll-snap-align: start
}

.carousel-arrow {
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: #0a164459;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, opacity .2s ease
}

.carousel-arrow:hover {
  background: #fff;
  color: var(--ink)
}

.carousel-arrow:disabled {
  opacity: .3;
  cursor: default;
  pointer-events: none
}

.project-process {
  content-visibility: auto;
  contain-intrinsic-block-size: auto 560px;
  overflow: hidden;
  background: #30597fb3;
  transition: transform .25s ease, opacity .25s ease
}

.project-process:hover {
  transform: translateY(-5px)
}

.project-process.hidden {
  display: none
}

.project-process-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 22px 17px
}

.project-category {
  margin: 0 0 7px;
  color: #bbd4bd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase
}

.project-process h3 {
  margin: 0;
  font-size: 25px
}

.project-count {
  color: #dbe8dc;
  font-size: 11px
}

.project-stage {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: #0c1914
}

.project-stage.open-lightbox {
  cursor: pointer
}

.stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .45s ease, transform .65s ease
}

.stage-image.active {
  opacity: 1;
  transform: scale(1)
}

.stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .62), transparent 48%);
  pointer-events: none
}

.stage-label {
  position: absolute;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  color: #fff;
  font-size: 12px
}

.stage-label b {
  color: #d5ead8
}

.project-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px
}

.project-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: .2s ease
}

.project-arrow:hover:not(:disabled) {
  background: #fff;
  color: var(--ink)
}

.project-arrow:disabled {
  cursor: default;
  opacity: .35
}

.project-progress {
  display: flex;
  gap: 7px
}

.progress-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff4d;
  cursor: pointer;
  transition: .2s ease
}

.progress-dot.active {
  width: 25px;
  border-radius: 8px;
  background: #d9e8d9
}

.credentials {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 12%;
  align-items: start
}

.credentials h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 3.8vw, 52px)
}

.credentials-copy>p:last-child {
  font-size: 17px
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line)
}

.credentials-grid div {
  min-height: 175px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.credentials-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-family: var(--display);
  font-size: 40px;
  letter-spacing: -2px
}

.credentials-grid span {
  font-size: 13px
}

.form-message {
  margin: 0;
  color: #dceadc;
  font-size: 13px
}

.site-footer {
  padding: 58px 0 22px;
  background: #0a1644;
  color: #fff
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start
}

.footer-brand {
  display: inline-block
}

.footer-brand img {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain
}

.footer-company p,
.footer-social span,
.footer-details p,
.footer-licence p {
  margin: 14px 0 0;
  color: #d8e0ee;
  font-size: 14px;
  line-height: 1.7
}

.footer-company p,
.footer-social span {
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase
}

.footer-social-icons {
  display: flex;
  gap: 14px;
  margin-top: 16px
}

.footer-social-icons a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  transition: background .2s ease, border-color .2s ease
}

.footer-social-icons a:hover {
  background: #fff;
  border-color: #fff;
  color: #0a1644
}

.footer-social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .2)
}

.footer-bottom p {
  margin: 0;
  color: #aebbd0;
  font-size: 12px;
  line-height: 1.5
}

@media(max-width:800px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }
}

@media(max-width:520px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

@keyframes hero-zoom {
  to {
    transform: scale(1)
  }
}

@media(max-width:820px) {
  .site-header {
    padding: 17px 24px
  }

  .brand img {
    width: 46px;
    height: 46px
  }

  .hero {
    min-height: 700px
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 61px)
  }

  .hero-copy {
    font-size: 16px
  }

  .hero-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    font-size: 10px
  }

  .section {
    padding: 82px 0
  }

  .intro,
  .credentials {
    grid-template-columns: 1fr;
    gap: 42px
  }

  .service-grid {
    grid-template-columns: 1fr
  }

  .process-project-grid {
    grid-auto-columns: 100%
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 15px
  }

  .service-card {
    min-height: 380px;
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .process-photo img {
    height: 430px
  }

  .projects-heading {
    display: block
  }

  .projects-intro {
    margin-top: 20px
  }

  .project-stage {
    height: 330px
  }

  .credentials-grid,
  .site-footer {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:480px) {
  .container {
    width: min(100% - 32px, 1180px)
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px
  }

  .credentials-grid,
  .site-footer {
    grid-template-columns: 1fr
  }
}

.site-header {
  position: relative;
  min-height: 88px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: #77776f;
  color: #fff
}

.brand {
  gap: 15px
}

.brand img {
  width: 58px;
  height: 58px;
  padding: 0;
  background: transparent
}

.brand-copy {
  display: grid;
  gap: 3px
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #293b86
}

.brand-copy small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .9px;
  text-transform: uppercase
}


.hero {
  min-height: min(720px, calc(100vh - 88px))
}

.hero-slides {
  position: absolute;
  inset: 0;
  background: #263126
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .8s ease, transform 5.5s ease
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1)
}

.hero-overlay {
  background: linear-gradient(90deg, #293b86c7, #293b8661 67%, #293b862e)
}

.hero-content {
  max-width: 650px;
  padding-top: 0
}

.hero h1 {
  font-size: clamp(40px, 5.3vw, 69px);
  font-weight: 800;
  letter-spacing: -2.7px
}

.hero-copy {
  max-width: 500px;
  font-size: 16px
}

.hero-arrows {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100% - 1180px)/2));
  bottom: 42px;
  display: flex;
  gap: 10px
}

.hero-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  background: #1e1e1b38;
  color: #fff;
  font-size: 19px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease
}

.hero-arrow:hover {
  background: #fff;
  color: #262622
}

.hero-indicators {
  position: absolute;
  z-index: 3;
  bottom: 58px;
  left: max(24px, calc((100% - 1180px)/2));
  display: flex;
  gap: 6px
}

.hero-dot {
  flex: 0 0 12px;
  width: 12px;
  height: 3px;
  padding: 0;
  border: 0;
  background: #ffffff6b;
  cursor: pointer
}

.hero-dot.active {
  background: #fff
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0)
}

.back-to-top:hover {
  background: #173b30
}

@media(max-width:820px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 88px;
    padding-top: 14px;
    padding-bottom: 14px;
    background: #2f4057;
    color: #fff;
    box-shadow: 0 3px 14px #0000002e
  }

  .hero {
    min-height: 650px
  }

  .hero-arrows {
    right: 24px;
    bottom: 30px
  }

  .hero-indicators {
    bottom: 51px;
    left: 24px
  }
}

@media(max-width:500px) {
  .brand img {
    width: 44px;
    height: 44px
  }

  .brand-copy strong {
    font-size: 12px
  }

  .brand-copy small {
    max-width: 180px;
    font-size: 7px
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block !important;
    margin-left: auto;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: #293b86;
    /* dark blue */
  }

  .site-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 16px 28px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  }

  .site-nav.open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid #e6e6e6;
    color: #777 !important;
    font-family: "Lato", Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
  }

  .site-nav a:hover,
  .site-nav a.active {
    color: #293b86 !important;
  }

  .site-nav .nav-button {
    border: 0;
  }
}
@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 24px;
    left: auto;
    width: min(320px, calc(100vw - 48px));
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 16px 20px;
    background: #fff;
    box-shadow: 0 10px 20px #0000001f
  }

  .site-nav.open {
    align-items: stretch;
    gap: 0
  }

  .site-nav a {
    padding: 4px 0;
    border-bottom: 1px solid #e6e6e6;
    color: #777 !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase
  }

  .site-nav a:hover,
  .site-nav a.active {
    color: #293b86 !important
  }

  .site-nav .nav-button {
    border: 0
  }
}

.credential-logos {
  display: flex;
  align-items: center;
  gap: 24px
}

.credential-logo {
  width: 105px;
  height: 105px;
  object-fit: contain
}

.apchq-logo {
  width: 300px
}

.inspection-credentials {
  padding: 45px 0;
  background: var(--pale-sage);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.credentials-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px
}

.inspection-credentials h3 {
  max-width: 480px;
  margin: 0;
  font-size: 24px;
  color: var(--ink)
}

.credential-logos {
  display: flex;
  align-items: center;
  gap: 28px
}

.credential-logos img {
  width: 92px;
  height: 92px;
  object-fit: contain
}

.credential-logos .apchq-logo {
  width: 150px;
  height: 105px;
  object-fit: contain
}

@media(max-width:700px) {
  .credentials-row {
    align-items: flex-start;
    flex-direction: column
  }
}

.footer-social {
  display: grid;
  gap: 12px
}

.footer-social>span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase
}

.footer-social-icons {
  display: flex;
  gap: 10px
}

.footer-social-icons a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  color: inherit;
  transition: background .2s ease, color .2s ease
}

.footer-social-icons a:hover {
  background: #293b86;
  border-color: #293b86;
  color: #fff
}

.footer-social-icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor
}

.contact-section {
  padding: 100px 0;
  background: #f3f5f8;
  color: #0a1644;
  scroll-margin-top: 100px
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 16px 34px #0a164424
}

.contact-form-panel {
  padding: 58px
}

.contact-form-panel h2,
.contact-info-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 52px)
}

.contact-intro {
  max-width: 570px;
  margin: 0 0 30px;
  color: #5e6b7d
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 19px
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #0a1644;
  font-size: 12px;
  font-weight: 700
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7dde7;
  border-radius: 2px;
  outline: 0;
  background: #fff;
  color: #0a1644;
  padding: 14px 15px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #293b86;
  box-shadow: 0 0 0 3px #293b861f
}

.message-field {
  grid-column: 1 / -1
}

.contact-form textarea {
  min-height: 145px;
  resize: vertical
}

.contact-submit {
  justify-self: end;
  border: 0;
  background: #293b86;
  color: #fff;
  padding: 15px 23px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease
}

.contact-submit:hover {
  background: #0a1644;
  transform: translateY(-2px)
}

.form-message {
  grid-column: 1 / -1;
  margin: 0;
  color: #293b86;
  font-size: 13px
}

.contact-info-panel {
  position: relative;
  display: flex;
  min-height: 100%;
  padding: 58px 42px;
  overflow: hidden;
  background: linear-gradient(#0a1644eb, #293b86e0), url(images/contact/contact-building.jpg) center / cover;
  color: #fff
}

.contact-info-content {
  position: relative;
  z-index: 1
}

.contact-info-panel .eyebrow {
  color: #dce5fa
}

.contact-info-panel h2 {
  color: #fff
}

.contact-info-panel>div>a {
  display: block;
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none
}

.contact-info-panel>div>a:hover {
  color: #dce5fa
}

.contact-info-panel p:not(.eyebrow) {
  color: #e3e9f6
}

.contact-social {
  margin-top: 45px
}

.contact-social>span {
  display: block;
  margin-bottom: 12px;
  color: #dce5fa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px
}

.contact-social-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none
}

.contact-social-links a:hover {
  color: #dce5fa
}

@media(max-width:800px) {
  .contact-card {
    grid-template-columns: 1fr
  }

  .contact-form-panel,
  .contact-info-panel {
    padding: 38px 25px
  }
}

@media(max-width:560px) {
  .contact-form {
    grid-template-columns: 1fr
  }

  .message-field {
    grid-column: auto
  }

  .contact-submit {
    justify-self: start
  }
}

.mobile-services {
  display: none
}

.mobile-services {
  display: block;
  width: 100%
}

.mobile-services-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  background: #f5f6f8;
  color: #293b86;
  padding: 18px 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer
}

.mobile-services-toggle span {
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s ease
}

.mobile-services-toggle.open span {
  transform: rotate(45deg)
}

.mobile-services-list {
  display: none;
  padding-left: 25px
}

.mobile-services-list.open {
  display: block
}

.mobile-services-list a {
  display: block;
  border-bottom: 1px solid #ededed;
  color: #777 !important;
  padding: 14px 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none
}

.mobile-services-list a:hover {
  color: #293b86 !important
}

.inspector-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(35px, 7vw, 100px);
  align-items: center;
  max-width: 960px
}

.inspector-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e9edf3
}

.inspector-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center
}

.inspector-copy {
  max-width: 570px
}

.inspector-copy h2 {
  margin: 8px 0;
  color: var(--ink)
}

.inspector-role {
  margin: 0 0 28px;
  color: #52617a;
  font-size: 14px;
  font-weight: 700
}

.inspector-copy blockquote {
  margin: 0 0 8px;
  color: var(--deep-blue);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15
}

.quote-source {
  margin-bottom: 25px;
  color: #64718a;
  font-size: 13px
}

@media(max-width:700px) {
  .inspector-feature {
    padding: 52px 0
  }

  .inspector-feature-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .inspector-photo {
    max-width: 360px
  }
}

.inspector-contact-link {
  font-size: 17px;
  font-weight: 700
}

.inspector-contact-link span {
  font-size: 21px
}

.company-intro {
  padding: 96px 0;
  background: var(--pale-sage);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
  align-items: center;
  gap: 80px
}

.company-copy h2 {
  max-width: 610px;
  margin: 0 0 20px;
  color: var(--ink)
}

.company-copy>p:not(.eyebrow) {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75
}

.company-explore {
  margin-top: 30px
}

.company-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border: 1px solid #293b86;
  background: transparent;
  color: #293b86;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease
}

.company-explore-link span {
  font-size: 1.3rem;
  line-height: 1
}

.company-explore-link:hover {
  background: #293b86;
  color: #fff;
  transform: translateY(-2px)
}

a.company-explore-link:hover,
a.company-explore-link:hover span {
  color: #fff !important
}

.company-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px
}

.company-highlights div {
  display: flex;
  flex-direction: column;
  max-width: 145px
}

.company-highlights strong {
  color: var(--accent);
  font-size: 30px;
  line-height: 1
}

.company-highlights span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45
}

.company-person {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.company-photo {
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #dce5dc
}

.company-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top
}

.company-person-label {
  margin: 15px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600
}

.company-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color .2s ease, gap .2s ease
}

.company-explore-link:hover {
  color: var(--accent);
  gap: 14px
}

@media(max-width:800px) {
  .company-intro {
    padding: 70px 0
  }

  .company-grid {
    grid-template-columns: 1fr;
    gap: 42px
  }

  .company-photo {
    max-width: 460px
  }
}

@media(max-width:520px) {
  .company-intro {
    padding: 58px 0
  }

  .company-highlights {
    gap: 20px
  }

  .company-highlights div {
    max-width: 130px
  }

  .company-photo {
    aspect-ratio: 1 / 1
  }
}

.projects {
  position: relative;
  overflow: hidden;
  background: linear-gradient(#0b143c2e, #0b143c2e), url(images/backgrounds/project-gallery-blueprint.webp) center / cover no-repeat
}

.contact-info-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(#16205261, #16205261), url(images/backgrounds/contact-panel-blueprint.webp) center / cover no-repeat;
  color: #fff
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(#0b143c2e, #0b143c2e), url(images/backgrounds/project-gallery-blueprint.webp) center top / cover no-repeat;
  color: #fff
}

.section-heading h2,
.projects-heading h2,
.company-copy h2 {
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.08
}

.intro h2,
.contact-form-panel h2,
.contact-info-panel h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.08
}

.intro h2 {
  font-size: clamp(36px, 5vw, 64px)
}

.eyebrow {
  letter-spacing: .22em;
  text-transform: uppercase
}

h3 {
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15
}

p {
  line-height: 1.6
}

.nav-dropdown {
  position: relative;
  padding: 22px 0;
  margin: -22px 0
}

.nav-dropdown .dropdown-toggle:after {
  content: "\25be";
  margin-left: 6px;
  font-size: 12px
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 200;
  min-width: 280px;
  padding: 8px 0;
  background: #fff;
  border-top: 3px solid var(--blue);
  box-shadow: 0 14px 30px #0a16442e;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.site-nav .dropdown-menu a {
  display: block;
  padding: 14px 22px;
  color: #4b5262;
  font-size: 14px;
  text-transform: none;
  white-space: nowrap;
  border-bottom: 1px solid #eef0f4
}

.site-nav .dropdown-menu a:last-child {
  border-bottom: 0
}

.site-nav .dropdown-menu a:hover {
  background: var(--pale-sage);
  color: var(--blue);
  opacity: 1
}

@media(max-width:900px) {
  .nav-dropdown {
    padding: 0;
    margin: 0
  }

  .nav-dropdown .dropdown-toggle:after {
    display: none
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 22px;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none
  }

  .site-nav .dropdown-menu a {
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid #ededed
  }
}

body.lightbox-locked {
  overflow: hidden
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 24px
}

.gallery-lightbox.open {
  display: flex
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #060c22f0, #09102af7)
}

.lightbox-close,
.image-zoom-close {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(244, 239, 230, .45);
  border-radius: 50%;
  background: #080e268c;
  color: #f4efe6;
  font-size: 28px;
  line-height: 1;
  cursor: pointer
}

.lightbox-close:hover,
.image-zoom-close:hover {
  background: #f4efe6;
  color: #0a1230
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1000px, 100%);
  max-height: calc(100vh - 100px);
  color: #f4efe6;
  font-family: var(--display);
  text-align: center;
  overflow-y: auto
}

.lightbox-compare {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 840px
}

.compare-image {
  position: relative;
  flex: 1;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(244, 239, 230, .22);
  background: #0c1420
}

.zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in
}

.zoom-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease
}

.zoom-trigger:hover img {
  transform: scale(1.035)
}

.zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: #080e26b8;
  color: #fff;
  font-size: 21px;
  line-height: 1;
  opacity: .9
}

.compare-image figcaption {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 16px;
  padding: 6px 13px;
  background: #080e26bf;
  color: #f4efe6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  pointer-events: none
}

.lightbox-divider-label {
  position: relative;
  margin: 24px 0 18px;
  color: #f4efe6ad;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase
}

.lightbox-divider-label:before,
.lightbox-divider-label:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 64px;
  height: 1px;
  background: #f4efe638
}

.lightbox-divider-label:before {
  right: 100%;
  margin-right: 18px
}

.lightbox-divider-label:after {
  left: 100%;
  margin-left: 18px
}

.lightbox-process {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%
}

.process-viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(620px, calc(100% - 100px))
}

.process-zoom-trigger {
  width: 100%;
  height: clamp(220px, 34vh, 340px);
  border: 1px solid rgba(244, 239, 230, .25);
  border-radius: 10px;
  background: #0c1420;
  box-shadow: 0 20px 44px #0006
}

.process-zoom-trigger img {
  object-fit: contain
}

.process-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 3px 2px 8px;
  overflow-x: auto
}

.process-thumbnail {
  position: relative;
  flex: 0 0 76px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(244, 239, 230, .25);
  border-radius: 6px;
  background: #0c1420;
  cursor: pointer;
  opacity: .62
}

.process-thumbnail.active {
  border-color: #fff;
  opacity: 1
}

.process-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.process-thumbnail span {
  position: absolute;
  right: 4px;
  bottom: 3px;
  padding: 1px 4px;
  border-radius: 3px;
  background: #080e26cc;
  color: #fff;
  font-size: 9px
}

.lightbox-arrow {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, .4);
  background: #080e2680;
  color: #f4efe6;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, opacity .2s ease
}

.lightbox-arrow:hover:not(:disabled) {
  background: #f4efe6;
  color: #0a1230
}

.lightbox-arrow:disabled {
  cursor: default;
  opacity: .25
}

.lightbox-stage-label {
  margin: 14px 0 0;
  color: #f4efe6d9;
  font-size: 13px;
  letter-spacing: .05em
}

.lightbox-stage-label b {
  color: #f4efe6
}

.image-zoom {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 70px 32px 32px;
  background: #020512f5
}

.image-zoom.open {
  display: flex
}

.image-zoom-photo {
  display: block;
  max-width: min(94vw, 1500px);
  max-height: calc(100vh - 140px);
  object-fit: contain
}

.image-zoom-caption {
  margin: 0;
  color: #ffffffdb;
  font-size: 13px;
  text-align: center
}

.gallery-lightbox.single-image .compare-before,
.gallery-lightbox.single-image .lightbox-divider-label,
.gallery-lightbox.single-image .lightbox-process,
.gallery-lightbox.single-image .lightbox-stage-label {
  display: none
}

.gallery-lightbox.single-image .lightbox-compare {
  max-width: 620px
}

.gallery-lightbox.single-image .compare-after figcaption {
  display: none
}

@media(max-width:800px) {
  .gallery-lightbox {
    padding: 56px 16px 24px
  }

  .lightbox-content {
    max-height: calc(100vh - 80px)
  }

  .lightbox-compare {
    gap: 12px
  }

  .process-viewer {
    width: calc(100% - 74px)
  }

  .process-zoom-trigger {
    height: clamp(200px, 32vh, 280px)
  }

  .process-thumbnail {
    flex-basis: 62px;
    height: 48px
  }

  .lightbox-arrow {
    width: 38px;
    height: 38px;
    font-size: 15px
  }

  .lightbox-close,
  .image-zoom-close {
    top: 12px;
    right: 14px
  }

  .image-zoom {
    padding: 62px 14px 20px
  }
}

.image-zoom-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: #080e26b8;
  color: #fff;
  font-size: 22px;
  cursor: pointer
}

.image-zoom-previous {
  left: 24px
}

.image-zoom-next {
  right: 24px
}

.image-zoom-arrow:disabled {
  cursor: default;
  opacity: .28
}

.gallery-lightbox.gallery-only .lightbox-compare {
  display: none
}

.project-gallery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 3px;
  background: #0b143cd9;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease
}

.project-gallery-link:hover {
  background: #d9e8d9;
  color: var(--ink);
  transform: translateY(-2px)
}

.project-gallery-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px
}

.project-gallery-link span {
  font-size: 18px
}

@media(max-width:800px) {
  .projects-heading .project-gallery-link {
    margin-top: 18px
  }
}