body.mechanical-trim {
  position: relative;
  isolation: isolate;
}

/* The gears run behind the page content and strengthen toward the right edge. */
.mechanical-trim::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: clamp(170px, 34vw, 540px);
  content: "";
  pointer-events: none;
  background: url("/projects/business-art/repair-gears.webp") repeat-y right top / 100% auto;
  opacity: .26;
  mask-image: linear-gradient(to right, transparent, #0004 45%, #000 100%);
}

@media (max-width: 600px) {
  .mechanical-trim::before {
    opacity: .20;
  }
}
