/* One sticky stage carries the mountain reveal straight into the offerings. */
:root{--mountain-scroll:170svh;--gallery-reveal-end:.62;--gallery-reveal-distance:calc(var(--mountain-scroll)*var(--gallery-reveal-end))}
.opening{height:calc(100svh + var(--gallery-reveal-distance))}
.discovery.mountain-entry{margin-top:calc(-100svh - var(--gallery-reveal-distance));height:calc(var(--gallery-stage-height,100svh) + 125svh + var(--gallery-reveal-distance));z-index:2;background:transparent;pointer-events:none}
.discovery.mountain-entry .discovery-stage{position:sticky;top:0;transform:none;background:var(--ink);opacity:var(--gallery-entry-opacity,0);pointer-events:var(--gallery-entry-pointer,none);will-change:opacity}
@media(max-width:760px){.discovery.mountain-entry{height:calc(var(--gallery-stage-height,100svh) + var(--gallery-reveal-distance))}.discovery.mountain-entry .discovery-stage{padding-top:100px}}
@media(max-width:650px){:root{--mountain-scroll:180svh}}
@media(prefers-reduced-motion:reduce){.opening{height:auto}.discovery.mountain-entry{margin-top:0;height:auto;pointer-events:auto}.discovery.mountain-entry .discovery-stage{position:relative;transform:none;opacity:1;pointer-events:auto}}

/* On phones the silhouette is a transform-only layer; no animated SVG mask. */
.mountain-zoom{display:none;position:absolute;left:0;top:0;width:384px;height:384px;transform-origin:0 0;color:var(--ink);pointer-events:none}
.portal.mobile-mountain{clip-path:none!important;background:transparent}
.portal.mobile-mountain:before{display:none}
.mobile-mountain .mountain-zoom{display:block;will-change:transform;backface-visibility:hidden}
.portal.mobile-mountain.mountain-covered{background:var(--ink)}
.mountain-covered .mountain-zoom{visibility:hidden}
@media(max-width:760px){
  .hero-art{transform:none!important;perspective:none}
  .art-composition{transform:none!important;transform-style:flat}
  .hero-art .art-tile,.hero-art .blue-ball,.hero-art .yellow-ball,.hero-art .art-dot{translate:none!important;rotate:none!important;scale:1!important;transition:none;will-change:auto}
}
