/* Limited to the Chairbert picture gallery; existing site styles stay in control. */
[data-hw-legacy-gallery]{display:none!important}
.hw-gallery{max-width:1240px;margin:0 auto;padding:80px 30px 70px;color:hsl(var(--foreground));scroll-margin-top:85px}
.hw-gallery-heading{display:flex;justify-content:space-between;gap:36px;align-items:end;margin-bottom:35px}
.hw-gallery-kicker{display:block;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:hsl(var(--primary));margin-bottom:15px}
.hw-gallery h2{font-family:var(--font-serif,Georgia,serif);font-size:clamp(32px,4.1vw,54px);font-weight:500;line-height:1.12;margin:0}
.hw-gallery-heading>p{max-width:280px;font-size:15px;line-height:1.7;color:hsl(var(--muted-foreground));margin:0 0 3px}
.hw-gallery-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px}
.hw-gallery-card{margin:0;min-width:0;display:flex;flex-direction:column}
.hw-gallery-card--hero{grid-column:span 8}.hw-gallery-card--feature{grid-column:span 4}.hw-gallery-card--third{grid-column:span 4}.hw-gallery-card--half{grid-column:span 6}
.hw-gallery-card--people{grid-column:span 6}
.hw-gallery-card--square{grid-column:span 4}
.hw-gallery-picture{position:relative;display:block;padding:0;border:0;border-radius:3px;overflow:hidden;width:100%;aspect-ratio:3/2;background:hsl(var(--muted));cursor:zoom-in;text-align:left;color:inherit}
.hw-gallery-card--hero .hw-gallery-picture{aspect-ratio:4/3}
.hw-gallery-card--feature .hw-gallery-picture{aspect-ratio:auto;flex:1;min-height:180px}
.hw-gallery-card--half .hw-gallery-picture{aspect-ratio:16/10}
.hw-gallery-card--people .hw-gallery-picture{aspect-ratio:16/9}
.hw-gallery-card--square .hw-gallery-picture{aspect-ratio:1}
.hw-gallery-picture img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.hw-gallery-picture:hover img{transform:scale(1.025)}
.hw-gallery-picture:focus-visible{outline:3px solid hsl(var(--primary));outline-offset:4px}
.hw-gallery-zoom{position:absolute;right:12px;bottom:12px;width:30px;height:30px;display:grid;place-items:center;background:#faf6efdf;color:#292119;border:1px solid #ffffff60;border-radius:50%;font:24px/1 Arial,sans-serif;opacity:0;transition:opacity .2s}
.hw-gallery-picture:hover .hw-gallery-zoom,.hw-gallery-picture:focus-visible .hw-gallery-zoom{opacity:1}
.hw-gallery-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:28px}
.hw-gallery-bottom>p{font-size:12px;color:hsl(var(--muted-foreground));margin:0}
.hw-gallery-bottom>a{font-size:14px;white-space:nowrap;color:inherit;text-underline-offset:5px;text-decoration:underline}
.hw-gallery-view{width:min(1180px,94vw);max-width:none;max-height:94dvh;margin:auto;padding:20px 24px;border:1px solid #c4ac7b55;border-radius:6px;background:#16130f;color:#f4eee4;box-shadow:0 20px 100px #0007}
.hw-gallery-view::backdrop{background:#000d}
.hw-gallery-view[open]{display:flex;flex-direction:column;gap:14px}
.hw-gallery-view header{position:static;display:flex;justify-content:space-between;align-items:center;gap:18px;background:none;border:0;padding:0}
.hw-gallery-view h3{font:20px/1.3 Georgia,serif;margin:0}
.hw-gallery-view button{cursor:pointer;background:#ffffff0d;border:1px solid #ffffff35;color:inherit;border-radius:3px;font:inherit;font-size:14px;line-height:1.3;padding:10px 14px;min-height:44px}
.hw-gallery-view button:focus-visible{outline:2px solid #d2aa52;outline-offset:3px}
.hw-gallery-view header button{font-size:24px;min-width:44px;padding:4px 10px}
.hw-gallery-view>img{display:block;width:100%;min-height:0;max-height:calc(94dvh - 180px);object-fit:contain;flex:1}
.hw-gallery-view footer{display:flex;justify-content:space-between;align-items:center;gap:16px}
.hw-gallery-view footer p{font-size:12px;line-height:1.5;opacity:.75;flex:1;text-align:center;margin:0}
.hw-gallery-modal-open{overflow:hidden!important}
@media(hover:none){.hw-gallery-zoom{opacity:1}}
@media(max-width:850px){.hw-gallery{padding:60px 22px 55px}.hw-gallery-heading{display:block;margin-bottom:27px}.hw-gallery-heading>p{max-width:550px;margin-top:18px}.hw-gallery-grid{gap:22px 18px}.hw-gallery-card--hero{grid-column:span 12}.hw-gallery-card--feature,.hw-gallery-card--third,.hw-gallery-card--half{grid-column:span 6}.hw-gallery-card--feature .hw-gallery-picture{aspect-ratio:3/2;flex:initial}.hw-gallery-card--hero .hw-gallery-picture{aspect-ratio:4/3}}
@media(max-width:520px){.hw-gallery{padding:48px 18px 45px}.hw-gallery-grid{grid-template-columns:1fr;gap:23px}.hw-gallery-card--hero,.hw-gallery-card--feature,.hw-gallery-card--third,.hw-gallery-card--half,.hw-gallery-card--people,.hw-gallery-card--square{grid-column:1}.hw-gallery-card--feature .hw-gallery-picture,.hw-gallery-card--third .hw-gallery-picture,.hw-gallery-card--half .hw-gallery-picture{aspect-ratio:3/2}.hw-gallery-zoom{opacity:1}.hw-gallery-bottom{align-items:start;flex-direction:column;gap:13px}.hw-gallery-view{width:calc(100vw - 16px);max-height:96dvh;padding:14px 12px}.hw-gallery-view>img{max-height:calc(96dvh - 200px)}.hw-gallery-view h3{font-size:18px}.hw-gallery-view footer{gap:9px}.hw-gallery-view footer button{font-size:12px;padding:10px}.hw-gallery-view footer p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hw-gallery-picture img{transition:none}.hw-gallery-picture:hover img{transform:none}}


