/* No. 34 uses the shared One Lexington chapter hierarchy and photograph viewer. */
#gpba-full .building-profile-page.gramercy34-profile .g60-address{font:500 .875rem/1.6 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--gph-muted,#5d675d);margin:1.2rem 0 0}
#gpba-full .building-profile-page.gramercy34-profile .g60-contents-heading{display:flex;justify-content:space-between;align-items:baseline;gap:1.5rem;margin-bottom:1.5rem}
#gpba-full .building-profile-page.gramercy34-profile .g60-contents-heading h2{font:400 2.3rem/1.15 'EB Garamond',Georgia,serif;margin:0;color:var(--gph-ink,#203e30)}
@media(max-width:800px){#gpba-full .building-profile-page.gramercy34-profile .g60-contents-heading{display:block}#gpba-full .building-profile-page.gramercy34-profile .g60-contents-heading h2{font-size:2rem;margin-top:.65rem}}
#gpba-full .building-profile-page.gramercy34-profile .gramercy34-chapter.gph-chapter{border-top:0;padding-top:0;margin-bottom:4.5rem}
#gpba-full .building-profile-page.gramercy34-profile .gramercy34-chapter.gph-chapter:has(>.gph-next-chapter){margin-bottom:1.5rem}
#gpba-full .building-profile-page.gramercy34-profile .gph-period{font:500 .68rem/1.5 Inter,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;max-width:30rem;margin:0 0 .65rem;color:var(--gph-muted,#5d675d)}
#gpba-full .building-profile-page.gramercy34-profile .gph-next-chapter{display:flex;justify-content:space-between;gap:2rem;align-items:center;margin-top:3rem;text-decoration:none;color:var(--gph-ink,#203e30);border-bottom:0;padding:1rem 0}
#gpba-full .building-profile-page.gramercy34-profile .gph-next-chapter>span:first-child{font:500 .65rem/1.5 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--gph-muted,#5d675d)}
#gpba-full .building-profile-page.gramercy34-profile .gph-next-chapter>span:last-child{font:400 1.6rem/1.2 'EB Garamond',Georgia,serif}
#gpba-full .building-profile-page.gramercy34-profile .gph-next-chapter:hover>span:last-child{text-decoration:underline;text-underline-offset:.18em}
#gpba-full .building-profile-page.gramercy34-profile [id]{scroll-margin-top:6rem}
#gpba-full .building-profile-page.gramercy34-profile .gph-image-link{cursor:zoom-in}
#gpba-full .building-profile-page.gramercy34-profile .profile-story-subsection{font-size:.8rem;padding-left:.75rem;margin-top:.35rem}
@media(min-width:851px){#gpba-full .building-profile-page.gramercy34-profile .gph-chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
#gpba-full .building-profile-page.gramercy34-profile :is(.gph-image-link,.gph-next-chapter):focus-visible{outline:2px solid #8d6e20;outline-offset:5px}
.gramercy34-lightbox{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:max-content;max-width:min(96vw,1300px);max-height:94dvh;padding:1rem;border:1px solid #c3ac70;background:#f9f6ed;color:#203e30;overflow:auto}
.gramercy34-lightbox::backdrop{background:#0b1918ed}
.gramercy34-lightbox .gph-lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.gramercy34-lightbox .gph-lightbox-label{font:400 1.15rem Georgia,serif;color:#203e30}
.gramercy34-lightbox button{float:none;margin:0;min-height:44px;padding:.65rem 1rem;background:transparent;border:1px solid #c3ac70;cursor:pointer;color:#203e30;font:400 .9rem/1.3 Inter,Arial,sans-serif}
.gramercy34-lightbox button:focus-visible{outline:3px solid #8d6e20;outline-offset:3px}
.gramercy34-lightbox .gph-lightbox-media{display:flex;justify-content:center;align-items:center;max-width:100%;margin:0 auto;touch-action:pan-y pinch-zoom}
.gramercy34-lightbox .gph-lightbox-media img{display:block;box-sizing:border-box;width:auto;height:auto;min-width:0;max-width:100%;max-height:66dvh;margin:0 auto;border:1px solid #c3ac70;object-fit:contain}
.gramercy34-lightbox .gph-lightbox-caption{font:400 1.1rem/1.4 Georgia,serif;color:#203e30;margin:1rem 0 0;max-width:65ch}
.gramercy34-lightbox .gph-lightbox-navigation{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #d0c4a3}
.gramercy34-lightbox .gph-lightbox-count{font:500 .7rem/1.4 Inter,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#52645a;text-align:center}
@media(max-width:600px){
 #gpba-full .building-profile-page.gramercy34-profile .gramercy34-chapter.gph-chapter{margin-bottom:3rem}
 #gpba-full .building-profile-page.gramercy34-profile .gph-next-chapter{display:block}
 #gpba-full .building-profile-page.gramercy34-profile .gph-next-chapter>span{display:block;margin:.4rem 0}
 .gramercy34-lightbox .gph-lightbox-toolbar{gap:.5rem}
 .gramercy34-lightbox .gph-lightbox-label{font-size:1rem}
 .gramercy34-lightbox .gph-lightbox-navigation{gap:.5rem}
 .gramercy34-lightbox .gph-lightbox-navigation button{padding:.6rem}
 .gramercy34-lightbox .gph-lightbox-count{font-size:.6rem}
}
@media print{#gpba-full .building-profile-page.gramercy34-profile .gph-next-chapter,.gramercy34-lightbox{display:none!important}}



/* One Lexington album controls, scoped to No. 34; photographs keep their natural windows. */
#gpba-full .building-profile-page.gramercy34-profile .gph-photo-series{min-width:0;width:100%;position:static}
#gpba-full .building-profile-page.gramercy34-profile .gph-photo-series figure[hidden]{display:none!important}
#gpba-full .building-profile-page.gramercy34-profile .gph-photo-series .gph-image-link{touch-action:pan-y pinch-zoom}
#gpba-full .building-profile-page.gramercy34-profile .gph-series-controls{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0 0;padding-top:.75rem;border-top:1px solid #d8d0bb}
#gpba-full .building-profile-page.gramercy34-profile .gph-series-controls button{display:inline-flex;align-items:center;justify-content:center;float:none;box-sizing:border-box;width:44px;height:44px;min-height:44px;margin:0;padding:0;background:transparent;border:1px solid #c3ac70;color:var(--gph-ink,#203e30);cursor:pointer;font:400 1.1rem/1 Inter,Arial,sans-serif}
#gpba-full .building-profile-page.gramercy34-profile .gph-series-controls button:hover{background:#e8e1cf}
#gpba-full .building-profile-page.gramercy34-profile .gph-series-count{font:500 .68rem/1.5 Inter,Arial,sans-serif;text-transform:uppercase;letter-spacing:.13em;color:var(--gph-muted,#5d675d);text-align:center}
#gpba-full .building-profile-page.gramercy34-profile .gph-thumbnails{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}
#gpba-full .building-profile-page.gramercy34-profile .gph-thumbnails button{display:flex;align-items:center;justify-content:center;float:none;box-sizing:border-box;width:56px;height:44px;min-width:56px;min-height:44px;margin:0;padding:3px;border:1px solid transparent;background:transparent;cursor:pointer}
#gpba-full .building-profile-page.gramercy34-profile .gph-thumbnails button[aria-pressed=true]{border-color:#203e30}
#gpba-full .building-profile-page.gramercy34-profile :is(.gph-series-controls,.gph-thumbnails) button:focus-visible{outline:2px solid #8d6e20;outline-offset:3px}
#gpba-full .building-profile-page.gramercy34-profile .gph-thumbnails .gph-photo-window{display:block;position:relative;width:100%;height:100%;padding:0;border:0!important;background:none;overflow:hidden}
#gpba-full .building-profile-page.gramercy34-profile .gph-thumbnails img{display:block;position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;object-fit:contain!important;transform:none!important}
.gramercy34-lightbox .gph-lightbox-navigation[hidden]{display:none}
@media print{
 #gpba-full .building-profile-page.gramercy34-profile :is(.gph-series-controls,.gph-thumbnails){display:none!important}
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gph-photo-series figure[hidden]{display:block!important}
}


/* One continuous reading column, with supporting images in a common side rail.
   Floats belong to the chapter, not to individual prose rows: a tall photograph
   must not create a hole between two passages. Mobile restores text/image order. */
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .profile-story-layout { max-width:80rem; margin-left:auto; margin-right:auto; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter { --gramercy-media-width:26rem; --gramercy-media-gap:2.5rem; display:flow-root; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-story-run { display:block; margin:0 0 2.25rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter :is(.bp-copy,.gph-text-section) { box-sizing:border-box; width:calc(100% - var(--gramercy-media-width) - var(--gramercy-media-gap)); max-width:none; margin:0 0 2.25rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-story-run > .bp-copy { margin-bottom:0; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter .bp-copy > :last-child { margin-bottom:0; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter .bp-copy h3:not(:first-child) { margin-top:2.25rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-media { float:right; clear:right; width:var(--gramercy-media-width); margin:0 0 2.25rem var(--gramercy-media-gap); }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-media > .bp-pane { position:static; width:100%; max-width:none!important; margin:0; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter .gramercy34-media figure.gph-photo:is(.profile-photo-portrait,.profile-photo-landscape,.profile-photo-square,.profile-photo-document) { width:min(100%,var(--native-width,1600px))!important; margin:0 auto; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter .gph-next-chapter { clear:both; margin-top:2.5rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter > .restoration-source-link { width:calc(100% - var(--gramercy-media-width) - var(--gramercy-media-gap)); max-width:none; margin:0 0 2.25rem; text-align:left; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter > .profile-photo-feature { clear:both; }
@media (min-width:1101px) and (max-width:1200px) {
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .profile-story-layout { grid-template-columns:165px minmax(0,1fr); gap:1.5rem; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter { --gramercy-media-width:22rem; --gramercy-media-gap:1.75rem; }
}
@media (max-width:1000px) { #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .profile-story-layout { display:block; } }
@media (max-width:1100px) {
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-story-run { display:flex; flex-direction:column; gap:1.5rem; margin-bottom:2.25rem; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter :is(.bp-copy,.gph-text-section), #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter > .restoration-source-link { width:100%; max-width:42rem; margin-left:auto; margin-right:auto; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-story-run > .bp-copy { order:0; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-media { order:1; float:none; clear:none; width:min(100%,32rem); align-self:center; margin:0; }
}
/* Portrait albums use one compact strip of arrows and thumbnails. */
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter .resident-portrait-album { position:relative; top:0; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .resident-portrait-album .gph-series-controls { margin-top:.75rem; padding-top:.5rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .resident-portrait-album .gph-series-count { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .resident-portrait-album .gph-thumbnails { position:absolute; left:50%; bottom:0; transform:translateX(-50%); width:calc(100% - 104px); justify-content:center; flex-wrap:nowrap; gap:4px; margin:0; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .resident-portrait-album .gph-thumbnails button { width:44px; min-width:0; flex:0 1 44px; }
@media print {
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-story-run { display:flex; flex-direction:column; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-story-run > .bp-copy { order:0; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-media { order:1; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-media { float:none; width:100%; max-width:28rem; margin:1.5rem auto; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter :is(.bp-copy,.gph-text-section), #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-chapter > .restoration-source-link { width:100%; max-width:none; }
}



/* Separate the Thursby music cover from the organ photograph above it. */
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes.gramercy34-profile .gramercy34-media > #emma-thursby-galop { margin-top:2.25rem; }

/* Give the archival notice a readable, scrollable enlargement. */
.gramercy34-lightbox:has(.gph-lightbox-media img[src$="/otis-water-elevator-1883-clear.png"]) { width:min(96vw,960px); }
.gramercy34-lightbox .gph-lightbox-media img[src$="/otis-water-elevator-1883-clear.png"] { width:880px; max-width:100%; max-height:none; }
.gramercy34-lightbox:has(.gph-lightbox-media img[src$="/otis-water-elevator-1883-clear.png"]) .gph-lightbox-toolbar { position:sticky; top:0; z-index:1; padding-bottom:.75rem; background:#f9f6ed; }

#gpba-full#gpba-full .building-profile-page.gramercy34-profile blockquote.gramercy34-equality-quote { border-left:2px solid #c3ac70; padding-left:1.25rem; }
