:root{--paper:#f2eee0;--ink:#1e3a34;--muted:#6a7568;--water:#275d6d;--forest:#3d6b4f;--gold:#b76c2f;--line:#c9c9b4;--ease:cubic-bezier(.2,.85,.25,1)}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:Arial,Helvetica,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #b76c2f;outline-offset:5px}button{border:0}#experience{height:100svh;min-height:580px;position:relative;overflow:hidden}
#map{position:absolute;inset:0;background:#d9e2d2;z-index:0}.leaflet-container{font-family:inherit}.leaflet-control-container{display:none}.leaflet-interactive{outline:none}.grain{pointer-events:none;position:absolute;inset:0;z-index:2;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23525a42' opacity='.4' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}.vignette{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(242,238,224,.7),transparent 20%,transparent 85%,rgba(242,238,224,.5))}header{position:absolute;z-index:4;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:30px 38px}header>a{font-size:14px;letter-spacing:.17em;font-weight:700;color:var(--ink);text-decoration:none}header>a span{padding:0 12px;color:#89917f}.quiet{padding:10px 0 10px 18px;background:none;font-size:14px}.quiet span{margin-left:12px}.map-caption{position:absolute;top:105px;left:39px;z-index:3;display:flex;align-items:center;gap:9px;font-size:14px;color:#4d6a63;letter-spacing:.03em}.key-line{height:2px;width:25px;background:#3f7f88}.chapter-rail{position:absolute;left:40px;top:42%;z-index:4;display:flex;flex-direction:column;gap:23px}.rail-line{position:absolute;left:5px;top:8px;bottom:8px;width:1px;background:#9caa95}.chapter-rail button{position:relative;display:flex;align-items:center;gap:14px;padding:0;background:none;font-size:14px;color:#6a7768;text-align:left;min-height:24px}.chapter-rail i{width:11px;height:11px;border:1px solid #879a85;border-radius:50%;background:#eae6d4;display:block;transition:all .5s}.chapter-rail button.active{color:var(--ink)}.chapter-rail .active i{background:#a56c3d;border-color:#a56c3d;box-shadow:0 0 0 5px #a56c3d15}.north{position:absolute;top:109px;right:42px;z-index:3;display:grid;justify-items:center;color:#687a66;font:14px Georgia,serif;gap:5px}.north svg{width:25px;height:34px}.story-card{position:absolute;z-index:4;right:5vw;bottom:68px;width:410px;max-width:calc(100% - 32px);padding:27px 29px 24px;background:rgba(248,244,232,.97);border:1px solid rgba(108,116,87,.25);box-shadow:0 16px 60px #2f49351a,0 2px 3px #465c3910;border-radius:3px}.eyebrow{display:flex;justify-content:space-between;gap:12px;font-size:14px;letter-spacing:.14em;font-weight:700;color:#7b826e}h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.07;letter-spacing:-.045em;font-size:43px;margin:22px 0 19px;text-wrap:balance}#narration{font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.5;letter-spacing:-.01em;margin:0;min-height:103px;color:#4e5c4c}.card-footer{display:flex;align-items:center;gap:10px;margin-top:24px}.back{background:none;width:27px;height:42px;text-align:left;padding:0;font-size:17px}.back:disabled{opacity:.2;cursor:default}.text-button{margin-right:auto;font-size:14px;letter-spacing:.02em;padding:12px 0;background:none;white-space:nowrap;color:#65735d}.text-button span{padding-left:3px}.next{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:14px 17px;background:#2c5148;color:#fff9e9;border-radius:3px;font-size:14px;box-shadow:0 3px 0 #1f3f37;transition:transform .4s var(--ease),background .25s;white-space:nowrap;min-height:44px}.next:hover{background:#23443b;transform:translateY(-2px)}.next:active{transform:translateY(2px);box-shadow:0 0 0 #1f3f37}.next span{font-size:17px;line-height:1}.progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:#d9d9c7}.progress span{display:block;background:#aa7b45;height:100%;width:14.285%;transition:width .8s var(--ease)}.detail{font-size:14px;line-height:1.55;color:#6b715f;border-top:1px solid #d5d5c3;margin-top:17px;padding-top:13px}.detail em{display:block;font-size:14px;font-style:normal;margin-top:7px;color:#8b8c78}.map-tools{position:absolute;bottom:66px;left:39px;z-index:4;display:flex;border:1px solid #abb79e;background:#eeeadaeb;border-radius:3px}.map-tools button{width:36px;height:36px;background:none;font-size:17px}.map-tools button+button{border-left:1px solid #c5c9b4}.map-credit{position:absolute;z-index:3;bottom:13px;left:39px;right:20px;font-size:14px;color:#5d6d5a;line-height:1.5}.map-credit a{color:inherit;text-underline-offset:2px}.hint{position:absolute;left:39px;bottom:118px;z-index:3;font-size:14px;color:#7a806e;letter-spacing:.02em}.hint span{margin:0 7px}.label{white-space:nowrap;font-size:14px;letter-spacing:.07em;color:#6a775e;text-align:center;background:none;border:none;box-shadow:none;text-shadow:0 0 3px #f2eee0,0 0 3px #f2eee0,0 1px 2px #f2eee0}.country-label{font-size:14px;letter-spacing:.22em;color:#8d947c}.water-label{font-family:Georgia,serif;font-style:italic;letter-spacing:.02em;font-size:14px;color:#2d6660}.place-label{font-size:14px;letter-spacing:.05em;color:#476855}.equator-label{font-size:14px;letter-spacing:.3em;color:#a56c3d;font-weight:700}.depth-label{font-family:Georgia,serif;font-style:italic;font-size:14px;color:#2a4d66;letter-spacing:.02em}.leaflet-tooltip:before{display:none}.river{filter:drop-shadow(0 1px 2px #2a6a7a20)}.pulse-path{stroke-dasharray:2 15;animation:flow 7s linear infinite;stroke-linecap:round}.forest-shape{transition:fill-opacity 1.8s,stroke-opacity 1.8s;filter:drop-shadow(0 0 7px #5f9f6f55)}.basin-shape{transition:stroke-opacity 1.2s}.pool-shape{transition:fill-opacity 1.2s,stroke-opacity 1.2s}.deep-shape{transition:fill-opacity 1.2s,stroke-opacity 1.2s}.equator-line{transition:stroke-opacity 1.2s}.river-active{filter:drop-shadow(0 0 3px #f7e8b7)}.place-dot{border-radius:50%;background:#bd874e;border:2px solid #fff3d2;box-shadow:0 0 0 5px #ac945f20}.leaflet-zoom-animated{will-change:transform}.scene-enter{animation:arrival .7s var(--ease)}@keyframes arrival{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes flow{to{stroke-dashoffset:-170}}dialog{width:640px;max-width:calc(100vw - 32px);max-height:85svh;overflow:auto;border:1px solid #c6c7b1;border-radius:4px;padding:36px 40px;background:#f7f1e2;color:#33473a;box-shadow:0 24px 100px #0a241d40}dialog::backdrop{background:#223a35a8;backdrop-filter:blur(6px)}.close{float:right;background:none;font-size:25px;line-height:1;padding:0 0 10px 10px}h2{font:35px/1.15 Georgia,serif;letter-spacing:-.03em;margin:18px 0}dialog p{font-size:14px;line-height:1.7;color:#68735f}.source-list{list-style:none;padding:0;margin:26px 0}.source-list li{padding:16px 0;border-top:1px solid #d7d7c1}.source-list a{color:#2f5a4f;font:16px Georgia,serif;text-decoration:none;border-bottom:1px solid #9eaa8e;line-height:1.5}.source-list p{margin-bottom:0}.source-list~h3{font:20px Georgia,serif}#returnStory{margin-top:25px}dialog .eyebrow{display:block}
@media(min-width:1350px){.story-card{width:450px;padding:32px 34px 28px;bottom:85px}h1{font-size:48px}#narration{font-size:18px;min-height:108px}.map-tools{bottom:85px}.hint{bottom:137px}}
@media(max-width:760px){#experience{min-height:580px}header{padding:18px 20px}header>a{font-size:14px;letter-spacing:.12em}header>a span{padding:0 7px}.quiet{font-size:14px;padding:8px}.quiet span{margin-left:3px}.map-caption{top:66px;left:20px;font-size:14px}.north{right:23px;top:83px}.north svg{height:26px;width:20px}.story-card{bottom:36px;right:16px;left:16px;width:auto;max-width:none;padding:21px 22px 22px}h1{font-size:36px;line-height:1.04;margin:15px 0 13px}#narration{font-size:15px;line-height:1.45;min-height:86px}.eyebrow{font-size:14px}.card-footer{margin-top:14px;gap:8px}.text-button{font-size:14px}.next{font-size:14px;padding:12px 13px;gap:10px}.back{width:18px}.chapter-rail{left:20px;top:103px;flex-direction:row;gap:20px}.chapter-rail .rail-line{left:5px;top:6px;right:5px;bottom:auto;height:1px;width:auto}.chapter-rail button{min-height:12px}.chapter-rail button span{display:none}.chapter-rail i{width:8px;height:8px}.hint{top:135px;bottom:auto;left:20px;right:100px;font-size:14px;max-width:150px;line-height:1.5}.map-tools{left:auto;right:21px;bottom:calc(49% + 12px);flex-direction:column}.map-tools button{width:28px;height:28px;font-size:15px}.map-tools button+button{border-left:0;border-top:1px solid #c5c9b4}.map-credit{font-size:14px;left:18px;bottom:10px;right:18px}.country-label{font-size:14px}.water-label{font-size:14px}.detail{font-size:14px;margin-top:12px;padding-top:10px}dialog{padding:24px}.source-list a{font-size:15px}dialog h2{font-size:29px}}
@media(max-width:350px){header{padding:16px}header>a{font-size:14px}.story-card{left:10px;right:10px;padding:18px 18px 20px}h1{font-size:33px}#narration{font-size:14px;min-height:82px}.text-button{font-size:14px}.next{font-size:14px;padding:12px 11px;gap:7px}.card-footer{gap:7px}.hint{max-width:130px}.map-tools{right:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Phone layout: keep map controls clear of the story card and of expanded notes. */
@media(max-width:760px){.hint{display:none}.map-tools{top:156px;bottom:auto}.note-open .map-tools{opacity:0;pointer-events:none}.label{font-size:14px}.water-label{font-size:14px}.country-label{font-size:14px}}
/* Visible motion with a quiet static equivalent; larger touch targets. */
.chapter-rail button{min-height:44px}.chapter-rail{gap:5px}.rail-line{top:22px;bottom:22px}.map-tools button{width:44px;height:44px}
@media(max-width:760px){.chapter-rail{top:86px;gap:0}.chapter-rail button{width:36px;min-height:44px;justify-content:center}.chapter-rail .rail-line{top:21px;left:18px;right:18px}.map-tools{top:145px}.map-tools button{width:38px;height:40px}.north{top:88px}.north svg{height:25px}.back{min-width:28px;text-align:center}.text-button{min-height:44px}}
@media(max-width:350px){.back{min-width:20px}.text-button{font-size:14px}}
/* Consistent accessible hit areas and a calmer reading hierarchy. */
.back{min-width:36px;width:36px;min-height:44px}.quiet{min-height:44px}.chapter-rail button{min-width:44px}.map-tools button{width:44px;height:44px}.text-button{min-height:44px}.map-credit{color:#4f6252}#narration{color:#45553f}.place-label{color:#42634f}
@media(max-width:760px){.chapter-rail button{width:44px}.map-tools{top:144px}.story-card{box-shadow:0 8px 32px #2f49351a}.back{min-width:27px;width:27px}}
@media(max-width:350px){.back{min-width:22px;width:22px}.next{padding-left:10px;padding-right:10px}}

@media(max-height:600px){#experience{min-height:100svh}.map-credit{right:18px}}
@media(max-width:760px) and (max-height:600px){.story-card{max-height:calc(100svh - 110px);overflow:auto}}

.not-ready{visibility:hidden}
header>a{font-size:14px;letter-spacing:.08em;display:inline-flex;align-items:center;min-height:44px}
header>a span{padding:0 8px}
.quiet{font-size:14px;min-width:44px}
.map-caption{font-size:14px;letter-spacing:0;color:#3f5448}
.north{font-size:14px}
.chapter-rail button{font-size:14px}
.eyebrow{font-size:14px;letter-spacing:.06em;flex-wrap:wrap;color:#5e664f}
.detail{font-size:14px}.detail em{font-size:14px}
.text-button{font-size:14px;letter-spacing:0;color:#4c5a45}
.next{font-size:14px}
.back{width:44px;min-width:44px;height:44px;min-height:44px;text-align:center}
.map-credit{font-size:14px;color:#44553f}
.map-credit a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px}
.hint{font-size:14px;color:#5d6450}
.label,.country-label,.place-label,.evaporation,.evaporation span{font-size:14px!important}
.country-label{letter-spacing:.14em;color:#6f765f}.place-label{letter-spacing:.03em}
dialog p,dialog .intro{font-size:14px;color:#4f5a47}
.close{width:44px;height:44px;padding:0;display:flex;align-items:center;justify-content:center}
.source-list a{display:inline-block;min-height:44px;padding:9px 0 3px;border-bottom:0;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#9eaa8e}
#returnStory{min-height:44px}
@media(max-width:760px){
 header>a{font-size:14px;letter-spacing:.04em}.quiet{font-size:14px;padding:8px}
 .map-caption{font-size:14px;top:70px}
 .eyebrow{font-size:14px}
 .text-button{font-size:14px}.next{font-size:14px;padding:12px 14px}
 .detail{font-size:14px}
 .back{width:44px;min-width:44px}
 .card-footer{gap:4px}
 .map-credit span{display:none}.map-credit{font-size:14px}
 .label,.country-label,.place-label,.water-label{font-size:14px!important}
 .country-label{letter-spacing:.06em}
}
@media(max-width:350px){
 header>a{font-size:14px;letter-spacing:0}header>a span{padding:0 4px}
 .text-button,.next{font-size:14px}.next{padding:12px 10px;gap:6px}
 .back{width:44px;min-width:44px}
}
@media(max-width:760px){
 .map-caption{top:84px}
 .chapter-rail{top:100px}
 .map-tools{top:152px}
 .map-credit{bottom:0;left:18px;right:18px}
 .story-card{bottom:48px}
}
#experience{min-height:0}
@media(max-height:480px){
 header{padding:0 10px 0 14px;height:48px}
 header>a{min-height:44px}
 .map-caption{top:50px;left:14px;max-width:38vw;line-height:1.2}
 .chapter-rail{top:96px;left:14px}
 .north{display:none}
 .story-card{left:auto;right:8px;top:50px;bottom:8px;width:60vw;max-width:none;padding:10px 14px 12px;overflow:hidden;display:flex;flex-direction:column}
 .eyebrow{gap:2px 10px;line-height:1.25}
 h1{font-size:24px;margin:6px 0 6px;line-height:1.05}
 #narration{font-size:14px;line-height:1.35;min-height:0}
 .detail{margin-top:6px;padding-top:6px;line-height:1.35}
 .card-footer{margin-top:auto;padding-top:6px}
 .map-tools{top:auto;bottom:52px;left:14px;right:auto;flex-direction:row}
 .map-tools button+button{border-top:0;border-left:1px solid #c5c9b4}
 .map-credit{left:14px;right:auto;bottom:0;width:36vw}
}
@media(max-height:480px),(max-width:350px){.note-open #narration{display:none}}
@media(max-height:480px){.note-open h1{display:none}}
@media(max-width:350px){.map-tools{top:148px;right:10px;flex-direction:row}.map-tools button+button{border-top:0;border-left:1px solid #c5c9b4}.north{display:none}}
@media(max-height:480px){.story-card{padding:8px 14px 8px}.note-open .eyebrow{display:none}.detail{margin-top:0;padding-top:4px}.card-footer{padding-top:2px}}

.sep{font-style:normal}@media(max-width:760px){.sep{display:none}}

/* Sources dialog pages */
dialog{overflow:hidden;display:none;flex-direction:column}
dialog[open]{display:flex}
.dlg-pages{flex:1 1 auto;min-height:0;overflow:hidden}
.dlg-off{display:none!important}
.dlg-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;margin-top:8px;border-top:1px solid #d7d7c1;flex:0 0 auto}
.dlg-nav button{min-height:44px;min-width:44px;padding:0 14px;background:none;font-size:14px;color:#355f50;border-radius:3px}
.dlg-count{font-size:14px;color:#4f5a47}
.dlg-nav .dlg-gone{display:none}
.dlg-nav #returnStory{margin-top:0;background:#35594a;color:#fff9e9}
.dlg-about h3{margin:4px 0 8px}
.source-list{margin:8px 0}
@media(max-height:480px){dialog{padding:10px 16px 8px}dialog h2{font-size:22px;margin:4px 0}.source-list li{padding:8px 0}dialog p{line-height:1.45}.dlg-nav{margin-top:4px;padding-top:4px}}

@media(max-width:350px){h1{font-size:28px;margin:8px 0 8px}#narration{min-height:0;line-height:1.38}.card-footer{margin-top:8px}.story-card{padding:14px 16px 14px}}
@media(max-height:480px),(max-width:350px){.note-open .map-caption,.note-open .chapter-rail{visibility:hidden}}
.map-caption{max-width:calc(100vw - 150px)}
@media(max-height:480px){.map-caption{max-width:calc(40vw - 14px)}}
.source-list li{padding:8px 0}.source-list a{padding:7px 0 2px}dialog p{line-height:1.5}
@media(max-width:760px){dialog{padding:16px 18px 12px}dialog h2{font-size:26px;margin:8px 0}.source-list{margin:4px 0}}
.note-open .map-tools{visibility:hidden}
@media(max-height:480px){.map-caption{max-width:calc(40vw - 32px)}}
@media(max-width:760px) and (min-height:481px){.map-caption{max-width:calc(100vw - 80px)}}
@media(max-width:350px) and (min-height:481px){.map-caption{max-width:calc(100vw - 40px)}}
@media(max-width:350px) and (min-height:481px){.chapter-rail{top:118px}.map-tools{top:152px}}
@media(max-width:350px){.story-card{padding:14px 10px 14px}.card-footer{gap:2px}.card-footer>*{min-width:0}.next span{display:none}.next{padding:12px 12px}.text-button{padding-left:2px;padding-right:2px}.eyebrow{padding:0 6px}h1,#narration,.detail{padding:0 6px}}
@media(max-width:350px){.note-open h1{display:none}.note-open .eyebrow{margin-bottom:6px}}
@media(max-height:480px){.note-open .story-card{width:calc(100vw - 16px)}}
@media(max-height:480px){.source-list li{padding:4px 0}.source-list a{padding:4px 0 0}.dlg-nav{margin-top:2px}dialog{padding-bottom:6px}}
@media(max-width:760px) and (min-height:481px){.chapter-rail{top:118px}.map-tools{top:152px}}
@media(max-height:480px){
 .story-card{width:64vw}.map-caption{max-width:calc(36vw - 30px)}
 .eyebrow{letter-spacing:.02em}
 h1{font-size:22px;margin:4px 0}
 #narration{line-height:1.3}
}

@media(max-height:480px){#narration{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}}
@media(max-width:350px) and (min-height:481px){.story-card{max-height:calc(100svh - 252px);display:flex;flex-direction:column;overflow:hidden}#narration{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}}

@media(max-height:480px){.map-credit span{display:none}.map-credit{width:auto}.hint{max-width:calc(36vw - 55px)}}
