/* ==========================================================================
   Oreedo marketing site — stylesheet built on the Rentek design system tokens
   Stone surfaces, slate ink, bronze accent, Inter (Latin) / Cairo (Arabic).
   ========================================================================== */

:root {
    /* Ink scale (text) */
    --rk-ink: #23303C;
    --rk-ink-deep: #11181F;
    --rk-text-2: #46505C;
    --rk-text-3: #5E6672;
    --rk-text-4: #94908A;
    --rk-text-5: #A6A091;

    /* Bronze accent */
    --rk-bronze: #B5946A;
    --rk-bronze-deep: #8A6A3E;
    --rk-bronze-light: #CDA978;
    --rk-bronze-pale: #F4ECDD;
    --rk-bronze-edge: #E7D9C0;
    --rk-callout-text: #7A5C33;

    /* Surfaces */
    --rk-paper: #FBFAF6;
    --rk-stone: #F3EFE8;
    --rk-stone-2: #F6F2E9;
    --rk-stone-3: #F1EDE3;
    --rk-app-bg: radial-gradient(120% 45% at 88% -8%, rgba(176,151,121,.24) 0%, rgba(176,151,121,0) 55%),
                 linear-gradient(170deg, #F3EFE8 0%, #EFEAE1 60%, #EAE3D6 100%);

    /* Lines */
    --rk-line: #E7E0D2;
    --rk-line-2: #EDE7DA;
    --rk-line-3: #DCD5C6;
    --rk-line-4: #E4DCCB;
    --rk-line-hover: #D9CFBB;
    --rk-chevron: #B7B0A2;

    /* Status */
    --rk-warn: #8A6A0A;
    --rk-warn-bg: #FBF3DC;
    --rk-success: #1F8A5B;
    --rk-success-bg: #E6F4EC;

    /* Type */
    --font-latin: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-ar: "Cairo", "Inter", sans-serif;
    --af: var(--font-latin);

    /* Radii */
    --rk-r-chip: 9px;
    --rk-r-input: 12px;
    --rk-r-row: 14px;
    --rk-r-card: 16px;
    --rk-r-pill: 99px;

    /* Elevation */
    --rk-sh-card: 0 10px 24px rgba(40, 33, 20, .06);
    --rk-sh-pop: 0 14px 34px rgba(40, 33, 20, .16);

    /* Layout */
    --nav-h: 72px;
    --wrap: 1200px;
    --gutter: 40px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }

body {
    margin: 0;
    background: var(--rk-stone);
    color: var(--rk-ink);
    font-family: var(--af);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: var(--rk-bronze-deep); }
a:hover { color: var(--rk-ink); }
h1, h2, h3, p { margin: 0; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Type scale (marketing scale, Rentek weights) ---------- */
.eyebrow {
    font-size: 12px; font-weight: 700; line-height: 1;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--rk-bronze-deep);
}
.eyebrow--muted { color: var(--rk-text-4); letter-spacing: .14em; font-size: 11px; }

.display {
    font-size: 60px; font-weight: 800; line-height: 1.06;
    letter-spacing: -.025em; color: var(--rk-ink-deep);
}
.h2 {
    font-size: 38px; font-weight: 800; line-height: 1.12;
    letter-spacing: -.025em; color: var(--rk-ink-deep);
}
.h3 { font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--rk-ink); }
.lead { font-size: 17px; line-height: 1.6; color: var(--rk-text-3); }
.body { font-size: 14.5px; line-height: 1.65; color: var(--rk-text-3); }
.body-s { font-size: 13.5px; line-height: 1.65; color: var(--rk-text-3); }
.label { font-size: 11.5px; font-weight: 700; line-height: 1.3; color: var(--rk-text-2); }
.meta { font-size: 12px; font-weight: 500; line-height: 1.4; color: var(--rk-text-4); }

/* ---------- Layout helpers ---------- */
.stack { display: flex; flex-direction: column; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.g5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.split--top { align-items: start; }

.section { padding-block: 96px; }
.section--paper { background: var(--rk-paper); }
.section--stone { background: var(--rk-stone); }
.section-head { display: flex; flex-direction: column; gap: 13px; max-width: 64ch; }
.section-head--row {
    display: flex; flex-wrap: wrap; align-items: flex-end;
    justify-content: space-between; gap: 22px; max-width: none;
}
.section-head--row .section-head { max-width: 60ch; }
.section-head--row .body { max-width: 40ch; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding-inline: 22px;
    border-radius: var(--rk-r-input);
    font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1;
    text-decoration: none; cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary {
    background: var(--rk-ink); color: var(--rk-paper);
    border: 1.5px solid var(--rk-ink);
    box-shadow: 0 0 0 2px var(--rk-paper), 0 0 0 3.5px var(--rk-bronze);
}
.btn--primary:hover { background: var(--rk-ink-deep); color: var(--rk-paper); }
.btn--primary svg { stroke: var(--rk-bronze-light); }
.btn--secondary {
    background: var(--rk-stone); color: var(--rk-ink);
    border: 1.5px solid var(--rk-line-4);
}
.btn--secondary:hover { background: var(--rk-line-2); color: var(--rk-ink-deep); }
.btn--sm { min-height: 40px; padding-inline: 18px; font-size: 13.5px; }
.btn:focus-visible { outline: 2px solid var(--rk-bronze); outline-offset: 3px; }

.btn--lang { font-family: var(--font-ar); font-weight: 700; padding-inline: 16px; }

.link-more {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; line-height: 1;
    color: var(--rk-bronze-deep); text-decoration: none;
}
.link-more:hover { color: var(--rk-ink); }
.link-more svg { stroke: currentColor; }

/* ---------- Cards, chips, pills, icon wells ---------- */
.card {
    background: var(--rk-paper);
    border: 1px solid var(--rk-line-2);
    border-radius: var(--rk-r-card);
    box-shadow: var(--rk-sh-card);
}
.card--pad { padding: 26px; }
.card--pad-lg { padding: 32px; }

.chip {
    display: inline-flex; align-items: center; height: 30px; padding-inline: 12px;
    border-radius: var(--rk-r-pill);
    background: var(--rk-stone-3); border: 1px solid var(--rk-line-3);
    color: var(--rk-text-2); font-size: 11.5px; font-weight: 600; line-height: 1;
    white-space: nowrap;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
    display: inline-flex; align-items: center; height: 24px; padding-inline: 10px;
    border-radius: var(--rk-r-pill); font-size: 11px; font-weight: 700; line-height: 1;
    white-space: nowrap;
}
.pill--warn { background: var(--rk-warn-bg); color: var(--rk-warn); }
.pill--bronze {
    height: 22px; padding-inline: 9px; font-size: 10.5px;
    background: var(--rk-bronze-pale); border: 1px solid var(--rk-bronze-edge);
    color: var(--rk-bronze-deep);
}

.well {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 44px; height: 44px; border-radius: var(--rk-r-input);
    background: var(--rk-stone-3);
}
.well--sm { width: 40px; height: 40px; }
.well--bronze { background: var(--rk-bronze-pale); border: 1px solid var(--rk-bronze-edge); }
.well svg { stroke: var(--rk-bronze-deep); }
.well--brand img { width: 26px; height: 26px; object-fit: contain; }

.icon { width: 22px; height: 22px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--s { width: 20px; height: 20px; }
.icon--xs { width: 18px; height: 18px; stroke-width: 2; }
.icon--ink { stroke: var(--rk-ink); }

/* ---------- Header / navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--rk-paper);
    border-bottom: 1px solid var(--rk-line);
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(40, 33, 20, .06); }
.nav {
    height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.nav-logo img { height: 34px; width: auto; }
.nav-menu {
    display: flex; align-items: center; gap: 26px;
    list-style: none; margin: 0; padding: 0;
}
.nav-link {
    display: inline-flex; align-items: center; min-height: 44px;
    font-size: 13.5px; font-weight: 600; color: var(--rk-text-2); text-decoration: none;
    border-bottom: 2px solid transparent; padding-top: 2px;
}
.nav-link:hover { color: var(--rk-ink-deep); }
.nav-link.active { color: var(--rk-ink-deep); border-bottom-color: var(--rk-bronze); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
    display: none; width: 44px; height: 44px; padding: 0;
    align-items: center; justify-content: center;
}
.hamburger svg { stroke: var(--rk-ink); }
.hamburger .ic-close { display: none; }
.hamburger.active .ic-menu { display: none; }
.hamburger.active .ic-close { display: block; }

/* ---------- Hero ---------- */
.hero { padding-block: 96px 88px; background: var(--rk-app-bg); }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-copy .display { max-width: 14ch; }
.hero-copy .lead { max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-facts {
    display: flex; flex-wrap: wrap; gap: 26px;
    margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--rk-line);
}
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact-num { font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--rk-ink-deep); }
.fact-label { font-size: 12px; font-weight: 500; color: var(--rk-text-3); }

.hero-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-card-title { font-size: 14px; font-weight: 800; color: var(--rk-ink); }
.product-list { display: flex; flex-direction: column; gap: 8px; }
.product-row {
    display: flex; align-items: center; gap: 13px; padding: 12px 13px;
    border: 1px solid var(--rk-line-2); border-radius: var(--rk-r-row);
    background: var(--rk-paper); text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}
.product-row:hover { border-color: var(--rk-line-hover); background: var(--rk-stone-2); }
.product-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.product-row-name { font-size: 13.5px; font-weight: 800; color: var(--rk-ink); }
.product-row-meta { font-size: 12.5px; color: var(--rk-text-3); }
.product-row .pill { margin-inline-start: auto; flex-shrink: 0; }

/* ---------- Logo strip ---------- */
.brands {
    background: var(--rk-paper);
    border-block: 1px solid var(--rk-line);
    padding-block: 26px;
}
.brands .wrap {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 26px;
}
.brand-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.brand-logos img { height: 26px; width: auto; }

/* ---------- About ---------- */
.about .wrap { display: flex; flex-direction: column; gap: 48px; }
.pillar { display: flex; flex-direction: column; gap: 13px; }
.values { }
.value {
    display: flex; flex-direction: column; gap: 10px;
    padding-top: 16px; border-top: 2px solid var(--rk-bronze);
}
.value h3 { font-size: 14.5px; font-weight: 800; line-height: 1.3; color: var(--rk-ink); }
.value p { font-size: 13px; line-height: 1.6; color: var(--rk-text-3); }

/* ---------- Stats rail ---------- */
.stats { background: var(--rk-ink); color: var(--rk-paper); padding-block: 64px; }
.stat {
    display: flex; flex-direction: column; gap: 8px;
    padding-inline-start: 16px; border-inline-start: 2px solid var(--rk-bronze);
}
.stat-eyebrow { font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--rk-bronze-light); }
.stat-number { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.025em; color: var(--rk-paper); font-variant-numeric: tabular-nums; }
.stat-desc { font-size: 13px; line-height: 1.5; color: #CDC7BC; }

/* ---------- Solutions ---------- */
.solutions .wrap { display: flex; flex-direction: column; gap: 48px; }
.solution { display: flex; flex-direction: column; gap: 16px; border-color: var(--rk-line); }
.solution-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.solution-head img { height: 30px; width: auto; }
.solution-tag { font-size: 10.5px; font-weight: 700; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--rk-bronze-deep); }
.solution .link-more { margin-top: auto; }

.callout {
    display: flex; flex-direction: column; gap: 16px; padding: 26px;
    background: var(--rk-bronze-pale); border: 1px solid var(--rk-bronze-edge);
    border-radius: var(--rk-r-card);
}
.callout h3 { font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: var(--rk-ink); }
.callout p { font-size: 13.5px; line-height: 1.65; color: var(--rk-callout-text); }
.callout .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Leadership ---------- */
.team .wrap { display: flex; flex-direction: column; gap: 48px; }
.member { display: flex; flex-direction: column; gap: 22px; }
.member-head { display: flex; align-items: center; gap: 16px; }
.member-photo {
    width: 88px; height: 88px; flex-shrink: 0;
    border-radius: var(--rk-r-card); object-fit: cover;
    border: 1px solid var(--rk-line-2);
}
.member-id { display: flex; flex-direction: column; gap: 4px; }
.member-name { font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--rk-ink-deep); }
.member-role { font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: var(--rk-bronze-deep); }
.member-bio { font-size: 14px; line-height: 1.65; color: var(--rk-text-3); display: flex; flex-direction: column; gap: 10px; }
.member-bio > details { font-size: inherit; }
.member-bio summary {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
    font-size: 13px; font-weight: 700; color: var(--rk-bronze-deep); min-height: 44px;
}
.member-bio summary::-webkit-details-marker { display: none; }
.member-bio summary svg { stroke: currentColor; transition: transform .2s ease; }
.member-bio details[open] summary svg { transform: rotate(180deg); }
.member-bio details[open] summary .when-closed, .member-bio details:not([open]) summary .when-open { display: none; }
.member-bio details > div { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--rk-line); }
.contact-copy { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.contact-copy .section-head { max-width: 54ch; }
.contact-copy .lead { font-size: 15px; }
.contact-grid { gap: 16px; }
.contact-item {
    display: flex; gap: 13px; padding: 16px;
    border: 1px solid var(--rk-line-2); border-radius: var(--rk-r-row);
    background: var(--rk-paper);
}
.contact-item-text { display: flex; flex-direction: column; gap: 3px; }
.contact-item-text a, .contact-item-text span:not(.label) {
    font-size: 13.5px; line-height: 1.5; color: var(--rk-ink); text-decoration: none;
}
.contact-item-text a:hover { color: var(--rk-bronze-deep); }

.mail-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mail-row {
    display: flex; align-items: center; gap: 13px; padding: 14px 16px; min-height: 44px;
    border: 1px solid var(--rk-line-2); border-radius: var(--rk-r-row);
    background: var(--rk-paper); text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}
.mail-row:hover { border-color: var(--rk-line-hover); background: var(--rk-stone-2); }
.mail-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex-grow: 1; }
.mail-row-addr { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--rk-ink); text-align: start; }
.mail-row > .icon--xs { stroke: var(--rk-chevron); flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rk-stone); border-top: 1px solid var(--rk-line); padding-block: 56px 32px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 40px; }
.footer-grid { gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { font-size: 13px; line-height: 1.6; color: var(--rk-text-3); max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--rk-text-2); }
.footer-col a { font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--rk-text-3); text-decoration: none; }
.footer-col a:hover { color: var(--rk-ink-deep); }
.footer-col a[lang="ar"] { font-family: var(--font-ar); font-weight: 700; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
    padding-top: 22px; border-top: 1px solid var(--rk-line);
}
.footer-bottom span { font-size: 12px; font-weight: 500; color: var(--rk-text-4); }

/* ---------- Legal / policy pages ---------- */
.hero--compact { padding-block: 64px 56px; }
.hero--compact .section-head { max-width: 64ch; }
.hero--compact .lead { max-width: 60ch; }
.policy-layout {
    display: grid; grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px; align-items: start;
}
.policy-toc { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 13px; }
.policy-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.policy-toc li { counter-increment: toc; }
.policy-toc a {
    display: flex; gap: 10px; align-items: baseline; min-height: 32px; padding-block: 5px;
    font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--rk-text-3); text-decoration: none;
}
.policy-toc a::before {
    content: counter(toc); flex-shrink: 0; min-width: 20px;
    font-size: 11px; font-weight: 700; color: var(--rk-bronze-deep); font-variant-numeric: tabular-nums;
}
.policy-toc a:hover { color: var(--rk-ink-deep); }
.policy-body { display: flex; flex-direction: column; gap: 40px; max-width: 72ch; }
.policy-section { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; border-top: 1px solid var(--rk-line); }
.policy-section:first-child { padding-top: 0; border-top: 0; }
.policy-section h2 {
    display: flex; align-items: center; gap: 12px;
    font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--rk-ink-deep);
}
.policy-num {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 32px; height: 32px; border-radius: var(--rk-r-chip);
    background: var(--rk-bronze-pale); border: 1px solid var(--rk-bronze-edge);
    font-size: 12.5px; font-weight: 800; color: var(--rk-bronze-deep); font-variant-numeric: tabular-nums;
}
.policy-section p { font-size: 15px; line-height: 1.7; color: var(--rk-text-3); }
.policy-section p strong { color: var(--rk-ink); font-weight: 700; }
.policy-section ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.policy-section li {
    position: relative; padding-inline-start: 22px;
    font-size: 15px; line-height: 1.7; color: var(--rk-text-3);
}
.policy-section li::before {
    content: ""; position: absolute; inset-inline-start: 4px; top: .72em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--rk-bronze);
}
.policy-section .contact-grid { margin-top: 6px; }

@media (max-width: 900px) {
    .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .policy-toc { position: static; }
    .policy-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}
@media (max-width: 640px) {
    .policy-toc ol { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Arabic / RTL ---------- */
html[lang="ar"] { --af: var(--font-ar); }
html[lang="ar"] .eyebrow,
html[lang="ar"] .solution-tag,
html[lang="ar"] .stat-eyebrow,
html[lang="ar"] .footer-col-title,
html[lang="ar"] .member-role,
html[lang="ar"] .display,
html[lang="ar"] .h2,
html[lang="ar"] .callout h3,
html[lang="ar"] .member-name,
html[lang="ar"] .fact-num,
html[lang="ar"] .stat-number { letter-spacing: 0; }
html[lang="ar"] .display { font-size: 54px; line-height: 1.25; }
html[lang="ar"] .h2 { line-height: 1.35; }
html[lang="ar"] .h3, html[lang="ar"] .callout h3, html[lang="ar"] .member-name { line-height: 1.4; }
html[lang="ar"] .lead, html[lang="ar"] .body, html[lang="ar"] .body-s,
html[lang="ar"] .member-bio, html[lang="ar"] .value p, html[lang="ar"] .stat-desc,
html[lang="ar"] .callout p, html[lang="ar"] .footer-brand p { line-height: 1.8; }
html[lang="ar"] .nav-link { font-size: 14.5px; }
html[lang="ar"] .btn { font-size: 14.5px; }
html[lang="ar"] .chip { font-size: 12px; }
.btn[lang="en"], a[lang="en"] { font-family: var(--font-latin); }
/* Latin runs inside the Arabic layout keep LTR letter order but align with the surrounding text (right). */
html[dir="rtl"] [dir="ltr"] { text-align: right; }
html[dir="rtl"] .mail-row-addr { text-align: right; }

/* Directional icons flip in RTL; symmetric icons (menu, close, chevron-down) do not. */
[dir="rtl"] .btn svg:not(.ic-menu):not(.ic-close),
[dir="rtl"] .link-more svg,
[dir="rtl"] .mail-row > .icon--xs { transform: scaleX(-1); }
[dir="rtl"] .member-bio summary svg { transform: none; }
[dir="rtl"] .member-bio details[open] summary svg { transform: rotate(180deg); }

@media (max-width: 1024px) { html[lang="ar"] .display { font-size: 46px; } }
@media (max-width: 640px) {
    html[lang="ar"] .display { font-size: 36px; }
    html[lang="ar"] .h2 { font-size: 28px; }
}

/* ---------- Motion (no decorative motion; reveal only) ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .display { font-size: 52px; }
    .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .g3, .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section { padding-block: 72px; }
    .hero { padding-block: 72px 64px; }

    .nav-menu {
        display: none;
        position: absolute; inset-inline: 0; top: var(--nav-h);
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--rk-paper); border-bottom: 1px solid var(--rk-line);
        box-shadow: var(--rk-sh-pop); padding: 8px 16px 16px;
    }
    .nav-menu.active { display: flex; }
    .nav-link { min-height: 48px; font-size: 15px; border-bottom: 1px solid var(--rk-line-2); }
    .nav-link.active { border-bottom-color: var(--rk-line-2); color: var(--rk-bronze-deep); }
    .hamburger { display: inline-flex; }
    .nav-actions .btn--primary { display: none; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; }
    .display { font-size: 40px; }
    .h2 { font-size: 30px; }
    .lead { font-size: 15.5px; }
    .g2, .g3, .g4, .g5 { grid-template-columns: minmax(0, 1fr); }
    .section { padding-block: 64px; }
    .hero { padding-block: 56px 48px; }
    .card--pad-lg { padding: 24px; }
    .brand-logos { gap: 24px 32px; }
    .product-row .pill { display: none; }
    .nav-logo img { height: 28px; }
}
