/* Only gallery-preview content; shared header/footer typography remains inherited. */
[data-gallery-preview]{--gallery-gap:16px;--gallery-radius:18px;--gallery-columns:4;min-width:0;max-width:100%;background:#fbfaf6;color:#173e34;padding-block:clamp(28px,4vw,60px) clamp(48px,6vw,88px)}
[data-gallery-preview] *,[data-gallery-preview] *::before,[data-gallery-preview] *::after{box-sizing:border-box}
[data-gallery-preview] [hidden]{display:none!important}
[data-gallery-preview] .gallery-shell{width:min(1280px,calc(100% - 64px));max-width:100%;margin-inline:auto;min-width:0}
[data-gallery-preview] .gallery-intro{min-width:0;max-width:min(900px,100%);margin-bottom:28px;overflow-wrap:anywhere}
[data-gallery-preview] .gallery-intro>*{max-width:100%}
[data-gallery-preview] .gallery-intro>a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;margin-bottom:12px;color:inherit}
[data-gallery-preview] .gallery-intro .eyebrow{color:#8b6a2c;margin:0 0 9px;font-size:12px;letter-spacing:.14em}
[data-gallery-preview] .gallery-intro h1{font-family:var(--font-heading,Georgia,serif);font-size:clamp(30px,3.5vw,52px);line-height:1.13;letter-spacing:-.025em;margin:0 0 14px;color:#173e34;overflow-wrap:anywhere}
[data-gallery-preview] .gallery-intro p{font-size:17px;line-height:1.65;margin:0 0 8px}
[data-gallery-preview] .gallery-intro .fine{font-size:14px;color:#5c6c62}
[data-gallery-preview] figure{margin:0;min-width:0}
[data-gallery-preview] .hwt-photo-link{display:block;position:relative;width:100%;max-width:100%;overflow:hidden;border-radius:var(--gallery-radius);background:#eeeae1;isolation:isolate}
[data-gallery-preview] .hwt-photo-link:focus-visible,[data-gallery-preview] button:focus-visible{outline:3px solid #b58a35;outline-offset:5px}
[data-gallery-preview] .gallery-hero{display:block;width:100%;max-width:100%;margin-bottom:var(--gallery-gap)}
[data-gallery-preview] .gallery-hero .hwt-photo-link{aspect-ratio:16/9}
[data-gallery-preview] .hwt-photo-link>img{display:block;width:100%;height:100%;max-width:100%;margin:0;object-fit:cover;object-position:center;border-radius:inherit;transition:transform .28s ease}
[data-gallery-preview] .gallery-grid-container{container-type:inline-size}
[data-gallery-preview] .hwt-photo-grid{display:grid;grid-template-columns:repeat(var(--gallery-columns),minmax(0,1fr));gap:var(--gallery-gap);margin:0;grid-auto-flow:row;grid-auto-rows:calc((min(1280px,100vw - 64px) - (var(--gallery-columns) - 1)*var(--gallery-gap))/var(--gallery-columns)*.75)}
@supports(width:1cqw){[data-gallery-preview] .hwt-photo-grid{grid-auto-rows:calc((100cqw - (var(--gallery-columns) - 1)*var(--gallery-gap))/var(--gallery-columns)*.75)}}
[data-gallery-preview] .hwt-photo-grid>figure{height:100%;min-height:0}
[data-gallery-preview] .hwt-photo-grid>figure.is-portrait{grid-row:span 2}
[data-gallery-preview] .hwt-photo-grid .hwt-photo-link{width:100%;height:100%}
[data-gallery-preview] .gallery-photo-count{margin:18px 0 0;color:#5c6c62;font-size:14px}
[data-gallery-preview] .gallery-watermark-overlay{display:none}
@media(hover:hover){[data-gallery-preview] .hwt-photo-link:hover>img{transform:scale(1.025)}}
@media(prefers-reduced-motion:reduce){[data-gallery-preview] .hwt-photo-link>img{transition:none}}
@media(max-width:1000px){[data-gallery-preview]{--gallery-columns:3}}
@media(max-width:700px){
 [data-gallery-preview]{--gallery-columns:2;--gallery-gap:10px;--gallery-radius:12px;padding-block:26px 44px}
 [data-gallery-preview] .gallery-shell{width:calc(100% - 32px)}
 [data-gallery-preview] .gallery-intro{margin-bottom:22px}
 [data-gallery-preview] .gallery-intro h1{font-size:32px;line-height:1.18}
 [data-gallery-preview] .gallery-intro p{font-size:17px}
 [data-gallery-preview] .gallery-intro .fine{font-size:14px}
 [data-gallery-preview] .hwt-photo-grid{grid-auto-rows:calc((100vw - 32px - var(--gallery-gap))/2*.75)}
 @supports(width:1cqw){[data-gallery-preview] .hwt-photo-grid{grid-auto-rows:calc((100cqw - var(--gallery-gap))/2*.75)}}
 [data-gallery-preview] .gallery-hero .hwt-photo-link{aspect-ratio:4/3}
}

[data-gallery-preview] [data-gallery-viewer]{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;border-radius:0;background:#07120f;color:#fff;overflow:hidden;box-shadow:none}
[data-gallery-preview] [data-gallery-viewer]::backdrop{background:#07120ff5}
[data-gallery-preview] [data-gallery-viewer][open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:calc(12px + env(safe-area-inset-top,0px)) calc(20px + env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) calc(20px + env(safe-area-inset-left,0px))}
[data-gallery-preview] .gallery-viewer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}
[data-gallery-preview] [data-gallery-viewer] button{border:1px solid #ffffff4a;border-radius:999px;min-height:48px;min-width:48px;padding:9px 18px;font:600 15px/1.3 system-ui,sans-serif;background:#ffffff12;color:#fff;cursor:pointer;white-space:nowrap}
[data-gallery-preview] [data-gallery-viewer] button:disabled{opacity:.4;cursor:default}
[data-gallery-preview] [data-gallery-position]{font:500 14px/1.4 system-ui,sans-serif;color:#f6f0e1}
[data-gallery-preview] [data-gallery-stage]{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;touch-action:pan-y pinch-zoom}
[data-gallery-preview] [data-gallery-image]{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:transparent;border-radius:0;margin:0}
[data-gallery-preview] [data-gallery-error]{position:absolute;inset:auto 15px 20px;text-align:center;padding:14px;background:#07120fe6;color:#fff}
[data-gallery-preview] .gallery-viewer-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;min-height:48px}
[data-gallery-preview] [data-gallery-next]{justify-self:end}
[data-gallery-preview] [data-gallery-prev]{justify-self:start}
[data-gallery-preview] [data-gallery-viewer] [data-gallery-caption]{margin:0;text-align:center;font:400 14px/1.5 system-ui,sans-serif;max-width:700px;color:#f6f0e1}
@media(max-width:700px){
 [data-gallery-preview] [data-gallery-viewer][open]{padding-inline:12px;gap:8px}
 [data-gallery-preview] .gallery-viewer-bottom{grid-template-columns:1fr 1fr}
 [data-gallery-preview] [data-gallery-viewer] [data-gallery-caption]{grid-column:1/-1;grid-row:1;font-size:13px}
 [data-gallery-preview] [data-gallery-viewer] button{padding:9px 16px;font-size:14px}
}

/* Local review archive; not part of the album deployment. */
[data-gallery-preview] .preview-album-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px}[data-gallery-preview] .preview-album-card{display:block;color:inherit;text-decoration:none;border:1px solid #dce4da;border-radius:18px;background:#fff;overflow:hidden}[data-gallery-preview] .preview-album-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}[data-gallery-preview] .preview-album-card h2{font:600 25px/1.2 Georgia,serif;margin:20px 20px 8px}[data-gallery-preview] .preview-album-card p{margin:0 20px 20px}

