/* Pérola: editorial coastal layout. Existing interaction hooks remain unchanged. */
:root{--container:1440px;--radius:14px}
html{scroll-padding-top:110px}
.site-header{border-bottom:0;box-shadow:none}
.header-inner{gap:26px;min-height:86px}
.brand img{max-width:170px;max-height:66px}
@media(min-width:980px){.site-header .brand img{width:230px;max-width:230px;max-height:100px;height:auto;object-fit:contain}}
.primary-nav{gap:clamp(12px,1.4vw,22px)}
.primary-nav a{font-size:.9rem;letter-spacing:.015em;text-transform:none;font-weight:700}
.header-actions{gap:8px}
.header-action,.drawer-toggle{width:42px;height:42px;min-height:42px;border-width:1px;border-radius:50%}
.drawer-nav .icon{color:currentColor}
.perola-home{background:var(--white)}
.perola-home .hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto auto;align-items:stretch;min-height:0;padding:0;background:var(--white);color:#fff;isolation:isolate}
.perola-hero-layout{grid-column:1;grid-row:1;position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:clamp(32px,6vw,90px);padding:calc(var(--site-header-height,86px) + 40px) 0 64px}
.perola-home .hero-message{width:100%;max-width:min(520px,56%);padding:30px 0;gap:22px;text-align:right}
:root:not([data-theme=dark]) .perola-home .hero-message{--brand-text:var(--accent-text)}
.perola-home .hero-message h1,.perola-home .hero-message p{color:#fff}
.perola-home .hero-message .eyebrow{display:flex;align-items:center;justify-content:flex-end;gap:14px;color:var(--brand-text);font-size:.9rem;letter-spacing:.16em}
.perola-label-line{width:36px;height:1px;background:currentColor}
.perola-home .hero h1{max-width:650px;margin:0;font-family:Manrope,system-ui,sans-serif;font-size:clamp(2.65rem,4.6vw,4.5rem);font-weight:550;line-height:1.06;letter-spacing:-.065em}
.perola-home .hero h1 em{font-family:Georgia,serif;font-weight:400;color:var(--brand-text)}
.perola-home .hero-message .hero-copy{font-size:clamp(.94rem,1.2vw,1.08rem);color:rgba(255,255,255,.88);line-height:1.85;letter-spacing:0}
.perola-hero-ai-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;width:fit-content;max-width:100%;min-height:60px;margin-top:6px;padding:15px 28px;border:1px solid color-mix(in srgb,var(--accent) 80%,#fff);border-radius:999px;background:var(--accent);box-shadow:0 12px 30px rgba(0,0,0,.24);color:#fff;font:inherit;font-size:.96rem;font-weight:800;cursor:pointer;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}
.perola-hero-ai-button:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 16px 36px rgba(0,0,0,.3)}
.perola-hero-ai-button .perola-ai-sparkles{width:28px;height:28px;overflow:visible}
.perola-ai-sparkles path{transform-box:fill-box;transform-origin:center}
.perola-ai-sparkles path:nth-child(1){animation:perola-ai-star-main 3.4s ease-in-out infinite}
.perola-ai-sparkles path:nth-child(2),.perola-ai-sparkles path:nth-child(3){animation:perola-ai-star-small 2.8s ease-in-out -.8s infinite}
.perola-ai-sparkles path:nth-child(4),.perola-ai-sparkles path:nth-child(5){animation:perola-ai-star-soft 3.8s ease-in-out -1.6s infinite}
@keyframes perola-ai-star-main{0%,100%{transform:scale(1);opacity:.85}45%{transform:scale(1.16);opacity:1}}
@keyframes perola-ai-star-small{0%,100%{transform:scale(.9);opacity:.7}50%{transform:scale(1.4);opacity:1}}
@keyframes perola-ai-star-soft{0%,100%{transform:scale(1.08);opacity:1}55%{transform:scale(.72);opacity:.65}}
.perola-hero-visual{grid-column:1;grid-row:1/3;position:relative;z-index:0;align-self:stretch;min-width:0;min-height:80vh;min-height:80svh;overflow:hidden;pointer-events:none;border-radius:0;background:#14251f}
.perola-hero-image{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}
.perola-hero-visual::after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(110deg,rgba(0,0,0,.2),rgba(0,0,0,.68));pointer-events:none}
/* The portrait shares the site's container and stays flush with the photo bottom. */
.perola-hero-person{position:absolute;z-index:2;inset:0;display:flex;align-items:flex-end;pointer-events:none}
.perola-hero-person-image{display:block;flex:0 1 auto;width:min(40%,550px);height:auto;max-height:calc(100% - var(--site-header-height,86px) - 24px);object-fit:contain;object-position:left bottom;transform:translate3d(var(--hero-person-shift,0px),0,0)}
@media(min-width:980px){.perola-hero-person-image{position:relative;left:-100px}}
@media(min-width:980px) and (prefers-reduced-motion:no-preference){
 .perola-hero-image{top:-64px;height:calc(100% + 128px);transform:translate3d(0,var(--hero-background-shift,0px),0);will-change:transform}
 .perola-hero-person-image{will-change:transform;transition:transform .35s ease-out}
}
@media(max-width:699px){
 .perola-home .perola-hero-layout{padding-bottom:clamp(240px,60vw,360px)}
 .perola-home .hero-message{max-width:100%}
 .perola-hero-person-image{width:min(72%,340px);max-height:58%}
}
@media(prefers-reduced-motion:reduce){.perola-hero-person-image{transform:none}}
/* The two auto rows share the search height: half over the photo, half below. */
.perola-search-wrap{grid-column:1;grid-row:2/4;position:relative;z-index:2;align-self:stretch;margin-top:0}
.perola-home .perola-search-wrap[hidden]{display:none}
.perola-hero-filter-toggle{display:none}
@media(max-width:699px){
 .perola-home .hero-message>.eyebrow{display:none}
 .perola-hero-filter-toggle:not([hidden]){display:inline-flex;align-items:center;justify-self:start;gap:6px;width:fit-content;min-height:44px;margin-top:-8px;padding:6px 0;border:0;background:transparent;color:#fff;font:inherit;font-size:.88rem;font-weight:550;line-height:1.4;cursor:pointer}
 .perola-hero-filter-toggle>span{text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.5)}
 .perola-hero-filter-toggle>.icon{width:16px;height:16px}
 .perola-hero-filter-toggle[aria-expanded=true]>.icon{transform:rotate(180deg)}
 .perola-hero-filter-toggle:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:3px}
}
.perola-search-card{min-width:0;padding:24px 28px;border-radius:16px;border:1px solid var(--line);background:var(--white);box-shadow:0 18px 45px rgba(0,0,0,.16)}
.perola-home .hero-search{display:flow-root;max-width:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;scroll-margin-top:110px}
.perola-home .hero-search[hidden]{display:none}
.perola-search-card>.perola-hero-ai-search{margin:0 0 18px}
.perola-search-card .perola-ai-bar{background:var(--paper);border-color:var(--line);box-shadow:none;color:var(--ink);color-scheme:inherit}
.perola-search-card .perola-ai-bar:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 22%,transparent)}
.perola-search-card .perola-hero-ai-search .perola-ai-entry input{color:var(--ink)}
.perola-search-card .perola-ai-placeholder,.perola-search-card .perola-ai-entry input::placeholder,.perola-search-card .perola-ai-status{color:var(--muted)}
.perola-search-card .perola-hero-filter-toggle{color:var(--brand-text)}
.perola-search-card .perola-hero-filter-toggle>span{text-decoration-color:currentColor}
.perola-search-card .perola-hero-filter-toggle:focus-visible{outline-color:var(--brand)}
.perola-home .hero-code-label{cursor:text}
.perola-home .hero-code-label:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 18%,transparent)}
.perola-home .hero-code-label input{width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:.9rem;font-weight:650;line-height:1.4;box-shadow:none}
.perola-home .hero-code-label input:focus,.perola-home .hero-code-label input:focus-visible{border:0!important;box-shadow:none!important;outline:0}
.perola-home .hero-code-label input::placeholder{color:var(--muted);opacity:1;font-weight:500}
.hero-search-fields{min-width:0;margin:0;padding:0;border:0}
.hero-search-fields[hidden]{display:none!important}
.multi-code-search .multi-code-help[hidden],.multi-code-search:has([data-code-add][hidden]) .multi-code-help{display:none!important}
.perola-home .search-filter-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.perola-home .has-purpose-filter .search-filter-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
.perola-home .has-purpose-filter[data-active-purpose=seasonal] .search-filter-grid{grid-template-columns:repeat(8,minmax(0,1fr))}
.perola-home .filter-trigger{min-height:66px;border-radius:9px;background:var(--paper);border-color:transparent;padding:10px 12px}
.perola-home .filter-trigger strong{font-size:.9rem}
.perola-home .filter-trigger small{font-size:.6rem;letter-spacing:.04em}
.perola-home .filter-trigger:hover,.perola-home .filter-trigger[aria-expanded=true]{border-color:var(--brand)}
.perola-home .search-submit{border-radius:9px;font-size:.83rem;min-height:66px}
.perola-home .filter-backdrop{background:rgba(4,10,8,.58);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.perola-intents{padding:clamp(54px,7vw,100px) 0}
.perola-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:32px}
.perola-section-heading .eyebrow,.perola-owner-section .eyebrow{color:var(--brand-text);font-size:.66rem;letter-spacing:.16em}
.perola-section-heading h2,.perola-owner-section h2{margin:0;color:var(--ink);font-size:clamp(1.8rem,3vw,2.7rem);font-weight:550;letter-spacing:-.055em;line-height:1.15}
.perola-section-heading>p{margin:0;color:var(--muted);font-size:.88rem;line-height:1.8}
.perola-intent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.perola-intent-card{min-width:0;padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink)}
.perola-intent-content{display:flex;flex-direction:column;align-items:flex-start;width:100%;min-width:0}
.perola-intent-card-with-image{display:grid;grid-template-columns:20% minmax(0,1fr);align-items:stretch;padding:0;overflow:hidden}
.perola-intent-card-with-image>.perola-intent-content{padding:28px}
.perola-intent-image{position:relative;display:block;min-width:0;overflow:hidden}
.perola-intent-image img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.perola-intent-top{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-bottom:10px}
.perola-intent-top .icon{flex:0 0 auto;width:25px;height:25px;color:var(--brand-text)}
.perola-intent-top h3{margin:0;font-size:clamp(1.25rem,1.9vw,1.65rem);font-weight:650;letter-spacing:-.035em;line-height:1.25;color:var(--ink)}
.perola-intent-content>p{margin:0 0 20px;color:var(--muted);font-size:.9rem;line-height:1.6}
.perola-intent-categories{display:flex;flex-wrap:wrap;gap:8px;width:100%}
.perola-intent-category{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:100%;min-height:40px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font-size:.84rem;font-weight:550;line-height:1.35;text-align:center;overflow-wrap:anywhere;transition:background-color .2s,color .2s,border-color .2s}
.perola-intent-category:hover{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 5%,transparent);color:var(--brand-text)}
.perola-intent-category:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.perola-intent-content>.perola-intent-empty{margin:0;padding-top:16px;border-top:1px solid var(--line);font-size:.86rem}
.perola-intent-mobile-link{display:none}
.perola-intent-annual{background:var(--white)}
:root:not([data-theme=dark]) .perola-intent-card{background:linear-gradient(120deg,#f2f2f2 0%,#fff 100%)}
[data-theme=dark] .perola-intent-category{background:transparent;color:var(--ink)}
[data-theme=dark] .perola-intent-category:hover{background:color-mix(in srgb,var(--brand) 8%,transparent);color:var(--ink)}
.perola-intent-grid:not(:has(>.perola-intent-card:nth-child(2))){grid-template-columns:1fr}
@media(max-width:999px){.perola-intent-grid{grid-template-columns:1fr}}
.perola-home .property-module,.perola-home .development-module{padding-block:64px}
.perola-home .module-heading h2,.perola-home .team-heading h2{font-size:clamp(1.8rem,3vw,2.8rem);font-weight:550;letter-spacing:-.055em}
.perola-home .module-subtitle{font-size:.67rem;letter-spacing:.14em}
.property-card{border-radius:12px;box-shadow:none}
/* Raised surfaces use the same paper color only in dark mode. */
:root[data-theme=dark] :is(.property-card,.search-sidebar){background:var(--paper)}
:root[data-theme=dark] :is(.search-map-dialog,.developments-map-dialog){border:1px solid var(--line)}
@media(max-width:850px){:root[data-theme=dark] :is(.search-filters-column,.search-sidebar-mobile-top){background:var(--paper)}}
.property-card:hover{box-shadow:0 12px 26px rgba(0,0,0,.085)}
.property-content{padding:20px}
.property-content h3{font-weight:600;letter-spacing:-.025em}
.perola-home .module-link{min-height:44px;border-radius:999px;padding-inline:25px;font-size:.81rem}
.perola-owner-section{padding:70px 0;background:var(--paper);border-block:1px solid var(--line)}
.perola-owner-layout{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:70px}
.perola-owner-layout>div:last-child{width:100%;max-width:none;justify-self:end;text-align:right}
.perola-owner-layout p:not(.eyebrow){margin:0 0 22px;color:var(--muted);font-size:.92rem;line-height:1.8}
.perola-solid-link{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:50px;padding:12px 24px;border:1px solid var(--brand);border-radius:999px;background:var(--brand);color:#fff;font-size:.81rem;font-weight:750}
.perola-solid-link:hover{background:transparent;color:var(--brand-text)}
.perola-home .team-section{padding-block:70px}
.site-footer{border-top:1px solid var(--line)}
.footer-content{padding-top:52px}
.footer-brand img{max-width:210px;max-height:100px}
:where(.perola-hero-ai-button,.perola-solid-link):focus-visible{outline:2px solid var(--brand);outline-offset:5px}
@media(max-width:1199px){
 .primary-nav{display:none}
 .header-navigation{flex:0 0 auto}
 .header-inner{justify-content:space-between}
 .perola-home .hero-search[data-active-purpose] .search-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .perola-home .has-purpose-filter .search-submit{grid-column:1/-1}
 .perola-home .has-purpose-filter[data-active-purpose=seasonal] .search-submit{grid-column:span 2}
 .perola-hero-layout{gap:35px}
 .perola-home .hero h1{font-size:clamp(2.7rem,5.5vw,4.1rem)}
}
@media(max-width:799px){
 .perola-home .hero{padding:0}
 .perola-hero-layout{gap:22px;padding:calc(var(--site-header-height,76px) + 36px) 0 44px}
 .perola-home .hero-message{padding:12px 0;gap:16px}
 .perola-home .hero h1{font-size:clamp(2.6rem,7.6vw,3.8rem)}
 .perola-home .hero-copy br{display:none}
 .perola-search-card{padding:20px}
 .perola-section-heading{align-items:flex-start;flex-direction:column;gap:15px}
 .perola-section-heading>p br{display:none}
 .perola-intents{padding:48px 0}
 .perola-owner-layout{grid-template-columns:1fr;gap:25px}
 .perola-owner-section{padding:48px 0}
 .perola-home .property-module,.perola-home .development-module,.perola-home .team-section{padding-block:45px}
}
@media(max-width:599px){
 .header-inner{min-height:74px;gap:12px}
 .brand img{max-width:145px;max-height:54px}
 .header-actions{gap:6px}
 .header-action,.drawer-toggle{width:38px;height:38px;min-height:38px}
 .perola-hero-ai-button{min-height:56px;padding:13px 24px;font-size:.9rem}
 .perola-home .hero-search[data-active-purpose] .search-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .perola-home .hero-search[data-active-purpose] .search-submit{grid-column:1/-1;min-height:50px}
 .perola-home .hero-code-control{grid-column:1/-1}
 .perola-home .has-purpose-filter .hero-code-control{grid-column:auto}
 .perola-home .hero-code-label input{font-size:16px}
 .perola-home .seasonal-filter{grid-column:1/-1}
 .perola-home .filter-trigger{min-height:64px}
 .perola-search-card{padding:18px 14px}
 .perola-home .hero-message .hero-copy{font-size:.9rem}
 .perola-intent-card{padding:24px}
 .perola-intent-card-with-image{grid-template-columns:minmax(72px,20%) minmax(0,1fr);padding:0}
 .perola-intent-card-with-image>.perola-intent-content{padding:20px 18px}
 .perola-intent-card-with-image .perola-intent-top{gap:12px;margin-bottom:10px}
 .perola-intent-category{min-height:44px;padding:9px 12px}
 .perola-intent-categories,.perola-intent-content>.perola-intent-empty{display:none}
 .perola-intent-mobile-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;color:var(--brand-text);font-size:.9rem;font-weight:650;line-height:1.4}
 .perola-intent-mobile-link>span{min-width:0}
 .perola-intent-mobile-link>.icon{flex:0 0 auto;width:18px;height:18px}
 .perola-intent-mobile-link:hover{color:var(--ink)}
 .perola-intent-mobile-link:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:4px}
 .perola-intent-grid{gap:14px}
 .perola-solid-link{width:100%;padding-inline:16px;gap:12px}
 .perola-home .filter-panel input,.perola-home .filter-panel textarea{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.perola-intent-category,.perola-hero-ai-button{transition:none}.perola-hero-ai-button:hover{transform:none}.perola-ai-sparkles path{animation:none;transform:none;opacity:1;filter:none}}

/* Center the desktop menu in the space between the brand and actions. */
@media(min-width:1200px){
 .header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto}
 .header-navigation{display:contents}
 .primary-nav{justify-self:center;margin:0;justify-content:center}
 .header-actions{justify-self:end}
}

.perola-hero-ai-button,.ai-search-panel [data-ai-search-submit]{color:#fff}

/* Inline hero AI search: normal filters and the results dialog stay independent. */
.perola-home .hero-message:has(.perola-hero-ai-search){width:100%;min-width:0}
.perola-hero-ai-search{width:100%;max-width:100%;min-width:0;margin:6px 0 0;color:#25364a;text-align:left}
.perola-ai-bar{display:flex;align-items:center;gap:12px;min-height:64px;width:100%;min-width:0;padding:8px 10px 8px 18px;border:1px solid rgba(25,55,85,.12);border-radius:14px;background:#fff;box-shadow:0 12px 34px rgba(0,0,0,.16);color:#25364a;color-scheme:light}
.perola-ai-mark{display:flex;flex:0 0 auto;align-items:center;color:var(--brand)}
.perola-ai-mark .perola-ai-sparkles{width:23px;height:23px;overflow:visible}
.perola-ai-entry{position:relative;flex:1 1 0;min-width:0}
.perola-hero-ai-search .perola-ai-entry input{display:block;width:100%;min-width:0;height:46px;margin:0;padding:0;border:0;border-radius:0;outline:0;background:transparent;color:#25364a;box-shadow:none;font:inherit;font-size:.9rem;caret-color:var(--brand)}
.perola-hero-ai-search .perola-ai-entry input:focus,.perola-hero-ai-search .perola-ai-entry input:focus-visible{border:0!important;outline:0!important;box-shadow:none!important}
.perola-ai-entry input::placeholder{color:#738298;opacity:1}
.perola-ai-bar:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 35%,transparent),0 12px 34px rgba(0,0,0,.16)}
.perola-ai-placeholder{position:absolute;inset:0;display:flex;align-items:center;min-width:0;pointer-events:none;color:#738298;font-size:.9rem;white-space:nowrap}
.perola-ai-placeholder>[data-ai-placeholder-text]{overflow:hidden;text-overflow:ellipsis}
.perola-ai-typing-caret{flex:0 0 1px;width:1px;height:1.15em;margin-left:2px;background:currentColor;animation:perola-ai-caret .9s steps(1,end) infinite}
.perola-ai-microphone,.perola-ai-submit,.perola-ai-cancel{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:46px;padding:0;border:0;border-radius:11px;font:inherit;cursor:pointer}
.perola-ai-microphone{width:36px;background:transparent;color:var(--brand)}
.perola-ai-submit{min-width:46px;padding:0 13px;background:var(--brand);color:#fff;font-size:.9rem;font-weight:750}
.perola-ai-cancel{width:32px;background:transparent;color:#526276}
.perola-ai-microphone .icon,.perola-ai-submit .icon,.perola-ai-cancel .icon{display:block;width:21px;height:21px;color:currentColor}
.perola-ai-microphone:hover,.perola-ai-cancel:hover{background:#eef2f7}
.perola-ai-submit:hover{filter:brightness(1.08)}
.perola-ai-microphone:focus-visible,.perola-ai-submit:focus-visible,.perola-ai-cancel:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.perola-ai-recording{display:flex;flex:1 1 0;align-items:center;gap:10px;min-width:0;min-height:46px}
.perola-ai-record-dot{flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:#ee4545;animation:perola-ai-record-dot 1.4s ease-in-out infinite}
.perola-ai-wave{display:flex;flex:1 1 0;align-items:center;justify-content:space-around;gap:3px;min-width:0;height:38px;padding:8px 10px;border-radius:9px;background:#edf2f8;overflow:hidden;color:var(--brand)}
.perola-ai-wave span{flex:0 1 3px;min-width:2px;height:3px;border-radius:3px;background:currentColor;animation:perola-ai-wave .85s ease-in-out infinite;animation-delay:calc(var(--wave-step) * -.07s)}
.perola-ai-recording time{flex:0 0 auto;font-size:.85rem;font-variant-numeric:tabular-nums;color:#738298}
.perola-ai-status{display:flex;flex:1 1 0;align-items:center;gap:10px;min-width:0;min-height:46px;font-size:.9rem;color:#526276}
.perola-ai-spinner{flex:0 0 16px;width:16px;height:16px;border:2px solid #d8e0e8;border-top-color:var(--brand);border-radius:50%;animation:perola-ai-spin .75s linear infinite}
.perola-home .perola-search-card .perola-ai-feedback{margin:9px 0 0;padding:10px 14px;border-radius:10px;background:#fff;color:#b42318;font-size:.9rem;line-height:1.5}
.perola-home .perola-search-card .perola-ai-feedback.is-success{color:#187348}
.perola-ai-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.perola-hero-ai-search [hidden]{display:none!important}
/* Shared dark palette: results CSS loads later and otherwise forces a white bar. */
:root[data-theme=dark] .perola-hero-ai-search{color:var(--ink)}
:root[data-theme=dark] .perola-hero-ai-search .perola-ai-bar{background:var(--paper);border-color:var(--line);color:var(--ink);color-scheme:dark}
:root[data-theme=dark] .perola-results-ai-search .perola-ai-bar{background:var(--page-bg)}
:root[data-theme=dark] .perola-hero-ai-search .perola-ai-entry input{color:var(--ink)}
:root[data-theme=dark] .perola-hero-ai-search .perola-ai-entry input::placeholder,:root[data-theme=dark] .perola-hero-ai-search :is(.perola-ai-placeholder,.perola-ai-status,.perola-ai-recording time,.perola-ai-cancel){color:var(--muted)}
:root[data-theme=dark] .perola-hero-ai-search :is(.perola-ai-microphone,.perola-ai-cancel):hover{background:var(--white);color:var(--brand)}
:root[data-theme=dark] .perola-hero-ai-search .perola-ai-wave{background:var(--white)}
:root[data-theme=dark] .perola-hero-ai-search .perola-ai-spinner{border-color:var(--line);border-top-color:var(--brand)}
:root[data-theme=dark] .perola-hero-ai-search .perola-ai-feedback{background:var(--paper);color:#ffb4ab}
:root[data-theme=dark] .perola-hero-ai-search .perola-ai-feedback.is-success{color:#86efac}
@keyframes perola-ai-caret{0%,49%{opacity:1}50%,100%{opacity:0}}
@keyframes perola-ai-record-dot{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes perola-ai-wave{0%,100%{height:3px}45%{height:19px}70%{height:8px}}
@keyframes perola-ai-spin{to{transform:rotate(360deg)}}
@media(max-width:699px){.perola-hero-ai-search{width:100%;max-width:none}.perola-ai-bar{gap:8px;min-height:60px;padding:7px 8px 7px 12px}.perola-ai-mark .perola-ai-sparkles{width:19px;height:19px}.perola-hero-ai-search .perola-ai-entry input{height:44px;font-size:16px}.perola-ai-placeholder{font-size:16px}.perola-ai-microphone{width:28px}.perola-ai-submit{min-width:44px;min-height:44px;padding-inline:11px}.perola-ai-cancel{width:27px;min-height:44px}.perola-ai-recording{gap:7px}.perola-ai-wave{gap:2px;padding-inline:6px}.perola-ai-recording time{font-size:.8rem}.perola-ai-status{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){.perola-ai-typing-caret,.perola-ai-record-dot,.perola-ai-wave span,.perola-ai-spinner{animation:none}.perola-ai-typing-caret{display:none}.perola-ai-wave span{height:5px}}


/* Compact internal page headings, following search-page-heading-copy.
   The home hero and dialog headings keep their own visual hierarchy. */
:root{--perola-page-title-size:1.8rem;--perola-page-heading-space:20px}
body{--perola-page-header-offset:0px}
body:has(>.site-header){--perola-page-header-offset:var(--site-header-height,86px)}
body:not(.perola-home) #conteudo :is(.search-page-heading-copy,.institutional-title-band,.blog-title-band,.post-heading,.favorites-title-band,.favorites-heading,.developments-title-band,.development-hero-content,.neighborhood-guide-heading,.neighborhood-hero-copy,.listed-title-band,.property-detail-header,.property-overview,.detail-not-found,.development-not-found,.neighborhood-not-found,.blog-empty) h1{margin:0;font-family:inherit;font-size:var(--perola-page-title-size);font-weight:650;line-height:1.2;letter-spacing:normal;overflow-wrap:anywhere}
body:not(.perola-home) #conteudo :is(.search-page-heading-copy,.institutional-title-band,.blog-title-band,.post-heading,.favorites-title-band,.favorites-heading,.developments-title-band,.development-hero-content,.neighborhood-guide-heading,.neighborhood-hero-copy,.listed-title-band,.property-detail-header,.property-overview,.detail-not-found,.development-not-found) .eyebrow{margin:0 0 6px;line-height:1;transform:none}
/* Reserve only the actual fixed navigation height, once per page. */
body:not(.perola-home) #conteudo:is(.blog-page,.development-page,.developments-listing-page,.favorites-page,.neighborhood-guide-page,.neighborhood-detail-page,.property-detail-page){padding-top:var(--perola-page-header-offset)}
body:not(.perola-home) #conteudo :is(.search-page-header,.institutional-title-band){padding:calc(var(--perola-page-header-offset) + var(--perola-page-heading-space)) 0 var(--perola-page-heading-space)}
body:not(.perola-home) #conteudo :is(.blog-title-band,.post-title-band,.favorites-title-band,.developments-title-band,.listed-title-band,.neighborhood-guide-heading,.neighborhood-detail-hero){padding:var(--perola-page-heading-space) 0}
body:not(.perola-home) #conteudo :is(.institutional-lead,.blog-title-band>.container>p:not(.eyebrow),.favorites-title-band>.container>p:not(.eyebrow),.developments-title-band>.container>p:not(.eyebrow),.listed-title-band>.container>p:not(.eyebrow),.neighborhood-guide-heading>.container>p:not(.eyebrow)){margin:8px 0 0;font-size:.9rem;line-height:1.5}
body:not(.perola-home) #conteudo .favorites-content{padding-top:var(--perola-page-heading-space)}
body:not(.perola-home) #conteudo .favorites-heading{gap:16px;margin-bottom:20px;padding-bottom:12px}
body:not(.perola-home) #conteudo .development-title-band-content{min-height:0;gap:12px;padding-block:12px}
body:not(.perola-home) #conteudo .development-hero-content{gap:16px;padding-block:var(--perola-page-heading-space)}
body:not(.perola-home) #conteudo .property-title-band{margin-bottom:20px;padding-block:12px}
body:not(.perola-home) #conteudo .property-detail-header{gap:16px}
body:not(.perola-home) #conteudo .post-heading nav{margin:0 0 10px}
body:not(.perola-home) #conteudo .post-heading>time{margin:8px 0 0}
body:not(.perola-home) #conteudo .neighborhood-breadcrumb{margin-bottom:12px}
body:not(.perola-home) #conteudo .neighborhood-hero-copy :is(.neighborhood-location,.neighborhood-description){margin:12px 0;font-size:.9rem;line-height:1.5}
body:not(.perola-home) #conteudo :is(.detail-not-found,.development-not-found,.neighborhood-not-found,.blog-empty:has(>h1)){min-height:0;padding-block:var(--perola-page-heading-space)}
@media(max-width:699px){:root{--perola-page-heading-space:16px}}
@media(max-width:599px){body:has(>.site-header){--perola-page-header-offset:var(--site-header-height,74px)}}
