/* =========================================================
   RADIANT DEVELOPMENTS — Design system
   Brand guide 2026 V.01 : White #EEECE5 · Sand #A49678 · Black #161413 · Charcoal #2E454D
   ========================================================= */
:root {
  --white: #eeece5;
  --paper: #f5f3ee;
  --sand: #a49678;
  --sand-l: #c9bc9d;
  --sand-d: #7d7158;
  --black: #161413;
  --charcoal: #2e454d;
  --charcoal-d: #1d2d33;
  --ink: #161413;
  --muted: #6d6a63;
  --line: rgba(22, 20, 19, .14);
  --line-l: rgba(238, 236, 229, .18);
  --glory: #5b2d68;
  --glory-l: #b48ac0;

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Montserrat", system-ui, sans-serif;
  --f-ar: "Alexandria", "Montserrat", sans-serif;

  --ease: cubic-bezier(.65, .05, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body, html[dir="rtl"] .f-body { font-family: var(--f-ar); }
html[dir="rtl"] .display, html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { font-family: var(--f-ar); font-weight: 300; letter-spacing: 0 !important; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sand); color: var(--white); }

/* ---------- typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.01em;
}
.display-xl { font-size: clamp(48px, 8.4vw, 150px); text-transform: uppercase; font-weight: 300; letter-spacing: .01em; }
.display-l { font-size: clamp(40px, 5.6vw, 96px); text-transform: uppercase; font-weight: 300; }
.display-m { font-size: clamp(32px, 3.8vw, 64px); font-weight: 400; }
.display-s { font-size: clamp(24px, 2.2vw, 36px); font-weight: 400; line-height: 1.15; }
.display em, h2 em, h1 em { font-style: italic; color: var(--sand); font-weight: 300; }
.eyebrow {
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase; font-weight: 500;
  display: inline-flex; align-items: center; gap: 14px; color: var(--sand-d);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--sand-l); }
.lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; color: var(--muted); max-width: 56ch; }
.on-dark .lead { color: rgba(238, 236, 229, .72); }
.mono { font-variant-numeric: tabular-nums; }

/* line-split reveal helpers (JS wraps) */
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; will-change: transform; }
.word { display: inline-block; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(90px, 13vw, 200px); }
.on-dark { background: var(--black); color: var(--white); }
.on-charcoal { background: var(--charcoal); color: var(--white); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--sand); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 30px; border-radius: 0; background: var(--bg); color: var(--fg);
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--black); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn .arrow { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .5s var(--ease); }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { width: 28px; }
.btn--ghost { --bg: transparent; --fg: currentColor; border: 1px solid currentColor; }
.btn--ghost::before { background: var(--sand); }
.btn--ghost:hover { color: var(--white); border-color: var(--sand); }
.on-dark .btn::before { background: var(--white); }
.on-dark .btn:hover { color: var(--black); }
.on-dark .btn--ghost::before { background: var(--sand); }
.on-dark .btn--ghost:hover { color: var(--white); }

.link-u { position: relative; display: inline-block; }
.link-u::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--black); color: var(--white);
  display: grid; place-items: center;
}
.no-js .preloader, .no-js .cursor { display: none; }
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader__mark { width: 86px; color: var(--sand); }
.preloader__mark svg path { fill: transparent; stroke: var(--sand); stroke-width: .8; }
.preloader__bar { width: 220px; height: 1px; background: var(--line-l); position: relative; overflow: hidden; }
.preloader__bar span { position: absolute; inset: 0; background: var(--sand); transform: scaleX(0); transform-origin: left; }
.preloader__count { font-family: var(--f-display); font-size: 15px; letter-spacing: .3em; color: rgba(238,236,229,.6); }
.preloader__curtain { position: absolute; inset: 0; background: var(--sand); transform: scaleY(0); transform-origin: bottom; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; color: var(--white);
  transition: background .6s var(--ease), color .6s var(--ease), transform .6s var(--ease), height .5s var(--ease), backdrop-filter .6s var(--ease);
  will-change: transform;
}
.header.is-solid { background: rgba(238, 236, 229, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); color: var(--ink); height: 70px; border-bottom: 1px solid var(--line); }
.header.on-light { color: var(--ink); }
.header.is-solid:not(.on-light) { background: rgba(22, 20, 19, .62); color: var(--white); border-bottom-color: var(--line-l); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.header__logo { width: 148px; display: block; }
.header__logo svg { width: 100%; height: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.nav a { position: relative; opacity: .85; transition: opacity .35s var(--ease); padding-block: 6px; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
html[dir="rtl"] .nav a::after { transform-origin: right; }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.mobile-menu a { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s; }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .25s, .25s, 0s; } .menu-open .mobile-menu a:nth-child(2) { transition-delay: .32s, .32s, 0s; } .menu-open .mobile-menu a:nth-child(3) { transition-delay: .39s, .39s, 0s; } .menu-open .mobile-menu a:nth-child(4) { transition-delay: .46s, .46s, 0s; } .menu-open .mobile-menu a:nth-child(5) { transition-delay: .53s, .53s, 0s; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.lang-toggle { font-size: 11px; letter-spacing: .2em; font-weight: 600; padding: 8px 10px; border: 1px solid currentColor; opacity: .85; min-width: 44px; }
.lang-toggle:hover { opacity: 1; }
.header .btn { padding: 13px 22px; }
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); pointer-events: none;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu a { font-family: var(--f-display); font-size: clamp(40px, 11vw, 72px); line-height: 1.15; text-transform: uppercase; font-weight: 300; }
.mobile-menu a:hover { color: var(--sand); }
.menu-open .header { color: var(--white); background: transparent; border-color: transparent; backdrop-filter: none; }

/* ---------- side scroll indicator (as in reference videos) ---------- */
.rail {
  position: fixed; right: calc(var(--gutter) * .5); top: 50%; z-index: 60; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--white); mix-blend-mode: difference;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; pointer-events: none;
}
html[dir="rtl"] .rail { right: auto; left: calc(var(--gutter) * .5); }
.rail__label { writing-mode: vertical-rl; opacity: .7; }
.rail__track { width: 1px; height: 120px; background: rgba(255,255,255,.3); position: relative; }
.rail__track span { position: absolute; left: -1px; top: 0; width: 3px; height: 100%; background: #fff; transform-origin: top; transform: scaleY(0); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); transition: width .4s var(--ease-out), height .4s var(--ease-out); }
.cursor.is-hover .cursor__dot { width: 64px; height: 64px; }
.cursor__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-size: 9px; letter-spacing: .25em; text-transform: uppercase; color: #000; font-weight: 700; opacity: 0; white-space: nowrap; transition: opacity .3s; }
.cursor.has-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   HERO 3D (home)
   ========================================================= */
.hero3d { position: relative; height: 380vh; background: var(--white); }
.hero3d__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero3d__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse at 50% 60%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 10%, transparent 70%);
}
.hero3d__titles { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: grid; place-items: start center; padding: calc(var(--header-h) + 3.5vh) var(--gutter) 0; text-align: center; color: var(--ink); }
.hero3d__title { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0; }
.hero3d__title:first-child { opacity: 1; }
.hero3d__title .display { font-size: clamp(28px, min(3.7vw, 6.2vh), 64px); font-weight: 500; line-height: 1.04; text-transform: uppercase; letter-spacing: .01em; }
.hero3d__title p { font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: #4a4741; }
html[dir="rtl"] .hero3d__title .display { font-weight: 500; }
html[dir="rtl"] .hero3d__title p { font-size: 15px; letter-spacing: 0; }
.hero3d__reveal { position: absolute; inset: 0; z-index: 3; clip-path: inset(46% 47% 40% 47%); opacity: 0; will-change: clip-path; }
.hero3d__reveal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.hero3d__reveal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,20,19,.5), rgba(22,20,19,0) 30%, rgba(22,20,19,.25) 55%, rgba(22,20,19,.85)), linear-gradient(90deg, rgba(22,20,19,.5), rgba(22,20,19,0) 60%); }
html[dir="rtl"] .hero3d__reveal::after { background: linear-gradient(180deg, rgba(22,20,19,.5), rgba(22,20,19,0) 30%, rgba(22,20,19,.25) 55%, rgba(22,20,19,.85)), linear-gradient(-90deg, rgba(22,20,19,.5), rgba(22,20,19,0) 60%); }
.hero3d__final { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) 9vh; color: var(--white); opacity: 0; pointer-events: none; z-index: 4; }
.hero3d__final .display { font-size: clamp(44px, 7.4vw, 132px); text-transform: uppercase; font-weight: 300; }
.hero3d__final-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-top: 30px; }
.hero3d__final.is-live { pointer-events: auto; }
.scroll-hint { display: flex; align-items: center; gap: 12px; }
.scroll-hint i { width: 1px; height: 46px; background: currentColor; opacity: .35; position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: currentColor; animation: drip 2.2s var(--ease) infinite; opacity: 1; }
@keyframes drip { to { top: 110%; } }

/* ---------- masterplan hero: sketch → render → community ---------- */
.mphero { --mp-top: clamp(170px, 26vh, 260px); --mp-bottom: 96px; }
.mphero .scroll-hint { display: none !important; }
.mphero__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 64%, rgba(201,188,157,.42), rgba(201,188,157,0) 70%); }
.mphero__scene { position: absolute; z-index: 1; left: 0; right: 0; top: calc(var(--header-h) + var(--mp-top)); bottom: var(--mp-bottom);
  display: grid; place-items: center; perspective: 1800px; perspective-origin: 50% 20%; }
.mphero__tilt { transform-style: preserve-3d; will-change: transform;
  width: min(94vw, 1400px, calc((100vh - var(--header-h) - var(--mp-top) - var(--mp-bottom) - 20px) * 1.965));
  width: min(94vw, 1400px, calc((100svh - var(--header-h) - var(--mp-top) - var(--mp-bottom) - 20px) * 1.965)); }
.mphero__plate { --r: 1; position: relative; width: 100%; aspect-ratio: 1596 / 812; transform-style: preserve-3d; transform-origin: 50% 70%; will-change: transform; }
.mphero__lines, .mphero__color, .mphero__color img, .mphero__sheen { position: absolute; inset: 0; width: 100%; height: 100%; }
.mphero__lines { opacity: .9; }
.mphero__color { clip-path: inset(0 calc((1 - var(--r)) * 100%) 0 0); filter: drop-shadow(0 28px 30px rgba(46,69,77,.16)); }
html[dir="rtl"] .mphero__color { clip-path: inset(0 0 0 calc((1 - var(--r)) * 100%)); }
.mphero__scan { position: absolute; top: -5%; bottom: -5%; left: calc(var(--r) * 100%); width: 2px; margin-left: -1px; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--sand) 18%, #fff6df 50%, var(--sand) 82%, transparent);
  box-shadow: 0 0 18px 4px rgba(201,188,157,.75), 0 0 60px 14px rgba(201,188,157,.35); }
html[dir="rtl"] .mphero__scan { left: auto; right: calc(var(--r) * 100%); margin: 0 -1px 0 0; }
.mphero__sheen { pointer-events: none; mix-blend-mode: soft-light; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,250,235,.95) 50%, transparent 62%) 130% 0 / 300% 100% no-repeat;
  -webkit-mask: url(/assets/img/masterplan-hero-sm.webp) center / 100% 100% no-repeat; mask: url(/assets/img/masterplan-hero-sm.webp) center / 100% 100% no-repeat; }
.mphero.is-built .mphero__sheen { opacity: 1; animation: mp-sheen 7s 1s var(--ease) infinite; }
@keyframes mp-sheen { 0% { background-position: 130% 0; } 45%, 100% { background-position: -30% 0; } }
.mphero__shadow { position: absolute; left: 4%; right: 4%; bottom: -7%; height: 34%; pointer-events: none; transform: translateZ(-60px);
  background: radial-gradient(ellipse at 50% 55%, rgba(46,69,77,.28), rgba(46,69,77,0) 68%); filter: blur(10px); }
.mphero__corner { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(46,69,77,.55); pointer-events: none; }
.mphero__corner:nth-of-type(1) { top: -2%; left: -1.2%; border-width: 1px 0 0 1px; }
.mphero__corner:nth-of-type(2) { top: -2%; right: -1.2%; border-width: 1px 1px 0 0; }
.mphero__corner:nth-of-type(3) { bottom: -2%; left: -1.2%; border-width: 0 0 1px 1px; }
.mphero__corner:nth-of-type(4) { bottom: -2%; right: -1.2%; border-width: 0 1px 1px 0; }
.mphero__dim { position: absolute; left: 14%; right: 14%; bottom: -8%; display: flex; align-items: center; gap: 14px; color: var(--charcoal); pointer-events: none; }
.mphero__dim i { flex: 1; height: 1px; background: currentColor; opacity: .45; position: relative; }
.mphero__dim i:first-child { transform-origin: 100% 50%; }
.mphero__dim i:last-child { transform-origin: 0 50%; }
.mphero__dim i::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: currentColor; }
.mphero__dim i:first-child::after { left: 0; }
.mphero__dim i:last-child::after { right: 0; }
.mphero__dim span { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
html[dir="rtl"] .mphero__dim span { font-size: 13px; letter-spacing: 0; font-weight: 500; }
.mphero__pins { position: absolute; inset: 0; transform: translateZ(30px); }
.mphero__pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.mphero__pin i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--sand-d); border: 2px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); transition: transform .5s var(--ease-out), background .4s; }
.mphero__pin i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--sand); animation: mp-ping 2.4s var(--ease-out) infinite; }
@keyframes mp-ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.mphero__pin span { position: absolute; left: 0; bottom: 22px; transform: translateX(-50%); display: grid; gap: 1px; padding: 9px 14px 10px; text-align: center; white-space: nowrap;
  background: rgba(255,255,255,.93); color: var(--ink); box-shadow: 0 10px 30px rgba(22,20,19,.16); transition: background .45s, color .45s, transform .45s var(--ease-out);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mphero__pin span::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: currentColor; opacity: .5; }
.mphero__pin b { font-size: 13px; font-weight: 600; line-height: 1.3; }
.mphero__pin small { font-size: 11px; color: var(--muted); transition: color .45s; }
html[dir="rtl"] .mphero__pin b { font-size: 14px; font-weight: 500; }
html[dir="rtl"] .mphero__pin small { font-size: 12px; }
.mphero__pin.is-on span { background: var(--charcoal); color: var(--white); transform: translateX(-50%) translateY(-6px); }
.mphero__pin.is-on small { color: var(--sand-l); }
.mphero__pin.is-on i { background: var(--sand); transform: scale(1.25); }
.mphero .hero3d__hud { position: absolute; z-index: 5; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--ink); pointer-events: none; transition: color .4s, opacity .5s; }
.mphero .hero3d__hud.is-light { color: var(--white); }
.mphero .scroll-hint { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.mphero .scroll-hint i { height: 26px; }
html[dir="rtl"] .mphero .scroll-hint { font-size: 13px; letter-spacing: 0; }
.hud-steps { list-style: none; display: flex; align-items: center; gap: 22px; padding: 9px 20px; border: 1px solid var(--line); background: rgba(238,236,229,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .4s, border-color .4s; }
.is-light .hud-steps { border-color: var(--line-l); background: rgba(22,20,19,.35); }
.hud-steps li { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .42; transition: opacity .4s; }
html[dir="rtl"] .hud-steps li { font-size: 13px; letter-spacing: 0; }
.hud-steps li b { font-family: var(--f-display); font-size: 17px; font-weight: 500; letter-spacing: 0; }
.hud-steps li.is-on { opacity: 1; }
.hud-steps li::before { content: ""; width: 0; height: 1px; background: var(--sand-d); transition: width .5s var(--ease); }
.hud-steps li.is-on::before { width: 18px; }
.is-light .hud-steps li::before { background: var(--sand-l); }
@media (max-width: 720px) {
  .mphero { --mp-top: 150px; --mp-bottom: 96px; }
  .mphero__tilt { width: 128vw; }
  .mphero__pin span { padding: 6px 9px 7px; bottom: 18px; }
  .mphero__pin b, html[dir="rtl"] .mphero__pin b { font-size: 11px; }
  .mphero__pin small { display: none; }
  .mphero__dim { display: none; }
  .hud-steps { gap: 12px; padding: 7px 12px; }
  .hud-steps li:not(.is-on) span { display: none; }
  .mphero .hero3d__hud { bottom: 14px; }
  .mphero .scroll-hint { display: none; }
}

/* =========================================================
   JOURNEY (scroll-zoom sequence like ref video 2)
   ========================================================= */
.journey { position: relative; background: var(--black); color: var(--white); }
.journey__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.journey__frame { position: absolute; inset: 0; will-change: transform, opacity, clip-path; }
.journey__frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.journey__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,20,19,.5) 0%, rgba(22,20,19,0) 35%, rgba(22,20,19,0) 60%, rgba(22,20,19,.7) 100%), linear-gradient(90deg, rgba(22,20,19,.55), rgba(22,20,19,0) 55%); }
.journey__copy { position: absolute; left: var(--gutter); top: calc(var(--header-h) + 6vh); z-index: 3; max-width: 640px; }
.journey__step { position: absolute; inset: 0 auto auto 0; width: min(640px, 80vw); opacity: 0; }
.journey__step .eyebrow { color: var(--sand-l); }
.journey__step h3 { font-size: clamp(36px, 5vw, 84px); text-transform: uppercase; font-weight: 300; margin: 18px 0 18px; }
.journey__step p { color: rgba(238,236,229,.78); max-width: 42ch; }
.journey__ruler { position: absolute; right: calc(var(--gutter) + 20px); top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
html[dir="rtl"] .journey__ruler { right: auto; left: calc(var(--gutter) + 20px); align-items: flex-start; }
.journey__ruler i { display: block; height: 1px; width: 14px; background: rgba(238,236,229,.35); transition: width .4s var(--ease), background .4s; }
.journey__ruler i.is-major { width: 26px; }
.journey__ruler i.is-on { background: var(--sand-l); width: 40px; }
.journey__level { position: absolute; right: var(--gutter); bottom: 5vh; z-index: 3; text-align: end; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
html[dir="rtl"] .journey__level { right: auto; left: var(--gutter); text-align: start; }
.journey__level b { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(56px, 6vw, 104px); letter-spacing: 0; line-height: .9; }
.journey__progress { position: absolute; left: var(--gutter); bottom: 5vh; z-index: 3; width: min(320px, 40vw); display: flex; gap: 6px; }
html[dir="rtl"] .journey__progress { left: auto; right: var(--gutter); }
.journey__progress span { flex: 1; height: 2px; background: rgba(238,236,229,.2); position: relative; overflow: hidden; }
.journey__progress span b { position: absolute; inset: 0; background: var(--sand-l); transform: scaleX(0); transform-origin: left; }

/* =========================================================
   MANIFESTO / text reveal
   ========================================================= */
.manifesto__text { font-family: var(--f-display); font-size: clamp(30px, 4.1vw, 68px); line-height: 1.12; font-weight: 300; max-width: 22ch; }
html[dir="rtl"] .manifesto__text { font-family: var(--f-ar); font-weight: 300; line-height: 1.5; max-width: 26ch; }
.manifesto__text .word { opacity: .14; transition: none; }
.manifesto__aside { display: grid; gap: 28px; align-content: end; }
.manifesto .grid-12 > :first-child { grid-column: 1 / span 8; }
.manifesto .grid-12 > :last-child { grid-column: 10 / span 3; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(70px, 9vw, 140px); }
.on-dark .stats, .on-charcoal .stats { border-color: var(--line-l); }
.stat { padding: 34px 26px 6px 0; border-inline-end: 1px solid var(--line); }
.on-dark .stat, .on-charcoal .stat { border-color: var(--line-l); }
.stat:last-child { border: 0; }
.stat + .stat { padding-inline-start: 26px; }
.stat b { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(48px, 5.6vw, 96px); line-height: 1; letter-spacing: -.02em; }
.stat b sup { font-size: .35em; vertical-align: top; margin-inline-start: 4px; color: var(--sand); }
.stat > span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.on-dark .stat > span, .on-charcoal .stat > span { color: rgba(238,236,229,.6); }

/* =========================================================
   FEATURED PROJECT (home)
   ========================================================= */
.feature { position: relative; }
.feature__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 90px); }
.feature__card { position: relative; display: block; height: min(86vh, 860px); overflow: hidden; }
.feature__media { position: absolute; inset: -10% 0; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,20,19,.78) 0%, rgba(22,20,19,.2) 55%, rgba(22,20,19,0) 100%); }
html[dir="rtl"] .feature__card::after { background: linear-gradient(-90deg, rgba(22,20,19,.78) 0%, rgba(22,20,19,.2) 55%, rgba(22,20,19,0) 100%); }
.feature__body { position: absolute; inset: auto var(--gutter) clamp(36px, 6vw, 80px); z-index: 2; color: var(--white); display: grid; gap: 26px; max-width: 620px; }
.feature__logo { width: min(380px, 70vw); }
.feature__meta { display: flex; flex-wrap: wrap; gap: 10px 34px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(238,236,229,.8); }
.feature__meta span::before { content: "✦"; color: var(--sand-l); margin-inline-end: 10px; font-size: 9px; }
.feature__strip { display: flex; gap: 18px; margin-top: 18px; }
.feature__strip figure { flex: 1; aspect-ratio: 4/3; overflow: hidden; position: relative; }
.feature__strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.feature__strip figure:hover img { transform: scale(1.06); }
.feature__strip figcaption { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* =========================================================
   PILLARS
   ========================================================= */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-l); margin-top: clamp(50px, 7vw, 100px); }
.pillar { background: var(--charcoal); padding: clamp(30px, 3.4vw, 56px); min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.pillar__num { font-family: var(--f-display); font-size: 15px; letter-spacing: .3em; color: var(--sand-l); }
.pillar h3 { font-size: clamp(30px, 3vw, 48px); text-transform: uppercase; font-weight: 300; line-height: 1.02; }
.pillar p { color: rgba(238,236,229,.7); font-size: 14px; }
.pillar__glyph { position: absolute; right: -40px; top: -40px; width: 220px; opacity: .06; color: var(--white); transition: transform 1.4s var(--ease-out), opacity .8s; }
.pillar:hover .pillar__glyph { transform: rotate(-8deg) scale(1.08); opacity: .12; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 26px; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 60px; animation: marquee 38s linear infinite; font-family: var(--f-display); font-size: clamp(32px, 4vw, 64px); text-transform: uppercase; font-weight: 300; }
.marquee__track span::after { content: "✦"; color: var(--sand); margin-inline-start: 60px; font-size: .4em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact .grid-12 > :first-child { grid-column: 1 / span 5; }
.contact .grid-12 > :last-child { grid-column: 7 / span 6; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 26px; }
.field { position: relative; display: grid; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.on-dark .field label { color: rgba(238,236,229,.55); }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 16px; outline: none; border-radius: 0;
  transition: border-color .4s; appearance: none; -webkit-appearance: none;
}
.on-dark .field input, .on-dark .field select, .on-dark .field textarea { border-color: var(--line-l); color: var(--white); }
.on-dark .field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sand); }
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir="rtl"] .field select { background-position: 12px 22px, 7px 22px; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__msg { font-size: 13px; min-height: 1.4em; }
.form__msg.ok { color: #7aa37a; } .form__msg.err { color: #c8705a; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.contact__info { display: grid; gap: 30px; margin-top: 50px; }
.contact__info div { display: grid; gap: 6px; }
.contact__info small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.on-dark .contact__info small { color: rgba(238,236,229,.5); }
.contact__info a, .contact__info p { font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.hotline b { font-family: var(--f-display); font-weight: 300; font-size: clamp(60px, 7vw, 120px); line-height: 1; color: var(--sand); display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--black); color: var(--white); padding-top: clamp(80px, 10vw, 150px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 80px; border-bottom: 1px solid var(--line-l); }
.footer h4 { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--sand-l); font-weight: 500; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: 14px; color: rgba(238,236,229,.75); }
.footer__tag { font-family: var(--f-display); font-size: clamp(28px, 2.6vw, 42px); line-height: 1.1; font-weight: 300; max-width: 16ch; }
.footer__giant { padding-block: 40px 20px; color: var(--sand); opacity: .9; }
.footer__giant svg { width: 100%; height: auto; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 24px 34px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(238,236,229,.45); }

/* =========================================================
   GLORY GARDENS PAGE
   ========================================================= */
.g-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #1b1420; color: var(--white); }
.g-hero__media { position: absolute; inset: 0; }
.g-hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.g-hero__rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.g-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 55%, rgba(27,20,32,.55), rgba(27,20,32,.1) 60%), linear-gradient(180deg, rgba(27,20,32,.6), rgba(27,20,32,0) 30%, rgba(27,20,32,.85)); }
.g-hero__body { position: absolute; z-index: 2; inset: auto var(--gutter) 9vh; display: grid; gap: 26px; max-width: 720px; }
.g-hero__logo { width: min(560px, 82vw); filter: drop-shadow(0 8px 40px rgba(0,0,0,.4)); }
.g-hero__tag { font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.2vw, 34px); font-weight: 300; color: rgba(238,236,229,.9); }
.g-hero__by { position: absolute; z-index: 2; right: var(--gutter); bottom: 9vh; display: grid; justify-items: end; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(238,236,229,.7); }
html[dir="rtl"] .g-hero__by { right: auto; left: var(--gutter); justify-items: start; }
.g-hero__by svg { width: 160px; color: var(--white); }

.overview .grid-12 > :first-child { grid-column: 1 / span 6; }
.overview .grid-12 > :last-child { grid-column: 8 / span 5; align-self: end; }
.overview__img { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.overview__img img { width: 100%; height: 120%; object-fit: cover; }

/* masterplan 3d */
.mp { position: relative; background: var(--charcoal-d); color: var(--white); }
.mp__stage { position: relative; height: 100vh; height: 100svh; min-height: 640px; }
.mp__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.mp__ui { position: absolute; inset: calc(var(--header-h) + 3vh) var(--gutter) 5vh; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; }
.mp__ui > * { pointer-events: auto; }
.mp__head { max-width: 520px; }
.mp__head h2 { margin: 16px 0 14px; }
.mp__legend { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line-l); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; background: rgba(22,20,19,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .4s, border-color .4s; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--sand)); }
.chip:hover, .chip.is-on { background: rgba(164,150,120,.35); border-color: var(--sand); }
.mp__tip { position: absolute; z-index: 5; pointer-events: none; padding: 14px 18px; background: var(--white); color: var(--ink); min-width: 190px; opacity: 0; transform: translate(-50%, calc(-100% - 18px)); transition: opacity .25s; }
.mp__tip.is-on { opacity: 1; }
.mp__tip small { display: block; font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--sand-d); }
.mp__tip b { font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.1; }
.mp__tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--white); transform: translateX(-50%) rotate(45deg); }
.mp__hint { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(238,236,229,.55); }
.mp__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.mp__toggle { display: flex; border: 1px solid var(--line-l); }
.mp__toggle button { padding: 11px 16px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.mp__toggle button.is-on { background: var(--sand); color: var(--white); }
.mp__plan2d { position: absolute; inset: 0; background: var(--charcoal-d); display: grid; place-items: center; padding: calc(var(--header-h) + 14vh) var(--gutter) 16vh; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.mp__plan2d.is-on { opacity: 1; pointer-events: auto; }
.mp__plan2d img { max-height: 100%; width: auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); }

/* amenities */
.amen { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); margin-top: clamp(50px, 6vw, 90px); }
.amen__item { border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; transition: color .6s var(--ease); isolation: isolate; }
.amen__item::before { content: ""; position: absolute; inset: 0; background: var(--charcoal); transform: translateY(101%); transition: transform .7s var(--ease); z-index: -1; }
.amen__item:hover { color: var(--white); }
.amen__item:hover::before { transform: translateY(0); }
.amen__item svg { width: 40px; height: 40px; stroke: var(--sand); fill: none; stroke-width: 1.1; }
.amen__item h4 { font-family: var(--f-display); font-size: 25px; font-weight: 500; line-height: 1.1; }
.amen__item p { font-size: 13px; color: var(--muted); transition: color .6s; }
.amen__item:hover p { color: rgba(238,236,229,.7); }

/* gallery horizontal */
.hgal { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hgal__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.hgal__track { display: flex; gap: 28px; padding-inline: var(--gutter); will-change: transform; width: max-content; }
.hgal__item { position: relative; height: 62vh; flex: none; overflow: hidden; }
.hgal__item img { height: 100%; width: auto; object-fit: cover; transform: scale(1.15); }
.hgal__item figcaption { position: absolute; left: 22px; bottom: 18px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
.hgal__item figcaption b { display: block; font-family: var(--f-display); font-size: 30px; letter-spacing: 0; font-weight: 300; text-transform: none; }

/* units explorer */
.units__tabs { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); width: max-content; max-width: 100%; }
.units__tabs button { width: 62px; height: 62px; font-family: var(--f-display); font-size: 26px; border-inline-end: 1px solid var(--line); transition: background .4s, color .4s; }
.units__tabs button:last-child { border: 0; }
.units__tabs button.is-on { background: var(--black); color: var(--white); }
.units__tabs button:not(.is-on):hover { background: rgba(164,150,120,.18); }
.units__wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 90px); margin-top: 50px; align-items: start; }
.units__plan { position: relative; background: #0d0c0b; aspect-ratio: 1 / 1.05; overflow: hidden; cursor: zoom-in; }
.units__plan.is-zoom { cursor: grab; }
.units__plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; transform-origin: 0 0; transition: opacity .5s; }
.units__plan-tools { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; z-index: 2; }
.units__plan-tools button { width: 38px; height: 38px; background: rgba(238,236,229,.92); color: var(--ink); font-size: 18px; }
.units__floor { display: flex; gap: 0; border: 1px solid var(--line); width: max-content; margin-bottom: 30px; }
.units__floor button { padding: 12px 22px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.units__floor button.is-on { background: var(--sand); color: var(--white); }
.units__type { font-family: var(--f-display); font-size: clamp(80px, 11vw, 190px); line-height: .8; font-weight: 300; color: var(--sand); }
.units__specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 34px; }
.units__specs div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.units__specs div:nth-child(odd) { padding-inline-end: 20px; border-inline-end: 1px solid var(--line); }
.units__specs div:nth-child(even) { padding-inline-start: 20px; }
.units__specs small { display: block; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.units__specs b { font-family: var(--f-display); font-size: 34px; font-weight: 400; }
.units__list { margin-top: 30px; display: grid; gap: 8px; }
.units__list li { list-style: none; display: flex; justify-content: space-between; padding: 12px 16px; background: rgba(22,20,19,.04); font-size: 13px; }
.units__list li b { font-family: var(--f-display); font-size: 20px; font-weight: 500; }

/* location */
.loc { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.loc__map { position: relative; aspect-ratio: 16 / 11; background: var(--charcoal-d); overflow: hidden; }
.loc__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loc__list { display: grid; margin-top: 40px; border-top: 1px solid var(--line-l); }
.loc__list li { list-style: none; display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-l); }
.loc__list b { font-family: var(--f-display); font-weight: 300; font-size: 44px; line-height: 1; color: var(--sand-l); }
.loc__list b small { font-family: var(--f-body); font-size: 10px; letter-spacing: .2em; margin-inline-start: 4px; color: rgba(238,236,229,.6); }

/* reveal base */
[data-reveal] { opacity: 0; transform: translateY(40px); }
[data-reveal="fade"] { transform: none; }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }
[data-img-reveal] { clip-path: inset(100% 0 0 0); }
.no-js [data-img-reveal], .reduced [data-img-reveal] { clip-path: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header .btn { display: none; }
  .manifesto .grid-12 > :first-child, .manifesto .grid-12 > :last-child,
  .overview .grid-12 > :first-child, .overview .grid-12 > :last-child,
  .contact .grid-12 > :first-child, .contact .grid-12 > :last-child { grid-column: 1 / -1; }
  .manifesto__aside { margin-top: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 320px; }
  .amen { grid-template-columns: repeat(2, 1fr); }
  .units__wrap, .loc { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .contact .grid-12 > :last-child { margin-top: 50px; }
}
@media (max-width: 720px) {
  :root { --header-h: 70px; }
  body { font-size: 14px; }
  .header__logo { width: 118px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 14px 16px 0; }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(3) { padding-inline-start: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .on-dark .stat:nth-child(n+3), .on-charcoal .stat:nth-child(n+3) { border-top-color: var(--line-l); }
  .form { grid-template-columns: 1fr; }
  .amen { grid-template-columns: 1fr; }
  .amen__item { min-height: 0; }
  .feature__strip { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .hgal__item { height: 46vh; }
  .units__tabs button { width: 50px; height: 50px; font-size: 22px; }
  .journey__ruler { display: none; }
  .g-hero__by { display: none; }
  .rail { display: none; }
  .hero3d { height: 320vh; }
  .loc__list li { grid-template-columns: 70px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .scroll-hint i::after { animation: none; }
}
.hotline b a { font-size: inherit; font-family: inherit; line-height: 1; }

/* ---------- RTL / Arabic typography ---------- */
html[dir="rtl"] em, html[dir="rtl"] .display em, html[dir="rtl"] h2 em, html[dir="rtl"] h1 em { font-style: normal; }
html[dir="rtl"] .split-line { padding-bottom: .22em; margin-bottom: -.22em; padding-top: .1em; }
html[dir="rtl"] h4, html[dir="rtl"] .contact__info p, html[dir="rtl"] .footer__tag, html[dir="rtl"] .g-hero__tag,
html[dir="rtl"] .hgal__item figcaption b, html[dir="rtl"] .mp__tip b, html[dir="rtl"] .marquee__track,
html[dir="rtl"] .journey__step h3, html[dir="rtl"] .pillar h3, html[dir="rtl"] .mobile-menu a, html[dir="rtl"] .amen__item h4 { font-family: var(--f-ar); font-style: normal; font-weight: 300; line-height: 1.35; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .nav, html[dir="rtl"] .btn, html[dir="rtl"] .stat > span, html[dir="rtl"] .field label { letter-spacing: 0; }
html[dir="rtl"] .display-l, html[dir="rtl"] .display-xl, html[dir="rtl"] .hero3d__title .display, html[dir="rtl"] .hero3d__final .display { line-height: 1.25; }
@media (max-width: 720px) {
  .units__tabs { display: grid; grid-template-columns: repeat(8, 1fr); width: 100%; }
  .units__tabs button { width: auto; height: 48px; font-size: 21px; }
}

/* =========================================================
   INTERIOR WALKTHROUGH (Glory)
   ========================================================= */
.interior { position: relative; height: 900vh; background: #141317; color: var(--white); }
.interior__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.interior__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.interior__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 55%, rgba(10,9,8,.55) 100%), linear-gradient(180deg, rgba(10,9,8,.45), rgba(10,9,8,0) 22%, rgba(10,9,8,0) 70%, rgba(10,9,8,.55)); }
.interior__intro { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 0 var(--gutter); background: linear-gradient(90deg, rgba(14,13,16,.85), rgba(14,13,16,.35) 60%, rgba(14,13,16,.1)); pointer-events: none; }
html[dir="rtl"] .interior__intro { background: linear-gradient(-90deg, rgba(14,13,16,.85), rgba(14,13,16,.35) 60%, rgba(14,13,16,.1)); }
.interior__intro .display { font-size: clamp(48px, 7vw, 120px); text-transform: uppercase; font-weight: 300; }
.interior__intro p { max-width: 44ch; color: rgba(238,236,229,.78); }
.interior__room { position: absolute; left: var(--gutter); bottom: 8vh; max-width: 560px; opacity: 0; }
html[dir="rtl"] .interior__room { left: auto; right: var(--gutter); }
.interior__room h3 { font-size: clamp(40px, 5vw, 86px); text-transform: uppercase; font-weight: 300; margin: 14px 0 10px; text-shadow: 0 2px 40px rgba(0,0,0,.4); }
.interior__room p { font-size: 12px; letter-spacing: .3em; color: var(--sand-l); }
.interior__map { position: absolute; right: var(--gutter); bottom: 8vh; width: min(260px, 34vw); padding: 14px; background: rgba(20,19,23,.55); border: 1px solid var(--line-l); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; }
html[dir="rtl"] .interior__map { right: auto; left: var(--gutter); }
.interior__map svg { width: 100%; height: auto; overflow: visible; }
.interior__map small { display: block; margin-top: 8px; font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: rgba(238,236,229,.6); }
.interior__map .rm { fill: rgba(238,236,229,.05); stroke: rgba(238,236,229,.35); stroke-width: .04; transition: fill .4s; }
.interior__map .rm.is-on { fill: rgba(164,150,120,.35); stroke: var(--sand-l); }
.interior__map .cone { fill: rgba(201,188,157,.35); }
.interior__map .dot { fill: var(--sand-l); }
.interior__steps { position: absolute; top: 50%; right: calc(var(--gutter) * .5 + 24px); transform: translateY(-50%); list-style: none; display: grid; gap: 14px; justify-items: end; opacity: 0; }
html[dir="rtl"] .interior__steps { right: auto; left: calc(var(--gutter) * .5 + 24px); justify-items: start; }
.interior__steps li { display: flex; align-items: center; gap: 12px; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: rgba(238,236,229,.45); transition: color .4s; }
.interior__steps li::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
html[dir="rtl"] .interior__steps li { flex-direction: row-reverse; }
.interior__steps li.is-on { color: var(--white); }
.interior__steps li.is-on::after { width: 34px; background: var(--sand-l); }
.interior__end { position: absolute; left: 50%; bottom: 8vh; transform: translateX(-50%); opacity: 0; pointer-events: none; }
.interior__end.is-live { pointer-events: auto; }
.no-webgl .interior { height: auto; }
@media (max-width: 720px) {
  .interior { height: 760vh; }
  .interior__steps { display: none; }
  .interior__map { bottom: auto; top: calc(var(--header-h) + 10px); width: 150px; padding: 8px; }
  .interior__room { bottom: 6vh; }
}

/* ---------- WhatsApp ---------- */
.wa-ico { display: inline-block; width: 1em; height: 1em; flex: none; background: currentColor;
  -webkit-mask: var(--wa-svg) center / contain no-repeat; mask: var(--wa-svg) center / contain no-repeat;
  --wa-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E"); }
.contact__info .wa-link { display: inline-flex; align-items: center; gap: .5em; justify-self: start; transition: color .3s; }
.contact__info .wa-link .wa-ico { color: #25d366; font-size: .95em; }
.contact__info .wa-link:hover { color: #25d366; }
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 80; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; font-size: 27px;
  box-shadow: 0 10px 28px rgba(0,0,0,.28); transition: transform .3s, box-shadow .3s; }
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 34px rgba(0,0,0,.36); }
@media (max-width: 720px) { .wa-float { bottom: 16px; inset-inline-start: 16px; width: 46px; height: 46px; font-size: 24px; } }

/* ---------- cookie consent ---------- */
.consent { position: fixed; z-index: 95; inset: auto 22px 22px auto; max-width: 440px; padding: 22px 24px; display: grid; gap: 18px;
  background: var(--black); color: var(--white); border: 1px solid var(--line-l); font-size: 13px; line-height: 1.6; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
html[dir=rtl] .consent { inset: auto auto 22px 22px; font-family: var(--f-ar); }
.consent[hidden] { display: none; }
.consent a { color: var(--sand-l); }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.consent .btn { padding: 11px 20px; }
.consent .btn--ghost { color: var(--white); }
@media (max-width: 720px) { .consent, html[dir=rtl] .consent { inset: auto 12px 76px 12px; max-width: none; } }

/* ---------- form consent line + legal links ---------- */
.form__note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); line-height: 1.6; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a, .footer__legal button { color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--white); }

/* ---------- legal pages ---------- */
.legal { padding: calc(var(--header-h) + 8vh) 0 12vh; background: var(--paper); color: var(--ink); }
.legal__in { max-width: 780px; }
.legal h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin: 18px 0 12px; }
html[dir=rtl] .legal h1, html[dir=rtl] .legal h2 { font-family: var(--f-ar); font-weight: 400; }
.legal__meta { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-family: var(--f-display); font-weight: 500; font-size: 28px; margin: 44px 0 14px; }
.legal p, .legal li { font-size: 15px; line-height: 1.8; color: #3a3833; }
.legal ul { padding-inline-start: 20px; display: grid; gap: 6px; margin: 10px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0; }
.legal th, .legal td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
[data-only] { display: none; }
html[lang=en] [data-only=en], html[lang=ar] [data-only=ar] { display: block; }

/* ---------- live availability (api/inventory.php) ---------- */
.units__avail { margin-top: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; letter-spacing: .04em; }
.units__avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6f9a63; box-shadow: 0 0 0 4px rgba(111,154,99,.18); }
.units__avail.is-out::before { background: #b86b55; box-shadow: 0 0 0 4px rgba(184,107,85,.18); }
.units__avail b { font-family: var(--f-display); font-size: 22px; font-weight: 500; }
.units__avail .units__from { color: var(--muted); }
.mp__tip .mp__avail { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .04em; color: #4f7a45; }
.mp__tip .mp__avail.is-out { color: #a65a45; }
.mp__tip .mp__spec { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .04em; color: var(--muted); }

/* masterplan: the selected building (glory.js) */
.mp__card { position: absolute; z-index: 6; inset-inline-end: var(--gutter); top: calc(var(--header-h) + 3vh); width: min(320px, calc(100% - 2 * var(--gutter))); padding: 22px 24px 24px; background: var(--white); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.mp__card[hidden] { display: none; }
.mp__card small { display: block; font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--sand-d); }
.mp__card b { display: block; margin-top: 6px; font-family: var(--f-display); font-weight: 500; font-size: 30px; line-height: 1.1; }
.mp__card p { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.mp__card .mp__avail { display: block; margin-top: 6px; font-size: 13px; color: #4f7a45; }
.mp__card .mp__avail.is-out { color: #a65a45; }
.mp__card .btn { margin-top: 18px; }
.mp__card-x { position: absolute; top: 8px; inset-inline-end: 10px; width: 32px; height: 32px; font-size: 22px; line-height: 1; color: var(--muted); }
@media (max-width: 720px) { .mp__card { top: auto; bottom: 120px; } }

/* units explorer: 3D design / floor plan / building views, selectable units (glory.js) */
.units__plan[data-view="3d"], .units__plan[data-view="ext"] { background: #2d454d; }
.units__plan[data-view="ext"] img { object-fit: cover; padding: 0; }
.units__views { position: absolute; inset-inline-start: 14px; top: 14px; display: flex; z-index: 2; background: rgba(238,236,229,.92); }
.units__views button { padding: 10px 14px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.units__views button.is-on { background: var(--sand); color: var(--white); }
.units__note { position: absolute; left: 14px; bottom: 14px; z-index: 2; max-width: calc(100% - 120px); margin: 0; padding: 7px 10px; font-size: 11px; line-height: 1.5; color: var(--ink); background: rgba(238,236,229,.92); pointer-events: none; }
.units__bld { margin-top: 24px; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.units__bld b { color: var(--ink); font-weight: 600; margin-inline-start: 6px; }
.units__list li { cursor: pointer; transition: background .3s, color .3s; }
.units__list li:hover { background: rgba(164,150,120,.18); }
.units__list li.is-on { background: var(--black); color: var(--white); }
.units__list li small { color: var(--muted); font-size: 12px; }
.units__list li.is-on small { color: rgba(255,255,255,.7); }
.units__list li:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
@media (max-width: 420px) { .units__views button { padding: 9px 10px; letter-spacing: .1em; } }
.units__avail[hidden] { display: none; }
