:root{--nav-h:78px;--ink:#fff0cf;--muted:rgba(255,240,207,.65);--gold:#c89b4c;--line:rgba(200,155,76,.28);--black:#070b0f}
*{box-sizing:border-box}body{margin:0;background:var(--black);color:var(--ink);font-family:Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}[hidden]{display:none!important}.container{width:min(1300px,calc(100% - 48px));margin-inline:auto}
.menu-toggle{width:36px;height:36px;background:transparent;border:1px solid var(--line);border-radius:4px;flex-direction:column;align-items:center;justify-content:center;gap:4px}.menu-toggle span{width:17px;height:2px;background:var(--ink)}
.skip-link{position:fixed;left:16px;top:-80px;z-index:2001;padding:12px;background:var(--black);border:1px solid var(--gold)}.skip-link:focus{top:12px}
.gallery-main{padding:calc(var(--nav-h) + 30px) 0 52px;min-height:75vh;background:radial-gradient(ellipse at top,rgba(14,32,42,.45),transparent 65%)}
.gallery-intro{text-align:center;padding-bottom:24px}.gallery-intro h1{font-family:'Bebas Neue',Impact,sans-serif;font-weight:400;font-size:clamp(80px,11vw,150px);line-height:.95;letter-spacing:.025em;margin:0}.gallery-intro h1 span{color:var(--gold)}.gallery-subtitle{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(26px,3.6vw,42px);margin:4px 0 7px}.gallery-tagline{font-size:12px;letter-spacing:.12em;color:var(--muted);margin:0;line-height:1.6}
.gallery-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.gallery-filters button,.gallery-more,.viewer-controls button{border:1px solid var(--line);background:transparent;border-radius:5px;padding:11px 15px;font-size:12px}.gallery-filters button[aria-pressed=true]{background:var(--gold);color:var(--black);border-color:var(--gold)}.gallery-filters button:hover,.gallery-more:hover,.viewer-controls button:hover{border-color:var(--gold)}.gallery-status{font-size:12px;color:var(--muted);margin:16px 0}
.gallery-grid{columns:3;column-gap:14px}.gallery-card{display:inline-block;width:100%;margin:0 0 14px;break-inside:avoid;border:1px solid rgba(255,240,207,.12);border-radius:3px;overflow:hidden;background:#0c1218}.gallery-card button{display:block;width:100%;text-align:left;padding:0;border:0;background:transparent}.gallery-card img{display:block;width:100%;height:auto;background:#11191e}.gallery-card .card-label{display:block;padding:9px 11px;font-size:12px;line-height:1.4;color:var(--ink)}.gallery-card button:hover .card-label{color:var(--gold)}.image-unavailable{padding:40px 15px;display:block;text-align:center;color:var(--muted);font-size:12px}.video-preview{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,#273139,#0b1117)}.play-symbol{width:65px;height:65px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold);font-size:30px;padding-left:4px}.gallery-more{display:block;margin:22px auto 0;min-width:240px;color:var(--gold);font-family:'Cormorant Garamond',Georgia,serif;font-size:20px}
.gallery-viewer{position:fixed;inset:0;z-index:2000;background:rgba(2,6,10,.97);overflow:auto;overscroll-behavior:contain;padding:20px}.viewer-shell{max-width:1300px;margin:auto;position:relative;padding:40px 0 15px}.viewer-close{position:absolute;top:0;right:0;width:40px;height:40px;background:#111820;border:1px solid var(--line);border-radius:4px;font-size:30px;line-height:1}.viewer-media{height:65vh;height:65dvh;min-height:160px;display:flex;align-items:center;justify-content:center}.viewer-media img,.viewer-media video{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.viewer-media video{width:min(100%,1000px)}.viewer-info{text-align:center;padding:12px}.viewer-info h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:25px;margin:0 0 6px}.viewer-info p{font-size:13px;line-height:1.5;margin:4px 0;color:var(--muted)}.viewer-controls{display:flex;justify-content:center;gap:16px}.viewer-controls button:disabled{opacity:.35;cursor:default}.viewer-error{font-size:14px;line-height:1.6;text-align:center;max-width:450px}
@media(max-width:850px){.gallery-grid{columns:2}.gallery-main{padding-top:calc(var(--nav-h) + 24px)}}
@media(max-width:560px){.container{width:calc(100% - 28px)}.gallery-grid{columns:1}.gallery-filters{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding:4px 0 10px;scrollbar-width:thin}.gallery-filters button{flex:none;white-space:nowrap}.gallery-intro{padding-bottom:18px}.gallery-tagline{letter-spacing:.04em;font-size:11px}.gallery-viewer{padding:12px}.viewer-media{height:58vh;height:58dvh}.gallery-main{padding-bottom:30px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.video-preview{position:relative;aspect-ratio:16/9;overflow:hidden}.video-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.video-preview .play-symbol{position:relative;background:rgba(7,11,15,.8)}.youtube-player{width:min(100%,1000px)}.youtube-player iframe{display:block;border:0;width:100%;aspect-ratio:16/9;max-height:calc(65vh - 40px);max-height:calc(65dvh - 40px)}.youtube-player a{display:block;text-align:center;padding:12px;color:var(--gold);font-size:14px}@media(max-width:560px){.youtube-player iframe{max-height:calc(58vh - 40px);max-height:calc(58dvh - 40px)}}

.viewer-media.photo-view{display:flex;flex-direction:column;gap:10px}.gallery-photo-stage{flex:1;min-height:0;width:100%;overflow:auto;display:grid;place-items:center;overscroll-behavior:contain}.gallery-photo-stage img{max-width:100%;max-height:100%;object-fit:contain}.gallery-photo-stage.is-zoomed{display:block;touch-action:pan-x pan-y}.gallery-photo-stage.is-zoomed img{width:auto;max-width:none;max-height:none;height:auto}.gallery-photo-tools{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:center;flex:none}.gallery-photo-tools button{padding:9px 14px;min-height:42px;background:#0b1117;border:1px solid var(--gold);color:var(--ink)}.gallery-photo-tools a{color:var(--gold);font-size:14px}

/* Stable rows keep existing photographs in place when more are appended. */
.gallery-grid{columns:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start;grid-auto-flow:row}
.gallery-card{display:block;min-width:0;margin:0}
.gallery-card img{aspect-ratio:var(--photo-ratio,auto)}
.gallery-photo-stage{position:relative;display:block;min-width:0}
.gallery-photo-stage:not(.is-zoomed) img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.gallery-photo-stage.is-zoomed img{position:static;height:auto;max-width:none;max-height:none}
.media-loading{position:absolute;inset:40% 10% auto;text-align:center;font-size:13px;color:var(--gold);z-index:1}
.viewer-shell{height:calc(100vh - 40px);height:calc(100dvh - 40px);padding:44px 0 0;display:grid;grid-template-rows:minmax(120px,1fr) auto auto;gap:8px}
.viewer-media{height:100%;min-height:0;min-width:0;overflow:hidden}
.viewer-info{max-height:24vh;overflow:auto;padding:4px 12px}
.viewer-info h2{font-size:23px}
.viewer-controls{padding-bottom:8px}
.viewer-controls button,.viewer-close{min-width:44px;min-height:44px}
@media(max-width:850px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.gallery-grid{grid-template-columns:minmax(0,1fr)}.viewer-shell{height:calc(100vh - 24px);height:calc(100dvh - 24px)}.viewer-info{max-height:26vh}.viewer-info h2{font-size:21px}.viewer-controls{gap:10px}}


.gallery-photo-tools button{min-height:44px}.gallery-filters{scrollbar-color:var(--gold) #0c1218}.gallery-filters::-webkit-scrollbar{height:6px}.gallery-filters::-webkit-scrollbar-track{background:#0c1218}.gallery-filters::-webkit-scrollbar-thumb{background:var(--gold);border-radius:4px}

.gallery-grid[data-initialized]{grid-auto-rows:8px}
