/* Revision 12: compact architectural galleries. Scoped away from the home hero. */
.gallery-v12{--gallery-ink:#174c43;--gallery-paper:#fcfaf5;--gallery-line:#b9cec5;background:var(--gallery-paper);color:var(--gallery-ink)}
.gallery-v12 [hidden]{display:none!important}
.gallery-v12 a:focus-visible,.gallery-v12 button:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.gallery-v12 .wrap{max-width:1250px}
.gallery-v12-intro{background:#e6efeb;padding:30px 0 48px}
.gallery-v12 .back-link{font-size:12px;gap:10px;color:#45685f;min-height:32px}
.gallery-v12 .back-link svg{width:17px;order:0}
.gallery-v12-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end;margin-top:30px}
.gallery-v12 h1{font:400 clamp(54px,6vw,86px)/1.02 Georgia,'Times New Roman',serif;letter-spacing:-.045em;margin:0}
.gallery-v12-lead{font:400 21px/1.5 Manrope,Arial,sans-serif;max-width:21em;margin-top:20px;text-wrap:pretty}
.gallery-v12-intro-copy{max-width:470px;justify-self:end}
.gallery-v12-intro-copy>p{font-size:15px;line-height:1.85;text-wrap:pretty}
.gallery-v12-text-link{display:inline-flex;gap:24px;align-items:center;min-height:44px;font-size:12px;border-bottom:1px solid var(--gallery-ink);margin-top:18px}
.gallery-v12-text-link svg{width:20px;height:20px}
.gallery-v12-collection{padding:32px 0 42px;scroll-margin-top:100px}
.gallery-v12-toolbar{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-bottom:25px}
.gallery-v12-tabs{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.gallery-v12-tabs>a,.gallery-v12-tabs>button{display:flex;align-items:center;gap:17px;min-height:44px;padding:10px 17px;background:transparent;border:1px solid #bfd0c8;color:var(--gallery-ink);font-size:12px;border-radius:0;transition:background .2s,color .2s}
.gallery-v12-tabs span{font-size:10px;opacity:.7}
.gallery-v12-tabs [aria-current=page],.gallery-v12-tabs [aria-pressed=true]{background:var(--gallery-ink);color:white;border-color:var(--gallery-ink)}
.gallery-v12-tabs>a:hover,.gallery-v12-tabs>button:hover{background:#dce8e9;color:var(--gallery-ink)}
.gallery-v12-hint{font-size:11px;color:#5d746d;text-align:right}
.gallery-v12 .project-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;columns:auto;column-gap:16px}
.gallery-v12 .project-card{display:block;width:auto;min-width:0;padding:0;margin:0;break-inside:auto}
.gallery-v12 .photo-button{display:block;padding:0;width:100%;height:100%;background:#dce8e9;color:var(--gallery-ink)}
.gallery-v12 .project-card .photo-image{display:block;width:100%;margin:0;aspect-ratio:4/3;overflow:hidden;background:#dce8e9}
.gallery-v12 .photo-image img{display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:cover}
.gallery-v12 .photo-expand{width:31px;height:31px;right:9px;bottom:9px;background:rgba(252,250,245,.94);opacity:1}
.gallery-v12 .photo-expand svg{width:17px;height:17px}
.gallery-v12 .photo-image{position:relative}
.gallery-v12 .photo-story{position:absolute;inset:auto 0 0;padding:48px 48px 22px 22px;background:linear-gradient(transparent,rgba(20,25,24,.94) 42%);color:#fff;text-align:left;opacity:0;transform:translateY(10px);transition:opacity .22s ease,transform .22s ease;pointer-events:none;overflow-wrap:anywhere}
.gallery-v12 .photo-story strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font:600 17px/1.35 Manrope,Arial,sans-serif}
.gallery-v12 .photo-story>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font:400 12px/1.65 Manrope,Arial,sans-serif;margin-top:8px}
.gallery-v12 .photo-button:focus-visible .photo-story{opacity:1;transform:none}
.gallery-v17-service-link{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 36px}
.gallery-v17-service-link p{font-size:15px;color:#587067}
.gallery-v17-service-link a{display:inline-flex;align-items:center;gap:20px;min-height:44px;font-size:14px;border-bottom:1px solid currentColor}
.gallery-v17-service-link svg{width:21px;height:21px}
.projects-page #lightbox-title{overflow-wrap:anywhere}
.projects-page #lightbox-caption{font-size:14px;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere}
.projects-page #lightbox-caption:empty{display:none}
@media(hover:hover) and (pointer:fine){.gallery-v12 .photo-button:hover .photo-story{opacity:1;transform:none}}
.gallery-v12-pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:23px;min-height:62px}
.gallery-v12-pagination p{font-size:12px;color:#587067}
.gallery-v12-more{display:inline-flex;justify-content:center;align-items:center;gap:26px;min-height:44px;padding:10px 18px;color:var(--gallery-ink);background:transparent;border:1px solid var(--gallery-ink);font-size:12px}
.gallery-v12-more svg{width:21px;transform:rotate(90deg)}
.gallery-v12-more:hover{background:#e6efeb}
.gallery-v12-services{scroll-margin-top:110px}
.gallery-v12-service{background:#dce8e9;padding:54px 0 55px}
.gallery-v12-service+.gallery-v12-service{background:#e6efeb;border-top:1px solid #c2d4cc}
.gallery-v12-service-heading{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.gallery-v12-service h2{font:400 clamp(32px,3.5vw,48px)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.035em;max-width:12em;text-wrap:pretty;margin:0}
.gallery-v12-service-heading>p{font-size:14px;line-height:1.85;max-width:470px;justify-self:end;text-wrap:pretty}
.gallery-v12-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:38px}
.gallery-v12-detail{border-top:1px solid #aec6c0;padding-top:18px}
.gallery-v12-detail h3{font:600 14px/1.5 Manrope,Arial,sans-serif;margin:0 0 10px}
.gallery-v12-detail p{font-size:13px;line-height:1.8;color:#3a6158;text-wrap:pretty}
.gallery-v12-contact{padding:38px 0;background:var(--gallery-ink);color:var(--gallery-paper)}
.gallery-v12-contact>.wrap{display:flex;justify-content:space-between;align-items:center;gap:30px}
.gallery-v12-contact h2{font:400 clamp(25px,2.5vw,35px)/1.25 Georgia,'Times New Roman',serif;letter-spacing:-.02em}
.gallery-v12-contact a{font-size:13px;display:inline-flex;gap:22px;align-items:center;border-bottom:1px solid #bed0c7;min-height:44px;white-space:nowrap}
.gallery-v12-contact svg{width:21px}
@media(max-width:1000px){
 .gallery-v12-intro-grid,.gallery-v12-service-heading{gap:35px}
 .gallery-v12 .project-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gallery-v12-details{gap:22px}
 .gallery-v12-lead{font-size:18px}
}
@media(max-width:650px){
 .gallery-v12 .wrap{width:calc(100% - 40px)}
 .gallery-v12-intro{padding:20px 0 30px}
 .gallery-v12 .back-link{font-size:11px;min-height:32px}
 .gallery-v12-intro-grid{display:block;margin-top:20px}
 .gallery-v12 h1{font-size:clamp(43px,12vw,55px);line-height:1.06;letter-spacing:-.04em}
 .gallery-v12-lead{font-size:17px;line-height:1.5;margin-top:13px;max-width:22em}
 .gallery-v12-intro-copy{margin-top:19px;max-width:none}
 .gallery-v12-intro-copy>p{font-size:13px;line-height:1.8}
 .gallery-v12-text-link{font-size:11px;margin-top:10px;gap:18px}
 .gallery-v12-collection{padding:23px 0 28px}
 .gallery-v12-toolbar{display:block;margin-bottom:17px}
 .gallery-v12-tabs{gap:6px}
 .gallery-v12-tabs>a,.gallery-v12-tabs>button{font-size:11px;padding:9px 12px;gap:12px}
 .gallery-v12-tabs span{font-size:9px}
 .gallery-v12-hint{font-size:10px;text-align:left;margin-top:13px}
 .gallery-v12 .project-gallery{gap:12px;column-gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .gallery-v12 .project-card .photo-image,.gallery-v12 .photo-image img{aspect-ratio:1.18}
 .gallery-v12 .photo-expand{width:25px;height:25px;bottom:6px;right:6px}
 .gallery-v12 .photo-expand svg{width:14px;height:14px}
 .gallery-v12 .photo-story{display:none}
 .gallery-v17-service-link{display:block;padding-bottom:26px}
 .gallery-v17-service-link p{font-size:13px;margin-bottom:8px}
 .gallery-v17-service-link a{font-size:13px}
 .gallery-v12-pagination{padding-top:17px;gap:12px;min-height:61px}
 .gallery-v12-pagination p{font-size:10px}
 .gallery-v12-more{font-size:11px;padding:9px 13px;gap:15px}
 .gallery-v12-service{padding:34px 0 36px}
 .gallery-v12-service-heading{display:block}
 .gallery-v12-service h2{font-size:32px;max-width:12em}
 .gallery-v12-service-heading>p{font-size:13px;line-height:1.85;margin-top:18px;max-width:none}
 .gallery-v12-details{grid-template-columns:1fr;gap:21px;margin-top:26px}
 .gallery-v12-detail{padding-top:16px}
 .gallery-v12-detail h3{font-size:13px;margin-bottom:7px}
 .gallery-v12-detail p{font-size:13px;line-height:1.8}
 .gallery-v12-contact{padding:30px 0}
 .gallery-v12-contact>.wrap{display:block}
 .gallery-v12-contact h2{font-size:27px;max-width:12em}
 .gallery-v12-contact a{margin-top:16px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.gallery-v12 .photo-image img,.gallery-v12 .photo-story,.gallery-v12-tabs>a,.gallery-v12-tabs>button{transition:none}.gallery-v12 .photo-button:hover img{transform:none}}
