/* Home-only exit: preserve the complete house renovation before dissolving. */
#transformation{background:#050d18}#transformation .hero::after{content:'';position:absolute;inset:0;z-index:4;pointer-events:none;background:#050d18;opacity:var(--home-exit,0)}
#transformation .hero::before{content:'';position:absolute;inset:65% 0 0;z-index:2;pointer-events:none;background:linear-gradient(transparent,#050d18)}
#transformation + .location-bar{background:#050d18;border:0;color:#a4b3c5}main>.intro{background:radial-gradient(ellipse at 70% 0,#102a3b66,transparent 65%),#050d18;border-top:0;padding-top:100px;padding-bottom:100px}
@media(max-width:760px){main>.intro{padding-top:65px;padding-bottom:65px}}
@media(prefers-reduced-motion:reduce){#transformation .hero::after{display:none}}

/* A shared dark horizon blends the finished house into the address globe. */
.home-property-search{position:relative;z-index:6;margin-top:-22svh;padding-top:0;background:transparent;isolation:isolate}
.home-property-search .property-globe{background:linear-gradient(to bottom,transparent,#050d18 16svh);border:0}
.home-property-search .globe-stage{background:radial-gradient(ellipse at 50% 46%,#17344730,transparent 68%)}
.home-property-search .globe-stage::after{content:'';position:absolute;inset:auto 0 0;height:100px;background:linear-gradient(transparent,#050d18);pointer-events:none;z-index:1}
.home-property-search .globe-bottom{z-index:2}
.home-property-search .property-globe:not(.has-selection) .globe-map{opacity:var(--globe-arrival-opacity,1);transform:translateY(var(--globe-arrival-y,0px)) scale(var(--globe-arrival-scale,1));transform-origin:50% 55%}
.home-property-search .globe-search-wrap{opacity:var(--globe-copy-opacity,1)}
.home-property-search:focus-within .globe-search-wrap,.home-property-search .has-selection .globe-search-wrap{opacity:1}
.home-property-search + .location-bar{background:#050d18;border-top:0}
.conversion-dock{z-index:65}
@media(prefers-reduced-motion:reduce){.home-property-search{margin-top:0;padding-top:0}.home-property-search .globe-map{transform:none!important;opacity:1!important}.home-property-search .globe-search-wrap{opacity:1!important}}

/* Globe now follows the tile hero rather than overlapping the house scene. */
.service-orbit + .home-property-search{margin-top:0;background:#050d18}.home-project-link{padding:0 8% 70px;background:#050d18}
