.photo-gallery{isolation:isolate;overflow:hidden;background:#0b1424;padding-top:clamp(64px,7vw,105px);padding-bottom:clamp(64px,7vw,105px);scroll-margin-top:76px}
.gallery-backdrop{position:absolute;inset:0 0 auto;height:min(940px,115vh);z-index:-1;background-image:linear-gradient(180deg,rgba(10,15,30,.04),rgba(10,15,30,.13) 58%,#0b1424),linear-gradient(90deg,rgba(10,15,30,.98),rgba(10,15,30,.64) 50%,rgba(10,15,30,.18)),url('/assets/gallery/night-1047.webp');background-position:center,center,95% 100%;background-size:cover,cover,auto 140%;filter:saturate(.95)}
.gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:48px;margin-bottom:32px}
.gallery-heading .h2{font-size:clamp(52px,7.5vw,112px);line-height:.94;letter-spacing:-.05em;margin:0}
.gallery-heading .h2 em{color:var(--teal);font-weight:400}
.gallery-heading>p{max-width:370px;color:#d3d9e5;font-size:16px;line-height:1.75;margin-bottom:7px}
.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding-block:18px;border-block:1px solid rgba(245,241,232,.2)}
.gallery-filters,.gallery-views{display:flex;gap:5px;flex-wrap:wrap}
.gallery-filters button,.gallery-views button{min-height:44px;border:1px solid transparent;background:transparent;color:#bdc9d9;padding:9px 15px;font:500 11px var(--mono);letter-spacing:.09em;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.gallery-filters button:hover,.gallery-views button:hover{color:#fff;border-color:rgba(245,241,232,.32)}
.gallery-filters button[aria-pressed=true],.gallery-views button[aria-pressed=true]{color:#0a0f1e;background:var(--teal);border-color:var(--teal)}
.gallery-views{border-left:1px solid rgba(245,241,232,.22);padding-left:18px;flex-wrap:nowrap}
.gallery-views button{font-size:18px;padding:6px 12px;line-height:1}
.gallery-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
.gallery-card{position:relative;grid-column:span 3;aspect-ratio:3/4;overflow:hidden;border:0;padding:0;text-align:left;cursor:zoom-in;color:#fff;background:#16273d;isolation:isolate}
.gallery-card img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1),filter .3s}
.gallery-card:hover img{transform:scale(1.045);filter:saturate(1.08)}
.gallery-card::after{content:'';position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(3,8,20,.8));pointer-events:none}
.gallery-card__info{position:absolute;z-index:1;inset:auto 18px 18px;display:flex;justify-content:space-between;align-items:end;gap:12px}
.gallery-card__info span{display:block;font:500 10px var(--mono);letter-spacing:.17em;text-transform:uppercase;color:var(--teal);margin-bottom:5px}
.gallery-card__info strong{display:block;font:600 clamp(16px,1.65vw,25px)/1.1 var(--serif)}
.gallery-card__info i{font:300 24px var(--sans);font-style:normal}
.gallery-card__number{position:absolute;z-index:1;left:18px;top:15px;font:500 11px var(--mono);letter-spacing:.1em;text-shadow:0 1px 10px #000}
.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(10n+1){grid-column:span 6;aspect-ratio:1.34}
.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(10n+2),.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(10n+3){grid-column:span 3;aspect-ratio:.65}
.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(10n+4),.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(10n+5),.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(10n+6){grid-column:span 4;aspect-ratio:1.06}
.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(10n+7),.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(10n+8){grid-column:span 6;aspect-ratio:1.5}
.gallery-grid[data-layout=grid] .gallery-card{grid-column:span 4;aspect-ratio:1.12}
.gallery-grid[data-layout=filmstrip]{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;padding-bottom:16px;scrollbar-color:var(--teal) transparent}
.gallery-grid[data-layout=filmstrip] .gallery-card{flex:0 0 clamp(250px,32vw,410px);height:clamp(210px,24vw,300px);aspect-ratio:auto;scroll-snap-align:start}
.gallery-grid[data-density=compact]{gap:6px}
.gallery-grid[data-density=compact] .gallery-card__info{inset:auto 13px 13px}
.gallery-grid[data-titles=false] .gallery-card__info{display:none}
.gallery-grid[data-titles=false] .gallery-card::after{display:none}
.gallery-empty{text-align:center;padding:45px;color:var(--muted)}
.gallery-hint{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid rgba(245,241,232,.2);margin-top:28px;padding-top:18px;color:#c4cfde;font:400 11px var(--mono);letter-spacing:.08em;text-transform:uppercase}
.gallery-hint span[aria-hidden]{font-size:21px;color:var(--teal)}
.gallery-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;padding:0;color:#f5f1e8;background:#060a13;overflow:hidden}
.gallery-viewer::backdrop{background:#060a13}
.gallery-viewer[open]{display:grid;grid-template-rows:64px minmax(0,1fr) auto 94px}
.gallery-viewer__top,.gallery-viewer__bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px clamp(18px,3vw,48px)}
.gallery-viewer__top{border-bottom:1px solid #273244}
.gallery-viewer__brand,.gallery-viewer__top>span:nth-child(2){font:500 11px var(--mono);letter-spacing:.17em;color:#b6c3d3}
.gallery-viewer__top button{width:46px;height:46px;border:1px solid #4d5b6c;background:#151f2e;color:#fff;font-size:20px;cursor:pointer}
.gallery-viewer__stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;padding:12px 76px}
.gallery-viewer__stage img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}
.gallery-viewer__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:1;width:54px;height:54px;border:1px solid #5a6574;background:#101a29dd;color:#fff;font-size:26px;cursor:pointer}
#gallery-prev{left:14px}#gallery-next{right:14px}
.gallery-viewer__top button:hover,.gallery-viewer__arrow:hover,.gallery-viewer__bottom button:hover{background:#28485b;border-color:var(--teal)}
.gallery-viewer__bottom{border-top:1px solid #273244}
.gallery-viewer__bottom strong{display:block;font:600 clamp(18px,2vw,26px) var(--serif)}
.gallery-viewer__bottom span{display:block;color:#9dacbf;font:400 10px var(--mono);margin-top:3px}
.gallery-viewer__bottom button{border:1px solid #526074;background:#172235;color:#fff;padding:11px 15px;font:500 11px var(--mono);cursor:pointer}
.gallery-thumbs{display:flex;gap:7px;overflow:auto;padding:9px clamp(18px,3vw,48px);scrollbar-width:thin;scrollbar-color:var(--teal) transparent}
.gallery-thumbs button{flex:0 0 96px;height:70px;padding:0;border:2px solid transparent;background:none;cursor:pointer;opacity:.56}
.gallery-thumbs button[aria-current=true]{border-color:var(--teal);opacity:1}
.gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.photo-gallery button:focus-visible,.gallery-viewer button:focus-visible{outline:3px solid var(--coral);outline-offset:3px}
@media(max-width:900px){.gallery-heading{align-items:start;flex-direction:column;gap:25px}.gallery-toolbar{align-items:start;flex-direction:column}.gallery-views{border:0;padding:0}.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(n){grid-column:span 6;aspect-ratio:1}.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(5n+1){grid-column:span 12;aspect-ratio:1.5}.gallery-grid[data-layout=grid] .gallery-card{grid-column:span 6}}
@media(max-width:560px){.gallery-heading .h2{font-size:clamp(54px,13vw,76px)}.gallery-heading>p{font-size:14px}.gallery-filters{flex-wrap:nowrap;width:100%;overflow:auto;scrollbar-width:none}.gallery-filters::-webkit-scrollbar{display:none}.gallery-filters button{white-space:nowrap}.gallery-grid{gap:8px}.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(n),.gallery-grid[data-layout=grid] .gallery-card{grid-column:span 6;aspect-ratio:.82}.gallery-grid[data-layout=mosaic] .gallery-card:nth-child(5n+1){grid-column:span 12;aspect-ratio:1.15}.gallery-grid[data-layout=filmstrip] .gallery-card{flex-basis:min(72vw,320px);height:230px;aspect-ratio:auto}.gallery-card__info{inset:auto 10px 10px}.gallery-card__info strong{font-size:15px}.gallery-viewer[open]{grid-template-rows:55px minmax(0,1fr) auto 78px}.gallery-viewer__brand{font-size:9px}.gallery-viewer__stage{padding:6px 0 72px}.gallery-viewer__arrow{top:auto;bottom:7px;transform:none;width:48px;height:48px}.gallery-viewer__bottom button{display:none}.gallery-thumbs button{flex-basis:78px;height:58px}}
