/* Property gallery addition. Existing property photographs keep their size and position. */
:root{--gallery-cherry:#3e0202;--gallery-lilac:#beaddb;--gallery-ink:#342323;--gallery-paper:#fdf8f4;--gallery-hairline:rgba(62,2,2,.18)}
.property-photo{display:block;position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;padding:0;margin:0;background:transparent;color:inherit;appearance:none;cursor:zoom-in;line-height:0;overflow:hidden}
.property-photo img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.property-photo:focus-visible{outline:3px solid var(--gallery-lilac);outline-offset:-5px;z-index:3}
.proof-card:after,.proof-card figcaption{pointer-events:none}
.home-hero>.property-photo{z-index:0}
.home-hero>.hero-scrim{pointer-events:none}
.gallery-hero{padding:94px 0 52px;color:var(--gallery-cherry);border-bottom:1px solid var(--gallery-hairline)}
.gallery-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(30px,8vw,130px);align-items:end}
.gallery-hero h1{font-family:var(--font-display),Georgia,serif;font-size:clamp(4rem,8vw,7.6rem);font-weight:500;line-height:.94;letter-spacing:-.055em;margin:0}
.gallery-hero h1 em{font-weight:500}
.gallery-hero .eyebrow{color:var(--gallery-cherry)}
.gallery-hero-copy{padding-bottom:4px;max-width:470px}
.gallery-hero-copy p{margin:0 0 22px;color:var(--slate-soft)}
.gallery-meta{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--gallery-cherry)}
.gallery-index{padding:42px 0 80px}
.gallery-index-label{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:28px}
.gallery-index-label p{font-size:11px;text-transform:uppercase;letter-spacing:.15em;margin:0}
.gallery-index-label span{font-size:12px;color:var(--slate-soft)}
.property-index-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:52px 24px}
.property-index-card{grid-column:span 2;display:block;min-width:0;position:relative}
.property-index-card:nth-child(-n+2){grid-column:span 3}
.property-index-image{aspect-ratio:4/3;overflow:hidden;background:var(--petal);margin:0;position:relative}
.property-index-card:nth-child(n+3) .property-index-image{aspect-ratio:1/1.05}
.property-index-image img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.property-index-card:hover img{transform:scale(1.025)}
.property-index-card:focus-visible{outline:3px solid var(--gallery-cherry);outline-offset:8px}
.property-index-meta{display:flex;justify-content:space-between;gap:18px;align-items:center;padding-top:21px}
.property-index-meta h2{font:500 clamp(1.8rem,3.2vw,2.8rem)/1.1 var(--font-display),Georgia,serif;color:var(--gallery-cherry);letter-spacing:-.03em;margin:0}
.property-index-meta .index-arrow{font-size:26px;color:var(--gallery-cherry);font-weight:300}
.property-index-sub{font-size:12px;color:var(--slate-soft);margin:8px 0 0}
.gallery-disclaimer{font-size:12px;color:var(--slate-soft);padding-top:40px;margin-bottom:0;max-width:800px}
.gallery-invitation{background:var(--gallery-lilac);color:var(--gallery-cherry);padding:60px 0}
.gallery-invitation .shell{display:flex;justify-content:space-between;align-items:center;gap:40px}
.gallery-invitation h2{font:500 clamp(2.2rem,4vw,3.5rem)/1.07 var(--font-display),Georgia,serif;letter-spacing:-.035em;margin:0}
.gallery-invitation p{margin:12px 0 0;max-width:640px}
.gallery-invitation .button{background:var(--gallery-cherry);color:var(--gallery-lilac);border-color:var(--gallery-cherry);flex-shrink:0}
.property-intro{padding:60px 0 32px;color:var(--gallery-cherry)}
.gallery-back{display:inline-flex;align-items:center;gap:12px;font-size:12px;margin-bottom:38px;min-height:34px;text-transform:uppercase;letter-spacing:.1em}
.gallery-back:hover{text-decoration:underline;text-underline-offset:6px}
.property-intro-row{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end}
.property-intro h1{font:500 clamp(3.6rem,7vw,6rem)/1 var(--font-display),Georgia,serif;letter-spacing:-.055em;margin:0}
.property-intro-row>div:last-child{max-width:540px}
.property-intro-row p{color:var(--slate-soft);margin:0 0 18px}
.property-intro-row .eyebrow{color:var(--gallery-cherry);margin-bottom:15px}
.property-collection-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-block:1px solid var(--gallery-hairline);margin-bottom:32px}
.collection-pills{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.collection-pill{font-size:12px;font-weight:500;min-height:42px;border:1px solid var(--gallery-hairline);border-radius:24px;padding:9px 17px;background:transparent;color:var(--gallery-cherry);cursor:pointer;white-space:nowrap}
.collection-pill[aria-pressed=true]{background:var(--gallery-cherry);border-color:var(--gallery-cherry);color:var(--gallery-paper)}
.collection-pill:hover:not([aria-pressed=true]){background:var(--petal)}
.collection-pill:focus-visible{outline:3px solid var(--gallery-lilac);outline-offset:3px}
.collection-count{font-size:12px;white-space:nowrap;color:var(--slate-soft)}
.property-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 20px;padding-bottom:48px}
.property-photo-grid figure{min-width:0;margin:0}
.gallery-grid-button{display:block;position:relative;width:100%;padding:0;border:0;border-radius:0;background:var(--petal);cursor:zoom-in;overflow:hidden;aspect-ratio:4/3}
.gallery-grid-button img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.gallery-grid-button:hover img{transform:scale(1.025)}
.gallery-grid-button:focus-visible{outline:3px solid var(--gallery-cherry);outline-offset:4px}
.property-photo-grid figcaption{margin-top:11px;line-height:1.4;color:var(--gallery-ink);font-size:13px}
.property-photo-grid figcaption small{display:block;color:var(--slate-soft);font-size:10px;text-transform:uppercase;letter-spacing:.11em;margin-bottom:4px}
.gallery-archive-note{font-size:12px;color:var(--slate-soft);border-top:1px solid var(--gallery-hairline);padding:24px 0 64px;max-width:900px}
/* A single light, accessible viewer for every property image. */
dialog.ajd-gallery-dialog{position:fixed;inset:0;z-index:10000;border:0;border-radius:14px;padding:0;margin:auto;max-width:1600px;width:calc(100% - 40px);height:calc(100dvh - 40px);max-height:none;background:var(--gallery-paper);color:var(--gallery-cherry);box-shadow:0 24px 120px #0005;overflow:hidden}
dialog.ajd-gallery-dialog:not([open]){display:none}
dialog.ajd-gallery-dialog[open]{display:flex;flex-direction:column;animation:gallery-enter .18s ease both}
dialog.ajd-gallery-dialog::backdrop{background:rgba(28,13,13,.68);backdrop-filter:blur(5px)}
.gallery-view-top{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:15px 22px 12px;gap:24px;border-bottom:1px solid var(--gallery-hairline)}
.gallery-view-title{display:flex;align-items:baseline;gap:18px;min-width:0}
.gallery-view-title h2{font:500 30px/1.1 var(--font-display),Georgia,serif;letter-spacing:-.025em;margin:0;color:var(--gallery-cherry)}
.gallery-view-title span{color:var(--slate-soft);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.gallery-view-tools{display:flex;gap:20px;align-items:center}
.gallery-view-tools a{font-size:12px;text-decoration:underline;text-underline-offset:4px}
.gallery-icon-button{display:grid;place-items:center;min-width:44px;width:44px;height:44px;min-height:44px;border:1px solid var(--gallery-hairline);border-radius:50%;background:transparent;color:var(--gallery-cherry);cursor:pointer;padding:0;flex-shrink:0}
.gallery-icon-button:hover{background:var(--gallery-lilac);border-color:var(--gallery-lilac)}
.gallery-icon-button:focus-visible{outline:3px solid var(--gallery-lilac);outline-offset:3px}
.gallery-icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gallery-close{background:var(--gallery-cherry);border-color:var(--gallery-cherry);color:var(--gallery-paper)}
.gallery-close:hover{background:var(--gallery-lilac);color:var(--gallery-cherry)}
.gallery-view-filters{flex-shrink:0;display:flex;align-items:center;gap:8px;overflow-x:auto;padding:12px 22px 4px;scrollbar-width:thin}
.gallery-view-filters .collection-pill{min-height:34px;padding:6px 14px;font-size:11px}
.gallery-view-stage{display:flex;flex:1;min-height:0;align-items:center;justify-content:space-between;padding:14px 22px 10px;gap:20px;position:relative}
.gallery-view-image-wrap{position:relative;height:100%;flex:1;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom;overflow:hidden}
.gallery-view-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center;user-select:none;-webkit-user-drag:none;max-width:100%;max-height:100%;transition:opacity .12s ease}
.gallery-view-image.is-loading{opacity:.35}
.gallery-load-error{font-size:14px;text-align:center;position:absolute;inset:35% 10% auto;background:var(--gallery-paper);padding:24px}
.gallery-view-bottom{flex-shrink:0;padding:0 22px 16px}
.gallery-caption-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 auto 14px;max-width:1280px;min-height:38px}
.gallery-caption{font-size:13px;margin:0;color:var(--gallery-ink)}
.gallery-photo-position{font-size:12px;color:var(--slate-soft);white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:.06em}
.gallery-mobile-controls{display:none}
.gallery-thumbnails{display:flex;gap:9px;overflow-x:auto;overscroll-behavior-x:contain;padding:6px 3px 4px;justify-content:flex-start;scrollbar-width:thin;max-width:1280px;margin:auto}
.gallery-thumb{flex:0 0 82px;height:59px;border:2px solid transparent;border-radius:4px;padding:2px;background:transparent;opacity:.58;cursor:pointer}
.gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:1px}
.gallery-thumb[aria-current=true]{border-color:var(--gallery-cherry);opacity:1}
.gallery-thumb:hover,.gallery-thumb:focus-visible{opacity:1}
.gallery-thumb:focus-visible{outline:2px solid var(--gallery-lilac);outline-offset:2px}
.gallery-sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.desktop-nav a[data-gallery-nav][aria-current=page]{color:var(--gallery-lilac)}
@keyframes gallery-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(min-width:1101px){.desktop-nav{gap:22px}.desktop-nav a{font-size:12px}}
@media(max-width:1000px){.gallery-hero-grid{gap:40px}.property-index-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 20px}.property-index-card,.property-index-card:nth-child(-n+2){grid-column:span 1}.property-index-card:nth-child(n+3) .property-index-image{aspect-ratio:4/3}.property-intro-row{gap:36px}.property-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-view-title span{display:none}.gallery-view-title h2{font-size:28px}}
@media(max-width:650px){.gallery-hero{padding:52px 0 32px}.gallery-hero-grid,.property-intro-row{grid-template-columns:1fr;gap:22px}.gallery-hero h1{font-size:clamp(3.8rem,17vw,5.5rem)}.gallery-hero-copy{font-size:15px}.gallery-hero-copy p{margin-bottom:18px}.gallery-index{padding:28px 0 44px}.gallery-index-label{margin-bottom:18px}.gallery-index-label span{display:none}.property-index-grid{grid-template-columns:1fr;gap:32px}.property-index-card:nth-child(-n+2){grid-column:auto}.property-index-meta{padding-top:14px}.property-index-meta h2{font-size:2.35rem}.property-index-sub{font-size:11px}.gallery-disclaimer{padding-top:28px}.gallery-invitation{padding:40px 0}.gallery-invitation .shell{display:block}.gallery-invitation .button{margin-top:24px}.property-intro{padding-top:30px}.gallery-back{margin-bottom:20px}.property-intro h1{font-size:3.8rem}.property-intro-row p{font-size:15px}.property-collection-bar{align-items:start;flex-direction:column;gap:12px;padding:18px 0}.collection-pills{gap:6px}.collection-pill{font-size:11px;padding:8px 12px}.property-photo-grid{gap:22px 12px}.property-photo-grid figcaption{font-size:11px}.property-photo-grid figcaption small{font-size:9px}.gallery-grid-button{aspect-ratio:1/1.1}.gallery-archive-note{padding-bottom:40px}dialog.ajd-gallery-dialog{width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.gallery-view-top{padding:max(10px,env(safe-area-inset-top)) 14px 9px;gap:10px}.gallery-view-title h2{font-size:27px}.gallery-view-tools{gap:10px}.gallery-view-tools a{font-size:10px}.gallery-view-filters{padding:11px 14px 3px}.gallery-view-stage{padding:12px 0 4px;gap:0}.gallery-view-stage>.gallery-icon-button{display:none}.gallery-view-image-wrap{width:100%}.gallery-view-bottom{padding:0 14px max(14px,env(safe-area-inset-bottom))}.gallery-caption-row{gap:12px;margin-bottom:3px;min-height:44px}.gallery-caption{font-size:12px}.gallery-photo-position{font-size:11px}.gallery-mobile-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 3px}.gallery-mobile-controls span{font-size:10px;color:var(--slate-soft)}.gallery-mobile-controls .gallery-icon-button{width:44px;height:44px}.gallery-thumb{height:52px;flex-basis:70px}}
@media(max-height:500px){.gallery-view-filters{padding-top:5px}.gallery-view-bottom{padding-bottom:7px}.gallery-thumbnails{display:none}.gallery-view-stage{padding-block:4px}.gallery-view-top{padding-block:5px}.gallery-caption-row{margin:0;min-height:28px}.gallery-mobile-controls{display:none}.gallery-view-stage>.gallery-icon-button{display:grid}}
@media(prefers-reduced-motion:reduce){dialog.ajd-gallery-dialog[open]{animation:none}.property-index-image img,.gallery-view-image{transition:none}}

/* Release polish: maintain hit areas and respect reduced motion. */
.gallery-icon-button:disabled{opacity:.35;cursor:default}
.gallery-view-top{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
.editorial-photo-label{pointer-events:none}
@media(prefers-reduced-motion:reduce){.gallery-grid-button img,.gallery-thumb{transition:none}}
