/* The two paths share their height and baseline with the homepage wordmark motif. */
.hero-photo {
  --photo-inset: clamp(12px, 1.6vw, 28px);
  --photo-base: 62px;
  --photo-curve: clamp(72px, 9vw, 154px);
  --photo-cut: clamp(54px, 7vw, 108px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  background: #1f1f1f;
}
.hero-photo > img, .hero-photo::before, .hero-photo::after {
  position: absolute;
  inset: var(--photo-inset) var(--photo-inset) var(--photo-base) 0;
  border-top-left-radius: var(--photo-curve);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--photo-cut)), calc(100% - var(--photo-cut)) 100%, 0 100%);
}
.hero-photo::before {
  content: "";
  background: #adadad;
  transform: translate(0, 4px);
}
.hero-photo > img {
  display: block;
  width: calc(100% - var(--photo-inset));
  height: calc(100% - var(--photo-inset) - var(--photo-base));
  object-fit: cover;
  filter: brightness(.86) saturate(.91);
}
.hero-photo::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgb(7 23 17 / .24) 72%, rgb(7 23 17 / .72));
}
.photo-lines {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 32px;
  width: 100%;
  height: 60px;
  overflow: visible;
  fill: none;
  stroke: #b6b6b6;
  stroke-width: 3;
  pointer-events: none;
}
.photo-lines img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill }
.photo-lines .signal {
  clip-path: inset(0 49% 0 44%);
}
.photo-caption { position: absolute; left: 14px; bottom: 4px; color: #dcdcdc; font: .78rem/1.4 "Segoe UI",Arial,sans-serif }
@media (prefers-reduced-motion: no-preference) {
  .photo-lines .signal { animation: signal-pass 4.5s linear 1 }
  .photo-lines .return { animation-direction: reverse; animation-delay: -1.5s }
  @keyframes signal-pass {
    from { clip-path: inset(0 100% 0 -7%) }
    to { clip-path: inset(0 -7% 0 100%) }
  }
}
@media (max-width: 720px) {
  .hero-photo {
    --photo-inset: 14px;
    --photo-base: 48px;
    --photo-curve: 62px;
    --photo-cut: 48px;
    min-height: clamp(215px, 50vw, 320px);
  }
  .hero-photo > img, .hero-photo::before, .hero-photo::after { left: var(--photo-inset) }
  .hero-photo > img { width: calc(100% - 2 * var(--photo-inset)) }
}
