/* V07 visual theme restored. Only new-feature compatibility below. */
/* A photograph is the entire viewing surface; controls float over the image. */
#gallery-dialog{position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;background:#061521;color:#fff;overflow:hidden;box-shadow:none}
#gallery-dialog[open]{display:flex;align-items:center;justify-content:center}
#gallery-dialog::backdrop{background:#061521;backdrop-filter:none}
#gallery-image{display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center;border:0;border-radius:0;margin:0}
#gallery-dialog .close-dialog{position:absolute;top:max(22px,env(safe-area-inset-top));right:max(25px,env(safe-area-inset-right));width:49px;height:49px;padding:0;border:1px solid #ffffff47;border-radius:50%;background:#10283966;color:#fff;box-shadow:none;font-size:0;z-index:10;backdrop-filter:blur(9px);transition:background .18s,border-color .18s}
#gallery-dialog .close-dialog:before,#gallery-dialog .close-dialog:after{content:"";position:absolute;width:18px;height:1.5px;left:50%;top:50%;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
#gallery-dialog .close-dialog:after{transform:translate(-50%,-50%) rotate(-45deg)}
#gallery-dialog .close-dialog:hover{background:#102839d9;border-color:#ffffffe0}
#gallery-dialog .gallery-nav{display:contents;margin:0}
#gallery-dialog .gallery-nav button{position:absolute;top:50%;transform:translateY(-50%);width:61px;height:61px;display:grid;place-items:center;padding:0;border:1px solid #ffffff47;border-radius:50%;background:#10283966;color:#fff;font-size:0;backdrop-filter:blur(9px);box-shadow:0 3px 18px #04132024;z-index:8;transition:background .18s,border-color .18s}
#gallery-dialog .gallery-nav button:before{content:"";position:absolute;left:50%;top:50%;width:23px;height:1.5px;transform:translate(-50%,-50%);background:currentColor}
#gallery-dialog .gallery-nav button:after{content:"";position:absolute;left:calc(50% - 10px);top:50%;width:9px;height:9px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-50%) rotate(45deg)}
#gallery-dialog .gallery-nav #gallery-next:after{left:calc(50% + 1px);transform:translateY(-50%) rotate(225deg)}
#gallery-dialog .gallery-nav button:hover{background:#102839d9;border-color:#ffffffe0}
#gallery-dialog button:focus-visible{outline:2px solid #f3cf91;outline-offset:5px}
#gallery-dialog .gallery-nav button[hidden]{display:none}
#gallery-prev{left:28px}#gallery-next{right:28px}
#gallery-caption{position:absolute;bottom:max(23px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100vw - 180px);width:max-content;text-align:center;padding:11px 19px;background:#0d263ab8;color:#eceee5;font-size:12px;line-height:1.6;font-weight:400;border-radius:30px;backdrop-filter:blur(9px);pointer-events:none}
@media(max-width:600px){
 #gallery-dialog .close-dialog{right:max(14px,env(safe-area-inset-right));top:max(15px,env(safe-area-inset-top));width:44px;height:44px}
 #gallery-dialog .gallery-nav button{width:46px;height:46px}
 #gallery-prev{left:12px}#gallery-next{right:12px}
 #gallery-caption{bottom:max(22px,env(safe-area-inset-bottom));max-width:calc(100vw - 38px);padding:9px 15px;font-size:10px;line-height:1.5}
}
@media(prefers-reduced-motion:reduce){#gallery-dialog .close-dialog,#gallery-dialog .gallery-nav button,#gallery-caption{backdrop-filter:none;transition:none}}

.location-section{margin-bottom:75px;scroll-margin-top:25px}.location-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px}.location-heading h2{font-size:clamp(39px,4vw,62px);line-height:1.06;margin:0}.location-intro{min-width:260px;max-width:320px;border-left:1px solid #cbcdbf;padding-left:23px}.location-intro p{font-size:11px;line-height:1.8;color:#7d8578;margin:0 0 9px}.location-intro strong{font:29px Georgia,serif;color:#25464d}.location-intro>span{font-size:10px;line-height:1.7;color:#8d917f;display:block}
.location-film{position:relative;border-radius:6px;overflow:hidden;background:#b6c9b5;isolation:isolate}.location-map{display:block;width:100%;height:auto;aspect-ratio:1200/620;overflow:hidden}.location-film-heading{position:absolute;z-index:1;top:20px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:10px}.location-demo{display:inline-flex;align-items:center;gap:8px;font-size:9px;letter-spacing:.4px;border:1px solid #d1d4c9;background:#f9f8edee;padding:9px 12px;border-radius:3px;color:#506655}.location-demo i{width:5px;height:5px;background:#8c9a6c;border-radius:50%}.location-film-duration{font-size:8px;letter-spacing:1.4px;color:#4a6553}
.location-story{position:absolute;left:26px;bottom:74px;display:grid;gap:9px;background:#f5f3e7ec;padding:18px 22px;border-left:2px solid #ab8e57;color:#234651;min-width:290px}.location-story>span:first-child{font-size:8px;letter-spacing:2px;color:#8d856d}.location-story strong{font:26px/1.15 Georgia,serif;letter-spacing:-.5px}.location-story-note{font-size:8px;color:#8c947f}
.location-playbar{display:flex;position:absolute;bottom:0;left:0;right:0;min-height:53px;align-items:center;gap:20px;padding:8px 22px;background:#153744f0;color:#f7f3e8}.location-playbar button{display:flex;align-items:center;gap:10px;min-height:36px;min-width:98px;color:#eee7d3;font-size:11px;padding:6px 8px}.location-playbar button b{font-weight:500}.location-playbar button>span{font-size:13px;min-width:15px}.location-timeline{flex:1;background:#54706f;height:2px;overflow:hidden}.location-timeline>span{display:block;transform-origin:left;background:#e7d7b6;height:100%;transform:scaleX(0)}.location-playbar time{font-size:9px;letter-spacing:1px;color:#c1cdc7;white-space:nowrap}.location-disclaimer{font-size:9px;line-height:1.7;color:#8b8e82;margin:13px 0 0;max-width:740px}
.location-map text{user-select:none}.map-destination .map-pulse{opacity:.2}.location-film[data-scene=coast] .map-coast .map-pulse,.location-film[data-scene=municipality] .map-municipality .map-pulse{opacity:1;stroke-width:2}.location-film[data-scene=project] .map-project-ring{opacity:.8}

/* Three views retain the established navy control system. */
.stage-wrap .view-tabs button{min-width:0;white-space:normal}
.is-expanded .view-tabs{width:min(760px,calc(100% - 24px))}
#project-experience,#discover,#progress,#location{scroll-margin-top:24px}
/* The newly added location film inherits the established catalogue palette. */
.location-section{margin-bottom:64px}
.location-heading h2{font-family:'Manrope','Segoe UI',sans-serif;font-weight:500;font-size:clamp(32px,3.4vw,53px);letter-spacing:-.045em;color:var(--ink)}
.location-heading h2 em{color:#4b6b8a}
.location-intro{border-color:#c5d5e3}
.location-intro p,.location-intro>span,.location-disclaimer{color:#62768a}
.location-intro strong{color:#183c5d}
.location-film{border-radius:24px;border:1px solid #cbdbe7}
.location-demo{color:#254b6d;background:#f6faffed;border-color:#bdd2e1;border-radius:20px}
.location-story{background:#f5f8fbed;border-color:#5297b6;color:#183c5d;border-radius:0 14px 14px 0}
.location-story>span:first-child,.location-story-note{color:#718399}
.location-playbar{background:#0b253cf2}.location-timeline{background:#4f6c83}.location-timeline>span{background:#b7dcea}
.location-playbar button,.location-playbar time{color:#d6eaf8}
@media(max-width:800px){
 .location-heading{gap:24px}.location-heading h2{font-size:38px}.location-intro{min-width:210px;max-width:240px;padding-left:18px}.location-map{height:420px;aspect-ratio:auto;object-fit:cover}.location-story{left:20px;bottom:69px;min-width:245px;padding:14px 17px}.location-story strong{font-size:23px}
}
@media(max-width:600px){
 .topbar .project-name{display:grid;min-width:0;font-size:7px;letter-spacing:2px;gap:5px}.topbar .project-name strong{font-size:12px;letter-spacing:1.1px;white-space:nowrap}.topbar .header-actions button{width:44px;height:44px;min-height:44px;padding:0;font-size:0;flex:none}.topbar .header-actions button:after{content:"↗";font-size:20px}
 .stage-wrap .view-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:20px;gap:4px}
 .stage-wrap .view-tabs button{min-height:48px;font-size:10px;padding:10px 6px;border-radius:16px}
 .location-section{margin-bottom:42px}.location-heading{display:block;margin-bottom:22px}.location-heading h2{font-size:32px}.location-intro{margin-top:20px;min-width:0;max-width:none;padding-left:16px}.location-intro strong{font-size:24px}.location-map{height:430px}.location-film{border-radius:20px}.location-film-heading{top:14px;left:13px;right:13px}.location-demo{font-size:8px;padding:8px 10px}.location-film-duration{font-size:7px;letter-spacing:.6px}.location-story{left:14px;right:14px;bottom:69px;min-width:0;padding:13px 16px}.location-story strong{font-size:22px}.location-story-note{font-size:8px}.location-region-label{display:none}.location-playbar{padding:9px 12px;gap:10px}.location-playbar button{min-width:86px;font-size:10px}.location-playbar time{font-size:8px}.location-disclaimer{font-size:9px}
}
@media(max-height:520px){.is-expanded .view-tabs{display:flex}.is-expanded .view-tabs button{font-size:10px;min-height:39px;white-space:normal}}
/* Restrained refinement of the retained V07 composition and navy palette. */
.intro h1{font-weight:600;line-height:1.08;letter-spacing:-.045em}.intro h1 em{font-weight:400}
.intro .eyebrow{letter-spacing:1.8px}.intro-right>p{line-height:1.85}
.experience{border-color:#bdccdc;box-shadow:0 18px 44px #102d4510}
.selection h2{font-weight:600;line-height:1.2}.selection>.eyebrow{letter-spacing:1.5px}
.selection .block-buttons button{transition:border-color .18s,background .18s,box-shadow .18s}
.selection .block-buttons button:hover{border-color:#7c9db8;box-shadow:0 4px 12px #1538540d}
.section-heading h2{font-weight:600;line-height:1.12}.section-heading h2 em{font-weight:400}
.media-grid .media-card{border:1px solid #cbd9e4}
.media-grid .media-card:before{border-color:#ffffff70;background:#0a29484d;backdrop-filter:blur(4px);font-weight:400;transition:background .18s,border-color .18s}
.media-grid .media-card:hover:before{background:#0a2948b3;border-color:#ffffffe0}
.media-grid .media-card span{font-weight:600;letter-spacing:-.2px}.media-grid .media-card span small{font-weight:400;letter-spacing:.1px}
.progress-preview .progress-action{min-height:38px;justify-content:space-between;border-color:#8caec466}.progress-preview:hover .progress-action{border-color:#c7e4f3a6}
@media(max-width:600px){.intro .eyebrow{letter-spacing:1.3px}.selection h2{font-size:25px}.progress-preview .progress-action{min-height:32px}}
@media(prefers-reduced-motion:reduce){.media-grid .media-card:before{backdrop-filter:none;transition:none}}
