.p-photo-filter{border-top:1px solid #cbd3bf;padding-top:34px;margin-bottom:38px;scroll-margin-top:110px}
.p-photo-filter>header{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:28px}
.p-photo-filter .p-label{color:#606c54;font-size:9px;letter-spacing:.16em;margin:0 0 18px}
body .p-photo-filter h2{font-size:clamp(28px,3.2vw,44px);line-height:1.25;font-weight:400;letter-spacing:-1.3px;margin:0}
.p-photo-filter>header>p{max-width:280px;color:#606c54;font-size:12px;line-height:1.8;margin:0 0 4px}
.p-photo-filter-controls{display:flex;flex-wrap:wrap;gap:10px}
.p-photo-filter-controls[hidden],#photo-archive-results [hidden]{display:none!important}
body .p-photo-filter-controls button{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:12px 18px;border:1px solid #b9c1ad;border-radius:0;background:transparent;color:#34402c;font:inherit;font-size:12px;line-height:1.5;cursor:pointer;transition:background .18s,color .18s}
body .p-photo-filter-controls button span{font-size:10px;opacity:.7}
body .p-photo-filter-controls button:hover{background:#e7eadf}
body .p-photo-filter-controls button[aria-pressed=true]{background:#252e29;color:#f5f4ed;border-color:#252e29}
.p-photo-filter-status{font-size:11px;color:#606c54;line-height:1.8;min-height:20px;margin:18px 0 0}
#photo-archive-results.is-filtered details>summary,#photo-archive-results.is-filtered .ks-case-brief>p{display:none}
/* Keep each matching project's engineering case available in a themed selection. */
#photo-archive-results.is-filtered .ks-case-brief{margin-top:24px;padding:0;border:0;background:transparent}
#photo-archive-results.is-filtered details{border:0;margin-top:0}
#photo-archive-results.is-filtered details>.ks-photo-grid,#photo-archive-results.is-filtered details>.p-installation-grid{padding-top:24px}
@media(max-width:700px){.p-photo-filter{padding-top:26px;margin-bottom:26px}.p-photo-filter>header{align-items:start;flex-direction:column;gap:18px;margin-bottom:24px}.p-photo-filter>header>p{max-width:330px}.p-photo-filter-controls{gap:8px}body .p-photo-filter-controls button{padding:11px 13px;gap:14px;font-size:11px}.p-photo-filter-status{font-size:10px}}
@media(prefers-reduced-motion:reduce){body .p-photo-filter-controls button{transition:none}}

.p-object-directory{scroll-margin-top:110px}
.p-album-navigation{display:flex;justify-content:space-between;align-items:center;gap:32px;border-top:1px solid #cbd3bf;padding-top:24px;margin-top:32px}
.p-album-navigation a{color:#34402c;text-decoration:none}
.p-album-return{display:inline-flex;align-items:center;gap:24px;font-size:11px;line-height:1.7}
.p-album-return:hover{text-decoration:underline;text-underline-offset:5px}
.p-album-next{display:flex;align-items:center;justify-content:space-between;gap:32px;min-width:230px;max-width:420px;padding:10px 0}
.p-album-next small{display:block;color:#606c54;font-size:8px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:7px}
.p-album-next strong{font-size:17px;font-weight:400;line-height:1.5}
.p-album-next>span:last-child{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border:1px solid #b9c1ad;border-radius:50%;transition:background .18s}
.p-album-next:hover>span:last-child{background:#e7eadf}
@media(max-width:600px){.p-object-directory{scroll-margin-top:90px}.p-album-navigation{align-items:stretch;flex-direction:column;gap:14px;margin-top:26px;padding-top:22px}.p-album-shortcuts{align-self:flex-start}.p-album-next{min-width:0;max-width:none;border-top:1px solid #dce1d3;padding-top:20px;gap:18px}.p-album-next strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.p-album-next>span:last-child{transition:none}}

/* Short, accessible routes back from each album to the archive controls. */
.p-album-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:4px 24px;min-width:0}
.p-album-return,.p-album-objects{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:8px 0;font-size:12px;line-height:1.7;white-space:nowrap;flex-shrink:0}
.p-album-objects:hover{text-decoration:underline;text-underline-offset:5px}
#objects:focus-visible,#photo-archive:focus-visible{outline:2px solid #796447;outline-offset:6px}
