.work-gallery {
  background: #0b0d0f;
  padding: 120px 6vw;
}

.gallery-heading {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  column-gap: 7vw;
  align-items: end;
  margin-bottom: 56px;
}

.gallery-heading .eyebrow {
  grid-column: 1 / -1;
}

.gallery-heading h2 {
  font-size: clamp(3.6rem, 6vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.02em;
}

.gallery-heading > p:last-child {
  color: #aeb5b9;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 0 5px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #181c20;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: saturate(.85) contrast(1.04);
  transition: transform .5s ease, filter .5s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.04);
}

.gallery-grid .gallery-main img {
  height: 620px;
}

.gallery-grid figure:nth-child(2) img {
  height: 620px;
}

.gallery-grid .gallery-wide {
  grid-column: 1 / -1;
}

.gallery-grid .gallery-wide img {
  height: 480px;
}

.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  padding: 48px 22px 20px;
  color: #fff;
  font: 600 1.35rem "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: linear-gradient(transparent, rgba(0,0,0,.84));
}

.gallery-grid figcaption span {
  color: #e30613;
}

@media (max-width: 800px) {
  .work-gallery { padding: 84px 6vw; }
  .gallery-heading { grid-template-columns: 1fr; row-gap: 28px; margin-bottom: 38px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-wide { grid-column: auto; }
  .gallery-grid img,
  .gallery-grid .gallery-main img,
  .gallery-grid figure:nth-child(2) img,
  .gallery-grid .gallery-wide img { height: 440px; }
}
