.gallery-page{--gallery-inset:max(24px,calc((100vw - 1440px)/2),4.5vw);background:var(--paper)}
.gallery-page main{padding-top:96px}.gallery-page [id]{scroll-margin-top:120px}
.gallery-page h1{font-size:clamp(48px,5.7vw,84px);line-height:.98;max-width:860px;font-weight:500}
.gallery-page h2{font-size:clamp(36px,3.6vw,56px);font-weight:500}
.gallery-page main p{line-height:1.65}.gallery-page .breadcrumbs{font-size:13px;color:var(--plum);display:flex;gap:12px;flex-wrap:wrap}
.gallery-page .breadcrumbs a{text-decoration:none}.gallery-intro{padding:30px var(--gallery-inset) 46px}
.gallery-intro-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:8%;align-items:end;margin-top:42px}
.gallery-intro-grid p{max-width:40ch}.gallery-intro-grid .pill-link{margin-top:22px}
.gallery-opening{margin:0}.gallery-opening-media>img{width:100%;height:clamp(360px,44vw,660px);object-fit:cover;object-position:center 55%}
.gallery-film-band{padding:20px var(--gallery-inset);display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f7f2ea}
.gallery-film-band span{color:var(--muted);font-size:13px}.gallery-film-button{display:inline-flex;align-items:center;gap:13px;border:0;background:transparent;color:var(--plum);padding:4px 0;min-height:46px;font-weight:600;font-size:14px;text-decoration:none}
.gallery-film-button svg{width:38px;height:38px;border:1px solid var(--champagne-outline);border-radius:50%;padding:11px;fill:currentColor;transition:background 160ms,color 160ms}
.gallery-film-button:hover svg{background:var(--plum);color:white;border-color:var(--plum)}
.gallery-editorial{padding:68px var(--gallery-inset) 80px}
.gallery-context{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:start;margin-bottom:48px}
.gallery-context p:first-child{font-size:17px;color:var(--plum)}.gallery-context p:last-child{font-size:14px;color:var(--muted);margin:0}
.gallery-tools{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-bottom:30px;min-height:48px}
.gallery-filters{display:flex;gap:6px;flex-wrap:wrap}.gallery-filters button{border:0;background:transparent;color:var(--plum);padding:12px 18px;min-height:46px;font-size:14px;transition:background 160ms}
.gallery-filters button[aria-pressed=true]{background:var(--plum);color:white}.gallery-filters button:not([aria-pressed=true]):hover{background:#f7f2ea}
.gallery-tools>p{font-size:12px;color:var(--muted)}
.gallery-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(24px,4vw,64px);row-gap:64px;align-items:start}
.gallery-photo{margin:0;min-width:0}.gallery-photo:nth-child(4n+1){grid-column:1 / span 7}.gallery-photo:nth-child(4n+2){grid-column:9 / span 4;margin-top:90px}
.gallery-photo:nth-child(4n+3){grid-column:1 / span 4}.gallery-photo:nth-child(4n+4){grid-column:6 / span 7;margin-top:88px}
.gallery-photo>a{display:block;position:relative;overflow:hidden;background:#f2f2f1;cursor:zoom-in;aspect-ratio:4/3}
.gallery-photo:nth-child(4n+2)>a,.gallery-photo:nth-child(4n+3)>a{aspect-ratio:4/5}
.gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 650ms cubic-bezier(.2,.7,.2,1)}
.gallery-photo .enlarge-mark{position:absolute;right:14px;bottom:14px;background:var(--paper);color:var(--plum);width:38px;height:38px;display:grid;place-items:center;transition:background 160ms,color 160ms}
.gallery-photo .enlarge-mark svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.4;fill:none}
@media(hover:hover) and (pointer:fine){.gallery-photo>a:hover img{transform:scale(1.025)}.gallery-photo>a:hover .enlarge-mark{background:var(--plum);color:white}}
.gallery-photo>a:focus-visible{outline-offset:6px;outline-color:var(--plum)}
.gallery-photo figcaption{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-top:16px;color:var(--plum)}
.gallery-photo h3{font-family:Cormorant,Georgia,serif;font-weight:400;letter-spacing:-.015em;font-size:clamp(25px,2.4vw,34px);line-height:1.05}
.gallery-photo figcaption p{color:var(--muted);font-size:13px;margin-top:7px;max-width:48ch}.gallery-photo figcaption>span{font-size:12px;line-height:1.9;white-space:nowrap;color:var(--champagne-deep)}
.gallery-grid.is-filtered{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-grid.is-filtered .gallery-photo{grid-column:auto;margin-top:0}.gallery-grid.is-filtered .gallery-photo>a{aspect-ratio:4/3}
.gallery-guidance{padding:84px var(--gallery-inset);background:#f7f2ea;display:grid;grid-template-columns:1fr 1fr;gap:11%;align-items:start}
.gallery-guidance p{margin-bottom:18px}.gallery-next{padding:68px var(--gallery-inset);display:flex;align-items:start;justify-content:space-between;gap:7%}
.gallery-next h2{font-size:clamp(32px,3vw,44px);max-width:16ch}.gallery-next>div{max-width:590px}.gallery-next-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.gallery-invitation{background:var(--plum);color:white;padding:70px var(--gallery-inset);display:grid;grid-template-columns:1fr 1fr;gap:10%}
.gallery-invitation h2{max-width:18ch}.gallery-invitation .page-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.gallery-invitation .pill-link{color:white;border-color:var(--champagne)}.gallery-invitation .pill-link:is(:hover,:focus-visible){background:white;color:var(--plum);border-color:white;outline-color:white}
.gallery-page .page-footer{padding:0 var(--gallery-inset) 30px}.gallery-page .page-motion-toggle{color:white;background:transparent;border:0;border-bottom:1px solid currentColor;padding:8px 0;font-size:13px;margin-top:20px}
.gallery-viewer{border:0;padding:0;margin:auto;width:calc(100vw - 48px);max-width:1600px;max-height:calc(100dvh - 40px);color:white;background:#201820;overscroll-behavior:contain}
.gallery-viewer::backdrop{background:rgb(22 17 22 / .94);overflow:hidden;overscroll-behavior:contain}
.gallery-viewer[open]{display:flex;flex-direction:column;animation:gallery-arrive 200ms ease-out}
.viewer-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 20px;color:#ebe2e9;flex-shrink:0;font-size:13px}
.viewer-head form{margin:0}.viewer-head button,.viewer-nav button{min-height:44px;border:1px solid #b99674;color:white;background:transparent;padding:8px 14px;font:inherit}
.viewer-head button:hover,.viewer-nav button:hover{background:white;color:var(--plum)}.viewer-head-actions{display:flex;gap:12px;align-items:center}
.viewer-stage{position:relative;display:flex;justify-content:center;align-items:center;min-height:0;background:#171517;overflow:auto;height:calc(100dvh - 270px);touch-action:pan-y pinch-zoom;scrollbar-color:#b99674 #171517}
.viewer-stage>img{width:100%;height:100%;object-fit:contain;flex-shrink:0;max-width:none;display:block}
.viewer-stage.is-zoomed{display:block;touch-action:auto}.viewer-stage.is-zoomed>img{width:175%;height:auto;max-width:none;object-fit:initial}
.viewer-caption{padding:18px 22px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;flex-shrink:0}
.viewer-caption h2{font-family:Cormorant,serif;font-size:30px;font-weight:400;letter-spacing:-.01em;line-height:1.1}.viewer-caption p{font-size:13px;color:#ebe2e9;margin-top:6px;max-width:none}
.viewer-caption a{display:inline-block;color:#fff;font-size:13px;margin-top:8px}.viewer-nav{display:flex;gap:8px}.viewer-nav button{width:46px;display:grid;place-items:center}.viewer-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}
.viewer-strip{display:flex;gap:10px;padding:0 22px 16px;overflow-x:auto;flex-shrink:0;scrollbar-width:thin;scrollbar-color:var(--champagne) transparent}
.viewer-strip button{border:2px solid transparent;background:transparent;padding:3px;flex:0 0 76px;height:52px;opacity:.65}.viewer-strip button[aria-pressed=true]{border-color:var(--champagne);opacity:1}.viewer-strip button:hover{opacity:1}.viewer-strip img{width:100%;height:100%;object-fit:cover}
.viewer-loading{position:absolute;inset:auto auto 20px;padding:8px 16px;background:#201820;color:white;font-size:13px}

@keyframes gallery-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.gallery-page.motion-disabled .gallery-photo img,.gallery-page.motion-disabled .gallery-film-button svg{transition:none}.gallery-page.motion-disabled .gallery-viewer[open]{animation:none}
@media(min-width:1900px){.gallery-opening-media>img{height:680px;object-position:center 58%}}
@media(max-width:1180px){.gallery-page main{padding-top:80px}.gallery-intro-grid{gap:5%;grid-template-columns:1.4fr 1fr}.gallery-page h1{font-size:clamp(48px,6vw,76px)}}
@media(max-width:900px){.gallery-intro-grid{grid-template-columns:1fr;gap:26px;margin-top:30px}.gallery-intro-grid p{max-width:58ch}.gallery-intro{padding-bottom:32px}.gallery-page h1{max-width:720px}.gallery-opening-media>img{height:auto;aspect-ratio:16/9}.gallery-context{gap:5%}.gallery-editorial{padding-top:44px}.gallery-grid{grid-template-columns:1fr 1fr;gap:36px 24px}.gallery-photo:nth-child(n){grid-column:auto;margin-top:0}.gallery-photo:nth-child(n)>a{aspect-ratio:4/3}.gallery-guidance,.gallery-invitation{gap:5%}.gallery-next{display:block}.gallery-next h2{max-width:24ch;margin-bottom:20px}}
@media(max-width:600px){.gallery-page h1{font-size:48px;line-height:1.02}.gallery-intro{padding-top:20px}.gallery-intro-grid{margin-top:25px;gap:24px}.gallery-intro-grid p{font-size:15px}.gallery-opening-media>img{aspect-ratio:4/3;object-position:53% center}.gallery-film-band{padding-top:10px;padding-bottom:10px;gap:12px}.gallery-film-band>span{max-width:11ch;font-size:11px}.gallery-film-button{font-size:13px;gap:8px}.gallery-film-button svg{width:32px;height:32px;padding:9px}.gallery-editorial{padding:36px 0 46px}.gallery-context{display:block;padding:0 24px;margin-bottom:28px}.gallery-context p:first-child{font-size:16px}.gallery-context p:last-child{margin-top:18px;font-size:13px}.gallery-tools{padding:0 24px;margin-bottom:24px;display:block}.gallery-filters{gap:0;flex-wrap:nowrap}.gallery-filters button{font-size:12px;padding:10px 12px}.gallery-tools>p{margin-top:12px}.gallery-grid,.gallery-grid.is-filtered{display:grid;grid-template-columns:1fr;gap:32px}.gallery-photo:nth-child(n)>a{aspect-ratio:4/3}.gallery-photo:nth-child(4n+2)>a{aspect-ratio:5/4}.gallery-photo figcaption{padding:0 24px;margin-top:13px}.gallery-photo h3{font-size:29px}.gallery-photo figcaption p{font-size:13px}.gallery-photo figcaption>span{font-size:11px}.gallery-guidance,.gallery-invitation{display:block;padding:48px 24px}.gallery-guidance h2,.gallery-invitation h2{margin-bottom:26px}.gallery-next{padding:46px 24px}.gallery-next-links{gap:9px}.gallery-next-links .pill-link{font-size:13px;padding:11px 14px}.gallery-invitation .page-actions{gap:10px}.gallery-viewer{width:100vw;max-width:none;max-height:100dvh;height:100dvh;margin:0}.viewer-head{padding:10px 14px;gap:8px;font-size:12px}.viewer-head-actions{gap:8px}.viewer-head button{padding:8px 11px;font-size:12px}.viewer-stage{height:auto;flex:1;min-height:150px}.viewer-caption{padding:14px 16px;gap:12px}.viewer-caption h2{font-size:27px}.viewer-caption p{font-size:12px;line-height:1.45}.viewer-caption a{font-size:12px}.viewer-nav{gap:5px}.viewer-nav button{width:44px;padding:8px}.viewer-strip{padding:0 16px max(16px,env(safe-area-inset-bottom));gap:8px}.viewer-strip button{flex-basis:64px;height:48px}}
@media(prefers-reduced-motion:reduce){.gallery-photo img,.gallery-film-button svg,.gallery-filters button{transition:none!important}.gallery-viewer[open]{animation:none!important}}

/* Composition review: preserve the complete bath setting and keep the phone viewer inside the layout viewport. */
.gallery-photo:nth-child(4)>a{aspect-ratio:16/9}
.gallery-page .page-footer{background:var(--plum)}
@media(max-width:600px){.gallery-viewer{width:100%;max-width:100%}.gallery-filters button{flex:1;min-width:0;padding:10px 8px}.gallery-photo:nth-child(4)>a{aspect-ratio:4/3}}

.gallery-opening-media{position:relative;overflow:hidden}.gallery-opening-media>img{display:block}.gallery-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%;opacity:0;transition:opacity 350ms ease;pointer-events:none}.gallery-opening.has-played .gallery-hero-video{opacity:1}.gallery-film-button[hidden]{display:none}.gallery-film-button span{color:inherit;font-size:inherit}.gallery-film-button:focus-visible{outline:2px solid var(--plum);outline-offset:3px}.gallery-film-button:disabled{opacity:.65;cursor:default}@media(min-width:1900px){.gallery-hero-video{object-position:center 58%}}@media(max-width:600px){.gallery-hero-video{object-position:53% center}}@media(prefers-reduced-motion:reduce){.gallery-hero-video{transition:none}}
