/* ==========================================================================
   ملحمة حاشي و هرفي — Editorial Luxury Landing
   ========================================================================== */

:root {
    /* Palette */
    --bg: #f8f3ec;
    --cream: #fff8f1;
    --brown: #6b4226;
    --brown-dark: #3b2a1d;
    --copper: #b87333;
    --gold: #c89b3c;
    --white: #ffffff;
    --ink: #2a1c11;
    --muted: #8a7663;
    --line: rgba(59, 42, 29, 0.14);
    --line-strong: rgba(59, 42, 29, 0.28);

    /* Type */
    --f-display: "Reem Kufi", "Amiri", serif;
    --f-editorial: "Amiri", "Reem Kufi", serif;
    --f-body: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
    --f-latin: "Amiri", "Reem Kufi", serif;
    --f-mono: "Tajawal", ui-monospace, monospace;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0.05, 0.36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: auto;
}
html {
    direction: rtl;
}
body {
    overflow-x: hidden;
    min-height: 100vh;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}
::selection {
    background: var(--brown);
    color: var(--cream);
}

/* Grain overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.26 0 0 0 0 0.15 0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Vignette warmth */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(
            1000px 700px at 90% -10%,
            rgba(200, 155, 60, 0.14),
            transparent 60%
        ),
        radial-gradient(
            900px 700px at 0% 100%,
            rgba(107, 66, 38, 0.12),
            transparent 60%
        );
}

/* ==== Layout ============================================================ */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px);
    position: relative;
    z-index: 2;
}
section {
    position: relative;
    z-index: 2;
}
.section-pad {
    padding: clamp(80px, 12vw, 160px) 0;
}
.eyebrow {
    font-family: var(--f-editorial);
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.06em;
    color: var(--copper);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.eyebrow::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--copper);
    display: inline-block;
}
.section-num {
    font-family: var(--f-latin);
    font-style: italic;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.2em;
}

/* ==== Preloader ========================================================= */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--brown-dark);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out);
}
.preloader.done {
    opacity: 0;
    pointer-events: none;
}
.pre-mark {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.pre-logo {
    width: 130px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
    opacity: 0;
    transform: scale(0.94);
    animation: preLogo 1.2s var(--ease-out) forwards;
}
.pre-word {
    font-family: var(--f-display);
    font-size: clamp(30px, 5vw, 46px);
    letter-spacing: 0.02em;
    color: var(--gold);
    overflow: hidden;
    height: 1.1em;
}
.pre-word span {
    display: inline-block;
    transform: translateY(110%);
    animation: preRise 0.9s var(--ease-out) forwards;
    animation-delay: 0.4s;
}
.pre-bar {
    width: 240px;
    height: 1px;
    background: rgba(255, 248, 241, 0.2);
    position: relative;
    overflow: hidden;
}
.pre-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(100%);
    animation: preBar 1.4s var(--ease-in-out) forwards;
    animation-delay: 0.3s;
}
@keyframes preLogo {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes preRise {
    to {
        transform: translateY(0);
    }
}
@keyframes preBar {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ==== Nav =============================================================== */
.nav {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 60;
    padding: 18px clamp(20px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(0);
    transition: all 0.4s var(--ease-out);
}
.nav.scrolled {
    background: rgba(248, 243, 236, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px clamp(20px, 4vw, 56px);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.nav-brand {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--brown-dark);
    letter-spacing: 0.02em;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--brown-dark);
    color: var(--cream);
    font-weight: 500;
    font-size: 14px;
    transition:
        background 0.35s var(--ease-out),
        transform 0.35s var(--ease-out);
}
.nav-cta:hover {
    background: var(--copper);
    transform: translateY(-2px);
}
.nav-cta svg {
    width: 16px;
    height: 16px;
}

/* ==== Buttons =========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 34px;
    border-radius: 999px;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.01em;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    line-height: 1;
    white-space: nowrap;
}
.btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s var(--ease-out);
}
.btn-primary {
    background: var(--brown-dark);
    color: var(--cream);
    box-shadow: 0 18px 40px -18px rgba(59, 42, 29, 0.55);
}
.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--copper);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 0;
}
.btn-primary:hover::before {
    transform: translateY(0);
}
.btn-primary > * {
    position: relative;
    z-index: 1;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px -18px rgba(184, 115, 51, 0.55);
}
.btn-primary:hover svg {
    transform: translateX(-4px) rotate(-8deg);
}
.btn-ghost {
    background: transparent;
    color: var(--brown-dark);
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
    background: var(--cream);
    border-color: var(--brown-dark);
    transform: translateY(-2px);
}
.btn-lg {
    padding: 22px 40px;
    font-size: 17px;
    min-height: 64px;
}

/* ==== Hero ============================================================== */
.hero {
    padding: clamp(120px, 18vw, 180px) 0 clamp(60px, 8vw, 100px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    width: 100%;
}

.hero-left {
    position: relative;
    z-index: 3;
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
}
.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--copper);
    animation: pulse 2s ease-in-out infinite;
}
.hero-eyebrow .txt {
    font-family: var(--f-editorial);
    font-style: italic;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: var(--brown);
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.85);
    }
}

.hero-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(56px, 10vw, 140px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--brown-dark);
    margin-bottom: 28px;
}
.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}
.hero-title .line > span {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
}
.hero-title .accent {
    font-family: var(--f-latin);
    font-style: italic;
    font-weight: 400;
    color: var(--copper);
    font-size: 0.55em;
    letter-spacing: 0.01em;
}
.hero-title .stroke {
    -webkit-text-stroke: 1.5px var(--brown-dark);
    color: transparent;
}

.hero-sub {
    font-size: clamp(16px, 1.6vw, 20px);
    color: var(--brown);
    max-width: 520px;
    margin-bottom: 42px;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.9s var(--ease-out) 0.6s,
        transform 0.9s var(--ease-out) 0.6s;
}
.hero.ready .hero-sub {
    opacity: 1;
    transform: none;
}
.hero-sub .sep {
    color: var(--copper);
    margin: 0 10px;
    font-weight: 700;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.9s var(--ease-out) 0.75s,
        transform 0.9s var(--ease-out) 0.75s;
}
.hero.ready .hero-ctas {
    opacity: 1;
    transform: none;
}

.hero-meta {
    margin-top: clamp(48px, 8vw, 80px);
    display: flex;
    gap: clamp(28px, 4vw, 56px);
    flex-wrap: wrap;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 1s var(--ease-out) 1s;
}
.hero.ready .hero-meta {
    opacity: 1;
}
.hero-meta .stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-inline-end: clamp(20px, 3vw, 40px);
    border-inline-end: 1px solid var(--line);
}
.hero-meta .stat:last-child {
    border: 0;
    padding: 0;
}
.hero-meta .stat .num {
    font-family: var(--f-latin);
    font-style: italic;
    font-size: clamp(36px, 4vw, 52px);
    color: var(--brown-dark);
    line-height: 1;
}
.hero-meta .stat .lbl {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

/* Hero right — logo stage */
.hero-right {
    position: relative;
    aspect-ratio: 1 / 1.05;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stage-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    inset: 0;
    animation: slowSpin 60s linear infinite;
}
.stage-ring::before,
.stage-ring::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--copper);
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(184, 115, 51, 0.15);
}
.stage-ring::after {
    top: auto;
    bottom: -5px;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.15);
}
.stage-ring.r2 {
    inset: 8%;
    border-style: dashed;
    animation-duration: 90s;
    animation-direction: reverse;
    opacity: 0.6;
}
.stage-ring.r2::before,
.stage-ring.r2::after {
    display: none;
}
@keyframes slowSpin {
    to {
        transform: rotate(360deg);
    }
}

.stage-arc {
    position: absolute;
    inset: 15%;
    display: grid;
    place-items: center;
    z-index: 1;
}
.stage-arc svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.arc-text {
    font-family: var(--f-display);
    font-size: 15px;
    letter-spacing: 0.06em;
    fill: var(--brown);
}

.hero-logo {
    position: relative;
    z-index: 3;
    width: 58%;
    max-width: 460px;
    filter: drop-shadow(0 30px 60px rgba(107, 66, 38, 0.28));
    will-change: transform;
    animation: floatY 8s ease-in-out infinite;
}
@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

.hero-badge {
    position: absolute;
    background: var(--cream);
    border: 1px solid var(--line);
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 30px -12px rgba(59, 42, 29, 0.2);
    z-index: 4;
    animation: floatBadge 6s ease-in-out infinite;
}
.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--copper);
}
.hero-badge.b1 {
    top: 8%;
    inset-inline-start: -6%;
    animation-delay: -1s;
}
.hero-badge.b2 {
    bottom: 12%;
    inset-inline-end: -8%;
    animation-delay: -3s;
}
@keyframes floatBadge {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    inset-inline-start: clamp(20px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--f-latin);
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.24em;
    color: var(--muted);
    text-transform: uppercase;
    z-index: 5;
}
.hero-scroll .bar {
    width: 1px;
    height: 60px;
    background: linear-gradient(var(--brown-dark), transparent);
    position: relative;
    overflow: hidden;
}
.hero-scroll .bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--copper);
    animation: scrollBar 2s var(--ease-in-out) infinite;
}
@keyframes scrollBar {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* ==== Manifesto (Why choose us as chapters) ============================= */
.manifesto {
    background: var(--cream);
    border-block: 1px solid var(--line);
    position: relative;
}
.manifesto-head {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: end;
    margin-bottom: clamp(60px, 8vw, 96px);
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.manifesto-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 88px);
    line-height: 1;
    color: var(--brown-dark);
    letter-spacing: -0.01em;
}
.manifesto-title em {
    font-family: var(--f-latin);
    font-style: italic;
    font-weight: 400;
    color: var(--copper);
    font-size: 0.75em;
    display: block;
    margin-top: 8px;
}
.manifesto-lede {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--brown);
    line-height: 1.75;
    max-width: 560px;
    justify-self: end;
}

.chapters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-inline-start: 1px solid var(--line);
}
.chapter {
    padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 32px);
    border-inline-end: 1px solid var(--line);
    border-block-end: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: background 0.5s var(--ease-out);
    min-height: 340px;
}
.chapter:hover {
    background: rgba(184, 115, 51, 0.06);
}
.chapter .num {
    font-family: var(--f-editorial);
    font-style: italic;
    font-size: 16px;
    color: var(--copper);
    letter-spacing: 0.02em;
}
.chapter .icon {
    width: 48px;
    height: 48px;
    color: var(--brown-dark);
    margin-top: auto;
}
.chapter h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(22px, 2vw, 28px);
    color: var(--brown-dark);
    line-height: 1.2;
}
.chapter p {
    color: var(--brown);
    font-size: 15px;
    line-height: 1.75;
}
.chapter .arrow {
    position: absolute;
    inset-inline-end: 20px;
    top: 20px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--brown-dark);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s var(--ease-out);
}
.chapter:hover .arrow {
    opacity: 1;
    transform: scale(1);
}

/* ==== Marquee =========================================================== */
.marquee {
    padding: clamp(30px, 5vw, 56px) 0;
    background: var(--brown-dark);
    color: var(--cream);
    overflow: hidden;
    border-block: 1px solid var(--brown-dark);
}
.marquee-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    align-items: center;
    width: max-content;
    animation: mq 40s linear infinite;
}
.marquee-item {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(40px, 6vw, 88px);
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 60px;
}
.marquee-item .star {
    color: var(--gold);
    font-size: 0.6em;
    display: inline-block;
    transform: translateY(-6px);
}
.marquee-item .outline {
    -webkit-text-stroke: 1.5px var(--cream);
    color: transparent;
}
@keyframes mq {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
    }
}

/* ==== Features ========================================================== */
.features-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 80px);
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.features-head h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1;
    color: var(--brown-dark);
    letter-spacing: -0.01em;
}
.features-head p {
    color: var(--brown);
    font-size: 16px;
    max-width: 320px;
    line-height: 1.7;
    align-self: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.feature {
    background: var(--cream);
    padding: 32px 28px;
    border-radius: 4px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    min-height: 260px;
}
.feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--brown-dark), var(--brown));
    transform: translateY(100%);
    transition: transform 0.6s var(--ease-out);
    z-index: 0;
}
.feature:hover::before {
    transform: translateY(0);
}
.feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -25px rgba(59, 42, 29, 0.35);
    border-color: transparent;
}
.feature > * {
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--ease-out);
}
.feature:hover > *,
.feature:hover h4 {
    color: var(--cream);
}
.feature .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
    color: var(--copper);
    transition: all 0.4s var(--ease-out);
}
.feature:hover .icon-wrap {
    background: var(--gold);
    color: var(--brown-dark);
    border-color: var(--gold);
}
.feature h4 {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 20px;
    color: var(--brown-dark);
    line-height: 1.25;
}
.feature p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--brown);
    margin-top: auto;
}
.feature .no {
    position: absolute;
    top: 20px;
    inset-inline-end: 24px;
    font-family: var(--f-latin);
    font-style: italic;
    font-size: 14px;
    color: var(--muted);
    z-index: 2;
    transition: color 0.4s var(--ease-out);
}
.feature:hover .no {
    color: var(--gold);
}

/* ==== Map =============================================================== */
.map-section {
    background: var(--cream);
    border-block: 1px solid var(--line);
}
.map-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}
.map-info h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1;
    color: var(--brown-dark);
    margin-bottom: 24px;
}
.map-info h2 em {
    font-family: var(--f-latin);
    font-style: italic;
    color: var(--copper);
    font-weight: 400;
}
.map-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--brown);
    margin-bottom: 32px;
    max-width: 460px;
}
.map-info .btn {
    align-self: flex-start;
}
.map-frame {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    position: relative;
    box-shadow: 0 40px 80px -40px rgba(59, 42, 29, 0.35);
}
.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: sepia(0.15) saturate(0.9) hue-rotate(-8deg);
}
.map-badge {
    position: absolute;
    top: 20px;
    inset-inline-start: 20px;
    background: rgba(255, 248, 241, 0.92);
    backdrop-filter: blur(12px);
    padding: 14px 20px;
    border-radius: 999px;
    font-size: 13px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--brown-dark);
    font-weight: 500;
    border: 1px solid var(--line);
    z-index: 2;
}
.map-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ea043;
    box-shadow: 0 0 0 4px rgba(46, 160, 67, 0.18);
    animation: pulse 2s ease-in-out infinite;
}

/* ==== Contact =========================================================== */
.contact {
    background: var(--brown-dark);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px 500px at 20% 100%,
        rgba(200, 155, 60, 0.18),
        transparent 60%
    );
}
.contact-head {
    text-align: center;
    margin-bottom: clamp(56px, 7vw, 88px);
}
.contact-head .eyebrow {
    color: var(--gold);
    justify-content: center;
    margin-bottom: 20px;
}
.contact-head .eyebrow::before {
    background: var(--gold);
}
.contact-head h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(44px, 7vw, 108px);
    line-height: 0.95;
    color: var(--cream);
    letter-spacing: -0.01em;
}
.contact-head h2 em {
    font-family: var(--f-latin);
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
    font-size: 0.8em;
    display: inline-block;
    margin-inline: 0.15em;
}

.contact-cta {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(64px, 8vw, 96px);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: clamp(56px, 7vw, 88px);
}
.contact-card {
    padding: 32px;
    border: 1px solid rgba(255, 248, 241, 0.14);
    border-radius: 8px;
    background: rgba(255, 248, 241, 0.03);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.4s var(--ease-out);
}
.contact-card:hover {
    background: rgba(255, 248, 241, 0.08);
    border-color: var(--gold);
    transform: translateY(-4px);
}
.contact-card .lbl {
    font-family: var(--f-editorial);
    font-style: italic;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: var(--gold);
}
.contact-card .val {
    font-family: var(--f-display);
    font-size: 26px;
    color: var(--cream);
    line-height: 1.3;
    direction: ltr;
    text-align: right;
    unicode-bidi: plaintext;
    font-weight: 500;
}
.contact-card .val.ar {
    direction: rtl;
    text-align: right;
}
.contact-card .sub {
    color: rgba(255, 248, 241, 0.6);
    font-size: 14px;
    margin-top: 6px;
}

.socials {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.social {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 248, 241, 0.2);
    display: grid;
    place-items: center;
    color: var(--cream);
    transition: all 0.35s var(--ease-out);
}
.social:hover {
    background: var(--gold);
    color: var(--brown-dark);
    border-color: var(--gold);
    transform: translateY(-4px);
}
.social svg {
    width: 22px;
    height: 22px;
}

/* ==== Footer ============================================================ */
.footer {
    background: #211610;
    color: rgba(255, 248, 241, 0.75);
    padding: clamp(56px, 8vw, 96px) 0 32px;
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 248, 241, 0.1);
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-brand img {
    width: 84px;
}
.footer-brand p {
    font-size: 15px;
    line-height: 1.75;
    max-width: 380px;
}
.footer-col h5 {
    font-family: var(--f-editorial);
    font-style: italic;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: var(--gold);
    margin-bottom: 20px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a,
.footer-col span {
    color: rgba(255, 248, 241, 0.75);
    font-size: 15px;
    transition: color 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.footer-col a:hover {
    color: var(--gold);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    font-size: 13px;
    color: rgba(255, 248, 241, 0.5);
    flex-wrap: wrap;
    gap: 12px;
}

/* ==== Floating WhatsApp ================================================= */
.float-wa {
    position: fixed;
    bottom: 24px;
    inset-inline-start: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: grid;
    place-items: center;
    z-index: 80;
    box-shadow:
        0 12px 40px -8px rgba(37, 211, 102, 0.5),
        0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: waPulse 2.4s var(--ease-in-out) infinite;
    transition: transform 0.35s var(--ease-out);
}
.float-wa:hover {
    transform: scale(1.08);
}
.float-wa svg {
    width: 30px;
    height: 30px;
}
@keyframes waPulse {
    0% {
        box-shadow:
            0 12px 40px -8px rgba(37, 211, 102, 0.5),
            0 0 0 0 rgba(37, 211, 102, 0.55);
    }
    70% {
        box-shadow:
            0 12px 40px -8px rgba(37, 211, 102, 0.5),
            0 0 0 24px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow:
            0 12px 40px -8px rgba(37, 211, 102, 0.5),
            0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==== Reveal helpers ==================================================== */
.rev {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1s var(--ease-out),
        transform 1s var(--ease-out);
    will-change: opacity, transform;
}
.rev.in {
    opacity: 1;
    transform: none;
}
.rev-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.9s var(--ease-out),
        transform 0.9s var(--ease-out);
}
.rev-stagger.in > *:nth-child(1) {
    transition-delay: 0.05s;
}
.rev-stagger.in > *:nth-child(2) {
    transition-delay: 0.15s;
}
.rev-stagger.in > *:nth-child(3) {
    transition-delay: 0.25s;
}
.rev-stagger.in > *:nth-child(4) {
    transition-delay: 0.35s;
}
.rev-stagger.in > *:nth-child(5) {
    transition-delay: 0.45s;
}
.rev-stagger.in > * {
    opacity: 1;
    transform: none;
}

/* ==== Responsive ======================================================== */
@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-right {
        order: -1;
        max-width: 460px;
        margin: 0 auto;
        aspect-ratio: 1;
    }
    .hero {
        padding-top: 130px;
        min-height: auto;
        text-align: center;
    }
    .hero-eyebrow {
        justify-content: center;
    }
    .hero-ctas,
    .hero-meta {
        justify-content: center;
    }
    .hero-sub {
        margin-inline: auto;
    }
    .hero-scroll {
        display: none;
    }
    .manifesto-head {
        grid-template-columns: 1fr;
    }
    .manifesto-lede {
        justify-self: start;
    }
    .chapters {
        grid-template-columns: repeat(2, 1fr);
        border-block-end: 1px solid var(--line);
    }
    .chapter {
        min-height: 300px;
    }
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-head {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .map-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 720px) {
    .nav {
        padding: 14px 20px;
    }
    .nav-brand {
        display: none;
    }
    .nav-cta {
        padding: 10px 16px;
        font-size: 13px;
    }
    .hero {
        padding-top: 110px;
    }
    .hero-title {
        font-size: clamp(48px, 14vw, 72px);
    }
    .hero-badge {
        font-size: 11px;
        padding: 10px 14px;
    }
    .hero-badge.b1 {
        inset-inline-start: 0;
    }
    .hero-badge.b2 {
        inset-inline-end: 0;
    }
    .chapters {
        grid-template-columns: 1fr;
    }
    .chapter {
        min-height: 260px;
        border-inline-end: 0;
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .features .feature:nth-child(5) {
        grid-column: 1 / -1;
    }
    .marquee-item {
        gap: 40px;
    }
    .marquee-track {
        gap: 40px;
    }
    .contact-card .val {
        font-size: 20px;
    }
    .float-wa {
        width: 56px;
        height: 56px;
        bottom: 18px;
        inset-inline-start: 18px;
    }
    .float-wa svg {
        width: 26px;
        height: 26px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
    .btn {
        padding: 16px 26px;
        font-size: 14px;
        min-height: 52px;
    }
    .btn-lg {
        padding: 20px 30px;
        font-size: 15px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .rev,
    .rev-stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==== Section mini label (replaces old "section-num") =================== */
.section-mini {
    font-family: var(--f-editorial);
    font-style: italic;
    font-size: 15px;
    color: var(--copper);
    letter-spacing: 0.02em;
    display: inline-block;
    margin-bottom: 20px;
}

/* ==== Gallery =========================================================== */
.gallery {
    background: var(--bg);
    border-block-start: 1px solid var(--line);
}
.gallery-head {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 80px);
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.gallery-head h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 84px);
    line-height: 1;
    color: var(--brown-dark);
    letter-spacing: -0.01em;
}
.gallery-head h2 em {
    font-family: var(--f-editorial);
    font-style: italic;
    color: var(--copper);
    font-weight: 400;
}
.gallery-head p {
    color: var(--brown);
    font-size: 16px;
    line-height: 1.75;
    max-width: 460px;
    justify-self: end;
    align-self: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 220px;
    gap: 18px;
}
.tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: linear-gradient(180deg, var(--brown), var(--brown-dark));
    isolation: isolate;
}
.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.05) saturate(0.85);
    transition:
        transform 1s var(--ease-out),
        filter 0.6s var(--ease-out);
    z-index: 1;
}
.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(59, 42, 29, 0.05) 0%,
        rgba(59, 42, 29, 0.55) 85%,
        rgba(59, 42, 29, 0.85) 100%
    );
    z-index: 2;
    transition: opacity 0.5s var(--ease-out);
}
.tile:hover img {
    transform: scale(1.06);
    filter: grayscale(0) contrast(1.05) saturate(1);
}
.tile:hover::after {
    opacity: 0.55;
}
.tile .cap {
    position: absolute;
    bottom: 22px;
    inset-inline-start: 22px;
    inset-inline-end: 22px;
    z-index: 3;
    color: var(--cream);
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.tile .cap .no {
    font-family: var(--f-editorial);
    font-style: italic;
    font-size: 15px;
    color: var(--gold);
}

/* Editorial bento sizing */
.tile.t1 {
    grid-column: span 3;
    grid-row: span 2;
}
.tile.t2 {
    grid-column: span 3;
}
.tile.t3 {
    grid-column: span 2;
}
.tile.t4 {
    grid-column: span 2;
    grid-row: span 2;
}
.tile.t5 {
    grid-column: span 4;
}
.tile.t6 {
    grid-column: span 3;
}

/* ==== Reviews =========================================================== */
.reviews {
    background: var(--cream);
    border-block: 1px solid var(--line);
}
.reviews-head {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}
.reviews-head .section-mini {
    color: var(--brown);
}
.reviews-head h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 84px);
    line-height: 1;
    color: var(--brown-dark);
    letter-spacing: -0.01em;
}
.reviews-head h2 em {
    font-family: var(--f-editorial);
    font-style: italic;
    color: var(--copper);
    font-weight: 400;
    display: inline-block;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    transition: all 0.5s var(--ease-out);
    box-shadow: 0 20px 40px -30px rgba(59, 42, 29, 0.2);
}
.review::before {
    content: "\201D";
    position: absolute;
    top: 8px;
    inset-inline-end: 24px;
    font-family: var(--f-editorial);
    font-size: 90px;
    color: var(--copper);
    opacity: 0.18;
    line-height: 1;
}
.review:hover {
    transform: translateY(-4px);
    border-color: var(--copper);
    box-shadow: 0 30px 60px -25px rgba(184, 115, 51, 0.3);
}
.review .stars {
    display: flex;
    gap: 4px;
    color: var(--gold);
}
.review .stars svg {
    width: 18px;
    height: 18px;
}
.review .quote {
    font-size: 16px;
    line-height: 1.85;
    color: var(--brown-dark);
    font-weight: 400;
    min-height: 130px;
}
.review .who {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.review .avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--copper), var(--gold));
    color: var(--cream);
    display: grid;
    place-items: center;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 20px;
}
.review .meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.review .meta .name {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 16px;
    color: var(--brown-dark);
}
.review .meta .role {
    font-size: 13px;
    color: var(--muted);
}

/* ==== Contact — link cards ============================================= */
.contact-card.link-card {
    cursor: pointer;
    text-decoration: none;
}
.contact-card.link-card:hover {
    background: rgba(200, 155, 60, 0.1);
}

/* ==== Responsive additions ============================================== */
@media (max-width: 1080px) {
    .gallery-head {
        grid-template-columns: 1fr;
    }
    .gallery-head p {
        justify-self: start;
    }
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 200px;
    }
    .tile.t1 { grid-column: span 4; grid-row: span 2; }
    .tile.t2 { grid-column: span 2; }
    .tile.t3 { grid-column: span 2; }
    .tile.t4 { grid-column: span 2; grid-row: span 2; }
    .tile.t5 { grid-column: span 2; }
    .tile.t6 { grid-column: span 4; }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 720px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .tile.t1, .tile.t2, .tile.t3, .tile.t4, .tile.t5, .tile.t6 {
        grid-column: span 1;
        grid-row: span 1;
    }
    .tile .cap {
        font-size: 17px;
        bottom: 18px;
        inset-inline-start: 18px;
    }
    .review {
        padding: 28px 22px;
    }
    .review .quote {
        font-size: 15px;
        min-height: auto;
    }
}

