/* Al Muzn Development — design system
   Midnight navy + champagne gold, editorial serif display, generous negative space. */
:root {
  --night: #0a1322;
  --night-2: #0f1b2e;
  --night-3: #16243a;
  --gold: #c9a56a;
  --gold-2: #e8d3a2;
  --gold-3: #9c7a43;
  --gold-grad: linear-gradient(100deg, #9c7a43 0%, #e8d3a2 28%, #c9a56a 52%, #f4e6c3 70%, #a8854c 100%);
  --ivory: #f5f0e6;
  --ivory-2: #ebe3d3;
  --ink: #141b26;
  --mute: rgba(245, 240, 230, .64);
  --line: rgba(232, 211, 162, .18);
  --line-dark: rgba(20, 27, 38, .14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4.4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}
html[lang="ar"] {
  --serif: "Noto Kufi Arabic", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --sans: "IBM Plex Sans Arabic", "Noto Kufi Arabic", Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.motion) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--night); color: var(--ivory); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 4px; }
.shell { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: fixed; top: -4rem; inset-inline-start: 1rem; z-index: 200; background: var(--gold); color: var(--night); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.muted { color: var(--mute); }

/* ── Type ── */
.eyebrow { margin: 0 0 1.2rem; color: var(--gold-2); text-transform: uppercase; letter-spacing: .32em; font: 500 .75rem/1.4 var(--sans); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow.dark { color: var(--gold-3); }
.display { margin: 0 0 1.6rem; font: 300 clamp(3.1rem, 8.4vw, 8.6rem)/.92 var(--serif); letter-spacing: -.02em; }
html[lang="ar"] .display { font-weight: 300; line-height: 1.25; font-size: clamp(2.6rem, 6.6vw, 6.6rem); letter-spacing: 0; }
.h2, h2 { margin: 0 0 1.4rem; font: 300 clamp(2.2rem, 4.6vw, 4.4rem)/1 var(--serif); letter-spacing: -.01em; }
html[lang="ar"] .h2, html[lang="ar"] h2 { line-height: 1.35; font-size: clamp(1.9rem, 3.8vw, 3.5rem); }
h3 { font: 400 1.6rem/1.15 var(--serif); margin: 0 0 .7rem; }
html[lang="ar"] h3 { font-size: 1.3rem; line-height: 1.5; }
em { font-style: italic; }
.display em, .h2 em, h2 em, .footer-line em { background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
html[lang="ar"] em { font-style: normal; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.7; color: inherit; opacity: .86; max-width: 46ch; }
.ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
html[lang="ar"] .ln { padding-block: .12em; margin-block: -.12em; }
.ln > span { display: block; }
.small-note { font-size: .82rem; opacity: .62; margin-top: 2rem; }
.text-link { display: inline-flex; gap: .6rem; align-items: center; color: var(--gold-2); border-bottom: 1px solid currentColor; padding-bottom: .2rem; font-size: .9rem; letter-spacing: .04em; }
.arr { display: inline-block; transition: transform .4s var(--ease); }
a:hover .arr { transform: translateX(6px); }
[dir="rtl"] a:hover .arr { transform: translateX(-6px); }

/* ── Motion initial states (only when JS motion is active) ── */
html.motion [data-lines] .ln > span { transform: translateY(105%); }
html.motion [data-fade] { opacity: 0; transform: translateY(26px); }
html.motion [data-img-reveal] { clip-path: inset(100% 0 0 0); }

/* ── Buttons ── */
.button { position: relative; isolation: isolate; overflow: hidden; min-height: 52px; padding: .85rem 1.6rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border: 1px solid transparent; border-radius: 0; font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: color .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease); }
html[lang="ar"] .button { letter-spacing: 0; font-size: .95rem; }
.button::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform .7s var(--ease); }
[dir="rtl"] .button::after { transform: translateX(101%); }
.button:hover::after, .button:focus-visible::after { transform: translateX(0); }
.button-gold { background: var(--gold-grad); background-size: 220% 100%; color: var(--night); animation: sheen 6s linear infinite; }
.button-gold::after { background: var(--ivory); }
.button-ghost { border-color: rgba(232, 211, 162, .45); color: var(--ivory); background: rgba(10, 19, 34, .2); backdrop-filter: blur(8px); }
.button-ghost::after { background: var(--gold-2); }
.button-ghost:hover { color: var(--night); }
.button-line { min-height: 42px; padding: .6rem 1.1rem; border-color: rgba(232, 211, 162, .4); color: var(--gold-2); font-size: .75rem; }
.button-line::after { background: var(--gold-2); }
.button-line:hover { color: var(--night); }
.button-dark { background: var(--night); color: var(--ivory); }
.button-dark::after { background: var(--gold-3); }
.button-whatsapp { background: #1f6b4c; color: #fff; }
.button-whatsapp::after { background: #17573d; }
@keyframes sheen { to { background-position: -220% 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

/* ── Header ── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-inline: var(--gutter); transition: transform .6s var(--ease), background .6s var(--ease), height .6s var(--ease); }
.site-header::after { content: ""; position: absolute; inset: auto var(--gutter) 0; height: 1px; background: var(--line); transition: opacity .6s; }
.site-header.is-solid { background: rgba(10, 19, 34, .82); backdrop-filter: blur(16px) saturate(1.2); height: 70px; }
.site-header.is-solid::after { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: .85rem; position: relative; z-index: 2; }
.brand-mark { width: 46px; height: 37px; background: var(--gold-grad); background-size: 200% 100%; -webkit-mask: url("/assets/almuzn-mark.png") center/contain no-repeat; mask: url("/assets/almuzn-mark.png") center/contain no-repeat; animation: sheen 8s linear infinite; }
.brand-word strong, .brand-word small { display: block; line-height: 1.15; }
.brand-word strong { font: 400 1.18rem/1.1 var(--serif); letter-spacing: .2em; }
.brand-word small { font-size: .75rem; letter-spacing: .42em; color: var(--mute); }
html[lang="ar"] .brand-word strong { letter-spacing: 0; font-size: 1.1rem; }
html[lang="ar"] .brand-word small { letter-spacing: 0; font-size: .75rem; }
.desktop-nav { display: flex; gap: clamp(1.2rem, 2.2vw, 2.4rem); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .desktop-nav { letter-spacing: 0; font-size: .95rem; }
.desktop-nav a { position: relative; color: rgba(245, 240, 230, .78); padding: .4rem 0; transition: color .3s; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--ivory); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 1.2rem; position: relative; z-index: 2; }
.lang-link { font-size: .9rem; color: var(--gold-2); }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-button span { display: block; width: 18px; height: 1px; background: var(--ivory); transition: transform .5s var(--ease); }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 1; background: var(--night); padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem; display: flex; flex-direction: column; gap: .2rem; overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: flex; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font: 300 clamp(1.8rem, 7vw, 2.6rem)/1.2 var(--serif); }
.mobile-nav small { font: 500 .75rem var(--sans); color: var(--gold); letter-spacing: .2em; }

/* ── Overlays: intro, curtain, cursor, grain ── */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; pointer-events: none; }
html:not(.motion) .intro, .intro.is-done { display: none; }
.intro-panel { position: absolute; inset-inline: 0; height: 50.5%; background: var(--night); z-index: -1; }
.intro-panel-a { top: 0; } .intro-panel-b { bottom: 0; }
.intro-inner { text-align: center; display: grid; justify-items: center; gap: .6rem; }
.intro-mark { position: relative; width: 112px; height: 90px; -webkit-mask: url("/assets/almuzn-mark.png") center/contain no-repeat; mask: url("/assets/almuzn-mark.png") center/contain no-repeat; background: rgba(232, 211, 162, .14); margin-bottom: 1.6rem; }
.intro-mark i { position: absolute; inset: 0; background: var(--gold-grad); background-size: 200% 100%; transform-origin: bottom; transform: scaleY(0); }
.intro-value { margin: 0; font: 300 clamp(2rem, 5vw, 3.6rem)/1 var(--serif); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.intro-caption { margin: 0; font-size: .75rem; letter-spacing: .4em; text-transform: uppercase; color: var(--mute); }
.intro-bar { width: 180px; height: 1px; background: var(--line); margin-top: 1.4rem; overflow: hidden; }
.intro-bar i { display: block; height: 100%; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
.curtain { position: fixed; inset: 0; z-index: 90; background: var(--night); display: grid; place-items: center; pointer-events: none; transform: translateY(100%); }
html.tx-in .curtain { transform: none; }
.curtain-mark { width: 70px; height: 56px; -webkit-mask: url("/assets/almuzn-mark.png") center/contain no-repeat; mask: url("/assets/almuzn-mark.png") center/contain no-repeat; background: var(--gold-grad); background-size: 200% 100%; animation: sheen 3s linear infinite; }
.cursor { position: fixed; top: 0; left: 0; z-index: 95; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold-2); pointer-events: none; mix-blend-mode: difference; opacity: 0; display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .5s; }
.cursor.is-on { opacity: 1; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; background: rgba(232, 211, 162, .94); }
.cursor-label { font: 500 .75rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--night); opacity: 0; transition: opacity .3s; }
.cursor.is-label .cursor-label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }
.grain { position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

/* ── Hero ── */
.hx { position: relative; min-height: max(100svh, 640px); display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hx-media, .page-hero-media { position: absolute; inset: 0; z-index: -3; }
.hx-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hx-dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hx-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(10, 19, 34, .78) 0%, rgba(10, 19, 34, .15) 30%, rgba(10, 19, 34, .25) 55%, rgba(10, 19, 34, .96) 100%), radial-gradient(ellipse at 15% 70%, rgba(10, 19, 34, .82), transparent 58%); }
[dir="rtl"] .hx-shade { background: linear-gradient(180deg, rgba(10, 19, 34, .78) 0%, rgba(10, 19, 34, .15) 30%, rgba(10, 19, 34, .25) 55%, rgba(10, 19, 34, .96) 100%), radial-gradient(ellipse at 85% 70%, rgba(10, 19, 34, .82), transparent 58%); }
.hx-content { align-self: end; padding-top: calc(var(--header-h) + 4rem); }
.hx-content .display { max-width: 12ch; }
.hx-copy { max-width: 52ch; font-size: clamp(1rem, 1.4vw, 1.18rem); color: rgba(245, 240, 230, .82); }
.hx-foot { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 2.6rem 0 2rem; }
.scroll-cue { display: inline-flex; align-items: center; gap: 1rem; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.scroll-cue i { position: relative; width: 1px; height: 52px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold-2); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hx-now { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: 1rem 1.3rem; border: 1px solid var(--line); background: rgba(10, 19, 34, .45); backdrop-filter: blur(12px); transition: border-color .4s; }
.hx-now:hover { border-color: var(--gold-2); }
.hx-now span:not(.pulse) { font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); }
.hx-now strong { grid-column: 2; font: 400 1.25rem/1.2 var(--serif); }
.pulse { grid-row: span 2; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(232, 211, 162, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(232, 211, 162, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 211, 162, 0); } }
.hx-logo { width: 92px; height: auto; filter: brightness(0) saturate(100%) invert(84%) sepia(18%) saturate(640%) hue-rotate(358deg) brightness(96%); margin-bottom: 1.4rem; }
.hx-tag { font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.breadcrumbs a { color: var(--gold-2); }

/* ── Marquee ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.3rem 0; background: var(--night); }
.marquee-track { display: flex; width: max-content; gap: 2.6rem; align-items: center; animation: marquee 38s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee span { font: 300 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--serif); white-space: nowrap; color: rgba(245, 240, 230, .8); }
.marquee i { font-style: normal; color: var(--gold); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ── Value / 30M ── */
.value { position: relative; overflow: hidden; padding: clamp(6rem, 14vw, 12rem) 0; background: radial-gradient(ellipse at 70% 30%, #13233b 0%, var(--night) 62%); isolation: isolate; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.value-inner { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.value .eyebrow { grid-column: 1 / -1; }
.value-figure { grid-column: 1; grid-row: 2 / span 2; margin: 0; display: flex; align-items: flex-start; line-height: .8; }
.value-num { font: 300 clamp(9rem, 27vw, 25rem)/.78 var(--serif); letter-spacing: -.05em; background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s linear infinite; font-variant-numeric: lining-nums tabular-nums; }
html[lang="ar"] .value-num { font-family: "Cormorant Garamond", serif; }
.value-unit { font: 300 clamp(4rem, 10vw, 9rem)/.9 var(--serif); color: var(--gold-2); margin-top: .1em; }
html[lang="ar"] .value-unit { font-size: clamp(2rem, 4.5vw, 4rem); margin: .6em .3em 0 0; }
.value-cur { font: 500 .8rem var(--sans); letter-spacing: .4em; color: var(--gold-2); writing-mode: vertical-rl; margin-inline-end: 1.2rem; margin-top: .6rem; }
html[lang="ar"] .value-cur { letter-spacing: 0; font-size: 1.1rem; writing-mode: horizontal-tb; align-self: flex-end; margin-bottom: 1.4rem; }
.value-title { grid-column: 2; }
.value-copy { grid-column: 2; color: var(--mute); max-width: 44ch; }
.value-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(4rem, 8vw, 7rem) 0 0; border-top: 1px solid var(--line); }
.value-stats div { padding: 2rem 1.4rem 0 0; border-inline-end: 1px solid var(--line); }
.value-stats div:last-child { border: 0; }
.value-stats div + div { padding-inline-start: 1.6rem; }
.value-stats dt { font: 300 clamp(2.8rem, 5vw, 4.6rem)/1 var(--serif); color: var(--gold-2); }
.value-stats dd { margin: .6rem 0 0; color: var(--mute); font-size: .9rem; }
.value-compact { padding: clamp(4rem, 9vw, 8rem) 0; }
.value-compact .value-figure { grid-row: auto; }

/* ── Horizontal portfolio ── */
.hscroll { position: relative; background: var(--night); padding: clamp(5rem, 9vw, 8rem) 0 4rem; }
.hscroll-pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(2rem, 4vw, 3.2rem); }
.hscroll.is-pinned .hscroll-pin { height: 100vh; }
.hscroll.is-pinned { padding: 0; }
.hscroll-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.hscroll-head .h2 { margin: 0; }
.hscroll-hint { display: flex; align-items: center; gap: 1rem; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); margin: 0; }
.hscroll-bar { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.hscroll-bar i { display: block; height: 100%; background: var(--gold-2); transform: scaleX(.12); transform-origin: left; }
[dir="rtl"] .hscroll-bar i { transform-origin: right; }
.hscroll-track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; will-change: transform; }
.hscroll-track::-webkit-scrollbar { display: none; }
.hscroll.is-pinned .hscroll-track { overflow: visible; scroll-snap-type: none; }
.pcard { flex: 0 0 clamp(290px, 40vw, 620px); scroll-snap-align: start; }
.hscroll.is-pinned .pcard-media { aspect-ratio: auto; height: min(50vh, 30vw); }
.hscroll.is-pinned .pcard { flex-basis: clamp(290px, 38vw, 600px); }
.hscroll.is-pinned .gcard img { aspect-ratio: auto; height: min(56vh, 32vw); }
.pcard-link { display: block; }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.92); }
.pcard-link:hover .pcard-media img { transform: scale(1.1); filter: saturate(1.05); }
.pcard-body { display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; align-items: baseline; padding-top: 1.4rem; border-top: 1px solid var(--line); margin-top: 1.4rem; }
.pcard-index { grid-row: span 3; font: 300 1rem var(--serif); color: var(--gold); }
.pcard-body .chip { justify-self: start; }
.pcard-body h3 { margin: .8rem 0 .2rem; font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 300; }
.pcard-body p { margin: 0; color: var(--mute); font-size: .9rem; }
.pcard-end { flex-basis: clamp(240px, 24vw, 340px); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding: 2rem; border: 1px solid var(--line); }
.pcard-end p { font: 300 2rem/1.15 var(--serif); margin: 0; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .75rem; border: 1px solid var(--line); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
html[lang="ar"] .chip { letter-spacing: 0; font-size: .8rem; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-launching::before { animation: pulse 2s infinite; }
.chip-planning { color: #a9b8d0; }
.chip-completed { color: var(--mute); }


/* ── Spotlight ── */
.spot { background: var(--ivory); color: var(--ink); padding: clamp(5rem, 10vw, 9rem) 0 0; overflow: hidden; }
.spot-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.spot-media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.spot-media img { width: 100%; height: 100%; object-fit: cover; }
.spot-logo { width: 70px; filter: brightness(0) saturate(100%) invert(50%) sepia(31%) saturate(640%) hue-rotate(358deg) brightness(90%); margin-bottom: 1.6rem; }
.spot-copy p { color: rgba(20, 27, 38, .74); }
.spot-stats { display: flex; gap: clamp(1.4rem, 3vw, 3rem); margin: 2rem 0 2.4rem; padding: 1.6rem 0; border-block: 1px solid var(--line-dark); }
.spot-stats dt { font: 300 2.6rem/1 var(--serif); color: var(--gold-3); }
.spot-stats dd { margin: .4rem 0 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(20, 27, 38, .6); }
.spot-strip { display: flex; gap: 1.2rem; margin-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(4rem, 8vw, 7rem); width: max-content; will-change: transform; }
.spot-strip figure { margin: 0; width: clamp(220px, 26vw, 420px); aspect-ratio: 4 / 3; overflow: hidden; }
.spot-strip figure:nth-child(even) { margin-top: 3rem; }
.spot-strip img { width: 100%; height: 100%; object-fit: cover; }

/* ── Pipeline ── */
.pipeline { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--night); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-heading p { max-width: 46ch; opacity: .8; margin: 0 0 1.6rem; }
.timeline { position: relative; }
.timeline-line { position: absolute; top: 7px; inset-inline: 0; width: 100%; height: 4px; overflow: visible; }
.timeline-line path { stroke: var(--gold); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.timeline li { display: grid; gap: .3rem; padding-top: 2.2rem; position: relative; }
.timeline .dot { position: absolute; top: 0; inset-inline-start: 0; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--gold-2); background: var(--night); }
.dot-completed, .dot-selling { background: var(--gold-2) !important; }
.dot-launching { background: var(--gold) !important; box-shadow: 0 0 0 6px rgba(201, 165, 106, .18); }
.timeline small { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
html[lang="ar"] .timeline small { letter-spacing: 0; font-size: .8rem; }
.timeline strong { font: 400 1.5rem/1.2 var(--serif); }
.timeline li > span:last-child { color: var(--mute); font-size: .88rem; }

/* ── Pillars ── */
.pillars { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--night-2); border-top: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.pillar-grid article { padding: 2.4rem 2rem 1rem 0; border-inline-end: 1px solid var(--line); }
.pillar-grid article + article { padding-inline-start: 2rem; }
.pillar-grid article:last-child { border: 0; }
.pillar-num { display: block; font: 300 3.2rem/1 var(--serif); color: var(--gold); margin-bottom: 1.6rem; }
.pillar-grid p { color: var(--mute); margin: 0; }

/* ── CTA band ── */
.cta-band { position: relative; overflow: hidden; padding: clamp(6rem, 12vw, 11rem) 0; background: radial-gradient(ellipse at 50% 120%, #2a2414 0%, var(--night) 65%); text-align: center; }
.cta-band-inner { display: grid; justify-items: center; }
.cta-band .h2 { font-size: clamp(2.6rem, 6.4vw, 6rem); }
.cta-band p { max-width: 52ch; color: var(--mute); }
.cta-band .hero-actions { justify-content: center; }
.cta-mark { width: 74px; height: 60px; -webkit-mask: url("/assets/almuzn-mark.png") center/contain no-repeat; mask: url("/assets/almuzn-mark.png") center/contain no-repeat; background: var(--gold-grad); background-size: 200% 100%; animation: sheen 7s linear infinite; margin-bottom: 2.4rem; }

/* ── Generic sections ── */
.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.paper-section { background: var(--ivory); color: var(--ink); }
.paper-section .lead { opacity: .82; }
.dark-section { background: var(--night-2); }
.editorial-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 7rem); }
.editorial-grid p { color: rgba(20, 27, 38, .76); }
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(5rem, 11vw, 9rem)) 0 clamp(4rem, 8vw, 7rem); background: radial-gradient(ellipse at 80% 0%, #17294a 0%, var(--night) 60%); }
.page-hero-image { min-height: 82svh; display: flex; align-items: flex-end; }
.page-hero-media img { object-position: center; }

/* ── Portfolio list ── */
.plist { background: var(--night); padding-bottom: clamp(4rem, 8vw, 7rem); }
.prow { border-top: 1px solid var(--line); }
.prow:last-child { border-bottom: 1px solid var(--line); }
.prow-link { display: grid; grid-template-columns: 4rem 1.4fr 1fr minmax(220px, 1fr); gap: 2rem; align-items: center; padding: 2.4rem 0; }
.prow-index { font: 300 1.1rem var(--serif); color: var(--gold); align-self: start; padding-top: .3rem; }
.prow-title h2 { margin: 1rem 0 .6rem; font-size: clamp(2rem, 4vw, 3.6rem); transition: color .5s; }
.prow-link:hover h2 { color: var(--gold-2); }
.prow-title p { margin: 0; color: var(--mute); max-width: 44ch; }
.prow-meta { display: grid; gap: 1rem; margin: 0; }
.prow-meta dt { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.prow-meta dd { margin: 0; font-size: 1rem; }
.prow-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.prow-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prow-link:hover .prow-media img { transform: scale(1.06); }

/* ── Marasi Saada 2 ── */
.essence { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.essence-media { position: absolute; inset: -12% 0; z-index: -2; }
.essence-media img { width: 100%; height: 100%; object-fit: cover; }
.essence::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 19, 34, .94) 0%, rgba(10, 19, 34, .55) 55%, rgba(10, 19, 34, .2) 100%); }
[dir="rtl"] .essence::before { background: linear-gradient(-90deg, rgba(10, 19, 34, .94) 0%, rgba(10, 19, 34, .55) 55%, rgba(10, 19, 34, .2) 100%); }
.essence dl { display: grid; gap: 2.2rem; margin: 0; }
.essence dt { font: 300 clamp(4.4rem, 10vw, 8rem)/.9 var(--serif); background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="ar"] .essence dt { font-family: "Cormorant Garamond", serif; }
.essence dt small { font-size: .35em; }
.essence dd { margin: .5rem 0 0; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
html[lang="ar"] .essence dd { letter-spacing: 0; font-size: 1rem; }
.gallery-h { background: var(--night); }
.gcard { flex: 0 0 clamp(280px, 38vw, 600px); margin: 0; scroll-snap-align: start; }
.gcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gcard figcaption { padding-top: 1rem; font: 300 1.3rem var(--serif); color: var(--mute); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.location-grid > div > p { color: var(--mute); max-width: 46ch; }
.dest-list { list-style: none; margin: 2.4rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.dest-list li { display: grid; grid-template-columns: 4.2rem 3rem 1fr; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.dest-list strong { font: 300 2.4rem/1 var(--serif); color: var(--gold-2); }
.dest-list span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.dest-list em { font-style: normal; }
.radar { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar-rings circle { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-sweep { transform-origin: 200px 200px; animation: sweep 7s linear infinite; }
.radar-sweep path { fill: rgba(232, 211, 162, .08); }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-pin circle { fill: var(--gold-2); animation: blink 2.4s calc(var(--d)) ease-in-out infinite; }
.radar-pin text { fill: var(--gold-2); font: 300 14px var(--serif); text-anchor: middle; }
.radar-core { fill: var(--gold); stroke: rgba(232, 211, 162, .3); stroke-width: 10; }
@keyframes blink { 50% { opacity: .35; } }
.radar-label { position: absolute; left: 50%; top: 56%; transform: translateX(-50%); font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; }
.lobby { background: var(--ivory); color: var(--ink); padding: clamp(5rem, 9vw, 8rem) 0; }
.lobby-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.lobby-main, .lobby-small { margin: 0; overflow: hidden; }
.lobby-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lobby-small { margin-top: 2.4rem; }
.lobby-small img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lobby-copy p { color: rgba(20, 27, 38, .74); }
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.amenity { margin: 0; }
.amenity-media { overflow: hidden; aspect-ratio: 3 / 4; }
.amenity-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.amenity:hover img { transform: scale(1.07); }
.amenity figcaption { display: flex; gap: .8rem; align-items: baseline; padding-top: .9rem; font: 400 1.15rem/1.3 var(--serif); }
.amenity figcaption span { font: 500 .75rem var(--sans); color: var(--gold-3); letter-spacing: .1em; }
.residences { background: var(--night); }
.type-tabs { display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid var(--line); margin-bottom: 2rem; }
.type-tabs button { background: transparent; border: 0; border-inline-end: 1px solid var(--line); padding: 1rem .6rem; cursor: pointer; text-align: start; display: grid; gap: .2rem; transition: background .4s, color .4s; }
.type-tabs button:last-child { border: 0; }
.type-tabs button span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.type-tabs button strong { font: 300 1.4rem var(--serif); }
.type-tabs button[aria-selected="true"] { background: var(--gold-grad); background-size: 200% 100%; color: var(--night); }
.type-tabs button[aria-selected="true"] span { color: rgba(10, 19, 34, .7); }
.type-panel { display: grid; grid-template-columns: 1.7fr 1fr; background: var(--ivory); color: var(--ink); }
.type-panel[hidden] { display: none; }
.type-plan { margin: 0; padding: clamp(1.4rem, 4vw, 3.4rem); display: grid; place-items: center; background: #fff; min-height: 420px; }
.type-plan img { max-height: 520px; width: auto; object-fit: contain; }
.type-info { padding: clamp(2rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; }
.type-area { display: flex; align-items: baseline; gap: .3rem; margin: 0 0 1.6rem; }
.type-area span { font: 300 clamp(5rem, 9vw, 7.4rem)/.85 "Cormorant Garamond", serif; color: var(--gold-3); }
.type-area small { font: 300 1.6rem var(--serif); }
.type-rooms { list-style: none; padding: 0; margin: 0 0 2.4rem; border-top: 1px solid var(--line-dark); }
.type-rooms li { padding: .7rem 0; border-bottom: 1px solid var(--line-dark); }
.interiors { background: var(--night); padding: clamp(5rem, 9vw, 8rem) 0; }
.mosaic { width: min(var(--max), 100% - 2 * var(--gutter)); margin: 3rem auto 0; display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: clamp(220px, 30vw, 440px); gap: clamp(.6rem, 1.4vw, 1.2rem); }
.mosaic figure { margin: 0; overflow: hidden; grid-column: span 2; }
.mosaic .m-wide { grid-column: span 3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.seg { display: inline-flex; border: 1px solid var(--line-dark); justify-self: end; margin-bottom: 1.6rem; }
.seg button { border: 0; background: transparent; padding: .8rem 1.4rem; cursor: pointer; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
html[lang="ar"] .seg button { letter-spacing: 0; font-size: .95rem; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--ivory); }
.floor { margin: 0; background: #fff; padding: clamp(1rem, 3vw, 3rem); }
.floor[hidden] { display: none; }
.floor img { margin: 0 auto; max-height: 760px; width: auto; }
.schedule { margin-top: 2rem; border-top: 1px solid var(--line-dark); }
.schedule summary { cursor: pointer; padding: 1.4rem 0; list-style: none; display: flex; justify-content: space-between; font: 400 1.5rem var(--serif); }
.schedule summary::-webkit-details-marker { display: none; }
.schedule[open] summary span { transform: rotate(45deg); }
.schedule summary span { transition: transform .4s var(--ease); color: var(--gold-3); }
.table-wrap { overflow-x: auto; }
.schedule table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; min-width: 620px; }
.schedule th { text-align: start; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); padding: .8rem .6rem; border-bottom: 1px solid var(--ink); }
.schedule td { padding: .6rem; border-bottom: 1px solid var(--line-dark); }
.schedule tr:hover td { background: var(--ivory-2); }


/* ── Footer ── */
.site-footer { background: var(--night); border-top: 1px solid var(--line); padding-top: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: clamp(2rem, 6vw, 6rem); }
.footer-line { font: 300 clamp(2.4rem, 4.6vw, 4.2rem)/1 var(--serif); margin: 0 0 2rem; }
html[lang="ar"] .footer-line { line-height: 1.4; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-grid div { display: grid; align-content: start; gap: .65rem; }
.footer-grid a { color: rgba(245, 240, 230, .82); transition: color .3s; width: fit-content; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-label { margin: 0 0 .6rem; font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .footer-label { letter-spacing: 0; font-size: .85rem; }
.footer-mark { margin-top: clamp(3rem, 7vw, 6rem); }
.footer-mark span { display: block; font: 300 clamp(4rem, 19vw, 19rem)/.8 var(--serif); letter-spacing: .02em; text-align: center; background: linear-gradient(180deg, rgba(232, 211, 162, .22), rgba(232, 211, 162, 0) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem 0 2.4rem; border-top: 1px solid var(--line); font-size: .76rem; color: var(--mute); }
.footer-bottom p { margin: 0; max-width: 80ch; }

/* ── Al Muzn Square & inventory (retained journeys) ── */
.project-hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.project-hero-media { position: absolute; inset: 0; z-index: -2; background: var(--night-2); }
.project-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 19, 34, .7), rgba(10, 19, 34, .15) 35%, rgba(10, 19, 34, .95)); }
.project-hero-content { padding: calc(var(--header-h) + 4rem) 0 5rem; }
.project-hero-content > p { max-width: 50ch; color: rgba(245, 240, 230, .82); }
.inventory-band { background: var(--night-2); border-block: 1px solid var(--line); }
.inventory-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.inventory-band-grid div { padding: 2rem 1.4rem 2rem 0; border-inline-end: 1px solid var(--line); display: grid; gap: .3rem; }
.inventory-band-grid div + div { padding-inline-start: 1.4rem; }
.inventory-band-grid div:last-child { border: 0; }
.inventory-band strong { font: 300 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--serif); color: var(--gold-2); }
.inventory-band span { font-size: .8rem; color: var(--mute); }
.image-story { position: relative; background: var(--ivory); padding-bottom: clamp(4rem, 8vw, 7rem); }
.image-story figure { margin: 0; }
.image-story img { width: 100%; max-height: 86vh; object-fit: cover; }
.story-card { position: relative; width: min(560px, calc(100% - 2 * var(--gutter))); margin: -8rem var(--gutter) 0 auto; background: var(--night); padding: clamp(2rem, 4vw, 3.4rem); border: 1px solid var(--line); }
.story-card p:last-child { color: var(--mute); margin: 0; }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.journey-grid div { padding: 2rem 1.4rem 0 0; display: grid; gap: .3rem; }
.journey-grid strong { font: 300 clamp(3rem, 6vw, 5rem)/1 var(--serif); color: var(--gold-2); }
.journey-grid span { color: var(--mute); font-size: .88rem; }
.gold-cta { background: var(--gold-grad); background-size: 200% 100%; color: var(--night); }
.gold-cta .eyebrow.dark { color: rgba(10, 19, 34, .7); }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-row p { margin: 0; max-width: 56ch; }
.inventory-hero .lead, .contact-hero .lead { color: var(--mute); opacity: 1; }
.inventory-workspace { padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 8rem); }
.filter-panel { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) auto; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.filter-panel label { display: grid; gap: .3rem; padding: 1rem 1.2rem; background: var(--ivory); }
.filter-panel label span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); }
html[lang="ar"] .filter-panel label span { letter-spacing: 0; font-size: .82rem; }
.filter-panel input, .filter-panel select { border: 0; background: transparent; font: 400 1rem var(--sans); color: var(--ink); padding: .2rem 0; outline: none; }
.filter-reset { border: 0; background: var(--ink); color: var(--ivory); padding: 0 1.6rem; cursor: pointer; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.inventory-summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; color: rgba(20, 27, 38, .66); font-size: .9rem; }
.inventory-summary strong { font: 400 1.4rem var(--serif); color: var(--ink); }
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.unit-card { background: var(--ivory); padding: 1.6rem; transition: background .4s; }
.unit-card[hidden] { display: none; }
.unit-card:hover { background: #fff; }
.unit-card-top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: rgba(20, 27, 38, .62); }
.status-chip { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #2c7a55; margin: 0 0 1rem; }
html[lang="ar"] .status-chip { letter-spacing: 0; font-size: .82rem; }
.status-chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.unit-hero .status-chip { color: #7fd1a6; }
.unit-card h2 { font-size: 2rem; margin: .6rem 0 1rem; }
.unit-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0 0 1.2rem; padding: 1rem 0; border-block: 1px solid var(--line-dark); }
.unit-card dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); }
html[lang="ar"] .unit-card dt { letter-spacing: 0; font-size: .8rem; }
.unit-card dd { margin: .2rem 0 0; font-weight: 500; }
.unit-card-actions { display: flex; justify-content: space-between; align-items: center; }
.unit-card .text-link { color: var(--ink); }
.icon-link { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-dark); font-size: .75rem; font-weight: 600; color: #1f6b4c; }
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state[hidden] { display: none; }
.inventory-disclaimer, .disclaimer-card { margin-top: 2.4rem; padding: 1.6rem; border: 1px solid var(--line-dark); font-size: .88rem; color: rgba(20, 27, 38, .74); }
.unit-hero { padding: calc(var(--header-h) + 5rem) 0 4rem; background: radial-gradient(ellipse at 80% 0%, #17294a 0%, var(--night) 60%); }
.unit-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; }
.unit-hero-grid > div > p:last-child { color: var(--mute); }
.unit-price-card { padding: 2rem; border: 1px solid var(--line); background: rgba(232, 211, 162, .04); display: grid; gap: .4rem; }
.unit-price-card span, .unit-price-card small { color: var(--mute); font-size: .8rem; }
.unit-price-card strong { font: 300 clamp(2.4rem, 4vw, 3.4rem)/1.1 var(--serif); color: var(--gold-2); }
.unit-detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.unit-facts dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin: 0; }
.unit-facts dl div { background: var(--ivory); padding: 1.4rem; }
.unit-facts dt { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); }
.unit-facts dd { margin: .3rem 0 0; font: 400 1.5rem var(--serif); }
.enquiry-card { background: var(--night); color: var(--ivory); padding: 2.4rem; display: grid; gap: 1rem; align-content: start; }
.enquiry-card h2 { font-size: 2rem; margin: 0; }
.enquiry-card p { color: var(--mute); margin: 0; }
.contact-number { font: 300 1.6rem var(--serif); color: var(--gold-2); }
.unit-pagination { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; }
.unit-pagination a { display: flex; align-items: center; gap: .8rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line-dark); }
.unit-pagination strong { font: 400 1.4rem var(--serif); }
.unit-pagination small { color: rgba(20, 27, 38, .6); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); }
.contact-primary { display: grid; gap: 1.2rem; align-content: start; padding: 2.4rem; background: var(--night); color: var(--ivory); }
.contact-primary span { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.contact-primary a[dir] { font: 300 clamp(2rem, 4vw, 3rem) var(--serif); }
.contact-note h2 { font-size: 2.4rem; }
.contact-projects { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.contact-projects a { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line-dark); transition: padding .5s var(--ease); }
.contact-projects a:hover { padding-inline-start: 1rem; }
.contact-projects strong { font: 400 1.5rem var(--serif); }
.contact-projects span:not(.arr) { grid-column: 1; font-size: .82rem; color: rgba(20, 27, 38, .6); }
.contact-projects .arr { grid-row: 1 / span 2; grid-column: 2; color: var(--gold-3); }
.ad-hero { padding: calc(var(--header-h) + 4rem) 0 4rem; background: radial-gradient(ellipse at 80% 0%, #17294a 0%, var(--night) 60%); }
.ad-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.ad-hero .display { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.ad-hero p, .ad-hero small { color: var(--mute); }
.ad-hero figure { margin: 0; }
.ad-hero figcaption { font-size: .78rem; color: var(--mute); padding-top: .6rem; }
.ad-proof { background: var(--night-2); border-block: 1px solid var(--line); }
.ad-proof .shell { display: grid; grid-template-columns: repeat(3, 1fr); }
.ad-proof .shell div { padding: 1.8rem 0; display: grid; gap: .2rem; }
.ad-proof strong { font: 300 2.2rem var(--serif); color: var(--gold-2); }
.ad-proof span { color: var(--mute); font-size: .85rem; }
.ad-section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; align-items: end; }
.ad-unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.ad-unit { background: var(--ivory); padding: 1.6rem; }
.ad-unit > span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); }
.ad-unit dl { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding: 1rem 0; border-block: 1px solid var(--line-dark); }
.ad-unit dt { font-size: .75rem; color: rgba(20, 27, 38, .6); }
.ad-unit dd { margin: 0; font-weight: 500; }
.ad-unit .text-link { color: var(--ink); }
.ad-final { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; padding: 2.4rem; background: var(--night); color: var(--ivory); }
.ad-final h2 { font-size: 2rem; margin: 0 0 .4rem; }
.ad-final p { margin: 0; color: var(--mute); }
.error-hero { min-height: 80svh; display: flex; align-items: center; }

/* ── Partners, portfolio duo, specs & offers ── */
.value-partners { grid-column: 1 / -1; margin-top: clamp(2.4rem, 5vw, 4rem); }
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partners li { background: rgba(10, 19, 34, .72); backdrop-filter: blur(6px); padding: 1.8rem 1.6rem; display: grid; gap: .35rem; align-content: start; }
.partner-num { font: 300 1rem var(--serif); color: var(--gold); }
.partners strong { font: 400 clamp(1.3rem, 2vw, 1.7rem)/1.2 var(--serif); }
.partners small { font-size: .75rem; letter-spacing: .28em; color: var(--gold-2); }
.partners em { font-style: normal; font-size: .85rem; color: var(--mute); }
.value-compact .value-title { grid-column: 2; }
.duo { background: var(--ivory); color: var(--ink); padding: 0 0 clamp(5rem, 9vw, 8rem); }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.6rem); }
.duo-card { display: grid; gap: 1.4rem; }
.duo-card figure { margin: 0; aspect-ratio: 16 / 11; overflow: hidden; }
.duo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo-card:hover img { transform: scale(1.05); }
.duo-card .chip { color: var(--gold-3); border-color: var(--line-dark); }
.duo-card h3 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 300; margin: 1rem 0 .4rem; }
.duo-card p { color: rgba(20, 27, 38, .7); margin: 0 0 1.2rem; max-width: 46ch; }
.duo-card .text-link { color: var(--gold-3); }
.timeline-4 { grid-template-columns: repeat(4, 1fr) !important; }
.dot-founded { background: var(--ivory) !important; border-color: var(--ivory) !important; }
.essence-grid { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: clamp(3rem, 8vw, 7rem); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.spec-grid h3 { font-size: 1.7rem; }
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); columns: 2; column-gap: 2rem; }
.spec-grid > div:last-child .spec-list { columns: 1; }
.spec-list li { break-inside: avoid; padding: .8rem 0 .8rem 1.4rem; border-bottom: 1px solid var(--line-dark); position: relative; }
[dir="rtl"] .spec-list li { padding: .8rem 1.4rem .8rem 0; }
.spec-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.45rem; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-3); }
.spec-figure { margin: 2rem 0 0; overflow: hidden; }
.spec-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.offer { background: var(--ivory); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; }
.offer:hover { background: #fff; }
.offer .type-area span { font-size: clamp(4rem, 7vw, 5.6rem); }
.offer .type-rooms { flex: 1; margin-bottom: 1.6rem; }
.offer-price { display: grid; gap: .8rem; margin: 0 0 1.6rem; }
.offer-price dt { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); }
html[lang="ar"] .offer-price dt { letter-spacing: 0; font-size: .85rem; }
.offer-price dd { margin: .2rem 0 0; font: 400 1.7rem/1.1 var(--serif); }
.offer-shop { background: var(--ivory-2); }
.amenity-note { margin: .4rem 0 0; font-size: .86rem; color: rgba(20, 27, 38, .66); }
@media (max-width: 900px) {
  .partners, .duo-grid, .spec-grid { grid-template-columns: 1fr; }
  .value-compact .value-title { grid-column: 1; }
  .timeline-4 { grid-template-columns: 1fr !important; }
  .spec-list { columns: 1; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .type-tabs { grid-template-columns: repeat(4, 1fr); }
  .type-tabs button:nth-child(4) { border-inline-end: 0; }
  .type-tabs button:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .prow-link { grid-template-columns: 3rem 1fr 1fr; }
  .prow-meta { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header-cta { display: none; }
  .value-inner, .spot-grid, .editorial-grid, .section-heading, .location-grid, .lobby-grid, .type-panel, .footer-top, .contact-grid, .unit-hero-grid, .unit-detail-grid, .ad-hero-grid, .ad-section-heading { grid-template-columns: 1fr; }
  .value-figure, .value-title, .value-copy { grid-column: 1; grid-row: auto; }
  .value-figure { margin-bottom: 2rem; }
  .value-stats, .inventory-band-grid, .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .value-stats div, .inventory-band-grid div { border-inline-end: 0; padding-inline: 0 !important; padding-bottom: 1.4rem; }
  .timeline ol { grid-template-columns: 1fr; gap: 0; }
  .timeline-line { display: none; }
  .timeline li { padding: 0 0 1.6rem 2.2rem; border-inline-start: 1px solid var(--line); margin-inline-start: 7px; }
  [dir="rtl"] .timeline li { padding: 0 2.2rem 1.6rem 0; }
  .timeline .dot { inset-inline-start: -8px; }
  .pillar-grid article { border-inline-end: 0; border-bottom: 1px solid var(--line); padding-inline: 0 !important; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-auto-rows: 52vw; }
  .mosaic figure { grid-column: span 1; }
  .mosaic .m-wide { grid-column: span 2; }
  .seg { justify-self: start; }
  .type-plan { min-height: 0; }
  .prow-link { grid-template-columns: 1fr; gap: 1.2rem; }
  .prow-index { display: none; }
  .prow-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .filter-reset { min-height: 52px; grid-column: span 2; }
  .ad-unit-grid { grid-template-columns: 1fr; }
  .ad-proof .shell { grid-template-columns: 1fr; }
  .story-card { margin: -4rem auto 0; }
  .hx-foot { flex-direction: column; align-items: flex-start; }
  .hx-foot .scroll-cue { display: none; }
  .hscroll-hint { display: none; }
  .essence { min-height: 80svh; }
}
@media (max-width: 560px) {
  .brand-word small { display: none; }
  .header-actions { gap: .8rem; }
  .type-tabs { grid-template-columns: repeat(2, 1fr); }
  .type-tabs button { border-bottom: 1px solid var(--line); }
  .type-tabs button:nth-child(even) { border-inline-end: 0; }
  .value-stats dt { font-size: 2.6rem; }
  .spot-stats { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .dest-list li { grid-template-columns: 3.6rem 2.6rem 1fr; }
  .unit-facts dl { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}

/* Marasi Saada 1 figures band (no background render) */
.essence-plain .value-stats { margin-top: 1rem; }

/* Marasi Saada 1 construction progress */
.progress-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.progress-figure { margin: 0; display: flex; align-items: flex-start; line-height: .8; }
.progress-figure .value-num { font-size: clamp(7rem, 18vw, 15rem); }
html[lang="ar"] .progress-figure .value-unit { font-family: "Cormorant Garamond", serif; font-size: clamp(4rem, 10vw, 9rem); margin: 0; }
.progress-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 0; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.progress-facts dt { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
html[lang="ar"] .progress-facts dt { letter-spacing: 0; font-size: .85rem; }
.progress-facts dd { margin: .5rem 0 0; font: 400 1.35rem/1.25 var(--serif); }
.progress-bar { position: relative; height: 3px; margin: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; background: var(--line); overflow: hidden; }
.progress-bar i { position: absolute; inset: 0; background: var(--gold-grad); background-size: 200% 100%; transform-origin: left; animation: sheen 6s linear infinite; }
[dir="rtl"] .progress-bar i { transform-origin: right; }
.milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: .8rem; }
.milestones li { display: grid; gap: .7rem; font-size: .78rem; line-height: 1.35; color: var(--mute); }
.ms-dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--gold-2); }
.ms-done .ms-dot { background: var(--gold-2); }
.ms-done { color: rgba(245, 240, 230, .82); }
.ms-current { color: var(--gold-2); }
.ms-current .ms-dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(201, 165, 106, .2); animation: pulse 2s infinite; }
.ms-upcoming .ms-dot { border-color: var(--line); }
.chip-handover { color: var(--gold-2); }
.duo-card .chip-handover { color: var(--gold-3); }
@media (max-width: 900px) {
  .progress-head { grid-template-columns: 1fr; }
  .progress-facts { grid-template-columns: 1fr; }
  .milestones { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
}
.milestones { grid-template-columns: repeat(var(--steps, 10), 1fr); }
.milestones-start { margin-top: clamp(2.6rem, 5vw, 4rem); }
.progress-headline { margin: 0; font: 300 clamp(3rem, 7vw, 6rem)/1 var(--serif); background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s linear infinite; }
html[lang="ar"] .progress-headline { line-height: 1.4; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.progress-updates { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2.4rem; border-top: 1px solid var(--line); }
.progress-updates dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.4rem; margin: 0; }
.progress-updates dt { font: 400 1.3rem/1.2 var(--serif); color: var(--gold-2); margin-bottom: .4rem; }
.progress-updates dd { margin: 0; color: var(--mute); font-size: .92rem; }
.progress-updates .spec-list { border-color: var(--line); }
.progress-updates .spec-list li { border-color: var(--line); color: rgba(245, 240, 230, .86); }
.progress-updates .spec-list li::before { background: var(--gold); }
@media (max-width: 900px) {
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .progress-updates, .progress-updates dl { grid-template-columns: 1fr; }
}

/* ── Build story (Marasi Saada 2): pinned stage, renders revealed floor by floor ── */
.build-story { position: relative; background: var(--night); color: var(--ivory); }
.bs-pin { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; }
.bs-stage { position: relative; width: max(100%, calc(100svh * 16 / 9)); aspect-ratio: 16 / 9; max-width: none; }
.bs-layer { position: absolute; inset: 0; }
.bs-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-reveal { clip-path: inset(100% 0 0 0); }
.bs-inside { clip-path: none; opacity: 0; }
.bs-note { margin: 8px 0 0; color: var(--mute); font-size: .75rem; opacity: .7; }
.bs-edge { position: absolute; inset-inline: 0; top: 100%; height: 2px; background: var(--gold); box-shadow: 0 0 18px var(--gold); opacity: 0; pointer-events: none; }
.bs-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10, 19, 34, .78) 0%, rgba(10, 19, 34, .25) 45%, transparent 70%), linear-gradient(0deg, rgba(10, 19, 34, .85) 0%, transparent 28%); }
html[dir="rtl"] .bs-shade { background: linear-gradient(-90deg, rgba(10, 19, 34, .78) 0%, rgba(10, 19, 34, .25) 45%, transparent 70%), linear-gradient(0deg, rgba(10, 19, 34, .85) 0%, transparent 28%); }
.bs-copy { position: absolute; inset: 0; display: grid; align-items: center; pointer-events: none; }
.bs-text { grid-area: 1 / 1; max-width: 30rem; opacity: 0; text-shadow: 0 2px 24px rgba(10, 19, 34, .8); }
.bs-text:first-child { opacity: 1; }
.bs-text .h2 { margin: 0 0 1rem; }
.bs-text .h2 em { color: var(--gold-2); }
.bs-text p:last-child { color: var(--mute); margin: 0; max-width: 34ch; }
.bs-meter { position: absolute; inset-inline: 0; bottom: max(28px, env(safe-area-inset-bottom, 0px)); }
.bs-track { position: relative; height: 2px; background: rgba(245, 240, 230, .16); }
.bs-track i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left center; background: var(--gold); }
html[dir="rtl"] .bs-track i { transform-origin: right center; }
.bs-today { position: absolute; inset-inline-start: 6%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; color: var(--gold-2); font: 500 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
html[dir="rtl"] .bs-today { transform: translateX(50%); letter-spacing: 0; font-size: .78rem; }
.bs-today::after { content: ""; position: absolute; inset-inline-start: 50%; top: calc(100% + 4px); width: 1px; height: 10px; background: var(--gold); }
.bs-meter ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; justify-content: space-between; color: var(--mute); font: 500 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .bs-meter ol { letter-spacing: 0; font-size: .78rem; }
@media (max-width: 760px) {
  .bs-pin { place-items: end center; }
  .bs-pin { background: linear-gradient(180deg, #070b18 0%, #080d1c 45%, #0a1322 100%); }
  .bs-stage { width: 172vw; height: auto; aspect-ratio: 16 / 9; position: absolute; top: auto; bottom: 58px; left: 50%; transform: translateX(-50%); }
  .bs-stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 32%; z-index: 2; background: linear-gradient(180deg, #080d1c 0%, rgba(8, 13, 28, .6) 45%, transparent); pointer-events: none; }
  .bs-inside { z-index: 3; }
  .bs-copy { align-items: start; padding-top: calc(var(--header-h) + 8px); }
  .bs-shade { background: linear-gradient(180deg, rgba(10, 19, 34, .9) 0%, rgba(10, 19, 34, .35) 34%, transparent 46%), linear-gradient(0deg, rgba(10, 19, 34, .9) 0%, transparent 20%); }
  .bs-meter ol { font-size: .75rem; letter-spacing: .08em; }
  .bs-today, html[dir="rtl"] .bs-today { inset-inline-start: 0; transform: none; }
  .bs-today::after { inset-inline-start: 6px; }
}

.bs-text .hero-actions { pointer-events: auto; margin-top: 1.6rem; }
.bs-intro .display { font-size: clamp(2.8rem, 6vw, 6rem); margin-bottom: 1.2rem; }
.bs-intro .breadcrumbs { pointer-events: auto; margin-bottom: 1.4rem; }
@media (max-width: 760px) { .bs-intro .display { font-size: 2.6rem; } .bs-text .hero-actions .button { padding-inline: 1.1rem; } }

/* Phones: the shops inventory becomes one compact row per unit */
@media (max-width: 640px) {
  .unit-grid { grid-template-columns: 1fr; }
  .unit-card { display: grid; grid-template-columns: 5.4rem 1fr auto; align-items: center; column-gap: .9rem; row-gap: .15rem; padding: .8rem 1rem; }
  .unit-card h2 { grid-column: 1; grid-row: 1; font-size: 1.3rem; margin: 0; white-space: nowrap; }
  .unit-card-top { grid-column: 1; grid-row: 2; font-size: .75rem; }
  .unit-card-top .status-chip { display: none; }
  .unit-card dl { grid-column: 2; grid-row: 1 / 3; margin: 0; padding: 0; border: 0; gap: .6rem; }
  .unit-card dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .unit-card dd { margin: 0; font-size: .92rem; white-space: nowrap; }
  .unit-card-actions { grid-column: 3; grid-row: 1 / 3; }
  .unit-card-actions .text-link { display: none; }
  .unit-card-actions .icon-link { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
}

/* Contact email, privacy page, monthly site photos */
.contact-email { display: block; margin: .4rem 0 1.2rem; font-size: 1rem; color: var(--gold-2); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom small a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-copy { max-width: 46rem; }
.legal-copy h2 { font-size: 1.6rem; margin: 2.4rem 0 .6rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { margin: 0; line-height: 1.8; }
.legal-copy a { color: var(--gold-3); text-decoration: underline; text-underline-offset: 3px; }
.site-photos { margin-top: clamp(2.4rem, 5vw, 4rem); }
.site-photos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 1.2rem; }
.site-photos-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.site-photos-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s; }
.site-photos-grid a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .site-photos-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-primary .contact-extra { display: block; font-size: 1.15rem; margin-top: .3rem; opacity: .85; }
.map-link { margin-top: 1.8rem; }
