/* Keep numeric highlights in the current project's approved body family. */
.rich-page .hero-facts .price{font-family:var(--lp-body)}
/* Gallery and layout actions share the section heading rather than a footer row. */
body.rich-page section .gallery-header-action{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 32px;max-width:none;margin-bottom:28px}
body.rich-page section .gallery-header-action>div{grid-column:1;grid-row:1;min-width:0}
body.rich-page section .gallery-header-action>p{grid-column:1;grid-row:2;margin:0;max-width:760px}
body.rich-page section .gallery-header-action>.gallery-brochure{grid-column:2;grid-row:1/span 2;justify-self:end;align-self:center;margin:0;min-height:48px;padding-inline:22px;white-space:nowrap}
@media(max-width:700px){
 body.rich-page section .gallery-header-action{grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:24px}
 body.rich-page section .gallery-header-action>.gallery-brochure{grid-column:1;grid-row:auto;justify-self:stretch;width:100%;margin-top:2px}
}
/* One editorial highlights block, followed by the separate project introduction. */
.rich-page .studio-info>.opening-feature{display:block;margin:30px 0 0;padding:34px clamp(24px,3vw,44px);background:var(--rich-wash)}
.opening-feature .highlight-layout{width:100%;max-width:none;margin-inline:0;min-width:0;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(28px,4vw,56px)}
.opening-feature .highlight-layout>figure{grid-column:2;grid-row:1;min-width:0}
.opening-feature .highlight-layout>figure img{display:block;width:100%;height:auto;max-height:430px;object-fit:contain}
.opening-feature .highlight-copy{grid-column:1;grid-row:1;min-width:0}
.opening-feature .highlight-copy h2{margin:0 0 24px;font-size:clamp(30px,2.8vw,42px)}
.opening-feature .highlight-copy dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 26px}
.opening-feature .highlight-copy dl>div{min-width:0}
.opening-feature .highlight-copy dt{font-size:clamp(23px,2vw,28px)}
.opening-feature .highlight-copy dd{font-size:14px;line-height:1.5}
@media(min-width:701px) and (max-width:1000px){
 .opening-feature .highlight-layout{display:block}
 .opening-feature .highlight-layout>figure{display:none}
}
@media(max-width:700px){
 .rich-page .studio-info>.opening-feature{display:block;margin:22px -18px 22px;padding:22px 18px}
 .opening-feature .highlight-layout{display:block}
 .opening-feature .highlight-layout>figure{display:none}
 .opening-feature .highlight-copy h2{display:flex;align-items:baseline;gap:8px;font-size:25px;margin:0 0 17px}
 html[data-project="vista"] .opening-feature .highlight-prefix{display:inline;margin:0;font-size:1.12em}
 .opening-feature .highlight-copy dl{gap:15px 18px}
 .opening-feature .highlight-copy dl>div{display:grid;grid-template-columns:20px minmax(0,1fr);gap:6px 8px;align-content:start;padding-left:0;padding-top:11px}
 .opening-feature .highlight-copy dl svg{position:static;width:20px;height:20px;margin-top:2px}
 .opening-feature .highlight-copy dt{font-size:21px;line-height:1.2}
 .opening-feature .highlight-copy dd{grid-column:1/-1;font-size:12px;line-height:1.45;margin:0}
}
/* Four equal facts after the banner, without inherited two-column subgrids. */
body.rich-page .studio-info .hero-essentials.summary-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:none;gap:14px;align-items:stretch;min-width:0;margin:0}
.summary-tiles .summary-tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0;min-height:148px;padding:22px 24px;border:1px solid var(--rich-line);border-radius:5px;background:color-mix(in srgb,var(--rich-wash) 65%,white);text-align:left}
.summary-tiles .summary-label{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:var(--project-deep,var(--ink));font:600 17px/1.4 var(--lp-body,var(--body));letter-spacing:0}
.summary-tiles .summary-label svg{display:block;width:20px;height:20px;stroke-width:1.8;flex:none}
.summary-tiles .summary-project .summary-label{font-size:19px;font-weight:700;letter-spacing:.055em}
body.rich-page .studio-info .summary-project h1{margin:0;font-size:clamp(29px,2.2vw,36px);line-height:1.12;letter-spacing:-.035em;text-align:left}
.summary-tiles .summary-value{display:block;color:var(--rich-ink);font:650 clamp(20px,1.6vw,25px)/1.3 var(--lp-body,var(--body));letter-spacing:-.02em;overflow-wrap:normal}
.summary-tiles .summary-detail{display:block;margin-top:6px;color:var(--muted);font:500 16px/1.4 var(--lp-body,var(--body))}
.summary-tiles .summary-price .price{font-size:clamp(29px,2.4vw,38px);font-weight:750;line-height:1.15;letter-spacing:-.035em;white-space:nowrap}
.summary-tiles .price sup{font-size:.55em;vertical-align:super;line-height:0}
@media(max-width:1099px){
 body.rich-page .studio-info .hero-essentials.summary-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .summary-tiles .summary-tile{min-height:136px;padding:20px 22px}
 body.rich-page .studio-info .summary-project h1{font-size:30px}
 .summary-tiles .summary-value{font-size:23px}
 .summary-tiles .summary-price .price{font-size:32px}
}
@media(max-width:700px){
 body.rich-page .studio-info .hero-essentials.summary-tiles{gap:10px}
 .summary-tiles .summary-tile{min-height:123px;padding:15px 14px}
 .summary-tiles .summary-label{font-size:15px;gap:6px;margin-bottom:10px}
 .summary-tiles .summary-label svg{width:17px;height:17px}
 .summary-tiles .summary-project .summary-label{font-size:17px;letter-spacing:.035em}
 .summary-tiles .summary-project .summary-label span{white-space:normal}
 body.rich-page .studio-info .summary-project h1{font-size:25px}
 .summary-tiles .summary-value{font-size:18px;line-height:1.3}
 .summary-tiles .summary-detail{font-size:15px;margin-top:5px;line-height:1.35}
 .summary-tiles .summary-price .price{font-size:clamp(23px,6.4vw,28px)}
}
/* Legacy Beach components predate the approved Manrope system. */
[data-project="beach"] .rich-page :is(.township-stats strong,.township-stats strong span,.township-map-heading h3,.township-place h4,#location h2,.address-panel h3,.footer-brand .brand-name,.footer-brand .brand-name small,.enquiry-art h3,.enquiry-art h3 span){font-family:Manrope,Arial,sans-serif!important}

/* Readable content at every breakpoint; approved font families stay unchanged. */
body.rich-page{--reading-body:17px;--reading-support:15px;--reading-control:15px}
body.rich-page :is(.rich-heading>p,.section-title>p,.overview-story-copy>p:not(.eyebrow),.builder-copy>p:not(.eyebrow),.amenity-copy>p:not(.eyebrow),.explorer-heading>div>p:not(.eyebrow),.visit-invitation .rich-wrap>div>p:not(.eyebrow)){font-size:var(--reading-body);line-height:1.65}
body.rich-page :is(.rich-heading,.section-title,.overview-story-copy,.builder-copy,.explorer-heading,.inline-visit-heading) .eyebrow{font-size:12px;line-height:1.5}
body.rich-page :is(.hero-highlights,.opening-feature .highlight-copy) dd{font-size:var(--reading-support);line-height:1.55}
body.rich-page .hero-highlights .stat-unit{font-size:14px}
body.rich-page .banner-controls button{font-size:var(--reading-control)}
body.rich-page :is(.rich-button,.gallery-filters button,.inline-home-options button){font-size:var(--reading-control);line-height:1.4}
/* Explicit text colours prevent iOS from painting native BHK buttons blue. */
body.rich-page :is(.unlock-options,.configuration,.inline-home-options,.popup-config,.explorer-enquiry-config) button{appearance:none;-webkit-appearance:none;-webkit-text-fill-color:currentColor;-webkit-tap-highlight-color:transparent}
body.rich-page :is(.unlock-options,.configuration,.inline-home-options,.popup-config,.explorer-enquiry-config) button:not([aria-pressed="true"]){color:var(--rich-ink,#231f20)}
body.rich-page .rich-button>span{font-size:inherit}
body.rich-page .hero-form .configuration button{font-size:14px}
body.rich-page .inline-visit-heading>p:last-child{font-size:16px;line-height:1.55}
body.rich-page #prices thead th{font-size:14px;line-height:1.4}
body.rich-page #prices :is(thead small,.price-project small,.price-starting small){font-size:14px;line-height:1.4}
body.rich-page #prices :is(tbody th small,tbody td>span){font-size:14px;line-height:1.5;text-wrap:balance}
body.rich-page #prices td:last-child .button{font-size:var(--reading-control)!important;line-height:1.3}
body.rich-page #prices td:last-child .button>span{font-size:inherit}
body.rich-page #prices :is(.price-expand,.fineprint){font-size:14px;line-height:1.5}
body.rich-page #plans[data-plan-presentation] :is(.plan-card-copy p,.plan-card-copy .plan-measurements strong){font-size:15px;line-height:1.5}
body.rich-page #plans[data-plan-presentation] .plan-card-copy .eyebrow{font-size:13px}
body.rich-page #plans[data-plan-presentation] :is(.plan-shortcuts button,.all-plans-action .rich-button){font-size:var(--reading-control)}
body.rich-page .gallery-caption-title{font-size:18px;line-height:1.4}
body.rich-page :is(.gallery-caption-note,.highlight-layout figcaption,.visit-invitation figcaption){font-size:13px;line-height:1.45}
body.rich-page :is(.story-card>p,.builder-stats span){font-size:var(--reading-support);line-height:1.5}
body.rich-page .video-play-overlay>strong{font-size:var(--reading-control)}
body.rich-page #location[data-location-polish] :is(.map-switcher>[role=tablist]>button,[data-location-destinations]>[role=tablist]>button){font-size:var(--reading-control);line-height:1.4}
body.rich-page #location[data-location-polish] :is(.location-tabs li,.landmark-row,.landmark-row dt){font-size:var(--reading-body);line-height:1.5}
body.rich-page #location[data-location-polish] .location-tabs li strong{font-size:var(--reading-body)}
body.rich-page #location[data-location-polish] :is(.landmark-row dd>span,.landmark-row .landmark-adjacent,[data-location-address] p){font-size:var(--reading-support);line-height:1.5}
body.rich-page #location[data-location-polish] [data-location-address] h3{font-size:17px}
body.rich-page #location[data-location-polish] [data-location-destinations]>:is(.rich-note,.fineprint){font-size:14px;line-height:1.6}
body.rich-page :is(.amenity-tabs button,.amenities-complete>summary,.all-amenities summary){font-size:var(--reading-control);line-height:1.5}
body.rich-page :is(.amenity-tabs button,.amenity-copy li)>span{font-size:inherit}
body.rich-page :is(.amenity-copy li,.all-amenities ul,.all-amenities li){font-size:var(--reading-support);line-height:1.55}
body.rich-page #faq[data-faq-polish] .rich-heading>p{font-size:var(--reading-body)}
body.rich-page #faq[data-faq-polish] summary{font-size:17px}
body.rich-page #faq[data-faq-polish] details>p{font-size:16px;line-height:1.7}
body.rich-page :is(.explorer-meta,.explorer-card-note,.explorer-count,.explorer-carousel-controls>p,.explorer-facts>span){font-size:var(--reading-support);line-height:1.5}
body.rich-page :is(.explorer-views button,.explorer-actions button,.explorer-card-map,.explorer-filter-toggle,.explorer-map-footer button){font-size:var(--reading-control);line-height:1.4}
body.rich-page .explorer-card-status{font-size:12px;line-height:1.5;flex-wrap:wrap}
body.rich-page .explorer-card-status small{font-size:12px}
body.rich-page .explorer-search input,body.rich-page .explorer-filters select{font-size:16px}
body.rich-page .explorer-filters label{font-size:14px}
body.rich-page .explorer-card-body{min-width:0}
body.rich-page .explorer-actions{margin-top:auto}
body.rich-page .studio-footer :is(p,a){font-size:var(--reading-support);line-height:1.6}
body.rich-page .studio-footer :is(.footer-terms p,.footer-rera){font-size:14px;overflow-wrap:anywhere}
body.rich-page .footer-credit span{font-size:15px}
@media(max-width:700px){
 body.rich-page{--reading-body:16px;--reading-support:14px;--reading-control:14px}
 body.rich-page #prices :is(th,td){padding:13px 6px}
 body.rich-page #prices thead th{font-size:13px}
 body.rich-page #prices thead th:nth-child(1){width:37%}
 body.rich-page #prices thead th:nth-child(2){width:28%}
 body.rich-page #prices thead th:nth-child(3){width:35%}
 body.rich-page #prices td:last-child .button{padding:11px 4px;min-width:0;min-height:44px;gap:0}
 body.rich-page #prices td:last-child .button svg{display:none}
 body.rich-page .gallery-caption-title{font-size:16px}
 body.rich-page #location[data-location-polish] .location-tabs li strong{max-width:110px}
 body.rich-page #location[data-location-polish] [data-location-destinations]>[role=tablist]>button{white-space:normal}
 body.rich-page #location[data-location-polish] [data-location-address]>div{display:block}
 body.rich-page #location[data-location-polish] [data-location-address] p{max-width:none;margin-top:7px}
 body.rich-page .explorer-actions button{padding-inline:7px;gap:6px}
 body.rich-page #faq[data-faq-polish] summary{font-size:16px}
}
@media(max-width:360px){
 [data-project="beach"] body.rich-page #prices td:last-child{padding-inline:1px}
}

/* A fixed drawing viewer opened through explicit plan controls on all devices. */
body.rich-page #plans .plan-preview{position:relative;border:1px solid var(--rich-line);border-radius:4px;color:var(--rich-ink);font:inherit}
body.rich-page #plans .plan-view-button{display:inline-flex;position:absolute;right:10px;bottom:10px;width:40px;height:40px;min-height:0;padding:0;margin:0;align-items:center;justify-content:center;border:0;border-radius:4px;box-shadow:none;z-index:1;-webkit-tap-highlight-color:transparent}
body.rich-page #plans .plan-view-button svg{width:19px;height:19px;flex:none;margin:0}
body.rich-page #plans .plan-view-button:focus:not(:focus-visible){outline:none;box-shadow:none}
body.rich-page #plans .plan-view-button:focus-visible{outline:2px solid currentColor;outline-offset:-5px}
@media(min-width:1024px) and (hover:hover) and (pointer:fine){body.rich-page #plans .plan-view-button{display:inline-flex}}
body.rich-page #plan-viewer{box-sizing:border-box;width:min(1400px,94vw);max-width:calc(100vw - 24px);height:min(920px,90dvh);max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid var(--rich-line);border-radius:12px;background:var(--rich-paper,#fffdf9);color:var(--rich-ink);overflow:hidden;font-family:var(--lp-body);box-shadow:0 20px 80px #0005}
body.rich-page #plan-viewer::backdrop{background:#111c}
#plan-viewer .plan-viewer-shell{display:flex;flex-direction:column;height:100%;min-height:0}
#plan-viewer .plan-viewer-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 26px;border-bottom:1px solid var(--rich-line);flex:none}
#plan-viewer .plan-viewer-project{margin:0 0 5px;font-size:14px;font-weight:600;color:var(--rich-label,var(--rich-ink))}
#plan-viewer h2{font:600 clamp(22px,2.3vw,32px)/1.15 var(--lp-heading);margin:0}
#plan-viewer button{cursor:pointer;font-family:var(--lp-body)}
#plan-viewer svg{width:22px;height:22px;flex:none}
#plan-viewer .plan-viewer-close,#plan-viewer .plan-viewer-zoom{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:1px solid var(--rich-line);background:#fff;color:var(--rich-ink);border-radius:6px;font-size:15px;font-weight:600}
#plan-viewer .plan-viewer-close{width:46px;flex:none}
#plan-viewer .plan-viewer-media{position:relative;flex:1;min-height:0;background:#fff;margin:12px 24px}
#plan-viewer .plan-viewer-stage{position:absolute;inset:0 48px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#plan-viewer .plan-viewer-canvas{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
#plan-viewer .plan-viewer-canvas img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;flex:none;user-select:none;-webkit-user-drag:none}
#plan-viewer .plan-viewer-canvas img[hidden]{display:none}
#plan-viewer .plan-viewer-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:var(--rich-accent);color:#fff;box-shadow:0 2px 10px #0003;z-index:1}
#plan-viewer .plan-viewer-prev{left:0}
#plan-viewer .plan-viewer-prev svg{transform:rotate(180deg)}
#plan-viewer .plan-viewer-next{right:0}
#plan-viewer .plan-viewer-arrow[hidden]{display:none}
#plan-viewer .plan-viewer-status{position:absolute;inset:50% 55px auto;transform:translateY(-50%);margin:0;text-align:center;font-size:16px;line-height:1.5}
#plan-viewer .plan-viewer-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px 26px;border-top:1px solid var(--rich-line);flex:none}
#plan-viewer .plan-viewer-count{margin:0;font-size:15px;font-weight:700}
#plan-viewer .plan-viewer-detail{margin:3px 0 0;font-size:15px;line-height:1.45;white-space:pre-line}
#plan-viewer .plan-viewer-detail:empty{display:none}
#plan-viewer .plan-viewer-zoom{padding:0 14px;white-space:nowrap}
#plan-viewer .plan-viewer-download{display:flex;gap:9px;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px 20px;font-size:15px;white-space:nowrap}
#plan-viewer button:focus-visible,#plan-viewer .plan-viewer-stage:focus-visible{outline:3px solid var(--rich-accent);outline-offset:2px}
#plan-viewer button:disabled{opacity:.5;cursor:wait}
body[data-project=beach] #plan-viewer .plan-viewer-arrow,html[data-project=beach] #plan-viewer .plan-viewer-arrow{color:#111}
@media(max-width:700px){
 body.rich-page #plan-viewer{width:calc(100vw - 16px);max-width:none;height:calc(100dvh - 16px);max-height:none;border-radius:10px}
 #plan-viewer .plan-viewer-header{padding:14px 16px;gap:12px}
 #plan-viewer .plan-viewer-project{font-size:13px}
 #plan-viewer h2{font-size:23px}
 #plan-viewer .plan-viewer-media{margin:8px 4px}
 #plan-viewer .plan-viewer-stage{inset:0 8px}
 #plan-viewer .plan-viewer-arrow{width:44px;height:44px}
 #plan-viewer .plan-viewer-footer{padding:12px 14px max(14px,env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}
 #plan-viewer .plan-viewer-detail{font-size:13px;line-height:1.4}
 #plan-viewer .plan-viewer-download{grid-column:1/-1;width:100%;font-size:15px;padding:10px}
 #plan-viewer .plan-viewer-zoom{padding:0 10px;font-size:14px}
}
@media(max-height:480px) and (min-width:701px){
 #plan-viewer .plan-viewer-header{padding:8px 18px}
 #plan-viewer h2{font-size:22px}
 #plan-viewer .plan-viewer-footer{padding:8px 18px}
 #plan-viewer .plan-viewer-media{margin-block:4px}
}

#plan-viewer .plan-viewer-footer{background:var(--rich-ink);color:#fff}
#plan-viewer.is-zoomed .plan-viewer-stage{cursor:grab}
#plan-viewer.is-zoomed .plan-viewer-stage:active{cursor:grabbing}
@media(max-width:700px){
 body.rich-page #plan-viewer{height:fit-content;max-height:calc(100dvh - 16px)}
 #plan-viewer .plan-viewer-shell{height:auto;max-height:calc(100dvh - 18px)}
 #plan-viewer .plan-viewer-media{flex:0 1 auto;height:min(55dvh,max(240px,calc((100vw - 42px) * var(--plan-ratio,.75))))}
 body.rich-page #plan-viewer.is-zoomed{height:calc(100dvh - 16px)}
 #plan-viewer.is-zoomed .plan-viewer-shell{height:100%}
 #plan-viewer.is-zoomed .plan-viewer-media{flex:1}
}
#plan-viewer .plan-viewer-footer p{color:inherit}
#plan-viewer .plan-viewer-download{background:var(--rich-accent);border:1px solid var(--rich-accent);color:var(--button-text,#fff)}
html[data-project=beach] #plan-viewer .plan-viewer-download{color:#111}

/* Whole source images, and category shortcuts into one unchanged gallery rail. */
.rich-page .gallery-shortcuts{display:flex;gap:28px;align-items:center;border-bottom:1px solid var(--rich-line);margin:0 0 24px;overflow-x:auto;scrollbar-width:none}
.rich-page .gallery-shortcuts button{flex:none;min-height:48px;padding:10px 2px;background:transparent;border:0;border-bottom:3px solid transparent;color:var(--rich-muted,var(--rich-ink));font:inherit;font-size:16px;font-weight:600;white-space:nowrap}
.rich-page .gallery-shortcuts button[aria-pressed=true]{border-bottom-color:var(--rich-accent);color:var(--rich-ink)}
.rich-page .gallery-shortcuts button:focus-visible{outline:2px solid var(--rich-accent);outline-offset:-4px}
html .rich-page [data-gallery-browse] .rich-photo>img[data-media-fit=complete]{width:100%;aspect-ratio:3/2;object-fit:contain;object-position:center;background:var(--rich-paper,#f4f2ed)}
html .rich-page .amenity-panels>[role=tabpanel]{grid-template-columns:1fr 1fr}
html .rich-page .amenity-visual{height:420px;align-self:center;background:var(--rich-paper,#f4f2ed)}
html .rich-page .amenity-visual img[data-media-fit=complete]{width:100%;height:100%;min-height:0;max-height:none;object-fit:contain;object-position:center}
@media(max-width:1000px){html .rich-page .amenity-panels>[role=tabpanel]{grid-template-columns:1fr}html .rich-page .amenity-visual{height:360px}}
@media(max-width:700px){
 .rich-page .gallery-shortcuts{gap:22px;margin-bottom:18px}
 .rich-page .gallery-shortcuts button{font-size:15px}
 html .rich-page .amenity-visual{height:270px}
}

/* Preserve the full amenity photograph without a fixed-height letterbox. */
html body.rich-page .amenity-visual{height:auto;max-height:none;background:var(--rich-wash);align-self:center}
html body.rich-page .amenity-visual img[data-media-fit=complete]{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}
@media(max-width:1000px){html body.rich-page .amenity-visual img[data-media-fit=complete]{max-height:360px}}
@media(max-width:700px){html body.rich-page .amenity-visual img[data-media-fit=complete]{max-height:320px}}

/* Pointer selection must not draw a keyboard outline around a whole carousel. */
html[data-carousel-input=pointer] body.rich-page :is(.rich-rail,.mana-loop-rail,.explorer-rail,.gallery-track,#render-rail):focus{outline:none!important;box-shadow:none}
.rich-page :is(.rich-rail,.mana-loop-rail,.explorer-rail,.gallery-track,#render-rail){-webkit-tap-highlight-color:transparent}
body.rich-page [data-lightbox-disabled]{cursor:default!important;-webkit-tap-highlight-color:transparent}
body.rich-page #plans [data-plan-open][data-lightbox-disabled]::after{display:none}
/* Fixed desktop media frames: only their contained images change dimensions. */
@media(min-width:1024px){
 body.rich-page #plan-viewer,body.rich-page dialog#gallery{position:fixed;inset:0;transform:none!important;margin:auto!important;width:min(1400px,94vw);height:min(920px,90dvh);max-width:none;max-height:none;padding:0;animation:none;transition:none}
 #plan-viewer .plan-viewer-shell{display:grid;grid-template-rows:110px minmax(0,1fr) 112px;height:100%}
 #plan-viewer .plan-viewer-header{position:static;min-height:0;overflow:hidden}
 #plan-viewer .plan-viewer-header>div{min-width:0}
 #plan-viewer .plan-viewer-header h2{font-size:28px}
 #plan-viewer .plan-viewer-footer{min-height:0}
 #plan-viewer .plan-viewer-info{max-height:100%;overflow:auto}
 #plan-viewer .plan-viewer-status{background:#fffffff2;padding:12px;border-radius:4px}
 body.rich-page dialog#gallery{border:1px solid #ffffff30;border-radius:10px;background:#171717;overflow:hidden}
 body.rich-page dialog#gallery .lightbox-shell{width:100%;height:100%;max-height:none;margin:0;display:grid;grid-template-rows:64px minmax(0,1fr) 76px;border:0;border-radius:0;animation:none;transition:none}
 body.rich-page dialog#gallery .lightbox-stage>button{top:50%}
 body.rich-page dialog#gallery .lightbox-stage{position:relative;min-height:0;height:100%;padding:12px 70px;overflow:hidden}
 body.rich-page dialog#gallery .lightbox-stage img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;animation:none;transition:none}
 body.rich-page dialog#gallery .lightbox-bottom{display:flex;justify-content:center;align-items:center;min-height:0;padding:12px 26px;overflow:auto}
}
@media(min-width:1024px) and (max-height:650px){#plan-viewer .plan-viewer-shell{grid-template-rows:88px minmax(0,1fr) 96px}}

/* Photo richness from Deepak's customstyler.css; keep logos, drawings and map tiles original. */
body.rich-page :is(.approved-frame,.rich-photo,.overview-story-art,.source-homes-art,.overview-aerial,.neighbourhood-card,.amenity-visual,.explorer-card-photo,.enquiry-art,#highlights figure,#visit,#film,#testimonials,#builder .film-poster,dialog#gallery .lightbox-stage) img{filter:saturate(1.2) contrast(1.1) brightness(1.05)}

/* Four useful facts: readable labels, compact values and aligned supporting lines. */
body.rich-page .studio-info .hero-essentials.summary-tiles{grid-template-columns:1.05fr 1.4fr 1fr .9fr}
body.rich-page .summary-tiles .summary-tile{display:grid;grid-template-rows:24px minmax(34px,1fr) auto;align-items:start;gap:10px;min-height:142px;padding:20px}
body.rich-page .summary-tiles .summary-label,body.rich-page .summary-tiles .summary-project .summary-label{margin:0;font-size:16px;line-height:24px;letter-spacing:0}
body.rich-page .studio-info .summary-tiles :is(h1,.summary-value,.summary-price .price){font-size:24px;line-height:1.25;align-self:center;margin:0;font-weight:650;letter-spacing:-.025em;white-space:normal}
body.rich-page .studio-info .summary-tiles .summary-location .summary-value{font-size:clamp(19px,1.65vw,24px);white-space:nowrap}
body.rich-page .summary-tiles .summary-detail{font-size:14px;line-height:1.4;margin:0}
@media(max-width:1100px){
 body.rich-page .studio-info .hero-essentials.summary-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.rich-page .studio-info .summary-tiles .summary-location .summary-value{font-size:24px;white-space:normal}
}
@media(max-width:700px){
 body.rich-page .summary-tiles .summary-tile{padding:15px 13px;gap:8px;min-height:152px;grid-template-rows:22px minmax(48px,1fr) auto}
 body.rich-page .summary-tiles .summary-label,body.rich-page .summary-tiles .summary-project .summary-label{font-size:14px;line-height:22px}
 body.rich-page .studio-info .summary-tiles :is(h1,.summary-value,.summary-price .price),body.rich-page .studio-info .summary-tiles .summary-location .summary-value{font-size:clamp(18px,4.4vw,20px);line-height:1.25}
 body.rich-page .summary-tiles .summary-detail{font-size:13px;line-height:1.45}
}
/* Equal-height gallery frames. Portrait and panoramic images retain every edge. */
html body.rich-page [data-gallery-browse] .gallery-media{position:relative;aspect-ratio:8/5;overflow:hidden;background:var(--rich-wash);isolation:isolate}
html body.rich-page [data-gallery-browse] .gallery-media>img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;background:transparent!important;z-index:1}
html body.rich-page [data-gallery-browse] .gallery-media[data-frame-fit=complete]>img{object-fit:contain!important}
html body.rich-page [data-gallery-browse] .gallery-media[data-frame-fit=complete]::before{content:'';position:absolute;inset:-22px;background-image:var(--gallery-backdrop);background-size:cover;background-position:center;filter:blur(20px) brightness(.8);opacity:.7;z-index:0}
/* Visible but restrained hover feedback, with no moving target or image zoom. */
@media(hover:hover) and (pointer:fine){
 body.rich-page :is(.rich-button,.header-visit,.explorer-actions button,.button[data-enquire]){transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,filter .18s ease}
 body.rich-page :is(.rich-button,.header-visit,.explorer-actions button,.button[data-enquire]):hover{filter:brightness(.91);box-shadow:none;transform:none}
 html body.rich-page :is(.rich-button,.header-visit,.button[data-enquire]):hover{background:var(--rich-accent);border-color:var(--rich-accent);color:var(--button-text,#fff)}
 html[data-project=beach] body.rich-page :is(.rich-button,.header-visit,.button[data-enquire]):hover{color:#171717}
}
@media(prefers-reduced-motion:reduce){body.rich-page :is(.rich-button,.header-visit,.explorer-actions button,.button[data-enquire]){transition:none}}
/* Keep compact-phone facts to a calm two-line rhythm without shrinking form text. */
@media(max-width:360px){body.rich-page .studio-info .summary-tiles :is(h1,.summary-value,.summary-price .price),body.rich-page .studio-info .summary-tiles .summary-location .summary-value{font-size:18px;line-height:1.3}}

/* White navigation needs dark text, including Beach's yellow-accent theme. */
html[data-project=beach] body.rich-page header nav a:is(:hover,:focus-visible){color:#171717;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
html[data-project=beach] body.rich-page header nav a[aria-current=location]{color:#171717}
html[data-project=beach] body.rich-page header nav a[aria-current=location]::after{background:#171717}

/* Mobile gallery hierarchy: heading, categories, photographs, then brochure. */
body.rich-page section .gallery-footer-action{display:none}
@media(max-width:700px){
 body.rich-page section .gallery-header-action>.gallery-brochure{display:none}
 body.rich-page section .gallery-footer-action{display:flex;margin-top:24px}
 body.rich-page section .gallery-footer-action>.gallery-brochure{width:100%;min-height:48px;margin:0;justify-content:center}
}

/* Compact two-column summaries share text rows instead of stretching empty space. */
@media(max-width:1100px){
 body.rich-page .summary-tiles .summary-tile{grid-row:span 3;grid-template-rows:subgrid;row-gap:8px;min-height:0;padding:16px}
 body.rich-page .studio-info .summary-tiles :is(h1,.summary-value,.summary-price .price){align-self:start}
}
@media(max-width:700px){
 body.rich-page .summary-tiles .summary-tile{padding:14px 13px}
}

/* Amenities use spacing instead of stacked divider rules. */
body.rich-page #amenities .amenities-complete{margin-top:24px;border:0}
body.rich-page #amenities .amenities-complete>summary{display:inline-flex;justify-content:flex-start;gap:12px;min-height:46px;padding:6px 0;color:var(--rich-ink)}
body.rich-page #amenities .amenities-complete>summary::after{content:'+';font-size:22px;font-weight:400;line-height:1}
body.rich-page #amenities .amenities-complete[open]>summary::after{content:'−'}
body.rich-page #amenities .all-amenities{margin:8px 0 0;padding:0;border:0}
body.rich-page #amenities .all-amenities details{border:0;margin:0}
body.rich-page #amenities .all-amenities summary{min-height:48px;padding:12px 0;gap:14px}
body.rich-page #amenities .all-amenities summary::-webkit-details-marker{display:none}
body.rich-page #amenities .all-amenities summary::after{margin-left:4px}
body.rich-page #amenities .all-amenities summary svg{color:var(--rich-label)}
body.rich-page #amenities .all-amenities ul{padding:2px 0 18px 36px;gap:10px 30px;color:var(--muted)}
body.rich-page #amenities .amenities-complete summary:focus:not(:focus-visible){outline:none}
body.rich-page #amenities .amenities-complete summary:focus-visible{outline:2px solid var(--rich-label);outline-offset:3px}

/* One aligned invitation, with the elevation leading the reading order. */
body.rich-page #visit{padding:48px 0}
body.rich-page #visit>.rich-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:center}
body.rich-page #visit figure{margin:0;min-width:0}
body.rich-page #visit figure img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:var(--source-ratio);object-fit:contain}
body.rich-page #visit .visit-invitation-copy{min-width:0;max-width:580px;padding:0}
body.rich-page #visit .visit-invitation-copy>.eyebrow{margin:0 0 12px}
body.rich-page #visit h2{font-size:clamp(30px,3.2vw,46px);line-height:1.15;margin:0 0 18px;text-wrap:balance}
body.rich-page #visit .visit-invitation-copy>p:not(.eyebrow){margin:0;max-width:43ch}
body.rich-page #visit .visit-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:480px;margin-top:24px}
body.rich-page #visit .visit-actions .rich-button{min-width:0;min-height:46px;padding:11px 10px;font-size:15px;line-height:1.35;gap:7px;white-space:normal;justify-content:center;border:0;box-shadow:none}
body.rich-page #visit .visit-actions .rich-button svg{width:18px;height:18px;flex:none}
body.rich-page #visit .visit-actions [data-enquire="brochure"]{background:#000;color:#fff}
body.rich-page #visit .visit-actions .rich-button:focus:not(:focus-visible){outline:none;box-shadow:none}
body.rich-page #visit .visit-actions .rich-button:focus-visible{outline:2px solid var(--rich-label);outline-offset:3px}
@media(hover:hover) and (pointer:fine){body.rich-page #visit .visit-actions [data-enquire="brochure"]:hover{background:#252525;color:#fff}}
@media(max-width:900px){
 body.rich-page #visit>.rich-wrap{grid-template-columns:minmax(0,1fr);gap:26px}
 body.rich-page #visit .visit-invitation-copy{max-width:none}
 body.rich-page #visit h2{font-size:clamp(30px,4.5vw,40px)}
}
@media(max-width:600px){
 body.rich-page #amenities .all-amenities ul{grid-template-columns:minmax(0,1fr);gap:9px;padding-bottom:18px}
 body.rich-page #visit{padding:32px 0}
 body.rich-page #visit .visit-actions{gap:8px;margin-top:20px}
 body.rich-page #visit .visit-actions .rich-button{font-size:14px;padding:10px 8px;gap:6px}
 body.rich-page #visit .visit-actions .rich-button svg{width:16px;height:16px}
}
@media(max-width:400px){body.rich-page #visit .visit-actions{grid-template-columns:minmax(0,1fr)}body.rich-page #visit .visit-actions .rich-button{font-size:15px}}

/* Pointer/touch section navigation keeps the project heading free of a focus ring. */
html[data-carousel-input="pointer"] body.rich-page #explorer-title:focus{outline:none!important}
