.gallery-page{background:var(--fl-cream);color:var(--fl-plum)}
.gallery-hero{padding-block:4.5rem 3.5rem;background:var(--fl-plum);color:var(--fl-cream)}
.gallery-hero h1,.gallery-manager h1{font:400 clamp(3rem,7vw,6rem)/1.05 var(--fl-serif);letter-spacing:-.025em;max-width:16ch;margin:1.5rem 0 2rem;text-wrap:balance;color:inherit}
.gallery-hero p{max-width:43rem;font:400 1rem/1.8 var(--fl-sans)}
.gallery-hero .fl-link{color:var(--fl-cream)}
.gallery-privacy{max-width:43rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--fl-gold)}
.gallery-privacy h2{font:600 .9375rem/1.5 var(--fl-sans);margin:0 0 .5rem;color:inherit}
.gallery-privacy p,.gallery-credits p{font-size:.9375rem;margin-bottom:.5rem}
.gallery-archive{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5rem 4rem;padding-block:4.5rem 6rem;align-items:start}
.gallery-entry{min-width:0;max-width:100%}.gallery-entry a{color:inherit;text-decoration:none}.gallery-entry a:hover h2{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.gallery-entry img{display:block;width:100%;height:auto;max-height:78vh;object-fit:contain;object-position:left bottom}
.gallery-entry h2{font:400 clamp(2rem,4vw,3.5rem)/1.12 var(--fl-serif);margin:1.25rem 0 .5rem;text-wrap:balance}
.gallery-entry p{max-width:35rem;font:400 1rem/1.8 var(--fl-sans);margin:0 0 .5rem}.gallery-entry .gallery-credit{font-size:.875rem}
.gallery-featured{grid-column:1/-1;width:85%}.gallery-entry:nth-child(3n+2){padding-top:2rem}
.gallery-sequence{padding-block:4.5rem;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4rem;align-items:start}
.gallery-sequence figure{margin:0;min-width:0}.gallery-sequence figure:nth-child(3n+1){grid-column:1/-1;max-width:64rem;width:92%;justify-self:center}
.gallery-enlarge{border:0;padding:0;background:transparent;display:block;width:100%;cursor:zoom-in}
.gallery-enlarge img{display:block;width:100%;height:auto;max-height:90vh;object-fit:contain}
.gallery-enlarge:focus-visible{outline:2px solid var(--fl-gold);outline-offset:6px}
.gallery-back{padding-bottom:3rem}.gallery-draft-banner{padding:1rem 1.5rem;background:var(--fl-lavender);color:var(--fl-plum);font:600 .875rem/1.6 var(--fl-sans)}
.gallery-viewer{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:1rem 1.5rem;border:0;background:var(--fl-plum);color:var(--fl-cream)}
.gallery-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:1rem}.gallery-viewer::backdrop{background:var(--fl-plum)}
.gallery-viewer-top,.gallery-viewer-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.gallery-viewer img{display:block;width:100%;height:100%;object-fit:contain;min-height:0;touch-action:pan-y pinch-zoom}
.gallery-viewer button{background:transparent;color:inherit;border:1px solid var(--fl-gold);padding:.6rem 1rem;min-height:44px;cursor:pointer;font:400 .9375rem/1.4 var(--fl-sans)}
.gallery-viewer button:focus-visible{outline:2px solid var(--fl-cream);outline-offset:3px}.gallery-viewer p{margin:0;font:400 .875rem/1.5 var(--fl-sans)}
.gallery-viewer-bottom p{max-width:45rem}.gallery-viewer-bottom button{flex-shrink:0}
.gallery-manager{padding-block:3rem 5rem;max-width:65rem}.gallery-manager p{max-width:48rem}
.gallery-manager label{display:block;font:600 .9375rem/1.6 var(--fl-sans);margin:1rem 0}
.gallery-manager input:not([type=checkbox]):not([type=radio]),.gallery-manager textarea{display:block;width:100%;max-width:100%;background:var(--fl-cream);color:var(--fl-plum);border:1px solid var(--fl-plum);padding:.75rem;font:400 1rem/1.6 var(--fl-sans);box-sizing:border-box}
.gallery-manager textarea{min-height:6rem}.gallery-manager .gallery-check{display:flex;align-items:start;gap:.7rem;font-weight:400;min-height:44px}.gallery-check input{margin-top:.3rem;width:1.2rem;height:1.2rem;flex-shrink:0}
.gallery-manager-tools{border-block:1px solid var(--fl-gold);padding-block:1rem;margin-block:2rem}.gallery-manager-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-block:1rem}
.gallery-manager button{cursor:pointer}.gallery-manager #shoot-list{display:flex;flex-wrap:wrap;gap:1rem;margin-block:2rem}.gallery-manager fieldset{border:1px solid var(--fl-gold);padding:1.5rem;margin-block:2rem;min-width:0}.gallery-manager fieldset img{width:auto;max-width:100%;max-height:20rem;display:block}.gallery-manager legend{max-width:100%;overflow-wrap:anywhere;font-size:.875rem}
.gallery-manager [hidden]{display:none!important}.gallery-manager button:disabled{opacity:.6;cursor:wait}
@media(max-width:800px){
 .gallery-hero{padding-block:3rem 2.5rem}.gallery-hero h1{font-size:clamp(2.8rem,11vw,4.5rem)}
 .gallery-archive,.gallery-sequence{grid-template-columns:minmax(0,1fr);gap:3rem;padding-block:3rem}.gallery-featured{grid-column:auto;width:100%}.gallery-entry:nth-child(3n+2){padding-top:0}
 .gallery-sequence figure:nth-child(3n+1){grid-column:auto;width:100%}.gallery-entry img,.gallery-enlarge img{max-height:none}
 .gallery-viewer{padding:1rem}.gallery-viewer-bottom{flex-wrap:wrap}.gallery-viewer-bottom p{order:3;flex-basis:100%;font-size:.8125rem}.gallery-manager fieldset{padding:1rem}
}
