.gallery-page{background:#fff;color:var(--ink)}
.gallery-page [hidden],.gallery-dialog [hidden]{display:none!important}
.gallery-preview-note{margin:0;padding:12px 24px;background:#f1eee7;text-align:center;color:#584722;font-size:12px;line-height:1.5;border-bottom:1px solid #ded5c4}
.gallery-hero{padding:65px 0 58px;background:#f4f6f8;border-bottom:1px solid var(--line)}
.gallery-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:60px;align-items:center}
.gallery-kicker{font:600 11px/1.6 var(--font-sans);letter-spacing:.16em;text-transform:uppercase;color:#5b6b7a;margin:0 0 16px}
.gallery-hero h1{font:500 clamp(38px,4.7vw,60px)/1.18 var(--font-serif);letter-spacing:-.035em;max-width:17ch;margin:0 0 24px;color:var(--navy)}
.gallery-intro{max-width:52ch;font-size:17px;line-height:1.9;color:#4c6071;margin-bottom:25px}
.gallery-hero-link{font-size:13px;font-weight:600;color:var(--navy);text-decoration:underline;text-underline-offset:5px}
.gallery-hero-photo{margin:0;min-width:0;background:#fff;border:1px solid #d5dde4;box-shadow:0 14px 30px #12263d0c}
.gallery-hero-photo>a{display:block;background:#e8edf1;aspect-ratio:4/3;padding:10px}
.gallery-hero-photo img{display:block;width:100%;height:100%;object-fit:contain}
.gallery-hero-photo figcaption{padding:19px 22px 22px;border-top:3px solid #b38b45}
.gallery-hero-photo .gallery-kicker{display:block;font-size:10px;margin-bottom:6px}
.gallery-hero-photo figcaption a{display:block;font:500 23px/1.45 var(--font-serif);color:var(--navy);text-decoration:none}
.gallery-hero-photo figcaption a:hover{text-decoration:underline;text-underline-offset:4px}
.gallery-hero-photo-count{display:block;font-size:12px;color:#586b7c;margin-top:9px}
.gallery-art{position:relative;aspect-ratio:1.2;display:grid;place-items:center;isolation:isolate}
.gallery-art::before,.gallery-art::after{content:"";position:absolute;inset:12% 13%;border:1px solid #b8c3cd;background:#e9eef2;transform:rotate(-10deg);z-index:-1}
.gallery-art::after{transform:rotate(7deg);inset:10% 12%;background:#dce4eb;border-color:#aab9c7}
.gallery-art-frame{background:var(--navy);width:75%;aspect-ratio:1.12;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;border:10px solid #fff;box-shadow:0 12px 25px #12263d18}
.gallery-art-frame svg{width:52px;height:52px;margin-bottom:22px;stroke:#d8b36e}
.gallery-art-frame strong{font:400 25px var(--font-serif);letter-spacing:.02em}
.gallery-art-frame span{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#c7d2dd;margin-top:10px}
.gallery-section{padding-block:60px 76px}
.gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:30px}
.gallery-heading h2{font:500 32px/1.3 var(--font-serif);margin:0;color:var(--navy)}
.gallery-heading p{margin:9px 0 0;color:#586b7c;font-size:14px;line-height:1.7}
.gallery-count{white-space:nowrap;font-size:12px;color:#586b7c}
.gallery-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);gap:18px;margin-bottom:28px}
.gallery-tools label{display:grid;gap:8px;font-size:12px;font-weight:600;color:var(--navy)}
.gallery-tools input,.gallery-tools select{width:100%;min-height:48px;background:#fff;border:1px solid #aebbc7;border-radius:2px;color:var(--navy);padding:12px;font:400 15px var(--font-sans)}
.gallery-albums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.gallery-album{min-width:0;border-bottom:1px solid var(--line);padding-bottom:24px}
.gallery-album:only-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:38px;align-items:center;padding:0 0 30px}
.gallery-album:only-child .gallery-meta{margin-top:0}
.gallery-album:only-child h3{font-size:30px}
.gallery-album-copy{min-width:0}
.gallery-cover{display:block;overflow:hidden;background:#edf1f4;aspect-ratio:4/3;border-radius:2px}
.gallery-cover img{display:block;width:100%;height:100%;object-fit:contain}
.gallery-meta{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:11px;letter-spacing:.05em;color:#5a6b7b;text-transform:uppercase;margin:20px 0 12px}
.gallery-album h3{font:500 24px/1.4 var(--font-serif);margin:0 0 10px}
.gallery-album h3 a{color:var(--navy);text-decoration:none}
.gallery-album p{font-size:14px;line-height:1.8;color:#536778}
.gallery-album .gallery-album-link{font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:5px;color:var(--navy)}
.gallery-empty{padding:46px 30px;border:1px solid var(--line);border-left:3px solid #a47b31;max-width:800px;margin:18px auto;background:#fafbfc}
.gallery-empty h3{font:500 25px/1.4 var(--font-serif);margin:0 0 14px;color:var(--navy)}
.gallery-empty p{font-size:15px;line-height:1.9;color:#536778;margin:0 0 22px;max-width:65ch}
.gallery-bridge{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:54px;padding:28px 0;border-top:1px solid var(--line)}
.gallery-bridge h2{font:500 23px/1.4 var(--font-serif);margin:0 0 8px}
.gallery-bridge p{margin:0;color:#536778;font-size:14px;line-height:1.8}
.gallery-back{display:inline-flex;align-items:center;min-height:44px;font-size:13px;margin-bottom:26px;color:var(--navy);text-decoration:underline;text-underline-offset:4px}
.gallery-album-hero{padding-block:35px 44px;border-bottom:1px solid var(--line);background:#f4f6f8}
.gallery-album-hero h1{font:500 clamp(32px,4.2vw,52px)/1.2 var(--font-serif);max-width:24ch;margin:0 0 20px;color:var(--navy)}
.gallery-album-hero .gallery-intro{max-width:72ch;font-size:16px}
.gallery-album-summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;margin-top:24px}
.gallery-album-summary .gallery-count{margin:0;border-left:2px solid #a47b31;padding-left:12px}
.gallery-view-hint{margin:0 0 26px;color:#586b7c;font-size:13px;line-height:1.8}
#albums,#photographs{scroll-margin-top:110px}
.gallery-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.gallery-photo-section{grid-column:1/-1;font:500 26px/1.4 var(--font-serif);color:var(--navy);border-bottom:1px solid var(--line);padding-bottom:15px;margin:22px 0 0}
.gallery-photo-section:first-child{margin-top:0}
.gallery-photo{margin:0;min-width:0}
.gallery-photo>a{display:block;position:relative;aspect-ratio:4/3;background:#edf1f4;overflow:hidden;border:1px solid #e0e6eb}
.gallery-photo>a::after{content:"View photo ↗";position:absolute;left:10px;top:10px;background:#12263de8;color:#fff;font-size:11px;padding:7px 10px;border-radius:2px;opacity:0;transition:opacity .2s}
.gallery-photo>a:hover::after,.gallery-photo>a:focus-visible::after{opacity:1}
.gallery-photo img{width:100%;height:100%;display:block;object-fit:contain}
.gallery-photo figcaption{display:flex;gap:12px;font-size:13px;line-height:1.75;color:#40566a;padding-top:14px}
.gallery-photo-number{flex:none;color:#846329;font:500 11px/2.1 var(--font-sans);letter-spacing:.07em}
.gallery-photo-credit{display:block;font:400 11px/1.8 var(--font-sans);color:#627383;margin-top:4px}
.gallery-photo-grid+.gallery-back{margin-top:44px;margin-bottom:0}
.gallery-page a:focus-visible,.gallery-page button:focus-visible,.gallery-page input:focus-visible,.gallery-page select:focus-visible{outline:3px solid #986e28;outline-offset:4px}
.gallery-dialog{padding:0;border:1px solid #65758a;border-radius:3px;width:min(1160px,calc(100% - 32px));max-height:calc(100dvh - 32px);background:#0e2033;color:#fff;overflow:auto}
.gallery-dialog::backdrop{background:#07111bea}
.gallery-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border-bottom:1px solid #ffffff24}
.gallery-dialog-head h2{font:500 16px var(--font-sans);margin:0}
.gallery-dialog button{background:transparent;color:#fff;border:1px solid #7e91a5;border-radius:2px;min-height:44px;min-width:44px;padding:8px 14px;font:500 13px var(--font-sans);cursor:pointer}
.gallery-dialog button:hover{background:#29465f}
.gallery-dialog button:disabled{opacity:.4;cursor:default}
.gallery-dialog :is(a,button):focus-visible{outline:3px solid #e3be78;outline-offset:3px}
.gallery-view-frame{display:grid;place-items:center;min-height:180px;padding:16px;margin:0}
.gallery-view-image{display:block;max-height:calc(100dvh - 270px);width:100%;min-height:100px;object-fit:contain}
.gallery-view-error{padding:20px;text-align:center;color:#e0e5eb;line-height:1.8}
.gallery-view-caption{font-size:14px;line-height:1.8;color:#e0e5eb;padding:2px 24px 18px;margin:0}
.gallery-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px;border-top:1px solid #ffffff24}
.gallery-view-nav{display:flex;gap:10px;align-items:center}
.gallery-position{font-size:12px;min-width:65px;text-align:center;color:#d2dce6}
.gallery-view-download{color:#fff;font-size:12px;text-underline-offset:4px;padding:12px 0;min-height:44px}
.gallery-open{overflow:hidden}
@media(max-width:960px){.gallery-hero-grid{gap:25px}.gallery-albums,.gallery-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-art-frame strong{font-size:22px}}
@media(max-width:760px){.gallery-album:only-child{gap:24px}.gallery-album:only-child h3{font-size:25px}.gallery-hero-photo figcaption{padding:15px}.gallery-hero-photo figcaption a{font-size:21px}}
@media(max-width:600px){.gallery-hero{padding-block:40px}.gallery-hero-grid{grid-template-columns:1fr}.gallery-art{display:none}.gallery-hero h1{font-size:40px;max-width:18ch}.gallery-intro{font-size:16px}.gallery-section{padding-block:38px 48px}.gallery-heading{align-items:start;gap:14px}.gallery-heading h2{font-size:28px}.gallery-count{margin-top:8px}.gallery-tools{grid-template-columns:1fr}.gallery-albums,.gallery-photo-grid{grid-template-columns:1fr;gap:30px}.gallery-empty{padding:28px 22px}.gallery-bridge{align-items:start;flex-direction:column}.gallery-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.gallery-dialog-head,.gallery-dialog-foot{padding:10px 12px}.gallery-dialog-head h2{font-size:14px}.gallery-view-frame{padding:10px}.gallery-view-caption{padding-inline:14px;font-size:13px}.gallery-dialog-foot{align-items:start;flex-direction:column;gap:3px}.gallery-view-nav{width:100%;justify-content:space-between}.gallery-view-download{align-self:center}.gallery-view-image{max-height:calc(100dvh - 290px)}}
@media(max-width:600px){.gallery-album:only-child{grid-template-columns:1fr;gap:22px}.gallery-photo-section{font-size:24px;margin-top:10px}.gallery-hero-photo{margin-top:7px}.gallery-album-summary{gap:16px 24px}}
@media(prefers-reduced-motion:reduce){.gallery-page *,.gallery-page *::after{transition:none!important;animation:none!important}.gallery-album:hover .gallery-cover img{transform:none}}
