.gallery-page{background:#fff;color:#171917}.gallery-header{position:static;display:flex;justify-content:space-between;gap:20px;padding:28px 4vw;border-bottom:1px solid #ddd}.gallery-page main{max-width:1400px;margin:auto;padding:55px 4vw}.gallery-page h1{font-size:clamp(36px,6vw,76px);line-height:1.1;margin:0 0 20px}.gallery-intro{max-width:650px;line-height:1.6;margin-bottom:40px}.gallery-page .photo-gallery{grid-auto-rows:auto;row-gap:10px}.gallery-page .photo-gallery.gallery-enhanced{grid-auto-rows:1px;row-gap:0}.gallery-links{display:flex;flex-wrap:wrap;gap:25px;margin-top:50px}.gallery-page footer{color:#171917}html:not(:has(.photo-viewer[open])) .gallery-page{overflow:auto}@media(max-width:760px){.gallery-header{padding:22px 4vw;font-size:13px}.gallery-page main{padding-top:35px}}

/* Gallery navigation shares the restrained typography of the portfolio. */
.gallery-header{position:sticky;top:0;z-index:30;display:block;padding:0;background:rgba(255,255,255,.97);border-bottom:1px solid #e4e4e0}
.gallery-header__inner{max-width:1400px;margin:auto;padding:18px 4vw;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:32px}
.gallery-brand{font-size:14px;font-weight:700;letter-spacing:.055em;text-transform:uppercase;line-height:1.3;justify-self:start}
.gallery-brand span{display:block;margin-top:5px;font-size:10px;font-weight:400;letter-spacing:.08em;color:#65655f}
.gallery-header__nav{display:flex;align-items:center;gap:28px;font-size:12px}
.gallery-header__nav a{min-height:44px;display:inline-flex;align-items:center;gap:10px}
.gallery-back{color:#55554f}.gallery-back span{font-size:18px}
.gallery-contact{padding:0 16px;border:1px solid #d9d9d3;border-radius:4px;color:#171917}
.gallery-contact span{font-size:16px}
.gallery-header .language-switch{margin:0;padding:3px;gap:2px;border:1px solid #e4e4de;border-radius:5px;background:#f5f5f1;font-size:11px}
.gallery-header .language-switch>span{display:none}
.gallery-header .language-switch a{min-height:34px;min-width:35px;border-radius:3px;opacity:1;color:#686861;text-decoration:none}
.gallery-header .language-switch a[aria-current="page"]{background:#fff;color:#171917;box-shadow:0 1px 3px #00000012}
.gallery-header a:focus-visible{outline:2px solid #171917;outline-offset:4px}
@media(hover:hover) and (pointer:fine){.gallery-back:hover{color:#171917}.gallery-contact:hover{background:#f5f5f1;border-color:#a5a59d}.gallery-brand:hover{opacity:.75}}
@media(max-width:760px){
 .gallery-header__inner{padding:12px 4vw 10px;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px}
 .gallery-brand{font-size:12px}.gallery-brand span{font-size:9px;margin-top:3px}
 .gallery-header .language-switch{grid-column:2;grid-row:1;justify-self:end;margin:0}
 .gallery-header .language-switch a{min-width:38px;min-height:38px}
 .gallery-header__nav{grid-row:2;grid-column:1/-1;justify-content:space-between;gap:16px;font-size:12px}
 .gallery-contact{padding:0 12px;min-height:40px}
 .gallery-page main{padding-top:30px}
}

/* Gallery titles stay quiet so the photographs lead. */
.gallery-page:not(.services-page) main>h1{max-width:100%;margin:0 auto 36px;text-align:center;font-size:clamp(28px,2.7vw,40px);font-weight:500;line-height:1.2;letter-spacing:-.025em;text-wrap:balance}
@media(max-width:760px){.gallery-page:not(.services-page) main>h1{font-size:28px;line-height:1.25;margin-bottom:28px}}

/* A clear next step after the photographs, with comfortable hit areas. */
.gallery-links{display:block;margin:clamp(48px,6vw,80px) auto 8px;max-width:880px}
.gallery-links h2{margin:0 0 24px;text-align:center;font-size:22px;line-height:1.3;font-weight:500;letter-spacing:-.02em}
.gallery-links__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
.gallery-links__grid>a{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:68px;padding:18px 4px;border-top:1px solid #e4e4e0;font-size:15px;line-height:1.4;color:#343630;text-decoration:none;transition:color 160ms ease,background-color 160ms ease}
.gallery-links__arrow{flex:none;color:#767970;font-size:19px;transition:transform 180ms ease,color 180ms ease}
.gallery-links__grid>a:focus-visible{outline:2px solid #171917;outline-offset:4px;border-radius:2px}
.gallery-links__grid>a:active{background:#f4f4f0}
@media(hover:hover) and (pointer:fine){.gallery-links__grid>a:hover{color:#171917;background:#f8f8f5}.gallery-links__grid>a:hover .gallery-links__arrow{transform:translate(2px,-2px);color:#171917}}
@media(max-width:760px){.gallery-links{margin-top:40px}.gallery-links h2{font-size:20px;margin-bottom:20px}.gallery-links__grid{grid-template-columns:1fr}.gallery-links__grid>a{min-height:60px;padding:16px 4px}}
@media(prefers-reduced-motion:reduce){.gallery-links__grid>a,.gallery-links__arrow{transition:none}.gallery-links__grid>a:hover .gallery-links__arrow{transform:none}}

.gallery-links__grid>a{justify-content:center;text-align:center}
