.jh-scene-layers, .jh-selection-front { position: absolute; inset: 0; pointer-events: none; }
.jh-scene-layers { z-index: 0; transition: opacity 240ms ease; }
.jh-selection-front { z-index: 1; }
.jh-object-layer { position: absolute; pointer-events: none; filter: drop-shadow(1px 2px 1px rgb(25 39 57 / .07)); }
.jh-object-crop { display: block; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.jh-hero-scene[data-interactions-ready=true] .jh-object-layer { transition: transform 360ms cubic-bezier(.18, .78, .25, 1), filter 240ms ease; }
.jh-hero-scene:is([data-selection], [data-windows]) .jh-scene-layers { opacity: .26; }
.jh-selection-front > .jh-object-layer.is-selected {
  transform: translateY(calc(-1 * clamp(7px, .85vw, 14px)));
  filter: drop-shadow(0 8px 6px rgb(30 43 65 / .20));
}
.jh-plant-layer { position: absolute; overflow: visible; pointer-events: none; }
.jh-plant-layer > .jh-leaf-layer { display: block; width: 100%; height: 100%; overflow: visible; transform-box: fill-box; transform-origin: var(--jh-leaf-origin, 50% 100%); }
.jh-leaf-layer img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
@keyframes jh-leaf-sway {
  0%, 100% { transform: rotate(0deg); }
  16% { transform: rotate(var(--jh-leaf-sway-amplitude, 1deg)); }
  36% { transform: rotate(calc(var(--jh-leaf-sway-amplitude, 1deg) * -.8)); }
  56% { transform: rotate(calc(var(--jh-leaf-sway-amplitude, 1deg) * .52)); }
  76% { transform: rotate(calc(var(--jh-leaf-sway-amplitude, 1deg) * -.26)); }
}
.jh-leaf-sway { animation: jh-leaf-sway 1s ease-in-out 1; }
@media (prefers-reduced-motion: reduce) {
  .jh-hero-scene[data-interactions-ready=true] .jh-object-layer, .jh-scene-layers { transition: none !important; }
  .jh-selection-front > .jh-object-layer.is-selected { transform: none; filter: drop-shadow(2px 4px 3px rgb(30 43 65 / .2)); }
  .jh-leaf-sway { animation: none !important; }
}
