
.gallery-intro{padding:75px 0 55px;background:var(--graphite);color:var(--white)}.gallery-intro h1{font-size:clamp(46px,6vw,84px);line-height:1}.gallery-intro .lead{color:#d3cec5}.gallery-intro .breadcrumbs{margin-bottom:30px}
.gallery-section{padding-top:38px;padding-bottom:90px}.gallery-filters{display:flex;flex-wrap:wrap;gap:10px}.gallery-filters button{font-size:14px;padding:12px 17px;border:1px solid var(--line);background:transparent;cursor:pointer}.gallery-filters [aria-pressed=true]{background:var(--ink);color:white}#gallery-count{font-size:14px;color:var(--muted);margin:25px 0}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}.gallery-grid figure{margin:0;min-width:0;background:var(--cream)}.gallery-grid figure[hidden]{display:none}.gallery-open{display:block;position:relative;width:100%;border:0;padding:0;cursor:zoom-in;background:#e4ddd2}.gallery-open img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.gallery-open span{position:absolute;right:12px;bottom:12px;background:rgba(20,20,18,.85);color:white;font-size:13px;padding:8px 12px}.gallery-grid figcaption{padding:20px}.gallery-grid h2{font-size:28px;line-height:1.12;margin:0 0 10px}.gallery-grid figcaption p{font-size:13px;color:var(--muted);margin:0;line-height:1.5}
.gallery-dialog{width:min(1100px,96vw);max-width:96vw;max-height:96dvh;padding:20px;background:#22221f;color:white;border:1px solid #6a645a}.gallery-dialog::backdrop{background:rgba(0,0,0,.88)}.photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.photo-toolbar p{margin:0;font-size:14px}.gallery-dialog button{background:transparent;color:white;border:1px solid #787268;cursor:pointer;padding:10px 16px;font-size:16px}.photo-stage{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;margin:15px 0}.photo-stage img{width:100%;height:65dvh;object-fit:contain}.photo-caption h2{font-size:28px;margin:0 0 6px}.photo-caption p{font-size:14px;color:#c8c2b9;margin:0}.photo-viewing{overflow:hidden}.gallery-section button:focus-visible,.gallery-dialog button:focus-visible{outline:3px solid #a27743;outline-offset:4px}
@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.gallery-grid{grid-template-columns:1fr}.gallery-intro{padding:45px 0}.gallery-intro h1{font-size:46px}.gallery-intro .lead{font-size:16px}.photo-stage{gap:6px}.photo-stage img{height:57dvh}.gallery-dialog{padding:12px}.gallery-dialog .photo-prev,.gallery-dialog .photo-next{padding:12px 7px}.gallery-grid h2{font-size:27px}}

/* Show newly added sheets and comparison panels in full. */
.gallery-complete .gallery-open img { object-fit: contain; display: block; }
