/* Keep the sculpture's studio language and let the camera occupy the screen. */
.journey-page .chapter-hero{align-items:flex-start;padding-top:clamp(115px,16vh,175px)}
.journey-page .chapter-hero .copy{max-width:48%}
.journey-page .chapter-hero h1{font-size:clamp(56px,7.1vw,136px)}
.journey-page .chapter-hero::after{background:linear-gradient(90deg,rgb(231 217 202 / .35),transparent 44%)}
.journey-page .chapter:not(.chapter-hero){align-items:flex-end;padding-bottom:78px}
.journey-page .chapter:not(.chapter-hero)::after{background:linear-gradient(0deg,rgb(231 217 202 / .98),rgb(231 217 202 / .78) 10%,transparent 31%)}
.journey-page .chapter:not(.chapter-hero) .copy{max-width:490px}
.journey-page .chapter:not(.chapter-hero) h2{font-size:clamp(35px,3.9vw,68px);line-height:1.04;letter-spacing:-.06em}
.journey-page .chapter:not(.chapter-hero) .copy p{max-width:420px;margin-top:16px;font-size:15px;line-height:1.5}
.journey-page .chapter .copy p.eyebrow{font-size:10px;margin-top:0;margin-bottom:15px;letter-spacing:.08em}
.journey-page .chapter-hero .copy p.packet-legend{margin-top:22px;font:10px/1.4 'Geist Mono',monospace;letter-spacing:.02em;color:var(--muted)}
.journey-page .packet-legend::before{content:'';display:inline-block;width:7px;height:7px;margin-right:10px;background:var(--ember)}
.journey-page .journey-route{display:none;position:absolute;z-index:3;bottom:27px;left:var(--gutter);width:clamp(190px,25vw,360px);pointer-events:none;font:9px/1.5 'Geist Mono',monospace;color:var(--muted)}
.journey-page .journey-route span{display:flex;justify-content:space-between;margin-bottom:7px}
.journey-page .journey-route i{display:block;height:1px;background:var(--rule);position:relative}
.journey-page .journey-route i::after{content:'';display:block;height:1px;width:100%;background:var(--ember);transform-origin:left;transform:scaleX(var(--journey-progress,0))}
.journey-page[data-motion=animated] .journey-route{display:block}
.journey-page .sequence-status{bottom:65px}
.journey-page .static-art img,.journey-page .poster img{object-fit:cover!important}
.journey-page .previous-study{margin-left:auto}
.journey-page .illustration-note{font-size:12px;line-height:1.6;color:var(--muted);max-width:650px;margin-top:28px}
.journey-page .integration{scroll-margin-top:98px}
@media(max-width:700px),(max-aspect-ratio:4/5){
 .journey-page .chapter-hero{align-items:flex-end;padding:100px var(--gutter) 86px}
 .journey-page .chapter-hero .copy{max-width:100%}
 .journey-page .chapter-hero h1{font-size:clamp(43px,12.4vw,80px)}
 .journey-page .chapter-hero::after{background:linear-gradient(0deg,var(--sand),rgb(231 217 202 / .92) 22%,transparent 45%)}
 .journey-page .chapter-hero .copy p{font-size:14px;margin-top:18px;max-width:310px}
 .journey-page .chapter:not(.chapter-hero){padding-bottom:86px}
 .journey-page .chapter:not(.chapter-hero) h2{font-size:clamp(31px,8.7vw,51px)}
 .journey-page .chapter:not(.chapter-hero) .copy p{font-size:13px;max-width:315px;margin-top:12px}
 .journey-page .chapter:not(.chapter-hero)::after{background:linear-gradient(0deg,var(--sand),rgb(231 217 202 / .88) 15%,transparent 34%)}
 .journey-page .chapter-hero .copy p.packet-legend{font-size:9px;margin-top:16px}
 .journey-page .journey-route{bottom:48px;width:175px}
 .journey-page .chapter .copy p.eyebrow{font-size:9px;margin-bottom:10px}
 .journey-page .previous-study{margin-left:0;width:100%}
 .journey-page .poster img,.journey-page .static-art img{object-fit:contain!important}
 .journey-page .integration{scroll-margin-top:88px}
}
@media(max-height:600px){
 .journey-page[data-motion=animated] .stage,.journey-page .static-art{top:78px}
 .journey-page .poster img,.journey-page .static-art img{object-fit:contain!important}
 .journey-page .chapter-hero::after{background:linear-gradient(90deg,rgb(231 217 202 / .25),transparent 44%)}
 .journey-page .chapter:not(.chapter-hero)::after{background:linear-gradient(90deg,rgb(231 217 202 / .92),transparent 40%)}
 .journey-page .chapter-hero{padding-top:95px;padding-bottom:65px}
 .journey-page .chapter-hero h1{font-size:clamp(35px,7vw,62px)}
 .journey-page .chapter-hero .copy p{font-size:12px;margin-top:10px}
 .journey-page .chapter:not(.chapter-hero){padding-bottom:62px}
 .journey-page .chapter:not(.chapter-hero) h2{font-size:30px}
 .journey-page .chapter:not(.chapter-hero) .copy p{font-size:12px;margin-top:8px}
 .journey-page .chapter-hero .copy p.packet-legend{margin-top:10px}
 .journey-page .journey-route{bottom:38px}
}
@media(max-height:600px) and (max-width:700px){.journey-page[data-motion=animated] .stage,.journey-page .static-art{top:68px}}

/* After the two pinned chapters, this whole sculpture scrolls with the page. */
.descent{position:relative;isolation:isolate;min-height:220dvh;height:max(220dvh,150vw);display:grid;grid-template-rows:1fr 1fr}
.descent-art{position:absolute;inset:0;z-index:-1;pointer-events:none}
.descent-art picture,.descent-art picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.descent .descent-packet{position:absolute;inset:auto;z-index:1;opacity:0}
.descent .descent-packet.ready{opacity:1}
.descent-static-packet{position:absolute;left:73%;top:10%;width:3%;height:auto}
.descent[data-ready=true] .descent-static-packet{display:none}
.descent-slide{position:relative;display:flex;align-items:center;padding:100px var(--gutter);scroll-margin-top:78px}
.descent-slide .copy{max-width:38%}
.descent-slide h2{font-size:clamp(38px,4.5vw,78px);letter-spacing:-.06em;line-height:1.02}
.descent-slide .copy p:not(.eyebrow){font-size:15px;line-height:1.6;max-width:350px;margin-top:22px}
.descent-slide .copy .eyebrow{font-size:10px;letter-spacing:.07em;margin-top:0;margin-bottom:20px}
.descent-destination{align-items:flex-start;padding-top:15%}
@media(max-width:700px),(max-aspect-ratio:4/5){
 .descent-slide{align-items:flex-start;padding:22vh var(--gutter) 60px;scroll-margin-top:68px}
 .descent-slide .copy{max-width:46%}
 .descent-slide h2{font-size:clamp(27px,7.7vw,44px);line-height:1.05}
 .descent-slide .copy p:not(.eyebrow){font-size:12px;margin-top:16px;line-height:1.55}
 .descent-slide .copy .eyebrow{font-size:8px;line-height:1.6;margin-bottom:15px;max-width:150px}
 .descent-slide .copy::before{content:'';position:absolute;z-index:-1;inset:-45px -18px -45px calc(-1 * var(--gutter));background:linear-gradient(90deg,var(--sand) 45%,rgb(231 217 202 / .9) 78%,transparent);mask-image:linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent)}
 .descent-destination{padding-top:12vh}
 .descent-static-packet{left:47%;top:13%;width:7%}
}
@media(max-width:700px) and (orientation:portrait),(max-aspect-ratio:4/5){.descent{height:max(210dvh,416.667vw);min-height:210dvh}}
@media(max-height:600px) and (min-width:701px){.descent-slide .copy{max-width:40%}.descent-slide h2{font-size:38px}}

/* The final camera image is exactly the top of the long document scene.
   Overlap their document origins, then transfer the single visitor layer. */
.journey-continuous .story{z-index:2}
.journey-continuous[data-motion=animated] .descent{margin-top:calc(-100dvh - var(--descent-offset,0px));isolation:auto}
.journey-continuous[data-motion=animated] .descent-art,.journey-continuous[data-motion=animated] .descent-packet{z-index:1}
.journey-continuous[data-motion=animated] .descent-slide{z-index:3;opacity:var(--continuity-copy,0)}
.journey-continuous .descent-art picture img{object-fit:cover}
.journey-continuous .story[data-handoff=vertical] .stage{visibility:hidden}
.journey-continuous .journey-route{opacity:clamp(0,calc(1 - var(--bridge-progress,0) * 4),1)}
.journey-continuous .descent-art picture[data-dynamic]{display:none}
.journey-continuous[data-motion=animated] .descent-art picture[data-dynamic]{display:block}
.journey-continuous[data-motion=animated] .descent-art picture[data-static]{display:none}

/* Native Blender layers use the fixed document camera's projection. */
.journey-decision .decision-gate,.journey-decision .selected-resource{position:absolute;inset:auto;opacity:0;pointer-events:none;z-index:2}
.journey-decision .descent-packet{z-index:3!important}
.journey-decision .decision-examples{display:flex;gap:5px;flex-wrap:wrap;margin-top:24px}
.journey-decision .decision-examples[hidden]{display:none}
.journey-decision .decision-examples button{appearance:none;font:12px/1.2 'Geist',sans-serif;padding:12px 11px;min-height:44px;border:1px solid var(--rule);border-radius:3px;background:transparent;color:var(--ink);cursor:pointer;transition:background .16s,color .16s,border-color .16s}
.journey-decision .decision-examples button:hover{border-color:var(--ink)}
.journey-decision .decision-examples button[aria-pressed=true]{background:var(--ink);color:var(--sand);border-color:var(--ink)}
.journey-decision .decision-examples button:focus-visible{outline:2px solid var(--ember);outline-offset:4px}
.journey-decision .decision-examples button:active{transform:translateY(1px)}
.journey-decision .descent-slide .copy p.decision-caption{font-size:11px;line-height:1.5;color:var(--muted);margin-top:12px}
.journey-decision .descent-slide{min-width:0}
.journey-decision .descent-slide .copy{width:39%;max-width:430px}
.journey-decision .descent-slide h2{font-size:clamp(35px,4.3vw,74px)}
.journey-decision .descent{grid-template-rows:1.15fr .85fr}
.journey-decision .descent-slide:not(.descent-destination){align-items:flex-start;padding-top:40vh;padding-bottom:0}
.journey-decision .descent-slide:not(.descent-destination) .copy{position:sticky;top:120px}
.journey-decision .descent-destination{padding-top:20%}
@media(max-width:700px),(max-aspect-ratio:4/5){
 .journey-decision .descent-slide .copy{width:47%}
 .journey-decision .descent-slide:not(.descent-destination) .copy{top:88px}
 .journey-decision .descent-slide h2{font-size:clamp(27px,7.1vw,42px)}
 .journey-decision .decision-examples{gap:5px;margin-top:18px}
 .journey-decision .decision-examples button{font-size:11px;padding:10px 9px}
 .journey-decision .descent-slide .copy p.decision-caption{font-size:10px}
 .journey-decision .descent-destination{padding-top:24vh}
}

/* Multiple native requests, one decision held upstream. */
.journey-traffic .descent-traffic,.journey-traffic .refusal-marker{position:absolute;inset:auto;opacity:0;pointer-events:none;z-index:3}
.journey-traffic .refusal-marker{z-index:4}
.journey-traffic .chapter-hero h1{font-size:clamp(48px,6.2vw,118px)}
.traffic-legend{display:flex;flex-wrap:wrap;gap:9px 18px;margin-top:22px;font:10px/1.5 'Geist Mono',monospace;color:var(--muted);max-width:430px}
.traffic-legend span{display:flex;align-items:center;gap:8px}
.traffic-legend span::before{content:'';width:8px;height:8px;flex:none;border:1px solid #858b86;background:#b5bab6}
.traffic-legend .refused-key::before{border-color:var(--ember);background:var(--ember)}
@media(min-width:701px) and (max-width:1100px){.traffic-legend{display:grid;gap:6px}}
@media(max-width:700px),(max-aspect-ratio:4/5){
 .journey-traffic .chapter-hero h1{font-size:clamp(37px,10.7vw,70px)}
 .traffic-legend{font-size:9px;gap:7px 14px;margin-top:16px;max-width:320px}
 .journey-traffic .descent-slide h2{font-size:clamp(26px,6.5vw,42px)}
}
