.gallery-section{position:relative;padding:clamp(64px,7vw,100px) 0;background:#090a0c;border-top:1px solid #25272d;scroll-margin-top:96px}
.gallery-section .gallery-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:48px;align-items:end;margin-bottom:36px}
.gallery-section .gallery-heading{margin:12px 0 0;max-width:740px;color:#f7f8fa;font:800 clamp(44px,5.2vw,72px)/1.02 "Barlow Condensed",sans-serif;letter-spacing:-.02em}
.gallery-section .gallery-intro{margin:0 0 4px;color:#b8bcc4;font-size:15px;line-height:1.8;max-width:510px}
.gallery-section .gallery-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0;padding:0 0 20px;border-bottom:1px solid #2b2d34}
.gallery-section .gallery-filter{appearance:none;min-height:44px;padding:11px 15px;border:1px solid #383b43;border-radius:3px;background:#121418;color:#c8cbd1;font:700 12px/1.25 Manrope,sans-serif;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.gallery-section .gallery-filter:hover{border-color:#e60012;color:#fff}
.gallery-section .gallery-filter[aria-pressed="true"]{background:#e60012;border-color:#e60012;color:#fff}
.gallery-section .gallery-results{min-height:20px;margin:16px 0 22px;color:#9197a3;font-size:12px;line-height:1.6}
.gallery-section .gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.gallery-section .gallery-card{appearance:none;display:flex;flex-direction:column;position:relative;aspect-ratio:auto;min-height:0;padding:0;border:1px solid #30323a;border-radius:0;overflow:hidden;background:#111318;color:#fff;text-align:left;cursor:zoom-in;transition:border-color .2s,transform .2s}
.gallery-section .gallery-card:hover{transform:translateY(-3px);border-color:#f03a48;box-shadow:none}
.gallery-section .gallery-card::after{content:none}
.gallery-section .gallery-card[hidden]{display:none!important}
.gallery-section .gallery-media{position:relative;inset:auto;display:block;aspect-ratio:4/3;width:100%;overflow:hidden;background:#16191e}
.gallery-section .gallery-media::after{content:"";position:absolute;right:12px;bottom:12px;width:30px;height:30px;border:1px solid #ffffff70;border-radius:50%;background:rgba(5,6,8,.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6'%3E%3Cpath d='M14 4h6v6M20 4l-7 7M10 20H4v-6M4 20l7-7'/%3E%3C/svg%3E") center/17px no-repeat;pointer-events:none}
.gallery-section .gallery-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.gallery-section .gallery-card:hover .gallery-media img{transform:scale(1.035)}
.gallery-section .gallery-media img.gallery-rotated{transform:rotate(90deg) scale(1.25)}
.gallery-section .gallery-card:hover .gallery-media img.gallery-rotated{transform:rotate(90deg) scale(1.29)}
.gallery-section .gallery-card-copy{position:static;display:block;padding:17px 18px 20px;flex:1;background:#111318}
.gallery-section .gallery-card-kicker{display:block;margin-bottom:8px;color:#ff5360;font:800 10px/1.4 Manrope,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.gallery-section .gallery-card-title{display:block;color:#f3f4f6;font:700 22px/1.15 "Barlow Condensed",sans-serif}
.gallery-section .gallery-card-desc{display:block;margin-top:10px;color:#adb4c1;font:500 13px/1.6 Manrope,sans-serif;overflow-wrap:anywhere}
.gallery-lightbox .gallery-lightbox-desc{margin:12px 0 0;color:#bcc2ce;font:500 14px/1.65 Manrope,sans-serif}
.gallery-lightbox .gallery-lightbox-desc:empty{display:none}
.gallery-section .gallery-archive-badge{position:absolute;z-index:2;left:12px;top:12px;border:1px solid #ffffff60;padding:6px 9px;background:rgba(5,6,8,.82);color:#edf0f4;font:700 9px/1.4 Manrope,sans-serif;letter-spacing:.05em;text-transform:uppercase}
.gallery-section .gallery-provenance{margin:24px 0 0;color:#969ca7;font-size:12px;line-height:1.7}
.gallery-filter:focus-visible,.gallery-card:focus-visible,.gallery-lightbox button:focus-visible{outline:2px solid #fff;outline-offset:4px}
.gallery-dialog-open{overflow:hidden}
.gallery-section .gallery-lightbox{width:min(1160px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;inset:0;padding:0;border:1px solid #4a4d55;background:#0d0f13;color:#fff;box-shadow:0 30px 100px #000a;overflow:auto}
.gallery-lightbox::backdrop{background:rgba(0,0,0,.9)}
.gallery-lightbox .gallery-lightbox-close{position:absolute;top:12px;right:12px;z-index:4;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff80;border-radius:50%;background:#090b0fee;color:#fff;font-size:27px;line-height:1;cursor:pointer}
.gallery-lightbox .gallery-lightbox-media{position:relative;display:flex;align-items:center;justify-content:center;min-height:250px;height:min(72dvh,760px);max-height:none;overflow:hidden;background:#050608;touch-action:pan-y}
.gallery-lightbox .gallery-lightbox-image{display:block;max-width:100%;width:auto;height:auto;max-height:100%;object-fit:contain}
.gallery-lightbox .gallery-lightbox-image.is-rotated{transform:rotate(90deg);max-width:65dvh;max-height:85vw}
.gallery-lightbox .gallery-lightbox-prev,.gallery-lightbox .gallery-lightbox-next{position:absolute;top:50%;z-index:3;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff80;border-radius:50%;background:#090b0fcc;color:#fff;cursor:pointer}
.gallery-lightbox .gallery-lightbox-prev{left:14px}.gallery-lightbox .gallery-lightbox-next{right:14px}
.gallery-lightbox .gallery-lightbox-prev svg,.gallery-lightbox .gallery-lightbox-next svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}
.gallery-lightbox button:hover{background:#e60012;border-color:#e60012}
.gallery-lightbox button[hidden]{display:none}
.gallery-lightbox .gallery-lightbox-caption{padding:18px 24px 22px;border-top:1px solid #282b33}
.gallery-lightbox .gallery-lightbox-meta{display:flex;align-items:center;justify-content:space-between;gap:20px}
.gallery-lightbox .gallery-lightbox-category{color:#ff5360;font-size:10px;font-weight:800;line-height:1.6;letter-spacing:.09em;text-transform:uppercase}
.gallery-lightbox .gallery-lightbox-count{color:#aab1be;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.gallery-lightbox .gallery-lightbox-title{margin:8px 0 0;color:#fff;font:700 clamp(24px,3vw,32px)/1.15 "Barlow Condensed",sans-serif}
@media(max-width:980px){.gallery-section .gallery-head{grid-template-columns:1fr;gap:20px}.gallery-section .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:560px){.gallery-section{padding:48px 0;scroll-margin-top:86px}.gallery-section .gallery-heading{font-size:40px}.gallery-section .gallery-head{gap:14px;margin-bottom:24px}.gallery-section .gallery-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:14px;scrollbar-width:thin;scrollbar-color:#e60012 #262a32}.gallery-section .gallery-filter{flex:0 0 auto}.gallery-section .gallery-intro{font-size:14px}.gallery-section .gallery-grid{grid-template-columns:1fr;gap:20px}.gallery-section .gallery-filter{font-size:11px;padding:10px 12px}.gallery-section .gallery-card-title{font-size:24px}.gallery-section .gallery-lightbox{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.gallery-lightbox .gallery-lightbox-media{height:65dvh;min-height:240px}.gallery-lightbox .gallery-lightbox-prev{left:8px}.gallery-lightbox .gallery-lightbox-next{right:8px}.gallery-lightbox .gallery-lightbox-caption{padding:16px 18px 20px}}
@media(prefers-reduced-motion:reduce){.gallery-section .gallery-card,.gallery-section .gallery-media img,.gallery-section .gallery-filter{transition:none}.gallery-section .gallery-card:hover{transform:none}}

