.brand {
  display: block;
  width: 230px;
  height: 76px;
  overflow: hidden;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 610px;
}

.home-hero .hero-copy {
  max-width: 720px;
}

.hero-photo {
  position: relative;
  margin: 0;
  height: 540px;
  overflow: hidden;
  background: #d8e0e4;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  z-index: 1;
  pointer-events: none;
}

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

.hero-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: .4rem .7rem;
  color: #fff;
  background: rgba(20, 43, 58, .86);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.project-grid figure {
  margin: 0;
  overflow: hidden;
  background: #e8ecef;
  aspect-ratio: 4 / 3;
}

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

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr 320px;
    gap: 2rem;
  }

  .hero-photo {
    height: 470px;
  }
}

@media (max-width: 700px) {
  .brand {
    width: 175px;
    height: 60px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 0;
  }

  .hero-photo {
    height: min(115vw, 540px);
  }

  .section-heading,
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-grid figure {
    aspect-ratio: 4 / 3;
  }
}
