.curtis-composite {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1182 / 665;
  background: #111;
}

.curtis-composite > img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: fill !important;
  object-position: center !important;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.curtis-composite .curtis-fix {
  z-index: 2;
  clip-path: polygon(
    12.78% 3.01%, 38.32% 9.62%, 38.58% 32.93%, 12.78% 31.43%,
    12.78% 3.01%,
    37.82% 11.58%, 40.36% 12.03%, 40.36% 13.68%, 42.81% 12.93%,
    42.81% 9.92%, 45.35% 10.23%, 45.35% 21.50%, 42.81% 21.50%,
    42.81% 16.84%, 40.27% 16.84%, 40.27% 18.05%, 37.90% 17.89%
  );
}

.curtis-composite .curtis-foreground {
  z-index: 3;
  clip-path: polygon(
    0 18.35%, 8.88% 17.44%, 17.34% 19.10%, 24.70% 22.71%,
    30.12% 28.27%, 34.69% 32.33%, 37.65% 40.75%, 36.38% 51.28%,
    28.60% 55.64%, 15.65% 52.63%, 0 51.73%
  );
}

body.editorial-reset #services-dialog .service-card-layout .curtis-composite {
  aspect-ratio: 4 / 3;
}

body.editorial-reset #services-dialog .service-card-layout .curtis-composite > img {
  object-fit: cover !important;
}

#photo-dialog .photo-view.curtis-photo-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

#photo-dialog .photo-view.curtis-photo-active > img {
  display: none !important;
}

#photo-dialog .curtis-modal-composite {
  width: min(100%, calc(68svh * 1182 / 665));
  max-height: 68svh;
  aspect-ratio: 1182 / 665;
  flex: 0 1 auto;
}

@media (max-width: 600px) {
  #photo-dialog .curtis-modal-composite {
    width: min(100%, calc(62svh * 1182 / 665));
    max-height: 62svh;
  }
}
