/* =========================================================================
   WSLH (وصلة) vCards — Design System
   Brand: ink #1d1d1d · brand yellow #ffda00
   Typography: Cairo (AR + Latin)
   ========================================================================= */

/* Fonts: Cairo (AR + Latin) — loaded via Google Fonts in each page <head>. */

:root {
  /* WSLH (وصلة) — ink + brand yellow, matching the supplied app icon exactly
     (ink ground, white wordmark, yellow ®). No teal: the icon has none.
       ink #1d1d1d · brand yellow #ffda00 · bg #f5f6f8 · border #ebebeb        */
  --brand: #1d1d1d;       /* primary — 16.1:1 on white, safe as text anywhere */
  --brand-600: #333333;   /* hover / gradient mid */
  --brand-700: #000000;   /* gradient end, pressed state */
  --brand-50: #f4f4f5;    /* faintest neutral wash */
  --brand-100: #e7e7e9;   /* neutral chip / panel tint */
  /* The brand yellow is 1.32:1 on white: FILLS ONLY, never text on a light
     surface and never a bed for white glyphs. Anything sitting ON yellow uses
     --on-accent; text on a yellow-tinted surface uses --gold-deep. Focus rings
     on light surfaces use --brand, NOT the yellow — a 1.32:1 ring is invisible
     and would fail WCAG 2.4.11; the yellow ring is only used on dark grounds. */
  --accent: #ffda00;
  --on-accent: #1d1d1d;
  --gold-deep: #8a6d1e;   /* gold-ink — 4.77:1 on white, white-safe as a bed */
  --ink: #1d1d1d;
  --footer-bg: #1d1d1d;   /* same ground as the site's ink, as on wslh.sa */
  --hero-bg-1: #2a2a2a;   /* hero gradient — lit end */
  --hero-bg-2: #0d0d0d;   /* hero gradient — shadow end */
  --bg: #ffffff;
  --surface: #f5f6f8;
  --surface-2: #eff0f2;
  --border: rgba(29,29,29,.10);
  --border-strong: rgba(29,29,29,.20);
  --text: #3a3d43;
  --text-muted: #6c727f;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow: 0 1px 3px rgba(29,29,29,.04), 0 6px 18px rgba(29,29,29,.07);
  --container: 1200px;
  --header-h: 71px;
  --header-pad-top: 30px;
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-en: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Cairo', system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 17px;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' on, 'cv11' on;
}
html[lang="ar"] body { font-family: var(--font-ar); }
/* Arabic is a connected script — never letter-space it (it breaks letter joining).
   Covers Arabic pages, any element flagged lang="ar"/Arabic, and any RTL container —
   so Arabic text can never pick up letter-spacing in any context. */
html[lang="ar"], html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after,
:lang(ar), [lang="ar"], [lang="ar"] *,
[dir="rtl"], [dir="rtl"] *, [dir="rtl"] *::before, [dir="rtl"] *::after {
  letter-spacing: 0 !important;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 540px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1320px) { .container { max-width: 1320px; } }

/* Screen-reader-only text — visible to assistive tech and crawlers, hidden visually. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ===== Header / nav ===== */
/* Visually hidden until focused — clip technique (no off-screen offset, so it
   never causes horizontal overflow, incl. RTL). */
.skip-link {
  position: absolute; top: 0; inset-inline-start: 0; z-index: 2000;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem;
}
.skip-link:focus {
  width: auto; height: auto; padding: 10px 18px; margin: 0; overflow: visible;
  clip: auto; clip-path: none;
  border-radius: 0 0 10px 10px; outline: 2px solid var(--accent); outline-offset: 2px;
}

/* Floating frosted-glass "pill" nav. Deliberately a white glass rather than an
   ink one: the hero behind it is ink, so an ink pill would vanish into it.
   It sits inset from the top with a gap, then
   expands edge-to-edge once the page is scrolled. */
nav#nav {
  position: fixed; top: 14px; inset-inline: 0; margin-inline: auto; z-index: 1000;
  width: min(1200px, calc(100% - 28px)); box-sizing: border-box;
  height: 58px; padding: 0 12px 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  box-shadow: 0 8px 24px -12px rgba(16,18,21,.45);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: top .4s ease, width .4s ease, border-radius .4s ease, background .3s ease, box-shadow .3s ease;
}
nav#nav.sc {
  top: 0;
  width: 100%;
  border-radius: 0;
  border-inline-width: 0; border-top-width: 0;
  background: rgba(20,20,20,.90);
  box-shadow: 0 6px 24px -8px rgba(16,18,21,.5);
}
nav#nav img, nav#nav .logo {
  -webkit-transform: translateZ(0); transform: translateZ(0);
  isolation: isolate; position: relative; z-index: 1;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; isolation: isolate; transition: opacity .2s ease; }
.logo:hover { opacity: .85; }
.logo img { height: 30px; width: auto; display: block; }

.nav-links { display: flex; list-style: none; gap: 2px; margin: 0; padding: 0; }
.nav-links a {
  color: rgba(255,255,255,.82); text-decoration: none;
  font-size: .82rem; font-weight: 600; padding: 6px 12px;
  border-radius: 8px; transition: all .2s; white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.16); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-btn {
  padding: 7px 16px; background: #fff; color: var(--brand);
  font-size: .80rem; font-weight: 800; border-radius: 10px;
  text-decoration: none; transition: all .25s; white-space: nowrap;
}
.nav-btn:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(16,18,21,.30); }
.lang-link {
  width: 40px; height: 40px; border-radius: 50%; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9); background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12); transition: all .2s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lang-link:hover { color: #fff; background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.3); }

.hbg { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001; }
.hbg span { width: 22px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; transform-origin: center; }
/* hamburger -> X when the full-screen menu is open */
.hbg[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hbg[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hbg[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Full-screen mobile menu — ink panel matching the nav/footer */
.mob {
  display: none; position: fixed; top: 0; inset-inline: 0; bottom: 0; z-index: 999;
  width: 100%; box-sizing: border-box;
  height: 100dvh; overflow-y: auto;
  background: var(--footer-bg);
  padding: 92px 8% max(40px, env(safe-area-inset-bottom));
}
.mob.open { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.mob a { display: block; padding: 16px 0; color: rgba(255,255,255,.88); text-decoration: none; font-size: 1.15rem; font-weight: 600; text-align: center; border-bottom: 1px solid rgba(255,255,255,.10); transition: color .2s; }
.mob a:hover { color: #fff; }
.mob .m-cta { margin-top: 20px; padding: 15px; text-align: center; background: #fff; color: var(--brand); font-weight: 700; border-radius: 12px; text-decoration: none; border-bottom: none; font-size: 1rem; }

@media (max-width: 768px) {
  .nav-links, .nav-btn, nav#nav .nav-right { display: none; }
  .hbg { display: flex; }
}

/* ===== Light hero (PDF-aligned) ===== */
.hero-dark {
  background: #fff;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 130px 0 56px;
  border-bottom: 1px solid var(--border);
}
/* Home hero — brand gradient, no photography. WSLH has no hero imagery of its
   own, and a stock photo would say less about the product than the palette
   does; a soft white lift and the yellow spark carry the brand instead. */
.hero-home {
  padding: 0;
  margin-top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  background:
    linear-gradient(165deg, var(--hero-bg-1) 0%, var(--ink) 45%, var(--hero-bg-2) 100%);
  color: #fff;
  border-bottom: none;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-home .hero-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(58% 52% at 50% 24%, rgba(255,255,255,.07), transparent 72%),
    radial-gradient(38% 34% at 82% 82%, rgba(255,218,0,.13), transparent 70%),
    radial-gradient(34% 30% at 14% 74%, rgba(255,255,255,.04), transparent 70%);
}
.hero-home-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}
.hero-home .hero-logo {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: min(420px, 78%);
  height: auto;
  max-height: 200px;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.30));
}
.hero-home .hero-slogan {
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.4;
  margin: 24px auto 0;
  max-width: 760px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 18px rgba(0,0,0,.22);
}

/* Listing hero — same ink ground as the home hero, lit from the top-start
   corner so the breadcrumb and heading sit in the brighter half. */
.hero-csuite {
  position: relative;
  background:
    radial-gradient(70% 90% at 12% 0%, rgba(255,255,255,.07), transparent 68%),
    linear-gradient(180deg, var(--hero-bg-1) 0%, var(--ink) 100%);
  background-color: var(--ink);
  color: #fff;
  border-bottom: none;
  padding-top: 138px;
  overflow: hidden;
}
/* Individual person profile hero — a touch warmer, to separate it from the
   listing without introducing a second colour story. */
.hero-csuite.hero-person {
  background:
    radial-gradient(60% 85% at 14% 4%, rgba(255,255,255,.07), transparent 66%),
    radial-gradient(42% 60% at 92% 96%, rgba(255,218,0,.10), transparent 72%),
    linear-gradient(180deg, var(--hero-bg-1) 0%, var(--ink) 100%);
  padding-top: 128px;
}
.hero-csuite h1,
.hero-csuite .lede,
.hero-csuite .crumbs,
.hero-csuite .crumbs .here,
.hero-csuite .profile-hero h1,
.hero-csuite .profile-hero .title,
.hero-csuite .profile-hero .org { color: #fff !important; }
.hero-csuite h1,
.hero-csuite .profile-hero h1 {
  text-shadow: 0 2px 22px rgba(0,0,0,.7), 0 1px 4px rgba(0,0,0,.55);
  font-weight: 800;
}
.hero-csuite .lede,
.hero-csuite .profile-hero .title,
.hero-csuite .profile-hero .org {
  text-shadow: 0 1px 14px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.5);
  font-weight: 500;
}
.hero-csuite .profile-hero .title { font-weight: 700; }
.hero-csuite .crumbs {
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.hero-csuite .crumbs a {
  color: rgba(255,255,255,.95) !important;
  font-weight: 500;
}
.hero-csuite .crumbs a:hover { color: #fff !important; }
.hero-csuite .crumbs .sep { color: rgba(255,255,255,.75) !important; }
.hero-csuite .btn {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-csuite .btn:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.34);
}
.hero-csuite .btn.primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.hero-csuite .btn.primary:hover { background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.92); }
.hero-dark > .container { position: relative; z-index: 2; }
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 16px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.crumbs a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .25s;
}
.crumbs a:hover { color: #fff; }
.crumbs .sep {
  color: rgba(255,255,255,.6);
  font-size: 12px;
}
.crumbs .here {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.hero-dark h1 {
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -.5px;
  margin: 12px 0 14px;
  color: var(--ink);
  font-weight: 700;
}
html[lang="ar"] .hero-dark h1 { letter-spacing: 0; line-height: 1.25; }
.hero-dark .lede {
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0;
  font-weight: 400;
  line-height: 1.7;
}

/* ===== Cards section ===== */
.section { padding: 88px 0; }
.cards {
  display: grid;
  /* 340px basis lets a two-person department sit side by side inside the 920px
     column, while a lone card (the CEO) still spans the full width. */
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 20px;
  justify-content: center;
  max-width: 920px;
  margin-inline: auto;
}
.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
html[dir="rtl"] .card::before { transform-origin: right; }
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.card:hover::before { transform: scaleX(1); }
.card .eyebrow {
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.card h3 { font-size: 24px; margin: 0 0 8px; color: var(--ink); font-weight: 700; letter-spacing: -.3px; }
.card .role { font-size: 15px; color: var(--text-muted); margin: 0 0 20px; line-height: 1.6; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.card .tag {
  font-size: 12px; font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.card .cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--brand);
}
.card .cta::after { content: "→"; transition: transform .25s ease; }
html[dir="rtl"] .card .cta::after { content: "←"; }
.card:hover .cta::after { transform: translateX(4px); }
html[dir="rtl"] .card:hover .cta::after { transform: translateX(-4px); }

.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 22px;
  margin-bottom: 18px;
  font-family: var(--font-en);
}
html[lang="ar"] .avatar { font-family: var(--font-ar); }
img.avatar {
  object-fit: cover;
  background: none;
  display: block;
}

/* ===== Profile page (hero is dark, body is light) ===== */
.profile-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 16px 0 12px;
}
.profile-hero .avatar-lg {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-size: 42px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.profile-hero img.avatar-lg {
  object-fit: cover;
  background: none;
  display: block;
}
.profile-hero.no-avatar { grid-template-columns: 1fr; }
.profile-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -.5px;
  font-weight: 700;
}
.profile-hero .title { font-size: 17px; color: var(--brand); font-weight: 600; margin: 0 0 4px; }
.profile-hero .org { font-size: 14px; color: var(--text-muted); margin: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  transition: all .15s ease;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15,15,15,.04);
}
.btn:hover { border-color: var(--border-strong); background: var(--surface); box-shadow: 0 1px 3px rgba(15,15,15,.08); }
.btn.primary {
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: 0 1px 2px rgba(15,15,15,.1);
}
.btn.primary:hover { background: var(--brand-700); border-color: var(--brand-700); box-shadow: 0 2px 6px rgba(15,15,15,.15); }
.btn .icon { width: 16px; height: 16px; }

.profile-body { padding: 56px 0 64px; }
.profile-body h2 {
  font-size: 34px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -.3px;
  margin: 36px 0 16px;
}
.profile-body h2:first-child { margin-top: 0; }
.profile-body .bio {
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
  max-width: 720px;
  margin: 0;
  /* Justified text opened rivers in this measure — in Arabic especially. */
  text-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* Profile — areas of focus (tag pills) */
.focus-list { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: 720px; }
.focus-list li {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100);
  font-size: .92rem; font-weight: 600;
}

/* Profile — cross-links to the rest of the leadership */
.more-leaders { display: flex; flex-wrap: wrap; gap: 14px; margin: 2px 0 0; max-width: 720px; }
.more-leader {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: var(--radius-lg); background: var(--bg);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s;
  flex: 1 1 240px; min-width: 0;
}
.more-leader:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(30,32,36,.12); }
.more-leader .avatar-mini { width: 46px; height: 46px; margin: 0; font-size: 16px; flex: none; }
.ml-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ml-name { font-weight: 700; color: var(--ink); font-size: .98rem; }
.ml-role { color: var(--text-muted); font-size: .82rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 520px; }
.contact-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
}
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--brand); }
.contact-list .lbl {
  font-size: 11px; text-transform: uppercase;
  font-weight: 700; color: var(--text-muted);
  letter-spacing: 1px;
  margin-inline-end: auto;
}

.timeline { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.timeline li {
  position: relative;
  padding-inline-start: 26px;
  padding-block: 14px;
  border-inline-start: 2px solid var(--border-strong);
}
.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: -7px; top: 22px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
}
.timeline .role { font-weight: 700; color: var(--ink); margin: 0 0 2px; font-size: 15px; }
.timeline .org { color: var(--text); margin: 0 0 2px; font-size: 14px; }
.timeline .when { color: var(--text-muted); font-size: 12px; margin: 0; }

.qr-block {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 36px;
  padding: 24px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 420px;
  text-align: center;
}
.qr-block .qr {
  width: 220px; height: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  display: grid; place-items: center;
  color: var(--text-muted); font-size: 11px;
  overflow: hidden;
}
.qr-block .qr svg { width: 100%; height: 100%; display: block; }
.qr-block .qr-cap { font-size: 12px; color: var(--text-muted); }
.qr-block .qr[role="button"] { cursor: zoom-in; transition: transform .15s ease; }
.qr-block .qr[role="button"]:hover { transform: scale(1.02); }
.qr-block .qr[role="button"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* QR enlargement modal */
.qr-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  cursor: zoom-out;
  animation: qr-modal-in .15s ease;
}
@keyframes qr-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.qr-modal-inner {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: min(92vw, 560px);
}
.qr-modal-inner svg {
  width: 100%;
  height: auto;
  max-width: 480px;
  max-height: 70vh;
  display: block;
}
.qr-modal-url {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
  text-align: center;
}

/* ===== Privacy consent banner =====
   Opt-in gate for Cloudflare Zaraz (GA4) and Microsoft Clarity. Hidden via the
   `hidden` attribute until assets/common/js/cookie-consent.js decides to show
   it, so a returning visitor never sees it flash. */
.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 9999;
  padding: 16px;
  /* Only the card itself should take pointer events; the wrapper spans the
     full viewport width and would otherwise block anything beneath it. */
  pointer-events: none;
  animation: consent-in .32s cubic-bezier(.2,.8,.2,1) both;
}
.consent[hidden] { display: none; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
.consent-inner {
  pointer-events: auto;
  max-width: 900px; margin-inline: auto;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--footer-bg); color: #fff;
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.consent-title { margin: 0 0 6px; font-size: 1rem; font-weight: 700; color: #fff; }
.consent-text p { margin: 0; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.68); }
.consent-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.consent-text a:hover { opacity: .85; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-btn {
  flex: 1 1 auto; min-height: 44px; padding: 11px 26px;
  border-radius: 999px; font-family: inherit; font-size: .88rem; font-weight: 700;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
/* Neither button is the "safe" one, so they are equally prominent — a decline
   styled as an afterthought is a dark pattern. */
.consent-btn--decline { background: transparent; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.28); }
.consent-btn--decline:hover { border-color: #fff; color: #fff; }
.consent-btn--accept { background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
.consent-btn--accept:hover { opacity: .88; }
.consent-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.consent-btn--accept:focus-visible { outline-color: #fff; }
@media (min-width: 700px) {
  .consent-inner { flex-direction: row; align-items: center; gap: 32px; padding: 24px 28px; }
  .consent-text { flex: 1; }
  .consent-actions { flex: none; }
  .consent-btn { flex: none; }
}
/* Keep the banner clear of the mobile sticky action bar. */
@media (max-width: 768px) {
  .consent { bottom: 76px; }
  /* :has() is progressive enhancement — without it the button is merely
     covered by the dialog for as long as it is open, which is survivable. */
  body:has(#wslh-consent:not([hidden])) #stt { opacity: 0; pointer-events: none; }
}

/* ===== Scroll-to-top + mobile sticky action bar =====
   Both are driven by footer-ui.js, which toggles `.show` on #stt past 300px of
   scroll and `.gold` once the footer is in view. These rules previously lived
   interleaved with the footer block and were lost when it was rewritten —
   keep them in their own section so that can't happen again. */
#stt {
  position: fixed; inset-block-end: 24px; inset-inline-end: 24px; z-index: 900;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  border: 1px solid rgba(255,255,255,.16); cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,.30);
  transition: opacity .25s ease, transform .25s ease, background .25s ease, color .25s ease;
}
#stt.show { opacity: 1; pointer-events: auto; transform: none; }
#stt.show:hover { transform: translateY(-3px); }
/* Over the footer the ink button would vanish into it, so it flips to yellow. */
#stt.gold { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
#stt:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Mobile-only action bar: mail + language, pinned to the bottom edge. */
#sticky-bar { display: none; }
@media (max-width: 768px) {
  #sticky-bar {
    display: flex; align-items: center; gap: 8px;
    position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 950;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    background: rgba(29,29,29,.94);
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-top: 1px solid rgba(255,255,255,.10);
  }
  .sb-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 11px 14px; border-radius: 12px;
    font-size: .9rem; font-weight: 700; text-decoration: none;
    transition: opacity .2s ease;
  }
  .sb-mail { background: var(--accent); color: var(--on-accent); }
  .sb-mail:hover { opacity: .88; }
  .sb-btn:focus-visible, .sb-lang:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
  .sb-lang {
    flex: none; display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,.20);
  }
  /* Neutralise the nav's .lang-link circle inside the bar. */
  .sb-lang .lang-link {
    width: 100%; height: 100%; border: 0; border-radius: inherit;
    background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    color: #fff;
  }
  /* Clear the bar so the button is never trapped behind it. */
  #stt { inset-block-end: 84px; }
}

/* ===== Footer =====
   Mirrors the wslh.sa footer (FooterThree.astro): a 4/2/2/2/2 twelve-column
   grid, then a bottom bar carrying the registration marks, accepted cards and
   the build credit. Palette is this site's ink + yellow — wslh.sa still runs a
   teal wash there, but this site has no teal anywhere else and a teal footer
   under an ink page would read as a mistake. */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--footer-bg); color: #fff;
  padding: 64px 5% 32px;
  border-start-start-radius: 44px; border-start-end-radius: 44px;
}
.site-footer .container { position: relative; z-index: 1; }
/* Soft washes so the page closes on the note it opened with. */
/* The glow circles are deliberately larger than the footer and sit partly
   outside it; clip here as well as on .site-footer so removing overflow there
   can never introduce a horizontal scrollbar. */
.f-wash { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.f-wash::before, .f-wash::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(140px);
}
.f-wash::before { inset-block-start: -13rem; inset-inline-end: -6%; width: 32rem; height: 32rem; background: rgba(255,255,255,.06); }
.f-wash::after  { inset-block-end: -10rem; inset-inline-start: -8%; width: 26rem; height: 26rem; background: rgba(255,218,0,.09); }

.f-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 40px; }
.f-brand { grid-column: span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.f-logo { display: inline-block; }
.f-logo img { width: 100%; max-width: 14rem; height: auto; }
.f-copy { margin: 0; font-size: .75rem; color: rgba(255,255,255,.42); }
.f-blurb { margin: 10px 0 0; max-width: 24rem; font-size: .88rem; line-height: 1.75; color: rgba(255,255,255,.6); }

/* Icon row — social, a hairline, then the two direct-contact actions. */
.f-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.f-soc {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75);
  transition: color .25s, border-color .25s, background .25s;
}
.f-soc:hover { color: var(--accent); border-color: rgba(255,218,0,.6); background: rgba(255,255,255,.04); }
.f-soc:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.f-soc-sep { width: 1px; height: 20px; margin-inline: 4px; background: rgba(255,255,255,.15); }

.f-col { grid-column: span 2; }
.f-col h3 { margin: 0; font-size: .875rem; font-weight: 700; color: #fff; }
.f-col-rule { display: block; width: 28px; height: 2px; margin-top: 8px; border-radius: 2px; background: var(--accent); }
.f-col ul { list-style: none; margin: 16px 0 0; padding: 0; }
.f-col a { display: inline-block; padding: 4px 0; font-size: .9rem; color: rgba(255,255,255,.7); transition: color .25s; }
.f-col a:hover { color: var(--accent); }
.f-col a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.f-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px 40px; margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.f-bottom-start { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.f-creds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
/* Icon-only credential badges, linking to the certificates. */
.f-cred {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px; border-radius: 8px; opacity: .85;
  transition: opacity .25s, background .25s;
}
a.f-cred:hover { opacity: 1; background: rgba(255,255,255,.06); }
a.f-cred:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.f-cred img { width: 32px; height: 32px; display: block; }
.f-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.f-pay img { height: 30px; width: auto; display: block; }
.f-powered { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; color: rgba(255,255,255,.42); transition: color .25s; }
.f-powered:hover { color: rgba(255,255,255,.72); }
.f-powered img { height: 28px; width: auto; display: block; }

@media (max-width: 1023px) {
  .f-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .f-brand { grid-column: 1 / -1; align-items: center; text-align: center; }
  .f-blurb { margin-inline: auto; }
  .f-socials { justify-content: center; }
  .f-col { grid-column: span 1; text-align: center; }
  .f-col-rule { margin-inline: auto; }
  .f-bottom { justify-content: center; text-align: center; }
  .f-bottom-start { justify-content: center; }
  .f-creds, .f-pay { justify-content: center; }
}
@media (max-width: 560px) {
  .site-footer { padding: 48px 5% 28px; border-start-start-radius: 32px; border-start-end-radius: 32px; }
  .f-grid { grid-template-columns: 1fr; }
  .f-col { grid-column: 1; }
}

/* ===== vCard download CTA card ===== */
.vcf-cta {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  margin: 24px 0 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  max-width: 760px;
  box-shadow: 0 10px 30px rgba(30,32,36,.22);
  flex-wrap: wrap;
}
.vcf-cta .vcf-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
}
.vcf-cta .vcf-icon svg { width: 26px; height: 26px; color: #fff; }
.vcf-cta .vcf-text { flex: 1; min-width: 200px; }
.vcf-cta .vcf-text h3 {
  margin: 0 0 4px; font-size: 17px; font-weight: 700;
  color: #fff;
}
.vcf-cta .vcf-text p {
  margin: 0; font-size: 13px; color: rgba(255,255,255,.85); font-weight: 400;
}
.vcf-cta .vcf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 14px; font-weight: 700;
  transition: all .2s ease;
}
.vcf-cta .vcf-btn:hover { background: rgba(255,255,255,.92); transform: translateY(-1px); }
.vcf-cta .vcf-btn svg { width: 16px; height: 16px; }

/* ===== Sitemap ===== */
.sitemap-list { padding: 24px 0 64px; }
.sitemap-list h2 {
  font-size: 14px; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--brand);
  font-weight: 700; margin: 28px 0 12px;
}
.sitemap-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sitemap-list a { color: var(--ink); font-weight: 500; }
.sitemap-list a:hover { color: var(--brand); text-decoration: underline; }

/* ===== Bilingual section heading (PDF-style "English | عربي") ===== */
.section-head {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 980px;
  padding: 0 16px;
}
.section-head h2 {
  display: inline-block;
  position: relative;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  padding-bottom: 14px;
  letter-spacing: -.8px;
  line-height: 1.15;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-head h2 .alt {
  color: var(--text-muted);
  font-weight: 400;
}
.section-head .divider { display: none; }
.section-intro {
  max-width: 760px; margin: -6px auto 34px; text-align: center;
  color: var(--text-muted); font-size: 1.02rem; line-height: 1.75;
}
/* Team listing grouped by department */
.team-dept + .team-dept { margin-top: 48px; }
.team-dept .section-head { margin-bottom: 22px; }

/* ===== About brand lockup (logo + slogan, moved from the hero) ===== */
.about-brand {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 36px;
}
.about-brand .about-logo {
  display: block;
  margin: 0 auto 22px;
  width: auto;
  max-width: min(420px, 86%);
  height: auto;
  max-height: 140px;
}
.about-brand .about-slogan {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--ink);
  line-height: 1.25;
}
html[lang="ar"] .about-brand .about-slogan { letter-spacing: 0; }

/* Section heading sitting inside the About card */
.about-block .section-head { margin: 0 0 20px; padding: 0; text-align: center; }
.about-block .section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }

/* ===== About block ===== */
.about-block {
  max-width: 920px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.about-block p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
}
.about-block p + p {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
}

/* ===== Section icons (removed) ===== */
.section-head > .icon { display: none; }

/* ===== Glass card variant (c-suite directory) ===== */
.section-glass { background: #fff; padding-top: 64px; padding-bottom: 64px; }
.cards-glass .card {
  background: linear-gradient(135deg, rgba(245,245,245,.85) 0%, rgba(255,255,255,.65) 100%);
  border: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.7);
}
.cards-glass .card::before {
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 50%, var(--brand) 100%);
  height: 3px;
}
.cards-glass .card:hover {
  background: linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(250,250,250,.85) 100%);
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.cards-glass .card .eyebrow {
  color: var(--ink);
  letter-spacing: 1.6px;
}
.cards-glass .card .cta { color: var(--ink); }

/* ===== About highlights ===== */
.about-highlights {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2 columns → two rows of two */
  gap: 12px;
}
@media (max-width: 767px) {
  .about-highlights { gap: 10px; }
}
.about-highlights li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(15,15,15,.03);
}
.about-highlights .hl-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.about-highlights .hl-icon svg { width: 18px; height: 18px; stroke-width: 1.8; }
.about-highlights li:nth-child(3n+1) .hl-icon { background: var(--brand); }
.about-highlights li:nth-child(3n+2) .hl-icon { background: var(--accent); color: var(--on-accent); }
.about-highlights li:nth-child(3n+3) .hl-icon { background: var(--gold-deep); }

/* ===== Profile download CTA ===== */
.profile-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 920px;
  margin: 28px auto 0;
  padding: 28px 32px;
  background:
    radial-gradient(70% 140% at 4% 0%, rgba(255,255,255,.10), transparent 66%),
    radial-gradient(46% 100% at 98% 100%, rgba(255,218,0,.12), transparent 70%),
    linear-gradient(135deg, var(--hero-bg-1) 0%, var(--ink) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.profile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.profile-cta .cta-icon { display: none; }
.profile-cta .cta-text { width: 100%; }
.profile-cta .cta-text h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #fff; }
.profile-cta .cta-text p { margin: 0; font-size: 15px; color: rgba(255,255,255,.78); line-height: 1.55; }
.profile-cta .cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px; font-weight: 700;
  transition: background .2s ease;
}
.profile-cta:hover .cta-btn { background: rgba(255,255,255,.92); }
.profile-cta .cta-btn svg { width: 16px; height: 16px; }

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 700px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; } }
/* Service card photo banner (top of each card; cover-cropped). */
.service-media { display: block; width: 100%; height: 172px; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.service:hover .service-media img { transform: scale(1.045); }

/* Full-width feature service (e.g. Fintech): photo leading, content trailing. */
.service--full { grid-column: 1 / -1; }
@media (min-width: 700px) {
  /* No service photography exists for WSLH, so the wide card runs heading and
     body as two columns rather than reserving a dead slot for an image. */
  .services-grid .service--full { display: grid; grid-template-columns: 38% 1fr; grid-template-rows: 1fr; }
  .services-grid .service--full .service-head { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 28px; }
  .services-grid .service--full .service-body { grid-column: 2; grid-row: 1; border-top: 0; border-inline-start: 1px solid rgba(0,0,0,.05); display: flex; align-items: center; }
}
.service {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  overflow: hidden;
}
.service-head {
  position: relative;
  padding: 28px 26px 18px;
  background: var(--bg);
  transition: background .25s ease;
}
.service-body {
  padding: 18px 26px 22px;
  background: linear-gradient(135deg, rgba(245, 246, 248, 0.82), rgba(239, 240, 242, 0.60));
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  flex: 1;
  transition: background .25s ease;
}
.service:hover .service-head { background: var(--surface); }
.service:hover .service-body {
  background: linear-gradient(135deg, rgba(239, 240, 242, 0.88), rgba(229, 231, 235, 0.70));
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
html[dir="rtl"] .service::before { transform-origin: right; }
.service:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.service:hover::before { transform: scaleX(1); }
.service .num {
  position: absolute;
  top: 16px;
  inset-inline-end: 18px;
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  font-family: var(--font-en);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.04);
  transition: all .25s ease;
}
.service:hover .num {
  background: var(--ink);
  color: #fff;
}
.service .icon {
  display: block;
  width: 40px; height: 40px;
  margin: 0 0 18px;
  padding: 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  stroke-width: 1.8;
}
/* Repeating ink -> yellow -> gold triad. White glyphs on ink and gold-deep,
   ink glyphs on the yellow (white on yellow is 1.32:1 and unreadable). */
.services-grid .service:nth-child(3n+1) .icon { background: var(--brand); }
.services-grid .service:nth-child(3n+2) .icon { background: var(--accent); color: var(--on-accent); }
.services-grid .service:nth-child(3n+3) .icon { background: var(--gold-deep); }
.service h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
  min-height: 2.8em;
  padding-inline-end: 40px;
  letter-spacing: -.2px;
}
.service-body p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}
.service p + p { margin-top: 6px; }

/* ===== FAQ (accordion + FAQPage schema) ===== */
.faq-list { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--radius-lg); }
.faq-q { flex: 1; }
.faq-ico {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-100); color: var(--brand);
  transition: transform .25s ease, background .2s;
}
.faq-chevron { width: 18px; height: 18px; }
.faq-item[open] .faq-ico { transform: rotate(180deg); background: var(--accent); color: var(--on-accent); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text); }

/* Inline links in FAQ answers (the mailbox and the main-site mention).
   Yellow is used as a highlighter fill that grows on hover — never as the text
   colour, which stays ink at 16.9:1. `unicode-bidi: isolate` keeps a Latin
   address from dragging surrounding Arabic punctuation out of place. */
.lnk {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  unicode-bidi: isolate;
  padding: 0 .14em;
  border-radius: 3px;
  background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% .34em no-repeat;
  transition: background-size .22s ease;
}
.lnk:hover { background-size: 100% 100%; }
.lnk:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; background-size: 100% 100%; }

/* ===== Profile preview (Company Profile) ===== */
.profile-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 12px 0 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 420px;
  text-align: center;
}
.profile-preview > a:first-child { width: 100%; max-width: 220px; }
.profile-preview .preview-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  margin-inline: auto;
}
.profile-preview .preview-meta { width: 100%; }
.profile-preview .preview-meta h3 {
  margin: 0 0 6px;
  font-size: 18px; font-weight: 700;
  color: var(--ink);
}
.profile-preview .preview-meta p {
  margin: 0 0 14px;
  font-size: 14px; color: var(--text-muted);
  line-height: 1.6;
}


/* ===== Back to top button ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 18px rgba(15,15,15,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease, visibility .2s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top.over-footer {
  background: #fff;
  color: var(--ink);
  border-color: rgba(15,15,15,.10);
}
.back-to-top:hover { background: var(--brand-700); }
.back-to-top.over-footer:hover { background: var(--surface); color: var(--ink); }
.back-to-top svg { display: block; }
@media (max-width: 640px) {
  .back-to-top { bottom: 18px; inset-inline-end: 18px; width: 40px; height: 40px; }
  .back-to-top svg { width: 20px; height: 20px; }
}
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .profile-hero { grid-template-columns: 1fr; gap: 18px; padding: 8px 0 4px; }
  .profile-hero .avatar-lg { width: 88px; height: 88px; font-size: 32px; }
  .profile-body { padding: 40px 0 56px; }
  .section { padding: 40px 0; }
  .hero-dark { padding: 110px 0 40px; }
}

/* ===== Mobile: center all body content (header excluded) ===== */
@media (max-width: 767px) {
  main { text-align: center; }
  main .hero-dark,
  main .section,
  main .profile-body,
  main .container { text-align: center; }
  main .card,
  main .service,
  main .about-block,
  main .about-block p,
  main .profile-cta { text-align: center; }
  main .about-highlights li {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
    padding: 12px 10px;
    font-size: 13px;
  }
  main .about-block { padding: 22px 16px; }
  main .service h3 { padding-inline-end: 0; }
  main .service .icon,
  main .card .avatar,
  main img.avatar,
  main .section-head .icon { margin-inline: auto; }
  main .actions { justify-content: center; }
  main .crumbs { justify-content: center; }
  main .profile-hero,
  main .profile-hero > div { text-align: center; }
  main .profile-hero img.avatar-lg,
  main .profile-hero .avatar-lg { margin-inline: auto; }
  main .tags { justify-content: center; }
  main .card .cta { display: inline-flex; }
  main .cta-text { text-align: center; }
  main .profile-cta { flex-direction: column; }
  main .qr-block {
    margin-inline: auto;
    align-items: center;
  }
  main .profile-body { text-align: center; }
  main .profile-body .bio,
  main .timeline,
  main .timeline li { text-align: center; }
  /* Center the profile content blocks/lists on mobile */
  main .profile-body .bio { margin-inline: auto; }
  main .focus-list,
  main .more-leaders,
  main .contact-list { justify-content: center; margin-inline: auto; }
  main .more-leader { flex-basis: 100%; }
  main .service--full .service-head,
  main .service--full .service-body { align-items: center; }
  .hero-home .hero-logo { max-height: 177px; }
  .footer-brand .footer-company-name { display: none; }
}
