/* R11: presentation and navigation only. Existing forms/APIs remain intact. */
:root{font-size:15px;--header:76px}
/* Approved home palette: preserve fog blue, with beige confined to the last 10%. */
:root{--home-fog-blue:#F2F8FA;--home-gray:#F0F2F3;--home-neutral:#F3F4F2;--home-warm-white:#FCFBF7;--home-beige:#F3E6D4}
body.exploring:not(.explore-mode){background:linear-gradient(180deg,var(--home-fog-blue) 0%,var(--home-fog-blue) 25%,var(--home-gray) 44%,var(--home-neutral) 57%,var(--home-warm-white) 75%,var(--home-warm-white) 90%,var(--home-beige) 100%)}
body.exploring main,body.exploring .world-stage,body.exploring .world-stage iframe{background:transparent}
body.explore-mode,body.explore-mode .world-stage{background:var(--home-fog-blue)}
body.exploring .site-header{background:rgba(242,248,250,.92)}
body{padding-bottom:env(safe-area-inset-bottom);overflow-anchor:none}
h1,h2,h3{text-wrap:balance}p{text-wrap:pretty;line-height:1.9}
.title-tail{white-space:nowrap}
.site-header{background:rgba(241,244,247,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid #E1E8ED}
.site-header:has(~main .content-view:not([hidden])){border-bottom-color:#E1E8ED}
.header-nav{align-items:center;gap:30px}
.header-nav a{position:relative;align-self:center;border:0;font-size:16px;font-weight:400;color:#5A6F80;line-height:24px}
.header-nav a.active{color:#1B2F3F;font-weight:500;border:0}
.header-nav a.active:after{content:'';position:absolute;left:0;right:0;bottom:-10px;height:2px;border-radius:2px;background:#F3BE3E}
.contribute-link{border:1px solid #1B2F3F;border-radius:6px;font-size:14px;line-height:20px;padding:8px 16px;transition:background .18s,color .18s}
.contribute-link:hover{background:#1B2F3F;color:#fff}
.brand-wordmark{height:28px;width:auto;display:block;color:#1B2F3F}
.fine-link,.wander-button,.destination-chip,.place-invite a,.founder-contact a{border-bottom:0;text-decoration:none}
.fine-link:hover,.wander-button:hover,.destination-chip:hover,.founder-contact a:hover{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.city-row[aria-pressed=true] strong{text-decoration:none;font-weight:500}
.world-topline h1{font-size:clamp(36px,3.1vw,44px);letter-spacing:.14em;padding-left:.14em;white-space:normal}
.world-topline{top:clamp(84px,11vh,130px)}
.world-topline h1{margin-bottom:16px}
.world-topline p{margin-bottom:22px;letter-spacing:.06em}
.home-scroll-cue{position:absolute;top:clamp(306px,38vh,360px);left:50%;translate:-50% 0;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;background:transparent;color:var(--muted);z-index:12}
.home-scroll-cue svg{width:19px;height:19px;rotate:-90deg;animation:scroll-cue 1.2s ease-in-out 2}
.world-stage.revealed .home-scroll-cue,.world-stage.city-open .home-scroll-cue,.world-stage.flying .home-scroll-cue,.explore-mode .home-scroll-cue{display:none}
body.exploring:not(.explore-mode) .map-note{visibility:hidden}
.explore-back{font-weight:500;min-height:44px}
.explore-back.mode-arrival{animation:back-arrival .65s ease-out 2}
@keyframes scroll-cue{0%,100%{translate:0 0}50%{translate:0 5px}}
@keyframes back-arrival{0%,100%{translate:0 0;box-shadow:0 0 0 0 rgba(243,190,62,0)}45%{translate:4px 0;box-shadow:0 0 0 5px rgba(243,190,62,.13)}}
.chapter-title,.founder-chapter .chapter-title{font-size:clamp(30px,2.3vw,32px);letter-spacing:.12em}
.me-section h2,.page-heading h1,.saved-empty h2{font-size:32px;letter-spacing:.12em}
.chapter-index,.section-label,.place-heading .eyebrow,.saved-places-section h2{font-size:12px;color:#5A6F80}
.chapter-description,.founder-note,.page-heading p{font-size:15px;line-height:1.9}
.moment-info #moment-description,.empty-state p,.legal-article p:not(.hint),.help-article p:not(.hint){font-size:15px;line-height:1.9}
.feature-copy h3,.place-heading h1,.moment-info h2,.portrait .moment-info h2{letter-spacing:.06em;overflow-wrap:break-word;word-break:normal;text-wrap:balance}
.world-stage iframe{touch-action:pan-y;filter:none}
.map-note{top:290px;bottom:auto;opacity:clamp(0,calc(1 - var(--reveal,0)*2),1);transition:opacity .15s}
.world-stage.revealed .map-note,.world-stage.city-open .map-note,.world-stage.street .map-note{opacity:0}
.map-buttons{opacity:1}
.map-buttons .labels-toggle{width:auto;min-width:56px;padding-inline:10px;border-left:1px solid #E1E8ED;font-size:12px;background:transparent}
.map-buttons .labels-toggle{border:0;border-left:1px solid #E1E8ED}
.labels-toggle[aria-pressed=false]{color:#8B9CA8}
.explore-back{position:absolute;top:24px;left:28px;z-index:60;background:rgba(241,244,247,.94);border:1px solid #CFD8DE;border-radius:6px;padding:8px 14px;font-size:14px}
.explore-back[hidden]{display:none}
body.explore-mode{overflow:hidden;height:100dvh;overscroll-behavior:none;padding:0}
html:has(body.explore-mode){height:100dvh;overflow:hidden}
.explore-mode main{height:calc(100dvh - var(--header));min-height:0}
.explore-mode .globe-hero{height:calc(100dvh - var(--header));min-height:0}
.explore-mode .world-stage{position:relative;top:auto;height:100%;min-height:0;--reveal:1}
.explore-mode .world-topline,.explore-mode .map-note,.explore-mode #home-chapters,.explore-mode .site-footer{display:none}
body.explore-mode .site-footer{display:none}
.explore-mode .world-stage iframe,.explore-mode #street-map{touch-action:none}
.world-stage #street-map{background:#C6DFEB}
.world-stage #street-map .leaflet-tile-pane{filter:none}
.world-stage #street-map .leaflet-control-attribution{max-width:calc(100vw - 16px);line-height:1.5;background:rgba(247,250,251,.92)!important}
.world-stage.street .map-loading{z-index:25;top:84px;padding:7px 12px;border-radius:5px;background:#F2F8FAED;pointer-events:none}
.explore-mode .map-buttons{visibility:visible!important;bottom:24px}
.explore-mode .world-destinations{bottom:30px}
.place-actions{gap:10px}
.place-actions button{border:1px solid #1B2F3F;border-radius:6px;padding:6px 12px;line-height:20px;font-size:13px;background:transparent}
.place-actions button:hover{background:#1B2F3F;color:#fff}
/* Reference D: a continuous solar ribbon with longitude-aligned city ticks. */
.sun-band-scroller{--band-height:78px;overflow:visible;padding:0}
.sun-band{height:var(--band-height);min-width:0;border-radius:2px;background:#E2EFF7;overflow:hidden}
.sun-band>span{top:50%;translate:0 -50%;font-size:14px;letter-spacing:.12em;color:#415569}
.sun-band>[data-i18n="r9.midnight"]{color:#142C43;font-weight:400}
.city-clocks{min-width:0;min-height:0;gap:0}
.city-clock{border:0;margin:0;color:#5A6F80}
.city-clock strong{font-size:12px;font-weight:400;margin:0;line-height:1.6}
.city-clock time{font:400 12px/1.7 var(--sans);font-variant-numeric:tabular-nums}
.city-clock .solar-label{margin:0;font-size:12px}
.city-clock.morning{background:rgba(248,223,207,.55);font-weight:500;border-radius:2px}
.city-clock.morning strong{font-weight:500}
.sun-hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#chapter-light .chapter-description{margin-top:24px}
@media(min-width:901px){
 .city-clocks{display:block;position:relative;height:84px}
 .city-clock{position:absolute;left:var(--city-position);top:0;transform:translateX(-50%);width:clamp(48px,6vw,82px);padding:10px 2px 0;text-align:center;display:flex;flex-direction:column;gap:1px;line-height:1.5}
 .city-clock:before{content:'';position:absolute;left:50%;top:calc(-1*var(--band-height));height:calc(var(--band-height) + 5px);width:1px;background:rgba(27,47,63,.19);pointer-events:none}
 .city-clock .solar-label{display:none}
 .city-clock.morning{background:none}
 .city-clock.morning strong{font-weight:400}
}
.feature-byline{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:13px;color:#5A6F80}
.feature-byline p{margin:0}
.feature-copy .feature-byline .quiet-button{display:inline-flex;min-height:0}
.footer-language:empty{display:none}
.footer-language .language-options{top:auto;bottom:calc(100% + 8px);right:auto;left:0}
@media(min-width:601px) and (max-width:800px){.header-actions{gap:12px}.site-header{gap:22px;padding-inline:20px}.contribute-link{padding:8px 12px}.brand{font-size:19px}.header-nav{gap:22px}}
@media(min-width:601px) and (max-width:900px){
 .city-clocks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 12px;margin-top:14px}
 .city-clock{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:12px 8px;border-bottom:1px solid #E1E8ED}
 .city-clock time{font:300 18px/1.5 var(--serif)}
 .city-clock .solar-label{grid-column:1/-1}
}
@media(min-width:901px) and (max-width:1100px){html[lang=en] .city-clock strong{min-height:3.2em}}
@media(max-width:600px){
 :root{--header:96px}
 .site-header{height:var(--header);grid-template-columns:minmax(0,1fr) auto;grid-template-rows:56px 40px;gap:0 10px;padding-inline:16px;background:rgba(241,244,247,.96);transition:height .18s}
 body.exploring .site-header{background:rgba(242,248,250,.96)}
 .site-header.nav-collapsed{grid-template-rows:56px 0}
 .brand{font-size:19px;gap:6px;min-width:0}.brand img{width:23px;height:23px}.brand-wordmark{height:22px;width:auto}
 .header-actions{gap:14px}.header-actions .language-picker{display:none}
 .header-nav{height:40px;gap:28px;align-items:flex-start;padding-top:0;transition:opacity .15s;overflow:hidden}
 .header-nav a{font-size:16px;line-height:24px;align-self:start}
 .header-nav a.active:after{bottom:-10px}
 .nav-collapsed .header-nav{height:0;opacity:0;visibility:hidden;pointer-events:none}
 .contribute-link{font-size:13px;padding:5px 10px;line-height:20px;border-radius:6px}
 .account-button{font-size:13px;min-width:26px}.search-toggle{width:25px;padding:4px;min-height:40px}
 .search-flyout{top:var(--header);right:16px}
 .world-topline{top:56px;width:calc(100% - 28px)}
 .home-scroll-cue{top:250px}
 .world-topline h1{font-size:32px;letter-spacing:.12em;padding-left:.12em;line-height:1.6}
 .world-kicker{font-size:12px;letter-spacing:.16em;margin-bottom:17px}
 .world-topline p{font-size:13px;margin-bottom:16px;line-height:1.9}
 .map-note{top:256px;font-size:12px}
 .world-stage:after{content:'';position:absolute;left:0;right:0;bottom:0;height:150px;pointer-events:none;z-index:3;background:none}
 body.exploring:not(.explore-mode) .world-stage:not(.city-open):not(.street) iframe{mask-image:linear-gradient(#000 calc(100% - 150px),transparent 100%);-webkit-mask-image:linear-gradient(#000 calc(100% - 150px),transparent 100%)}
 .explore-mode .world-stage:after,.world-stage.city-open:after{display:none}
 .map-buttons{z-index:35;bottom:18px;left:16px}.map-buttons .labels-toggle{min-width:48px;padding-inline:7px}
 .explore-back{top:16px;left:16px;padding:7px 11px;font-size:13px}
 .chapter{padding-block:36px 44px}.founder-chapter{padding-block:36px 40px}
 .chapter-title,.founder-chapter .chapter-title{font-size:28px;letter-spacing:.09em;line-height:1.7;margin-bottom:28px}
 .me-section h2,.page-heading h1,.saved-empty h2{font-size:28px;letter-spacing:.09em}
 .chapter-index{margin-bottom:20px;letter-spacing:.12em}
 .chapter-description,.founder-note{font-size:15px;line-height:1.9}
 .content-flow{--r11-gutter:22px}
 .sun-band-scroller{overflow:visible;outline-offset:4px}.sun-band{width:calc(100% + 2*var(--r11-gutter));margin-inline:calc(-1*var(--r11-gutter));min-width:0;height:72px;overflow:hidden}.sun-band>span{top:50%;font-size:12px;letter-spacing:.03em}
 .city-clocks{width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;margin-top:12px}
 .city-clock{min-width:0;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:3px 6px;padding:12px 10px;border:0;border-bottom:1px solid #E1E8ED}
 .city-clock strong{align-self:center;font-size:13px}.city-clock time{font:300 18px/1.5 var(--serif);text-align:end}.city-clock .solar-label{grid-column:1/-1}
 .place-panel{background:#FDFCF8;border:0;border-radius:20px 20px 0 0;box-shadow:0 -10px 40px -12px rgba(27,47,63,.28);height:min(54dvh,480px);padding-bottom:env(safe-area-inset-bottom)}
 .place-panel.sheet-expanded{height:min(66dvh,620px)}
 .mobile-sheet-toggle{height:29px;min-height:29px}.mobile-sheet-toggle>span{height:4px;width:36px;background:#B5BEC3;margin:10px auto}
 .place-heading{padding-top:4px}.place-heading h1{font-size:28px;letter-spacing:.06em}.place-actions{margin-top:16px;gap:10px}
 .city-row{gap:10px}.city-row .clip-thumb{width:78px;height:56px}.city-row strong{font-size:14px;line-height:1.8}.city-row small{font-size:12px}
 .feature-copy h3{font-size:26px}.feature-byline p{display:inline;margin:0}.feature-copy .feature-byline .quiet-button{display:inline-flex}
 .site-footer,body.exploring .site-footer{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
 .footer-language{flex-basis:100%;margin-top:8px}.footer-language .language-picker{display:inline-block}.footer-language .language-picker summary{font-size:13px;min-height:40px}
}
@media(max-width:374px){.content-flow{--r11-gutter:18px}.site-header{padding-inline:12px;gap:0 8px}.header-actions{gap:10px}.brand{font-size:18px;gap:4px}.brand img{width:21px;height:21px}.contribute-link{padding-inline:8px}.chapter-title,.founder-chapter .chapter-title{font-size:26px;letter-spacing:.08em}.sun-band>span{font-size:11px}.city-clock{padding-inline:7px}.city-clock strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.site-header,.header-nav,.map-note{transition:none}}
@media(prefers-reduced-motion:reduce){.home-scroll-cue svg,.explore-back.mode-arrival{animation:none}}
