/* A single native-scroll journey: mascot, field notes, then the gold chamber. */
html{scroll-padding-top:35px}
.journey{position:relative;isolation:isolate;background:#080705}
.journey-stage{position:sticky;top:0;height:100svh;margin-bottom:-100svh;overflow:hidden;pointer-events:none;background:#080705}
.descent-world{position:absolute;inset:0;overflow:hidden}
.mine-backdrop{position:absolute;bottom:-8%;width:100%;height:130%;max-width:none;object-fit:cover;object-position:50% 65%;transform-origin:50% 85%;filter:saturate(.78);will-change:transform}
.mine-darkness{position:absolute;inset:0;background:linear-gradient(90deg,#080705ed 0%,#080705ad 40%,#08070520 70%),linear-gradient(#08070555,transparent);will-change:opacity}
.passage-backdrop{position:absolute;inset:0;opacity:0;background:linear-gradient(90deg,#080705a6 0%,#08070580 42%,#08070526 75%),url('assets/emiu-cave-passage.png') center/cover;will-change:opacity;pointer-events:none}
.chapter-cavern{position:relative}
.journey.is-static .chapter-cavern::before,.journey:not(.is-ready) .chapter-cavern::before{content:'';position:absolute;inset:-80px 0;pointer-events:none;background:linear-gradient(90deg,#08070520,#080705b8 34%,#080705c2 60%,#08070520),url('assets/emiu-cave-passage.png') center/cover;mask-image:linear-gradient(transparent,#000 8%,#000 92%,transparent)}
.is-static .passage-backdrop{display:none}
.mine-light{position:absolute;inset:0;background:radial-gradient(ellipse at 65% 68%,#ffd08a25,transparent 65%);opacity:0;mix-blend-mode:screen}
.hero-plate{position:absolute;inset:0;will-change:transform,opacity;mask-image:linear-gradient(#000 0%,#000 76%,transparent 100%)}
.hero-plate img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:60% 50%;max-width:none}
.released-patch{opacity:0}
.journey-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#100d0980,#100d0940 42%,transparent 67%),linear-gradient(#100d0940,transparent 30%,transparent 80%,#080705);pointer-events:none}
.mine-vignette{position:absolute;inset:0;background:linear-gradient(#08070540,transparent 25%,transparent 85%,#08070580);pointer-events:none}
.mine-dust{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.journey-hero{background:none;isolation:auto;overflow:clip;max-height:none;height:100svh;min-height:720px;z-index:2;pointer-events:none}
.journey-hero .hero-content{padding-top:clamp(200px,25vh,290px)}
.journey-hero a{pointer-events:auto}
.hero-bottom{bottom:32px;padding-right:190px}
.hero-bottom a{letter-spacing:1px}
.release-space{height:50svh;position:relative;z-index:2;display:flex;align-items:center;padding:0 7%;pointer-events:none}
.release-space span{color:var(--gold);font:10px var(--mono);letter-spacing:3px}
.journey-chapter{position:relative;z-index:2;min-height:100svh;display:flex;align-items:center;padding:100px max(7%,calc((100vw - 1200px)/2));pointer-events:none}
.chapter-copy{width:47%;max-width:550px}
.chapter-copy h2,#origins-title{font-size:clamp(40px,4.6vw,70px);line-height:1.12;margin-bottom:28px}
.chapter-copy .eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:25px}
.chapter-copy>p:not(.eyebrow){font-size:17px;line-height:1.95;color:#c5b9a5;margin:0;max-width:54ch}
.chapter-copy>p:not(.eyebrow)+p{margin-top:20px}
.chapter-copy .project-signoff{font-family:var(--display);font-size:20px!important;line-height:1.5!important;color:var(--gold)!important;margin-top:25px!important}
.chapter-copy .text-link{pointer-events:auto;margin-top:25px}
.mine-finale{position:relative;z-index:2;height:130svh;min-height:780px;text-align:center;pointer-events:none;padding-top:13svh}
.mine-finale>div{position:sticky;top:15svh}
.mine-finale .eyebrow{justify-content:center;font-size:10px;letter-spacing:2px}
.mine-finale h2{font-size:clamp(44px,5.2vw,80px);line-height:1.1}
.descent-replay{position:absolute;bottom:35px;left:7%;font:10px var(--mono);letter-spacing:1px;color:var(--gold);pointer-events:auto}
.journey-controls{position:fixed;right:28px;bottom:24px;z-index:20;display:flex;gap:18px;align-items:center;padding:9px 13px;background:#100d0980;border:1px solid #deb47720;border-radius:3px;backdrop-filter:blur(10px)}
.journey-controls button,.journey-controls a{border:0;background:none;padding:0;color:#d1c2aa;cursor:pointer;font:10px/1.5 var(--mono);letter-spacing:.2px}
.journey-controls button:hover,.journey-controls a:hover{color:#fff}
.descent-depth{position:absolute;right:3%;top:32%;bottom:28%;display:flex;flex-direction:column;align-items:center;gap:16px;font:8px/1 var(--mono);letter-spacing:1px;color:#c2a67d;opacity:0}
.depth-track{position:relative;flex:1;width:1px;background:#dec29330}
.depth-track::before{content:'';position:absolute;inset:0 -3px;background:repeating-linear-gradient(0deg,transparent 0 25px,#dec29345 25px 26px)}
.depth-track i{position:absolute;left:-3px;width:7px;height:7px;border-radius:50%;background:#f7d492;box-shadow:0 0 16px #ffcf77}
.travelling-block{position:absolute;opacity:0;will-change:transform,left,top;filter:drop-shadow(0 15px 18px #0005)}
.held-block{position:relative;width:151px;height:146px}
.held-source,.held-clean{position:absolute;inset:0}
.held-source{background:url('assets/emiu-cave-poster.webp') -1272px -708px / 1920px 1072px no-repeat;clip-path:polygon(3.5% 34%,71% 1%,85% 13%,96% 60%,81% 79%,26% 96%)}
.held-clean{background:url('assets/emiu-held-cube.png') -26.9px -33px / 203.4px 193.1px no-repeat;opacity:0}
.site-footer{position:relative;background:var(--bg);z-index:3;padding-bottom:80px;width:100%;padding-inline:max(7%,calc((100vw - 1200px)/2))}
/* All content remains available without animation or JavaScript. */
.journey:not(.is-ready) .journey-stage{position:absolute;top:0;width:100%;margin:0}
.journey:not(.is-ready) .release-space{display:none}
.journey:not(.is-ready) .mine-finale{background:linear-gradient(#08070570,transparent),url('assets/emiu-gold-mine-stylized.png') center/cover}
.journey.is-static .journey-stage{position:absolute;top:0;width:100%;margin:0}
.is-static .mine-backdrop,.is-static .mine-darkness,.is-static .mine-light,.is-static .mine-dust,.is-static .travelling-block,.is-static .released-patch,.is-static .descent-depth{display:none}
.is-static .hero-plate,.is-static .journey-hero-shade{opacity:1!important;transform:none!important}
.is-static .release-space{display:none}
.is-static .journey-chapter{min-height:0;padding-block:65px}
.is-static .chapter-copy{width:100%;max-width:800px;margin:auto}
.is-static .mine-finale{height:100svh;background:linear-gradient(#08070570,transparent),url('assets/emiu-gold-mine-stylized.png') center/cover;padding-top:13svh}
@media(max-width:1050px){.chapter-copy{width:54%}.chapter-copy>p:not(.eyebrow){font-size:16px}}
@media(max-width:700px){
 .passage-backdrop{background-image:linear-gradient(#080705a6,#080705a6 62%,#08070533),url('assets/emiu-cave-passage.png')}
 .journey.is-static .chapter-cavern::before,.journey:not(.is-ready) .chapter-cavern::before{background-image:linear-gradient(90deg,#08070585,#080705b8 28%,#080705b8 72%,#08070585),url('assets/emiu-cave-passage.png')}
 .journey-hero{height:100svh;min-height:760px}
 .journey-hero .hero-content{padding-top:125px}
 .journey-hero h1{font-size:64px;margin-bottom:16px}
 .journey-hero .eyebrow{font-size:9px;margin-bottom:17px}
 .journey-hero .hero-description{font-size:14px;margin-bottom:20px}
 .journey-hero .hero-actions{gap:18px}
 .journey-hero .button,.journey-hero .text-link{font-size:15px}
 .hero-plate{top:35%;bottom:0}
 .hero-plate img{object-position:77% 50%}
 .journey-hero-shade{background:linear-gradient(#080705 0%,#080705 34%,transparent 55%,transparent 85%,#080705 100%)}
 .hero-bottom{bottom:20px;padding:0;font-size:8px}
 .hero-bottom>span{display:none}
 .hero-bottom a{font-size:8px}
 .journey-controls{right:12px;bottom:12px;gap:12px;padding:8px 9px}
 .journey-controls button,.journey-controls a{font-size:8px}
 .release-space{height:35svh;padding-left:24px;align-items:flex-start;padding-top:12svh}
 .release-space span{font-size:8px;letter-spacing:1.5px}
 .journey-chapter{min-height:105svh;align-items:flex-start;padding:11svh 26px 35svh}
 .chapter-copy{width:100%;max-width:none}
 .chapter-copy h2,#origins-title{font-size:clamp(35px,9.4vw,49px);margin-bottom:22px}
 .chapter-copy .eyebrow{font-size:9px;margin-bottom:17px}
 .chapter-copy>p:not(.eyebrow){font-size:14px;line-height:1.85}
 .chapter-copy .project-signoff{font-size:17px!important;margin-top:18px!important}
 .chapter-copy .text-link{font-size:16px;margin-top:17px}
 .mine-backdrop{width:170%;left:-35%;height:120%;bottom:-5%;object-position:50% 75%}
 .mine-darkness{background:linear-gradient(#080705c9, #08070599 62%,#08070533)}
 .mine-finale{min-height:760px;padding-top:13svh;height:130svh}
 .mine-finale h2{font-size:clamp(39px,10vw,55px)}
 .mine-finale .eyebrow{font-size:8px;letter-spacing:1.5px}
 .mine-finale>div{top:13svh}
 .descent-depth{right:12px;top:65%;bottom:12%;font-size:6px;gap:10px}
 .descent-replay{left:24px;font-size:9px;bottom:26px}
 .is-static .journey-chapter{padding:50px 26px}
}
@media(max-height:650px) and (min-width:701px){.journey-hero .hero-content{padding-top:165px}.journey-hero h1{font-size:85px}.journey-hero .hero-description{font-size:15px}.journey-chapter{padding-block:80px}}
