.recent-work{background:var(--pale);padding:80px 0 74px;border-top:1px solid var(--line)}
.gallery-heading{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:end}
.gallery-heading h2{font-size:clamp(34px,3.2vw,49px);letter-spacing:-.035em;line-height:1.12}
.gallery-heading>p{color:var(--muted);max-width:510px;font-size:1.06rem}
.gallery-filters{display:flex;gap:12px;flex-wrap:wrap;margin:32px 0 30px;padding-bottom:27px;border-bottom:1px solid #cdd7e0}
.gallery-filter{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #bccbd7;color:var(--navy);border-radius:3px;padding:12px 18px;font-size:.95rem;font-weight:700;min-height:48px}
.gallery-filter span{font-size:.85rem;line-height:1;opacity:.8}
.gallery-filter[aria-pressed=true]{color:#fff;background:var(--navy);border-color:var(--navy)}
.gallery-panel[hidden]{display:none}
.gallery-group-intro{display:flex;gap:25px;justify-content:space-between;align-items:flex-end;margin-bottom:25px}
.gallery-group-intro h3{font-size:1.5rem;letter-spacing:-.02em;margin-bottom:10px}
.gallery-group-intro p{color:var(--muted);max-width:710px;font-size:1rem;line-height:1.65}
.gallery-scroll-controls{display:flex;gap:8px;flex-shrink:0}
.gallery-scroll-controls button,.photo-dialog-top button,.photo-dialog-controls button{border:1px solid #b8c6d2;background:#fff;color:var(--navy);padding:10px 13px;min-height:44px;border-radius:3px;font-weight:700;font-size:.875rem;white-space:nowrap}
.gallery-scroll-controls button:hover:not(:disabled){background:#e4ebf1}
.gallery-scroll-controls button:disabled{opacity:.42;cursor:default}
.gallery-track{display:flex;gap:24px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:4px 0 16px;scrollbar-width:thin;scrollbar-color:#97a9bb transparent}
.project-card{flex:0 0 calc((100% - 48px)/3);scroll-snap-align:start;background:#fff;border:1px solid #dbe3e9;border-radius:4px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.project-photo{padding:0;border:0;background:#d8e0e6;position:relative;width:100%;display:block;text-align:left;overflow:hidden}
.project-photo img{width:100%;height:250px;object-fit:cover;object-position:center top;transition:transform .25s ease}
.project-photo:hover img{transform:scale(1.025)}
.project-photo:focus-visible{outline-offset:-4px}
.enlarge-label{position:absolute;bottom:13px;right:13px;padding:6px 11px;background:#fffef9;color:var(--navy);font-size:.8125rem;font-weight:700;border-radius:2px;box-shadow:0 2px 8px #10243c17}
.project-card figcaption{padding:23px 22px 26px}
.project-stage{font-size:.75rem;line-height:1.45;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:var(--blue);margin-bottom:10px}
.project-card h4{font-size:1.2rem;letter-spacing:-.018em;margin-bottom:11px;line-height:1.2}
.project-card figcaption>p:last-child{font-size:.95rem;line-height:1.65;color:var(--muted)}
.gallery-bottom{display:flex;gap:24px;justify-content:space-between;align-items:baseline;margin-top:18px}
.gallery-bottom>p{font-size:.875rem;color:var(--muted)}
.gallery-bottom .service-cta{font-size:.9375rem;flex-shrink:0;margin:0}
.photo-viewer-open{overflow:hidden}
#project-photo-dialog{border:0;border-radius:6px;padding:0;width:min(1080px,calc(100% - 56px));max-height:calc(100dvh - 48px);background:#fff;color:var(--ink);box-shadow:0 22px 80px #06111ed9;overflow:auto}
#project-photo-dialog::backdrop{background:#071322df;backdrop-filter:blur(3px)}
.photo-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 22px;border-bottom:1px solid var(--line)}
.photo-dialog-top p{font-weight:700;color:var(--muted);font-size:.875rem}
.photo-dialog-top button{background:var(--navy);border-color:var(--navy);color:#fff}
.photo-dialog-image{background:#0e233b;display:flex;justify-content:center;align-items:center}
.photo-dialog-image img{width:100%;max-height:60dvh;object-fit:contain;height:auto}
#project-photo-dialog figcaption{padding:20px 26px 0}
#project-photo-dialog h3{font-size:1.45rem;line-height:1.2;margin-bottom:9px}
#project-photo-dialog figcaption>p:last-child{font-size:1rem;line-height:1.6;color:var(--muted)}
#project-photo-dialog .project-stage{margin-bottom:6px}
.photo-dialog-controls{display:flex;justify-content:space-between;gap:18px;padding:19px 26px 24px}
@media(max-width:1100px){.gallery-group-intro{align-items:flex-start;flex-direction:column;gap:20px}.project-card{flex-basis:calc((100% - 24px)/2)}.gallery-heading{gap:40px}.gallery-bottom{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:700px){.recent-work{padding:52px 0}.gallery-heading{grid-template-columns:1fr;gap:24px}.gallery-heading h2{font-size:39px}.gallery-heading>p{font-size:1rem}.gallery-filters{display:grid;grid-template-columns:1fr;gap:9px;margin-top:26px;padding-bottom:24px}.gallery-filter{justify-content:space-between;font-size:.9375rem}.gallery-group-intro h3{font-size:1.35rem}.gallery-group-intro p{font-size:.9375rem}.gallery-scroll-controls{width:100%;justify-content:space-between}.gallery-track{gap:16px;margin-right:calc(var(--gutter) * -1);padding-right:var(--gutter)}.project-card{flex-basis:87%;max-width:360px}.project-photo img{height:235px}.project-card figcaption{padding:20px}.project-card h4{font-size:1.15rem}.gallery-bottom>p{font-size:.8125rem}.gallery-bottom .service-cta{font-size:.875rem}#project-photo-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 28px)}.photo-dialog-top{padding:11px 14px}.photo-dialog-image img{max-height:49dvh}#project-photo-dialog figcaption{padding:18px 18px 0}#project-photo-dialog h3{font-size:1.25rem}#project-photo-dialog figcaption>p:last-child{font-size:.9375rem}.photo-dialog-controls{padding:18px}.photo-dialog-controls button{font-size:.8125rem;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.project-photo img{transition:none}}
@media print{.recent-work{break-before:page;background:#fff}.gallery-filters,.gallery-scroll-controls,.enlarge-label,.gallery-bottom,#project-photo-dialog{display:none!important}.gallery-panel[hidden]{display:block}.gallery-track{overflow:visible;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.project-card{break-inside:avoid}.project-photo img{height:140px}.gallery-panel{margin-bottom:30px}}
