.fig-scene {
  position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none;
  container-type:size; background:#102318 url('./foliage.webp') center / cover;
}
.fig-stage {
  /* One reference pixel. Cap by both available columns and visible height. */
  --u:clamp(.26px,min(.054cqw,.096cqh,.102svh),.88px);
  position:absolute; width:calc(1672 * var(--u)); height:calc(941 * var(--u));
  left:calc(50% + min(26cqw,400px) - 1160 * var(--u));
  top:calc(max(115px, (min(100cqh,100svh) - 790 * var(--u)) / 2) - 85 * var(--u));
  background:url('./forest.webp') center / 100% 100%;
  mask-image:linear-gradient(to right,transparent,#000 17%,#000 92%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 93%,transparent);
  mask-composite:intersect;
}
.fig-tree {position:absolute;left:46.89%;top:9.03%;width:44.56%;height:83.95%;background:url('./tree.webp') center / 100% 100%}
.fig-scene.is-growing .fig-tree {background:none}
.fig-seed {display:none;position:absolute;left:69.2%;top:71.84%;width:.66%;height:.75%;border-radius:65% 35% 60% 40%;background:radial-gradient(ellipse at 35% 20%,#eed1a1,#8b6237 55%,#47381d);box-shadow:0 2px 3px #23230d;transform:rotate(-20deg)}
.fig-scene.is-growing .fig-seed {display:block}
.hero:has(.fig-scene) .hero-media {visibility:hidden}
.hero:has(.fig-scene) :is(.hero-shade,.hero-botanical) {pointer-events:none}
@media(max-width:900px) {
  .fig-stage {--u:min(.104cqw,.49px);left:calc(50% - 1160 * var(--u));top:calc(89px - 85 * var(--u))}
  .hero:has(.fig-scene) .hero-content {padding-top:calc(103px + min(82.2vw,387px))}
  .fig-scene {background-image:linear-gradient(to bottom,transparent 25%,#0b2118 75%),url('./foliage.webp')}
}
