/* Scroll parallax: softly blurred foreground and smaller distant leaves. */
.mori-leaves { position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: clip; }
.mori-leaves[hidden], body.admin-mode .mori-leaves { display: none; }
.mori-leaf { position: absolute; top: 0; perspective: 850px; pointer-events: none; }
.mori-leaf-1 { left: 8%; width: 142px; height: 249px; opacity: .34; filter: blur(3px); }
.mori-leaf-2 { left: 71%; width: 46px; height: 81px; opacity: .43; filter: blur(.9px); }
.mori-leaf-3 { left: 88%; width: 86px; height: 151px; opacity: .44; filter: blur(.35px); }
.mori-leaf-4 { left: 39%; width: 32px; height: 56px; opacity: .27; filter: blur(1.5px); }
.mori-leaf-5 { left: -3%; width: 188px; height: 329px; opacity: .23; filter: blur(5px); }
.mori-leaf-drift { width: 100%; height: 100%; animation: mori-leaf-breathe 8s ease-in-out infinite alternate; }
.mori-leaf-2 .mori-leaf-drift { animation-delay: -3s; animation-duration: 11s; }
.mori-leaf-3 .mori-leaf-drift { animation-delay: -5s; animation-duration: 9s; }
.mori-leaf-4 .mori-leaf-drift { animation-delay: -2s; animation-duration: 12s; }
.mori-leaf-5 .mori-leaf-drift { animation-delay: -6s; animation-duration: 10s; }
.mori-leaf-turn { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.mori-leaf-face { position: absolute; inset: 0; display: block; backface-visibility: hidden; }
.mori-leaf-back { transform: rotateY(180deg); }
.mori-leaf-face svg { display: block; width: 100%; height: 100%; }
@keyframes mori-leaf-breathe { from { transform: translateY(-6px) rotateZ(-2deg); } to { transform: translateY(7px) rotateZ(2deg); } }
@media (max-width: 900px) {
  .mori-leaf-1 { left: 5%; width: 110px; height: 193px; }
  .mori-leaf-3 { left: 82%; width: 70px; height: 123px; }
  .mori-leaf-5 { width: 150px; height: 263px; }
}
@media (max-width: 600px) {
  .mori-leaf-1 { left: 1%; width: 94px; height: 165px; opacity: .25; filter: blur(2.5px); }
  .mori-leaf-2 { left: 78%; width: 30px; height: 53px; opacity: .35; }
  .mori-leaf-3 { left: 79%; width: 56px; height: 98px; opacity: .3; }
  .mori-leaf-4, .mori-leaf-5 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mori-leaves { display: none; } .mori-leaf-drift { animation: none; } }
