/* Native rose paper beneath the clean, transparent Rita photographs. */
.compare {
  isolation: isolate;
  background: #FFEAFE;
}
.compare::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('images/ui/canvas-grain.png') repeat;
  background-size: 180px;
  opacity: .9;
  mix-blend-mode: soft-light;
}
.compare__media { z-index: 2; }
.compare__stage,
.compare__img,
.compare__bottom,
.compare__top { background: transparent; }
.compare__img,
.compare__bottom,
.compare__top { z-index: 2; }
.compare__img { object-fit: contain; }
.compare__bottom {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--x));
}
.compare__line,
.compare__knob { z-index: 3; }
@media (min-width: 768px) {
  .compare__img { inset: 72px 0 24px; height: calc(100% - 96px); }
}
@media (max-width: 767px) {
  .compare__img { width: 160%; mask-image: none; }
}
