/* v29: correct progress gating and redraw the reader, atlas, confluence and number frames */
.choice-v26-head{min-height:155px}.choice-v26-head h1{max-width:940px;font-size:clamp(38px,4.6vw,66px);line-height:1.18;color:#252b28}.choice-v26-head h1 em{color:#9e4236}.choice-v26-head>p:last-child{color:#605f56}.choice-v26-card-copy>b{color:#26302d}.choice-v26-card:nth-child(2) .choice-v26-card-copy>b{color:#f1e5ce}.choice-v26-card:nth-child(2) .v26-point i{color:#f4d997;border-color:#d5b774;background:#303a36}.choice-v26-card:nth-child(2) .v26-point b{color:#f2e8d6}
.path-v25-menu h2{color:#26302c}.path-v25-menu.dimensions h2{color:#f5ead5!important}.path-v25-menu.dimensions .path-v25-eyebrow{color:#e3c47c}.path-v25-menu.dimensions .path-v25-list b{color:#f4e8d2!important}.path-v25-menu.dimensions .path-v25-list a:focus-visible{outline:2px solid #e4c77c;outline-offset:-3px}.path-v25-menu.traditional .path-v25-list b{color:#27352f}.path-v25-intro{max-width:620px}

/* Compact title band keeps the interactive map clear of the masthead */
.atlas-heading{min-height:145px;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;align-items:end;margin-bottom:20px;padding-bottom:17px;border-bottom:1px solid #aa9a7d66}.atlas-heading .eyebrow{grid-column:1/-1}.atlas-heading h1{max-width:1000px;margin:12px 0 0;font-size:clamp(38px,4.7vw,63px);line-height:1.12;letter-spacing:.015em}.atlas-coordinates{grid-column:2;grid-row:2;align-self:end;margin:0 0 8px}.atlas-stage{margin-top:0;grid-template-rows:36px minmax(390px,57vh) auto;overflow:hidden}.atlas-map-scroll{isolation:isolate}.atlas-contours{opacity:.72}.atlas-river{stroke:#8da3a0;stroke-width:11;opacity:.38}.atlas-route{stroke-width:3.4;stroke-dasharray:7 8}.atlas-route-runner{stroke-width:4;stroke-dasharray:1 190;animation-duration:8s}.atlas-walker{fill:#f3d58f;stroke:#342e27;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 3px #27231f77)}.atlas-walker circle{fill:#f3d58f}.atlas-stop.selected .stop-pulse{stroke-width:2}.atlas-stop .stop-name{font-size:17px;font-weight:600}.atlas-stop .stop-year{font-size:14px;font-weight:600}.atlas-side{background:#293331}.atlas-place-card p{color:#e0d9c9}.atlas-enter{color:#f2dfb7}.atlas-foot{font-size:10px}
.atlas-mountain-scene .ridge{stroke:none}.atlas-mountain-scene .ridge.far{fill:#a3a28f;opacity:.39}.atlas-mountain-scene .ridge.near{fill:#8c9481;opacity:.3}.map-village,.map-museum{fill:#e5d9c2;stroke:#645e4e;stroke-width:2.4;stroke-linejoin:round;opacity:.86}.map-pines{fill:#687865;stroke:#536651;stroke-width:1.3;opacity:.78}.atlas-walker path{fill:none}

/* Five strands gather into a full-size facsimile; the coda follows the image */
.confluence-v29{--c-paper:#f1e7d3;--c-gold:#dec17c;--c-red:#ae4939;min-height:100vh;padding:0 clamp(18px,5vw,74px) 65px;background:radial-gradient(ellipse at 60% 42%,#553b31 0,#302925 48%,#1d2220 100%);color:var(--c-paper);overflow:hidden;position:relative;isolation:isolate}.confluence-v29:before{content:"";position:absolute;z-index:-1;inset:0;opacity:.16;pointer-events:none;background-image:radial-gradient(#f2e4c8 .6px,transparent .85px);background-size:5px 5px;mask-image:linear-gradient(transparent,#000 15%,#000 88%,transparent)}
.c29-head{height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #dec77d38;color:#d1c4ac;font:10px -apple-system,sans-serif;letter-spacing:.12em}.c29-head a{color:#e0c47e}.c29-head small{color:#e4c779;font-size:9px}
.c29-stage{position:relative;width:min(1500px,100%);height:min(75vh,770px);min-height:570px;margin:23px auto 0;overflow:hidden;border:1px solid #d6bd8155;background:linear-gradient(110deg,#292d2a,#34302a 64%,#2b2924);box-shadow:0 26px 90px #080a0880}.c29-title{position:absolute;z-index:4;left:6%;top:7%;max-width:48%;animation:c29-title .8s both}.c29-title p{margin:0;color:#e0c17b;font:10px -apple-system,sans-serif;letter-spacing:.18em}.c29-title h1{margin:17px 0 0;color:#f4e9d5;font:clamp(44px,5.8vw,80px)/1.13 "Songti SC","STSong",serif;font-weight:400;letter-spacing:.045em}.c29-title h1 em{color:#e2bd78;font-size:.64em;font-style:normal;letter-spacing:.12em}
.c29-routes{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.c29-thread{fill:none;stroke-width:2.8;stroke-dasharray:1500;stroke-dashoffset:1500;animation:c29-thread .95s cubic-bezier(.2,.72,.22,1) forwards;filter:drop-shadow(0 0 5px #f3dfb455)}.c29-thread.t1{stroke:url(#c29a);animation-delay:.15s}.c29-thread.t2{stroke:url(#c29b);animation-delay:.35s}.c29-thread.t3{stroke:url(#c29c);animation-delay:.55s}.c29-thread.t4{stroke:url(#c29d);animation-delay:.75s}.c29-thread.t5{stroke:url(#c29e);animation-delay:.95s}.c29-knot{fill:#f0d796;opacity:0;filter:drop-shadow(0 0 15px #f0d796);animation:c29-knot .6s 1.55s forwards}.c29-outflow{fill:none;stroke:#d7b970;stroke-width:2;stroke-dasharray:5 11;opacity:0;animation:c29-outflow .8s 1.8s forwards}
.c29-entries{position:absolute;z-index:5;left:3%;top:27%;bottom:10%;display:flex;flex-direction:column;justify-content:space-between}.c29-entries a{display:flex;align-items:center;gap:11px;color:#eee3ce;opacity:0;transform:translateX(-9px);animation:c29-entry .5s both;animation-delay:calc(1.6s + var(--n,0)*.12s)}.c29-entries a:nth-child(1){--n:0}.c29-entries a:nth-child(2){--n:1}.c29-entries a:nth-child(3){--n:2}.c29-entries a:nth-child(4){--n:3}.c29-entries a:nth-child(5){--n:4}.c29-entries a i{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ddc17a;border-radius:50%;background:#2c2c28;color:#f0d28d;font:17px "Songti SC",serif;font-style:normal}.c29-entries a span{display:flex;flex-direction:column;gap:4px}.c29-entries a b{font:14px "Songti SC",serif;font-weight:400}.c29-entries a small{color:#d3c5ae;font:9px -apple-system,sans-serif;letter-spacing:.08em}.c29-entries a:hover i{background:#a34738;color:#fff0d6}
.c29-letter{position:absolute;z-index:4;left:64%;top:50%;width:clamp(215px,27vw,360px);margin:0;padding:15px 15px 12px;background:#eee3ce;box-shadow:0 24px 65px #080a09a8;transform:translate(-50%,-50%) rotate(1.7deg) scale(.96);opacity:0;animation:c29-letter 1s 1.7s cubic-bezier(.2,.8,.2,1) forwards}.c29-letter figcaption{padding:0 0 10px;color:#974d3c;font:10px -apple-system,sans-serif;letter-spacing:.14em}.c29-letter img{display:block;width:100%;height:clamp(285px,46vh,440px);object-fit:contain;background:#ded4c0}.c29-letter>span{display:block;padding-top:10px;color:#4a4035;font:14px "Songti SC",serif;letter-spacing:.2em}.c29-endnote{position:absolute;right:4%;top:49%;width:20%;display:flex;flex-direction:column;gap:9px;color:#d3c4a7;opacity:0;animation:c29-entry .65s 2.25s forwards}.c29-endnote span{color:#dfc17c;font:9px -apple-system,sans-serif;letter-spacing:.18em}.c29-endnote b{font:clamp(16px,1.7vw,23px)/1.8 "Songti SC",serif;font-weight:400}
.c29-coda{width:min(1200px,95%);margin:52px auto 0;padding:26px 0;border-top:1px solid #ddc78b4a;border-bottom:1px solid #ddc78b4a;display:flex;align-items:center;justify-content:space-between;gap:28px}.c29-coda p{margin:0;color:#eee3ce;font:clamp(18px,2vw,26px)/1.9 "Songti SC",serif}.c29-coda p em{color:#dfc17c;font-style:normal}.c29-coda>div{display:flex;flex-direction:column;gap:12px;flex:none}.c29-coda .button{padding:8px 0;border:0;border-bottom:1px solid #ddc17a;color:#f0ddb7;font:10px -apple-system,sans-serif;white-space:nowrap}
@keyframes c29-title{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes c29-thread{to{stroke-dashoffset:0}}@keyframes c29-knot{to{opacity:1}}@keyframes c29-outflow{to{opacity:.8}}@keyframes c29-entry{to{opacity:1;transform:none}}@keyframes c29-letter{to{opacity:1;transform:translate(-50%,-50%) rotate(0) scale(1)}}

/* Artistic but legible running labels; keep numerals inside the frame */
.number-film-v19 .film-top{top:clamp(30px,4vh,48px);font-size:clamp(13px,1vw,16px);letter-spacing:.2em}.number-film-v19 .film-top>span:first-child{display:inline-block;transform:rotate(-5deg) skewX(-4deg);transform-origin:left center;color:inherit;font-family:"STKaiti","KaiTi","Songti SC",serif;text-shadow:0 1px 0 #fff3}.number-film-v19 .film-top .film-count{font-size:clamp(12px,.9vw,14px)}
.number-film-v19 .v19-num{line-height:.8}.number-film-v19 .scene-23 .v19-num{left:8%;top:-4%;font-size:clamp(330px,54vw,760px)}.number-film-v19 .scene-12 .v19-num{left:16%;top:-5%;font-size:clamp(330px,54vw,760px)}.number-film-v19 .scene-7 .v19-num{left:18%;top:-6%;font-size:clamp(340px,55vw,760px)}.number-film-v19 .scene-4 .v19-num{left:18%;top:-5%;font-size:clamp(360px,57vw,780px)}
@media(max-width:900px){.atlas-heading{min-height:130px}.atlas-heading h1{font-size:clamp(35px,6.5vw,52px)}.atlas-stage{grid-template-rows:34px minmax(370px,54vh) auto}.confluence-v29{padding:0 14px 45px}.c29-stage{min-height:520px;height:68vh}.c29-title h1{font-size:clamp(42px,7vw,65px)}.c29-letter{left:66%;width:clamp(190px,31vw,280px)}.c29-endnote{right:3%;top:74%;width:23%}}
@media(max-width:650px){.choice-v26-head{min-height:150px}.choice-v26-head h1{font-size:35px;max-width:100%}.path-v25-menu.dimensions h2{font-size:35px}.atlas-heading{min-height:0;padding-bottom:14px;grid-template-columns:1fr}.atlas-heading h1{font-size:40px}.atlas-coordinates{grid-column:1;grid-row:auto;margin-top:12px}.atlas-stage{grid-template-rows:30px minmax(360px,48vh) auto 32px}.atlas-map-scroll{overflow:auto}.atlas-map-scroll svg{width:920px}.atlas-place-card p{line-height:1.75}.confluence-v29{padding:0 10px 35px}.c29-head{height:52px;font-size:8px}.c29-head small{font-size:7px}.c29-stage{height:66vh;min-height:500px;margin-top:11px}.c29-title{left:6%;top:5%;max-width:90%}.c29-title p{font-size:8px}.c29-title h1{margin-top:12px;font-size:43px}.c29-routes{inset:16% -44% 0 -3%;width:145%;height:80%}.c29-entries{left:4%;top:34%;bottom:9%}.c29-entries a{gap:6px}.c29-entries a i{width:29px;height:29px;font-size:14px}.c29-entries a b{font-size:11px}.c29-entries a small{font-size:7px}.c29-letter{left:68%;top:56%;width:clamp(142px,43vw,205px);padding:8px}.c29-letter figcaption{font-size:7px;padding-bottom:6px}.c29-letter img{height:26vh;min-height:190px}.c29-letter>span{font-size:10px}.c29-endnote{left:44%;right:auto;top:81%;width:52%;gap:3px}.c29-endnote b{font-size:12px;line-height:1.5}.c29-coda{width:100%;margin-top:25px;padding:16px 0;align-items:flex-start;flex-direction:column;gap:12px}.c29-coda p{font-size:17px}.c29-coda>div{flex-direction:row;gap:18px}.number-film-v19 .film-top{top:20px}.number-film-v19 .scene-23 .v19-num{left:1%;top:-4%;font-size:clamp(300px,76vw,520px)}.number-film-v19 .scene-12 .v19-num{left:5%;top:-5%;font-size:clamp(300px,77vw,530px)}.number-film-v19 .scene-7 .v19-num{left:7%;top:-6%;font-size:clamp(320px,78vw,550px)}.number-film-v19 .scene-4 .v19-num{left:6%;top:-5%;font-size:clamp(330px,79vw,560px)}}
@media(prefers-reduced-motion:reduce){.atlas-route-runner,.atlas-walker,.c29-title,.c29-thread,.c29-knot,.c29-outflow,.c29-entries a,.c29-letter,.c29-endnote{animation:none!important;opacity:1;stroke-dashoffset:0;transform:none}.c29-letter{transform:translate(-50%,-50%)}.number-film-v19 .film-top>span:first-child{transform:none}}
