/* The street scene belongs only to the opening of Services. */
.services-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 36px;
}
.services-hero::before,
.services-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.services-hero::before {
  inset: -5px;
  background: url("assets/possibilities-street-sketch.png") center bottom / cover no-repeat;
  opacity: .19;
  filter: grayscale(1) invert(1) blur(1.2px);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
  mask-image: linear-gradient(180deg, #000 78%, transparent);
}
.services-hero::after {
  inset: 0;
  background: url("assets/noise.png") repeat;
  mix-blend-mode: soft-light;
  opacity: .08;
}
.services-hero .page-hero { position: relative; min-height: 600px; }
.services-hero .page-hero-copy { position: relative; z-index: 1; }
.services-drone {
  position: relative;
  align-self: start;
  margin-top: 12px;
  pointer-events: none;
  transform: translate3d(var(--drone-x, 0px), var(--drone-y, 0px), 0) rotate(var(--drone-angle, 0deg));
}
.services-drone img {
  display: block;
  width: 120%;
  max-width: none;
  height: auto;
  margin-left: -10%;
  opacity: .58;
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}
:root[data-theme="light"] .services-hero::before {
  opacity: .24;
  filter: grayscale(1) blur(1.2px);
  mix-blend-mode: multiply;
}
:root[data-theme="light"] .services-hero::after { mix-blend-mode: multiply; opacity: .035; }
:root[data-theme="light"] .services-drone img { opacity: .65; filter: grayscale(1); mix-blend-mode: multiply; }
@media (max-width: 1050px) {
  .services-hero .page-hero { min-height: 0; }
  .services-drone { margin-top: 40px; }
}
@media (max-width: 680px) {
  .services-hero { margin-bottom: 16px; }
  .services-hero::before { background-size: auto 720px; background-position: center bottom; }
  .services-hero .page-hero { gap: 20px; padding-bottom: 40px; }
  .services-drone { margin-top: 0; width: min(100%, 380px); justify-self: center; }
  .services-drone img { width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .services-drone { transform: none; }
}
