.gallery-page { background: var(--near-black); color: var(--white); }
.gallery-intro { padding: 160px 5vw 48px; }
.gallery-intro h1 { margin-bottom: 24px; overflow-wrap: anywhere; }
.gallery-intro p:not(.section-marker) { max-width: 650px; color: #b5b4ae; }
.gallery-feature-section { padding: 0 5vw 80px; }
.gallery-feature-head, .gallery-album-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gallery-feature-head { margin-bottom: 18px; }
.gallery-feature-head p { margin: 0; }
.gallery-pause, .gallery-back { background: transparent; border: 0; border-bottom: 1px solid var(--gold); padding: 8px 0; color: var(--gold-light); cursor: pointer; font-size: .75rem; }
.gallery-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery-tile { position: relative; display: block; width: 100%; aspect-ratio: 7 / 8; padding: 0; border: 0; overflow: hidden; background: #1b1a17; color: white; cursor: zoom-in; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-strip .gallery-tile img { position: absolute; inset: 0; transition: opacity 1000ms ease; }
.gallery-tile::after { content: "↗"; position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; background: rgba(0,0,0,.65); color: var(--gold-light); border: 1px solid rgba(200,168,93,.5); }
.gallery-tile:focus-visible, .gallery-album-card:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
.gallery-tile.is-missing::before { content: "Image unavailable"; position: absolute; inset: 0; display: grid; place-items: center; color: #c0b9a9; font-size: .8rem; }
.gallery-albums-section { padding: 64px 5vw 110px; background: var(--white); color: var(--black); }
.gallery-album-heading { margin-bottom: 40px; align-items: baseline; }
.gallery-album-heading h2 { font-size: clamp(2.8rem,5vw,5.5rem); margin: 0; }
.gallery-album-heading p { font-size: .8rem; color: #605d56; }
.gallery-albums { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 42px 24px; }
.gallery-album-card { display: block; }
.gallery-album-cover { position: relative; aspect-ratio: 7 / 8; overflow: hidden; background: #181714; }
.gallery-album-cover img { height: 100%; width: 100%; object-fit: cover; transition: transform 500ms ease; }
.gallery-album-card:hover img { transform: scale(1.035); }
.gallery-album-count { position: absolute; left: 16px; bottom: 16px; background: #090909de; color: var(--gold-light); padding: 8px 12px; font-size: .7rem; }
.gallery-album-card h3 { font-size: clamp(1.5rem,2.6vw,2.5rem); font-weight: 500; letter-spacing: -.04em; text-transform: uppercase; margin: 20px 0 8px; }
.gallery-album-card p { margin: 0; color: #605d56; font-size: .9rem; }
.gallery-collage-section { padding: 0 5vw 100px; }
.gallery-collage { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; grid-auto-flow: dense; align-items: start; }
.gallery-collage .gallery-tile:nth-child(7n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery-back { display: inline-block; margin-bottom: 32px; }
.gallery-empty { padding: 32px 0; color: #aaa79c; }
.gallery-albums-section .gallery-empty { color: #605d56; }
.gallery-lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(7,7,7,.98); color: white; }
.gallery-lightbox::backdrop { background: #000e; }
.gallery-lightbox[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.gallery-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 5vw; }
.gallery-lightbox-bar p { margin: 0; font-size: .75rem; color: var(--gold-light); }
.gallery-lightbox button { min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid #74603b; color: var(--gold-light); background: transparent; cursor: pointer; }
.gallery-lightbox button:disabled { opacity: .3; cursor: default; }
.gallery-lightbox button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.gallery-lightbox-stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 6vw; touch-action: pan-y; }
.gallery-lightbox-stage img { width: 100%; height: 100%; object-fit: contain; }
.gallery-lightbox-error { position: absolute; padding: 20px; background: #111; }
.gallery-lightbox-footer { padding: 16px 5vw 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gallery-lightbox-footer p { margin: 0; font-size: .9rem; }
.gallery-lightbox-controls { display: flex; gap: 10px; flex-shrink: 0; }
.gallery-lightbox [hidden], .gallery-page [hidden] { display: none !important; }
@media (max-width: 800px) {
  .gallery-intro { padding: 120px 24px 32px; }
  .gallery-feature-section { padding: 0 24px 48px; }
  .gallery-strip { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .gallery-albums-section { padding: 48px 24px 70px; }
  .gallery-albums { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 16px; }
  .gallery-album-heading { display: block; }
  .gallery-collage-section { padding: 0 24px 70px; }
  .gallery-collage { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .gallery-lightbox-stage { padding: 0 12px; }
  .gallery-lightbox-footer { align-items: flex-start; }
}
@media (max-width: 480px) {
  .gallery-albums { grid-template-columns: 1fr; }
  .gallery-lightbox-footer { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-strip .gallery-tile img, .gallery-album-cover img { transition: none; }
}
