.property-gallery{margin-top:52px;min-width:0}.pg-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.pg-open,.pg-all{font:500 11px "DM Sans",Arial,sans-serif;letter-spacing:.06em;border:1px solid #cbb68f;background:transparent;color:#29241c;cursor:pointer;padding:12px 16px;min-height:44px}.pg-open:hover,.pg-all:hover{background:#e7ddcb}.pg-collage{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;height:clamp(360px,43vw,640px)}.pg-tile{display:block;position:relative;border:0;padding:0;background:#e7ddcb;cursor:zoom-in;overflow:hidden;min-height:0;min-width:0;width:100%;border-radius:2px}.pg-tile img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.pg-tile:hover img{transform:scale(1.025)}.pg-main{grid-row:1/3}.pg-thumbnails{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px;margin-top:10px}.pg-thumbnails .pg-tile{height:130px}.pg-all{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:#211e17;color:#eee6d8}.pg-all:hover{background:#383126}.pg-all strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:32px;font-weight:400}.pg-story{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:7vw;margin-top:30px;align-items:start}.pg-story blockquote{font:400 30px/1.25 "Cormorant Garamond",Georgia,serif;margin:0 0 18px}.pg-story p{font-size:13px;line-height:1.8;color:#71695f;margin:0}.pg-story .microfacts{margin-top:0}.pg-dialog{padding:0;border:1px solid #514a3e;border-radius:4px;background:#17150f;color:#eee6d8;width:min(1200px,95vw);max-width:95vw;height:min(850px,93dvh);max-height:93dvh;overflow:hidden}.pg-dialog::backdrop{background:rgba(0,0,0,.88)}.pg-dialog[open]{display:flex;flex-direction:column}.pg-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:12px 20px;font-size:13px;flex:none}.pg-dialog button{background:transparent;border:1px solid #eee6d844;color:#eee6d8;padding:10px 15px;min-width:44px;min-height:44px;cursor:pointer;font:inherit}.pg-view{display:grid;grid-template-columns:50px minmax(0,1fr) 50px;align-items:center;gap:10px;flex:1;min-height:0;padding:0 14px}.pg-view figure{display:flex;flex-direction:column;height:100%;min-height:0;margin:0}.pg-view figure img{width:100%;flex:1;min-height:0;object-fit:contain}.pg-view figcaption{padding:14px 5px;text-align:center;font-size:13px;line-height:1.5;flex:none}.pg-dots{display:flex;gap:8px;overflow:auto;flex:none;padding:10px 20px 16px}.pg-dots button{width:70px;height:52px;padding:2px;flex:none;opacity:.6}.pg-dots button[aria-current="true"]{border-color:#cbb68f;opacity:1}.pg-dots img{width:100%;height:100%;object-fit:cover}.property-gallery button:focus-visible{outline:3px solid #9d7838;outline-offset:3px}.pg-dialog button:focus-visible{outline-color:#e3bd70}
@media(max-width:760px){.property-gallery{margin-top:34px}.pg-heading{align-items:flex-start;flex-direction:column;gap:10px}.pg-collage{height:390px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:240px 140px}.pg-main{grid-column:1/-1;grid-row:1}.pg-thumbnails{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pg-thumbnails .pg-tile{height:92px}.pg-all{padding:8px;font-size:10px}.pg-all strong{font-size:24px}.pg-story{grid-template-columns:1fr;gap:26px}.pg-view{grid-template-columns:40px minmax(0,1fr) 40px;gap:4px;padding:0 4px}.pg-dialog button{padding:8px;min-width:40px}.pg-toolbar{padding:10px}.pg-dialog{height:90dvh}.pg-view figcaption{font-size:12px}}
@media(prefers-reduced-motion:reduce){.pg-tile img{transition:none}.pg-tile:hover img{transform:none}}

/* Give mobile photographs the full screen width; controls no longer consume image space. */
@media(max-width:760px){
 .pg-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}
 .pg-toolbar{padding:calc(10px + env(safe-area-inset-top)) 12px 10px;min-height:60px}
 .pg-view{position:relative;display:block;padding:0;width:100%;overflow:hidden}
 .pg-view figure{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
 .pg-view figure img{display:block;width:100%;height:0;flex:1 1 0;min-height:0;max-height:100%;object-fit:contain;touch-action:pan-y pinch-zoom}
 .pg-view figcaption{width:100%;padding:12px 52px;font-size:11px;line-height:1.4}
 .pg-view .pg-prev,.pg-view .pg-next{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#17150fb8;box-shadow:0 1px 8px #0003}
 .pg-view .pg-prev{left:8px}.pg-view .pg-next{right:8px}
 .pg-dots{padding:8px 12px calc(12px + env(safe-area-inset-bottom));gap:6px}
 .pg-dots button{width:58px;height:44px;min-width:58px;padding:2px}
}
@media(max-width:960px) and (orientation:landscape) and (max-height:540px){
 .pg-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}
 .pg-toolbar{padding:4px 12px;min-height:44px}
 .pg-dots{display:none}
 .pg-view figcaption{padding:4px 48px;font-size:10px}
}

/* Overlay desktop arrows so the enlarged photograph keeps the full viewer width. */
@media(min-width:761px){
 .pg-view{position:relative;display:block;padding:0;width:100%;overflow:hidden}
 .pg-view figure{width:100%;height:100%}
 .pg-view figure img{display:block;width:100%;height:0;flex:1 1 0;min-height:0;object-fit:contain}
 .pg-view figcaption{padding:14px 64px}
 .pg-view .pg-prev,.pg-view .pg-next{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:48px;height:48px;border:1px solid #eee6d844;border-radius:50%;background:#17150fb8;box-shadow:0 1px 8px #0003}
 .pg-view .pg-prev{left:16px}.pg-view .pg-next{right:16px}
}
