/* Three-layer opening, ANMAR's height, no pin and no zoom. Back: the grove. Middle: the room,
   window cut out. Front: eucalyptus. As the opening scrolls away the layers drift at different
   speeds (grove slowest, branch fastest), so the window reads as real depth. --p comes from hz-hero.js:
   0 with the opening fully on screen, 1 once it has scrolled off. Every gap a slower layer opens
   sits in the part of the section that has already scrolled above the screen. */
.hz-hero { position: relative; background: var(--color-navy-deep); }
.hz-sticky { position: relative; height: 92svh; min-height: 580px; overflow: hidden; background: var(--color-ink, #1b1714); --p: 0; }
.hz-layer { position: absolute; inset: 0; pointer-events: none; }
.hz-layer img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; }
.hz-back { z-index: 0; }
.hz-back img { transform: scale(1.08); }
.hz-wall { z-index: 1; }
.hz-shade { z-index: 2; pointer-events: none; }
.hz-fore { position: absolute; z-index: 3; right: -4vw; top: -3vh; width: min(34vw, 30rem); pointer-events: none; }
.hz-fore img { display: block; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 16px 22px rgba(20, 16, 12, .28)); }
.hz-in { transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.hz-sticky:not(.hz-on) .hz-in { opacity: 0; transform: translateY(1rem); }
@media (orientation: portrait) {
  .hz-fore { width: 62vw; right: -14vw; top: 2vh; }
}
/* Still by Jason's choice (2026-11-17): the layers do not move on scroll. */
@media (prefers-reduced-motion: reduce) {
  .hz-in { transition: none; }
}
