/* Project-specific interaction components. Artwork and its geometry stay intact. */
.project-map-stage{position:relative;isolation:isolate;background:#fff;border-radius:.6rem}
.project-map-stage .chinatown-map-link img{display:block;border:0;border-radius:.6rem}
.map-hotspot{position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);width:clamp(1.75rem,3.2vw,3rem);aspect-ratio:1;border:2px solid white;border-radius:50%;background:#124a3f;color:white!important;text-decoration:none;font-weight:700;box-shadow:0 0 0 3px #124a3f55;font-size:clamp(.75rem,1.6vw,1.2rem);z-index:2}
.map-hotspot-1{left:14.05%;top:45.65%}.map-hotspot-2{left:35.19%;top:47.85%}.map-hotspot-3{left:60.45%;top:41.34%}.map-hotspot-4{left:81.89%;top:46.48%}
.map-hotspot:is(:hover,:focus-visible),.map-hotspot.is-previewed{background:#b04838;box-shadow:0 0 0 6px #b0483844;outline:2px solid white;outline-offset:2px}
.project-data{margin:2rem 0;padding:clamp(1rem,3vw,2rem);border:1px solid var(--border);border-radius:.6rem;background:var(--card)}
.data-heading h3{margin:.4rem 0}.data-heading>p:last-child{font-size:.9rem;color:var(--muted);margin:.5rem 0 1.5rem}
.landuse-bars{display:grid;gap:.45rem}
.landuse-bar{display:grid;grid-template-columns:7rem minmax(0,1fr) 3rem;align-items:center;gap:.75rem;width:100%;border:1px solid transparent;border-radius:.4rem;padding:.65rem .75rem;color:var(--text);background:transparent;text-align:left;cursor:pointer;font:inherit;font-size:.9rem}
.landuse-track{display:block;height:1.2rem;background:var(--panel);border-radius:.2rem;overflow:hidden}.landuse-fill{height:100%;display:block;background:var(--landuse);border:1px solid #52665744;border-radius:.2rem;transform-origin:left}
.landuse-fill-residential{width:64%}.landuse-fill-mixed{width:21%}.landuse-fill-institutional{width:7%}.landuse-fill-industrial{width:5%}.landuse-fill-commercial{width:3%}
.landuse-bar strong{text-align:right;font-variant-numeric:tabular-nums}.landuse-area{grid-column:2/-1;font-size:.75rem;color:var(--muted);margin-top:-.4rem}
.landuse-bar:hover,.landuse-bar[aria-pressed="true"]{background:var(--panel);border-color:var(--border)}.landuse-bar[aria-pressed="true"]{border-color:var(--accent)}
.landuse-explanation{font-size:.9rem;min-height:4.5em;padding:1rem 0 0;border-top:1px solid var(--border);text-align:left}
.data-source{font-size:.78rem!important;line-height:1.65;color:var(--muted);text-align:left!important;margin:1rem 0}
.proposal-statistics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:.6rem;overflow:hidden;margin:2rem 0 1rem}
.proposal-statistics>div{display:grid;gap:.5rem;padding:clamp(1rem,3vw,2rem);background:var(--card)}.proposal-statistics strong{font-size:clamp(2rem,4vw,3.2rem);font-weight:500;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.proposal-statistics>div>span:last-child{font-size:.8rem;color:var(--muted)}
@media(prefers-reduced-motion:no-preference){.map-hotspot,.landuse-bar{transition:background .2s,box-shadow .2s,border-color .2s}.data-in-view .landuse-fill{animation:landuse-grow .9s cubic-bezier(.2,.7,.3,1) both}.landuse-bar:nth-child(2) .landuse-fill{animation-delay:.08s}.landuse-bar:nth-child(3) .landuse-fill{animation-delay:.16s}.landuse-bar:nth-child(4) .landuse-fill{animation-delay:.24s}.landuse-bar:nth-child(5) .landuse-fill{animation-delay:.32s}@keyframes landuse-grow{from{transform:scaleX(0)}}}
@media(max-width:45rem){.landuse-bar{grid-template-columns:6.1rem minmax(0,1fr) 2.5rem;padding:.65rem .3rem;gap:.4rem;font-size:.8rem}.map-hotspot{width:1.8rem}.proposal-statistics .eyebrow{font-size:.62rem}}
@media print{.map-hotspot{display:none}.landuse-fill{print-color-adjust:exact}}

.map-hotspot::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.map-hotspot:focus-visible { outline: 3px solid #124a3f; outline-offset: 5px; }
.landuse-explanation { margin-bottom: 0; }
@media (hover: none) { .map-hotspot:hover:not(.is-previewed) { background: #124a3f; box-shadow: 0 0 0 3px #124a3f55; outline: none; } }
