@import url('/leaflet.css');
:root{--paper:#fbf8ef;--ink:#173e35;--muted:#5e7168;--line:#dbe0d2;--orange:#e96b49;--yellow:#f2c366;--card:#fffdf7;--radius:22px;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.6;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d77a36;outline-offset:4px}button{border:0;background:none}button,a{min-height:44px}p{line-height:1.6}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(48px,5.7vw,84px);letter-spacing:-.065em;line-height:1.04;margin-bottom:24px;font-weight:800}h1 em{font-family:Georgia,serif;font-weight:400;color:#b55336;letter-spacing:-.055em}h2{font-size:clamp(28px,3.2vw,42px);line-height:1.12;letter-spacing:-.045em;margin-bottom:0}h3{font-size:23px;letter-spacing:-.025em}header,main,footer{max-width:1240px;margin:auto}header{display:flex;align-items:center;justify-content:space-between;padding:25px 36px;border-bottom:1px solid var(--line)}.brand{font-size:26px;font-weight:850;letter-spacing:-1.5px;display:flex;align-items:center;gap:0}.brand span{font-weight:400}.brand .brand-icon{background:var(--ink);color:var(--yellow);border-radius:50%;width:32px;height:32px;display:grid;place-items:center;margin-right:9px;font-weight:800;letter-spacing:0}.brand i{font-style:normal;font-size:10px;align-self:flex-start;letter-spacing:1px;margin:7px 0 0 7px}header nav{display:flex;align-items:center;gap:29px;font-size:14px;font-weight:600}header nav a{display:flex;align-items:center}.button{display:inline-flex;justify-content:center;align-items:center;gap:22px;border-radius:99px;min-height:52px;padding:14px 23px;font-size:14px;font-weight:700;line-height:1.3;border:1px solid transparent;transition:transform .15s,background .15s}.button:hover{transform:translateY(-2px)}.dark{background:var(--ink);color:var(--paper)}.coral{background:var(--orange);color:#fff}.outline{border-color:#bcc7b8;background:var(--card)}.small{min-height:44px;padding:11px 18px}.full{width:100%}.hero{display:grid;grid-template-columns:1.04fr 1fr;align-items:center;padding:68px 36px 35px;gap:25px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;display:flex;align-items:center;gap:9px;margin-bottom:19px}.sun-dot{width:9px;height:9px;border-radius:50%;background:var(--orange)}.intro{font-size:16px;max-width:460px;color:var(--muted);margin-bottom:30px}.hero-actions{display:flex;gap:22px;align-items:center}.date{font-size:10px;letter-spacing:1px;font-weight:700}.hero-art{position:relative;background:#ecebdb;border-radius:190px 190px 28px 28px;overflow:hidden;align-self:stretch;min-height:330px;display:flex;align-items:flex-end}.hero-art svg{width:100%;height:auto;display:block}.art-stamp{position:absolute;left:32px;top:38px;font-size:10px;letter-spacing:2px;line-height:1.7;transform:rotate(-8deg)}.trip-strip{margin:0 36px 56px;display:flex;align-items:center;gap:25px;border-bottom:1px solid var(--line);padding:25px 0}.trip-strip b{font-size:14px}.trip-strip small{display:block;font-size:9px;letter-spacing:1.7px;margin-top:8px;color:var(--muted)}.trip-line{flex:1;color:#849586;overflow:hidden;white-space:nowrap;text-align:center}.trip-days{border-left:1px solid var(--line);padding-left:28px;margin-left:25px;display:flex;align-items:center;gap:12px}.trip-days b{font-size:37px;letter-spacing:-2px}.trip-days small{max-width:100px;line-height:1.5;margin-top:0}.journey,.journal{padding:0 36px;margin-bottom:64px;scroll-margin-top:24px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:25px}.section-heading .eyebrow{margin-bottom:12px}.map-shell{height:450px;border-radius:var(--radius);overflow:hidden;position:relative;border:1px solid #d2d9c7;background:#e4e9dc}#map{width:100%;height:100%;z-index:0;background:#e4e9dc}.map-key{position:absolute;bottom:22px;left:20px;display:flex;gap:20px;align-items:center;background:var(--card);padding:13px 16px;border-radius:10px;box-shadow:0 3px 15px #173e3512;font-size:11px;font-weight:600;pointer-events:none}.map-key span{display:flex;gap:8px;align-items:center}.planned-key{width:21px;border-top:2px dashed #ba7547}.actual-key{width:9px;height:9px;background:var(--ink);border:2px solid white;box-shadow:0 0 0 2px var(--ink);border-radius:50%}.map-caption{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:var(--muted);padding-top:8px}.map-caption button{font-size:12px;color:var(--ink);font-weight:700;white-space:nowrap}.latest-location{font-size:12px;color:var(--muted);margin:8px 0}.map-notice{position:absolute;top:14px;left:60px;right:14px;background:#fff8d9;padding:12px;border-radius:9px;font-size:12px}.stop-list{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:15px}.stop-list button{text-align:left;background:#f0f0e5;border-radius:10px;padding:12px;font-size:12px}.stop-list button span{opacity:.6;margin-right:7px}.stop-list[hidden]{display:none}.count{font-size:14px;letter-spacing:0;border:1px solid var(--line);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;margin-left:13px;vertical-align:middle}.filters{display:flex;gap:8px;align-items:center;margin-bottom:25px}.filters button{padding:9px 16px;border-radius:50px;font-size:12px;font-weight:600}.filters .active{background:var(--ink);color:var(--paper)}#refresh-status{margin-left:auto;font-size:11px;color:var(--muted)}#refresh{font-size:23px;padding:6px;min-width:44px}.feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.empty{grid-column:1/-1;text-align:center;border:1px dashed #b8c4b0;border-radius:var(--radius);padding:55px 24px;background:#f3f3e8}.empty-icon{font-size:32px;display:grid;place-items:center;border-radius:50%;width:62px;height:62px;background:#e5ebd8;margin:0 auto 19px}.empty h3{margin-bottom:12px}.empty p{max-width:460px;margin:0 auto 24px;color:var(--muted);font-size:14px}.post-card{border:1px solid var(--line);background:var(--card);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.post-photo{display:block;padding:0;width:100%;position:relative;height:210px;background:#e4e9dc}.post-photo img{width:100%;height:100%;object-fit:cover}.photo-badge{position:absolute;bottom:12px;right:12px;border-radius:50px;padding:7px 10px;background:#ffffffdc;font-size:11px}.card-body{padding:23px;flex:1;display:flex;flex-direction:column}.post-meta{font-size:10px;font-weight:700;color:var(--muted);letter-spacing:.5px;margin-bottom:14px;display:flex;justify-content:space-between;gap:10px}.card-body h3{margin:0 0 12px;overflow-wrap:anywhere}.card-body p{font-size:14px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.card-body button{text-align:left;font-weight:700;font-size:12px;padding:0;margin-top:auto}.card-place{font-size:11px;padding-top:13px;margin-top:10px;border-top:1px solid var(--line);overflow-wrap:anywhere}.mission{margin:20px 36px 55px;background:#e9edda;border-radius:var(--radius);padding:40px;display:flex;align-items:center;gap:30px}.mission>span:first-child{font-size:65px;color:#9a5b36}.mission h2{font-size:29px}.mission p:last-child{max-width:590px;font-size:14px;margin:15px 0 0;color:var(--muted)}.mission .eyebrow{margin-bottom:12px}.mission-note{min-width:160px;text-align:center;transform:rotate(-7deg);font-family:Georgia,serif;font-size:23px}.mission-note em{font-size:18px}footer{padding:25px 36px 38px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted)}footer .brand{font-size:22px;color:var(--ink)}footer p{margin:0}footer button{font-size:11px}.mobile-nav{display:none}dialog{color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:25px;padding:0;width:min(620px,calc(100% - 32px));max-height:90dvh;box-shadow:0 20px 100px #173e3540;overflow-y:auto}dialog::backdrop{background:#102c26a6;backdrop-filter:blur(4px)}dialog[open]{animation:enter .16s ease-out}.compact-dialog{padding:40px;max-width:440px;position:relative}.compact-dialog h2{margin-bottom:20px}.compact-dialog p{color:var(--muted);font-size:14px}.close{position:absolute;right:14px;top:12px;min-width:44px;min-height:44px;font-size:30px;z-index:2;border-radius:50%;background:#fffdf7e8}.dialog-heading{padding:32px 30px 20px;position:sticky;top:0;background:var(--card);z-index:3;border-bottom:1px solid var(--line)}.dialog-heading .eyebrow{font-size:8px;max-width:80%;margin-bottom:10px}.editor-body{padding:20px 30px}label,legend{display:block;font-size:13px;font-weight:700;margin:18px 0 9px}label span,legend span{font-weight:400;color:var(--muted);font-size:11px}input:not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid #c9d2c1;background:white;border-radius:10px;padding:14px;min-height:48px;font-size:16px;color:var(--ink)}textarea{resize:vertical;line-height:1.5;min-height:120px}.fine{font-size:11px!important;line-height:1.6;color:var(--muted);margin-bottom:10px}.saved{margin:0}.password-wrap{display:flex;position:relative}.password-wrap input{padding-right:65px}.password-wrap button{position:absolute;right:10px;top:3px;font-size:12px}.error{font-size:13px;color:#b33425;line-height:1.5;white-space:pre-wrap}.photo-heading{display:flex;justify-content:space-between;align-items:center}.photo-heading>span{font-size:11px;color:var(--muted)}.upload-box{border:1.5px dashed #aab9a0;min-height:118px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f4f5ea;cursor:pointer;text-align:center;padding:15px;margin-top:0}.upload-box>span{font-size:28px}.upload-box b{font-size:13px;margin:6px 0}.upload-box small{font-weight:400;color:var(--muted);font-size:10px;line-height:1.5}#photo-input:focus-visible+.photo-previews{outline:2px solid #e96b49}#photo-previews{display:flex;gap:10px;margin-top:10px}#photo-previews>div{position:relative;width:31%;aspect-ratio:1}#photo-previews img{width:100%;height:100%;object-fit:cover;border-radius:9px}#photo-previews button{position:absolute;top:2px;right:2px;min-width:44px;min-height:44px;background:#fffdf7ef;border-radius:50%;font-size:22px}fieldset{border:0;padding:0;margin:5px 0 20px;min-width:0}legend{padding:0;padding-top:15px}.location-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.location-actions .button{font-size:11px}.consent{display:flex;align-items:flex-start;gap:12px;line-height:1.5;padding:13px;background:#f1f3e6;border-radius:10px}.consent input{min-width:20px;height:20px;accent-color:var(--ink);margin:0}.consent span{color:var(--ink);font-size:12px}.editor-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 30px;background:var(--card);border-top:1px solid var(--line);position:sticky;bottom:0;z-index:2}.text-button{font-size:12px;text-decoration:underline}.editor-account{padding:0 30px 15px;text-align:center}.editor-account button{color:var(--muted);font-size:11px}progress{width:100%;height:5px;border:0;accent-color:var(--orange)}#story-dialog{padding:35px}#story-content h2{padding-right:15px;margin:14px 0 20px;overflow-wrap:anywhere}#story-content .story-text{white-space:pre-wrap;font-size:16px;line-height:1.7;overflow-wrap:anywhere}#story-content .story-photos{display:grid;gap:10px}#story-content .story-photos button{padding:0;border-radius:12px;overflow:hidden}#story-content img{width:100%;display:block}#photo-dialog{width:min(1000px,100%);max-height:100dvh;background:#102820;border:0;overflow:hidden}#large-photo{display:block;max-width:100%;height:80dvh;object-fit:contain;margin:auto}.gallery-controls{display:flex;align-items:center;justify-content:center;gap:25px;color:white;padding:12px}.gallery-controls button{font-size:27px;min-width:48px}.gallery-controls span{font-size:12px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:16px 24px;background:var(--ink);color:white;z-index:20;border-radius:12px;max-width:calc(100% - 24px);width:max-content;font-size:13px;box-shadow:0 8px 20px #173e3530}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{display:block;background:white;padding:15px}.leaflet-container{font-family:Arial,sans-serif}.leaflet-popup-content{line-height:1.5}.leaflet-popup-content button{display:block;text-align:left;max-width:230px;font-weight:bold}.leaflet-control-attribution{font-size:9px!important}.leaflet-control-zoom a{min-height:30px}.checkin-marker{background:var(--ink);border:3px solid white;border-radius:50%;box-shadow:0 2px 8px #173e3570;width:22px!important;height:22px!important}.endpoint-marker{background:var(--paper);border:3px solid #b86e41;border-radius:50%;width:15px!important;height:15px!important}.leaflet-popup-content p{margin:5px 0;font-size:11px}.leaflet-control-attribution a{min-height:0}.leaflet-interactive:focus{outline:3px solid #e96b49}.leaflet-marker-icon:focus-visible{outline:3px solid #e96b49!important}body:has(dialog[open]){overflow:hidden} [hidden]{display:none!important}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){header{padding:20px 24px}header nav{gap:18px}.hero{padding:45px 24px 30px;gap:10px}.hero-art{min-height:300px}.hero-actions{flex-wrap:wrap;gap:14px}.trip-strip{margin:0 24px 45px}.trip-days{display:none}.journey,.journal{padding:0 24px}.feed{grid-template-columns:repeat(2,minmax(0,1fr))}.mission{margin:20px 24px 40px;padding:28px}.mission-note{display:none}.stop-list{grid-template-columns:repeat(3,1fr)}footer{padding:25px 24px}}
@media(max-width:600px){header{padding:16px 20px}.brand{font-size:24px}.brand i{font-size:8px}header nav a{display:none}header nav .button{font-size:10px;padding:9px 13px;gap:5px;min-height:40px}.brand .brand-icon{width:28px;height:28px}.hero{padding:36px 20px 20px;display:flex;flex-direction:column;gap:26px}.hero-copy{width:100%}.eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:17px}h1{font-size:55px;margin-bottom:20px}.intro{font-size:14px;line-height:1.6;max-width:350px;margin-bottom:22px}.hero-actions{gap:14px}.hero-actions .button{font-size:12px;min-height:48px;padding:12px 18px;gap:15px}.date{font-size:8px;letter-spacing:.7px}.hero-art{min-height:0;width:100%;max-height:235px;border-radius:140px 140px 18px 18px;aspect-ratio:1.65}.hero-art svg{width:100%}.art-stamp{font-size:8px;left:27px;top:25px}.trip-strip{margin:0 20px 39px;gap:8px;padding:13px 0 22px;justify-content:space-between}.trip-strip b{font-size:11px}.trip-strip small{font-size:7px;letter-spacing:1px;margin-top:6px}.trip-line{font-size:11px;max-width:60px}.trip-strip>span:nth-child(3){text-align:right}.journey,.journal{padding:0 20px;margin-bottom:42px}.section-heading{align-items:flex-start;margin-bottom:20px;gap:12px}.section-heading h2{font-size:29px}.section-heading>.button{font-size:10px;padding:9px 12px;gap:4px;min-height:44px;max-width:125px;flex-shrink:0}.section-heading .eyebrow{font-size:7px;letter-spacing:1.3px;margin-bottom:10px}.journey .section-heading{display:block;position:relative}.journey .section-heading .button{margin-top:15px;max-width:none}.map-shell{height:360px;border-radius:16px}.map-key{bottom:22px;left:10px;right:10px;justify-content:center;gap:18px;font-size:9px;padding:11px}.map-caption{display:block;font-size:10px;line-height:1.5;padding-top:12px}.map-caption span{display:block}.map-caption button{padding:0}.latest-location{font-size:10px;line-height:1.5}.stop-list{grid-template-columns:repeat(2,minmax(0,1fr))}.stop-list button{font-size:10px}.count{font-size:12px;margin-left:7px;min-width:24px;height:24px}.filters{gap:3px;margin-bottom:18px;flex-wrap:wrap}.filters button{font-size:10px;padding:8px 12px}#refresh-status{font-size:9px;max-width:100px}.feed{grid-template-columns:1fr;gap:18px}.empty{padding:35px 20px}.empty h3{font-size:21px}.empty p{font-size:12px}.empty .button{font-size:11px;padding:13px 17px}.post-photo{height:230px}.card-body{padding:21px}.mission{margin:10px 20px 30px;padding:25px 22px;gap:15px;align-items:flex-start}.mission>span:first-child{font-size:35px}.mission h2{font-size:23px}.mission .eyebrow{font-size:7px}.mission p:last-child{font-size:12px}.mission>div{min-width:0}footer{margin-bottom:75px;padding:20px;flex-wrap:wrap;gap:8px}footer .brand{font-size:20px}footer p{order:3;width:100%;font-size:10px}footer button{margin-left:auto}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:space-around;border-top:1px solid var(--line);background:#fbf8eff5;backdrop-filter:blur(10px);padding:8px 18px calc(8px + env(safe-area-inset-bottom))}.mobile-nav a,.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:22px;min-width:65px;gap:3px}.mobile-nav span{font-size:9px;font-weight:600}.mobile-nav button{background:var(--ink);color:white;flex-direction:row;border-radius:40px;padding:10px 20px;gap:8px}.mobile-nav button span{font-size:11px}dialog{max-height:94dvh;border-radius:20px;width:calc(100% - 20px)}#compose-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0;border:0}.dialog-heading{padding:26px 20px 17px}.dialog-heading h2{font-size:31px}.editor-body{padding:15px 20px}.editor-bottom{padding:14px 20px calc(14px + env(safe-area-inset-bottom))}.editor-bottom .button{font-size:12px;padding:13px 18px}.compact-dialog{padding:35px 25px}.compact-dialog h2{font-size:34px}#story-dialog{padding:30px 23px}#story-content h2{font-size:29px}#story-content .story-text{font-size:15px}#photo-dialog{width:100%;border-radius:0}#toast{bottom:85px;font-size:12px}section{scroll-margin-top:15px}}
@media(max-width:350px){h1{font-size:47px}header{padding:14px}.brand{font-size:22px}.brand i{display:none}.hero,.journey,.journal{padding-left:16px;padding-right:16px}.trip-strip{margin-left:16px;margin-right:16px}.hero-actions{gap:10px}.date{font-size:7px}.section-heading h2{font-size:25px}.section-heading>.button{font-size:9px;max-width:108px}.filters button{padding:8px 9px}.map-key{gap:12px;font-size:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Keep the native file control keyboard-accessible without inheriting field width. */
.sr-only{width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;border:0!important;clip-path:inset(50%)}
.upload-box:has(+input:focus-visible){outline:3px solid #d77a36;outline-offset:3px}
@media(max-width:600px){#compose-dialog{max-width:100%}}
.checkin-marker{width:36px!important;height:36px!important;color:#fffdf7;display:grid;place-items:center;font-size:13px;font-weight:700}
.pin-stories{max-height:230px;overflow-y:auto;min-width:170px}.pin-stories>strong{display:block;margin-bottom:8px}.pin-stories button{border-bottom:1px solid #dbe0d2;padding:8px 0;width:100%;line-height:1.4}
