.photos-section { padding-top: 64px; }
.photos-page h1 { color: var(--ink); font-size: clamp(48px, 6.5vw, 96px); line-height: 1.03; margin: 24px 0; max-width: 1050px; }
.photos-intro { max-width: 640px; font-size: 20px; color: #53604f; line-height: 1.7; }
.photos-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 34px; margin-top: 20px; border-bottom: 1px solid #bfc7bc; margin-bottom: 28px; }
.photos-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.photos-filters button { min-height: 48px; padding: 12px 20px; border: 1px solid #9ba599; background: transparent; color: #141718; cursor: pointer; font: inherit; }
.photos-filters button span { margin-left: 10px; font-size: 12px; }
.photos-filters button[aria-pressed="true"] { color: #fff; background: #141718; border-color: #141718; }
.photos-filters button:hover { border-color: #bd3b13; }
#photo-count { color: #53604f; font-size: 14px; }
.photo-grid { columns: 3; column-gap: 24px; }
.photo-card { display: inline-block; width: 100%; margin: 0 0 30px; break-inside: avoid; }
.photo-open { position: relative; display: block; background: #dfe3dd; }
.photo-open img { display: block; width: 100%; height: auto; }
.photo-expand { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; background: #141718; color: #fff; font-size: 25px; transition: background .2s; }
.photo-open:hover .photo-expand { background: #bb3913; }
.photo-card figcaption { padding: 16px 0 0; }
.photo-category { color: #8e2e0e; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.photo-card figcaption p { margin-top: 6px; font-size: 17px; line-height: 1.5; }
.photos-social { margin-top: 40px; padding-top: 50px; border-top: 1px solid #bfc7bc; }
.photos-social h2 { font-size: clamp(34px,4vw,54px); max-width: 850px; }
.photos-social > p { margin: 18px 0 28px; color: #53604f; }
.photos-social-links { display: flex; gap: 14px; flex-wrap: wrap; }
.photo-viewer { inset: 0; margin: auto; padding: 60px 24px 20px; border: 1px solid #58625b; background: #141718; color: #fff; width: min(1320px,96vw); max-width: 96vw; max-height: 96svh; box-sizing: border-box; }
.photo-viewer::backdrop { background: #080b0bed; }
.photo-close { position: absolute; top: 8px; right: 12px; background: transparent; color: #fff; border: 1px solid #58625b; width: 44px; height: 44px; font-size: 30px; cursor: pointer; }
.photo-viewer-figure { margin: 0; }
#photo-full { display: block; width: 100%; height: min(68svh,900px); object-fit: contain; touch-action: pan-y pinch-zoom; }
#photo-full-caption { padding-top: 14px; text-align: center; font-size: 16px; line-height: 1.5; }
.photo-controls { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 14px; }
.photo-controls button { min-width: 48px; min-height: 48px; color: #fff; border: 1px solid #58625b; background: transparent; cursor: pointer; font-size: 26px; }
.photo-controls button:hover,.photo-close:hover { border-color: #ff5b24; color: #ff9069; }
.photo-controls span { min-width: 70px; text-align: center; font-size: 14px; }
.photo-viewer :focus-visible { outline: 2px solid #ff9069; outline-offset: 3px; }
.photos-page a:focus-visible,.photos-filters button:focus-visible { outline: 2px solid #a53310; outline-offset: 4px; }
@media(max-width:1000px) { .photo-grid { columns: 2; } }
@media(max-width:600px) {
 .photos-section { padding-top: 40px; }
 .photos-intro { font-size: 17px; }
 .photos-toolbar { gap: 16px; padding-block: 24px; }
 .photos-filters { gap: 8px; }
 .photos-filters button { padding: 10px 13px; font-size: 14px; }
 .photos-filters button span { margin-left: 5px; }
 .photo-grid { columns: 1; }
 .photo-viewer { padding-inline: 12px; }
 #photo-full { height: 60svh; }
 #photo-full-caption { font-size: 14px; }
}
