/* Buildings page only; original atlas retained in the preceding Git commit. */
#gpba-full #around-the-park, #gpba-full #around-the-park * { box-sizing:border-box; }

  #gpba-full #around-the-park {
    --green: #233f34; --paper: #faf7ef; --ink: #393e34;
    --muted: #716753; --rule: #cabc9e; --gold: #95773d;
    max-width: 1380px; margin: auto; padding: clamp(18px,3vw,40px);
    color: var(--ink); background: var(--paper); border: 1px solid #af9b74;
    outline: 1px solid #d7ccb5; outline-offset: -7px;
    font: 16px/1.65 Arial,Helvetica,sans-serif;
  }
  #gpba-full #around-the-park h2,#gpba-full #around-the-park h3 { font-family: Georgia,serif; font-weight: 400; color: var(--green); }
  #gpba-full #around-the-park h2 { margin: 10px 0; font-size: clamp(32px,4vw,54px); line-height: 1.08; letter-spacing: -.035em; }
  #gpba-full #around-the-park .eyebrow { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
  #gpba-full #around-the-park .intro { margin: 0; color: var(--muted); }
  #gpba-full #around-the-park .split { display: grid; grid-template-columns: minmax(0,65fr) minmax(0,35fr); gap: 24px; margin-top: 28px; align-items: start; }
  #gpba-full #around-the-park .map-column { min-width: 0; }
  #gpba-full #around-the-park .map-frame { padding: 7px; border: 1px solid var(--rule); background: #f0e7d4; }
  #gpba-full #around-the-park .map-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
  #gpba-full #around-the-park .map-canvas { position: relative; min-width: 500px; aspect-ratio: 1400/1100; }
  #gpba-full #around-the-park .map-canvas svg { display: block; width: 100%; height: 100%; }
  #gpba-full #around-the-park .blocks { fill: #e4d7bb; stroke: #bba880; stroke-width: 2; }
  #gpba-full #around-the-park .street { fill: #766a53; font: 22px Georgia,serif; letter-spacing: 2px; text-anchor: middle; }
  #gpba-full #around-the-park .pin {
    position: absolute; left: var(--x); top: var(--y); transform: translate(-50%,-50%);
    width: 44px; height: 44px; padding: 0; border-radius: 50%;
    border: 2px solid var(--paper); background: var(--green); color: white;
    box-shadow: 0 0 0 1px var(--green); cursor: pointer; font: 600 15px Arial,sans-serif;
    transition: transform .18s ease,box-shadow .18s ease;
  }
  #gpba-full #around-the-park .pin.ghost { background: #f0e7d4; color: var(--green); border: 2px solid var(--green); box-shadow: none; }
  #gpba-full #around-the-park .pin:hover { transform: translate(-50%,-50%) scale(1.08); }
  #gpba-full #around-the-park .pin[aria-pressed="true"] { box-shadow: 0 0 0 4px #c3a769,0 3px 12px #233f3433; }
  #gpba-full #around-the-park :is(button,select,a,.map-scroll):focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
  #gpba-full #around-the-park .legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0; font-size: 12px; color: var(--muted); }
  #gpba-full #around-the-park .legend span { display: inline-flex; align-items: center; gap: 8px; }
  #gpba-full #around-the-park .dot { width: 13px; height: 13px; border: 2px solid var(--green); border-radius: 50%; background: var(--green); }
  #gpba-full #around-the-park .dot.hollow { background: transparent; }
  #gpba-full #around-the-park .preview {
    position: static; min-width: 0; border: 1px solid #b5a17a;
    display: flex; flex-direction: column; height: var(--map-frame-height, auto);
    background: #f5f0e5; max-height: none; overflow: visible;
    box-shadow: 0 8px 28px #493c2009;
  }
  #gpba-full #around-the-park figure { margin: 0; display: flex; flex-direction: column; flex: 1; min-height: 0; }
  #gpba-full #around-the-park .photo { display: block; width: 100%; height: 0; min-height: 0; flex: 1; object-fit: cover; border-bottom: 1px solid var(--rule); }
  #gpba-full #around-the-park figcaption { padding: 7px 20px 0; font-size: 10px; line-height: 1.5; color: var(--muted); }
  #gpba-full #around-the-park .copy { display: flex; flex-direction: column; flex: 0 0 auto; min-height: 0; padding: 20px; }
  #gpba-full #around-the-park h3 { margin: 0 0 12px; font-size: clamp(26px,2.2vw,33px); line-height: 1.12; letter-spacing: -.025em; }
  #gpba-full #around-the-park .moniker { margin: 0 0 14px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  #gpba-full #around-the-park .description { margin: 0 0 18px; font-size: 15px; line-height: 1.75; }
  #gpba-full #around-the-park .story { margin-top: auto; padding: 13px 16px; color: white; background: var(--green); border: 1px solid var(--green); text-decoration: none; text-align: center; font-size: 13px; }
  #gpba-full #around-the-park .story:hover { background: #365447; text-decoration: underline; text-underline-offset: 4px; }
  #gpba-full #around-the-park .archive-art { min-height: 0; flex: 1; display: grid; place-content: center; gap: 14px; text-align: center; border-bottom: 1px solid var(--rule); background: repeating-linear-gradient(0deg,#ede4d1,#ede4d1 27px,#ddd1b9 28px); color: var(--green); }
  #gpba-full #around-the-park .archive-art strong { font: 48px Georgia,serif; }
  #gpba-full #around-the-park .archive-art span,#gpba-full #around-the-park .archive-status { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
  #gpba-full #around-the-park .archive-status { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--muted); }
  #gpba-full #around-the-park .mobile-hint { display: none; }
  #gpba-full #around-the-park [hidden] { display: none !important; }
  #gpba-full #around-the-park .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  @media(max-width: 1100px) {
    #gpba-full #around-the-park .split { grid-template-columns: 1fr; }
    #gpba-full #around-the-park .preview { height: auto; max-height: none; }
    #gpba-full #around-the-park .photo { flex: none; height: auto; aspect-ratio: 16/9; }
    #gpba-full #around-the-park .archive-art { min-height: 200px; }
    #gpba-full #around-the-park .copy { min-height: 0; }
    #gpba-full #around-the-park .mobile-hint { display: block; margin: 12px 0; font-size: 12px; color: var(--muted); }
  }
  @media(prefers-reduced-motion: reduce) { #gpba-full #around-the-park .pin { transition: none; } }

#gpba-full #around-the-park { margin:0 0 3rem; scroll-margin-top:24px; --body-font-family:Arial,Helvetica,sans-serif; --body-font-size:16px; --body-line-height:1.65; }
#gpba-full #around-the-park .map-canvas { min-width:680px; }
#gpba-full #around-the-park .pin { width:32px;height:32px;min-height:0;min-width:0;line-height:1;font-size:13px;display:grid;place-items:center;border:2px solid var(--paper)!important; }
#gpba-full #around-the-park .pin.ghost { border:2px solid var(--green)!important; }
#gpba-full #around-the-park .pin[aria-pressed="true"] { z-index:2; }
#gpba-full #around-the-park .pin:focus-visible { z-index:3; }
#gpba-full #around-the-park .eyebrow { font-size:11px!important;line-height:1.65!important; }
#gpba-full #around-the-park .moniker { font-size:10px!important;line-height:1.65!important; }
#gpba-full #around-the-park .description { font-size:15px!important;line-height:1.75!important; }
#gpba-full #around-the-park figcaption a { color:inherit;text-decoration:underline; }
#gpba-full #around-the-park .mobile-hint { font-size:12px!important;line-height:1.65!important; }
#gpba-full #around-the-park .archive-status { font-size:11px!important;line-height:1.65!important; }
#gpba-full #around-the-park .footprint.selected { fill:#c9d0b7;stroke:#233f34;stroke-width:2; }


/* Engraved survey-map treatment, based on the supplied visual reference. */
#gpba-full #around-the-park {
  --green:#344332; --paper:#f6efdd; --rule:#bdad83; --gold:#8e763f;
  padding:clamp(16px,2vw,28px); border:0; outline:0;
  background:transparent;
  box-shadow:none;
}
#gpba-full #around-the-park .split { margin-top:0; gap:clamp(20px,2vw,30px); }
#gpba-full #around-the-park .map-frame { padding:0; border:0; background:transparent; box-shadow:0 3px 8px #58452424; }
#gpba-full #around-the-park .map-canvas svg { isolation:isolate; }
#gpba-full #around-the-park .street { fill:#393e2e; font-family:Georgia,serif; }
#gpba-full #around-the-park .pin {
  width:28px; height:28px; color:#faf3d9;
  background:radial-gradient(circle at 35% 25%,#526044,#293728 90%);
  border:2px solid #c7ba8d!important;
  box-shadow:0 0 0 1px #49513b,0 2px 4px #43381f55,inset 0 0 0 2px #74805b;
  font:500 13px/1 Georgia,serif;
}
#gpba-full #around-the-park .pin.ghost { color:#344332; background:#efe6ce; border:2px solid #606748!important; box-shadow:inset 0 0 0 2px #f7f1e3,0 1px 3px #43381f33; }
#gpba-full #around-the-park .pin[aria-pressed="true"] { box-shadow:0 0 0 3px #b79748,0 0 0 5px #f7eed5,0 3px 7px #43381f55,inset 0 0 0 2px #a7ad7d; }
#gpba-full #around-the-park .footprint.selected { fill:#a8b68e; stroke:#344d36; stroke-width:2.4; }
#gpba-full #around-the-park .preview {
  position:relative; padding:16px; border:1px solid #b4a17a; outline:1px solid #d4c59f; outline-offset:-6px;
  background-image:url('/assets/buildings-map-paper.svg'),radial-gradient(ellipse at 50% 35%,#faf4e4 20%,#eee3c8 100%);
  box-shadow:3px 5px 13px #5c482a38,inset 0 0 22px #b69a5930;
}
#gpba-full #around-the-park figure { position:relative; }
#gpba-full #around-the-park .photo { border:1px solid #7e7656; outline:0; outline-offset:0; box-shadow:none; }
#gpba-full #around-the-park figcaption { padding:7px 2px 0; font-size:10px; text-align:right; }
#gpba-full #around-the-park .copy { padding:15px 5px 4px; }
#gpba-full #around-the-park h3 { font-family:'EB Garamond',Georgia,serif; font-size:clamp(28px,2.4vw,36px); text-align:center; margin-bottom:7px; }
#gpba-full #around-the-park .moniker { text-align:center; font-family:Georgia,serif; letter-spacing:.09em; padding-bottom:14px; border-bottom:1px solid #b6a77f; margin-bottom:14px; }
#gpba-full #around-the-park .description { font-size:15px!important; line-height:1.6!important; color:#3d3e32; margin-bottom:17px; }
#gpba-full #around-the-park .story { padding:10px 12px; font:italic 19px/1.35 'EB Garamond',Georgia,serif; color:#fbf3dc; border:1px solid #8f7a48; outline:1px solid #b4a16b; outline-offset:-4px; background:linear-gradient(100deg,#344332,#49533c,#344332); }
#gpba-full #around-the-park .story:hover { background:#263b2d; }
#gpba-full #around-the-park .archive-art { background:repeating-linear-gradient(0deg,#e9dfc6,#e9dfc6 27px,#d3c5a3 28px); border:1px solid #b6a77f; }
#gpba-full #around-the-park .legend { margin:16px 0 0; }
@media(max-width:1100px) {
  #gpba-full #around-the-park .preview { max-width:none; }
  #gpba-full #around-the-park .photo { max-height:420px; }
  #gpba-full #around-the-park .copy { padding:18px 8px 8px; }
}
@media(prefers-reduced-motion:reduce) { #gpba-full #around-the-park .footprint { transition:none; } }

/* Use the shared page margins and give the map a little more room.
   Keep the preview at 32% of the former inset width on desktop. */
@media (min-width:1101px) {
  #gpba-full #around-the-park {
    --former-map-inset:clamp(16px,2vw,28px);
    --map-column-gap:clamp(20px,2vw,30px);
    padding-inline:0;
  }
  #gpba-full #around-the-park .split {
    grid-template-columns:minmax(0,1fr) calc((100% - var(--former-map-inset) - var(--former-map-inset) - var(--map-column-gap)) * .32);
  }
}

/* Quiet, ordered address markers. Keep these rules scoped to the atlas. */
#gpba-full #around-the-park .map-canvas { min-width:760px; }
#gpba-full #around-the-park .map-canvas .pin {
  width:22px; height:22px;
  color:#fff9e9; background:#344b38;
  border:1px solid #f5edda!important;
  box-shadow:0 0 0 1px #344b3855;
  font:500 12px/1 Georgia,serif;
  letter-spacing:0;
  transition:background-color .15s ease,box-shadow .15s ease;
}
#gpba-full #around-the-park .map-canvas .pin:is(.ghost,.historic-lost) {
  color:#344b38; background:#f5edda;
  border:1px solid #637158!important; box-shadow:none;
}
#gpba-full #around-the-park .map-canvas .pin:hover {
  transform:translate(-50%,-50%); background:#233b2b;
  color:#fff9e9; z-index:4;
}
#gpba-full #around-the-park .map-canvas .pin[aria-pressed="true"] {
  background:#243c2c; color:#fff9e9;
  box-shadow:0 0 0 2px #b39757,0 0 0 3px #f5edda;
}
#gpba-full #around-the-park .map-canvas .pin:focus-visible {
  outline:2px solid #95773d; outline-offset:3px; z-index:5;
}
/* One column on each side, with room between adjoining house numbers. */
#gpba-full #around-the-park .pin:is(
  [data-place="1-gramercy-park-west"],[data-place="2-gramercy-park-west"],
  [data-place="west-3"],[data-place="4-gramercy-park-west"],
  [data-place="5-gramercy-park-west"],[data-place="7-gramercy-park-west"]
) { left:19.8%; }
#gpba-full #around-the-park .pin[data-place="1-gramercy-park-west"] { top:48.3%; }
#gpba-full #around-the-park .pin[data-place="2-gramercy-park-west"] { top:52.3%; }
#gpba-full #around-the-park .pin[data-place="west-3"] { top:56.3%; }
#gpba-full #around-the-park .pin[data-place="4-gramercy-park-west"] { top:60.3%; }
#gpba-full #around-the-park .pin[data-place="5-gramercy-park-west"] { top:64.3%; }
#gpba-full #around-the-park .pin[data-place="7-gramercy-park-west"] { top:68.7%; }
#gpba-full #around-the-park .pin:is(
  [data-place="38-gramercy-park"],[data-place="37-gramercy-park-east"],
  [data-place="36-gramercy-park-east"],[data-place="34-gramercy-park-east"]
) { left:84%; }
#gpba-full #around-the-park .pin[data-place="38-gramercy-park"] { top:49.2%; }
#gpba-full #around-the-park .pin[data-place="37-gramercy-park-east"] { top:54.3%; }
#gpba-full #around-the-park .pin[data-place="36-gramercy-park-east"] { top:59.4%; }
#gpba-full #around-the-park .pin[data-place="34-gramercy-park-east"] { top:68%; }
/* North and south frontage labels share a calm horizontal baseline. */
#gpba-full #around-the-park .pin:is(
  [data-place="calvary-church"],[data-place="60-gramercy-park-north"],
  [data-place="50-gramercy-park-north"],[data-place="gramercy-park-hotel"],
  [data-place="one-lexington-avenue"],[data-place="48-gramercy-park-north"],
  [data-place="45-gramercy-park-north"],[data-place="44-gramercy-park-north"],
  [data-place="40-gramercy-park-north"],[data-place="39-gramercy-park-north"],
  [data-place="39a-gramercy-park-north"]
) { top:34%; }
#gpba-full #around-the-park .pin:is(
  [data-place$="-gramercy-park-south"],[data-place="south-11"],
  [data-place="tilden-mansion"],[data-place="the-irving"],
  [data-place="brotherhood-synagogue"]
) { top:86%; }
#gpba-full #around-the-park .pin[data-place="9-gramercy-park-south"] { left:17%; }
#gpba-full #around-the-park .pin[data-place="10-gramercy-park-south"] { left:20.1%; }
#gpba-full #around-the-park .pin[data-place="south-11"] { left:23.2%; }
#gpba-full #around-the-park .pin[data-place="12-gramercy-park-south"] { left:26.3%; }
#gpba-full #around-the-park .pin[data-place="13-gramercy-park-south"] { left:29.4%; }
#gpba-full #around-the-park .pin[data-place="tilden-mansion"] { left:33.5%; }
#gpba-full #around-the-park .pin[data-place="16-gramercy-park-south"] { left:37.9%; }
#gpba-full #around-the-park .pin[data-place="17-gramercy-park-south"] { left:41.6%; }
#gpba-full #around-the-park .pin[data-place="18-gramercy-park-south"] { left:45.38%; }
#gpba-full #around-the-park .pin[data-place="19-gramercy-park-south"] { left:56.2%; }
#gpba-full #around-the-park .pin[data-place="21-gramercy-park-south"] { left:59.3%; }
#gpba-full #around-the-park .pin[data-place="22-gramercy-park-south"] { left:62.4%; }
#gpba-full #around-the-park .pin[data-place="23-gramercy-park-south"] { left:65.5%; }
#gpba-full #around-the-park .pin[data-place="24-gramercy-park-south"] { left:69.286%; }
#gpba-full #around-the-park .pin[data-place="the-irving"] { left:73.429%; }
@media(prefers-reduced-motion:reduce) {
  #gpba-full #around-the-park .map-canvas .pin { transition:none; }
}




