/* New home/guide layout only. Existing owner, services and partner styles are untouched. */
.home-compact .hero-section.hero-corner{height:auto;min-height:520px;min-height:70svh;max-height:none;padding:130px 0 100px}
.home-compact .hero-corner .hero-content{position:relative;inset:auto;transform:none;width:var(--container);margin:auto;padding:0;min-height:0}
.home-compact .hero-corner .hero-logo{font-size:clamp(48px,6.4vw,96px);line-height:1.2;max-width:100%;margin:0 0 16px}
.home-compact .hero-corner .hero-title{font-size:clamp(18px,2vw,27px);line-height:1.55;margin:0 0 20px}
.home-compact .hero-corner .hero-text{font-size:clamp(17px,1.25vw,21px);line-height:1.75;max-width:580px;margin:0}
.home-compact .hero-corner .scroll-cue{bottom:28px}
.home-compact .home-hero-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:28px}
.home-compact .home-hero-actions a{display:inline-flex;align-items:center;gap:24px;min-height:46px;border:1px solid var(--line);padding:11px 23px;font-size:17px;line-height:1.45}
.home-compact .home-hero-actions a:first-child{background:var(--cream);color:var(--dark);border-color:var(--cream)}
.home-properties,.home-about{width:var(--container);margin-inline:auto;padding-block:56px}
.home-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:30px}
.home-section-heading .elyse-label,.home-about .elyse-label{margin:0 0 14px}
.home-section-heading h2,.home-about h2{font-size:clamp(36px,3.6vw,58px);line-height:1.3;max-width:840px;margin:0}
.home-text-link{display:inline-flex;gap:22px;align-items:center;line-height:1.6;font-size:17px;min-height:44px;border:0;white-space:normal}
.home-property-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.home-property-card{min-width:0;border:0;display:flex;flex-direction:column}
.home-property-image{display:block;aspect-ratio:4/3;background:var(--deep-2);overflow:hidden}
.home-property-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.home-property-card:hover .home-property-image img{transform:scale(1.035)}
.home-property-image-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:var(--ink-soft);font-size:17px;text-align:center;padding:24px}
.home-property-copy{padding:22px;display:flex;flex:1;flex-direction:column;gap:13px}
.home-property-meta{color:var(--copper-2);font-size:15px;line-height:1.7;margin:0}
.home-property-copy h3{font-size:clamp(25px,2.1vw,33px);line-height:1.45;margin:0}
.home-property-description{font-size:17px;line-height:1.8;color:var(--ink-soft);margin:0}
.home-property-features{display:flex;flex-wrap:wrap;gap:6px 14px;list-style:none;padding:0;margin:0;color:var(--ink-soft);font-size:14px;line-height:1.7}
.home-property-link{display:flex;justify-content:space-between;gap:20px;padding-top:16px;border:0;margin-top:auto;min-height:44px;font-size:17px}
.home-properties-empty{border:0;padding:16px 0 0;max-width:100%}
.home-properties-empty p{font-size:18px;line-height:1.8;margin:0 0 10px;color:var(--ink-soft)}
.home-properties-empty p:first-child{color:var(--ink)}
.home-about{border:0}
.home-about-intro{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.home-about-intro p:not(.elyse-label){font-size:19px;line-height:1.9;margin:0 0 18px;color:var(--ink-soft)}
.home-standards{margin-top:36px;border:0;padding-top:24px}
.home-standards-title{font-size:clamp(27px,2.6vw,38px);line-height:1.4;margin:0 0 24px}
.home-standards-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.home-standards-grid article>span{font-size:14px;color:var(--copper-2)}
.home-standards-grid h4{font-size:25px;line-height:1.5;margin:12px 0}
.home-standards-grid p{font-size:16px;line-height:1.85;margin:0;color:var(--ink-soft)}
.home-discovery-links{display:flex;flex-wrap:wrap;gap:20px 40px;border:0;padding-top:12px;margin-top:24px}
.home-discovery-links a{display:inline-flex;gap:24px;align-items:center;min-height:44px;font-size:17px;line-height:1.7}
.home-compact .elyse-closing{min-height:0;padding-block:70px;transform:none}
.home-compact .closing-hero{min-height:0;margin:0 auto 30px;padding:0;width:var(--container)}
.home-compact .closing-hero .section-title{font-size:clamp(36px,4vw,64px);line-height:1.4;max-width:1050px;margin:0 0 18px}
.home-compact .closing-hero>p{font-size:19px;line-height:1.8;margin:0;max-width:760px}
.home-request-panel{width:var(--container);margin:0 auto;border:0;padding:0}
.home-request-panel>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:76px;padding:18px 0;font-size:21px;line-height:1.6;list-style:none}
.home-request-panel>summary::-webkit-details-marker{display:none}
.home-request-panel>summary::after{content:"+";font-size:28px;font-weight:400}
.home-request-panel[open]>summary::after{content:"−"}
.home-compact .home-request-panel .closing-grid{width:100%;margin:0;padding-block:28px 40px}
.home-compact .home-request-panel [data-motion]{opacity:1!important;visibility:visible!important;transform:none!important}
.home-compact .home-request-panel .split-unit{opacity:1!important;transform:none!important}
.home-compact a:focus-visible,.home-request-panel>summary:focus-visible,.aldiyar-guide summary:focus-visible{outline:2px solid var(--copper-2);outline-offset:6px}
.aldiyar-guide{width:var(--container);max-width:1100px;margin:auto;padding:150px 0 80px}
.guide-breadcrumb{display:flex;flex-wrap:wrap;gap:15px;color:var(--ink-soft);font-size:16px;line-height:1.7;margin-bottom:42px}
.guide-heading h1{font-size:clamp(44px,5.5vw,76px);line-height:1.35;margin:0 0 24px}
.guide-heading p:not(.elyse-label){font-size:20px;line-height:1.9;max-width:860px;color:var(--ink-soft)}
.guide-locations,.guide-faqs{margin-top:46px;border-top:1px solid var(--line)}
.guide-locations article{display:grid;grid-template-columns:45px 1fr;gap:22px;padding:30px 0;border-bottom:1px solid var(--line)}
.guide-locations h2,.guide-faqs h2{font-size:clamp(26px,2.8vw,38px);line-height:1.5;margin:0 0 12px}
.guide-locations p,.guide-faqs p{font-size:19px;line-height:1.9;margin:0;color:var(--ink-soft)}
.guide-number{color:var(--copper-2);font-size:16px;padding-top:10px}
.guide-faqs details{border-bottom:1px solid var(--line);padding:24px 0}
.guide-faqs summary{cursor:pointer}
.guide-faqs h2{display:inline;font-size:clamp(24px,2.4vw,32px)}
.guide-faqs details>p{padding:20px 0 6px}
.guide-request{margin-top:40px}
@media(max-width:980px){.home-standards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-about-intro{gap:30px}.home-property-grid{gap:16px}.home-property-copy{padding:16px}}
@media(max-width:680px){.home-compact .hero-section.hero-corner{min-height:540px;min-height:72svh;padding:115px 0 85px}.home-compact .hero-corner .hero-logo{font-size:clamp(40px,10.5vw,64px)}.home-compact .hero-corner .hero-text{font-size:17px}.home-properties,.home-about{padding-block:42px}.home-section-heading{display:block;margin-bottom:24px}.home-section-heading>.home-text-link{margin-top:18px}.home-section-heading h2,.home-about h2{font-size:36px}.home-property-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:16px;padding:0 0 16px;overscroll-behavior-inline:contain}.home-property-card{flex:0 0 min(85vw,360px);scroll-snap-align:start}.home-about-intro{grid-template-columns:1fr;gap:24px}.home-about-intro p:not(.elyse-label){font-size:18px}.home-standards-grid{gap:24px 18px}.home-standards-grid h4{font-size:23px}.home-standards-grid p{font-size:16px}.home-discovery-links{gap:12px 24px}.home-compact .elyse-closing{padding-block:44px}.home-compact .closing-hero .section-title{font-size:37px}.home-compact .home-request-panel .closing-grid{display:block}.aldiyar-guide{padding-top:115px}.guide-heading h1{font-size:44px}.guide-locations article{grid-template-columns:28px 1fr;gap:15px}}
@media(prefers-reduced-motion:reduce){.home-property-image img{transition:none}.home-property-card:hover .home-property-image img{transform:none}}
/* Long real listing titles and summaries must not lengthen the home indefinitely. */
.home-compact .hero-corner .hero-logo{white-space:normal;text-wrap:balance}
.home-property-copy h3,.home-property-description{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.home-property-copy h3{-webkit-line-clamp:2}
.home-property-description{-webkit-line-clamp:3}
.home-property-features li{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Entrance motion belongs only to the newly compacted home sections. */
.home-compact{--compact-arrow-x:6px}
.is-rtl .home-compact{--compact-arrow-x:-6px}
.home-compact .compact-reveal{--compact-enter-y:0px;--compact-hover-y:0px;transform:translate3d(0,calc(var(--compact-enter-y) + var(--compact-hover-y)),0);transition:opacity .72s cubic-bezier(.22,1,.36,1),transform .72s cubic-bezier(.22,1,.36,1);transition-delay:var(--compact-delay,0ms)}
.home-compact.is-compact-motion .compact-reveal{opacity:0;--compact-enter-y:24px}
.home-compact.is-compact-motion .compact-reveal.is-compact-visible{opacity:1;--compact-enter-y:0px}
.home-compact .compact-reveal:focus-within{opacity:1!important;--compact-enter-y:0px;transition:none!important}
.home-compact .home-property-card,.home-compact .home-standards-grid article,.home-compact .home-about-intro>div{transition-property:opacity,transform,background-color,box-shadow;transition-duration:.72s,.72s,.3s,.3s}
.home-compact .home-property-copy h3,.home-compact .home-standards-grid h4{transition:color .3s ease}
.home-compact .home-text-link,.home-compact .home-discovery-links a,.home-compact .home-property-link,.home-compact .home-request-panel>summary{transition:color .28s ease}
.home-compact .home-text-link span[aria-hidden],.home-compact .home-discovery-links a span[aria-hidden],.home-compact .home-property-link span[aria-hidden],.home-compact .home-hero-actions span[aria-hidden]{display:inline-block;transition:transform .3s cubic-bezier(.22,1,.36,1)}
.home-compact .home-hero-actions a{transition:transform .3s ease,background-color .3s ease,color .3s ease}
.home-compact .home-standards-grid article{position:relative;isolation:isolate}
.home-compact .home-standards-grid article::before{content:"";position:absolute;inset:-12px;z-index:-1;background:rgba(244,239,231,.035);opacity:0;transition:opacity .3s ease;pointer-events:none}
@media(hover:hover) and (pointer:fine){
 .home-compact .home-property-card:hover,.home-compact .home-standards-grid article:hover{--compact-hover-y:-4px;transition-duration:.3s;transition-delay:0ms}
 .home-compact .home-property-card:hover{background:rgba(244,239,231,.035);box-shadow:0 14px 38px rgba(0,0,0,.12)}
 .home-compact .home-standards-grid article:hover::before{opacity:1}
 .home-compact .home-property-card:hover h3,.home-compact .home-standards-grid article:hover h4{color:var(--copper-2)}
 .home-compact .home-text-link:hover,.home-compact .home-discovery-links a:hover,.home-compact .home-property-link:hover,.home-compact .home-request-panel>summary:hover{color:var(--copper-2)}
 .home-compact .home-text-link:hover span[aria-hidden],.home-compact .home-discovery-links a:hover span[aria-hidden],.home-compact .home-property-link:hover span[aria-hidden],.home-compact .home-hero-actions a:hover span[aria-hidden]{transform:translateX(var(--compact-arrow-x))}
 .home-compact .home-hero-actions a:hover{transform:translateY(-3px)}
}

/* Tajawal summaries use their natural height rather than a fixed mobile row. */
.home-compact .service-story-copy{min-width:0}
.home-compact .service-story-copy .story-summary-mask{max-width:100%;font-size:clamp(16px,1.2vw,19px);line-height:1.65}
.home-compact .service-story-copy .story-summary-mask>span{max-width:100%;white-space:normal;overflow-wrap:break-word;word-break:normal}
@media(max-width:980px){
 .home-compact .service-story-item{grid-template-rows:minmax(188px,max-content) minmax(0,1fr)}
 .home-compact .service-story-copy{min-height:0}
 .home-compact .service-story-copy .story-summary-mask{width:100%;max-width:100%;font-size:16px;line-height:1.55}
}
@media(max-width:680px){
 .home-compact .service-story-item{grid-template-rows:minmax(176px,max-content) minmax(0,1fr)}
 .home-compact .service-story-copy{grid-template-columns:minmax(0,.66fr) minmax(0,1.08fr)}
 .is-ltr .home-compact .service-story-copy{grid-template-columns:minmax(0,.98fr) minmax(0,.84fr)}
}
@media(prefers-reduced-motion:reduce){
 .home-compact .compact-reveal{opacity:1!important;transform:none!important;transition:none!important}
 .home-compact .home-hero-actions a,.home-compact .home-text-link span[aria-hidden],.home-compact .home-discovery-links a span[aria-hidden],.home-compact .home-property-link span[aria-hidden],.home-compact .home-hero-actions span[aria-hidden]{transform:none!important;transition:none!important}
 .home-compact .home-property-image img{transform:none!important;transition:none!important}
}

/* Desktop: the first viewport belongs to the hero; content sits slightly lower. */
@media(min-width:981px){
 .home-compact .hero-section.hero-corner{min-height:100vh;min-height:100svh;padding:clamp(120px,17svh,190px) 0 clamp(70px,9svh,110px)}
}
