/* Authentic property photos, preserving the approved paper/clay brand. */
.photo-gallery-head{padding-bottom:clamp(40px,5vw,70px)}
.photo-gallery-jump{display:flex;flex-wrap:wrap;gap:4px 28px;margin-top:30px}
.photo-gallery-jump a{display:inline-flex;align-items:center;min-height:48px;font-size:14px;font-weight:600;text-decoration-thickness:1px}
.photo-gallery-jump a:hover{color:var(--clay)}
.photo-gallery-hint{font-size:13px;color:var(--muted);margin-top:14px}
.photo-gallery-section{padding-bottom:clamp(70px,8vw,120px);scroll-margin-top:30px}
.photo-gallery-heading{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:end;border-top:1px solid var(--line);padding-top:26px;margin-bottom:34px}
.photo-gallery-heading h2{font-size:clamp(32px,4vw,58px)}
.photo-gallery-heading p{color:var(--muted);font-size:16px;max-width:52ch}
.photo-gallery-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:34px 24px;align-items:start}
.photo-gallery-item{min-width:0}
.photo-gallery-item--wide{grid-column:span 7}.photo-gallery-item--companion{grid-column:span 5}.photo-gallery-item--third{grid-column:span 4}.photo-gallery-item--half{grid-column:span 6}
.photo-gallery-open{display:block;position:relative;text-decoration:none;overflow:hidden;background:var(--sand)}
.photo-gallery-open img{width:100%;height:auto;transition:transform .5s var(--ease)}
.photo-gallery-expand{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:18px;background:var(--paper);color:var(--ink);padding:10px 14px;min-height:44px;font-size:12px;font-weight:600;pointer-events:none}
.photo-gallery-expand span{font-size:20px;line-height:1}
.photo-gallery-open:hover img{transform:scale(1.018)}
.photo-gallery-open:focus-visible{outline-offset:5px;outline:3px solid var(--clay)}
.photo-gallery-item figcaption{padding-top:13px;color:var(--muted);font-size:13px;line-height:1.5;max-width:65ch}
.photo-gallery-item figcaption>span{display:block}
.photo-gallery-title{font-size:17px;font-weight:600;color:var(--ink);margin-bottom:4px}
.photo-gallery-next{display:grid;grid-template-columns:1.2fr .8fr;gap:8%;padding-bottom:clamp(70px,8vw,120px)}
.photo-gallery-next .eyebrow{color:var(--clay);margin-bottom:17px}.photo-gallery-next h2{margin-bottom:22px}.photo-gallery-next p:not(.eyebrow){color:var(--muted)}
.photo-gallery-actions{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:16px}
/* Native dialog supplies the focus boundary, Escape dismissal and inert background. */
.photo-gallery-dialog{padding:0;border:0;background:var(--paper);color:var(--ink);width:min(1240px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);overflow:auto;margin:auto;overscroll-behavior:contain}
.photo-gallery-dialog::backdrop{background:oklch(16% .015 44 / .91)}
.photo-gallery-dialog-shell{padding:16px 24px 20px}
.photo-gallery-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}
.photo-gallery-dialog-top h2{font-family:var(--body);font-size:15px;line-height:1.5;font-weight:600;letter-spacing:0}
.photo-gallery-control{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:48px;min-height:48px;background:transparent;border:1px solid var(--line);color:var(--ink);padding:10px 16px;border-radius:3px;font-size:14px;font-weight:600}
.photo-gallery-control:hover{background:var(--sand)}.photo-gallery-control:focus-visible{outline:3px solid var(--clay);outline-offset:3px}.photo-gallery-close span{font-size:24px;line-height:1}
.photo-gallery-stage{position:relative;height:min(65dvh,720px);display:grid;place-items:center;background:var(--sand)}
.photo-gallery-stage img{width:100%;height:100%;object-fit:contain;min-height:0;min-width:0}
.photo-gallery-stage img[hidden],.photo-gallery-load[hidden]{display:none}
.photo-gallery-load{padding:24px;color:var(--muted);font-size:15px;text-align:center}
.photo-gallery-viewer figcaption{padding-top:14px;font-size:15px;line-height:1.5;max-width:80ch}
.photo-gallery-dialog-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
.photo-gallery-pagination{display:flex;align-items:center;gap:20px}.photo-gallery-pagination p{min-width:64px;text-align:center;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.photo-gallery-original{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:13px;white-space:nowrap}
@media(max-width:900px){.photo-gallery-heading{grid-template-columns:1fr;gap:18px}.photo-gallery-grid{gap:30px 18px}.photo-gallery-item--third{grid-column:span 6}.photo-gallery-next{grid-template-columns:1fr;gap:30px}.photo-gallery-dialog-bottom{align-items:flex-start;flex-direction:column}.photo-gallery-pagination{width:100%;justify-content:space-between}}
@media(max-width:700px){.photo-gallery-grid{grid-template-columns:minmax(0,1fr);gap:30px}.photo-gallery-item--wide,.photo-gallery-item--companion,.photo-gallery-item--third,.photo-gallery-item--half{grid-column:1}.photo-gallery-jump{gap:2px 20px}.photo-gallery-heading{margin-bottom:24px}.photo-gallery-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.photo-gallery-dialog-shell{padding:12px 14px 16px}.photo-gallery-stage{height:min(52dvh,520px)}.photo-gallery-control{padding:10px 12px}.photo-gallery-pagination{gap:8px}.photo-gallery-viewer figcaption{font-size:14px}.photo-gallery-expand{bottom:10px;right:10px}.photo-gallery-title{font-size:16px}}
@media(prefers-reduced-motion:reduce){.photo-gallery-open img{transition:none}.photo-gallery-open:hover img{transform:none}}
