.gallery-intro {padding: 64px 0 44px; border-bottom: 1px solid var(--line)}
.gallery-intro h1 {font-size: clamp(2.65rem, 6.4vw, 5.7rem); max-width: 1000px; line-height: 1.03; margin: 18px 0 24px}
.gallery-intro h1 em {color: var(--brass-text)}
.gallery-intro .eyebrow {color: var(--brass-text); font-size: .875rem}
.gallery-intro-copy {display: flex; justify-content: space-between; align-items: end; gap: 32px}
.gallery-intro-copy p {font-size: 1.125rem; max-width: 620px; color: #56554f}
.gallery-stats {display:flex; gap:28px; flex-shrink:0; font-size:.875rem; color:#56554f}
.gallery-stats strong {display:block; color:var(--ink); font-size:2rem; font-weight:500; line-height:1.2}
.gallery-projects {padding-block:40px 76px}
.gallery-tools {display:flex; flex-wrap:wrap; align-items:end; gap:24px; margin-bottom:26px}
.gallery-tools label {display:grid; gap:8px; flex:1 1 280px; font-size:.875rem; font-weight:600}
.gallery-tools input {border:1px solid #929087; background:transparent; border-radius:0; width:100%; min-height:48px; padding:12px 14px; font-size:1rem}
.gallery-categories {display:flex; flex-wrap:wrap; gap:8px; padding-bottom:1px}
.gallery-categories button, .gallery-reset {background:transparent; border:1px solid #929087; color:var(--ink); padding:10px 15px; min-height:46px; font-size:.875rem}
.gallery-categories button[aria-pressed="true"] {background:var(--ink); border-color:var(--ink); color:var(--paper)}
.gallery-result-line {display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; font-size:.875rem; color:#56554f; margin-bottom:24px}
.gallery-result-line a {text-decoration:underline; text-underline-offset:4px}
.project-gallery-grid {columns:3; column-gap:28px}
.project-gallery-card {break-inside:avoid; margin:0 0 32px; display:flow-root}
.project-gallery-card a {display:block}
.project-gallery-card figure {overflow:hidden; background:var(--paper-2)}
.project-gallery-card img {width:100%; height:auto; transition:filter .2s}
.project-gallery-card a:hover img {filter:brightness(.94)}
.project-gallery-meta {display:flex; justify-content:space-between; gap:16px; margin:14px 0 8px; font-size:.8125rem; color:#59574f}
.project-gallery-card h2,.project-gallery-card h3 {font-size:clamp(1.4rem,2vw,1.8rem); letter-spacing:-.03em; line-height:1.15; margin:0 0 8px}
.project-gallery-card p {font-size:.9375rem; color:#59574f; line-height:1.55}
.gallery-empty {padding:48px 0; text-align:center}
.gallery-empty p {margin:0 auto 18px}
.gallery-archive {padding-block:44px 64px; border-top:1px solid var(--line)}
.gallery-archive summary {cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:24px; min-height:64px; font-size:clamp(1.4rem,3vw,2.2rem); letter-spacing:-.03em; list-style:none}
.gallery-archive summary::-webkit-details-marker {display:none}
.gallery-archive summary::after {content:'+'; font-size:2rem; flex-shrink:0}
.gallery-archive details[open] summary::after {content:'−'}
.gallery-archive .archive-intro {margin:12px 0 28px; color:#59574f}
.gallery-archive .archive-toolbar {padding-block:24px}
.gallery-archive .archive-search input {font-size:1rem; min-height:48px}
.gallery-archive .archive-filters button {font-size:.875rem; min-height:44px}
.gallery-archive .archive-card-copy strong {font-size:1rem}
.gallery-projects [hidden],.gallery-empty[hidden],.project-gallery-card[hidden] {display:none!important}
.gallery-projects :focus-visible,.gallery-archive :focus-visible,.page-collection :focus-visible {outline:3px solid #806437; outline-offset:5px}
.collection-breadcrumb {display:flex; flex-wrap:wrap; gap:10px; margin-bottom:24px; font-size:.875rem; color:#59574f}
.collection-breadcrumb a {text-decoration:underline; text-underline-offset:4px}
.collection-heading {padding-block:40px}
.collection-heading .eyebrow {font-size:.875rem; color:var(--brass-text)}
.collection-heading h1 {font-size:clamp(2.7rem,6vw,5.5rem); line-height:1.03; margin:14px 0 20px}
.collection-heading .collection-description {font-size:1.125rem; max-width:720px; color:#56554f}
.collection-info {display:flex; flex-wrap:wrap; gap:12px 28px; padding-top:22px; font-size:.875rem; color:#59574f}
.collection-photos {columns:2; column-gap:24px; padding-bottom:64px}
.collection-photo {break-inside:avoid; margin:0 0 26px; display:flow-root}
.collection-photo a {display:block; background:var(--paper-2); cursor:zoom-in}
.collection-photo img {width:100%; height:auto}
.collection-photo figcaption {font-size:.875rem; color:#59574f; padding-top:10px}
.collection-footer {border-top:1px solid var(--line); padding:40px 0 64px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px}
.collection-footer p {font-size:1.25rem; margin-bottom:14px}
.collection-footer a {display:inline-flex; align-items:center; min-height:48px; text-decoration:underline; text-underline-offset:5px; margin-right:24px}
.project-viewer {position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; background:#11120f; color:#fff; overflow:hidden}
.project-viewer[open] {display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:12px; padding:18px max(20px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom))}
.project-viewer::backdrop {background:rgba(0,0,0,.9)}
.project-viewer-header {display:flex; align-items:center; justify-content:space-between; gap:16px}
.project-viewer-title {font-size:1rem; font-weight:500; line-height:1.3; letter-spacing:0}
.project-viewer button {min-width:48px; min-height:48px; border:1px solid #77776f; padding:10px 16px; font-size:.9375rem; background:transparent; color:#fff}
.project-viewer button:hover {background:#30312b}
.project-viewer :focus-visible {outline:3px solid #e4cf9d; outline-offset:3px}
.project-viewer-stage {display:grid; place-items:center; min-height:0; position:relative}
.project-viewer-stage img {width:100%; height:100%; min-height:0; object-fit:contain}
.project-viewer-stage p {position:absolute; bottom:8px; padding:10px; background:#11120f}
.project-viewer-controls {display:flex; align-items:center; justify-content:center; gap:18px}
.project-viewer-counter {font-size:.9375rem; min-width:80px; text-align:center}
.gallery-more-projects {border-top:1px solid var(--line); padding-block:60px}
.gallery-more-projects h2 {font-size:clamp(2rem,4vw,3.5rem); margin-bottom:16px}
.gallery-more-projects > div > p {margin-bottom:28px}
.gallery-more-links {display:flex; flex-wrap:wrap; gap:12px}
.gallery-more-links a {border-bottom:1px solid #929087; padding:10px 12px; min-height:46px; font-size:1rem}
@media(max-width:950px) {.project-gallery-grid{columns:2}.gallery-intro-copy{align-items:start}.gallery-stats{gap:20px}.gallery-tools{display:block}.gallery-categories{margin-top:18px}}
@media(max-width:600px) {.gallery-intro{padding:38px 0 30px}.gallery-intro-copy{display:block}.gallery-stats{margin-top:24px}.gallery-intro-copy p{font-size:1rem}.project-gallery-grid,.collection-photos{columns:1}.project-gallery-card{margin-bottom:32px}.gallery-projects{padding-top:28px}.gallery-categories{gap:7px}.gallery-categories button{padding:10px 12px}.collection-heading{padding-top:24px}.collection-info{gap:8px 18px}.project-viewer[open]{padding-top:max(12px,env(safe-area-inset-top));gap:8px}.project-viewer-controls{gap:12px}.project-viewer button{padding:10px 13px}.project-viewer-title{font-size:.9375rem}}
@media(prefers-reduced-motion:reduce){.project-gallery-card img{transition:none}}
