:root{--ink:#202d28;--muted:#7b837d;--line:#eceeeb;--green:#265c48;--soft:#f5f6f3;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:white;font-size:14px;-webkit-font-smoothing:antialiased}body.locked{overflow:hidden}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{background:none;border:0;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:active{transform:scale(.97)}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #4c866e;outline-offset:4px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}svg:not(.leaflet-zoom-animated){width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;flex-shrink:0}.home-header{padding:18px 22px 8px;display:flex;align-items:center;justify-content:space-between;max-width:1280px;margin:auto}.brand strong{font-size:17px;letter-spacing:-.6px;display:block}.brand small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.home-header .icon{background:var(--soft)}.discovery-controls{position:sticky;top:0;z-index:30;background:#fffffff5;backdrop-filter:blur(18px);padding:10px 20px 0;border-bottom:1px solid var(--line)}.search-pill{height:58px;border-radius:32px;box-shadow:0 3px 17px #20392b0f;border:1px solid #e9ece7;display:flex;align-items:center;gap:13px;padding:0 18px;width:100%;max-width:600px;margin:auto;text-align:left}.search-pill>span:nth-child(2){flex:1}.search-pill b{font-size:13px;font-weight:550;display:block}.search-pill small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.search-pill svg{width:19px}.category-row{display:flex;max-width:600px;margin:10px auto 0;gap:6px;align-items:stretch}.category-row>button{min-height:60px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;position:relative;color:#737b74}.category-row>button.active{color:var(--green);font-weight:600}.category-row>button.active:after{content:'';position:absolute;bottom:-1px;height:2px;width:32px;border-radius:3px;background:var(--green)}.category-row>button.access-button{flex:0 0 44px;min-height:44px;height:44px;border:1px solid var(--line);border-radius:13px;align-self:center;margin-left:8px}.access-button.active{background:#e9f0ea}#catalog{max-width:1280px;margin:auto;padding:27px 20px 100px}.catalog-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.eyebrow{font-size:8px;letter-spacing:1.7px;color:#8a938b;font-weight:600}h1{font-size:25px;letter-spacing:-.9px;font-weight:650;margin-top:7px}#result-count{font-size:11px;color:var(--muted);margin-top:7px}.location-link{display:flex;align-items:center;gap:3px;font-size:11px;min-height:44px;color:var(--green)}.location-link svg{width:14px}.collection{margin:0 0 29px}.collection-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}.collection-heading h2{font-size:17px;font-weight:600;letter-spacing:-.45px}.collection-heading button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center}.collection-heading small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.carousel{display:grid;grid-auto-flow:column;grid-auto-columns:46%;gap:12px;overflow-x:auto;margin:0 -20px;padding:0 20px 5px;scroll-snap-type:x mandatory;scrollbar-width:none}.carousel::-webkit-scrollbar{display:none}.property-card{position:relative;min-width:0;scroll-snap-align:start}.card-image{aspect-ratio:1/1.06;background:var(--soft);border-radius:15px;overflow:hidden;position:relative}.card-image img{width:100%;height:100%;object-fit:cover}.card-image .badge{position:absolute;left:9px;top:10px;border-radius:20px;padding:5px 8px;background:#fffffff0;font-size:9px;font-weight:550}.save{position:absolute;right:4px;top:4px;width:38px;height:38px;color:white;filter:drop-shadow(0 1px 3px #0008)}.save svg{fill:#26362a44;stroke:white;stroke-width:1.8;width:22px}.save.saved svg{fill:#265c48;stroke:#fff}.card-copy{padding:10px 1px 0}.card-copy h3{font-size:13px;line-height:1.4;letter-spacing:-.2px;font-weight:550;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-copy p{font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px}.card-copy strong{font-size:12px;display:block;margin-top:5px;font-weight:600}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 12px}.empty{grid-column:1/-1;text-align:center;padding:40px 10px}.empty svg{width:30px;height:30px;color:#99a89d}.empty h2{font-size:20px;margin:15px 0 10px}.empty p{color:var(--muted);font-size:13px;line-height:1.7}.empty button{margin-top:20px}#filter-summary{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}#filter-summary:empty{display:none}#filter-summary button{font-size:10px;background:#eef2ec;padding:9px 12px;border-radius:20px;color:var(--green);min-height:36px}footer{border-top:1px solid var(--line);margin-top:40px;padding-top:28px}footer>strong{font-size:15px;font-weight:550}footer p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:12px}.socials{display:flex;gap:22px;font-size:11px;margin:18px 0}.socials a{min-height:44px;display:flex;align-items:center}footer>small{display:block;font-size:10px;line-height:1.7;color:#9aa19a}.bottom-nav{position:fixed;z-index:40;bottom:0;left:0;right:0;border-top:1px solid var(--line);background:#fffffff2;backdrop-filter:blur(18px);display:flex;justify-content:center;gap:70px;padding:8px 20px max(12px,env(safe-area-inset-bottom))}.bottom-nav button{min-width:70px;min-height:42px;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:9px;color:#929b94}.bottom-nav button.selected{color:var(--green);font-weight:600}#saved-count{position:absolute;margin-left:40px;font-size:8px}.primary{min-height:48px;background:var(--green);color:white;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:24px;padding:0 21px;font-size:13px;font-weight:600}.text-button{font-size:12px;min-height:44px;text-decoration:underline}.muted{font-size:12px;color:var(--muted);line-height:1.8}dialog{border:0;border-radius:25px;padding:24px;max-width:460px;width:calc(100% - 24px);color:var(--ink);max-height:90dvh;overflow:auto;box-shadow:0 12px 60px #17291f20}dialog::backdrop{background:#15261c55;backdrop-filter:blur(6px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-head h2{font-size:22px;letter-spacing:-.6px}.dialog-head .icon{background:var(--soft);width:34px;height:34px}.dialog-head svg{width:17px}.search-field{display:flex;align-items:center;gap:10px;background:var(--soft);border-radius:13px;padding:13px}.search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:12px}.search-dialog h3{font-size:13px;margin:25px 0 10px}.location-option{display:flex;align-items:center;text-align:left;gap:13px;width:100%;min-height:61px;border-radius:12px;padding:8px}.location-option>svg{width:38px;height:38px;padding:9px;background:#f1f4ee;border-radius:11px}.location-option>span{flex:1}.location-option b{font-size:12px;font-weight:550;display:block}.location-option small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.location-option.chosen{background:#f5f7f2}.location-option .tick{width:18px;background:none;padding:0;height:18px}.dialog-bottom{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:10px}fieldset{border:0;padding:0;margin:18px 0}.radio-row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);font-size:13px}.radio-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.radio-row input{width:20px;height:20px;accent-color:var(--green)}.filter-note{font-size:10px;line-height:1.7;color:var(--muted)}#detail{position:fixed;inset:0;background:white;z-index:100;overflow:auto;overscroll-behavior:contain;padding-bottom:115px;animation:arrive .25s ease}.detail-hero{position:relative;height:41dvh;min-height:260px;max-height:540px;background:var(--soft)}.detail-hero>button{width:100%;height:100%;padding:0}.detail-hero img{width:100%;height:100%;object-fit:cover}.photo-label{position:absolute;bottom:30px;right:20px;background:#0005;border-radius:15px;padding:5px 9px;font-size:10px;color:white;pointer-events:none}.detail-toolbar{position:fixed;top:0;left:0;right:0;z-index:105;padding:max(10px,env(safe-area-inset-top)) 16px 10px;display:flex;gap:7px;transition:background .2s,border-color .2s;border-bottom:1px solid transparent}.detail-toolbar>.icon{background:#fffffff0;width:36px;height:36px;backdrop-filter:blur(15px)}.detail-toolbar svg{width:18px}.detail-toolbar>.spacer{flex:1}.detail-toolbar .toolbar-title{display:none;font-size:12px;align-self:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:50vw}.detail-toolbar.solid{background:#fffffff5;backdrop-filter:blur(20px);border-color:var(--line)}.detail-toolbar.solid .toolbar-title{display:block}.detail-toolbar.solid>.icon{background:transparent}.detail-body{position:relative;margin-top:-20px;background:white;border-radius:24px 24px 0 0;padding:24px 22px 0;max-width:760px;margin-inline:auto}.detail-body h1{font-size:25px;line-height:1.2;margin:0 0 11px;letter-spacing:-.8px}.detail-subtitle{font-size:11px;color:var(--muted);line-height:1.7}.facts{display:flex;margin:23px 0 0;padding:19px 0;border-block:1px solid var(--line)}.facts>div{flex:1;padding:0 12px;border-right:1px solid var(--line)}.facts>div:first-child{padding-left:0}.facts>div:last-child{border:0}.facts strong{display:block;font-size:14px;font-weight:600}.facts small{display:block;font-size:9px;color:var(--muted);margin-top:6px}.detail-section{padding:24px 0;border-bottom:1px solid var(--line)}.detail-section h2{font-size:17px;font-weight:600;letter-spacing:-.35px;margin-bottom:15px}.feature{display:flex;gap:12px;font-size:12px;line-height:1.7;margin:14px 0}.feature svg{width:19px;margin-top:1px;color:#4d6555}.detail-section p{font-size:12px;line-height:1.9;color:#6b776f}.photo-strip{display:grid;grid-template-columns:1.5fr 1fr;gap:7px;height:205px;overflow:hidden;border-radius:16px;margin:15px 0}.photo-strip img{width:100%;height:100%;object-fit:cover}.photo-strip button{padding:0;min-width:0;overflow:hidden}.photo-strip .stack{display:grid;grid-template-rows:1fr 1fr;gap:7px;min-height:0}.outline{width:100%;border:1px solid #dedfda;border-radius:12px;min-height:44px;font-size:12px;font-weight:550}.map-box{height:210px;position:relative;border-radius:17px;overflow:hidden;margin-bottom:12px;background:#e9eee7}.map-box .leaflet-container{height:100%;width:100%;z-index:0}.map-expand{position:absolute;z-index:2;right:12px;top:12px;background:white;border-radius:50%;width:34px;height:34px}.privacy-note{display:flex;gap:8px;font-size:10px;line-height:1.8;color:var(--muted)}.privacy-note svg{width:15px;height:15px;margin-top:2px}.contact-bar{position:fixed;z-index:110;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(20px);border-top:1px solid var(--line);padding:12px 20px max(12px,env(safe-area-inset-bottom));text-align:center}.contact-bar .primary{width:100%;max-width:440px}.contact-bar small{display:block;font-size:9px;color:var(--muted);margin-top:7px}.contact-bar svg{width:21px}.advisor{display:flex;align-items:center;gap:12px}.advisor-avatar{width:42px;height:42px;border-radius:50%;background:#eef2e9;display:grid;place-items:center;font-size:14px;color:var(--green)}.advisor b{font-size:12px;font-weight:550;display:block}.advisor small{font-size:10px;display:block;color:var(--muted);margin-top:5px}.detail-section details{margin-top:18px}.detail-section summary{font-size:12px;cursor:pointer;min-height:35px}.detail-section table{width:100%;border-collapse:collapse;font-size:11px}.detail-section td{padding:12px 0;border-bottom:1px solid var(--line)}.detail-section td:first-child{color:var(--muted);width:45%}.photos-dialog{max-width:none;width:100%;height:100dvh;max-height:none;margin:0;border-radius:0;padding:0;background:white}.photos-dialog::backdrop{background:white}.gallery-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#fffffff2;backdrop-filter:blur(15px);font-size:12px}.gallery-toolbar .icon{width:36px;height:36px}.gallery-toolbar svg{width:18px}#photo-overview{max-width:850px;margin:auto;padding:20px 20px 40px}.gallery-intro{font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:22px}.mosaic{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mosaic button{padding:0;aspect-ratio:1;overflow:hidden;border-radius:13px;background:var(--soft)}.mosaic button:nth-child(3n+1){grid-column:1/-1;aspect-ratio:1.45}.mosaic img{width:100%;height:100%;object-fit:cover}#photo-single{max-width:1000px;margin:auto;padding:15px 16px;height:calc(100dvh - 60px);display:flex;flex-direction:column;justify-content:center}#full-photo{width:100%;height:calc(100% - 70px);object-fit:contain;border-radius:15px}.photo-navigation{display:flex;align-items:center;justify-content:center;gap:24px;font-size:11px;padding-top:15px}.photo-navigation .icon{background:var(--soft)}button:disabled{opacity:.25;cursor:default}#toast{position:fixed;left:50%;bottom:120px;transform:translateX(-50%);background:#243a2e;color:white;font-size:12px;border-radius:20px;padding:12px 18px;z-index:300;opacity:0;pointer-events:none;transition:.2s;max-width:90%;text-align:center}#toast.show{opacity:1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.leaflet-control-attribution{font-size:8px!important}.map-box.expanded{height:420px}.gallery-toolbar{padding-top:max(8px,env(safe-area-inset-top))}@keyframes arrive{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:none}}@media(min-width:800px){.home-header{padding:25px 40px 10px}.discovery-controls{padding-inline:40px}.search-pill{max-width:580px}.category-row{max-width:580px}#catalog{padding:35px 40px 100px}.carousel{grid-auto-columns:23%;margin:0 -10px;padding:0 10px 8px;gap:20px}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 20px}.collection{margin-bottom:38px}.card-copy h3{font-size:15px}.card-copy p{font-size:11px}.card-copy strong{font-size:13px}.detail-hero{height:50vh}.detail-body{padding-top:30px}.detail-body h1{font-size:32px}.detail-toolbar{padding-inline:30px}.bottom-nav{gap:100px}.mosaic{grid-template-columns:repeat(3,1fr)}.mosaic button:nth-child(3n+1){grid-column:auto;aspect-ratio:1}.search-dialog{max-width:480px}}@media(max-width:360px){.home-header{padding-inline:16px}.discovery-controls{padding-inline:16px}#catalog{padding-inline:16px}.carousel{margin-inline:-16px;padding-inline:16px}.detail-body{padding-inline:18px}.detail-body h1{font-size:23px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.carousel{margin-inline:0;padding-inline:0;grid-auto-columns:46%;scroll-padding-inline:0}.detail-toolbar .saved svg{fill:var(--green);stroke:var(--green)}.gallery-toolbar>span{max-width:70%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.property-link:focus-visible{display:block;border-radius:15px}@media(min-width:800px){.carousel{grid-auto-columns:23%}} 
.map-box .leaflet-tile{filter:saturate(.45) brightness(1.03)}
/* Contextual overlays: preserve the property and a single contact action. */
.brand-advisor .advisor-avatar{width:68px;height:68px;font-size:23px;letter-spacing:-2px;background:#e9eee7;color:#315540;font-weight:500}.brand-advisor .advisor{margin:22px 0}.brand-advisor .advisor b{font-size:16px;letter-spacing:-.4px}.brand-advisor .advisor small{font-size:11px}.brand-instagram{display:inline-flex;align-items:center;min-height:44px;font-size:11px;color:var(--green);margin-top:9px}.map-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border-radius:0;overflow:hidden}.map-dialog::backdrop{background:white}.map-dialog-head{position:absolute;z-index:5;top:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(18px);padding:max(12px,env(safe-area-inset-top)) 20px 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff88}.map-dialog-head b{display:block;font-size:14px;font-weight:550}.map-dialog-head small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.map-dialog-head .icon{background:#f4f6f2}.map-dialog #full-map{position:absolute;inset:0;background:#e8ede7;z-index:0}.map-dialog .leaflet-control-zoom{margin-bottom:180px;margin-right:18px;border:0;box-shadow:0 2px 15px #0001;border-radius:15px;overflow:hidden}.map-dialog .leaflet-control-zoom a{width:40px;height:40px;line-height:40px;border-color:var(--line);color:var(--ink)}.map-dialog .leaflet-control-attribution{margin-bottom:165px}.map-dialog .leaflet-tile,.map-box .leaflet-tile{filter:saturate(.3) brightness(1.04)}.map-privacy{position:absolute;left:20px;right:20px;bottom:110px;z-index:4;background:#ffffffed;padding:12px 15px;border-radius:16px;max-width:440px;margin:auto;font-size:11px;line-height:1.6;text-align:center;box-shadow:0 4px 20px #213a2810}.overlay-contact{position:fixed;bottom:0;left:0;right:0;z-index:5;padding:12px 20px max(15px,env(safe-area-inset-bottom));text-align:center;background:#fffffff0;backdrop-filter:blur(18px);border-top:1px solid var(--line)}.overlay-contact .primary{width:100%;max-width:440px}.photos-dialog{padding-bottom:90px}#photo-overview{padding-bottom:120px}#photo-single{height:calc(100dvh - 150px)}.category-row>button.active{background:#f4f7f2;border-radius:12px 12px 0 0}.category-row>button.access-button.active{border-radius:13px}.leaflet-container{font-family:inherit}
.brand-advisor .advisor-avatar{width:80px;height:80px;overflow:hidden;flex-shrink:0;letter-spacing:normal}.brand-advisor .advisor-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 43%;transform:scale(1.18)}
/* Editorial pass: fewer repeated headings, fixed map preview, restrained brand icons. */
.catalog-intro h1{margin-top:0;font-size:24px}.catalog-intro{margin-bottom:20px}.collection-heading h2{font-size:16px}.card-copy p{line-height:1.55;font-size:10px}.card-copy h3{font-weight:600}.detail-body h1{font-size:24px;line-height:1.22}.detail-section{padding-block:22px}.detail-section h2{font-size:16px}.detail-subtitle{font-size:11px;line-height:1.8}.feature{margin-block:13px;line-height:1.75}.socials a{gap:7px}.socials img,.brand-instagram img{display:block;width:17px;height:17px;object-fit:contain;opacity:.8}.brand-instagram{gap:7px}.map-box{margin-top:13px;height:220px;isolation:isolate}.map-preview-open{position:absolute;inset:0;z-index:1;display:flex;align-items:flex-end;justify-content:center;padding:0 16px 17px;background:transparent;touch-action:pan-y}.map-preview-open>span{display:inline-flex;gap:8px;align-items:center;background:#fffffff0;border:1px solid #ffffffb0;border-radius:20px;padding:9px 13px;font-size:10px;box-shadow:0 3px 18px #233c2810;pointer-events:none}.map-preview-open svg{width:14px;height:14px}.map-box .leaflet-container{pointer-events:none}.map-box .map-expand{z-index:3}.map-box .leaflet-control-attribution{position:relative;z-index:4;pointer-events:auto}.map-box .leaflet-tile,.map-dialog .leaflet-tile{filter:none}.map-dialog .map-privacy{font-size:10px;max-width:330px;bottom:98px;padding:10px 13px}.map-dialog .leaflet-control-attribution{margin-bottom:150px}.map-dialog .leaflet-control-zoom{margin-bottom:175px}.photos-dialog .gallery-toolbar{border-bottom:1px solid var(--line)}footer>strong{font-size:14px}footer p{font-size:11px;line-height:1.7}.contact-bar small{font-size:9px}.brand-advisor .advisor-avatar{width:76px;height:76px}.brand-advisor .advisor b{font-size:16px}.brand-advisor p{font-size:12px}.map-preview-open:active{transform:none}@media(min-width:800px){.detail-body h1{font-size:31px}.catalog-intro h1{font-size:28px}}
/* Curated marketplace identity: quiet white space, ink typography, lake green. */
:root{--ink:#202b27;--muted:#66716a;--green:#285c49;--soft:#f5f6f3;--line:#e7ebe6}
.home-header{padding-block:19px 13px;align-items:center}.brand strong{font-size:25px;line-height:1;letter-spacing:-1.2px;font-weight:650}.brand strong span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:2.65px;font-weight:550;margin-top:7px}.brand small{font-size:9px;letter-spacing:.1px;margin-top:8px;color:#66716a}.market-intro{padding:0 0 28px;margin-bottom:25px;border-bottom:1px solid var(--line);max-width:640px}.overline{font-size:9px;letter-spacing:1.5px;font-weight:600;line-height:1.7;color:var(--green)}.market-intro h2{font-size:25px;letter-spacing:-.8px;line-height:1.2;font-weight:550;margin:11px 0 12px}.market-intro>p:last-of-type{font-size:12px;line-height:1.8;color:var(--muted);max-width:340px}.market-intro b{font-weight:550;color:var(--ink)}.market-intro .socials{margin:14px 0 0;gap:9px}.market-intro .socials a,.detail-socials a{border:1px solid var(--line);border-radius:22px;min-height:44px;padding:0 12px;gap:7px;font-size:11px}.market-intro .socials img,.detail-socials img{opacity:.85;width:15px;height:15px}.owner-invite{padding:25px 22px;border-radius:20px;background:#f3f5f0;margin-top:38px}.owner-invite h2{font-size:23px;font-weight:550;letter-spacing:-.65px;line-height:1.25;margin:10px 0 12px}.owner-invite p{font-size:12px;line-height:1.8;color:var(--muted);max-width:420px}.owner-link{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;background:white;max-width:330px;padding:0 15px;min-height:48px}.owner-link svg{width:17px}.detail-socials{gap:8px;flex-wrap:wrap;margin:18px 0 0}.brand-advisor h2{max-width:280px;line-height:1.45}.read-description{display:flex;align-items:center;justify-content:space-between;padding:0 14px;margin-top:20px;min-height:48px}.read-description svg{width:17px}.detail-grip{position:fixed;top:8px;left:50%;transform:translateX(-50%);z-index:108;width:34px;height:4px;background:#ffffffd9;box-shadow:0 1px 4px #0002;border-radius:5px;pointer-events:none}#detail{overscroll-behavior-y:none;transition:transform .22s ease}.gesture-dragging{transition:none!important;will-change:transform}.description-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:760px;margin:0 auto;height:91dvh;max-height:91dvh;padding:0 0 110px;border-radius:25px 25px 0 0;overscroll-behavior:contain;transition:transform .22s ease;animation:arrive .22s ease}.sheet-grip{height:4px;width:34px;background:#ccd3cd;border-radius:8px;margin:10px auto 0}.description-head{position:sticky;top:0;background:#fffffff5;backdrop-filter:blur(16px);z-index:2;display:flex;align-items:center;justify-content:space-between;padding:13px 22px;border-bottom:1px solid var(--line);gap:12px}.description-head h2{font-size:17px;font-weight:600;letter-spacing:-.4px}.description-head .icon{background:var(--soft)}#description-content{padding:25px 24px 15px;max-width:650px;margin:auto}#description-content h3{font-size:27px;font-weight:550;letter-spacing:-.8px;line-height:1.2;margin:11px 0 14px}.description-lead{font-size:14px;line-height:1.8;color:var(--muted)}#description-content section{padding:24px 0;border-bottom:1px solid var(--line)}#description-content h4{font-size:15px;font-weight:600;margin:0 0 14px}#description-content ul{margin:0;padding-left:18px;font-size:14px;line-height:1.85}#description-content li+li{margin-top:10px}#description-content dl{margin:0;font-size:13px}#description-content dl>div{display:grid;grid-template-columns:1fr 1.1fr;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}#description-content dl>div:last-child{border:0}#description-content dt{color:var(--muted)}#description-content dd{margin:0;line-height:1.5}#description-content section>p{font-size:13px;line-height:1.85;color:var(--muted)}#description-content section>p+p{margin-top:14px}.source-note{font-size:11px;line-height:1.8;color:var(--muted);padding-top:20px}.description-dialog .overlay-contact{position:sticky;bottom:-110px;margin-top:12px;padding-bottom:max(18px,env(safe-area-inset-bottom))}.description-dialog{padding-bottom:0}#description-content{padding-bottom:25px}.detail-section p{color:var(--muted)}.card-copy p{font-size:11px}.detail-subtitle{font-size:12px}.facts small{font-size:10px}.contact-bar small{font-size:10px}.brand-advisor .advisor small{font-size:12px}@media(min-width:800px){.market-intro h2{font-size:32px}.market-intro{max-width:none}.market-intro>p:last-of-type{max-width:600px}.market-intro h2 br{display:none}.description-dialog{inset:0;margin:auto;height:88dvh;max-height:88dvh;border-radius:25px}.owner-invite{padding:32px}.brand strong{font-size:28px}}@media(max-width:360px){.detail-socials a,.market-intro .socials a{padding-inline:10px;font-size:10px}.market-intro h2{font-size:23px}}
.description-dialog .overlay-contact{position:fixed;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:760px;margin:0}.description-dialog #description-content{padding-bottom:112px}@media(min-width:800px){.description-dialog .overlay-contact{bottom:6dvh;border-radius:0 0 25px 25px}}
.market-intro h2{margin-top:0;font-size:24px}.market-intro{padding-bottom:22px;margin-bottom:22px}.market-intro>p:last-of-type{max-width:330px}@media(min-width:800px){.market-intro h2{font-size:30px}.market-intro>p:last-of-type{max-width:600px}}

/* Navigation and wordmark. Keep discovery controls within reach on a phone. */
:root{--ink:#222b27;--muted:#57635c;--line:#e2e8e2;--soft:#f5f6f1;--green:#255844;--paper:#fcfcf9}
body{background:var(--paper)}
.home-header{gap:8px;padding:14px 16px;min-height:74px}
.brand{min-width:0;flex:1}
.brand strong{font-size:clamp(16px,4.6vw,24px);line-height:1.05;font-weight:650;letter-spacing:-.045em}
.brand strong span{font-size:.72em;line-height:1.1;letter-spacing:.09em;margin-top:3px;text-transform:uppercase}
.brand small{font-size:10px;margin-top:4px}
.header-controls{display:flex;align-items:center;gap:2px;flex-shrink:0}
.home-header .icon{background:transparent}
.language{display:inline-flex;align-items:center;justify-content:center;gap:3px;padding:0 5px;min-height:44px;min-width:49px;font-size:10px;color:var(--muted);font-weight:500;white-space:nowrap}
.language .current{color:var(--ink);font-weight:700}
.discovery-controls{background:#fcfcf9f5;padding-top:8px}
.town-button{display:flex;align-items:center;width:100%;max-width:600px;margin:auto;gap:12px;min-height:52px;padding:6px 12px;text-align:left;border:1px solid #cddbd1;border-radius:15px;background:#eef3ed;color:var(--green)}
.town-button>span:nth-child(2){flex:1;min-width:0}
.town-button small,.town-button b{display:block}
.town-button small{font-size:10px;margin-bottom:2px}
.town-button b{font-size:14px;line-height:1.2}
.town-button svg{width:18px;height:18px}
.category-row{margin-top:2px}
.category-row>button{font-size:11px;min-height:49px}
.bottom-nav{gap:0;justify-content:space-evenly}
.bottom-nav button{flex:1;min-width:0;max-width:130px;min-height:44px;font-size:11px;color:var(--muted)}
.bottom-nav svg{width:19px;height:19px}
.market-intro{padding-bottom:15px;margin-bottom:17px}
.market-intro h2{font-size:22px;margin-bottom:4px}
.market-intro h2 br{display:none}
.market-intro>p:last-of-type{max-width:none}
.search-dialog h3{margin-top:18px}
#suggestions{max-height:min(45vh,360px);overflow:auto;overscroll-behavior:contain}
.location-option>svg:last-child{width:16px;height:16px;background:none;padding:0}
.location-option b{font-size:14px;line-height:1.3}
.location-option small{font-size:11px}
.guide-content{max-width:600px;margin:auto;padding:24px}
.guide-content>p{font-size:16px;line-height:1.55;color:var(--muted)}
.guide-search{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:22px}
.guide-content h3{font-size:15px;margin:28px 0 10px}
.detail-toolbar .language{background:#fffffff0;border-radius:20px;min-height:36px}
.detail-toolbar.solid .language{background:transparent}
.detail-toolbar .toolbar-title{max-width:35vw}
.contact-bar .primary{min-height:52px}
@media(min-width:800px){.home-header{padding-inline:40px}.brand strong{font-size:24px}.brand strong span{display:inline;font-size:inherit;letter-spacing:inherit;text-transform:none}.brand small{font-size:11px}}
#detail{scroll-padding-block:68px 120px}
.search-field input{font-size:16px}
#read-description{scroll-margin-block:15px}

/* A wordmark that fits on one line, and navigation with visible text labels. */
.home-header{gap:5px;padding-inline:12px}
.brand{flex:0 1 auto;min-width:0;display:block}
.brand strong{white-space:nowrap;font-size:clamp(.84rem,4.45vw,1.5rem);line-height:1.15;font-weight:670;letter-spacing:-.038em}
.brand strong span{display:inline;margin:0;font-size:inherit;line-height:inherit;letter-spacing:inherit;text-transform:none}
.brand small{text-align:right;font-size:.65rem;line-height:1.25}
.header-controls{gap:0}
.header-controls .language{font-size:.68rem}
.category-row>a{flex:1;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted);font-size:.83rem;line-height:1.2;border-bottom:3px solid transparent;border-radius:12px 12px 0 0}
.category-row>a.active{background:#eef3ed;color:var(--green);border-color:var(--green);font-weight:650}
.category-row>a>span{display:flex}
.category-row .access-button svg{width:20px;height:20px}
.town-button b{font-size:1rem}
.town-button small,.bottom-nav button{font-size:.75rem}
#result-count,.detail-subtitle{font-size:.83rem}
.card-copy h3,.facts strong{font-size:.94rem}
.card-copy p,.card-copy strong{font-size:.81rem}
.feature,.detail-section p{font-size:.95rem;line-height:1.6}
.location-option small,.contact-bar small{font-size:.78rem}
.location-option{min-height:58px}
.location-option b,.primary,.outline{font-size:.94rem}
.detail-toolbar>.icon{width:44px;height:44px}
.detail-toolbar .toolbar-title{max-width:28vw}
.contact-bar .primary{min-height:52px}
#catalog-title:focus-visible{outline:2px solid var(--green);outline-offset:5px;border-radius:3px}
@media(min-width:800px){.home-header{padding-inline:40px}}
@media(max-width:350px){.brand strong{font-size:.83rem}.brand small{font-size:.6rem}.home-header{padding-inline:8px}.header-controls .language{min-width:44px}.detail-toolbar{padding-inline:8px;gap:2px}.detail-toolbar .toolbar-title{max-width:25vw}}

/* The photo paints at its own aspect ratio so the visible corners are rounded. */
.detail-hero{height:auto;min-height:0;max-height:none;background:#fff;padding:64px 12px 0;text-align:center}
.detail-hero>button{display:inline-flex;justify-content:center;position:relative;max-width:100%;border-radius:20px;vertical-align:top;overflow:hidden}
.detail-hero img{display:block;width:auto;height:auto;max-width:100%;max-height:54dvh;border-radius:20px;object-fit:contain}
.detail-hero .photo-label{right:16px;bottom:10px;font-size:.8rem}
.detail-body{margin-top:0}
.photos-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:0;overflow:hidden;background:white}
.photos-dialog .gallery-toolbar{position:relative;display:grid;grid-template-columns:minmax(72px,1fr) minmax(120px,2fr) minmax(72px,1fr);gap:4px;align-items:center;justify-items:center;padding: max(8px,env(safe-area-inset-top)) 12px 8px;border:0}
.gallery-heading{min-width:0;display:grid;gap:3px;text-align:center;white-space:normal;font-size:1rem;font-weight:650;line-height:1.15}
#photo-count{font-size:.83rem;color:var(--muted);font-weight:500}
#photo-count:empty{display:none}
.gallery-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:48px;min-height:48px;padding:4px;color:var(--ink);font-size:.75rem;line-height:1.2}
.gallery-action:first-child{justify-self:start}
.gallery-action:last-child{justify-self:end}
.gallery-action svg{width:22px;height:22px}
.photos-dialog #photo-single{min-height:0;height:auto;width:100%;max-width:none;padding:0 12px 6px;display:grid;grid-template-rows:minmax(0,1fr) auto}
.photo-stage{min-height:0;display:grid;place-items:center;overflow:hidden;touch-action:pan-y pinch-zoom}
#full-photo{display:block;width:auto;height:auto;max-width:min(100%,1160px);max-height:100%;border-radius:clamp(16px,5vw,28px);object-fit:contain}
.photo-navigation{justify-content:space-between;width:100%;max-width:540px;margin:auto;padding:5px 0 0;gap:10px}
.photo-navigation button{display:inline-flex;align-items:center;gap:7px;min-height:48px;min-width:48px;padding:0 10px;border-radius:14px;font-size:.91rem;font-weight:550}
.photo-navigation button:not(:disabled){background:var(--soft)}
.photo-navigation button:disabled{opacity:1;color:#79837d}
.photo-navigation svg{width:18px;height:18px}
.photos-dialog .overlay-contact{position:static;padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
.photos-dialog .overlay-contact .primary{min-height:48px}
.photos-dialog #photo-overview{min-height:0;max-width:none;margin:0;padding:12px 16px 20px;overflow:auto;overscroll-behavior:contain}
.photos-dialog.showing-overview #photos-back{visibility:hidden}
.photo-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;max-width:760px;margin:auto}
.photo-index button{padding:8px;background:var(--soft);border-radius:16px;display:grid;place-items:center;min-width:0;gap:5px;font-size:.86rem}
.photo-index img{display:block;width:auto;height:auto;max-width:100%;max-height:150px;border-radius:10px}
.photo-stage{grid-template:minmax(0,1fr)/minmax(0,1fr)}
.photos-dialog #photo-single{margin:0;align-self:stretch}
#open-search{flex-direction:column;gap:2px;width:48px;height:48px;font-size:.67rem}
#open-search>span:first-child{display:flex}
.category-row>button.access-button{flex-basis:52px;min-height:48px;height:48px;gap:2px;font-size:.71rem}

/* Compact, consistent card rhythm. Use the opening height for the inventory. */
:root{--paper:#fff}
.home-header{min-height:58px;padding-block:7px}
.discovery-controls{background:#fffffff7;padding:3px 14px 0}
.discovery-controls .town-button{min-height:46px;padding-block:3px}
.category-row{gap:5px;margin-top:5px;padding-bottom:5px}
.category-row>a,.category-row>button.access-button{min-height:43px;height:auto;flex-direction:row;gap:4px;background:#f6f6f4;border:1px solid #ebede9;border-radius:24px;font-size:.75rem}
.category-row>a svg,.category-row>button.access-button svg{width:16px;height:16px}
.category-row>a.active{background:#eaf1ea;border-color:#cddbd1;color:var(--green)}
.category-row>button.access-button{flex:0 0 59px;margin:0}
.category-row>button.access-button.active{background:#eaf1ea}
.category-row>button.access-button::after{display:none}
.market-intro{display:none}
#catalog{padding:14px 16px 88px}
.catalog-intro{margin-bottom:12px}
.catalog-intro h1{font-size:1.26rem;letter-spacing:-.035em}
#result-count{margin-top:3px;font-size:.79rem}
.grid{gap:14px 10px}
.card-image{aspect-ratio:1.19}
.card-copy{padding:6px 3px 0}
.card-copy h3{font-size:.86rem;line-height:1.22}
.card-copy p{font-size:.77rem;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-image .badge{font-size:.63rem;top:8px;left:7px}
.property-card .save{width:44px;height:44px;top:0;right:0}
.bottom-nav{padding-top:5px}
@media(max-width:350px){.category-row>a,.category-row>button.access-button{font-size:.69rem}.category-row>a svg{width:13px}.category-row>button.access-button{flex-basis:54px}}
@media(min-width:800px){#catalog{padding:22px 40px 100px}.grid{gap:20px}.card-image{aspect-ratio:1.19}.card-copy h3{font-size:.97rem}.card-copy p{font-size:.83rem}}

/* Property cover carousel and the advisor profile. */
.detail-hero{padding:0;background:white}
.hero-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;aspect-ratio:4/3;max-height:58dvh;background:var(--soft)}
.hero-slides::-webkit-scrollbar,.tour-thumbnails::-webkit-scrollbar{display:none}
.hero-slide{flex:0 0 100%;min-width:0;border:0;padding:0;scroll-snap-align:start;scroll-snap-stop:always}
.hero-slide:active{transform:none}
.hero-slide img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:0;pointer-events:none}
.hero-arrow{position:absolute;top:50%;background:#fffffff0;box-shadow:0 1px 8px #0001}
.hero-arrow#hero-previous{left:8px}
.hero-arrow#hero-next{right:8px}
.detail-hero .photo-label{bottom:19px;background:#202b27bc;padding:5px 10px}
.detail-body{margin-top:-10px;border-radius:18px 18px 0 0;max-width:780px}
.detail-body h1{font-size:clamp(1.48rem,6.2vw,1.93rem);line-height:1.13}
.detail-subtitle{line-height:1.45}
.detail-section h2{font-size:1.22rem;line-height:1.2}
.facts{margin-top:18px;padding-block:15px}
.brand-advisor .advisor-card{gap:16px;padding:16px;border:1px solid var(--line);border-radius:20px;background:white;box-shadow:0 5px 16px #2332290b;margin:0 0 18px}
.brand-advisor .advisor-avatar{width:86px;height:86px;background:#151515}
.brand-advisor .advisor-avatar img{transform:scale(.89);object-position:center 47%}
.brand-advisor .advisor b{font-size:1.05rem}
.brand-advisor .advisor small{font-size:.81rem}
.advisor-facts{list-style:none;padding:0;margin:0 0 14px;display:grid;gap:10px}
.advisor-facts li{display:flex;align-items:center;gap:10px;font-size:.93rem}
.advisor-facts svg{color:var(--green);width:19px}
.description-dialog #description-content{padding-bottom:35px}
.map-dialog .map-privacy{bottom:30px}
.map-dialog .leaflet-control-attribution{margin-bottom:80px}
.map-dialog .leaflet-control-zoom{margin-bottom:100px}

/* Photo tour and clean, borderless single-photo viewer. */
.photos-dialog[open]{grid-template-rows:auto minmax(0,1fr)}
.photos-dialog .gallery-toolbar{grid-template-columns:44px 1fr 44px;justify-items:start;border-bottom:1px solid var(--line)}
#photos-title{justify-self:center;text-align:center;font-size:1rem;line-height:1.2}
.photos-dialog .gallery-toolbar .icon{width:44px;height:44px}
.photos-dialog #photo-overview{padding:0 0 max(18px,env(safe-area-inset-bottom))}
.tour-thumbnails{display:grid;grid-auto-flow:column;grid-auto-columns:82px;gap:10px;overflow:auto;scrollbar-width:none;padding:14px 16px 8px;scroll-snap-type:x proximity}
.tour-thumbnails button{min-width:0;padding:0;display:grid;gap:5px;text-align:left;scroll-snap-align:start;color:var(--muted);font-size:.77rem}
.tour-thumbnails img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.tour-body{max-width:760px;margin:auto;padding:14px 16px 4px}
.tour-body h3{font-size:1.18rem;line-height:1.2}
.tour-body p{margin:4px 0 12px;color:var(--muted);font-size:.84rem}
.tour-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.tour-photo{padding:0;min-width:0;border-radius:15px;overflow:hidden;background:var(--soft);aspect-ratio:4/3}
.tour-photo:nth-child(3n+1){grid-column:span 2}
.tour-photo img{display:block;width:100%;height:100%;object-fit:cover}
#photo-viewer[open]{display:grid;grid-template-rows:minmax(0,1fr);position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border-radius:0;background:white;overflow:hidden}
#photo-viewer::backdrop{background:#fff;backdrop-filter:none}
#photo-viewer .photo-stage{width:100%;height:100%}
#photo-viewer #full-photo{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;border-radius:0}
#viewer-back{position:absolute;z-index:1;top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));background:#fffffff5;box-shadow:0 2px 10px #0002;width:46px;height:46px}
.detail-hero>.hero-arrow{position:absolute;width:44px;height:44px;margin-top:-22px;align-items:center}

/* Equal controls, soft depth and a quiet location selector. */
.home-header{padding-inline:14px;gap:6px}
.header-controls{gap:4px;align-items:center}
.header-controls .icon,.header-controls .language{
  min-width:44px;height:44px;min-height:44px;padding:0;background:#f7f8f6;border:1px solid #e9ece8;
  border-radius:15px;box-shadow:0 1px 2px #2436290a;color:var(--ink)
}
#open-search{width:44px;height:44px}
.header-controls .language{gap:2px;padding:0 4px;font-size:.66rem}
.header-controls .language span{display:grid;place-items:center;min-width:20px;min-height:25px;color:var(--muted);border-radius:8px}
.header-controls .language .current{background:white;box-shadow:0 1px 4px #263d2219;color:var(--green);font-weight:700}
.discovery-controls{padding:6px 14px 0;box-shadow:0 7px 16px -13px #212d2855}
.discovery-controls .town-button{
  min-height:46px;gap:9px;background:#fff;border:1px solid #e3e9e3;border-radius:16px;
  box-shadow:0 3px 9px #24362c0c;color:var(--ink)
}
.town-button>span:first-child{display:grid;place-items:center;width:27px;height:27px;background:#edf3ee;color:var(--green);border-radius:50%}
.town-button small{font-size:.64rem;color:var(--muted);margin-bottom:1px}
.town-button b{font-size:.9rem}
.town-end{display:flex;align-items:center;gap:3px;color:var(--green);font-size:.72rem;font-weight:600}
.town-end svg{width:14px;height:14px}
.category-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:7px;padding-bottom:7px}
.category-row>a,.category-row>button.access-button{
  display:grid;grid-template-rows:18px auto;place-content:center;justify-items:center;gap:2px;
  min-height:46px;padding:3px 2px;color:var(--ink);border-radius:15px;font-size:.68rem;line-height:1.15;
  border:1px solid #ebeeea;background:#fff;box-shadow:0 2px 4px #273b2810;white-space:nowrap
}
.category-row>a>span{align-items:center}
.category-row>a svg,.category-row>button.access-button svg{width:16px;height:16px;color:var(--green)}
.category-row>a.active,.category-row>button.access-button.active{background:#edf4ee;border-color:#d5e3d9;color:var(--green);font-weight:650}
.category-row .active::after{display:none}
.bottom-nav{box-shadow:0 -6px 18px -15px #25362e63}
.card-image{box-shadow:0 6px 13px -10px #142d2760}
.tour-body{padding-top:12px}
.tour-grid{gap:8px}
#photo-viewer[open]{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
#photo-viewer #full-photo{width:auto;height:auto;max-width:100%;max-height:100%;border-radius:clamp(16px,6vw,28px)}
#viewer-back{top:max(15px,calc(env(safe-area-inset-top) + 6px));left:max(15px,calc(env(safe-area-inset-left) + 6px))}
.map-google{display:flex;align-items:center;gap:8px;min-height:46px;margin:8px 0 12px;padding:6px 12px;border-radius:14px;border:1px solid #dde7dd;color:var(--green);font-size:.86rem;font-weight:650}
.map-google span{flex:1}
.map-google svg{width:18px;height:18px}
@media(max-width:350px){.home-header{padding-inline:8px}.header-controls{gap:3px}.category-row{gap:4px}.category-row>a,.category-row>button.access-button{font-size:.63rem}}
@media(min-width:800px){.home-header{padding-inline:40px}.category-row>a,.category-row>button.access-button{font-size:.8rem}}
.card-copy .card-meta{display:flex;justify-content:space-between;gap:5px}
.card-meta>span:first-child{overflow:hidden;text-overflow:ellipsis}
.card-meta>span:last-child{flex-shrink:0;font-variant-numeric:tabular-nums}

.card-copy h3{-webkit-line-clamp:2;overflow-wrap:anywhere}
.card-copy .card-meta{margin-top:4px}
.card-meta>span:last-child{white-space:nowrap;font-weight:400}
.missing-photo{display:grid;place-items:center;background:var(--surface,#f1f4ef);color:var(--ink,#293a31);font-size:.8rem}
.card-image .missing-photo{position:absolute;inset:0}
.catalogue-section{white-space:pre-line}
.detail-toolbar:not(.solid) .toolbar-title{visibility:hidden}

.viewer-controls{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:3px;background:#fffffff5;border-radius:999px;box-shadow:0 2px 14px #0002;font-size:.8rem;font-variant-numeric:tabular-nums}
.viewer-controls .icon{width:44px;height:44px}
.viewer-controls button:disabled{opacity:.32;cursor:default}
.viewer-controls[hidden]{display:none}

@media(max-width:799px){
  .card-copy h3{display:block;white-space:nowrap;text-overflow:ellipsis}
}

#open-search{width:auto;min-width:48px;padding-inline:5px}
#open-search>span:last-child{white-space:nowrap;line-height:1}
.hero-gallery-control{position:absolute;right:12px;bottom:12px}
.hero-gallery-button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border:0;border-radius:999px;background:#202b27ed;color:#fff;font-size:.8rem;font-weight:600}
.hero-gallery-button svg{width:16px;height:16px}

/* Keep every slide the size of the frame, independent of photo dimensions. */
.hero-slides{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:100%;grid-template-rows:minmax(0,1fr);aspect-ratio:auto;height:clamp(270px,84vw,520px);max-height:62dvh}
.hero-slide{display:block;box-sizing:border-box;width:100%;height:100%;min-height:0;overflow:hidden;border-radius:0;background:var(--soft)}
.detail-hero .hero-slide img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;border-radius:0}
.card-image{aspect-ratio:1.08;border-radius:14px}
@media(min-width:800px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}
  .card-image{aspect-ratio:1.22}
  .detail-hero{width:min(calc(100% - 64px),1040px);margin:66px auto 0;border-radius:16px;overflow:hidden}
  .hero-slides{height:clamp(320px,48vw,570px);max-height:68dvh}
  .detail-body{margin-top:0}
}
