:root{color-scheme:light;--ink:#2e453b;--muted:#5b655e;--line:#cbd0c5;--paper:#faf9f4;--panel:#eef0ec;--sage:#dfe6d8;--lav:#e9e2ef;--gold:#957347;--rose:#edddd8}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 system-ui,sans-serif}
main{max-width:920px;margin:auto;padding:24px 20px 150px}
.eyebrow{font-size:12px;font-weight:750;letter-spacing:.14em;color:#596b58;margin:0 0 8px}
h1{font:clamp(30px,6vw,48px)/1.08 Georgia,serif;margin:8px 0 12px}
h2{font:clamp(25px,4vw,34px)/1.15 Georgia,serif;margin:4px 0 8px}
h3{font:22px/1.2 Georgia,serif;margin:4px 0 12px}
p{margin:8px 0}
.intro{max-width:650px;color:var(--muted);font-size:18px}
.gallery-back{display:inline-block;margin:0 0 18px;color:var(--ink);font-weight:650;text-decoration-thickness:1px;text-underline-offset:3px}
button:focus-visible,summary:focus-visible{outline:3px solid #8d6c45;outline-offset:3px}
.scene-panel{background:#f0f2ec;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 6px 22px #263d3010}
.scene-heading{margin-bottom:12px}
.scene-heading>p:last-child{color:var(--muted);margin:0}
.scene-art{background:#f9f7f0;border:1px solid #d9ddd4;border-radius:16px;overflow:hidden;min-height:0}
.image-stage{position:relative;width:100%;aspect-ratio:760/507;overflow:hidden;background:#f7f0e7}
.scene-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;animation:scene-zoom 12s ease-in-out infinite alternate}
.scene-overlay{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible}
.scene-art .svg-label{font:700 17px system-ui,sans-serif;letter-spacing:.12em;fill:#586b59;text-anchor:middle}
.scene-art .svg-small{font:600 14px system-ui,sans-serif;fill:#5c625c}
.scene-art .pulse{animation:soft-pulse 2s ease-in-out infinite}
.scene-art .flow{stroke-dasharray:14 10;animation:flow 1.5s linear infinite}
.scene-art .arrow-line{fill:none;stroke:#355849;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker-end:url(#arrow-head)}
.scene-art .marker{cursor:pointer}
.scene-art .marker circle:first-child{fill:#fffdf5;stroke:#355849;stroke-width:3}
.scene-art .marker text{font:700 18px system-ui,sans-serif;fill:#315243;text-anchor:middle;dominant-baseline:central;pointer-events:none}
.scene-art .marker[aria-pressed=true] circle:first-child{fill:#dfe8d7;stroke:#8b6e43;stroke-width:5}
.scene-art .marker .target-dot{fill:#fffdf5;stroke:#355849;stroke-width:4}
.scene-art .marker[aria-pressed=true] .target-dot{fill:#8b6e43;stroke:#fffdf5;stroke-width:3}
.scene-art .marker:focus-visible{outline:none;filter:drop-shadow(0 0 5px #8b6e43)}
.body-location-panel{margin:14px 0 18px;padding:14px;background:#f8f7f0;border:1px solid #d2d7cd;border-radius:16px}
.body-location-heading .eyebrow{margin:0 0 3px}
.body-location-heading h3{margin:0 0 10px;color:var(--ink);font:600 18px/1.25 Georgia,serif}
.body-location-content{display:flex;align-items:center;gap:16px;min-height:220px}
.body-location-figure{flex:0 0 36%;width:36%;max-width:180px;margin:0 auto;overflow:hidden;border:1px solid #d2d7cd;border-radius:12px;background:#fffefa}
#body-location-map{display:block;width:100%;height:auto}
#body-location-pins circle{fill:#456b55;stroke:#fffdf5;stroke-width:5;filter:drop-shadow(0 1px 2px #40404088)}
#body-location-pins circle.pin-core{fill:#d4ad5e;stroke:#fffdf5;stroke-width:3}
.body-location-copy{flex:1;min-width:0}
.body-location-copy h4{margin:0 0 7px;color:#2f4a3d;font:700 16px/1.3 system-ui,sans-serif}
.body-location-copy p{margin:6px 0;color:#46564d;font:400 15px/1.45 system-ui,sans-serif}
.body-location-copy .location-map-note{display:flex;align-items:flex-start;gap:7px;color:#677269;font-size:13px}
.location-dot{flex:0 0 11px;width:11px;height:11px;margin-top:4px;border-radius:50%;background:#d4ad5e;border:2px solid #456b55}
.structure-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:14px 0;border-top:1px solid #d4dacf}
.structure-list .structure-option{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;border:0;border-bottom:1px solid #d4dacf;border-radius:0;background:transparent;padding:7px 5px;color:var(--ink);text-align:left;font:500 15px/1.3 system-ui,sans-serif;cursor:pointer}
.structure-list .structure-option[aria-pressed=true]{border-radius:9px;background:#e5ebe1;color:#263f33;font-weight:700}
.structure-list .number{flex:0 0 24px;display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#385a49;color:white;font-size:12px;font-weight:750}
.structure-detail{min-height:142px;background:#fffefa;border:1px solid #d2d7cd;border-left:5px solid var(--gold);border-radius:14px;padding:14px 16px}
.structure-detail p{margin:7px 0;color:#46564d}
.structure-detail strong{color:#2f4a3d}
.scene-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.scene-controls button{min-height:46px;border:1px solid #bcc7ba;border-radius:10px;background:#e7ece3;color:var(--ink);font:650 14px/1.2 system-ui,sans-serif;padding:9px 13px;cursor:pointer}
#scene-play{background:#f1e9dd;border-color:#d5c4aa}
.scope-note{margin-top:18px;border-top:1px solid var(--line);color:var(--muted)}
.scope-note summary{min-height:44px;padding:10px 0;cursor:pointer;color:var(--ink);font-weight:650}
.scope-note p{max-width:720px}
@keyframes scene-in{from{opacity:.35;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes scene-zoom{from{transform:scale(1)}to{transform:scale(1.035)}}
@keyframes soft-pulse{0%,100%{filter:drop-shadow(0 0 0 #fff0)}50%{filter:drop-shadow(0 0 8px #c3a36c99)}}
@keyframes flow{to{stroke-dashoffset:-24}}
body.motion-paused .scene-art *,body.motion-paused .scene-art *::before,body.motion-paused .scene-art *::after{animation-play-state:paused!important}
@media(max-width:600px){main{padding:20px 14px 145px}.scene-panel{padding:12px}.structure-list{grid-template-columns:1fr}.structure-list .structure-option{font-size:16px}.structure-detail{min-height:0}.scene-controls button{padding:8px 10px;font-size:13px}.eyebrow{font-size:11px}.body-location-panel{padding:11px}.body-location-content{gap:11px;min-height:0}.body-location-figure{flex-basis:35%;width:35%;max-width:145px}.body-location-copy p{font-size:14px}.body-location-copy .location-map-note{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.scene-controls{display:none}.scene-panel{box-shadow:none;background:white}main{padding:0}.scene-image{animation:none}body{background:white}}
