/* Pass 6: route-scoped repairs. Approved .hero project-detail styles are untouched. */
body[data-p6-page="projects"] .p3-projects-hero .p3-projects-slides .p3-slide-photo{height:100%;min-height:100%;width:100%;object-fit:cover}
body[data-p6-page="projects"] .p3-projects-hero{min-height:620px;height:clamp(620px,82svh,800px)}
body[data-p6-page="projects"] .p3-projects-intro{padding-bottom:110px}
body[data-p6-page="projects"] .p3-projects-slides>a{height:100%;width:100%}
body[data-p6-page="projects"] .p3-projects-slides .p3-slide-caption{padding:10px 14px;max-width:400px}
/* Restore the photographic identity only on explicitly classified landing heroes. */
body[data-design-pass][data-current-design-pass="5"] main .p6-restored-hero{position:relative!important;isolation:isolate;overflow:hidden;display:block!important;min-height:520px!important;height:auto!important;padding:150px max(24px,calc((100vw - 1280px)/2)) 120px!important;background:#102d3b!important;color:#fff!important}
body[data-design-pass][data-current-design-pass="5"] main .p6-restored-hero:before,body[data-design-pass][data-current-design-pass="5"] main .p6-restored-hero:after{display:none!important}
body[data-design-pass][data-current-design-pass="5"] main .p6-restored-hero :is(h1,h2,h3,p,nav,a,span,strong,small,dd,dt){color:#fff!important}
body[data-design-pass][data-current-design-pass="5"] main .p6-restored-hero h1{font-size:clamp(34px,4.5vw,64px)!important;line-height:1.12!important;max-width:900px!important;margin-block:18px!important}
body[data-design-pass][data-current-design-pass="5"] main .p6-restored-hero>div:not(.p6-hero-media):not(.p5-carousel),.p6-restored-hero>nav,.p6-restored-hero>h1,.p6-restored-hero>p,.p6-restored-hero>a,.p6-restored-hero>aside{position:relative;z-index:2;max-width:850px}
.p6-restored-hero>div[class*=heroInner]{width:100%!important;margin:0!important;padding:0!important;min-height:0!important;display:block!important}.p6-restored-hero [class*=heroCopy]{max-width:780px!important}.p6-restored-hero [class*=heroPanel],.p6-restored-hero .insights-standard,.p6-restored-hero .report-scope-note{position:relative;z-index:2;background:#102d3b80!important;color:white;border-color:#ffffff55;max-width:780px;padding:14px;margin-block:18px}.p6-restored-hero [class*=heroGlow],.p6-restored-hero>.p2-hero-backdrop,.p6-restored-hero>.media-hero-images,.p6-restored-hero>.market-gallery{display:none!important}
.p6-restored-hero :is(p,.article-deck){max-width:760px;line-height:1.7}.p6-restored-hero .hero-facts{display:flex;gap:26px}.p6-restored-hero .hero-facts>div{min-width:0}.p6-restored-hero a[class*=primary],.p6-restored-hero .hero-links a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;background:#102d3b9c!important;border:1px solid #ffffff90!important;border-radius:5px}
body[data-design-pass][data-current-design-pass="5"] main .p6-restored-hero>.p5-carousel{position:absolute!important;inset:0!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important;height:100%!important;z-index:0!important}
.p6-restored-hero>.p5-carousel figure{position:absolute!important;inset:0!important;aspect-ratio:auto!important;border-radius:0!important;height:100%!important;background:#102d3b}.p6-restored-hero>.p5-carousel figure img{height:100%!important;object-fit:cover!important;object-position:center 46%}
.p6-restored-hero>.p5-carousel figure:after,.p6-hero-media:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#071f30dc 0%,#071f3080 54%,#071f301a 100%),linear-gradient(0deg,#071f3066,transparent 60%);pointer-events:none}
[dir=rtl] .p6-restored-hero>.p5-carousel figure:after,[dir=rtl] .p6-hero-media:after{background:linear-gradient(270deg,#071f30dc,#071f3070 60%,#071f3020)}
.p6-restored-hero>.p5-carousel .p5-section-head{position:absolute;bottom:22px;inset-inline-start:24px;z-index:4;margin:0}.p6-restored-hero>.p5-carousel .p5-section-head>div:first-child{display:none}.p6-restored-hero>.p5-carousel .p5-controls button{background:#102d3b99;color:#fff;border-color:#ffffff80}
.p6-restored-hero>.p5-carousel figcaption{inset:auto 24px 24px auto!important;padding:9px 14px!important;max-width:440px!important;background:#102d3bb0!important;border-radius:5px!important;z-index:3}.p6-restored-hero>.p5-carousel figcaption strong{font:17px/1.4 Georgia,serif!important;margin:0!important}.p6-restored-hero>.p5-carousel figcaption>span{display:none}.p6-restored-hero>.p5-carousel .p5-slide-count{display:none}
.p6-hero-media{position:absolute!important;inset:0;z-index:0!important;margin:0!important;max-width:none!important}.p6-hero-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 45%}.p6-hero-media figcaption{position:absolute;bottom:18px;inset-inline-end:24px;z-index:2;font-size:11px;padding:7px 12px;background:#102d3b9c;border-radius:4px;max-width:60%;color:white}
body[data-design-pass][data-current-design-pass="5"][data-p6-page="finance"] main .p6-restored-hero{min-height:390px!important;padding-bottom:60px!important}.p6-restored-hero .article-meta{position:relative;z-index:2}.p6-restored-hero .article-meta p{display:flex;flex-wrap:wrap;gap:8px 18px}.p6-restored-hero .article-meta strong{display:block}.p6-restored-hero .article-meta span{font-size:12px}
body[data-p6-page="home"] .hero-image:not(.p6-crossfade){opacity:1!important;object-fit:cover}.hero [data-p6-featured-home]{position:absolute;inset-inline-end:28px;bottom:26px;z-index:5;max-width:70%;padding:9px 14px;background:#102d3ba8;border:1px solid #ffffff50;border-radius:5px;color:white;font-size:12px;text-decoration:none}
body[data-p6-page="home"] .p3-service-card{color:#173b49!important;background:#f7f3e9!important;border-color:#dce5df!important;box-shadow:0 5px 0 #dbe4de,0 15px 28px #102d3b0c}
body[data-p6-page="home"] .p3-service-card:nth-child(2){background:#def0e9!important}body[data-p6-page="home"] .p3-service-card:nth-child(3){background:#fffdfa!important}body[data-p6-page="home"] .p3-service-card:nth-child(4){background:#102d3b!important;color:#fff!important}body[data-p6-page="home"] .p3-service-card :is(h3,p,span){color:inherit!important}body[data-p6-page="home"] .p3-service-card>span:first-child{display:none}
body[data-p6-page="home"] .p3-service-card:hover,body[data-p6-page="home"] .p3-service-card:focus-visible{transform:translateY(-5px);box-shadow:0 8px 0 #cbdcd3,0 22px 35px #102d3b15}
body[data-p6-page="home"] .p3-journey li{border-inline-start:5px solid #54b9af!important}body[data-p6-page="home"] .p3-journey li:nth-child(2n){border-inline-start-color:#b79e64!important}
body[data-p6-page="home"] .p3-evaluate{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:center}body[data-p6-page="home"] .p3-evaluate .p3-slideshow .p3-slide-photo{height:500px}
body[data-p6-page="projects"] [data-cards]{min-height:0!important;align-content:start!important;grid-auto-rows:auto!important}body[data-p6-page="projects"] [data-cards][data-result-count="1"]{grid-template-columns:minmax(0, min(660px,100%))!important}body[data-p6-page="projects"] [data-cards]:empty{display:none!important}
.p6-alternatives{padding:24px;background:#e8f2ed;border:1px solid #cbdcd3;border-radius:12px;margin-block:20px}.p6-alternatives h3{margin:0 0 10px}.p6-alternatives a{display:inline-flex;min-height:44px;align-items:center;margin-inline-end:16px;text-decoration:underline}.p6-alternatives[hidden]{display:none}
body[data-p6-page="developers"] .group-logo{width:150px!important;height:80px!important;object-fit:contain!important;background:#102d3b;padding:14px;border-radius:8px}.p6-featured-developers .directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.p6-featured-developers .market-group{height:100%;min-height:190px;display:flex;flex-direction:column;justify-content:center;text-align:center;gap:12px}
body[data-p6-page="services"] .p4-services-grid>a:nth-child(4n+1){background:linear-gradient(140deg,#fff,#ddede7)!important}body[data-p6-page="about"] .p4-values article:nth-child(3n){background:#e1eee9!important}
body[data-p6-page="list-property"] [class*=advisory]{background:#e7f1eb;border:1px solid #ceded4;border-radius:18px;padding:28px;align-self:start}body[data-p6-page="list-property"] [class*=form__]{background:#fffdf8;border:1px solid #d5e0d9;border-radius:18px;box-shadow:0 12px 32px #102d3b0a}body[data-p6-page="list-property"] fieldset{border:0;border-block-end:1px solid #dfe7e1;padding-block:24px}body[data-p6-page="list-property"] legend{font-size:20px;color:#173b49}body[data-p6-page="list-property"] [class*=reviewSteps] li{padding:16px;border-radius:10px;background:#fffdf8;box-shadow:4px 4px 0 #d2e2d7;margin-bottom:12px}body[data-p6-page="list-property"] input:focus-visible,body[data-p6-page="list-property"] select:focus-visible,body[data-p6-page="list-property"] textarea:focus-visible{outline:2px solid #168b83;outline-offset:2px}
/* Only the requested secondary photograph band receives more vertical room. */
[data-commercial-chapter="perspectives"] .p3-photo-card,[data-commercial-chapter="perspectives"] figure{height:auto;min-height:0}[data-commercial-chapter="perspectives"] img{height:360px!important;object-fit:contain!important;background:#edf1ec}
/* Footer only: retain every link and social identity. */
footer.site-footer .footer-social,footer.site-footer .footer-socials,footer.site-footer [class*=socialLinks]{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important}footer.site-footer .footer-social a{min-width:44px;min-height:44px}
@media(max-width:900px){.p6-featured-developers .directory{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-p6-page="home"] .p3-evaluate{grid-template-columns:1fr}.p6-restored-hero .hero-facts{flex-wrap:wrap;gap:16px}}
@media(max-width:600px){body[data-design-pass][data-current-design-pass="5"] main .p6-restored-hero{min-height:560px!important;padding:120px 22px 115px!important}body[data-design-pass][data-current-design-pass="5"] main .p6-restored-hero h1{font-size:34px!important}.p6-restored-hero>.p5-carousel figcaption{inset-inline:20px!important;bottom:20px!important;max-width:none!important}.p6-restored-hero>.p5-carousel .p5-section-head{bottom:72px}.p6-hero-media figcaption{max-width:90%;font-size:10px}body[data-p6-page="projects"] .p3-projects-hero{min-height:660px;height:auto}body[data-p6-page="projects"] .p3-projects-intro{padding:125px 24px 180px}body[data-p6-page="home"] .p3-evaluate .p3-slideshow .p3-slide-photo{height:360px}body[data-design-pass][data-current-design-pass="5"][data-p6-page="finance"] main .p6-restored-hero{min-height:430px!important;padding-bottom:65px!important}.hero [data-p6-featured-home]{inset-inline:18px;bottom:12px;max-width:none;font-size:10px}[data-commercial-chapter="perspectives"] img{height:280px!important}.p6-restored-hero .article-meta span{font-size:11px}.p6-restored-hero .article-meta p{gap:5px}}
@media(prefers-reduced-motion:reduce){body[data-p6-page] .p3-service-card,body[data-p6-page] .p3-journey li{transition:none!important;transform:none!important}}

[data-commercial-chapter="perspectives"] .p3-photo-card{height:460px!important}[data-commercial-chapter="perspectives"] .p3-photo-card>a{height:100%}
@media(max-width:600px){[data-commercial-chapter="perspectives"] .p3-photo-card{height:360px!important}}

body[data-p6-page="list-property"] [class*=advisory],body[data-p6-page="list-property"] [class*=advisory] :is(h2,p,li,strong,span){color:#173b49!important}
body[data-p6-page="developers"] .group-logo{background:#fffdf8}body[data-p6-page="developers"] .group-logo[src*="modon"]{background:#102d3b}body[data-p6-page="developers"] .group-logo[src*="sobha"]{background:#fffdf8!important}

body[data-p6-page="projects"] .p3-projects-intro .eyebrow{color:#a8e7dc}
body[data-p6-page="home"] .hero-image{animation:p6-residential-drift 24s ease-in-out infinite alternate;transform-origin:50% 50%}body[data-p6-page="home"] .p6-crossfade{opacity:0;animation:none!important;pointer-events:none}body[data-p6-page="home"] .hero.p6-still .hero-image{animation-play-state:paused}body[data-p6-page="home"] .hero-video-control{z-index:6}
@keyframes p6-residential-drift{from{transform:scale(1)}to{transform:scale(1.035)}}
@media(prefers-reduced-motion:reduce){body[data-p6-page="home"] .hero-image{animation:none!important;transform:none!important}}

body[data-p6-page="home"] .hero[data-p6-video="true"] .hero-image{opacity:0!important}@media(prefers-reduced-motion:reduce){body[data-p6-page="home"] .hero[data-p6-video="true"] .hero-image{opacity:1!important}}
footer.site-footer .footer-inner{padding-block:22px 12px!important;gap:22px!important}footer.site-footer .footer-social-tier{padding-block:12px!important}footer.site-footer .footer-bottom{padding-block:12px!important}
@media(max-width:600px){footer.site-footer .footer-inner{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}footer.site-footer .footer-brand,footer.site-footer .footer-contact{grid-column:1/-1!important;min-width:0}footer.site-footer .footer-brand{display:grid!important;grid-template-columns:70px minmax(0,1fr)!important;gap:12px!important}footer.site-footer .footer-brand img{width:70px!important}footer.site-footer .footer-nav{min-width:0}footer.site-footer .footer-nav a{overflow-wrap:anywhere}}
/* Keep media attribution and the existing pause affordance clear on small screens. */
@media(max-width:600px){body[data-p6-page="home"] .hero [data-p6-featured-home]{bottom:74px}body[data-p6-page="home"] .hero-video-control{inset-inline-start:20px!important;inset-inline-end:auto!important;bottom:22px!important}}
