/* v4: readable parchment, restrained guide stage, reusable manuscript buttons. */
.journey-welcome{--opening-book:var(--n-book);--opening-title:'Cinzel',Georgia,serif;}
.journey-welcome .welcome-scene{container-type:size;gap:2.5vw;padding:4px max(4vw,calc(env(safe-area-inset-right) + 18px)) 0 max(3vw,calc(env(safe-area-inset-left) + 18px));grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);}
.journey-welcome .welcome-scene .welcome-copy{height:100%;max-height:100%;display:flex;flex-direction:column;justify-content:center;padding:18cqh 7cqw!important;text-align:center;z-index:2;background:transparent url('./assets/interface/lontar-scroll-v4.svg') center/100% 100% no-repeat;border:0;box-shadow:none;border-radius:0;filter:drop-shadow(0 10px 12px #061b1755);}
.journey-welcome .welcome-copy .journey-kicker{flex:none;font-family:var(--opening-title);font-size:clamp(10px,1.75vh,14px);font-weight:600;line-height:1.3;letter-spacing:.12em;color:#3b2617;}
.journey-welcome .welcome-copy h1{flex:none;font-family:var(--opening-title);font-size:clamp(26px,5.9vh,52px);font-weight:500;line-height:1.06;letter-spacing:.01em;margin:clamp(5px,1.15vh,10px) 0;color:#29180f;text-shadow:0 1px #fff9e880;}
.journey-welcome .welcome-copy h1>span{font-family:var(--opening-book);font-size:.57em;font-weight:600;line-height:1.15;letter-spacing:0;margin-bottom:3px;}
.journey-welcome .welcome-copy h1>em{font-family:var(--n-display);font-style:normal;font-weight:400;font-size:1.8em;line-height:1.14;letter-spacing:0;color:#3b2012;}
.journey-welcome .welcome-copy>p{flex:none;font-family:var(--opening-book);font-size:clamp(15px,3.1vh,25px);font-weight:600;line-height:1.22;margin:clamp(4px,1vh,9px) 0;text-align:center;color:#29180f;text-wrap:balance;}
.journey-welcome .welcome-copy>p:last-of-type{display:none;}
.journey-welcome .welcome-actions{flex:none;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:9px;margin-top:clamp(8px,1.7vh,15px);width:100%;text-align:center;}
.journey-welcome .welcome-actions>small{flex-basis:100%;color:#493122;font:600 12px/1.2 var(--n-book);}
/* Real borders and fixed corner art keep the carving visible at every width. */
.journey-welcome .welcome-copy .welcome-actions>button,
dialog.nusantara-help .manuscript-button{position:relative;isolation:isolate;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:max-content;max-width:100%;min-height:58px!important;border:2px solid #edcb80!important;border-image:none!important;border-radius:5px!important;background:linear-gradient(165deg,#782838 0%,#551623 42%,#340b16 100%)!important;color:#fff0bd!important;padding:13px 34px!important;font:600 clamp(11px,1.9vh,16px)/1.42 'Cinzel',Georgia,serif!important;letter-spacing:.015em;text-align:center;text-wrap:balance;text-shadow:0 2px 2px #23050d;box-shadow:inset 0 2px 2px #ffdd9580,inset 0 -3px 5px #16050bb3,0 2px 0 #65451e,0 6px 12px #44220940,0 0 10px #e0b56130;transition:filter .18s,transform .18s;cursor:pointer;}
.journey-welcome .welcome-actions>button::before,dialog.nusantara-help .manuscript-button::before{content:'';position:absolute;inset:4px;border:1px solid #e8c27699;border-radius:2px;pointer-events:none;}
.journey-welcome .welcome-actions>button::after,dialog.nusantara-help .manuscript-button::after{content:'';position:absolute;inset:-2px;pointer-events:none;background:url('./assets/interface/button-corner-tl-v4.svg') left top,url('./assets/interface/button-corner-tr-v4.svg') right top,url('./assets/interface/button-corner-br-v4.svg') right bottom,url('./assets/interface/button-corner-bl-v4.svg') left bottom;background-size:30px 30px;background-repeat:no-repeat;}
.journey-welcome .welcome-copy .welcome-actions>button:hover,dialog.nusantara-help .manuscript-button:hover{filter:brightness(1.12);transform:translateY(-1px);}
.journey-welcome .welcome-actions>button:active,dialog.nusantara-help .manuscript-button:active{transform:translateY(1px);}
.journey-welcome .welcome-actions>button:focus-visible,dialog.nusantara-help .manuscript-button:focus-visible{outline:3px solid #3d2414;outline-offset:4px;}
/* Canvas stagePlacement anchors the soles at 97% of its height.
   The canvas is 84% of this column, so the cliff's standing surface and
   contact shadow meet it at 81.48%. The cliff continues below the viewport. */
.journey-welcome .welcome-guide.pujangga-stage {
  container-type: size;
  isolation: isolate;
  overflow: visible;
}

.journey-welcome .pujangga-frame {
  height: 84%;
  align-self: flex-start;
  z-index: 2;
}

.journey-welcome .pujangga-stage::before {
  content: '';
  position: absolute;
  left: -18%;
  top: calc(81.48% - 36.507cqw);
  width: 148%;
  aspect-ratio: 3 / 2;
  background: url('./assets/interface/opening-cliff-v1.webp') center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
}

.journey-welcome .pujangga-stage::after {
  content: '';
  position: absolute;
  left: 36%;
  top: calc(81.48% - 1.2cqh);
  width: 28%;
  height: 3cqh;
  border-radius: 50%;
  background: radial-gradient(ellipse, #18140ede 0%, #18140e80 40%, transparent 72%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 1;
}

.journey-welcome .pujangga-frame > .character-canvas {
  filter: drop-shadow(2px 4px 4px #12231b30);
}

.journey-welcome .welcome-footer {
  position: relative;
  z-index: 3;
  text-shadow: 0 1px 5px #031812;
}


.journey-welcome .pujangga-frame>img{opacity:1;object-fit:contain;}
.journey-welcome .pujangga-frame>.character-canvas{touch-action:manipulation;}
.journey-welcome .pujangga-frame>.character-canvas:focus-visible{outline:2px solid #e4c781;outline-offset:-6px;border-radius:18px;}
.journey-welcome .welcome-footer{margin:0 max(4vw,36px);height:48px;min-height:48px;align-items:center;padding-bottom:16px;font-size:clamp(10px,1.6vh,12px);}
.journey-welcome .welcome-footer a{font-size:inherit;}
.journey-welcome .welcome-copy:is(.guide-waiting,.guide-speaking)::after{display:none;}
.journey-welcome .welcome-copy.guide-waiting{clip-path:inset(0 89% 0 0);}
.journey-welcome .welcome-copy.guide-speaking{animation:manuscript-open 1.1s cubic-bezier(.2,.7,.25,1) .1s both;}
@keyframes manuscript-open{from{clip-path:inset(0 89% 0 0)}to{clip-path:inset(0)}}
/* The help dialog uses the same scroll and controls, with a clear reading field. */
dialog.nusantara-help[open]{display:grid;place-items:center;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden;color:#29180f;}
.nusantara-help .help-sheet{width:min(970px,calc(100vw - 48px));height:min(650px,calc(100dvh - 48px));container-type:size;}
dialog.nusantara-help::backdrop{background:#061d19c9;backdrop-filter:blur(5px);}
.nusantara-help .help-scroll{box-sizing:border-box;width:100%;height:100%;padding:19cqh 14cqw 18cqh;background:url('./assets/interface/lontar-scroll-v4.svg') center/100% 100% no-repeat;display:flex;flex-direction:column;justify-content:center;gap:clamp(10px,2cqh,16px);filter:drop-shadow(0 10px 20px #0005);}
.nusantara-help .help-scroll h2{margin:0;color:#29180f;font:600 clamp(22px,5cqh,34px)/1.1 'Cinzel',Georgia,serif;text-align:center;}
.nusantara-help .help-scroll ol{margin:0;padding-left:1.2em;font:600 clamp(16px,3.6cqh,23px)/1.35 var(--n-book);}
.nusantara-help .help-scroll li+li{margin-top:.3em;}
.nusantara-help .help-scroll p{margin:0;color:#3d281a;font:500 clamp(15px,3.3cqh,21px)/1.3 var(--n-book);}
.nusantara-help .help-scroll form{padding:0;margin:3px 0 0;display:flex;justify-content:center;background:none;border:0;}
dialog.nusantara-help .manuscript-button{min-height:48px!important;padding:10px 36px!important;font-size:15px!important;}
@media(max-height:539px){
 .journey-welcome .welcome-scene .welcome-copy{padding:17cqh 6.6cqw!important;}
 .journey-welcome .welcome-copy h1{font-size:29px;margin:3px 0;}
 .journey-welcome .welcome-copy h1>span{font-size:16px;}
 .journey-welcome .welcome-copy>p{font-size:16px;line-height:1.16;margin:3px 0;}
 .journey-welcome .welcome-actions{margin-top:7px;gap:5px;}
 .journey-welcome .welcome-copy .welcome-actions>button{min-height:48px!important;padding:8px 28px!important;font-size:11px!important;}
 .journey-welcome .welcome-actions>button::after{background-size:23px 23px;}
 .journey-welcome .welcome-footer{height:36px;min-height:36px;padding-bottom:14px;}
 .nusantara-help .help-scroll{gap:8px;padding:18cqh 13cqw;}
 .nusantara-help .help-scroll h2{font-size:22px;}
 .nusantara-help .help-scroll ol{font-size:16px;line-height:1.16;}
 .nusantara-help .help-scroll li+li{margin-top:.15em;}
 .nusantara-help .help-scroll p{font-size:15px;line-height:1.16;}
 dialog.nusantara-help .manuscript-button{min-height:42px!important;padding:8px 30px!important;font-size:12px!important;}
}
@media(max-height:430px){
 .journey-welcome .welcome-copy .journey-kicker{font-size:9px;letter-spacing:.08em;line-height:1.1;}
 .journey-welcome .welcome-copy h1{font-size:22px;margin:2px 0;}
 .journey-welcome .welcome-copy h1>span{font-size:14px;}
 .journey-welcome .welcome-copy h1>em{font-size:1.5em;}
 .journey-welcome .welcome-copy>p{font-size:13px;line-height:1.13;margin:2px 0;}
 .journey-welcome .welcome-actions{margin-top:5px;}
 .journey-welcome .welcome-copy .welcome-actions>button{min-height:43px!important;padding:6px 24px!important;font-size:10px!important;}
 .journey-welcome .welcome-footer{height:30px;min-height:30px;padding-bottom:12px;font-size:9px;}
 .nusantara-help .help-scroll{gap:6px;}
 .nusantara-help .help-scroll h2{font-size:20px;}
 .nusantara-help .help-scroll ol{font-size:15px;}
 .nusantara-help .help-scroll p{font-size:14px;}
}
@media(max-height:365px){.journey-welcome .welcome-copy .journey-kicker{display:none;}.journey-welcome .welcome-copy>p:first-of-type{display:block;font-size:12px;}}
@media(max-height:340px){.journey-welcome .welcome-copy h1>span{display:none;}.nusantara-help .help-scroll h2{font-size:18px;}.nusantara-help .help-scroll{gap:4px;}.nusantara-help .help-scroll ol{font-size:14px;}.nusantara-help .help-scroll p{font-size:13px;}}
@media(prefers-reduced-motion:reduce){.journey-welcome .welcome-copy:is(.guide-waiting,.guide-speaking){clip-path:none;animation:none;pointer-events:auto;}.journey-welcome .welcome-actions>button,dialog.nusantara-help .manuscript-button{transition:none!important;transform:none!important;}}

/* v5: physical scroll opening, two reading panels, and restrained metal light. */
.journey-welcome .welcome-scene .opening-scroll{--unroll:0;--intro:0;--story:0;--actions:0;display:block;padding:0!important;background:none;clip-path:none;animation:none;}
.opening-scroll .scroll-art{position:absolute;inset:0;pointer-events:none;}
.opening-scroll .scroll-paper{position:absolute;inset:0;background:url('./assets/interface/lontar-paper-v5.svg') center/100% 100% no-repeat;clip-path:inset(0 calc(46% * (1 - var(--unroll))));}
.opening-scroll .scroll-spindle{position:absolute;top:0;bottom:0;width:7%;background:url('./assets/interface/lontar-spindle-v5.svg') center/100% 100% no-repeat;filter:drop-shadow(2px 2px 3px #4c301f55);}
.opening-scroll .scroll-spindle-left{left:calc(43% - 40.6% * var(--unroll));}
.opening-scroll .scroll-spindle-right{left:calc(50% + 40.6% * var(--unroll));transform:scaleX(-1);}
.opening-scroll .scroll-content{position:absolute;inset:18% 13.5% 20%;display:flex;flex-direction:column;justify-content:center;gap:12px;}
.opening-scroll .welcome-stories{display:grid;align-items:center;flex:1;min-height:0;}
.opening-scroll .welcome-intro,.opening-scroll .welcome-narrative{grid-area:1/1;min-width:0;text-align:center;}
.opening-scroll .welcome-intro{opacity:var(--intro);pointer-events:none;}
.opening-scroll .welcome-narrative{opacity:var(--story);pointer-events:none;}
.journey-welcome .opening-scroll .welcome-intro h1{color:#59182d;font:600 clamp(22px,4.7vh,37px)/1.1 var(--n-book);margin:0 0 14px;letter-spacing:.01em;text-shadow:0 1px #fff6e3;}
.opening-scroll .welcome-logo{display:flex;align-items:center;justify-content:center;gap:18px;max-width:100%;}
.opening-scroll .logo-emblem{position:relative;display:block;flex:none;width:clamp(70px,18vh,136px);aspect-ratio:1;overflow:hidden;border-radius:50%;background:#0b2b20;box-shadow:0 3px 8px #4b241b44;}
.opening-scroll .logo-emblem img{position:absolute;width:226.4%;height:auto;max-width:none;left:-62.3%;top:-4.15%;}
.opening-scroll .logo-wordmark{display:flex;flex-direction:column;justify-content:center;gap:4px;color:#59182d;font-family:'Cinzel',Georgia,serif;line-height:1.08;}
.opening-scroll .logo-wordmark small{font-size:clamp(12px,2.9vh,24px);font-weight:500;letter-spacing:.2em;}
.opening-scroll .logo-wordmark strong{font-size:clamp(24px,5.5vh,45px);font-weight:600;letter-spacing:.015em;}
.journey-welcome .opening-scroll .welcome-narrative h2{margin:0;color:#59182d;font:600 clamp(18px,3.8vh,30px)/1.17 var(--n-book);letter-spacing:0;}
.journey-welcome .opening-scroll .welcome-narrative p{display:block;margin:12px 0 0;color:#611b30;font:600 clamp(15px,3.15vh,25px)/1.23 var(--n-book);text-wrap:balance;}
.journey-welcome .opening-scroll .welcome-narrative .narrative-closing{font-size:clamp(17px,3.6vh,28px);line-height:1.15;margin-top:14px;color:#541227;}
.opening-scroll .narrative-closing strong{font-weight:700;}
.journey-welcome .opening-scroll .welcome-actions{opacity:var(--actions);margin:0;}
.opening-scroll .welcome-actions[inert]{visibility:hidden;}
/* Footer grid mirrors the scroll/stage columns exactly. */
.journey-welcome .welcome-footer{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:2.5vw;margin:0;padding:0 max(4vw,calc(env(safe-area-inset-right) + 18px)) 15px max(3vw,calc(env(safe-area-inset-left) + 18px));height:60px;min-height:60px;}
.journey-welcome .welcome-footer>a{justify-self:end;align-self:center;}
/* v5.1: lift words and both rules into the gap below the parchment. */
.welcome-values{position:relative;display:grid;place-items:center;justify-self:center;transform:translateY(-4.8dvh);width:clamp(170px,23vw,300px);height:39px;max-width:100%;color:#f5e5b5;font:500 clamp(12px,1.9vh,16px)/1.1 'Cinzel',Georgia,serif;letter-spacing:.19em;text-transform:uppercase;text-shadow:0 1px 4px #031812;}
.welcome-values::before,.welcome-values::after{content:'';position:absolute;left:0;right:0;height:9px;background:url('./assets/interface/manuscript-rule-v5.svg') center/100% 100% no-repeat;}
.welcome-values::before{top:-1px;}.welcome-values::after{bottom:-1px;transform:rotate(180deg);}
.value-cycle{display:grid;place-items:center;width:100%;}
.value-cycle>b{grid-area:1/1;opacity:0;font:inherit;animation:value-word 14.4s linear infinite both;animation-play-state:paused;}
.value-cycle>b:nth-child(2){animation-delay:4.8s;}.value-cycle>b:nth-child(3){animation-delay:9.6s;}
.scroll-is-open .value-cycle>b{animation-play-state:running;}
.values-still{display:none;}
@keyframes value-word{0%,33.333%,100%{opacity:0;transform:translateY(4px)}5%,28%{opacity:1;transform:translateY(0)}32%{opacity:0;transform:translateY(-4px)}}
.metal-emblem{position:relative;isolation:isolate;overflow:hidden;}
.metal-emblem::after{content:'';position:absolute;inset:0;border-radius:50%;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#fff4c899 48%,#fffbeacf 50%,transparent 63%);background-size:320% 100%;background-position:150% 0;mix-blend-mode:screen;opacity:0;animation:emblem-light 10s ease-in-out 3s infinite;}
.journey-brand .metal-wordmark{background:linear-gradient(110deg,#e7ce91 38%,#fff9e2 50%,#e7ce91 62%);background-size:300% 100%;background-position:150% 0;background-clip:text;-webkit-background-clip:text;color:transparent;animation:wordmark-light 10s ease-in-out 3s infinite;}
.opening-scroll .logo-emblem::after{animation:none;}
.scroll-is-open .opening-scroll .logo-emblem::after{animation:emblem-light 10s ease-in-out .8s infinite;}
.scroll-is-open .logo-wordmark{background:linear-gradient(110deg,#59182d 38%,#b97654 47%,#ffdda5 50%,#b97654 53%,#59182d 62%);background-size:300% 100%;background-position:150% 0;background-clip:text;-webkit-background-clip:text;color:transparent;animation:wordmark-light 10s ease-in-out .8s infinite;}
@keyframes emblem-light{0%{opacity:0;background-position:150% 0}2%{opacity:.8}16%{opacity:.8;background-position:-150% 0}18%,100%{opacity:0;background-position:-150% 0}}
@keyframes wordmark-light{0%{background-position:150% 0}16%,100%{background-position:-150% 0}}
@media(max-height:539px){
 .opening-scroll .scroll-content{inset:17% 13% 20%;gap:7px;}
 .journey-welcome .opening-scroll .welcome-intro h1{font-size:24px;margin-bottom:9px;}
 .opening-scroll .welcome-logo{gap:11px;}.opening-scroll .logo-emblem{width:85px;}
 .opening-scroll .logo-wordmark small{font-size:15px;}.opening-scroll .logo-wordmark strong{font-size:28px;}
 .journey-welcome .opening-scroll .welcome-narrative h2{font-size:20px;}
 .journey-welcome .opening-scroll .welcome-narrative p{font-size:16px;line-height:1.15;margin-top:7px;}
 .journey-welcome .opening-scroll .welcome-narrative .narrative-closing{font-size:18px;margin-top:8px;}
 .journey-welcome .welcome-footer{height:44px;min-height:44px;padding-bottom:12px;}
 .welcome-values{font-size:11px;height:28px;letter-spacing:.15em;}.welcome-values::before,.welcome-values::after{height:6px;}
}
@media(max-height:430px){
 .opening-scroll .scroll-content{inset:17% 13% 20%;gap:6px;}
 .journey-welcome .opening-scroll .welcome-intro h1{font-size:21px;margin-bottom:6px;}
 .opening-scroll .logo-emblem{width:69px;}.opening-scroll .logo-wordmark small{font-size:12px;}.opening-scroll .logo-wordmark strong{font-size:24px;}
 .journey-welcome .opening-scroll .welcome-narrative h2{font-size:17px;line-height:1.12;}
 .journey-welcome .opening-scroll .welcome-narrative p{font-size:13px;line-height:1.14;margin-top:5px;}
 .journey-welcome .opening-scroll .welcome-narrative .narrative-closing{font-size:16px;margin-top:5px;}
 .journey-welcome .welcome-footer{height:40px;min-height:40px;padding-bottom:11px;}.welcome-values{height:27px;font-size:10px;}
}
@media(max-height:365px){
 .opening-scroll .scroll-content{gap:4px;inset:16.5% 12.5%;}
 .journey-welcome .opening-scroll .welcome-intro h1{font-size:19px;}.opening-scroll .logo-emblem{width:60px;}.opening-scroll .logo-wordmark strong{font-size:22px;}
 .journey-welcome .opening-scroll .welcome-narrative h2{font-size:15px;}
 .journey-welcome .opening-scroll .welcome-narrative p{font-size:12px;margin-top:4px;}
 .journey-welcome .opening-scroll .welcome-narrative .narrative-closing{font-size:14px;margin-top:4px;}
 .journey-welcome .welcome-footer{height:36px;min-height:36px;}.welcome-values{height:24px;font-size:9px;}
}
@media(prefers-reduced-motion:reduce){
 .journey-welcome .welcome-scene .opening-scroll{--unroll:1!important;--intro:0!important;--story:1!important;--actions:1!important;}
 .metal-emblem::after{display:none;}.journey-brand .metal-wordmark,.scroll-is-open .logo-wordmark{animation:none;background:none;color:#e7ce91;}
 .value-cycle{display:none;}.values-still{display:inline;font-size:clamp(8px,1.5vw,13px);letter-spacing:.04em;}
}

/* v5.6: clean heavy landing and immediate unrolling. */
.nusantara-help .help-sheet{position:relative;isolation:isolate;--help-impact:.92s;}
.nusantara-help .help-scroll{position:relative;background:none;z-index:1;}
.nusantara-help .help-art{position:absolute;inset:0;pointer-events:none;}
.nusantara-help .help-paper{position:absolute;inset:0;background:url('./assets/interface/lontar-paper-v5.svg') center/100% 100% no-repeat;}
.nusantara-help .help-spindle{position:absolute;top:0;bottom:0;width:7%;background:url('./assets/interface/lontar-spindle-v5.svg') center/100% 100% no-repeat;filter:drop-shadow(2px 2px 3px #4c301f55);}
.nusantara-help .help-spindle-left{left:2.4%;}
.nusantara-help .help-spindle-right{left:90.6%;transform:scaleX(-1);}
.nusantara-help .help-content{position:relative;display:flex;flex-direction:column;justify-content:center;gap:inherit;min-width:0;}
.nusantara-help[open] .help-scroll{animation:help-scroll-arrive var(--help-impact) cubic-bezier(.55,0,.9,.6) both;transform-origin:50% 50%;}
.nusantara-help[open] .help-paper{animation:help-paper-open 2.3s cubic-bezier(.25,.1,.25,1) var(--help-impact) both;}
.nusantara-help[open] .help-spindle-left{animation:help-spindle-left-open 2.3s cubic-bezier(.25,.1,.25,1) var(--help-impact) both;}
.nusantara-help[open] .help-spindle-right{animation:help-spindle-right-open 2.3s cubic-bezier(.25,.1,.25,1) var(--help-impact) both;}
.nusantara-help[open] .help-content{animation:help-copy-in .6s ease 2.9s both;}
@keyframes help-scroll-arrive{
 0%{opacity:0;transform:perspective(1000px) translate3d(0,-7vh,560px) rotateX(12deg) rotateZ(-3deg);}
 12%{opacity:1;}
 100%{opacity:1;transform:perspective(1000px) translate3d(0,0,0) rotateX(0) rotateZ(0);}
}
@keyframes help-paper-open{from{clip-path:inset(0 46%);}to{clip-path:inset(0 0);}}
@keyframes help-spindle-left-open{from{left:43%;}to{left:2.4%;}}
@keyframes help-spindle-right-open{from{left:50%;}to{left:90.6%;}}
@keyframes help-copy-in{from{opacity:0;visibility:hidden;transform:translateY(5px);}to{opacity:1;visibility:visible;transform:translateY(0);}}
/* A gentle invitation starts only after the welcome scroll has opened. */
.journey-welcome.scroll-is-open .welcome-copy .welcome-actions>.journey-primary{animation:opening-cta-breathe 2.8s ease-in-out .8s infinite;transform-origin:center;}
.journey-welcome.scroll-is-open .welcome-copy .welcome-actions>.journey-primary:is(:hover,:focus-visible,:active){animation:none;scale:1;}
@keyframes opening-cta-breathe{0%,100%{scale:1;}50%{scale:1.035;}}
@media(prefers-reduced-motion:reduce){
 .nusantara-help[open] :is(.help-sheet,.help-scroll,.help-paper,.help-spindle,.help-content){animation:none;}
 .journey-welcome.scroll-is-open .welcome-copy .welcome-actions>.journey-primary{animation:none;scale:1;}
}

/* Uploaded Kling landscape, with matching still fallback and original contrast scrims. */
.journey-welcome .welcome-landscape{background:url('./assets/video/archipelago-live-v1-poster.webp') center/cover no-repeat;overflow:hidden;pointer-events:none;}
.journey-welcome .welcome-background-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity .8s ease;pointer-events:none;}
.journey-welcome .welcome-landscape.video-ready .welcome-background-video{opacity:1;}
.journey-welcome .welcome-landscape::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08211fe8,#102b2399 45%,#13362611 78%),linear-gradient(0deg,#061e20d9,transparent 48%);pointer-events:none;}
@media(prefers-reduced-motion:reduce){.journey-welcome .welcome-background-video{display:none;transition:none;}}

/* Returning players can resume immediately, without the opening parchment. */
.journey-welcome .welcome-scene .welcome-copy.welcome-returning{height:auto;max-height:100%;align-self:center;padding:20px clamp(14px,4vw,64px)!important;background:none;filter:none;clip-path:none;animation:none;}
.journey-welcome .welcome-returning .welcome-actions{display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:clamp(12px,2.7vh,22px);width:min(100%,440px);margin:0 auto;opacity:1;}
.journey-welcome .welcome-returning .welcome-actions>button{width:100%;min-height:clamp(52px,10vh,76px)!important;font-size:clamp(12px,2.7vh,20px)!important;padding:14px 32px!important;}
.journey-welcome .welcome-returning .welcome-actions>.journey-quiet{background:linear-gradient(165deg,#193b30f2,#09281df2)!important;}
.journey-welcome .welcome-returning .welcome-actions>small{color:#f4e4bb;font:500 clamp(12px,2.4vh,17px)/1.4 var(--n-book);text-shadow:0 2px 5px #031812;margin-top:2px;}
.journey-welcome .welcome-returning .welcome-actions>button:focus-visible{outline-color:#fff0bd;}
.journey-returning .value-cycle>b{animation-play-state:running;}
@media(max-height:430px){.journey-welcome .welcome-scene .welcome-copy.welcome-returning{padding:10px 16px!important;}.journey-welcome .welcome-returning .welcome-actions{gap:12px;}.journey-welcome .welcome-returning .welcome-actions>button{min-height:48px!important;padding:10px 28px!important;}.journey-welcome .welcome-returning .welcome-actions>small{font-size:12px;}}
