/* soft-edges: class="m-soft" on a photo frame makes its edges melt into the page (from
   apps/lash-room/public/assets/site.css, 24.10.2026). Every edge fades out over its outer --soft and the middle stays
   fully opaque, so the picture itself isn't dimmed. Two straight fades, intersected (a radial one would eat the
   corners). With the parallax tool, put it on the [data-px] frame (which doesn't move), never on the moving layer, so
   nothing repaints while scrolling. */
:root { --soft: 15%; }
@media (max-width: 959.98px) { :root { --soft: 10%; } }
.m-soft {
  --soft-a: rgba(0, 0, 0, .5) calc(var(--soft) * .45), #000 var(--soft), #000 calc(100% - var(--soft)), rgba(0, 0, 0, .5) calc(100% - var(--soft) * .45);
  border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--soft-a), transparent), linear-gradient(180deg, transparent, var(--soft-a), transparent);
  mask-image: linear-gradient(90deg, transparent, var(--soft-a), transparent), linear-gradient(180deg, transparent, var(--soft-a), transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
