/* =========================================================
   Cohortis Consulting — design system
   Aligned to Brand Identity Guidelines, Edition 01 (MMXXVI)

   Palette  Navy 700 #002850 · Antique Gold #C09058
            Ivory #F7F2E8 · Parchment #ECE4D2 · Carbon #2A2A30
   Type     Cinzel (display) · Cormorant Garamond (editorial)
            Inter (body & UI)
   Rules    60% paper · 30% navy · 7% type · 3% gold
            No gradients. No drop shadows. Gold as rule, never fill.
            "The brand is drawn, not lit."
   ========================================================= */

:root {
    /* Cohortis Navy — Conviction */
    --navy: #002850;          /* Navy 700 · base / the firm */
    --navy-900: #00132A;
    --navy-700: #002850;
    --navy-500: #0E3D72;
    --navy-300: #5C7299;
    --navy-100: #C8D1DD;
    --navy-deep: #00132A;     /* alias */
    --navy-soft: #0E3D72;     /* alias */

    /* Antique Gold — Kinship · moments */
    --gold: #C09058;          /* Gold 500 · base */
    --gold-700: #8E6A38;
    --gold-300: #DABA88;
    --gold-100: #F2E7D3;
    --gold-mist: #FBF6EC;
    --gold-bright: #DABA88;   /* alias — on-dark accent */
    --gold-soft: #8E6A38;     /* alias — on-light accent */

    /* Neutrals */
    --white: #FFFFFF;
    --ivory: #F7F2E8;
    --parchment: #ECE4D2;
    --stone: #CFC6B2;
    --sage: #8D8775;
    --slate: #4A4A52;
    --carbon: #2A2A30;
    --charcoal: #2A2A30;      /* alias — primary text */

    /* Template aliases */
    --cream: #F7F2E8;         /* Ivory */
    --sand: #ECE4D2;          /* Parchment */
    --sand-light: #FBF6EC;    /* Gold Mist */

    /* Lines — hairline Navy 100/Stone 1px; heavy rule Gold 2px */
    --line: rgba(0, 40, 80, 0.16);
    --line-gold: rgba(192, 144, 88, 0.45);

    /* No drop shadows — brand is drawn, not lit */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;

    --ease: cubic-bezier(.22, 1, .36, 1);   /* slow, considered settle */
    --ease-soft: cubic-bezier(.4, 0, .2, 1);

    /* Image treatment — warm highlights, navy shadow undertone */
    --img-scrim: linear-gradient(180deg, rgba(0,19,42,0.10) 0%, rgba(0,19,42,0.34) 58%, rgba(0,19,42,0.72) 100%);
    --img-filter: grayscale(0.12) contrast(1.02) brightness(0.94) sepia(0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--carbon);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a {
    color: var(--navy);
    text-decoration: none;
    transition: color .2s var(--ease);
}
a:hover { color: var(--gold-700); }

/* ---------- Typography ----------
   Cinzel  — DISPLAY / TITLE, upper-case, tracking >= .04em
   Cormorant Garamond — editorial subheads, leads, quotes (italic default)
   Inter   — body, UI, labels (never heavier than 600)
*/

h1, h2 {
    font-family: 'Cinzel', Georgia, serif;
    color: var(--navy);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.16;
    margin: 0 0 1.25rem;
}

h3, h4, h5 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 1rem;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); letter-spacing: 0.06em; line-height: 1.14; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: 0.055em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-700);
    font-weight: 600;
}

p { margin: 0 0 1.1rem; }

em, .editorial { font-family: 'Cormorant Garamond', serif; font-style: italic; }

.eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--gold-700);
    font-weight: 600;
    margin-bottom: 1.4rem;
    position: relative;
    padding-left: 2.8rem;
}
.eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--gold);
}

.lead {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.6rem;
    line-height: 1.58;
    color: var(--slate);
    max-width: 40rem;
    font-weight: 500;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.75rem;
}
.container-narrow {
    max-width: 820px;     /* body measure 62–78 chars */
    margin: 0 auto;
    padding: 0 2.75rem;
}

.section { padding: 9.5rem 0; position: relative; }
.section--tight { padding: 6.5rem 0; }
.section--navy { background: var(--navy); color: rgba(247, 242, 232, 0.82); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--ivory); }
.section--navy .eyebrow { color: var(--gold-300); }
.section--navy .eyebrow::before { background: var(--gold); }
.section--sand { background: var(--parchment); }

.text-center { text-align: center; }
.text-center .eyebrow { padding-left: 0; }
.text-center .eyebrow::before { display: none; }

/* ---------- Buttons ----------
   Gold is never a fill. Primary = Navy field; on dark = Ivory field.
*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: 1.1rem 2.3rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border-radius: 0;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .55s var(--ease-soft), color .55s var(--ease-soft), border-color .55s var(--ease-soft);
}

.btn--primary {
    background: var(--navy);
    color: var(--ivory);
    border-color: var(--navy);
}
.btn--primary:hover { background: var(--navy-500); border-color: var(--navy-500); color: var(--ivory); }

.btn--outline-navy {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--ivory); }

.btn--outline-light {
    background: transparent;
    color: var(--ivory);
    border-color: rgba(247, 242, 232, 0.5);
}
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold-300); }

/* On dark grounds, the solid button inverts to Ivory */
.section--navy .btn--primary,
.hero .btn--primary,
.page-hero .btn--primary,
.network-bg .btn--primary {
    background: var(--ivory);
    color: var(--navy);
    border-color: var(--ivory);
}
.section--navy .btn--primary:hover,
.hero .btn--primary:hover,
.page-hero .btn--primary:hover,
.network-bg .btn--primary:hover {
    background: var(--stone);
    border-color: var(--stone);
    color: var(--navy);
}

.btn--link {
    padding: 0;
    background: transparent;
    color: var(--gold-700);
    border: 0;
    border-bottom: 1px solid var(--gold);
    letter-spacing: 0.12em;
}
.btn--link:hover { color: var(--navy); border-color: var(--navy); }

.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(247, 242, 232, 0.9);
    backdrop-filter: saturate(120%) blur(12px);
    -webkit-backdrop-filter: saturate(120%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-gold); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 2rem;
    max-width: 1320px;
    margin: 0 auto;
    gap: 2rem;
}

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 42px; height: auto; }
.brand-text {
    font-family: 'Cinzel', serif;
    font-size: 1.02rem;
    letter-spacing: 0.2em;
    color: var(--navy);
    font-weight: 600;
}
.brand-text small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.38em;
    color: var(--gold-700);
    margin-top: 1px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate);
    position: relative;
    padding: .35rem 0;
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active,
.nav-links li.current-menu-item > a {
    color: var(--navy);
}
.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links li.current-menu-item > a::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1.1rem; }

.lang-toggle {
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--slate);
    background: transparent;
    border: 1px solid var(--line);
    padding: .45rem .75rem;
    cursor: pointer;
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.lang-toggle:hover { border-color: var(--gold); color: var(--navy); }
.lang-toggle .ar { font-family: 'Cormorant Garamond', serif; font-size: .95rem; }

.menu-toggle {
    display: none;
    background: none; border: 0;
    color: var(--navy);
    cursor: pointer;
    padding: .3rem;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    color: var(--ivory);
    overflow: hidden;
    padding: 170px 0 120px;
}
/* Najdi (Ad-Dir'iyah) parapet frieze — Saudi heritage as a drawn gold hairline */
.hero::after,
.page-hero::after,
.site-footer::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 16px;
    background: url("../img/najdi-frieze.svg") repeat-x center;
    background-size: auto 16px;
    opacity: 0.75;
    pointer-events: none;
}
.hero::after, .page-hero::after { bottom: 0; }
/* Decorative tiles/glow retired per brand: no busy backgrounds, no gradients */
.hero__pattern, .hero__glow,
.page-hero__pattern, .why-saudi__bg { display: none; }

.hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 2rem;
}
.hero__arch { width: 54px; margin: 0 auto 2.9rem; color: var(--gold); opacity: 0.95; }
.hero h1 { color: var(--ivory); margin-bottom: 1.9rem; }
.hero h1 .gold { color: var(--gold-300); }
.hero__sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.55rem;
    line-height: 1.62;
    color: rgba(247, 242, 232, 0.82);
    max-width: 660px;
    margin: 0 auto 3.25rem;
}
.hero__ctas { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
    position: absolute;
    bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    color: rgba(247, 242, 232, 0.45);
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    z-index: 2;
}
.hero__scroll::after {
    content: "";
    display: block;
    width: 1px; height: 40px;
    background: var(--gold);
    opacity: 0.6;
    margin: .8rem auto 0;
}

/* ---------- Ornaments / dividers ---------- */
.ornament { display: block; margin: 0 auto 2.5rem; width: 72px; color: var(--gold); }

.divider-pattern {
    height: 40px;
    background-image: url("../img/divider-gold.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 320px auto;
    margin: 0;
}

/* ---------- Section header ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 5rem; }
.section-head .eyebrow { padding-left: 0; }
.section-head .eyebrow::before { display: none; }
.section-head p { color: var(--slate); font-size: 1.05rem; }
.section-head::after {
    content: "";
    display: block;
    width: 104px;
    height: 14px;
    margin: 1.75rem auto 0;
    background: url("../img/najdi-frieze.svg") repeat-x center;
    background-size: auto 14px;
    opacity: 0.7;
}

/* ---------- About snapshot ---------- */
.about-snap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-snap__visual {
    position: relative;
    aspect-ratio: 1 / 1.1;
    background: var(--navy);
    overflow: hidden;
    border: 1px solid var(--line-gold);
}
.about-snap__visual::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(192, 144, 88, 0.35);
    pointer-events: none;
}
.about-snap__arch {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}
.about-snap__arch svg { width: 52%; }

/* ---------- Cards (services / preview) ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.services-grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .services-grid--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid--three { grid-template-columns: 1fr; } }
.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 2px solid transparent;
    padding: 2.5rem 1.8rem;
    position: relative;
    transition: border-color .3s var(--ease);
    text-align: left;
}
.service-card:hover { border-color: var(--line-gold); border-top-color: var(--gold); }
.service-card__icon { color: var(--gold); width: 42px; height: 42px; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.service-card p { font-size: 0.92rem; color: var(--slate); margin-bottom: 0; }

/* ---------- Why Saudi ---------- */
.why-saudi { position: relative; overflow: hidden; }
.why-saudi__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.why-saudi__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.stat { border-left: 1px solid var(--line-gold); padding-left: 1.2rem; }
.stat__num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    color: var(--gold-300);
    line-height: 1;
    margin-bottom: .35rem;
}
.stat__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(247, 242, 232, 0.7);
}

/* ---------- Closing ---------- */
.closing {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--ivory);
    position: relative;
}
.closing::before, .closing::after {
    content: "";
    position: absolute;
    height: 14px;
    left: 12%; right: 12%;
    background: url("../img/najdi-frieze.svg") repeat-x center;
    background-size: auto 14px;
    opacity: 0.7;
}
.closing::before { top: 0; }
.closing::after { bottom: 0; transform: scaleY(-1); }
.closing h2 { max-width: 760px; margin: 0 auto 1rem; }
.closing .tagline {
    display: inline-block;
    color: var(--gold-700);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.26em;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: var(--navy);
    color: var(--ivory);
    padding: 12rem 0 6rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero__inner { position: relative; max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.page-hero h1 { color: var(--ivory); }
.page-hero h1 .gold { color: var(--gold-300); }
.page-hero p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: rgba(247, 242, 232, 0.78);
    font-size: 1.3rem;
    max-width: 620px;
    margin: 1rem auto 0;
}
.breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-300);
    margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(247, 242, 232, 0.6); }
.breadcrumb a:hover { color: var(--gold-300); }

/* ---------- Two-col blocks ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.two-col--reverse > div:first-child { order: 2; }

.col-visual {
    aspect-ratio: 4 / 5;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-gold);
}
.col-visual::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(192, 144, 88, 0.3);
    pointer-events: none;
}
.col-visual--sand { background: var(--parchment); border-color: var(--line-gold); }

.value-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.value-list li {
    position: relative;
    padding: 1rem 0 1rem 2.2rem;
    border-bottom: 1px solid var(--line);
}
.value-list li:last-child { border-bottom: 0; }
.value-list li::before {
    content: "";
    position: absolute;
    left: 2px; top: 1.5rem;
    width: 9px; height: 9px;
    background: var(--gold);
    transform: rotate(45deg);
}
.value-list strong {
    display: block;
    color: var(--navy);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: .2rem;
}

/* ---------- Services full page ---------- */
.service-block { padding: 5rem 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block__grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    align-items: start;
}
.service-block__num {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 3.4rem;
    line-height: 1;
    border-top: 2px solid var(--gold);
    padding-top: 1rem;
    display: inline-block;
}
.service-block h2 { margin-bottom: .5rem; }
.service-block .tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold-700);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.service-block ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem 2rem;
}
.service-block ul li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--slate);
}
.service-block ul li::before {
    content: "";
    position: absolute;
    left: 0; top: .55rem;
    width: 7px; height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
}

/* ---------- Stats grid ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}
.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(192, 144, 88, 0.3);
    position: relative;
}
.stat-card::before, .stat-card::after {
    content: "";
    position: absolute;
    width: 12px; height: 12px;
    border: 1px solid var(--gold);
}
.stat-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.stat-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.stat-card__num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.9rem;
    color: var(--gold-300);
    line-height: 1;
    margin-bottom: .5rem;
}
.stat-card__label { font-size: 0.85rem; color: rgba(247, 242, 232, 0.75); line-height: 1.5; }

/* ---------- Network ---------- */
.network-bg {
    background: var(--navy-900);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}
.network-bg::before { display: none; }
.network-bg .eyebrow { color: var(--gold-300); }
.network-bg .eyebrow::before { background: var(--gold); }
.network-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}
.network-item {
    padding: 2rem;
    border: 1px solid rgba(192, 144, 88, 0.22);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: border-color .25s var(--ease);
}
.network-item:hover { border-color: rgba(192, 144, 88, 0.55); }
.network-item__icon { width: 38px; height: 38px; color: var(--gold); flex-shrink: 0; }
.network-item h3 { font-size: 1.2rem; margin: 0; color: var(--ivory); }

.discretion-quote {
    text-align: center;
    max-width: 720px;
    margin: 4rem auto 2rem;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(192, 144, 88, 0.35);
    border-bottom: 1px solid rgba(192, 144, 88, 0.35);
    position: relative;
}
.discretion-quote::before, .discretion-quote::after {
    content: "";
    position: absolute;
    width: 1px; height: 12px;
    background: var(--gold);
    left: 50%; transform: translateX(-50%);
}
.discretion-quote::before { top: -1px; }
.discretion-quote::after { bottom: -1px; }
.discretion-quote h2 {
    color: var(--ivory);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}
.discretion-quote .attribution {
    color: var(--gold-300);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    text-transform: uppercase;
    margin-top: 1rem;
}

/* ---------- Insights ---------- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.insight-card {
    background: var(--white);
    border: 1px solid var(--line);
    transition: border-color .3s var(--ease);
}
.insight-card:hover { border-color: var(--line-gold); }
.insight-card__visual {
    aspect-ratio: 4 / 3;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.insight-card__visual.v-gold { background: var(--gold-700); }
.insight-card__visual.v-sand { background: var(--parchment); }
.insight-card__body { padding: 2rem; }
.insight-card__meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: .8rem;
}
.insight-card h3 { font-size: 1.3rem; margin-bottom: .8rem; line-height: 1.3; }
.insight-card p { color: var(--slate); font-size: 0.92rem; margin-bottom: 1.2rem; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
}
.contact-info { position: relative; }
.contact-info h3 {
    margin-top: 2.5rem;
    margin-bottom: .4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-700);
    font-weight: 600;
}
.contact-info p, .contact-info a { color: var(--carbon); font-size: 1.05rem; margin: 0; }
.contact-info a:hover { color: var(--gold-700); }

.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 3rem;
    position: relative;
}
.contact-form::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 56px; height: 56px;
    border-top: 1px solid var(--gold);
    border-left: 1px solid var(--gold);
}
.contact-form::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 56px; height: 56px;
    border-bottom: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: .55rem;
    font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: .7rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--carbon);
    background: transparent;
    transition: border-color .2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 100px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-900);
    color: rgba(247, 242, 232, 0.62);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}
.site-footer::before { top: 0; }
.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand img { width: 60px; margin-bottom: 1.2rem; }
.footer-brand p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
    max-width: 280px;
    color: rgba(247, 242, 232, 0.6);
}
.footer-col h4 {
    color: var(--gold-300);
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .7rem; }
.footer-col a { color: rgba(247, 242, 232, 0.62); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid rgba(192, 144, 88, 0.18);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}
.social { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.social a {
    width: 36px; height: 36px;
    border: 1px solid rgba(192, 144, 88, 0.28);
    display: inline-flex;
    align-items: center; justify-content: center;
    color: rgba(247, 242, 232, 0.7);
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.social a:hover { border-color: var(--gold); color: var(--gold-300); }
.social svg { width: 16px; height: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .menu-toggle { display: inline-flex; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .insights-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-snap, .two-col, .why-saudi__inner, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .two-col--reverse > div:first-child { order: initial; }
    .service-block__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-block ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .section { padding: 5rem 0; }
    .container, .container-narrow { padding: 0 1.25rem; }
    .nav { padding: 1rem 1.25rem; }
    .hero { padding-top: 120px; }
    .services-grid, .insights-grid, .network-grid, .stat-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 2rem 1.5rem; }
    .hero__ctas { flex-direction: column; align-items: stretch; }
    .hero__ctas .btn { justify-content: center; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--navy-900);
    z-index: 200;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    padding: 6rem 2rem 2rem;
    overflow: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { border-bottom: 1px solid rgba(192, 144, 88, 0.18); }
.mobile-nav a {
    display: block;
    padding: 1.2rem 0;
    color: var(--ivory);
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1.15rem;
}
.mobile-nav .close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: none; border: 0;
    color: var(--gold-300);
    cursor: pointer;
}
.mobile-nav .close svg { width: 28px; height: 28px; }

/* ---------- Arabic typography ----------
   Cinzel/Cormorant are Latin-only. Arabic uses Noto Naskh (display/editorial)
   and Noto Sans Arabic (body/UI). No uppercase, natural tracking, looser leading. */
[lang="ar"] body { font-family: 'Noto Sans Arabic', 'Inter', sans-serif; }
[lang="ar"] h1, [lang="ar"] h2 {
    font-family: 'Noto Naskh Arabic', 'Cormorant Garamond', serif;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.45;
    font-weight: 700;
}
[lang="ar"] h3, [lang="ar"] h4 {
    font-family: 'Noto Naskh Arabic', serif;
    letter-spacing: 0;
}
[lang="ar"] .lead, [lang="ar"] .hero__sub,
[lang="ar"] .page-hero p, [lang="ar"] .discretion-quote h2,
[lang="ar"] .service-block .tagline {
    font-family: 'Noto Naskh Arabic', serif;
    font-style: normal;
    line-height: 1.7;
}
[lang="ar"] .eyebrow, [lang="ar"] .btn, [lang="ar"] .nav-links a,
[lang="ar"] .mobile-nav a, [lang="ar"] .breadcrumb, [lang="ar"] .insight-card__meta,
[lang="ar"] .stat__label, [lang="ar"] .footer-col h4, [lang="ar"] .lang-toggle,
[lang="ar"] .closing .tagline, [lang="ar"] .form-field label, [lang="ar"] .hero__scroll {
    font-family: 'Noto Sans Arabic', sans-serif;
    letter-spacing: 0;
}
[lang="ar"] .brand-text { font-family: 'Noto Naskh Arabic', serif; letter-spacing: 0; font-weight: 700; }
[lang="ar"] .brand-text small { font-family: 'Noto Sans Arabic', sans-serif; letter-spacing: 0.1em; }
[lang="ar"] .eyebrow { letter-spacing: 0.12em; }
[lang="ar"] .btn { letter-spacing: 0.06em; }
[lang="ar"] .hero h1, [lang="ar"] .page-hero h1 { line-height: 1.4; }

/* ---------- RTL (Arabic) support ---------- */
[dir="rtl"] .nav { direction: rtl; }
[dir="rtl"] .breadcrumb { direction: rtl; }
[dir="rtl"] .value-list strong { text-align: right; }
[dir="rtl"] .service-block__grid { direction: rtl; }
[dir="rtl"] .contact-form::before { left: auto; right: 0; }
[dir="rtl"] .contact-form::after { right: auto; left: 0; }
[dir="rtl"] .stat { border-left: 0; border-right: 1px solid var(--line-gold); padding-left: 0; padding-right: 1.2rem; }
[dir="rtl"] .eyebrow { padding-left: 0; padding-right: 2.6rem; }
[dir="rtl"] .eyebrow::before { left: auto; right: 0; }
[dir="rtl"] .value-list li { padding-left: 0; padding-right: 2.2rem; }
[dir="rtl"] .value-list li::before { left: auto; right: 2px; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* ---------- Editorial imagery treatment ----------
   Photographs sit behind a quiet navy scrim. Warm, restrained, drawn-not-lit.
   Used on hero / visual blocks / insight cards. */
.media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.media img,
.media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--img-filter);
    transition: transform 1.6s var(--ease-soft);
}
.media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--img-scrim);
    pointer-events: none;
}
.has-media { background: var(--navy-900) !important; }
.has-media .about-snap__arch,
.has-media > .arch-overlay { z-index: 2; }
.col-visual.has-media::before,
.about-snap__visual.has-media::before { display: none; }

/* Hero photographic ground */
.hero--media { background: var(--navy-900); }
.hero--media .media img { opacity: 0.55; }
.hero--media .media::after {
    background: linear-gradient(180deg, rgba(0,19,42,0.62) 0%, rgba(0,19,42,0.72) 55%, rgba(0,40,80,0.82) 100%);
}

/* Inner page-hero photographic ground — quieter than the homepage */
.page-hero--media { background: var(--navy-900); }
.page-hero--media .media img { opacity: 0.42; }
.page-hero--media .media::after {
    background: linear-gradient(180deg, rgba(0,19,42,0.70) 0%, rgba(0,19,42,0.78) 50%, rgba(0,40,80,0.86) 100%);
}
.page-hero__inner, .page-hero .breadcrumb { position: relative; z-index: 2; }

/* Insight card image hover — slow, dignified */
.insight-card:hover .media img { transform: scale(1.035); }

figure { margin: 0; }
.figure-caption {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-top: 0.9rem;
}

/* ---------- Domain detail blocks (Domains page) ---------- */
.domain-detail {
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
}
.domain-detail:last-of-type { border-bottom: 0; }
.domain-detail h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    color: var(--gold-700);
    letter-spacing: 0;
    line-height: 1.35;
    margin: .35rem 0 1.4rem;
}
.domain-detail > p {
    color: var(--carbon);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 62ch;
}
.domain-detail__lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 1.5rem;
}
.domain-detail__lists h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin: 0 0 1rem;
    font-weight: 600;
}
.domain-detail__lists ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.domain-detail__lists li {
    position: relative;
    padding: .5rem 0 .5rem 1.4rem;
    font-size: 0.95rem;
    color: var(--slate);
    border-bottom: 1px solid var(--line);
    line-height: 1.5;
}
.domain-detail__lists li:last-child { border-bottom: 0; }
.domain-detail__lists li::before {
    content: "";
    position: absolute;
    left: 0; top: 1rem;
    width: 6px; height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}
@media (max-width: 720px) {
    .domain-detail__lists { grid-template-columns: 1fr; gap: 1.75rem; }
}
[dir="rtl"] .domain-detail__lists li { padding-left: 0; padding-right: 1.4rem; }
[dir="rtl"] .domain-detail__lists li::before { left: auto; right: 0; }

.domain-status {
    margin-top: 3rem;
    padding: 2rem 2.25rem;
    border-top: 1px solid var(--line-gold);
    border-bottom: 1px solid var(--line-gold);
    background: rgba(247, 242, 232, 0.4);
    text-align: center;
}
.domain-status .eyebrow { padding-left: 0; }
.domain-status .eyebrow::before { display: none; }
.domain-status p {
    margin: 0.75rem auto 0;
    max-width: 60ch;
    color: var(--slate);
    font-size: 0.98rem;
    line-height: 1.7;
}
.domain-status strong { color: var(--navy); font-weight: 600; }

/* ---------- Two Ways band (homepage) ---------- */
.dual {
    padding: 2.75rem 2.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    transition: border-color .3s var(--ease);
}
.dual:hover { border-color: var(--line-gold); border-top-color: var(--gold); }
.dual__num {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 2.6rem;
    line-height: 1;
    margin-bottom: 1rem;
}
.dual h3 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 1.3rem;
    line-height: 1.3;
    margin: .6rem 0 1.1rem;
    color: var(--navy);
}
.dual p {
    color: var(--slate);
    font-size: .98rem;
    margin-bottom: 1.5rem;
}
[dir="rtl"] .dual { text-align: right; }

/* ---------- Principals (About) ---------- */
.principal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.principal-grid--two {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 760px;
    margin: 3.5rem auto 0;
}
.principal-grid--two .principal { flex: 0 1 340px; }
.principal { border: 1px solid var(--line); padding: 2.75rem 2rem; text-align: center; background: var(--white); transition: border-color .3s var(--ease); }
.principal:hover { border-color: var(--line-gold); }
.principal__monogram {
    width: 72px; height: 72px; border: 1px solid var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
    font-family: 'Cinzel', serif; color: var(--gold-700); font-size: 1.4rem; letter-spacing: .04em;
}
.principal h3 { margin: 0 0 .35rem; font-size: 1.35rem; }
.principal .role {
    font-family: 'Inter', sans-serif; font-size: .7rem; letter-spacing: .22em;
    text-transform: uppercase; color: var(--gold-700); margin-bottom: 1.1rem;
}
.principal p { color: var(--slate); font-size: .92rem; margin: 0; }

/* ---------- Selected engagements (Network, on navy) ---------- */
.engagements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 3rem 0 1.5rem; }
.engagement { border: 1px solid rgba(192,144,88,.22); padding: 2.25rem 2rem; transition: border-color .25s var(--ease); }
.engagement:hover { border-color: rgba(192,144,88,.5); }
.engagement__sector {
    font-family: 'Inter', sans-serif; font-size: .7rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--gold-300); margin-bottom: 1.1rem;
}
.engagement h3 { color: var(--ivory); font-size: 1.2rem; margin: 0 0 .8rem; font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.engagement p { color: rgba(247,242,232,.68); font-size: .9rem; margin: 0 0 1.2rem; }
.engagement__outcome { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold-300); font-size: 1.08rem; line-height: 1.4; }
.engagements__note { text-align: center; color: rgba(247,242,232,.45); font-size: .8rem; letter-spacing: .04em; }
@media (max-width: 1024px) { .principal-grid, .engagements { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .principal-grid, .engagements { grid-template-columns: 1fr; } }
[dir="rtl"] .principal, [dir="rtl"] .engagement { text-align: right; }
[lang="ar"] .principal__monogram { font-family: 'Noto Naskh Arabic', serif; }

/* ---------- Accessibility ---------- */
.skip-link {
    position: absolute;
    left: -9999px; top: 0;
    z-index: 400;
    background: var(--navy);
    color: var(--ivory);
    padding: .85rem 1.3rem;
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 1px solid var(--gold);
}
.skip-link:focus { left: 1rem; top: 1rem; }
#main { scroll-margin-top: 96px; outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn:focus-visible,
.nav-links a:focus-visible,
.mobile-nav a:focus-visible,
.lang-toggle:focus-visible,
.footer-col a:focus-visible,
.social a:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; }
/* Slightly lift low-contrast decorative text for WCAG */
.hero__scroll { color: rgba(247, 242, 232, 0.62); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn .arrow, .consent { transition: none; }
}
[dir="rtl"] .skip-link:focus { left: auto; right: 1rem; }
[dir="rtl"] .breadcrumb a { unicode-bidi: isolate; }
[dir="rtl"] .footer-bottom { direction: rtl; }
[dir="rtl"] .hero__ctas, [dir="rtl"] .consent__actions { direction: rtl; }

/* ---------- Consent bar ---------- */
.consent {
    position: fixed;
    left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
    z-index: 300;
    background: var(--navy-900);
    border: 1px solid var(--line-gold);
    color: rgba(247, 242, 232, 0.8);
    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 880px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.consent.is-visible { opacity: 1; transform: translateY(0); }
.consent__text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    flex: 1 1 320px;
}
.consent__text a { color: var(--gold-300); border-bottom: 1px solid var(--line-gold); }
.consent__actions { display: flex; gap: .75rem; flex: 0 0 auto; }
.consent .btn { padding: .7rem 1.4rem; font-size: 0.68rem; }
@media (max-width: 560px) {
    .consent { left: 0; right: 0; bottom: 0; border-left: 0; border-right: 0; }
    .consent__actions { width: 100%; }
    .consent .btn { flex: 1; justify-content: center; }
}
[lang="ar"] .consent__text { font-family: 'Noto Sans Arabic', sans-serif; }

/* ---------- Reveal on scroll (fade-in, settle — no movement spectacle) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.services-grid .reveal:nth-child(2), .insights-grid .reveal:nth-child(2), .stat-grid .reveal:nth-child(2) { transition-delay: .1s; }
.services-grid .reveal:nth-child(3), .insights-grid .reveal:nth-child(3), .stat-grid .reveal:nth-child(3) { transition-delay: .2s; }
.services-grid .reveal:nth-child(4), .insights-grid .reveal:nth-child(4), .stat-grid .reveal:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; opacity: 1; transform: none; }
    .media img { transition: none; }
}
