.ext-home-photo-strip,
.ext-about-photo-strip,
.ext-job-photo-strip,
.ext-service-photo-strip {
  padding: 18px 0 74px;
}

.ext-home-photo-strip > .container,
.ext-about-photo-strip > .container,
.ext-job-photo-strip,
.ext-service-photo-strip > .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ext-about-photo-strip > .container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ext-home-photo-strip figure,
.ext-about-photo-strip figure,
.ext-job-photo-strip figure,
.ext-service-photo-strip figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}

.ext-home-photo-strip img,
.ext-about-photo-strip img,
.ext-job-photo-strip img,
.ext-service-photo-strip img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform .45s ease;
}

.ext-home-photo-strip figure:hover img,
.ext-about-photo-strip figure:hover img,
.ext-job-photo-strip figure:hover img,
.ext-service-photo-strip figure:hover img {
  transform: scale(1.035);
}

.ext-home-photo-strip figcaption,
.ext-about-photo-strip figcaption,
.ext-job-photo-strip figcaption,
.ext-service-photo-strip figcaption {
  padding: 13px 15px;
  background: #fff;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
}

.ext-job-photo-strip {
  margin-top: 30px;
  padding: 0;
}

.ext-job-photo-strip img {
  height: 190px;
}

.ref-office-address img {
  width: 100%;
  height: 180px;
  margin: 0 0 18px;
  object-fit: cover;
}

.ref-gallery-grid figure[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .ext-home-photo-strip,
  .ext-about-photo-strip,
  .ext-job-photo-strip,
  .ext-service-photo-strip {
    padding-bottom: 48px;
  }

  .ext-home-photo-strip > .container,
  .ext-about-photo-strip > .container,
  .ext-job-photo-strip,
  .ext-service-photo-strip > .container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ext-home-photo-strip img,
  .ext-about-photo-strip img,
  .ext-job-photo-strip img,
  .ext-service-photo-strip img {
    height: 230px;
  }
}

@media (max-width: 650px) {
  .header__inner {
    gap: 6px;
    min-height: 76px;
  }

  .header__inner .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }

  .header__inner .brand img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .header__inner .brand__text {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    line-height: 1.15;
  }

  .header__inner .brand__text strong {
    font-size: .54rem;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .header__inner .brand__text span {
    align-self: flex-start;
    margin-top: 3px;
    font-size: .58rem;
    line-height: 1.25;
    white-space: normal;
  }

  .header__inner .nav-toggle {
    flex: 0 0 auto;
    padding: 8px;
  }
}

/* Home section photographs retain their intended composition at every width. */
.ext-home-feature__image img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ext-home-photo-strip img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* About photographs keep the full landscape composition on all screens. */
.ref-about .ext-values__intro img,
.ext-about-photo-strip img {
  display: block;
  height: auto;
  aspect-ratio: 9 / 4;
  object-fit: cover;
}
