.jobsite-proof {
  padding: clamp(65px, 8vw, 120px) clamp(20px, 8vw, 125px);
  background: #121212;
}

.proof-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.proof-heading h2 {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
}

.proof-heading h2 span {
  color: var(--orange);
}

.proof-heading > p:last-child {
  max-width: 720px;
  color: #d4d4d4;
  font-size: 1.05rem;
  line-height: 1.7;
}

.proof-gallery {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, minmax(260px, 360px));
  gap: 18px;
}

.proof-gallery figure {
  position: relative;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  background: #222;
}

.proof-gallery .proof-wide {
  grid-row: 1 / 3;
}

.proof-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-gallery .proof-wide img {
  object-position: center;
}

.proof-gallery figure:nth-child(2) img {
  object-position: center 58%;
}

.proof-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px 18px 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .9));
  color: #fff;
  font-weight: 800;
}

.proof-gallery-more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.proof-gallery-more figure {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  background: #222;
}

.proof-gallery-more .proof-feature {
  grid-column: span 2;
}

.proof-gallery-more img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-gallery-more .proof-feature img {
  object-position: center 42%;
}

.proof-gallery-more figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px 18px 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .9));
  color: #fff;
  font-weight: 800;
}

@media (max-width: 850px) {
  .proof-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .proof-gallery .proof-wide {
    grid-row: auto;
  }

  .proof-gallery figure {
    min-height: 360px;
  }

  .proof-gallery-more {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-gallery-more .proof-feature {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .jobsite-proof {
    padding-right: 22px;
    padding-left: 22px;
  }

  .proof-gallery figure {
    min-height: 290px;
  }

  .proof-gallery-more {
    grid-template-columns: 1fr;
  }

  .proof-gallery-more figure,
  .proof-gallery-more .proof-feature {
    grid-column: auto;
    min-height: 290px;
  }
}
