/* Linda Pasfoto: de foto in een staand filmframe, met dezelfde kleurfilter als de fotostrip op de homepage. */

.lr-pasfoto-blok { position: relative; width: min(var(--lr-pf-breedte, 400px), calc(100% - 10px)); margin: 0 auto; }
.lr-pf-negatief {
  position: relative; display: block; margin: 0; aspect-ratio: 429 / 522;
  transform: rotate(3deg);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)) drop-shadow(0 14px 22px rgba(0, 0, 0, .4));
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.lr-pf-beeld { position: absolute; left: 15.618%; top: 3.64%; width: 68.298%; height: 92.72%; overflow: hidden; background: #1f1f1f; }
.lr-pf-beeld img {
  display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover;
  filter: saturate(.85) sepia(.12) contrast(1.05);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.lr-pf-beeld::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(66, 111, 79, .45), rgba(253, 211, 76, .28)); mix-blend-mode: soft-light; }
.lr-pf-film { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; pointer-events: none; }
.lr-pf-negatief:hover { transform: rotate(0deg) translateY(-4px); }
.lr-pf-negatief:hover .lr-pf-beeld img { transform: scale(1.04); }

/* waar de vlinder landt: de linkerbovenhoek van de foto */
.lr-pf-landing { position: absolute; top: -8%; left: -6%; width: clamp(70px, 8vw, 116px); aspect-ratio: 292 / 300; pointer-events: none; }
/* on the right-hand corner the spot is a point (no width), so it never pushes the page wider than the screen */
@media (max-width: 800px) { .lr-pf-landing { left: auto; right: calc(-8% + clamp(70px, 8vw, 116px)); top: -10%; width: 0; } }

/* de vlinder en zijn sterretjes zweven boven de hele pagina */
.lr-pf-laag { position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; pointer-events: none; }
.lr-pf-vlinder { position: absolute; left: 0; top: 0; z-index: 9990; width: clamp(70px, 8vw, 116px); color: #f2f5f7; pointer-events: none; opacity: 0; }
.lr-pf-vlinder svg { display: block; width: 100%; height: auto; overflow: visible; }
.lr-pf-vlinder .m-lijn path { fill: none; stroke: currentColor; stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.lr-pf-vlinder .m-sterren path { fill: currentColor; stroke: currentColor; stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.lr-pf-vlinder .m-vleugel { transform-box: view-box; }
.lr-pf-vlinder.is-vliegend .m-vleugel--links, .lr-pf-vlinder.is-vliegend .m-vleugel--rechts { animation: lr-pf-flap .22s ease-in-out infinite alternate; }
@keyframes lr-pf-flap { to { transform: scaleX(.25); } }
.lr-pf-ster { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; fill: #f2f5f7; z-index: 9989; pointer-events: none; animation: lr-pf-vervaag 1.6s ease-out forwards; }
@keyframes lr-pf-vervaag { from { opacity: .9; transform: scale(1) rotate(0); } to { opacity: 0; transform: scale(.2) rotate(90deg) translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .lr-pf-negatief, .lr-pf-beeld img { transition: none; } }

/* landing spot at the end of the page: centred, the same size as the butterfly */
.lr-pf-eind { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.lr-pf-eind-plek { display: block; width: clamp(70px, 8vw, 116px); aspect-ratio: 292 / 300; }
