/* One Lexington's editorial format, shared by building and people profiles.
   Load last. Image windows follow the photographed edge, never a padded stage.
   Source-specific crop variables preserve scans and the complete viewer source.
   The repeated root ID intentionally outranks legacy per-image !important caps. */
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes { --gph-ink:#203e30; --gph-muted:#5d675d; --gph-line:#c3ac70; --gph-paper:#f9f6ed; --profile-nav-line:#c3ac70; --profile-photo-gap:clamp(1.5rem,2.5vw,2.5rem); color:var(--gph-ink); }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .building-profile-shell { max-width:1200px; }
/* The fountain shell already supplies the common side gutters. */
#gpba-full#gpba-full .rf-profile.profile-format-standard { padding-inline:0!important; }
/* Frame the full photograph itself in the fountain viewer. */
#rf-lightbox .rf-lightbox-stage { height:auto; }
#rf-lightbox .rf-lightbox-stage > img { width:auto!important; height:auto!important; max-width:100%!important; max-height:62vh; object-fit:contain; border:1px solid #c3ac70; box-sizing:border-box; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-cover { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(2rem,5vw,4.5rem); align-items:center; margin:0 0 3.25rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-cover .building-profile-header { padding:0; margin:0; border:0; max-width:none; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(h1#building-title,h1#fountain-title) { font:400 clamp(3.6rem,6vw,5.8rem)/.98 'EB Garamond',Georgia,serif; letter-spacing:-.035em; margin:1rem 0 1.4rem; text-wrap:balance; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .building-deck { font:400 clamp(1.45rem,2.25vw,1.85rem)/1.3 'EB Garamond',Georgia,serif!important; max-width:25rem; margin:0 0 1.4rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-cover-actions .action, #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-cover-actions .action:is(:hover,:focus,:active) { background:var(--button-green,#2b5536); border:2px solid #c2a343!important; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-introduction { display:block; border-top:1px solid var(--gph-line); padding:2rem 0 0; margin:0 0 4.5rem; max-width:none; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-introduction .building-kicker { font:500 .7rem/1.5 Inter,Arial,sans-serif!important; text-transform:uppercase; letter-spacing:.14em; margin:0 0 1.4rem; color:var(--gph-muted); }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-intro-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(2rem,5vw,4.5rem); align-items:start; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-intro-columns :is(.profile-intro-column,.people-intro-column) p { font:400 1.025rem/1.85 Inter,Arial,sans-serif!important; margin:0 0 1.15rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-intro-columns > :is(.profile-intro-column,.people-intro-column):first-child > p:first-child { font:400 1.75rem/1.4 'EB Garamond',Georgia,serif!important; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-intro-columns p:last-child { margin-bottom:0; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-milestones { margin:0 0 3.5rem; border-color:var(--gph-line); }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-milestones-heading p { font:400 1.05rem/1.4 'EB Garamond',Georgia,serif!important; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-milestones a { border-color:var(--gph-line); }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-chapter-grid { margin:0 0 4.5rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-card-title { font:400 1.6rem/1.15 'EB Garamond',Georgia,serif!important; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-chapter-heading { display:grid; grid-template-columns:3.5rem minmax(0,1fr); gap:1rem; border:0; border-top:2px solid var(--gph-ink); background:linear-gradient(var(--gph-line),var(--gph-line)) left 2px / 100% 1px no-repeat; padding:1.75rem 0 0; margin:0 0 3rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-chapter-number { font:400 3.5rem/.9 'EB Garamond',Georgia,serif; color:#928052; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-chapter-heading h2 { font:400 clamp(2rem,3vw,2.9rem)/1.07 'EB Garamond',Georgia,serif; letter-spacing:-.02em; margin:0; text-wrap:balance; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(.bp-copy,.gph-text-section) p { font:400 1.05rem/1.85 Inter,Arial,sans-serif!important; margin:0 0 1.15rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(.bp-copy,.gph-text-section) h3 { font:400 2rem/1.15 'EB Garamond',Georgia,serif; margin:0 0 1.3rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-text-section { width:100%; max-width:46rem; margin:0 auto 3.5rem; padding:0; border:0; box-sizing:border-box; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .bp-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--profile-photo-gap); align-items:start; margin:0 0 3.5rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .profile-text-only { display:block; max-width:46rem; margin:0 auto 3.5rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .profile-text-only > .bp-copy { width:100%; max-width:none; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(.people-photo-gallery,.profile-photo-gallery) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--profile-photo-gap); align-items:start; margin:0 0 3.5rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(.people-photo-gallery,.profile-photo-gallery):has(>figure:only-child) { grid-template-columns:minmax(0,1fr); }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo { float:none; position:static; box-sizing:border-box; width:min(100%,var(--native-width,1600px))!important; max-width:100%!important; min-width:0; margin:0 auto; padding:0!important; border:0!important; background:none; box-shadow:none; justify-self:center; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo > :is(a,.gph-image-link) { display:block; position:relative; width:100%; height:auto; min-height:0; max-height:none; aspect-ratio:auto!important; margin:0; padding:0!important; border:0!important; background:none!important; box-shadow:none; overflow:visible; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo .gph-photo-window { display:block; position:relative; box-sizing:border-box; width:100%!important; height:auto!important; max-height:none; aspect-ratio:var(--view-ratio,var(--photo-ratio,1.333333))!important; margin:0; padding:0; border:1px solid #c3ac70!important; background:none!important; overflow:hidden; box-shadow:none; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo .gph-photo-window > img { display:block; position:absolute!important; inset:auto!important; left:var(--image-left,0)!important; top:var(--image-top,0)!important; width:var(--image-width,100%)!important; height:var(--image-height,100%)!important; max-width:none!important; max-height:none!important; min-width:0; margin:0!important; padding:0!important; border:0!important; object-fit:fill!important; object-position:center; transform:none; box-shadow:none; }
/* A direct image needs no window when its entire natural composition is shown. */
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo > a > img, #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo > img, #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo > a > picture > img, #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo > picture > img { display:block; position:static!important; width:100%!important; height:auto!important; max-width:100%!important; max-height:none!important; margin:0!important; padding:0!important; border:1px solid #c3ac70!important; box-sizing:border-box; object-fit:contain!important; transform:none; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo > picture, #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo > a > picture { display:block; width:100%; }
/* A sideways bound-volume plate is rotated intact, including its printed text. */
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo > a.scan-rotated { position:relative; aspect-ratio:var(--scan-ratio)!important; overflow:hidden; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo > a.scan-rotated > img { position:absolute!important; width:var(--scan-width)!important; height:auto!important; max-width:none!important; left:50%; top:50%; transform:translate(-50%,-50%) rotate(90deg); }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo figcaption { width:100%; max-width:none; min-height:0!important; box-sizing:border-box; font:400 1.05rem/1.4 'EB Garamond',Georgia,serif!important; color:var(--gph-muted); text-align:left; margin:.7rem 0 0; padding:0; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(.gph-cover,.people-photo-gallery,.profile-photo-gallery) > figure.gph-photo { margin:0 auto; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo:is(.profile-opening-photo,.profile-photo-feature,.people-photo-feature):not(.people-cover-photo) { margin:0 auto 3.5rem; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-cover > figure.gph-photo { width:min(100%,var(--native-width,1600px))!important; max-width:100%!important; position:static; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo[hidden] { display:none!important; }
#gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-thumbnails .gph-photo-window { border:0!important; }
@media(min-width:851px) {
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo { width:min(100%,var(--native-width,1600px),calc(max(30rem,100svh - 10rem) * var(--view-ratio,var(--photo-ratio,1.333333))))!important; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo:is(.profile-photo-portrait,.people-photo-portrait):not(.profile-opening-photo):not(.people-cover-photo) { width:min(100%,var(--native-width,1600px),calc(38rem * var(--view-ratio,var(--photo-ratio,.75))))!important; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo:is(.profile-photo-document,.people-photo-document) { width:min(100%,var(--native-width,1600px),calc(44rem * var(--view-ratio,var(--photo-ratio,.75))))!important; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo.profile-opening-photo { width:min(100%,var(--native-width,1600px),calc(48rem * var(--view-ratio,var(--photo-ratio,1.5))))!important; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-cover > figure.people-photo-square { width:min(100%,680px)!important; max-width:680px!important; }
}
@media(max-width:850px) {
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(.gph-cover,.gph-intro-columns,.bp-pair) { grid-template-columns:minmax(0,1fr); }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-cover { gap:2rem; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(h1#building-title,h1#fountain-title) { font-size:clamp(3.3rem,10vw,5.5rem); }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-intro-columns { gap:1.2rem; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-introduction { margin-bottom:3rem; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .bp-pair > .bp-copy { grid-column:1; grid-row:1; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .bp-pair > .bp-pane { grid-column:1; grid-row:2; position:static; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-cover > figure.gph-photo { max-width:38rem!important; }
}
@media(max-width:600px) {
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(.people-photo-gallery,.profile-photo-gallery) { grid-template-columns:minmax(0,1fr); gap:2rem; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(.gph-text-section,.bp-pair,.profile-text-only,.people-photo-gallery,.profile-photo-gallery), #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo.profile-opening-photo { margin-bottom:2.75rem; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-chapter-heading { grid-template-columns:2.5rem minmax(0,1fr); }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes .gph-chapter-number { font-size:2.8rem; }
}
@media print {
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes :is(.gph-cover,.bp-pair,.people-photo-gallery,.profile-photo-gallery) { display:block; }
 #gpba-full#gpba-full .building-profile-page.profile-format-standard.profile-navigation-standard.gph-profile.gph-editorial.building-panes figure.gph-photo { width:auto!important; max-width:28rem!important; margin:1.5rem auto!important; break-inside:avoid; }
}
