/* Pinnacle EDS — "visible infrastructure"
   Blue and white. Layered sheets, glass, one living network in the hero.
   Logical properties throughout, so Arabic (RTL) needs very little extra. */

:root {
  --ink: #08153a;
  --ink-2: #0b2257;
  --blue: #1b4fd8;        /* 6.7:1 on white */
  --blue-dark: #153fb0;
  --sky: #8cc8ff;         /* accent on dark, 10:1 on ink */
  --mist: #f3f7ff;
  --cloud: #e4edff;
  --white: #ffffff;
  --text: #0b1a3a;
  --text-soft: #43536f;   /* 7.6:1 on white */
  --line: #d8e2f3;
  --line-dark: rgba(255, 255, 255, 0.16);
  --on-dark: #d3def5;     /* 11:1 on ink */

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --max: 1120px;
  --read: 38rem;
  --r-btn: 0.55rem;
  --lap: clamp(1.5rem, 3.5vw, 2.5rem);   /* how far each sheet overlaps the one below */
  --shadow-card: 0 1px 2px rgba(16, 40, 100, 0.06), 0 14px 34px -10px rgba(16, 40, 100, 0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: var(--sans); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.skip {
  position: absolute; left: 0.5rem; top: 0.5rem; transform: translateY(-300%);
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem; z-index: 100; border-radius: 0.5rem;
}
.skip:focus { transform: none; color: var(--white); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); letter-spacing: -0.04em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.eyebrow { font-size: 0.95rem; font-weight: 600; color: var(--blue); margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--text-soft); max-width: var(--read); }

/* ---------- Header: frosted glass ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
  border-bottom: 1px solid rgba(8, 21, 58, 0.08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  min-height: 4.25rem; gap: 1.5rem; padding-top: 0.4rem; padding-bottom: 0.4rem;
}
.brand { display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand-name { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.brand-name span { color: var(--blue); }
.brand-sub { display: none; }
.head-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap;
  color: var(--text); text-decoration: none; font-size: 0.92rem; font-weight: 500;
}
.nav a:not(.btn):hover { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: 600 0.95rem/1 var(--sans); white-space: nowrap;
  padding: 1rem 1.6rem; border-radius: var(--r-btn); text-decoration: none;
  border: 1px solid var(--blue); background: var(--blue); color: var(--white);
  cursor: pointer; transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(8, 21, 58, 0.35); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: none; }
.btn-sm { padding: 0.95rem 1.2rem; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.65; cursor: not-allowed; }
.menu-btn { display: none; }
.menu-btn, .lang-menu summary {
  font: 600 0.88rem/1 var(--sans); color: var(--ink); background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(8, 21, 58, 0.25); border-radius: var(--r-btn); min-height: 44px; padding: 0 1rem; cursor: pointer;
}
.menu-btn:hover, .lang-menu summary:hover { background: var(--ink); color: var(--white); }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after {
  content: ""; width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.lang-menu[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.lang-list {
  position: absolute; inset-inline-end: 0; top: calc(100% + 0.5rem); z-index: 60; min-width: 12rem;
  list-style: none; padding: 0.4rem; background: var(--white); border: 1px solid var(--line);
  border-radius: 1rem; box-shadow: 0 18px 40px -10px rgba(8, 21, 58, 0.28);
}
.lang-list a { display: flex; align-items: center; min-height: 44px; padding: 0 0.9rem; color: var(--text); text-decoration: none; font-size: 0.95rem; border-radius: 0.6rem; }
.lang-list a:hover { background: var(--mist); }
.lang-list a[aria-current="true"] { font-weight: 700; background: var(--cloud); }

/* ---------- Sheets: every section lies over the one before it ---------- */
.sheet {
  position: relative; overflow: hidden; margin-top: calc(var(--lap) * -1);
  border-radius: var(--lap) var(--lap) 0 0;
  padding-top: clamp(4.5rem, 9vw, 7rem); padding-bottom: calc(clamp(4rem, 9vw, 7rem) + var(--lap));
  box-shadow: 0 -18px 40px -14px rgba(8, 21, 58, 0.22);
}
#contact.sheet { padding-bottom: clamp(4rem, 9vw, 7rem); }
.sheet-white { background: var(--white); }
.sheet-mist { background: var(--mist); }
.sheet-dark {
  color: var(--white);
  background:
    radial-gradient(55% 70% at 88% 0%, rgba(43, 104, 255, 0.34), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(56, 189, 248, 0.16), transparent 70%),
    linear-gradient(170deg, var(--ink), var(--ink-2));
}
.sheet-dark .eyebrow { color: var(--sky); }
.sheet-dark .lede, .sheet-dark .note { color: var(--on-dark); }
.sheet-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--sky); }
.dots::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(140, 200, 255, 0.22) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent);
}
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: 1.1rem; }

/* Soft light that drifts at its own speed behind content */
.orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; will-change: transform; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: clamp(4.5rem, 10vw, 8rem) 0 calc(clamp(4.5rem, 9vw, 7rem) + var(--lap));
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(43, 104, 255, 0.55), transparent 65%),
    radial-gradient(50% 70% at 0% 100%, rgba(56, 189, 248, 0.22), transparent 70%),
    linear-gradient(160deg, #060f2c 0%, var(--ink-2) 55%, #0a2f78 100%);
}
.hero-bg { position: absolute; inset-inline: 0; inset-block: -6rem; z-index: 0; }
.hero-bg::after { /* dot grid: the no-script fallback for the network */
  content: ""; position: absolute; inset: 0; opacity: 0.7;
  background-image: radial-gradient(rgba(140, 200, 255, 0.2) 1px, transparent 1.4px); background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.js .hero-bg::after { display: none; }
.orb-a { width: 38rem; height: 38rem; inset-inline-end: -10rem; top: 0; background: radial-gradient(circle, rgba(56, 130, 255, 0.45), transparent 65%); }
.orb-b { width: 28rem; height: 28rem; inset-inline-start: -8rem; bottom: 2rem; background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 65%); }
.net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: transform; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: end; }
.hero .eyebrow { color: var(--sky); }
.hero h1 { margin-bottom: 1.6rem; }
.hero .lede { color: var(--on-dark); margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero .btn, .sheet-dark .btn { background: var(--white); border-color: var(--white); color: var(--ink); }
.hero .btn:hover, .sheet-dark .btn:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.hero .btn-ghost { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); color: var(--white); box-shadow: none; }


.motion-btn {
  position: absolute; z-index: 2; inset-inline-end: var(--gutter); bottom: calc(var(--lap) + 1rem);
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0 1.1rem;
  font: 500 0.85rem/1 var(--sans); color: var(--white); cursor: pointer;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--r-btn);
}
.motion-btn[hidden] { display: none; }
.motion-btn:hover { background: rgba(255, 255, 255, 0.22); }
.motion-btn .ico { width: 0.7rem; height: 0.8rem; border-inline: 3px solid currentColor; }
.motion-btn.paused .ico { width: 0; height: 0; border-inline: 0; border-block: 0.4rem solid transparent; border-inline-start: 0.7rem solid currentColor; }

/* ---------- Who we serve ---------- */

/* ---------- Icons ---------- */
.icon {
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; flex: none;
  border-radius: 0.8rem; color: var(--blue); background: linear-gradient(145deg, var(--cloud), #f8fbff);
  border: 1px solid #cddcf7;
}
.icon svg { width: 1.8rem; height: 1.8rem; }

/* ---------- How we work: a line that fills as you scroll ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; --p: 1; }
.steps::before, .steps::after { content: ""; position: absolute; inset-inline: 0.6rem; top: 0.6rem; height: 2px; border-radius: 2px; }
.steps::before { background: var(--line-dark); }
.steps::after {
  background: linear-gradient(90deg, #4f8bff, var(--sky)); box-shadow: 0 0 14px rgba(140, 200, 255, 0.7);
  transform: scaleX(var(--p)); transform-origin: left center;
}
.step { position: relative; padding: 2.4rem 1.5rem 0 0; }
.step::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--sky); border: 2px solid var(--sky); box-shadow: 0 0 0 6px rgba(140, 200, 255, 0.18), 0 0 18px rgba(140, 200, 255, 0.8);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.js .step:not(.on)::before { background: var(--ink); border-color: rgba(255, 255, 255, 0.4); box-shadow: none; }
.step h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.step p { font-size: 0.93rem; color: var(--on-dark); }
.note {
  margin-top: 3.25rem; max-width: var(--read); font-size: 0.95rem; padding: 1.1rem 1.3rem;
  border-radius: 1rem; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
}
.orb-c { width: 30rem; height: 30rem; inset-inline-start: -9rem; top: 4rem; background: radial-gradient(circle, rgba(56, 130, 255, 0.28), transparent 65%); }
.orb-d { width: 28rem; height: 28rem; inset-inline-end: -8rem; bottom: -4rem; background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 65%); }

/* ---------- Frameworks ---------- */
.fw-group {
  display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; padding: 2.25rem 0; border-top: 1px solid var(--line);
}
.fw-group:first-of-type { border-top: 2px solid var(--ink); }
.fw-group > h2, .fw-group > h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.fw-group > h2 small, .fw-group > h3 small { display: block; font: 400 0.9rem/1.5 var(--sans); letter-spacing: 0; color: var(--text-soft); margin-top: 0.5rem; }
.fw-list { list-style: none; }
.fw-list li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.fw-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.fw-list li:first-child { padding-top: 0; }
.abbr {
  align-self: start; justify-self: start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--blue); background: var(--cloud); padding: 0.3rem 0.7rem; border-radius: 999px; margin-top: 0.1rem;
}
.fw-list strong { display: block; font-weight: 600; margin-bottom: 0.2rem; overflow-wrap: anywhere; }
.fw-list span:not(.abbr) { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Leadership ---------- */
.lead-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.lead-copy h2 { margin-bottom: 1.25rem; }
.lead-copy p { color: var(--text-soft); margin-bottom: 1.1rem; max-width: 30rem; }
.lead-copy .eyebrow { color: var(--blue); }
.team { position: relative; isolation: isolate; }
.photo-back {
  position: absolute; z-index: -1; inset-block: 2.5rem -1.5rem; inset-inline: 1.5rem -1.5rem; border-radius: 1.75rem;
  background: linear-gradient(145deg, #2b68ff, #8cc8ff); opacity: 0.9;
}
.people { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.person {
  overflow: hidden; border-radius: 1.5rem; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16, 40, 100, 0.06), 0 30px 60px -22px rgba(8, 21, 58, 0.5);
}
.person:nth-child(2) { margin-top: 2rem; }
.person img { width: 100%; height: auto; aspect-ratio: 400 / 490; object-fit: cover; background: var(--cloud); }
.person-info { padding: 1.25rem 1.4rem 1.5rem; border-top: 3px solid var(--blue); }
.person-info strong { display: block; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.person-info span { display: block; margin-top: 0.3rem; font-size: 0.9rem; color: var(--text-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-grid h2 { margin-bottom: 1.1rem; }
.contact-meta { margin-top: 2.25rem; border-top: 1px solid var(--line-dark); }
.contact-meta div { display: flex; gap: 1.25rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line-dark); font-size: 0.95rem; }
.contact-meta dt { width: 7rem; flex: none; color: #a9bbd8; }
.contact-meta a { color: var(--white); }
.contact-meta a, .prose a { display: inline-block; padding: 0.35rem 0; }
form {
  display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.1rem); border-radius: 1.5rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 30px 60px -24px rgba(2, 8, 30, 0.7);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
label { display: grid; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: #e4ecfa; }
input, textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--text); background: var(--white);
  border: 1px solid transparent; border-radius: 0.8rem; padding: 0.85rem 1rem; width: 100%;
}
textarea { min-height: 8.5rem; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-foot small { color: #a9bbd8; font-size: 0.82rem; max-width: 22rem; }
.req { color: #a9bbd8; font-weight: 400; }
.status { display: none; padding: 1rem 1.1rem; border-radius: 0.8rem; border-inline-start: 3px solid var(--sky); background: rgba(255, 255, 255, 0.08); font-size: 0.95rem; }
.status.show { display: block; }
.status.err { border-color: #f0a29a; }

/* ---------- Footer ---------- */
.site-footer { background: #050f2a; color: #a9bbd8; padding: 3rem 0 2.5rem; font-size: 0.85rem; position: relative; }
.foot-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line-dark); margin-bottom: 1.5rem; }
.foot-top .brand-name { color: var(--white); }
.foot-top p { max-width: 26rem; margin-top: 0.5rem; }
.foot-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-self: flex-end; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: #dbe5f7; text-decoration: none; }
.foot-links a:hover { color: var(--white); text-decoration: underline; }
.disclaimer { max-width: 62rem; line-height: 1.6; }

/* ---------- Accessibility statement page ---------- */
.prose-page { padding: clamp(3.5rem, 8vw, 6rem) 0; background: linear-gradient(180deg, var(--mist), var(--white) 18rem); }
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: 1.25rem; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 0.9rem; }
.prose p, .prose li { color: var(--text-soft); margin-bottom: 0.9rem; }
.prose ul { padding-inline-start: 1.25rem; }
.prose .updated { font-size: 0.9rem; margin-top: 2.5rem; }

/* ---------- Hero kicker ---------- */
.hero h1 .kicker {
  display: block; margin-top: 0.35em; font-size: 0.62em; letter-spacing: -0.025em; line-height: 1.15;
  background: linear-gradient(90deg, #ffffff, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (forced-colors: active) { .hero h1 .kicker { color: CanvasText; background: none; } }

/* ---------- What to expect ---------- */
.promise-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.promise-head { position: sticky; top: 6.5rem; margin-bottom: 0; }
.promises { list-style: none; }
.promise {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem; padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.promise:first-child { padding-top: 0.25rem; }
.promise:last-child { border-bottom: 0; }
.promise .num {
  font-size: 1.05rem; font-weight: 700; color: var(--blue); letter-spacing: 0.02em;
  display: block; padding-top: 0.55rem; border-top: 2px solid var(--blue); height: auto; width: auto; align-self: start;
}
.promise h3 { margin: 0.6rem 0 0.45rem; }
.promise p { color: var(--text-soft); }

/* ---------- Accountability tiles ---------- */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tile {
  padding: 1.5rem 0 0; border-top: 2px solid var(--ink);
}
.tile .icon { width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; border-radius: 0.6rem; }
.tile .icon svg { width: 1.6rem; height: 1.6rem; }
.tile h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.tile p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Leadership teaser links ---------- */
.lead-copy .btn { margin-top: 0.75rem; }
.person-link { color: inherit; text-decoration: none; display: inline-block; padding-block: 0.1rem; }
.person-link:hover strong { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  min-height: 44px; padding: 1.3rem 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.12rem; }
.faq-item summary::after {
  content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 0.8rem 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 0.8rem no-repeat,
    var(--cloud);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover h3 { color: var(--blue); }
.faq-item p { color: var(--text-soft); padding: 0 3rem 1.5rem 0; padding-inline: 0 3rem; max-width: 40rem; }

/* ---------- About: page hero ---------- */
.hero-page { padding-top: clamp(4rem, 9vw, 7rem); }
.hero-page h1 { max-width: 20ch; margin-bottom: 1.4rem; }
.hero-page .lede { max-width: 40rem; margin-bottom: 2rem; }
.jump { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px;
  color: var(--white); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.jump a:hover { background: rgba(255, 255, 255, 0.2); color: var(--white); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }

/* ---------- About: story ---------- */
.story-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.story-copy p { color: var(--text-soft); font-size: 1.08rem; margin-bottom: 1.2rem; }
.pull {
  margin-top: 2rem; padding: 1.6rem 1.75rem; border-radius: 1.25rem; border-inline-start: 4px solid var(--blue);
  background: linear-gradient(120deg, var(--cloud), var(--mist));
}
.story-copy .pull p { color: var(--ink); font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; margin: 0; }

/* ---------- About: bios ---------- */
.bio {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem); scroll-margin-top: 5.5rem;
}
.bio + .bio { border-top: 1px solid var(--line); }
.bio-alt .bio-photo { order: 2; }
.bio-photo { position: relative; isolation: isolate; max-width: 24rem; width: 100%; justify-self: center; }
.bio-photo .photo-back { inset-block: 2rem -1.25rem; inset-inline: 1.25rem -1.25rem; }
.bio-alt .bio-photo .photo-back { inset-inline: -1.25rem 1.25rem; }
.bio-photo img {
  width: 100%; height: auto; aspect-ratio: 400 / 490; object-fit: cover; border-radius: 1.5rem; background: var(--cloud);
  box-shadow: 0 1px 2px rgba(16, 40, 100, 0.06), 0 30px 60px -22px rgba(8, 21, 58, 0.5);
}
.bio-body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.bio-role { color: var(--blue); font-weight: 600; margin: 0.5rem 0 1.4rem; }
.bio-body > p:not(.bio-role) { color: var(--text-soft); margin-bottom: 1rem; max-width: 36rem; }
.bio-body h4 { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin: 1.75rem 0 0.8rem; }
.chips { list-style: none; display: grid; gap: 0.55rem; }
.chips li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--text); }
.chips .abbr { margin-top: 0; min-width: 4.4rem; text-align: center; }

/* ---------- About: experience ---------- */
.exp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
.exp-card {
  padding: 1.9rem; border-radius: 1.5rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 30px 60px -24px rgba(2, 8, 30, 0.7);
}
.exp-card:nth-child(2) { margin-top: 1.75rem; }
.exp-tag { font-size: 0.8rem; font-weight: 600; color: var(--sky); margin-bottom: 0.75rem; }
.exp-card h3 { margin-bottom: 0.35rem; }
.exp-meta { font-size: 0.88rem; color: #a9bbd8; margin-bottom: 1.25rem; }
.exp-card ul { list-style: none; display: grid; gap: 0.75rem; }
.exp-card li { position: relative; padding-inline-start: 1.25rem; font-size: 0.93rem; color: var(--on-dark); }
.exp-card li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.6em; width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--sky); box-shadow: 0 0 8px rgba(140, 200, 255, 0.8);
}

/* ---------- About: credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }
.cred { padding: 1.6rem; border-radius: 1.25rem; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.cred h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }
.cred p { color: var(--text-soft); font-size: 0.95rem; }
.states { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.states li { font-size: 0.85rem; font-weight: 600; color: var(--blue); background: var(--cloud); padding: 0.35rem 0.75rem; border-radius: 999px; }
.ticks { list-style: none; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-inline-start: 1.5rem; font-size: 0.93rem; color: var(--text-soft); }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0.15rem; top: 0.35em; width: 0.4rem; height: 0.75rem;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg);
}
.cred-note { margin-top: 2rem; max-width: 46rem; color: var(--text-soft); font-size: 0.95rem; }

/* ---------- About: CTA band ---------- */
.cta-band.sheet { padding-top: clamp(3.5rem, 7vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 72em) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.75rem var(--gutter) 1.5rem; background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 0 0.25rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 1rem; text-align: center; }
  .head-tools { gap: 0.6rem; }
}
@media (max-width: 60em) {
  .hero-grid, .lead-grid, .contact-grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .steps::before, .steps::after { inset-inline: auto; inset-inline-start: 0.6rem; top: 0.6rem; bottom: 1.5rem; width: 2px; height: auto; }
  .steps::after { transform: scaleY(var(--p)); transform-origin: top center; }
  .step { padding: 0 0 1.9rem; padding-inline: 2.5rem 0; }
  .step::before { top: 0.15rem; }
  .fw-group { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.6rem; }
  .photo-back { inset-inline: 1rem -0.75rem; }
  .person:nth-child(2) { margin-top: 1.25rem; }
  .motion-btn { position: static; margin: 2rem var(--gutter) 0; width: max-content; }
  .promise-grid, .faq-grid, .story-grid { grid-template-columns: 1fr; }
  .promise-head { position: static; margin-bottom: 2rem; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio-alt .bio-photo { order: 0; }
  .bio-photo { max-width: 20rem; justify-self: start; }
  .exp { grid-template-columns: 1fr; }
  .exp-card:nth-child(2) { margin-top: 0; }
  .creds { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: calc(clamp(3rem, 8vw, 5rem) + var(--lap)); }
}
@media (max-width: 35em) {
  .row { grid-template-columns: 1fr; }
  .people { gap: 0.9rem; }
  .person-info { padding: 1rem 1rem 1.2rem; }
  .fw-list li { grid-template-columns: 1fr; gap: 0.35rem; }
  .tiles, .creds { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 2.75rem 1fr; gap: 0.9rem; }
  .faq-item p { padding-inline-end: 0; }
  .bio-photo { max-width: 16rem; }
}
@media (max-width: 25em) {
  .brand-name { font-size: 1.15rem; }
  .menu-btn, .lang-menu summary { padding: 0 0.7rem; }
}
@media (max-width: 23.75em) {
  .site-header .wrap { gap: 0.5rem; }
  .brand-name { font-size: 1.02rem; }
  .head-tools { gap: 0.4rem; }
  .menu-btn, .lang-menu summary { padding: 0 0.5rem; font-size: 0.8rem; gap: 0.35rem; }
}

/* ---------- Right-to-left (Arabic) ---------- */
[dir="rtl"] {
  --sans: "Inter", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
[dir="rtl"] body { line-height: 1.85; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .steps::after { transform-origin: right center; }
[dir="rtl"] .steps::before, [dir="rtl"] .steps::after { inset-inline: 0.6rem; }
@media (max-width: 60em) {
  [dir="rtl"] .steps::before, [dir="rtl"] .steps::after { inset-inline: auto; inset-inline-start: 0.6rem; }
  [dir="rtl"] .steps::after { transform-origin: top center; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .row-link, .chev, .step::before, .faq-item summary::after { transition: none; }
}

/* ======================================================================
   Consulting-firm layer: stat band, link rows, section pages
   ====================================================================== */
.hero-copy { max-width: 46rem; }
.hero-actions { align-items: center; gap: 1.75rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; font-weight: 600; font-size: 0.97rem;
  color: var(--blue); text-decoration: none;
}
.link-arrow::after {
  content: ""; width: 0.55rem; height: 0.55rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s;
}
.link-arrow:hover { color: var(--blue-dark); }
.link-arrow:hover::after { transform: translateX(4px) rotate(45deg); }
.hero .link-arrow, .sheet-dark .link-arrow { color: var(--white); }
.hero .link-arrow:hover, .sheet-dark .link-arrow:hover { color: var(--sky); }
[dir="rtl"] .link-arrow::after, [dir="rtl"] .chev::after { transform: rotate(-135deg); }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px) rotate(-135deg); }
.more { margin-top: 2rem; }

/* Stat band: four plain numbers under the headline */
.statband {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.stat { display: flex; flex-direction: column-reverse; gap: 0.35rem; padding: 1.5rem 1.5rem 0 0; }
.stat + .stat { padding-inline-start: 1.5rem; border-inline-start: 1px solid var(--line-dark); }
.stat dd { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; overflow-wrap: anywhere; }
.stat dt { font-size: 0.9rem; color: var(--on-dark); max-width: 14rem; }

/* Link rows: services listed like an index, not a grid of cards */
.rows { list-style: none; border-top: 2px solid var(--ink); }
.rows > li { border-bottom: 1px solid var(--line); }
.row-link {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem;
  padding: 1.75rem 0.5rem; color: var(--text); text-decoration: none; transition: background 0.2s, padding 0.2s;
}
.row-link:hover { background: var(--mist); color: var(--text); padding-inline: 1.25rem; }
.row-link .icon { margin: 0; }
.row-body h3, .row-body strong { font-size: 1.3rem; letter-spacing: -0.025em; font-weight: 600; display: block; }
.row-body p, .row-body > span { display: block; margin-top: 0.35rem; color: var(--text-soft); font-size: 0.97rem; max-width: 46rem; }
.chev { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.chev::after { content: ""; width: 0.55rem; height: 0.55rem; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); margin-inline-end: 0.2rem; }
.row-link:hover .chev { background: var(--blue); border-color: var(--blue); }
.row-link:hover .chev::after { border-color: var(--white); }
.rows-flat .row-link { grid-template-columns: auto 1fr auto; padding-block: 1.25rem; align-items: start; }
.rows-flat .row-body strong { font-size: 1.05rem; letter-spacing: -0.015em; }
.rows-flat .row-body > span { font-size: 0.93rem; }
.rows-flat .chev { width: 2.2rem; height: 2.2rem; align-self: center; }
.rows-flat .abbr { margin-top: 0.15rem; min-width: 4.2rem; text-align: center; }

/* Framework index on the home page */
.fw-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); border-top: 2px solid var(--ink); padding-top: 1.75rem; }
.fw-index h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }
.fw-index ul { list-style: none; }
.fw-index li { border-top: 1px solid var(--line); }
.fw-index a {
  display: grid; grid-template-columns: 4.6rem 1fr; gap: 0.75rem; align-items: start; min-height: 44px; padding: 0.7rem 0;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; line-height: 1.4;
}
.fw-index a:hover { color: var(--blue); }
.fw-index .abbr { margin-top: 0.05rem; justify-self: start; }

/* Section pages */
.aud { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.aud-copy .icon { margin-bottom: 1.4rem; }
.aud-copy h2 { margin-bottom: 1rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.aud-fw h3 { font-size: 1rem; color: var(--text-soft); font-weight: 600; margin-bottom: 0.9rem; letter-spacing: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 0.9rem; max-width: 22ch; }
.cta-band, #contact.sheet.cta-band { padding-bottom: clamp(4rem, 9vw, 7rem); }
.fw-list li { scroll-margin-top: 6rem; }
.fw-list li:target { background: var(--mist); box-shadow: -1rem 0 0 var(--mist), 1rem 0 0 var(--mist); }

@media (max-width: 60em) {
  .statband { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.25rem 1rem 1.25rem 0; border-bottom: 1px solid var(--line-dark); }
  .stat:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .stat + .stat { padding-inline-start: 1rem; }
  .stat:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .fw-index, .aud { grid-template-columns: 1fr; }
  .row-link { gap: 1rem; }
}
@media (max-width: 35em) {
  .row-link { grid-template-columns: 1fr auto; }
  .row-link .icon { display: none; }
  .rows-flat .row-link { grid-template-columns: 1fr auto; }
  .rows-flat .abbr { grid-column: 1 / -1; justify-self: start; }
  .chev { width: 2.2rem; height: 2.2rem; }
  .hero-actions { gap: 1rem; }
}
