/* Wind in the hero: the hanging sign sways gently on its ropes, and a few leaves drift across the scene.
   Distant leaves are small and soft, near ones are larger and blurred (depth of field). Leaves stay
   inside the scene layer, so they always pass behind the headline and buttons. */
/* sways forward and back on its ropes (hinge at the top), like wind pushing the board away and it swinging back */
.layer[data-layer=sign]{perspective:700px}
.layer[data-layer=sign] img{transform-origin:50% 0;backface-visibility:hidden;animation:sign-sway 5.5s ease-in-out infinite}
@keyframes sign-sway{0%,100%{transform:rotateX(0deg)}
  25%{transform:rotateX(16deg) rotateY(-1.5deg)}
  50%{transform:rotateX(-5deg)}
  72%{transform:rotateX(9deg) rotateY(1deg)}
  88%{transform:rotateX(-2deg)}}

/* Drifting leaves (spawned by leaves.js): few at a time, random paths in any direction.
   "back" leaves pass behind the scene objects / section content, "front" ones pass over them, softly blurred. */
.wind{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.leafbox{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.leaf{position:absolute;left:0;top:0;height:auto;pointer-events:none;will-change:transform,opacity}
.leaf.back{z-index:4;filter:blur(.4px) saturate(.9)}
.leaf.front{z-index:40;filter:blur(1.6px)}
.wind .leaf.back{z-index:4}
.wind .leaf.front{z-index:17}
.sx>.leafbox .leaf.back{z-index:0}
@media(prefers-reduced-motion:reduce){.layer[data-layer=sign] img{animation:none!important}.leaf{display:none}}
body.paused .layer[data-layer=sign] img{animation-play-state:paused}
body.paused .leaf{display:none}
