html, body { margin:0; background:#24312b; }
.hero { display:block; position:relative; isolation:isolate; width:100%; height:100svh; min-height:460px; padding:0; }
.scenery,.toning { position:absolute; inset:0; pointer-events:none; }
.scenery { z-index:-2; background:center / cover no-repeat url("Project scenes/ar-desktop.webp"); }
html:lang(en) .scenery {background-image:url("Project scenes/en-desktop.webp")}
.toning { z-index:-1; background:linear-gradient(0deg,rgba(13,20,16,.72),transparent 38%,transparent 80%,rgba(13,20,16,.38)),linear-gradient(270deg,rgba(17,23,19,.55),transparent 70%); }
html:lang(en) .toning { background:linear-gradient(0deg,rgba(13,20,16,.72),transparent 40%,transparent 80%,rgba(13,20,16,.35)),linear-gradient(90deg,rgba(17,23,19,.4),transparent 68%); }
nav { padding:clamp(18px,3vw,42px) 5.1vw; justify-content:space-between; align-items:center; }
.intro-logo {width:171.6px;height:171.6px;}
.nav-logo img {width:clamp(104px,11.7vw,162.5px);display:block}
.hero-footer a {color:#f5fffd;font:500 .88rem var(--face),sans-serif;text-decoration:none;text-shadow:0 1px 6px #171d17;}
a:focus-visible {outline:2px solid #fff;outline-offset:4px;}
.dust-logo {scale:1.3;position:absolute; width:clamp(340px,44vw,780px);height:clamp(155px,24svh,280px);inset:18% 3vw auto auto;pointer-events:none;}
html:lang(en) .dust-logo {inset:18% auto auto 3vw;}
.dust-logo canvas {width:100%;height:100%;display:block;}
.roof-template {position:absolute;width:0;height:0;overflow:hidden;}
.hero-copy {position:absolute;inset:auto 6vw 14% auto;height:auto;padding:0;align-items:flex-start;gap:clamp(17px,2.2vh,27px);}
html:lang(en) .hero-copy {inset:auto auto 14% 6vw;}
.hero-copy h1 {font-size:clamp(42px,min(5.7vw,8.8svh),98px);letter-spacing:-.045em;line-height:1.01;font-weight:500;color:#f5fffd;}
html:lang(ar) .hero-copy h1 {letter-spacing:0;line-height:1.32;}
.hero-copy a.btn {background:#f1ede4;color:#24312b;text-transform:none;font-size:.93rem;padding:15px 22px;}
.hero-footer {left:5.1vw;right:5.1vw;bottom:3.4svh;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #f5fffd55;padding-top:13px;}
.hero-footer p,.hero-footer a {color:#f5fffd;font-size:clamp(11px,1vw,15px);}
@media(max-width:700px){
 .scenery{background-image:url("Project scenes/ar-mobile.webp")}html:lang(en) .scenery{background-image:url("Project scenes/en-mobile.webp")}
 .toning,html:lang(en) .toning{background:linear-gradient(0deg,rgba(14,21,16,.82),rgba(18,21,17,.48) 36%,transparent 67%,rgba(18,21,17,.34));}
 nav{padding:23px 6vw}
 .dust-logo,html:lang(en) .dust-logo{inset:49% 5% auto;width:90%;height:15%;}
 .hero-copy,html:lang(en) .hero-copy{bottom:15%;right:6vw;left:6vw;}
 .hero-copy h1 {font-size:clamp(36px,9.6vw,60px);}
 .hero-footer{bottom:3.6svh;left:6vw;right:6vw;}
}
@media(max-height:560px) and (min-width:701px){.dust-logo,html:lang(en) .dust-logo{top:12%;height:26%;}.hero-copy h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){.preloader-overlay{display:none}}

/* Navigation belongs to the opening scene. The document owns vertical scrolling. */
nav { position:absolute; }
.hero-footer .next-section {text-decoration:underline;text-underline-offset:4px;}
#construction {background:var(--mimar-limestone);color:var(--mimar-ink);font-family:var(--face),sans-serif;}
.construction-stage {position:relative;isolation:isolate;height:100svh;overflow:hidden;}
.construction-image {position:absolute;inset:0;overflow:hidden;}
#construction {--construction-photo:url("Construction/ar-desktop.webp");}
html:lang(en) #construction {--construction-photo:url("Construction/en-desktop.webp");}
.construction-title {position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;direction:ltr;font-family:var(--face),sans-serif;font-size:13vw;line-height:1.4;font-weight:500;pointer-events:none;}
.construction-title span {width:50%;text-align:center;}
.construction-track.is-animated {height:300svh;}
.is-animated .construction-stage {position:sticky;top:0;}
.is-animated .construction-image {clip-path:polygon(37.5% 20%,62.5% 20%,62.5% 80%,37.5% 80%);transform:rotate(30deg);}
.construction-photo {width:100%;height:100%;background:var(--construction-photo) center / cover no-repeat;}
.is-animated .construction-photo {transform:scale(2);}
.construction-detail {padding:clamp(40px,6vw,86px) 6vw;background:var(--mimar-ink);color:var(--mimar-limestone);}
.construction-detail h3 {font-size:clamp(27px,4vw,57px);font-weight:500;line-height:1.4;}
.construction-detail p {max-width:60ch;margin:16px 0 24px;font:400 clamp(16px,1.5vw,21px)/1.8 var(--face),sans-serif;}
.construction-detail a.btn {font-family:var(--face),sans-serif;color:var(--mimar-ink);background:var(--mimar-limestone);text-transform:none;}
@media(max-width:700px) {
 #construction {--construction-photo:url("Construction/ar-mobile.webp");}
 html:lang(en) #construction {--construction-photo:url("Construction/en-mobile.webp");}
 .hero-footer {column-gap:8px;}
}
@media(prefers-reduced-motion:reduce) {
 .construction-title {inset:auto 5% 4%;display:block;color:white;text-shadow:0 2px 8px #24312b;font-size:clamp(32px,6vw,66px);}
 .construction-title span+span::before {content:" ";}
 #construction[dir=rtl] .construction-title {display:flex;direction:ltr;justify-content:flex-end;gap:.2em;}
 .construction-title span {width:auto;}
}
