/* Foreground reference alignment. Only rake, pot and attached tree sign. */
.layer[data-layer=rake],.layer[data-layer=pot]{height:auto;bottom:calc(var(--soil-height) * .78);--depth:.45}
.layer[data-layer=rake]{left:1%;width:min(17.5vw,300px);aspect-ratio:941/1672}
.layer[data-layer=pot]{left:-1%;width:min(15vw,250px);aspect-ratio:1079/1458}
.layer[data-layer=rake] img,.layer[data-layer=pot] img{object-fit:contain;object-position:center bottom}
.layer[data-layer=sign]{left:4%;top:8%;width:19%;height:auto;aspect-ratio:1302/1208;--depth:.25}
@media(max-width:1400px) and (max-aspect-ratio:8/5){
 .layer[data-layer=rake]{left:1%;width:19%;height:auto}
 .layer[data-layer=pot]{left:-1%;width:16%;height:auto}
 .layer[data-layer=sign]{left:3%;top:8%;width:22%;height:auto}
}
@media(max-width:1100px) and (max-aspect-ratio:4/5){
 .layer[data-layer=rake]{left:1%;width:39%;height:auto}
 .layer[data-layer=pot]{left:-2%;width:29%;height:auto}
 .layer[data-layer=sign]{left:0;top:11%;width:38%;height:auto}
}
@media(max-height:600px) and (min-aspect-ratio:5/4){
 .layer[data-layer=rake]{left:1%;width:19%;height:auto}
 .layer[data-layer=pot]{left:-1%;width:16%;height:auto}
 .layer[data-layer=sign]{left:3%;top:8%;width:22%;height:auto}
}

/* The hero sign is now nailed to the tree (no ropes): it no longer swings, it lands with a small knock
   when the scene arrives and casts a soft shadow on the trunk. */
.scene-stage .layer[data-layer=sign] img,.scene-ready .scene-stage .layer[data-layer=sign] img{transform-origin:50% 60%;animation:none;filter:drop-shadow(0 1.2vw 1vw #2a160866)}
.motion-enabled.scene-ready .scene-stage .layer[data-layer=sign] img,.scene-ready .scene-stage .layer[data-layer=sign] img{animation:sign-nail .9s .7s cubic-bezier(.3,1.5,.5,1) both}
@keyframes sign-nail{0%{opacity:0;transform:translateY(-6%) scale(.92) rotate(-4deg)}55%{opacity:1;transform:translateY(1%) scale(1.02) rotate(1deg)}75%{transform:translateY(0) scale(.99) rotate(-.5deg)}100%{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.scene-stage .layer[data-layer=sign] img{animation:none!important}}
