/* Precinct atlas: aerial survey and Stage 1 drawing are deliberately different views. */
.map-section{padding-inline:max(3.5vw,.8rem)}
.map-shell{background:#1b2b23}
.map-stage{aspect-ratio:1000/625;background:#14271d}
.map-shell .map-stage:after{height:25%;background:linear-gradient(transparent,#10201998)}
.atlas-photography{filter:saturate(.78) brightness(.84) contrast(1.05)}
.site-boundary{stroke-linejoin:round;stroke-width:2.4;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 2px #19291a);fill-rule:evenodd}
.montclair-boundary{fill:#9daf7945;stroke:#e7edc8}
.centre-boundary{fill:#7d295045;stroke:#f7f2ef}
.site-line{stroke:#f3edd9;stroke-width:1;vector-effect:non-scaling-stroke;fill:none}
.site-label rect{fill:#23382d;stroke:#decfa973;stroke-width:1;vector-effect:non-scaling-stroke}
.site-label.local rect{fill:#7d2950;stroke:#f7f2ef8c}
.site-address{font:650 9px var(--sans);letter-spacing:1.25px;fill:#f2e5c8}
.site-name{font:400 24px var(--display);fill:#fffaeb}
.road-label{font:580 8px var(--sans);letter-spacing:1.45px;fill:#fff7e0;stroke:#233327;stroke-width:2.8px;stroke-linejoin:round;paint-order:stroke}
.map-north{position:absolute;top:1rem;right:1rem;z-index:2;color:#fdf6df;background:#1b2f24db;padding:.4rem .65rem .35rem;text-align:center;font:650 .72rem/1.2 var(--sans);border:1px solid #e3dcc26b}
.map-north strong{display:block;font-size:1.1rem;line-height:1.1;font-weight:400}
.map-caption{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.map-caption a{margin:0}
.map-shell[data-state=inside] .map-stage{background:#e8e9de;aspect-ratio:1000/575}
.plan-layer{display:block}
.neighbourhood-overview{height:100%;display:grid;grid-template-columns:56% 44%;min-width:0;background:#ecece2;color:#1d3226}
.arrival-photo{position:relative;min-height:0;min-width:0;margin:0;overflow:hidden}
.arrival-photo img{width:100%;height:100%;object-fit:cover;object-position:43% 53%;display:block}
.arrival-photo:after{position:absolute;inset:46% 0 0;content:'';background:linear-gradient(transparent,#0f1b1450 54%,#101a13dd);pointer-events:none}
.arrival-photo figcaption{position:absolute;z-index:1;left:clamp(1rem,4vw,3.6rem);right:1rem;bottom:clamp(1rem,3.3vw,3rem);color:#fffbeb}
.arrival-photo figcaption span{display:block;font:550 .66rem/1.4 var(--sans);letter-spacing:.16em;margin-bottom:.4rem}
.arrival-photo figcaption strong{display:block;font:400 clamp(2rem,4.5vw,5rem)/.98 var(--display);letter-spacing:-.038em}
.plan-sheet{display:grid;height:100%;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;padding:clamp(.8rem,2.7vw,2.7rem);gap:.85rem;background:#efefe5}
.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;border-bottom:1px solid #20352d3f;padding:0 0 .75rem;font:650 clamp(.61rem,.84vw,.78rem)/1.25 var(--sans);letter-spacing:.105em}
.sheet-heading b{font-weight:400;color:#566655}
.plan-sheet svg{height:100%;width:100%;max-height:100%;min-height:0;display:block}
.sheet-foot{font:400 .7rem/1.4 var(--sans);color:#4c5a4e;margin:0}
.plan-small{font:650 9px var(--sans);letter-spacing:1.05px;text-anchor:middle;fill:#42594a}
.block[data-collection=paris]{--plot:#bd8653;--plot-line:#8e532c;--base:#e7c9a7}
.block[data-collection=brooklyn]{--plot:#7d2950;--plot-line:#7d2950;--base:#f7f2ef}
.block[data-collection=oslo]{--plot:#5b887f;--plot-line:#305e53;--base:#c6dcd4}
.plan-plot{fill:var(--base);stroke:var(--plot-line);stroke-width:1.35;vector-effect:non-scaling-stroke}
.plan-number{font:660 13px var(--sans);fill:#263c30;text-anchor:middle;dominant-baseline:central}
.block.is-active .plan-plot{fill:var(--plot);stroke-width:1.55}
.block.is-active .plan-number{fill:#fff}
.block.is-muted{opacity:.28}
@media(max-width:700px){
 .map-stage{aspect-ratio:711/492}
 .map-shell[data-state=inside] .map-stage{aspect-ratio:auto;height:clamp(465px,154vw,660px)}
 .neighbourhood-overview{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,.87fr) minmax(0,1.15fr)}
 .arrival-photo img{object-position:50% 55%}
 .arrival-photo figcaption strong{font-size:2.65rem}
 .plan-sheet{padding:.85rem .9rem;gap:.55rem}
 .sheet-heading{padding-bottom:.48rem}
 .map-shell[data-state=wide] #explore{top:auto;bottom:.52rem;min-height:44px}
 .map-north{right:.53rem;top:.53rem;padding:.22rem .48rem .17rem}
 .map-north strong{font-size:.88rem}
 .site-name{font-size:27px}
 .site-address{font-size:13px}
 .road-label{font-size:11px}
 .map-caption{gap:.34rem .65rem}
 .plan-small{font-size:11px}
 .plan-number{font-size:19px}
}
.development-footprint{fill:#b5c18b28;stroke:none;pointer-events:none}
.montclair-boundary{fill:#9daf791e}
.skip:not(:focus){clip-path:inset(50%)}
@media(max-width:700px){.map-stage{aspect-ratio:714/557}}

@media(max-width:700px){.map-north{left:50%;right:auto;transform:translateX(-50%)}}
