.work-section {
  padding: 110px clamp(22px, 7vw, 120px);
  background: #f4f4f1;
  color: #0b0d10;
}

.work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: end;
  gap: clamp(32px, 7vw, 100px);
  margin-bottom: 48px;
}

.work-heading h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: .96;
  letter-spacing: -3px;
}

.work-heading > p {
  margin: 0;
  color: #555b63;
  font-size: 17px;
  line-height: 1.65;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
}

.headlight-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  min-height: 610px;
  overflow: hidden;
  background: #101318;
  color: white;
}

.headlight-feature figure,
.result-card {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.headlight-feature figure::after,
.result-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.headlight-feature figure::after {
  background: linear-gradient(0deg, #05060799, transparent 45%);
}

.headlight-feature img,
.result-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.headlight-feature:hover img,
.result-card:hover img {
  transform: scale(1.025);
}

.headlight-feature figure figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  padding: 9px 12px;
  background: #0b0d10dd;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
}

.headlight-copy {
  align-self: center;
  padding: clamp(34px, 5vw, 70px);
}

.headlight-copy .tag {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.headlight-copy h3 {
  margin: 20px 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: .98;
  letter-spacing: -2px;
}

.headlight-copy > p:not(.tag) {
  color: #c4c8ce;
  font-size: 17px;
  line-height: 1.65;
}

.headlight-copy ul {
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.headlight-copy li {
  padding: 12px 0 12px 23px;
  border-top: 1px solid #30343b;
  background: linear-gradient(var(--red), var(--red)) 0 center / 9px 2px no-repeat;
  color: #eef0f2;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.headlight-copy li:last-child {
  border-bottom: 1px solid #30343b;
}

.headlight-copy a {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration-color: var(--red);
  text-underline-offset: 6px;
}

.result-card {
  min-height: 420px;
  background: #171a1f;
}

.result-card::after {
  background: linear-gradient(0deg, rgba(5,7,9,.92), transparent 58%);
}

.result-card figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}

.result-card strong {
  max-width: 360px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -1px;
}

.result-card span {
  color: #d0d3d8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-align: right;
}

@media (max-width: 940px) {
  .work-heading,
  .headlight-feature {
    grid-template-columns: 1fr;
  }

  .headlight-feature {
    min-height: 0;
  }

  .headlight-feature figure {
    min-height: 480px;
  }
}

@media (max-width: 760px) {
  .work-section {
    padding-block: 80px;
  }

  .work-heading {
    gap: 22px;
    margin-bottom: 34px;
  }

  .work-heading h2 {
    font-size: 45px;
    letter-spacing: -2px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .headlight-feature figure {
    min-height: 340px;
  }

  .headlight-copy {
    padding: 36px 23px 42px;
  }

  .headlight-copy h3 {
    font-size: 38px;
  }

  .result-card,
  .result-card-wide {
    min-height: 380px;
  }

  .result-card figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .result-card span {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .headlight-feature img,
  .result-card img {
    transform: none;
    transition: none;
  }
}
