:root {
    --ink: #141414;
    --ink-soft: #2c2c2c;
    --stone: #ebe7df;
    --paper: #f7f5f1;
    --gold: #a89068;
    --gold-soft: #c9b896;
    --mute: #6d6a64;
    --line: rgba(20, 20, 20, .12);
    --white: #fff;
    --shell: min(1180px, calc(100vw - 64px));
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --sans: "Helvetica Neue", Arial, sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 16px/1.65 var(--sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

[data-lang="en"] { display: none; }
html[lang="en"] [data-lang="ar"] { display: none; }
html[lang="en"] [data-lang="en"] { display: inline; }
html[lang="en"] p[data-lang="en"],
html[lang="en"] h1 [data-lang="en"],
html[lang="en"] h2 [data-lang="en"] { display: block; }

.skip-link {
    position: fixed;
    z-index: 1000;
    top: -60px;
    inset-inline-start: 16px;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--white);
}
.skip-link:focus { top: 12px; }

/* Header — floating bar, not full-width sand strip like original */
.header {
    position: fixed;
    z-index: 100;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1240px, calc(100vw - 28px));
    height: 64px;
    padding: 0 22px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(20, 20, 20, .28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}

.header.is-scrolled {
    color: var(--ink);
    background: rgba(247, 245, 241, .94);
    border-color: var(--line);
    box-shadow: 0 16px 40px rgba(20, 20, 20, .08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
}

.brand img {
    width: 68px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: filter .3s;
}

.header.is-scrolled .brand img {
    filter: brightness(.25);
}

.brand-line {
    width: 1px;
    height: 24px;
    background: currentColor;
    opacity: .35;
}

.brand-text {
    display: grid;
    gap: 1px;
}

.brand-text strong {
    font-size: 11px;
    letter-spacing: .22em;
}

.brand-text small {
    font-size: 8px;
    letter-spacing: .18em;
    color: var(--gold-soft);
}

.header.is-scrolled .brand-text small {
    color: var(--gold);
}

.nav {
    display: flex;
    gap: 26px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}

.header-end {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 14px;
}

.lang {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    padding: 6px;
}

.call {
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border: 1px solid currentColor;
}

.burger {
    display: none;
    position: relative;
    width: 34px;
    height: 34px;
}

.burger span {
    position: absolute;
    right: 6px;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: .25s;
}

.burger span:first-child { top: 12px; }
.burger span:last-child { top: 20px; width: 14px; }
.burger[aria-expanded="true"] span:first-child { top: 16px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 16px; width: 20px; transform: rotate(-45deg); }

.drawer {
    position: fixed;
    z-index: 90;
    inset: 0;
    padding: 110px 8vw 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--ink);
    color: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .35s var(--ease);
}

.drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.drawer nav { display: grid; }
.drawer a {
    padding: 18px 0;
    font: 400 38px/1.15 var(--serif);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.drawer-call {
    color: var(--gold-soft);
    font-size: 22px;
}

/* Hero — cinematic full bleed, centered editorial type */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: end center;
    color: var(--white);
    background: var(--ink);
}

.hero-bg,
.hero-veil {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 16s var(--ease) forwards;
}

@keyframes zoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.hero-veil {
    background:
        linear-gradient(180deg, rgba(10, 10, 10, .35) 0%, rgba(10, 10, 10, .15) 40%, rgba(10, 10, 10, .78) 100%);
}

.hero-frame {
    position: relative;
    z-index: 2;
    width: var(--shell);
    padding: 0 0 110px;
    text-align: center;
}

.hero-kicker {
    margin: 0 0 22px;
    display: inline-block;
    padding: 8px 16px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .28em;
    color: var(--white);
    background: rgba(10, 10, 10, .45);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

.hero h1 {
    margin: 0;
    font: 400 clamp(46px, 6.8vw, 92px)/1.05 var(--serif);
    letter-spacing: -.04em;
}

.hero-rule {
    width: 72px;
    height: 1px;
    margin: 28px auto;
    background: var(--gold);
}

.hero-lead {
    max-width: 560px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-solid,
.btn-ghost {
    min-height: 52px;
    padding: 12px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    transition: transform .25s, background .25s, color .25s;
}

.btn-solid {
    color: var(--ink);
    background: var(--gold-soft);
}

.btn-solid:hover {
    transform: translateY(-2px);
    background: var(--gold);
}

.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
}

.btn-ghost.dark {
    color: var(--ink);
    border-color: var(--ink);
}

.btn-ghost.dark:hover {
    color: var(--white);
    background: var(--ink);
}

.hero-meta {
    position: absolute;
    z-index: 2;
    right: 40px;
    bottom: 36px;
    left: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    font-size: 9px;
    letter-spacing: .22em;
    color: rgba(255, 255, 255, .55);
}

.hero-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
}

/* Story — quote + editorial two column */
.story {
    width: var(--shell);
    margin: 0 auto;
    padding: 120px 0 40px;
}

.story-quote {
    max-width: 820px;
    margin: 0 auto 80px;
    text-align: center;
}

.story-quote > span {
    display: block;
    color: var(--gold);
    font-size: 72px;
    line-height: .6;
}

.story-quote p {
    margin: 10px 0 0;
    font: 400 clamp(30px, 3.6vw, 46px)/1.2 var(--serif);
    letter-spacing: -.03em;
}

.story-body {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.story-copy h2 {
    margin: 0 0 22px;
    font: 400 clamp(36px, 4.2vw, 56px)/1.12 var(--serif);
    letter-spacing: -.035em;
}

.story-copy p {
    margin: 0;
    color: var(--mute);
    font-size: 16px;
}

.story-photo {
    position: relative;
}

.story-photo::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid var(--gold);
    pointer-events: none;
}

[dir="rtl"] .story-photo::before {
    inset: 18px 18px -18px -18px;
}

.story-photo img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.stats {
    list-style: none;
    margin: 90px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats li {
    padding: 34px 20px;
    display: grid;
    gap: 8px;
    border-inline-end: 1px solid var(--line);
}

.stats li:last-child { border-inline-end: 0; }

.stats b {
    font: 400 clamp(36px, 4.2vw, 52px)/1 var(--serif);
    letter-spacing: -.04em;
}

.stats span {
    color: var(--mute);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Homes — full-width cinematic bands */
.homes {
    padding: 100px 0 70px;
    background: var(--stone);
}

.homes-head {
    width: var(--shell);
    margin: 0 auto 60px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .24em;
}

.homes-head h2,
.perks-list h2,
.plan-intro h2,
.gallery-top h2,
.contact h2 {
    margin: 0;
    font: 400 clamp(38px, 5vw, 68px)/1.08 var(--serif);
    letter-spacing: -.04em;
}

.band {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    min-height: 640px;
    margin-bottom: 2px;
    background: var(--ink);
    color: var(--paper);
}

.band-flip {
    grid-template-columns: .75fr 1.25fr;
}

.band-flip .band-media { order: 2; }

.band-media {
    min-height: 520px;
    overflow: hidden;
}

.band-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.band:hover .band-media img {
    transform: scale(1.03);
}

.band-panel {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(160deg, #1b1b1b, #121212);
}

.band-panel h3 {
    margin: 0 0 18px;
    font: italic 400 clamp(42px, 4.8vw, 68px)/1 var(--serif);
    letter-spacing: -.04em;
}

.band-copy {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
}

.rows {
    margin: 32px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.row {
    min-height: 68px;
    display: grid;
    grid-template-columns: 1.2fr .6fr 1fr;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-size: 12px;
}

.row-type {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font: 400 32px/1 var(--serif);
}

.row-type small {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
}

.row-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: 700;
    color: var(--gold-soft);
}

[dir="rtl"] .row-price { align-items: flex-start; }

.row-price small {
    color: rgba(255, 255, 255, .45);
    font-size: 9px;
    font-weight: 500;
}

.link-line {
    align-self: flex-start;
    padding-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--gold);
    color: var(--gold-soft);
}

.note {
    width: var(--shell);
    margin: 28px auto 0;
    color: var(--mute);
    font-size: 11px;
    text-align: center;
}

/* Perks — image left, numbered list right on stone */
.perks {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 780px;
    background: var(--paper);
}

.perks-visual {
    min-height: 520px;
}

.perks-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perks-list {
    padding: 80px 7vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.perks-list ol {
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: perk;
}

.perks-list li {
    counter-increment: perk;
    position: relative;
    padding: 20px 0 20px 52px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

[dir="rtl"] .perks-list li {
    padding: 20px 52px 20px 0;
}

.perks-list li::before {
    content: "0" counter(perk);
    position: absolute;
    left: 0;
    top: 20px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
}

[dir="rtl"] .perks-list li::before {
    left: auto;
    right: 0;
}

/* Plan — three framed tiles */
.plan {
    width: var(--shell);
    margin: 0 auto;
    padding: 110px 0;
}

.plan-intro {
    max-width: 620px;
    margin-bottom: 48px;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.plan-grid article {
    min-height: 240px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    background: var(--white);
}

.plan-grid article > span {
    color: var(--mute);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.plan-grid strong {
    font: 400 clamp(68px, 8vw, 100px)/.85 var(--serif);
    letter-spacing: -.05em;
    color: var(--ink);
}

/* Gallery — horizontal filmstrip */
.gallery {
    padding: 40px 0 100px;
    background: var(--ink);
    color: var(--paper);
}

.gallery-top {
    width: var(--shell);
    margin: 0 auto 36px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.gallery-top p {
    margin: 0;
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
    letter-spacing: .14em;
}

.strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 32vw);
    gap: 10px;
    overflow-x: auto;
    padding: 0 max(32px, calc((100vw - 1180px) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.strip-item {
    padding: 0;
    overflow: hidden;
    scroll-snap-align: start;
    cursor: zoom-in;
    background: #2a2a2a;
}

.strip-item img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform .7s var(--ease), filter .4s;
}

.strip-item:hover img {
    transform: scale(1.04);
    filter: brightness(.85);
}

/* Contact — centered large number */
.contact {
    width: var(--shell);
    margin: 0 auto;
    padding: 120px 0;
    text-align: center;
}

.contact .eyebrow { color: var(--gold); }

.big-phone {
    display: inline-block;
    margin: 28px 0 36px;
    font: 400 clamp(44px, 8vw, 96px)/1 var(--serif);
    letter-spacing: -.04em;
    border-bottom: 2px solid var(--gold);
}

.contact-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer {
    padding: 36px max(32px, calc((100vw - 1180px) / 2));
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    background: #0f0f0f;
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand img {
    width: 70px;
    filter: brightness(0) invert(1);
}

.footer-brand span {
    letter-spacing: .2em;
    font-size: 10px;
}

.footer p { margin: 0; max-width: 640px; }

.dock {
    position: fixed;
    z-index: 80;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[dir="rtl"] .dock {
    right: auto;
    left: 18px;
}

.dock a {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--ink);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
    font-size: 10px;
    font-weight: 700;
}

.dock .wa { background: #128c4d; }
.dock svg { width: 18px; }
.dock .wa svg { width: 22px; fill: currentColor; stroke: none; }

.lightbox {
    width: min(1100px, calc(100vw - 40px));
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, .92);
}

.lightbox img {
    width: auto;
    max-height: 84vh;
    margin: auto;
}

.lightbox button {
    position: absolute;
    top: -46px;
    right: 0;
    width: 38px;
    height: 38px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .4);
    font-size: 24px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 980px) {
    .nav { display: none; }
    .header { grid-template-columns: 1fr auto; }
    .burger { display: block; }
    .story-body { grid-template-columns: 1fr; gap: 36px; }
    .band,
    .band-flip { grid-template-columns: 1fr; }
    .band-flip .band-media { order: 0; }
    .perks { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stats li:nth-child(2) { border-inline-end: 0; }
    .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
    :root { --shell: calc(100vw - 36px); }
    .header { top: 10px; height: 58px; padding: 0 14px; }
    .call { display: none; }
    .brand img { width: 56px; }
    .brand-text small { display: none; }

    .hero {
        min-height: 72svh;
        height: 72svh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 78px 0 48px;
    }

    .hero-frame {
        width: calc(100% - 32px);
        padding: 0;
        margin: 0 auto;
    }

    .hero-kicker {
        margin: 0 0 16px;
        padding: 7px 12px;
        font-size: 8px;
        letter-spacing: .16em;
        max-width: 100%;
        line-height: 1.4;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 58px);
    }

    .hero-meta {
        right: 16px;
        left: 16px;
        bottom: 14px;
        font-size: 8px;
        letter-spacing: .14em;
    }

    .hero-veil {
        background:
            linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, .42) 45%, rgba(10, 10, 10, .72) 100%);
    }

    .drawer a { font-size: 28px; }
    .story { padding-top: 90px; }
    .story-quote p { font-size: 26px; }
    .story-photo img { min-height: 280px; }
    .story-photo::before { display: none; }
    .band-panel { padding: 40px 24px; }
    .row { grid-template-columns: 1.1fr .7fr; }
    .row-price { grid-column: 1 / 3; align-items: flex-start; padding-bottom: 12px; }
    .plan-grid { grid-template-columns: 1fr; }
    .gallery-top { flex-direction: column; align-items: flex-start; }
    .strip-item img { height: 280px; }
    .footer { grid-template-columns: 1fr; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
