/* Dedicated areas for wordmark, art and controls: no labels over the drawing. */
.hero-opening-transition{position:absolute;z-index:6;pointer-events:none;aspect-ratio:.75}
@media(prefers-reduced-motion:no-preference){.hero h1{transition:top .42s ease,left .42s ease,font-size .42s ease}}
.journey-ready .hero{height:300svh;min-height:0}
.journey-ready .hero-stage{height:100svh;min-height:680px;overflow:hidden}
.journey-ready .hero h1{top:11%;z-index:1;pointer-events:none}
.journey-ready .hero-label,.journey-ready .hero-number,.journey-ready .hero-bottom,.journey-ready .hero-fallback{display:none}
/* The first HTML paint uses the same composition while scripts and WebGL load. */
.journey-ready:not(.journey-mounted) .hero-fallback{display:block;opacity:1;left:50%;top:37%;width:min(31svh,65vw);height:39%;max-height:46svh;transform:translateX(-50%) rotate(-1deg);z-index:2}
.journey-ready:not(.journey-mounted) .hero-fallback .framed-art-window{inset:10px}
.journey-deck{position:absolute;inset:25% 0 28%;perspective:1200px;z-index:2;touch-action:pan-y}
.journey-study.plate{position:absolute;left:50%;top:0;margin-left:calc(min(31svh,65vw)/-2);width:min(31svh,65vw);height:100%;max-height:46svh;aspect-ratio:.75;overflow:hidden;transition:none;transform-style:preserve-3d}
.journey-ready .hero-art{inset:23% 0 27%;z-index:3;pointer-events:none;transform:translateX(var(--journey-shift,0%));opacity:var(--journey-opacity,1)}
.journey-ready.sculpture-ready.journey-first .hero-art{pointer-events:auto}
.journey-ready.sculpture-ready .journey-study:first-child{visibility:hidden}
.journey-navigation{position:absolute;left:6%;right:6%;bottom:3%;text-align:center;z-index:5}
.journey-navigation>div{display:flex;align-items:center;justify-content:center;gap:30px}
.journey-navigation button{min-height:44px;min-width:44px;font-size:25px;color:#6b303c}
.journey-navigation button:disabled{opacity:.3}
.journey-count{font-size:12px;letter-spacing:.15em}
.journey-navigation p{font-size:12px;color:#73685f}
.journey-ready .sculpture-controls{bottom:15%;left:5%;right:5%}
.journey-ready .sculpture-controls>.eyebrow,.journey-ready .sculpture-status,.journey-ready .sculpture-pause{display:none}
.journey-ready:not(.sculpture-ready) .sculpture-controls,.journey-ready:not(.journey-first) .sculpture-controls{display:none}
.journey-ready .sculpture-tabs{margin:0}
.journey-ready .sculpture-angle input{min-height:30px}
@media(min-width:761px){.journey-ready .hero h1{top:4%;font-size:min(23vw,38svh)}.journey-deck{inset:30% 0 25%}.journey-ready .hero-art{inset:28% 0 24%}}
@media(max-width:760px){.journey-ready .hero-stage{min-height:650px}.journey-ready .hero h1{font-size:25vw;top:12%}.journey-navigation .eyebrow{font-size:11px}.journey-ready .sculpture-controls{bottom:16%}}
@media(prefers-reduced-motion:reduce){.journey-ready .hero{height:100svh}.journey-study.plate{transform-style:flat}}
/* Desktop: a quieter wordmark, with independent spaces for art and controls. */
@media(min-width:761px){
 .journey-ready .hero h1{top:12%;left:0;width:100%;font-size:min(18vw,26svh);text-align:center}
 .journey-deck{inset:37% 0 24%}
 .journey-ready .hero-art{inset:34% 0 20%}
 .journey-ready .sculpture-controls{left:6%;right:auto;bottom:7%;width:250px}
 .journey-ready .journey-navigation{left:auto;right:6%;top:auto;bottom:7%;width:270px}
 .journey-navigation .eyebrow{display:block;margin-bottom:10px}
 .journey-navigation p{margin-top:10px}
}
/* Preserve the original large framed opening until the visitor has seen it. */
.hero-opening .hero{height:300svh;min-height:0}
.hero-opening .hero-stage{height:100svh;min-height:650px}
.hero-opening .hero h1{top:16%;left:2.5%;width:95%;font-size:clamp(140px,24.1vw,420px);z-index:0}
.hero-opening .hero-fallback{display:block;opacity:1;width:auto;height:78%;aspect-ratio:.75;top:12%;left:50%;transform:translateX(-50%) rotate(-4deg);z-index:1}
.hero-opening .hero-label,.hero-opening .hero-number{display:block;top:65%;z-index:2}
.hero-opening .hero-bottom{display:flex;z-index:2}
.hero-opening .hero-art{visibility:hidden}
.hero-opening .journey-deck,.hero-opening .journey-navigation,.hero-opening .sculpture-controls{display:none}
@media(prefers-reduced-motion:reduce){.hero-opening .hero{height:100svh}}
@media(max-width:760px){
 .hero-opening .hero-stage{min-height:680px}
 .hero-opening .hero h1{top:16%;left:0;width:98%;font-size:25vw}
 .hero-opening .hero-fallback{width:auto;left:50%;top:24%;height:min(57svh,102vw);aspect-ratio:.75}
 .hero-opening .hero-label{top:auto;bottom:17%}
 .hero-opening .hero-number{top:40%}
}
/* Keep the artwork and caption together instead of anchoring them to opposite edges. */
.journey-study .framed-art-window{inset:10px}
.journey-navigation{top:calc(75% + 24px);bottom:auto}
@media(max-width:760px){
 .journey-ready .hero-stage{--art-top:calc(12% + 25vw + 24px);--art-height:min(38svh,74vw)}
 .journey-ready:not(.journey-mounted) .hero-fallback{top:var(--art-top);width:calc(var(--art-height)*.75);height:var(--art-height);max-height:none}
 .journey-deck{top:var(--art-top);bottom:auto;height:var(--art-height)}
 .journey-study.plate{width:calc(var(--art-height)*.75);height:100%;max-height:none;margin-left:calc(var(--art-height)*-.375)}
 .journey-study .framed-art-window{inset:9px}
 .journey-navigation{top:calc(var(--art-top) + var(--art-height) + 24px);bottom:auto}
 .journey-ready .hero-art{top:calc(var(--art-top) - 12px);height:calc(var(--art-height) + 24px);bottom:auto}
 .journey-ready.sculpture-ready.journey-first .sculpture-controls{top:calc(var(--art-top) + var(--art-height) + 12px);bottom:auto}
 .journey-ready.sculpture-ready .journey-navigation{top:calc(var(--art-top) + var(--art-height) + 100px)}
}
