/* One landscape, one layered object, one geographic surface. */
/* Start the six layers in the snow mountain's final viewport, with no extra blank page. */
.study-six-stage{margin-top:-100svh;z-index:3}
.study-six-stage[hidden]{display:none}
.study-scroll-stage{position:relative;height:400svh}
.landscape-study{position:sticky;top:0;width:100%;height:100svh;overflow:hidden;background:#62777b;visibility:hidden;isolation:isolate}
.landscape-study.is-rendered{visibility:visible}
.study-landscape{position:absolute;inset:0;background:url('./mountain_right_extension_v1.webp') left center/cover no-repeat}
.study-landscape::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:var(--village-blend,0);background:linear-gradient(180deg,rgba(8,8,8,0) 25%,rgba(8,8,8,.25) 38%,rgba(8,8,8,.75) 52%,#080808 60%)}
.study-sentence{position:absolute;z-index:4;inset:0;margin:0;font-family:'Noto Serif SC','Songti SC',serif;font-weight:400;pointer-events:none}
.study-initial{position:absolute;left:5%;top:41%;width:90%;text-align:center;color:#faf7ef;font-size:clamp(26px,3.15vw,48px);line-height:1.6;letter-spacing:.08em;text-shadow:0 1px 5px rgba(24,41,40,.2)}
.study-reading{position:absolute;left:5%;top:9%;width:90%;text-align:center;color:#faf7ef;font-size:clamp(32px,3.4vw,52px);line-height:1.4;letter-spacing:.06em;opacity:0}
.study-object{position:absolute;left:48%;top:45%;width:min(24vw,24svh);aspect-ratio:1;transform:translate(-50%,-50%);perspective:5000px;opacity:0;transform-origin:center}
.study-world{position:absolute;inset:0;transform:rotateX(65deg) rotateZ(-4deg);transform-style:preserve-3d}
.study-layer{position:absolute;inset:0;margin:0;transform-style:preserve-3d;backface-visibility:visible;pointer-events:none}
.study-layer img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;user-select:none}
.study-annotations{position:absolute;inset:0;pointer-events:none}
.study-label{position:absolute;left:96%;top:50%;margin:0;white-space:nowrap;color:#faf7ef;font:400 clamp(17px,1.4vw,22px)/1.5 'Noto Serif SC','Songti SC',serif;letter-spacing:.1em;opacity:0}
.study-label-leader{display:none}
/* The portrait lives behind the two complementary geographic paper surfaces. */
.study-paper{position:absolute;inset:0;opacity:0;pointer-events:none}
.study-paper-half{position:absolute;inset:0;mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;transform-origin:50% 50%}
.study-paper-half img{display:block;width:100%;height:100%;object-fit:contain;filter:none;opacity:1}
.study-viewing{position:absolute;z-index:1;transform:translate(-50%,-50%);opacity:0;pointer-events:none;}
.study-video-gap{position:absolute;inset:0}
.study-moving-image{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#344b48}
.study-destination-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 50%;opacity:0;filter:blur(.5px) saturate(.86) contrast(.98);pointer-events:none}
.study-destination-video[data-place=nujiang]{object-position:40% 50%}
.study-object{z-index:2}
.study-tuck-carry{position:fixed;left:0;top:0;z-index:93;visibility:hidden;pointer-events:none;transform-origin:center;perspective:5000px}
.study-tuck-carry .study-world{position:absolute;inset:0;transform-style:preserve-3d}
.study-tuck-letter{position:fixed;z-index:94;display:flex;align-items:center;justify-content:center;visibility:hidden;pointer-events:none;color:transparent;background-clip:text;-webkit-background-clip:text;font-weight:700;line-height:1;letter-spacing:-.08em;white-space:nowrap}
.study-places{position:absolute;inset:0;z-index:5;opacity:0;pointer-events:none;color:#faf7ef;font-family:'Noto Serif SC','Songti SC',serif}
.study-locate-copy,.study-invitation,.study-destination-notes{position:absolute;left:7%;margin:0}
.study-locate-copy,.study-invitation{top:25%;max-width:11em;font-size:clamp(28px,2.65vw,42px);font-weight:500;line-height:1.4;letter-spacing:.025em}
.study-destination-notes{top:51%;width:29%;max-width:390px}
.study-destination-note{font-size:clamp(16px,1.25vw,19px);line-height:1.9;letter-spacing:.02em}
.study-destination-note[hidden]{display:none}
.study-destination-note .om-note-name{display:block;color:inherit;font-size:clamp(22px,1.85vw,28px);font-weight:500;line-height:1.5;letter-spacing:.025em;margin-bottom:18px}
.study-place-name{position:absolute;transform:translate(-50%,-50%);appearance:none;background:none;border:0;border-radius:0;padding:8px;min-height:44px;color:#faf7ef;font:400 clamp(19px,1.7vw,26px)/1.5 'Noto Serif SC','Songti SC',serif;letter-spacing:.08em;white-space:nowrap;cursor:pointer;pointer-events:none;text-shadow:0 1px 3px rgba(28,47,45,.6);transition:color .18s}
.landscape-study.is-discovering .study-place-name{pointer-events:auto}
.study-place-name[aria-pressed=true]{font-weight:650;color:#fff}
.study-place-name:hover{color:#fff}
.study-place-name:focus-visible{outline:1px solid #f3efe7;outline-offset:3px}
.landscape-study.is-animating .study-layer,.landscape-study.is-animating .study-object,.landscape-study.is-animating .study-paper-half{will-change:transform}
html.has-landscape-study #hsStage{visibility:hidden}
@media(max-width:700px){
 .study-initial{left:7%;top:39%;width:86%;font-size:clamp(24px,6vw,30px);line-height:1.7;letter-spacing:.06em}
 .study-reading{left:5%;top:7%;font-size:clamp(26px,7vw,34px)}
 .study-object{left:44%;top:41%;width:min(43vw,19svh);perspective:4000px}
 .study-label{left:calc(122% + 30px);font-size:clamp(16px,4.3vw,20px);letter-spacing:.07em}
 .study-label-leader{display:block;position:absolute;right:calc(100% + 5px);top:50%;width:56px;height:22px;transform:translateY(-50%);overflow:visible;filter:drop-shadow(0 1px 2px rgba(12,27,28,.65));pointer-events:none}
 .study-locate-copy,.study-invitation{left:7%;top:9%;max-width:86%;font-size:clamp(24px,6vw,30px);line-height:1.5}
 .study-place-name{font-size:18px;letter-spacing:.04em;padding:8px 4px}
 .study-destination-notes{left:7%;top:70%;width:86%;max-width:none}
 .study-destination-note{font-size:16px;line-height:1.75;letter-spacing:.025em}
 .study-destination-note .om-note-name{font-size:21px;margin-bottom:8px}
}
@media(prefers-reduced-motion:reduce){.landscape-study *{will-change:auto!important}.study-place-name{transition:none}}

/* Checkpoint 54c0451 Identity material, applied only to the geographic label. */
.study-map-title{display:block}
.study-map-defocused{position:absolute;inset:8px;z-index:2;color:#f5f1e7;filter:blur(11px);opacity:0;pointer-events:none;transform:translateX(1px) scaleX(1.008);transform-origin:left center;padding:10px;margin:-10px;box-sizing:content-box;mask-image:radial-gradient(ellipse 90% 200% at 50% 50%,#000 32%,rgba(0,0,0,.8) 67%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 90% 200% at 50% 50%,#000 32%,rgba(0,0,0,.8) 67%,transparent 100%)}
.study-map-detail{position:absolute;z-index:6;opacity:0;pointer-events:none;font:400 clamp(15px,1.15vw,17px)/1.8 'Noto Serif SC','Songti SC',serif;letter-spacing:.04em;color:#f0eee5;text-shadow:0 1px 3px rgba(28,47,45,.6)}
.study-map-detail .om-note-name{color:inherit;display:block;font-size:18px;font-weight:500;margin-bottom:8px;line-height:1.5}
@media(max-width:700px){.study-map-detail{font-size:14px;line-height:1.75}.study-map-detail .om-note-name{font-size:16px;margin-bottom:6px}}

.study-experience-index{position:absolute;z-index:4;font:400 16px/1.75 'Noto Serif SC','Songti SC',serif;letter-spacing:.025em;color:#faf7ef;pointer-events:none}
.study-experience p{margin:0 0 8px}.study-experience .study-experience-heading{font-size:13px;letter-spacing:.12em;margin-bottom:16px}
.study-experience[hidden]{display:none}
@media(max-width:700px){.study-experience-index{font-size:13px;line-height:1.65}.study-experience p{margin-bottom:6px}.study-experience .study-experience-heading{font-size:12px;margin-bottom:10px}}

/* English layer names need room beside the mountain on portrait screens. */
@media(max-width:700px){
 html[data-lang="en"] .study-label{left:calc(100% + 8px);width:32vw;max-width:130px;white-space:normal;line-height:1.25;letter-spacing:.02em;overflow-wrap:normal}
}

@media(max-width:700px){.study-map-detail{font-weight:500;text-shadow:0 1px 2px #253a3b,1px 0 2px #253a3b,-1px 0 2px #253a3b}.study-map-detail .om-note-name{font-weight:600}}

/* Five reading roles; the geographic selectors carry the interaction. */
.study-places{font-family:'Songti SC','Noto Serif SC','Source Han Serif SC','STSong','SimSun',serif}
.study-invitation{font-size:clamp(28px,2.55vw,38px);font-weight:500;line-height:1.4;letter-spacing:0;text-wrap:balance}
.study-destination-note{font-size:17px;line-height:1.85;letter-spacing:.005em;text-wrap:pretty;line-break:strict;word-break:normal}
.study-destination-note .om-note-name{font-size:24px;line-height:1.45;letter-spacing:.005em;margin-bottom:14px}
.study-place-name{font-family:inherit;font-size:clamp(27px,2.5vw,36px);font-weight:600;line-height:1.3;letter-spacing:.02em;padding:8px;transition:color .18s}
.study-place-name[aria-pressed=true]{font-weight:600}
.study-map-title{transform-origin:center;letter-spacing:.02em}
.study-map-detail{font-family:inherit;font-size:16px;font-weight:500;line-height:1.85;letter-spacing:.008em;line-break:strict;word-break:normal;text-wrap:pretty}
.study-map-detail .om-note-name{font-size:20px;font-weight:600;line-height:1.45;letter-spacing:0;margin-bottom:12px}
.study-experience-index{font-family:'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;font-size:16px;line-height:1.65;letter-spacing:0;line-break:strict;word-break:normal;text-wrap:pretty}
.study-experience .study-experience-heading{font-family:'Songti SC','Noto Serif SC',serif;font-size:20px;font-weight:500;letter-spacing:.02em;margin-bottom:18px}
.study-experience .study-experience-line{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:10px;align-items:baseline;margin:0 0 14px}
.study-experience-number{font:400 13px/1.65 'Cormorant Garamond',Georgia,serif;font-variant-numeric:tabular-nums;letter-spacing:.04em}
@media(max-width:700px){
 .study-invitation{font-size:26px;line-height:1.4;letter-spacing:0}
 .study-place-name{font-size:24px;line-height:1.3;padding:8px 4px}
 .study-destination-note{font-size:16px;line-height:1.8;letter-spacing:0}
 .study-destination-note .om-note-name{font-size:22px;margin-bottom:12px}
 .study-map-detail{font-size:14px;line-height:1.75;letter-spacing:.008em}
 .study-map-detail .om-note-name{font-size:17px;line-height:1.45;margin-bottom:8px}
 .study-experience-index{font-size:14px;line-height:1.6}
 .study-experience .study-experience-heading{font-size:17px;margin-bottom:10px}
 .study-experience .study-experience-line{grid-template-columns:14px minmax(0,1fr);column-gap:5px;margin-bottom:8px}
 .study-experience-number{font-size:11px}
}

@media(max-width:700px){
 .study-experience .study-experience-line{display:block;padding-left:0;margin-bottom:12px}
 .study-experience-number{display:none}
 .study-map-detail{font-family:'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;font-size:14px;line-height:1.8;letter-spacing:0}
 .study-map-detail .om-note-name{font-family:'Songti SC','Noto Serif SC',serif;font-size:18px;margin-bottom:10px}
 .study-place-name.is-under-detail{opacity:.18}
}

/* Only the restored six-layer segment; no four-place/video reading distance. */
.study-six-stage{height:322svh}

/* The old brochure chapters precede this narrative in source markup only.
   Once the horizontal handoff opens the new flow, they must not reappear. */
html.distance-unlocked #chapters{display:none}

/* Keep the fixed Hero out of later chapters, but restore its completed
   17-year frame when reverse scrolling reaches the opening viewport. */
html.distance-unlocked:not(.is-at-hero-return) .hero{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
/* Restore the original completed Hero frame before the curtain reveals it on reverse scroll. */
html.is-at-hero-return .hero.is-closed{visibility:visible!important;opacity:1!important}
html.is-at-hero-return .hero.is-closed .fade-black{opacity:1!important}
html.is-at-hero-return .hero.is-closed .interior-title{opacity:1!important;visibility:visible!important}
