@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#243e34;--paper:#f7f8f3;--muted:#7b837b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Golos Text',sans-serif;font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit}header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid #dfe4d9;gap:20px}.brand{text-decoration:none;display:flex;align-items:center;font:800 30px 'Manrope',sans-serif;letter-spacing:-1px;gap:10px}.brand-icon{font-size:30px;background:#244c40;color:#fff;width:42px;height:42px;border-radius:50%;text-align:center}.brand-sub{font:400 11px 'Golos Text',sans-serif;max-width:100px;letter-spacing:0;line-height:1.5;margin-left:10px}.region{font-size:12px}.region span{color:#9aab9c;margin-left:18px}.outline{border:1px solid #cbd3c7;background:transparent;padding:11px 17px;border-radius:30px;font-size:12px;color:var(--ink)}main{height:calc(100dvh - 88px);min-height:650px;display:grid;grid-template-columns:390px 1fr}aside{padding:38px 32px 20px 40px;display:flex;flex-direction:column}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:#758270}h1{font:500 43px/1.16 'Manrope',sans-serif;letter-spacing:-2px;margin:20px 0 16px}h1 em{font-family:Georgia,serif;color:#5e795e;font-weight:400}.intro{color:#7c8479;line-height:1.7;font-size:12px;max-width:290px;margin:0 0 28px}.list-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-bottom:12px}.count{font-size:10px;border:1px solid #d8dfd3;border-radius:20px;padding:4px 7px}.place{display:flex;align-items:flex-start;gap:14px;border:0;border-top:1px solid #dde2d7;background:transparent;text-align:left;width:100%;padding:19px 5px;color:var(--ink);transition:.2s}.place:hover,.place.active{background:#ecf0e6;border-radius:12px;padding-left:12px;padding-right:12px}.place.active{border-color:transparent}.num{border:1px solid currentColor;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:10px;flex-shrink:0}.green{color:#47715b}.rust{color:#ac775f}.gold{color:#a39350}.place-info{display:flex;flex-direction:column;gap:7px;flex:1}.place strong{font-size:13px;font-weight:500}.place small{font-size:10px;color:#7c8479}.pill{font-size:9px;width:fit-content;background:#dce6d6;padding:5px 8px;border-radius:20px;margin-top:3px}.tag{font-size:8px;color:#8b9184;letter-spacing:1px;margin-top:3px}.arrow{font-size:20px;color:#77866b}.aside-bottom{margin-top:auto;display:flex;align-items:center;gap:14px;padding-top:20px}.spark{font-size:35px;color:#8d9f7d}.aside-bottom p{font-size:10px;line-height:1.7;color:#88907f}.map-wrap{position:relative;margin:18px 18px 18px 0;border-radius:20px;overflow:hidden;background:#dce6d9}#map{width:100%;height:100%;z-index:0;background:#dce6d9}.leaflet-tile{filter:saturate(.65)}.map-caption,.map-hint,.fit{position:absolute;z-index:500;background:#fffffff0;border:1px solid #e2e7de;box-shadow:0 4px 20px #2846330a}.map-caption{top:22px;left:22px;border-radius:30px;padding:13px 17px;font-size:10px;display:flex;gap:9px;align-items:center}.live-dot{width:6px;height:6px;border-radius:50%;background:#628358}.map-hint{bottom:28px;left:50%;transform:translateX(-50%);width:max-content;max-width:82%;font-size:10px;padding:14px 18px;border-radius:10px}.map-hint span{margin-left:18px}.fit{right:18px;bottom:78px;width:37px;height:37px;border-radius:8px;font-size:24px;color:var(--ink)}.leaflet-control-zoom{border:0!important;box-shadow:0 4px 20px #243e3410!important;margin:20px!important}.leaflet-control-zoom a{color:var(--ink)!important;border-color:#e5eadf!important}.pin{display:flex;align-items:center;gap:9px;width:max-content;background:#fffef7;padding:6px 12px 6px 6px;border-radius:30px;box-shadow:0 3px 18px #203e3433;font:500 11px 'Golos Text',sans-serif;border:1px solid #fff}.pin b{background:#305c48;color:#fff;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:10px}.pin.rust b{background:#a47158}.pin.gold b{background:#9b8a4e}.pin:hover{transform:translateY(-3px)}dialog{border:0;padding:0;border-radius:20px;width:min(900px,calc(100% - 32px));max-height:93dvh;overflow:auto;background:#f8f9f4;color:var(--ink);box-shadow:0 25px 100px #051c3155}dialog::backdrop{background:#102b27b8;backdrop-filter:blur(8px)}.modal{position:relative}.close{position:absolute;right:15px;top:15px;z-index:2;border:1px solid #ffffff60;border-radius:50%;width:38px;height:38px;background:#17382b99;color:white;font-size:16px}.visual{position:relative;background:#244c40;aspect-ratio:16/9}.visual video{width:100%;height:100%;display:block;object-fit:cover}.visual-label{position:absolute;top:22px;left:24px;color:white;letter-spacing:2px;font-size:9px;text-shadow:0 2px 5px #000}.visual-label span{display:block;margin-top:7px;font-size:7px;opacity:.8}#illustration{height:100%;display:grid;place-items:center;background:radial-gradient(ellipse at bottom,#587d69,#152d2b);color:#dbe6d5;font:100px Georgia}#illustration[hidden]{display:none}.modal-copy{padding:27px 32px}h2{font:500 31px 'Manrope',sans-serif;margin:10px 0}#description{color:#758071;line-height:1.8;max-width:680px;font-size:13px}.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #dde3d6;padding-top:20px;margin-top:20px;font-size:10px}.modal-footer a{background:#284c3e;color:#fff;padding:12px 16px;border-radius:30px;text-decoration:none}details{color:#8b9486;font-size:9px;margin-top:18px}details p{line-height:1.7}summary{cursor:pointer}#map-error{position:absolute;top:80px;left:25px;right:25px;z-index:600;background:white;padding:15px;border-radius:12px;font-size:12px}button:focus-visible,a:focus-visible{outline:3px solid #a99d61;outline-offset:4px}@media(min-width:1500px){main{grid-template-columns:440px 1fr}aside{padding:50px}h1{font-size:48px}.place{padding-top:25px;padding-bottom:25px}}@media(max-width:760px){header{height:70px;padding:0 20px}.brand{font-size:25px}.brand-icon{width:35px;height:35px;font-size:25px}.brand-sub,.region{display:none}main{height:auto;min-height:0;display:flex;flex-direction:column}aside{padding:28px 22px 12px}h1{font-size:35px;margin:14px 0}h1 br{display:none}.intro{max-width:100%;margin-bottom:20px}.list-heading,.aside-bottom{display:none}nav{display:flex;gap:8px;overflow:auto;padding:4px 0 10px}.place{min-width:180px;width:180px;flex-shrink:0;border:1px solid #dce2d5;border-radius:12px;padding:13px!important;gap:9px}.place strong{font-size:11px}.place small{font-size:9px}.num{width:22px;height:22px;font-size:8px}.arrow,.tag{display:none}.pill{font-size:8px}.map-wrap{margin:0 12px 12px;height:57dvh;min-height:370px;border-radius:16px}.map-caption{top:12px;left:12px;padding:10px 12px;font-size:9px}.map-hint{font-size:9px;bottom:25px;padding:12px}.map-hint span{display:none}.pin{font-size:9px;padding-right:9px;gap:6px}.pin b{width:24px;height:24px}.modal-copy{padding:22px}h2{font-size:26px}.modal-footer{align-items:flex-start;flex-direction:column;gap:16px}.visual-label{left:16px;top:18px;font-size:7px}.close{width:32px;height:32px}.visual{aspect-ratio:4/3}}
.gallery-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:28px 0 14px;font-size:12px}.gallery-heading small{color:#8b9486;font-size:9px}#gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.gallery-item{padding:0;border:0;background:#e6eade;border-radius:10px;overflow:hidden;position:relative;aspect-ratio:1.2}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.gallery-item:hover img{transform:scale(1.05)}.gallery-item span{position:absolute;bottom:8px;right:8px;font-size:9px;background:#1b3229a6;color:white;padding:4px 7px;border-radius:12px}#photo-view{background:#15261f;width:min(1100px,96vw);height:92dvh;max-height:96dvh;overflow:hidden;padding:35px 55px 50px}#large-photo{width:100%;height:100%;object-fit:contain}#photo-caption{position:absolute;bottom:9px;left:0;right:0;color:#fff;text-align:center;font-size:11px}#photo-view button{position:absolute;z-index:3;border:0;border-radius:50%;background:#ffffff25;color:white;width:36px;height:36px;font-size:26px}.photo-close{right:12px;top:12px;font-size:16px!important}#prev-photo{left:10px;top:50%}#next-photo{right:10px;top:50%}.visual video{object-fit:contain}@media(max-width:760px){#gallery{grid-template-columns:repeat(2,1fr)}.gallery-heading{align-items:flex-start;flex-direction:column;gap:7px}#photo-view{padding:50px 35px}.visual{aspect-ratio:16/9}}
.school{color:#4d7191}.pin.school b{background:#4d7191}.school-place{margin-bottom:10px;background:#edf1f4;border:1px solid #dce4e9;border-radius:12px}.place{padding-top:15px;padding-bottom:15px}@media(min-width:1500px){.place{padding-top:18px;padding-bottom:18px}}

[hidden]{display:none!important}

.brand-icon{display:grid;place-items:center;flex-shrink:0;line-height:1}.brand-icon svg{display:block;width:25px;height:25px;color:#fff}@media(max-width:760px){.brand-icon svg{width:21px;height:21px}}
#video-picker{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 5px}.video-choice{border:1px solid #d2dccd;background:transparent;color:#425c4b;padding:10px 16px;border-radius:24px;font-size:11px}.video-choice.selected{color:white;background:#284c3e;border-color:#284c3e}

#place-cover{width:100%;height:100%;object-fit:cover;object-position:center;display:block}#cover-credit{font-size:9px;color:#85907e;margin:15px 0 0}

.pin{border:0;color:#243e34;cursor:pointer}.pin:hover{filter:brightness(.96)}.pin b{flex-shrink:0}.maplibregl-ctrl-group{border-radius:9px;overflow:hidden}.maplibregl-ctrl-bottom-right{bottom:18px;right:10px}.maplibregl-ctrl-attrib{font-size:9px}.pin.maplibregl-marker:hover{transform:inherit}

/* Keep the title on three deliberate lines at every screen width. */
h1{font-size:38px;line-height:1.15;letter-spacing:-1.6px}h1>span,h1>em{display:block;white-space:nowrap}@media(min-width:1500px){h1{font-size:38px}}@media(max-width:760px){h1{font-size:clamp(26px,8.4vw,35px)}}
#retry-map{border:1px solid #cad8cb;background:#edf2e9;color:#244c40;border-radius:7px;padding:7px 10px;margin:5px}

.num.school{background:#4d7191;color:white;border-color:#4d7191}.place-card{border-top:1px solid #dde2d7;padding-bottom:12px}.place-card>.place{border-top:0}.route-button{margin:0 0 0 47px;padding:7px 11px;border:1px solid #bdccba;border-radius:20px;background:#f7f8f3;color:#305c48;font-size:10px}.route-button:hover{background:#dce6d6}.place small{line-height:1.5}.aside-bottom p{max-width:240px}#route-panel{position:absolute;z-index:650;top:18px;left:18px;right:18px;width:fit-content;max-width:calc(100% - 36px);padding:18px 42px 18px 18px;border-radius:14px;background:#fffffff5;box-shadow:0 4px 20px #28463320}#route-panel strong{display:block;font-size:13px}#route-panel small{display:block;color:#758071;font-size:10px;margin:9px 0 12px}#transit-route{font-size:11px;color:#305c48}#close-route{position:absolute;right:9px;top:9px;border:0;background:transparent;color:#305c48}aside{overflow:auto}@media(max-width:760px){.place-card{flex:0 0 200px;width:200px;border:1px solid #dce2d5;border-radius:12px;padding-bottom:10px}.place-card>.place{width:100%;min-width:0;border:0}.route-button{margin-left:13px;font-size:9px}.aside-bottom{display:flex;padding:4px 0 10px}.aside-bottom p{max-width:none;font-size:10px}.aside-bottom .spark{font-size:24px}.map-wrap{height:60dvh}}

h1 em{padding-top:3px}@media(max-width:760px){h1{font-size:clamp(23px,7.3vw,32px);line-height:1.2}h1 em{padding-top:5px}}

/* Wider reading pane and a unified selected place, including its route action. */
@media(min-width:761px){main{grid-template-columns:clamp(410px,40vw,590px) minmax(0,1fr)}aside{padding:38px 30px 20px 40px}h1{font-size:clamp(28px,2.8vw,42px);letter-spacing:-1.5px}.intro{max-width:360px}.aside-bottom p{max-width:340px}}
.place-card{border-radius:12px;transition:background .2s}.place-card.active{background:#ecf0e6;border-color:transparent}.place-card>.place,.place-card>.place:hover,.place-card>.place.active{background:transparent;padding-left:12px;padding-right:12px}.place-card.active .route-button{background:#dce6d6;border-color:#bdccba}.route-button{background:transparent;margin-left:54px}.map-sources{margin:12px 0 0;color:#7b837b;font-size:9px}.map-sources summary{padding:5px 0}.map-sources p{line-height:1.7;margin:5px 0}.map-sources a{text-underline-offset:2px}@media(max-width:760px){h1{font-size:clamp(19px,5.55vw,36px);letter-spacing:-.7px}.route-button{margin-left:13px}.map-sources{margin:0 0 12px}}

.yandex-pin{white-space:nowrap;text-align:left}.yandex-pin:hover{transform:none}#map{filter:none}.map-hint{bottom:45px}#map-error{top:18px}

#fallback-credit{position:absolute;z-index:500;bottom:5px;left:10px;font-size:9px;background:#ffffffe8;color:#526450;padding:3px 5px;border-radius:4px}
.author-card{margin-top:18px;padding:16px 0 0;border-top:1px solid #dce2d6;flex-shrink:0}.author-card .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:9px}.author-card strong{font-family:Manrope,sans-serif;font-size:15px;font-weight:600;display:block}.author-card p{font-size:11px;line-height:1.6;margin:6px 0 0;color:#6e7e6e}.author-card .author-mentor{font-size:10px;color:#7b837b}@media(max-width:760px){.author-card{margin:4px 0 14px;padding-top:14px}.author-card strong{font-size:14px}}

/* Phone layout: places, map, travel note and project credit. */
html{overflow-x:clip}body{min-width:280px}main,aside,.map-wrap,.place-info{min-width:0}button{touch-action:manipulation}img,video{max-width:100%}
@media(max-width:760px){
 header{height:68px;padding:0 16px;gap:12px}.brand{font-size:25px;gap:8px}.outline{min-height:44px;padding:10px 14px;white-space:nowrap;font-size:11px}
 main{display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-height:0;gap:0;padding:0 0 env(safe-area-inset-bottom)}aside{display:contents}
 aside>.eyebrow{order:1;margin:24px 20px 0;font-size:8px;letter-spacing:1.4px}
 h1{order:2;margin:12px 20px 0;font-size:clamp(18px,5.8vw,38px);line-height:1.22;letter-spacing:-.8px}h1>span,h1>em{white-space:nowrap}h1 em{padding-top:5px}
 .intro{order:3;margin:12px 20px 16px;font-size:12px;line-height:1.6;max-width:560px}
 nav{order:4;display:flex;gap:10px;width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:20px;padding:0 20px 14px;-webkit-overflow-scrolling:touch}
 nav>.place,nav>.place-card{scroll-snap-align:start;flex:0 0 228px;width:228px;min-width:228px;margin:0;border:1px solid #dce2d5;border-radius:14px}
 nav>.place{align-items:flex-start;min-height:140px;padding:16px!important}
 .place-card{padding-bottom:10px}.place-card>.place{width:100%;min-width:0;min-height:82px;padding:15px 14px 9px!important;border:0}.place-card>.place.active{background:transparent}
 .place strong{font-size:13px;line-height:1.3}.place small{font-size:10px;line-height:1.5}.place-info{gap:6px}.num{width:26px;height:26px;font-size:9px}.route-button{min-height:44px;margin:0 12px;padding:10px 14px;font-size:11px}
 .map-wrap{order:5;margin:0 10px 0;height:58svh;min-height:340px;max-height:650px;border-radius:16px;isolation:isolate}.map-hint{bottom:46px;max-width:75%;font-size:10px;line-height:1.5;padding:10px 12px;text-align:center;width:auto;min-width:180px}.fit{width:44px;height:44px;right:12px;bottom:96px}
 .aside-bottom{order:6;display:flex;margin:0;padding:18px 20px 12px;gap:12px}.aside-bottom p{font-size:11px;line-height:1.6;max-width:none;margin:0}.aside-bottom .spark{font-size:28px}
 .author-card{order:7;margin:0 20px 22px;padding-top:16px}.author-card strong{font-size:16px}.author-card p{font-size:12px}.author-card .author-mentor{font-size:11px}.author-card .eyebrow{font-size:8px}
 #route-panel{top:10px;left:10px;right:10px;max-width:calc(100% - 20px);padding:16px 42px 16px 14px}#route-panel strong{font-size:12px;line-height:1.5}#route-panel small{font-size:10px;line-height:1.5}#transit-route{display:inline-block;font-size:11px;line-height:1.5;padding:4px 0}#close-route{width:36px;height:36px;top:3px;right:3px}
 #map-error{top:10px;left:10px;right:10px;padding:12px;font-size:11px;line-height:1.6}#retry-map{min-height:44px}.yandex-pin{font-size:10px}.pin b{width:26px;height:26px}#fallback-credit{font-size:8px;max-width:calc(100% - 60px);line-height:1.4}
 dialog{width:calc(100% - 16px);max-height:94dvh;border-radius:16px}.modal-copy{padding:20px 18px}h2{font-size:24px;line-height:1.3}#description{font-size:13px;line-height:1.7}.close{width:44px;height:44px;right:10px;top:10px}.visual{aspect-ratio:4/3}.visual video{object-fit:contain}.modal-footer{font-size:11px}.modal-footer a{min-height:44px;display:inline-flex;align-items:center}.video-choice{min-height:44px;font-size:12px}.gallery-heading{font-size:13px}.gallery-heading small{font-size:10px;line-height:1.5}#gallery{gap:8px}
 #photo-view{width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:60px 44px 65px}#photo-view button{width:44px;height:44px}#prev-photo{left:0}#next-photo{right:0}#photo-caption{font-size:11px;line-height:1.5;padding:0 18px;bottom:14px}
}
@media(max-width:350px){header{padding:0 12px}.brand{font-size:22px}.brand-icon{width:32px;height:32px}.outline{font-size:10px;padding-inline:11px}h1{font-size:5.65vw;letter-spacing:-.65px}nav>.place,nav>.place-card{flex-basis:214px;width:214px;min-width:214px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:760px){.pin span{max-width:98px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pin{font-size:9px;gap:6px}.pin b{width:24px;height:24px;flex-shrink:0}}

/* Project credit in the header; the sidebar uses the page's natural height. */
header{min-height:88px;height:auto;padding-block:16px}.header-author{text-align:right;flex-shrink:0;line-height:1.45}.header-author strong{display:block;font:600 14px/1.4 Manrope,sans-serif}.header-author p{font-size:11px;color:#6e7e6e;margin:3px 0 0}.header-author .author-mentor{font-size:10px}
@media(min-width:761px){main{height:auto;min-height:calc(100dvh - 88px)}aside{overflow:visible;padding:24px 28px 20px 40px}h1{margin:8px 0 14px}.intro{margin-bottom:20px}.list-heading{margin-bottom:10px}.place,.place-card>.place{padding-top:12px;padding-bottom:12px}.place-info{gap:5px}.place-card{padding-bottom:10px}.school-place{margin-bottom:8px}.aside-bottom{padding-top:18px}.map-wrap{min-height:560px}}
@media(min-width:761px) and (max-height:800px){aside{padding-top:18px;padding-bottom:16px}h1{font-size:clamp(27px,2.5vw,36px);margin:4px 0 12px}.intro{margin-bottom:16px;line-height:1.6}.place,.place-card>.place{padding-top:10px;padding-bottom:10px}.aside-bottom{padding-top:14px}.map-wrap{min-height:520px}}
@media(max-width:760px){header{min-height:88px;padding:13px 16px;align-items:center;gap:12px}.brand-sub{display:none}.brand{font-size:23px;gap:7px}.header-author{min-width:0;flex-shrink:1;max-width:62%}.header-author strong{font-size:12px}.header-author p{font-size:10px}.header-author .author-mentor{font-size:9px}.header-author p{overflow-wrap:anywhere}h1{margin-top:22px}.map-wrap{min-height:340px}}
@media(max-width:350px){header{padding-inline:12px;gap:9px}.brand{font-size:20px}.brand-icon{width:29px;height:29px}.brand-icon svg{width:18px;height:18px}.header-author strong{font-size:11px}.header-author p{font-size:9px}.header-author .author-mentor{font-size:8px}}
@media(min-width:761px){header{height:88px;padding-block:0}}

#video-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.video-choice{position:relative;display:flex;flex-direction:column;gap:0;padding:0;border:2px solid transparent;border-radius:12px;background:#e7ece2;overflow:hidden;text-align:left;color:#305c48}.video-choice img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.video-choice span{display:block;padding:10px 12px;font-size:11px}.video-choice.selected{border-color:#305c48;background:#305c48;color:white}.video-choice:hover img{filter:brightness(.94)}@media(max-width:760px){#video-picker{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px;gap:10px}.video-choice{flex:0 0 150px;scroll-snap-align:start}.video-choice span{padding:11px 10px;min-height:40px}}
