/* Keep the complete construction scene visible while the left edge fades into the page. */
.hero-service-area {
  margin-top: 18px;
  padding-left: 13px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero-service-area strong {
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 1101px) {
  .hero.wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: min(1800px, 94%);
    min-height: 620px;
    padding-block: 35px 45px;
    isolation: isolate;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: 46%;
  }

  .hero-photo {
    position: absolute;
    z-index: 0;
    top: 25px;
    right: 0;
    bottom: 25px;
    width: 67%;
    min-height: 0;
    overflow: hidden;
  }

  .hero-photo > img {
    object-position: center;
  }

  .hero-photo::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, var(--bg) 0%, rgba(21, 19, 17, .9) 8%, rgba(21, 19, 17, .45) 20%, transparent 35%);
    pointer-events: none;
  }

  .hero-photo::after {
    inset: 75% 0 0;
    background: linear-gradient(transparent, rgba(21, 19, 17, .38));
  }

  .hero-photo figcaption {
    right: 18px;
    bottom: 16px;
    left: auto;
    padding: 6px 9px;
    background: rgba(21, 19, 17, .55);
    font-size: 11px;
    text-align: right;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 750px;
  }

  .hero-photo {
    min-height: 0;
    aspect-ratio: 1024 / 559;
  }

  .hero-photo > img {
    object-position: center;
  }
}

@media (max-width: 760px) {
  .hero-photo {
    aspect-ratio: 16 / 10;
  }

  .hero-photo figcaption {
    right: 10px;
    bottom: 10px;
    left: auto;
    padding: 5px 7px;
    background: rgba(21, 19, 17, .65);
    font-size: 11px;
    text-align: right;
  }
}
