/* Generated into assets/ by npm run build in src/home-scene. */
/* The supplied composition stays transparent, proportional and full width.
   Repeat vertically so long pages never scroll past the artwork. */
.home-space {
  bottom: auto;
  height: var(--home-backdrop-h, 100lvh);
  min-height: 100%;
}
.home-cast--artwork {
  width: 100%;
  height: var(--cast-h, 100vh);
  /* How far each column of Bunnybats sits out toward its side (the user, 2026-11-18: "move the mid'ground
     parallax bunnybats a little bit to the sides to not crowd the user's central bunnybat"). The art is two
     columns (left 6.2-42%, right 59.5-93.8% of its width). The user, later the same day: "move the parallax just a
     bit outward more to avoid this overlap on the incoming homepagev2 features", so 8% (was 5%): the outer ~2% of
     each column's edge art now runs off the screen side (cropped, never squeezed). */
  --cast-apart: 8%;
}
.home-cast-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* The artwork twice, each copy showing one column, slid apart: Nate's picture cut in two, never redrawn or
   stretched. Each column's clip moves with it. */
.home-cast-art::before,
.home-cast-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/home-scene/homepagev2-midground-2100.webp') center top / 100% auto repeat-y;
}
.home-cast-art::before {
  clip-path: inset(0 50% 0 0);
  transform: translateX(calc(-1 * var(--cast-apart)));
}
.home-cast-art::after {
  clip-path: inset(0 0 0 50%);
  transform: translateX(var(--cast-apart));
}
@media (max-width: 600px) {
  .home-cast-art::before,
  .home-cast-art::after {
    background-image: url('../images/home-scene/homepagev2-midground-1050.webp');
  }
}
/* Preserve the small Castle Unity door in the open space beside the left cast (moved out with it). */
.home-cast--artwork .castle-key-hotspot {
  left: calc(28.81% - var(--cast-apart));
  top: 28.1vw;
  width: max(16px, 2.05%);
}
