/* =========================================================
   ملائم العقارية — Site styles
   Editorial luxury, RTL first, mobile first.
   ========================================================= */

/* ---------- Fonts (self-hosted Tajawal, Arabic + Latin subsets) ---------- */
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/tajawal-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/tajawal-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/tajawal-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/tajawal-arabic-800-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/tajawal-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/tajawal-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/tajawal-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/tajawal-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
    /* Brand */
    --navy: #0F172A;
    --navy-900: #0A1020;
    --navy-800: #131D33;
    --navy-700: #1E293B;
    --navy-500: #475569;
    --gold: #C0A062;
    --gold-600: #A88A4E;   /* gold on light backgrounds: passes AA for large text */
    --gold-700: #8C7240;   /* gold text on white: passes AA for body text */
    --gold-200: #E6D6B3;
    --gold-100: #F4EEE1;
    --sand: #F1F5F9;
    --paper: #FFFFFF;
    --ink: #334155;
    --ink-soft: #5B6779;
    --line: rgb(15 23 42 / 0.12);
    --line-light: rgb(255 255 255 / 0.16);

    /* Type scale (fluid) */
    --fs-xs: 0.8125rem;
    --fs-sm: 0.9375rem;
    --fs-base: 1.0625rem;
    --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
    --fs-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
    --fs-2xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
    --fs-3xl: clamp(2.25rem, 1.6rem + 3vw, 4.25rem);
    --fs-hero: clamp(2.75rem, 1.6rem + 5.4vw, 6rem);

    /* Space */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
    --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
    --container: 1240px;

    --radius-sm: 6px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow-soft: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px -12px rgb(15 23 42 / 0.18);
    --glass-bg: rgb(15 23 42 / 0.55);
    --glass-light: rgb(255 255 255 / 0.72);
    --glass-border: rgb(255 255 255 / 0.14);
    --blur: saturate(160%) blur(16px);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
    margin: 0;
    font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    font-size: var(--fs-base);
    line-height: 1.8;
    color: var(--ink);
    background: var(--paper);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-200); color: var(--navy); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 200; background: var(--gold); color: var(--navy); padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Typographic pieces ---------- */
.eyebrow {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: var(--fs-sm); font-weight: 700; color: var(--gold-700);
    letter-spacing: 0.02em; margin-bottom: var(--space-5);
}
.eyebrow__num { font-variant-numeric: tabular-nums; color: var(--navy); opacity: 0.45; font-weight: 500; }
.eyebrow__rule { width: 2.5rem; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .eyebrow__num { color: #fff; }

.display { font-size: var(--fs-3xl); line-height: 1.15; }
.lead { font-size: var(--fs-lg); color: var(--ink-soft); line-height: 1.9; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead, .on-dark p { color: rgb(255 255 255 / 0.78); }
.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--navy); --btn-fg: #fff;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 52px; padding: 0.85rem 1.6rem;
    border: 1px solid transparent; border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg);
    font-weight: 700; font-size: 1rem; line-height: 1;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn::after { /* soft gold sheen on hover */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(120% 140% at var(--mx, 50%) 120%, rgb(255 255 255 / 0.35), transparent 60%);
    opacity: 0; transition: opacity 0.4s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgb(192 160 98 / 0.65); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform 0.4s var(--ease); }
.btn:hover .icon { transform: translateX(-4px); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgb(255 255 255 / 0.4); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--gold); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0.6rem 1.2rem; font-size: 0.95rem; }
.btn--block { width: 100%; }

.text-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-weight: 700; color: var(--navy);
    background: linear-gradient(var(--gold), var(--gold)) no-repeat right bottom / 0 1px;
    transition: background-size 0.5s var(--ease), color 0.3s;
    padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1px; color: var(--gold-700); }
.text-link .icon { transition: transform 0.4s var(--ease); }
.text-link:hover .icon { transform: translateX(-4px); }
.on-dark .text-link { color: #fff; }

/* ---------- Loader (first visit only, never blocks without JS) ---------- */
.loader { display: none; }
.js:not(.no-loader) .loader {
    position: fixed; inset: 0; z-index: 300;
    display: grid; place-items: center;
    background: radial-gradient(60% 50% at 50% 45%, #16213A, var(--navy) 70%);
    /* Safety net: even if JS never runs, the loader leaves on its own */
    animation: loader-out 0.6s var(--ease) 2.4s forwards;
}
.loader.is-done { animation: loader-out 0.7s var(--ease) forwards !important; }
.loader__inner { display: grid; justify-items: center; gap: 0.35rem; }
.loader__mark { width: 92px; height: auto; animation: mark-in 1s var(--ease) both; }
.loader__word { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1.2; margin-top: 0.75rem; animation: rise 0.9s var(--ease) 0.25s both; }
.loader__en { font-size: 0.72rem; letter-spacing: 0.42em; color: var(--gold); animation: rise 0.9s var(--ease) 0.4s both; padding-inline-start: 0.42em; }
.loader__line { width: 120px; height: 1px; margin-top: 1.25rem; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform-origin: center; animation: line 1.4s var(--ease) 0.3s both; }
@keyframes mark-in { from { opacity: 0; transform: translateY(14px) scale(0.92); clip-path: inset(100% 0 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; transform: translateY(-2%); } }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    height: var(--header-h);
    transition: height 0.5s var(--ease), background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
    border-bottom: 1px solid transparent;
}
.site-header__bar { height: 100%; display: flex; align-items: center; gap: var(--space-6); }
.brand { display: block; flex: none; }
.brand__logo { height: 40px; width: auto; transition: height 0.5s var(--ease); }
@media (min-width: 1024px) { .brand__logo { height: 46px; } }
.brand__logo--light { display: none; }
.main-nav { margin-inline-start: auto; display: none; }
.main-nav ul { list-style: none; display: flex; gap: clamp(1rem, 2vw, 2.25rem); }
.main-nav a {
    position: relative; display: block; padding-block: 0.5rem;
    font-weight: 500; color: var(--navy); transition: color 0.3s;
}
.main-nav a::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--gold-700); }
.site-header__cta { display: none; }
.menu-toggle, .menu-close {
    margin-inline-start: auto; display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: transparent; border: 1px solid var(--line); color: var(--navy);
}
.menu-toggle .icon, .menu-close .icon { width: 22px; height: 22px; }

/* Solid pages: light glass bar from the start */
.header-solid .site-header { background: var(--glass-light); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-color: var(--line); }
.header-solid main { padding-top: var(--header-h); }

/* Overlay pages (dark hero): transparent bar, light logo */
.header-overlay .site-header:not(.is-scrolled) .brand__logo--dark { display: none; }
.header-overlay .site-header:not(.is-scrolled) .brand__logo--light { display: block; }
.header-overlay .site-header:not(.is-scrolled) .main-nav a { color: rgb(255 255 255 / 0.88); }
.header-overlay .site-header:not(.is-scrolled) .main-nav a:hover,
.header-overlay .site-header:not(.is-scrolled) .main-nav a[aria-current="page"] { color: #fff; }
.header-overlay .site-header:not(.is-scrolled) .menu-toggle { color: #fff; border-color: rgb(255 255 255 / 0.3); }

/* Scrolled: compact dark glass */
.site-header.is-scrolled {
    --header-h: 68px;
    background: rgb(15 23 42 / 0.72); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    border-color: var(--glass-border); box-shadow: 0 10px 30px -20px rgb(0 0 0 / 0.6);
}
.site-header.is-scrolled .brand__logo { height: 36px; }
.site-header.is-scrolled .brand__logo--dark { display: none; }
.site-header.is-scrolled .brand__logo--light { display: block; }
.site-header.is-scrolled .main-nav a { color: rgb(255 255 255 / 0.85); }
.site-header.is-scrolled .main-nav a[aria-current="page"], .site-header.is-scrolled .main-nav a:hover { color: var(--gold); }
.site-header.is-scrolled .menu-toggle { color: #fff; border-color: rgb(255 255 255 / 0.25); }

@media (min-width: 1024px) {
    .main-nav, .site-header__cta { display: block; }
    .site-header__cta { display: inline-flex; }
    .menu-toggle { display: none; }
}

/* ---------- Mobile menu (glass panel) ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 150; }
.mobile-menu[hidden] { display: none; }
.mobile-menu::before { content: ""; position: absolute; inset: 0; background: rgb(10 16 32 / 0.5); opacity: 0; transition: opacity 0.4s; }
.mobile-menu.is-open::before { opacity: 1; }
.mobile-menu__panel {
    position: absolute; inset-block: 0; inset-inline-end: 0; width: min(100%, 420px);
    display: flex; flex-direction: column; padding: var(--space-5) var(--gutter) var(--space-6);
    background: rgb(15 23 42 / 0.86); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    border-inline-start: 1px solid var(--glass-border);
    transform: translateX(-100%); transition: transform 0.55s var(--ease);
    overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__top img { height: 54px; width: auto; }
.menu-close { margin: 0; color: #fff; border-color: var(--glass-border); }
.mobile-menu__links { list-style: none; margin-top: var(--space-7); }
.mobile-menu__links li { border-bottom: 1px solid var(--line-light); opacity: 0; transform: translateX(-16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--i) * 50ms + 120ms); }
.mobile-menu.is-open .mobile-menu__links li { opacity: 1; transform: none; }
.mobile-menu__links a { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 0; font-size: 1.6rem; font-weight: 700; color: #fff; }
.mobile-menu__links a[aria-current="page"] { color: var(--gold); }
.mobile-menu__num { font-size: 0.8rem; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.mobile-menu__foot { margin-top: auto; padding-top: var(--space-7); display: grid; gap: var(--space-4); }
.mobile-menu__phone { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; color: rgb(255 255 255 / 0.75); }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); }
.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); max-width: 46rem; }
.section-head--split { max-width: none; }
@media (min-width: 900px) {
    .section-head--split { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 100svh; display: grid; align-items: end;
    padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 8vh, 6rem);
    color: #fff; background: var(--navy);
}
.hero__media, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__media img, .hero__media video { transform: scale(1.2); transform-origin: 100% 0; }
.hero__media video { opacity: 0; transition: opacity 1.2s; }
.hero__media video.is-playing { opacity: 1; }
.hero::before { /* navy veil, stronger at the reading side */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(70% 60% at 85% 75%, rgb(192 160 98 / 0.22), transparent 60%),
        linear-gradient(to left, rgb(10 16 32 / 0.88) 0%, rgb(10 16 32 / 0.55) 55%, rgb(10 16 32 / 0.35) 100%),
        linear-gradient(to top, rgb(10 16 32 / 0.9), transparent 45%);
}
.hero__content { max-width: 48rem; }
.hero__kicker { display: inline-flex; align-items: center; gap: 0.75rem; font-size: var(--fs-sm); color: var(--gold); font-weight: 500; margin-bottom: var(--space-5); }
.hero__kicker::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.hero__title { font-size: var(--fs-hero); line-height: 1.05; color: #fff; letter-spacing: -0.02em; }
.hero__title span { display: block; color: var(--gold); font-weight: 500; font-size: 0.62em; margin-top: 0.35em; letter-spacing: 0; }
.hero__text { margin-top: var(--space-5); font-size: var(--fs-lg); color: rgb(255 255 255 / 0.82); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__foot {
    margin-top: clamp(3rem, 8vh, 5rem); padding-top: var(--space-5);
    display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-7); justify-content: space-between;
    border-top: 1px solid var(--line-light); font-size: var(--fs-sm); color: rgb(255 255 255 / 0.7);
}
.hero__foot span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__scroll { display: inline-flex; align-items: center; gap: 0.75rem; }
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: scroll-cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scroll-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Hero text entrance */
/* Hero entrance runs on CSS alone (no wait for JavaScript), so the headline paints early.
   On a first visit it starts just as the loader fades. */
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } }
.js .hero [data-hero] { animation: hero-in 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms); }
.js:not(.no-loader) .hero [data-hero] { animation-delay: calc(350ms + var(--d, 0) * 110ms); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); padding-block: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) clamp(3rem, 7vw, 5.5rem); }
.page-hero__media, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgb(10 16 32 / 0.9), rgb(10 16 32 / 0.6)), radial-gradient(60% 80% at 90% 100%, rgb(192 160 98 / 0.25), transparent 60%); }
.page-hero h1 { color: #fff; font-size: var(--fs-3xl); max-width: 22ch; }
.page-hero p { margin-top: var(--space-4); max-width: 40rem; font-size: var(--fs-lg); color: rgb(255 255 255 / 0.8); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-sm); color: rgb(255 255 255 / 0.65); margin-bottom: var(--space-5); list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 0.5rem; opacity: 0.5; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); }

/* ---------- About (editorial split) ---------- */
.about { display: grid; gap: var(--space-7); align-items: center; }
.about__media { position: relative; }
.about__media picture img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__media::before { /* thin gold architectural frame, offset */
    content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}
.about__badge {
    position: absolute; inset-inline-start: -0.75rem; bottom: 2rem;
    padding: 1rem 1.25rem; border-radius: var(--radius); max-width: 15rem;
    background: rgb(15 23 42 / 0.7); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border); color: #fff;
}
.about__badge strong { display: block; font-size: 2.25rem; line-height: 1; color: var(--gold); font-weight: 800; }
.about__badge span { font-size: var(--fs-sm); color: rgb(255 255 255 / 0.8); }
.about__body h2 { font-size: var(--fs-2xl); }
.about__body .lead { margin-top: var(--space-5); }
.values { list-style: none; margin-top: var(--space-6); display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.values b { color: var(--navy); font-weight: 700; }
.values .icon { grid-row: span 2; color: var(--gold-600); width: 1.4rem; height: 1.4rem; margin-top: 0.3rem; }
.values span { color: var(--ink-soft); font-size: var(--fs-sm); }
@media (min-width: 900px) {
    .about { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6.5rem); }
    .values { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

/* ---------- Services (varied editorial layout) ---------- */
.service-feature { position: relative; display: grid; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); }
.service-feature picture img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.service-feature__panel {
    position: relative; margin: -4rem 1rem 1rem; padding: var(--space-6);
    border-radius: var(--radius); color: #fff;
    background: rgb(15 23 42 / 0.78); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
}
.service-feature__panel h3 { color: #fff; font-size: var(--fs-xl); margin-top: var(--space-2); }
.service-feature__panel p { margin-top: var(--space-3); color: rgb(255 255 255 / 0.78); }
.service-feature__panel .text-link { color: #fff; }
.service-num { font-size: var(--fs-sm); color: var(--gold); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0.05em; }
@media (min-width: 900px) {
    .service-feature { grid-template-columns: 1fr; min-height: 520px; }
    .service-feature picture { position: absolute; inset: 0; }
    .service-feature picture img { aspect-ratio: auto; }
    .service-feature__panel { align-self: end; justify-self: start; margin: 2.5rem; max-width: 30rem; }
}
.service-pair { display: grid; gap: 0; margin-top: var(--space-7); border-top: 1px solid var(--line); }
.service-row { display: grid; gap: var(--space-3); padding-block: var(--space-6); border-bottom: 1px solid var(--line); }
.service-row h3 { font-size: var(--fs-xl); }
.service-row p { color: var(--ink-soft); max-width: 34rem; }
.service-row .text-link { justify-self: start; margin-top: var(--space-2); }
@media (min-width: 900px) {
    .service-pair { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); border-top: 0; }
    .service-row { border-top: 1px solid var(--line); border-bottom: 0; padding-top: var(--space-6); }
    .service-row:nth-child(2) { margin-top: 4rem; } /* deliberate stagger */
}

/* ---------- Process (why Mulaem) ---------- */
.process { list-style: none; counter-reset: step; display: grid; gap: var(--space-6); margin-top: var(--space-7); position: relative; }
.process li { position: relative; padding-inline-start: 3.5rem; }
.process li::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; inset-inline-start: 0; top: -0.15rem;
    display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    border: 1px solid var(--gold); color: var(--gold); font-weight: 700; background: var(--navy);
}
.process li::after { content: ""; position: absolute; inset-inline-start: 1.25rem; top: 2.6rem; bottom: -1.6rem; width: 1px; background: linear-gradient(var(--gold), transparent); }
.process li:last-child::after { display: none; }
.process h3 { font-size: var(--fs-lg); color: #fff; }
.process p { margin-top: 0.4rem; font-size: var(--fs-sm); color: rgb(255 255 255 / 0.7); }
@media (min-width: 900px) {
    .process { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
    .process li { padding: 3.75rem 0 0; }
    .process li::before { top: 0; }
    .process li::after { inset-inline-start: 3rem; inset-inline-end: -1rem; top: 1.25rem; bottom: auto; width: auto; height: 1px; background: linear-gradient(to left, var(--gold), rgb(192 160 98 / 0.15)); }
}
.process-wrap { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .process-wrap { grid-template-columns: 1fr 1fr; align-items: end; } }

/* ---------- Blog (magazine) ---------- */
.mag { display: grid; gap: var(--space-6); }
.mag-lead { display: grid; gap: var(--space-5); }
.mag-lead__img { display: block; overflow: hidden; border-radius: var(--radius-lg); }
.mag-lead__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.mag-lead:hover .mag-lead__img img { transform: scale(1.04); }
.mag-lead h3 { font-size: var(--fs-2xl); }
.mag-lead h3 a, .mag-item h3 a { background: linear-gradient(var(--gold), var(--gold)) no-repeat right bottom / 0 1px; transition: background-size 0.6s var(--ease); }
.mag-lead h3 a:hover, .mag-item h3 a:hover { background-size: 100% 1px; }
.mag-lead p { color: var(--ink-soft); }
.mag-list { display: grid; border-top: 1px solid var(--line); }
.mag-item { display: grid; grid-template-columns: 1fr 112px; gap: var(--space-4); padding-block: var(--space-5); border-bottom: 1px solid var(--line); align-items: start; }
.mag-item img { width: 112px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.mag-item h3 { font-size: var(--fs-lg); line-height: 1.45; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1rem; font-size: var(--fs-xs); color: var(--ink-soft); }
.meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.meta .cat { color: var(--gold-700); font-weight: 700; }
.mag-item .meta, .mag-lead .meta { margin-bottom: var(--space-2); }
@media (min-width: 900px) {
    .mag { grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); }
    .mag-item { grid-template-columns: 1fr 132px; }
    .mag-item img { width: 132px; }
}
.empty-state { padding: var(--space-7); border: 1px dashed var(--gold); border-radius: var(--radius-lg); background: var(--gold-100); display: grid; gap: var(--space-3); max-width: 40rem; }
.empty-state h3 { font-size: var(--fs-xl); }

/* ---------- CTA (glass over architecture) ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 12vw, 9rem); }
.cta > picture, .cta > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(10 16 32 / 0.55), rgb(10 16 32 / 0.75)); }
.cta__panel {
    max-width: 42rem; padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: var(--radius-lg);
    background: rgb(15 23 42 / 0.5); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border); color: #fff;
    transition: box-shadow 0.6s var(--ease), border-color 0.6s;
}
.cta__panel:hover { border-color: rgb(192 160 98 / 0.45); box-shadow: 0 0 0 1px rgb(192 160 98 / 0.15), 0 30px 80px -40px rgb(192 160 98 / 0.55); }
.cta__panel h2 { color: #fff; font-size: var(--fs-2xl); }
.cta__panel p { margin-top: var(--space-4); color: rgb(255 255 255 / 0.8); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-7); }
.contact-list { list-style: none; display: grid; border-top: 1px solid var(--line); }
.contact-list a, .contact-list > li > span { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease), color 0.3s; }
.contact-list a:hover { padding-inline-start: 0.75rem; color: var(--gold-700); }
.contact-list .icon { width: 1.4rem; height: 1.4rem; color: var(--gold-600); }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--ink-soft); }
.contact-list strong { font-size: var(--fs-lg); color: var(--navy); font-weight: 700; }
.contact-list .icon--go { color: var(--ink-soft); width: 1.1rem; height: 1.1rem; }
.social { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.social .icon { width: 18px; height: 18px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 6fr; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgb(255 255 255 / 0.72); padding-top: clamp(3.5rem, 8vw, 6rem); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; gap: var(--space-7); padding-bottom: var(--space-7); }
.site-footer__brand img { width: 88px; height: auto; }
.site-footer__brand p { margin-top: var(--space-4); max-width: 22rem; }
.site-footer .social { margin-top: var(--space-5); }
.site-footer .social a { border-color: var(--line-light); color: #fff; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: var(--space-4); }
.site-footer__col ul { list-style: none; display: grid; gap: 0.6rem; }
.site-footer__col a, .site-footer__col span { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.site-footer__col a:hover { color: var(--gold); }
.site-footer__col .icon { color: var(--gold); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-5) calc(var(--space-5) + 70px); border-top: 1px solid var(--line-light); font-size: var(--fs-xs); }
.site-footer__legal a { margin-inline-start: 1.25rem; }
.site-footer__legal a:hover { color: var(--gold); }
@media (min-width: 900px) {
    .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
    .site-footer__legal { padding-bottom: var(--space-5); }
}

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; z-index: 90; inset-inline-start: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 0.5rem;
    height: 56px; padding: 0 1.1rem; border-radius: 999px;
    background: rgb(15 23 42 / 0.78); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    border: 1px solid rgb(192 160 98 / 0.45); color: #fff; font-weight: 700; font-size: 0.95rem;
    box-shadow: 0 12px 30px -12px rgb(0 0 0 / 0.5);
    transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.wa-float .icon { width: 24px; height: 24px; color: #25D366; }
.wa-float:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 40px -14px rgb(192 160 98 / 0.6); }
@media (max-width: 599px) {
    .wa-float { width: 56px; padding: 0; justify-content: center; }
    .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Inner page building blocks ---------- */
.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
    .split--reverse > :first-child { order: 2; }
}
.split picture img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.prose-block h2 { font-size: var(--fs-2xl); }
.prose-block p { margin-top: var(--space-4); color: var(--ink-soft); }
.statement { font-size: var(--fs-xl); line-height: 1.7; color: var(--navy); font-weight: 500; max-width: 54rem; }
.statement em { font-style: normal; color: var(--gold-700); }
.pillars { display: grid; gap: 0; list-style: none; border-top: 1px solid var(--line); }
.pillars li { padding: var(--space-6) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--space-2); }
.pillars h3 { font-size: var(--fs-lg); display: flex; gap: 0.75rem; align-items: baseline; }
.pillars h3 small { font-size: var(--fs-xs); color: var(--gold-700); font-weight: 500; }
.pillars p { color: var(--ink-soft); }
@media (min-width: 900px) {
    .pillars { grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; }
}
.service-detail { display: grid; gap: var(--space-6); padding-block: var(--space-8); border-top: 1px solid var(--line); }
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail picture img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.service-detail h2 { font-size: var(--fs-2xl); margin-top: var(--space-2); }
.service-detail .lead { margin-top: var(--space-4); }
.checklist { list-style: none; display: grid; gap: 0.7rem; margin-top: var(--space-5); }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .icon { color: var(--gold-600); margin-top: 0.35rem; }
@media (min-width: 900px) {
    .service-detail { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
    .service-detail:nth-of-type(even) picture { order: 2; }
}

/* ---------- Request page ---------- */
.request-layout { display: grid; gap: var(--space-7); }
.request-aside h2 { font-size: var(--fs-xl); }
.request-aside .checklist { margin-top: var(--space-5); }
.request-aside .note { margin-top: var(--space-6); padding: var(--space-5); border-radius: var(--radius); background: var(--sand); font-size: var(--fs-sm); color: var(--ink-soft); }
.form-shell { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); overflow: hidden; }
.form-shell__head { padding: var(--space-5) var(--space-6); background: var(--navy); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.form-shell__head h2 { color: #fff; font-size: var(--fs-lg); }
.form-shell__head span { font-size: var(--fs-xs); color: var(--gold); }
.form-shell iframe { display: block; width: 100%; min-height: 900px; border: 0; }
.form-fallback { padding: var(--space-6); text-align: center; color: var(--ink-soft); }
iframe + .form-fallback { padding: var(--space-3) var(--space-5) var(--space-4); font-size: var(--fs-sm); }
@media (min-width: 1024px) { .request-layout { grid-template-columns: 4fr 7fr; align-items: start; } .request-aside { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* ---------- Blog index ---------- */
.blog-toolbar { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); }
.blog-toolbar > * { min-width: 0; }
.search-form { width: 100%; }
.chips { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; list-style: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { display: inline-block; white-space: nowrap; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; transition: border-color 0.3s, background-color 0.3s, color 0.3s; }
.chips a:hover { border-color: var(--gold); }
.chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.search-form { display: flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.35rem 0.25rem 1rem; background: #fff; max-width: 420px; }
.search-form:focus-within { border-color: var(--gold); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; padding: 0.55rem 0.75rem; color: var(--navy); }
.search-form button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; }
@media (min-width: 900px) { .blog-toolbar { grid-template-columns: 1fr auto; align-items: center; } }

.featured-post { display: grid; gap: var(--space-5); margin-bottom: var(--space-8); }
.featured-post__img { display: block; overflow: hidden; border-radius: var(--radius-lg); }
.featured-post__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.featured-post:hover .featured-post__img img { transform: scale(1.03); }
.featured-post h2 { font-size: var(--fs-2xl); }
.featured-post p { color: var(--ink-soft); }
@media (min-width: 900px) { .featured-post { grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; } }

.post-grid { display: grid; gap: var(--space-7) var(--space-6); }
.post { display: grid; gap: var(--space-3); align-content: start; }
.post__img { display: block; overflow: hidden; border-radius: var(--radius); }
.post__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post h3 { font-size: var(--fs-lg); line-height: 1.5; }
.post p { font-size: var(--fs-sm); color: var(--ink-soft); }
@media (min-width: 640px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
    .post-grid { grid-template-columns: repeat(3, 1fr); }
    .post-grid .post:nth-child(3n+2) { margin-top: 3rem; } /* editorial stagger */
}
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: var(--space-8); list-style: none; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.75rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; }
.pagination a:hover { border-color: var(--gold); }
.pagination [aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Article ---------- */
.article-hero { padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) var(--space-6); background: var(--sand); }
.article-hero .breadcrumb { color: var(--ink-soft); }
.article-hero .breadcrumb [aria-current] { color: var(--gold-700); }
.article-hero h1 { font-size: var(--fs-3xl); max-width: 24ch; }
.article-hero .lead { margin-top: var(--space-4); max-width: 46rem; }
.article-hero .meta { margin-top: var(--space-5); font-size: var(--fs-sm); }
.header-solid .article-hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.article-cover { margin-top: calc(-1 * var(--space-1)); background: linear-gradient(var(--sand) 50%, #fff 50%); }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 700px) { .article-cover img { aspect-ratio: 3 / 2; } }
.article-layout { display: grid; gap: var(--space-7); padding-block: var(--space-8); }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); font-size: var(--fs-sm); }
.toc h2 { font-size: 1rem; margin-bottom: var(--space-3); }
.toc ol { list-style: none; display: grid; gap: 0.5rem; }
.toc .lvl-3 { padding-inline-start: 1rem; }
.toc a { color: var(--ink-soft); transition: color 0.3s; }
.toc a:hover, .toc a.is-active { color: var(--gold-700); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: var(--space-5); }
.share b { font-size: var(--fs-sm); margin-inline-end: 0.25rem; }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); transition: border-color 0.3s, color 0.3s; }
.share a:hover, .share button:hover { border-color: var(--gold); color: var(--gold-700); }
.share .icon { width: 17px; height: 17px; }
@media (min-width: 1024px) {
    .article-layout { grid-template-columns: minmax(0, 46rem) 1fr; gap: clamp(3rem, 6vw, 6rem); }
    .article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
}

.prose { font-size: 1.125rem; line-height: 2; color: var(--ink); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.75em; scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h4 { font-size: 1.05rem; margin-top: 1.5em; }
.prose a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-inline-start: 1.5rem; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--gold-600); }
.prose blockquote { margin-inline: 0; padding: 0.25rem 1.5rem; border-inline-start: 2px solid var(--gold); font-size: 1.2rem; color: var(--navy); font-weight: 500; }
.prose img { border-radius: var(--radius); }
.prose figcaption { margin-top: 0.5rem; font-size: var(--fs-sm); color: var(--ink-soft); text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose th, .prose td { padding: 0.75rem; border-bottom: 1px solid var(--line); text-align: start; }
.prose th { color: var(--navy); }
.prose pre { overflow-x: auto; padding: 1rem; background: var(--sand); border-radius: var(--radius-sm); direction: ltr; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.5em; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin-top: var(--space-6); }
.tags a { font-size: var(--fs-xs); padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--sand); }
.tags a:hover { background: var(--gold-100); color: var(--gold-700); }
.sources { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.sources h2 { font-size: 1rem; }
.sources ol { padding-inline-start: 1.25rem; margin-top: 0.5rem; color: var(--ink-soft); }
.sources a { word-break: break-all; }
.aside-cta { margin-top: var(--space-5); padding: var(--space-5); border-radius: var(--radius); background: var(--navy); color: #fff; }
.aside-cta h2 { color: #fff; font-size: 1.15rem; }
.aside-cta p { margin: 0.5rem 0 1rem; font-size: var(--fs-sm); color: rgb(255 255 255 / 0.75); }

/* ---------- Legal pages ---------- */
.legal { max-width: 52rem; }
.legal h2 { font-size: var(--fs-xl); margin-top: var(--space-7); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { margin-top: var(--space-3); color: var(--ink-soft); }
.legal ul { padding-inline-start: 1.25rem; }

/* ---------- 404 / thanks ---------- */
.message-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.message-page .big { font-size: clamp(4rem, 12vw, 9rem); line-height: 1; font-weight: 800; color: var(--gold); }
.message-page h1 { font-size: var(--fs-2xl); margin-top: var(--space-4); }
.message-page p { margin: var(--space-4) auto 0; max-width: 32rem; color: var(--ink-soft); }
.message-page .hero__actions { justify-content: center; }
.check-badge { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); }
.check-badge .icon { width: 36px; height: 36px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* If site.js never runs (blocked or failed to load), nothing stays hidden. */
@keyframes show-fallback { to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.js body:not(.is-ready) [data-reveal],
.js body:not(.is-ready) [data-reveal="mask"] > * { animation: show-fallback 0.6s var(--ease) 3s forwards; }
.js [data-reveal="fade"] { transform: none; }
/* The mask is applied to the children: IntersectionObserver never reports a fully clipped target */
.js [data-reveal="mask"] { opacity: 1; transform: none; }
.js [data-reveal="mask"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="mask"].is-visible > * { clip-path: inset(0 0 0 0); }
[data-parallax] { will-change: transform; }

/* ---------- Reduced motion: keep everything, drop the movement ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
    .js:not(.no-loader) .loader { animation: loader-out 0.3s linear 0.4s forwards !important; }
    .js [data-reveal], .js [data-reveal] > *, .js .hero [data-hero] { opacity: 1; transform: none; clip-path: none; animation: none; }
    .hero__media video { display: none; }
}
