:root {
  color-scheme: light;
  --navy: #1f2f6e;
  --navy-deep: #172654;
  --blue: #30489c;
  --ink-soft: #536786;
  --muted: #7c90ab;
  --paper: #ffffff;
  --wash: #f3f8fc;
  --mist: #e9f2f9;
  --line: #d5e2ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "DINArabic", "Noto Sans Arabic", Tahoma, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link:focus-visible, .site-footer a:focus-visible { outline-color: #a9d9eb; }
section[id] { scroll-margin-top: 110px; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  right: 18px;
  padding: 12px 18px;
  background: var(--navy);
  color: white;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(31, 47, 110, .08);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: grid;
  grid-template-columns: 205px 1fr auto;
  align-items: center;
  gap: 42px;
  width: min(100% - 72px, 1350px);
  height: 88px;
  margin: 0 auto;
}
.brand { display: block; width: 188px; line-height: 0; }
.brand img { display: block; width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3.2vw, 54px); }
.desktop-nav a, .mobile-nav a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--blue); }
.platform-entry {
  display: inline-flex;
  min-width: 154px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.platform-entry:hover { background: var(--navy); transform: translateY(-1px); }
.mobile-nav { display: none; }

.hero { overflow: hidden; background: var(--navy); }
.hero-inner {
  display: flex;
  align-items: center;
  width: min(100% - 72px, 1350px);
  min-height: 430px;
  margin: 0 auto;
  padding: 46px 0 54px;
}
.hero-copy { max-width: 1020px; }
.eyebrow, .section-kicker {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .015em;
}
.eyebrow { margin: 0 0 28px; }
.hero .eyebrow { color: #a9d9eb; }
.eyebrow span[aria-hidden] { margin: 0 8px; color: #90afd1; }
.hero h1 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(52px, 5.2vw, 82px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.hero h1 span { white-space: nowrap; }
.hero-subtitle {
  margin: 22px 0 0;
  color: #dce8f5;
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 700;
  line-height: 1.65;
}
.hero-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 35px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
}
.hero-principles span { padding: 0 0 0 23px; }
.hero-principles span + span { padding-right: 23px; border-right: 1px solid #95adcf; }
.hero-try-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 30px;
  padding: 9px 27px;
  border: 1px solid #e3edfb;
  border-radius: 10px;
  color: var(--navy);
  background: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}
.hero-try-entry:hover { background: #eef4ff; }

.section { padding: clamp(76px, 7.5vw, 116px) 0; }
.section-inner { width: min(100% - 72px, 1240px); margin: 0 auto; }
.section-heading h2, .experts-heading h2 {
  margin: 10px 0 0;
  color: var(--navy-deep);
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 800;
  line-height: 1.3;
}
.section-heading p, .experts-heading p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
}
.section-heading.centered { text-align: center; }
.section-heading.centered::after, .experts-heading > div::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 23px auto 0;
  background: var(--blue);
}
.experts-heading > div::after { margin-right: 0; }

.experts-section { padding-top: 40px; padding-bottom: 55px; background: var(--paper); }
.experts-section .section-inner { display: block; }
.experts-heading { margin: 0 auto 36px; text-align: center; }
.experts-heading h2 { font-size: 32px; white-space: nowrap; }
.experts-heading p { font-size: 14px; }
.experts-heading > div::after { margin-inline: auto; }
.experts-heading .experts-intro { max-width: 660px; margin: 18px auto 0; font-size: 13px; }
.experts-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 1040px; margin: 0 auto; }
.experts-grid figure { grid-column: span 2; min-width: 0; margin: 0; text-align: center; }
.experts-grid.leaders figure:first-child { grid-column: 2 / span 2; }
.experts-grid.members { margin-top: 32px; }
.portrait {
  position: relative;
  width: min(100%, 160px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--mist);
  overflow: hidden;
}
/* Normalize the original cutouts to Ayman (expert-03), then apply one shared
   shoulder crop. The 160px frame and 1.25 image scale retain his desktop face
   size while keeping the shorter source photos' bottom edges outside the frame. */
.portrait img {
  position: absolute;
  display: block;
  width: calc(var(--portrait-width, 100%) * 1.25);
  max-width: none;
  height: auto;
  left: calc(50% + (var(--portrait-left, 50%) - 50%) * 1.25);
  top: calc(22% + var(--portrait-top, 0%) * 1.25);
  transform: translateX(-50%);
}
.portrait img[src$="expert-04.webp"] { --portrait-width: 63.7%; --portrait-left: 50.3%; --portrait-top: 4.37%; }
.portrait img[src$="expert-06.webp"] { --portrait-width: 59.52%; --portrait-left: 52.59%; --portrait-top: 2.98%; }
.portrait img[src$="expert-07.webp"] { --portrait-width: 63.7%; --portrait-left: 52.68%; --portrait-top: 3.26%; }
.portrait img[src$="expert-01.webp"] { --portrait-width: 52.36%; --portrait-left: 51.51%; --portrait-top: 2.22%; }
.portrait img[src$="expert-02.webp"] { --portrait-width: 44.64%; --portrait-left: 51.92%; --portrait-top: 0.97%; }
.portrait img[src$="expert-05.webp"] { --portrait-width: 76.92%; --portrait-left: 50.48%; --portrait-top: -0.5%; }
.experts-grid figcaption { padding-top: 14px; color: var(--navy-deep); font-size: 16px; font-weight: 800; line-height: 1.4; }
.experts-grid figcaption strong { display: block; margin-top: 4px; min-height: 1.8em; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.experts-grid figcaption::after { content: ""; display: block; width: 34px; height: 2px; margin: 6px auto 0; background: var(--blue); }

.about-section { background: var(--wash); }
.about-layout { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); gap: clamp(50px, 8vw, 140px); }
.about-copy { padding-right: 34px; border-right: 2px solid var(--blue); color: var(--ink-soft); font-size: clamp(17px, 1.45vw, 21px); font-weight: 600; line-height: 2; }
.about-copy p { margin: 0 0 20px; }
.about-copy p:last-child { margin-bottom: 0; }

.challenges-section { background: var(--navy); }
.challenges-section .section-heading h2 { color: var(--paper); }
.challenges-section .section-kicker { color: #a9d9eb; }
.challenges-section .section-heading p { color: #dce8f5; }
.challenges-section .section-heading::after { background: #a9d9eb; }
.challenge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 49px 0 0; padding: 0; list-style: none; }
.challenge-grid li { display: flex; min-height: 116px; align-items: center; gap: 22px; padding: 24px; border: 1px solid #667db0; border-radius: 14px; background: var(--blue); color: var(--paper); font-size: 17px; font-weight: 800; line-height: 1.55; }
.challenge-grid .challenge-unnumbered { justify-content: center; text-align: center; }
.challenge-grid li span, .stage-number, .indicators-list > li > span { color: var(--blue); font: 700 20px/1 Arial, sans-serif; direction: ltr; }
.challenge-grid li span { color: #b9e2f2; }

.guidance-section { background: var(--mist); }
.guidance-lead { max-width: 1030px; margin: 27px 0 0; color: var(--navy-deep); font-size: clamp(18px, 1.55vw, 23px); font-weight: 600; line-height: 1.9; }
.value-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--wash); }
.value-grid h3 { margin: 22px 0 9px; color: var(--navy); font-size: 22px; }
.stages-grid ul, .value-grid ul { margin: 0; padding-right: 19px; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.stages-grid li::marker, .value-grid li::marker { color: var(--blue); }

#stages { background: var(--wash); }
#stages .section-heading p { max-width: 760px; margin-inline: auto; }
#stages .phase-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 42px 0 0; padding: 0; list-style: none; }
#stages .phase-group { min-width: 0; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 16px; background: var(--paper); }
#stages .phase-title { margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--navy-deep); font-size: 25px; line-height: 1.5; }
#stages .phase-title span { display: block; margin-bottom: 6px; color: var(--blue); font-size: 13px; font-weight: 800; }
#stages .stages-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
#stages .stages-grid > li { min-width: 0; }
#stages .stages-grid > li:only-child { grid-column: 1 / -1; }
#stages .stages-grid > li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
#stages .stages-grid h4 { margin: 12px 0 8px; color: var(--navy); font-size: 19px; line-height: 1.55; }
#stages .stage-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--mist); color: var(--blue); font-size: 17px; }
#stages .stages-grid ul { color: var(--ink-soft); }
#stages .stages-grid li::marker { color: var(--blue); }

.value-section { background: var(--paper); }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 50px; }
.value-grid article { background: var(--wash); }
.value-grid h3 { min-height: 2.8em; margin: 0 0 15px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }

.indicators-section { background: var(--mist); }
.indicators-layout { display: grid; grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr); gap: 60px; }
.indicators-list { margin: 0; padding: 0; list-style: none; }
.indicators-list li { display: flex; gap: 25px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.indicators-list li:first-child { padding-top: 0; }
.indicators-list h3 { margin: 0 0 4px; font-size: 19px; }
.indicators-list p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

.closing-section { padding: 100px 0 105px; background: var(--navy-deep); color: white; }
.closing-section .section-kicker { color: #8bc2d8; }
.closing-section h2 { margin: 9px 0 22px; font-size: clamp(36px, 3.5vw, 54px); }
.closing-main { max-width: 930px; margin: 0; font-size: clamp(24px, 2.6vw, 39px); font-weight: 800; line-height: 1.65; }
.closing-secondary { margin: 18px 0 25px; color: #c8d0e0; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.75; }
.closing-section strong { display: inline-block; padding-top: 16px; border-top: 2px solid #8bc2d8; font-size: 23px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px max(36px, calc((100% - 1240px) / 2)); background: #111e48; color: #d9e0ed; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: white; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 160px 1fr auto; gap: 20px; }
  .brand { width: 160px; }
  .desktop-nav { gap: 20px; }
  .desktop-nav a { font-size: 13px; }
  .hero h1 { font-size: clamp(42px, 5vw, 57px); }
  .hero h1 span { white-space: normal; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #stages .phase-list { grid-template-columns: 1fr; }
}

@media (min-width: 701px) and (max-width: 810px) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: 12px; }
  .brand { width: 130px; }
  .desktop-nav { display: none; }
  .platform-entry { min-width: 0; min-height: 36px; padding: 6px 12px; font-size: 11px; }
  .mobile-nav { position: relative; display: block; grid-column: 2; grid-row: 1; }
  .mobile-nav summary { padding: 7px 2px; color: var(--navy); cursor: pointer; font-size: 12px; font-weight: 800; list-style: none; white-space: nowrap; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: calc(100% + 19px); left: -46px; display: flex; min-width: 185px; flex-direction: column; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 12px 30px rgba(20, 35, 78, .14); }
  .mobile-nav nav a { padding: 12px; font-size: 14px; }
}

@media (max-width: 700px) {
  section[id] { scroll-margin-top: 84px; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 12px; width: min(100% - 32px, 600px); height: 78px; }
  .brand { width: 130px; }
  .desktop-nav { display: none; }
  .platform-entry { min-width: 0; min-height: 36px; padding: 6px 12px; font-size: 11px; }
  .mobile-nav { position: relative; display: block; grid-column: 2; grid-row: 1; }
  .mobile-nav summary { padding: 7px 2px; color: var(--navy); cursor: pointer; font-size: 12px; font-weight: 800; list-style: none; white-space: nowrap; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: calc(100% + 19px); left: -46px; display: flex; min-width: 185px; flex-direction: column; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 12px 30px rgba(20, 35, 78, .14); }
  .mobile-nav nav a { padding: 12px; font-size: 14px; }
  .hero-inner, .section-inner { width: min(100% - 36px, 600px); }
  .hero-inner { min-height: 0; padding: 50px 0 55px; }
  .eyebrow { margin-bottom: 20px; font-size: 11px; }
  .hero h1 { font-size: clamp(39px, 10vw, 55px); line-height: 1.3; }
  .hero-subtitle { margin-top: 16px; font-size: 17px; }
  .hero-principles { gap: 9px; margin-top: 25px; font-size: 11px; }
  .hero-principles span { padding: 0 0 0 9px; }
  .hero-principles span + span { padding-right: 9px; }
  .section { padding: 65px 0; }
  .experts-section { padding-top: 57px; }
  .experts-section .section-inner { display: block; }
  .section-heading h2, .experts-heading h2 { font-size: 34px; }
  .section-heading p, .experts-heading p { font-size: 15px; }
  .experts-heading { display: block; margin-bottom: 26px; }
  .experts-heading .experts-intro { max-width: 100%; margin-top: 21px; font-size: 13px; }
  .experts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .experts-grid figure, .experts-grid.leaders figure:first-child { grid-column: auto; }
  .experts-grid.leaders figure:last-child { grid-column: 1 / -1; width: calc((100% - 16px) / 2); justify-self: center; }
  .experts-grid.members { margin-top: 24px; }
  .portrait { width: min(100%, 160px); }
  .experts-grid figcaption { padding-top: 7px; font-size: 14px; }
  .experts-grid figcaption strong { font-size: 11px; }
  .about-layout, .indicators-layout { display: block; }
  .about-copy { margin-top: 29px; padding-right: 18px; font-size: 16px; }
  .challenge-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
  #stages .phase-list { gap: 16px; margin-top: 30px; }
  #stages .phase-group { padding: 20px; }
  #stages .phase-title { margin-bottom: 20px; padding-bottom: 16px; font-size: 22px; }
  #stages .stages-grid { grid-template-columns: 1fr; gap: 20px; }
  #stages .stages-grid > li + li { padding-inline-start: 0; border-inline-start: 0; padding-top: 20px; border-top: 1px solid var(--line); }
  .challenge-grid li { min-height: 74px; padding: 16px; font-size: 15px; }
  .guidance-lead { margin-top: 25px; font-size: 16px; }
  .value-grid article { padding: 20px; }
  .value-grid h3 { margin-top: 13px; font-size: 18px; }
  .value-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
  .indicators-list { margin-top: 30px; }
  .indicators-list li { gap: 15px; }
  .indicators-list h3 { font-size: 16px; }
  .indicators-list p { font-size: 13px; }
  .closing-section { padding: 70px 0; }
  .closing-section h2 { font-size: 36px; }
  .closing-main { font-size: 26px; }
  .closing-secondary { font-size: 17px; }
  .site-footer { padding: 20px 18px; font-size: 11px; }
}

@media (max-width: 370px) {
  .header-inner { gap: 8px; }
  .brand { width: 112px; }
  .platform-entry { padding-inline: 8px; font-size: 10px; }
  .hero h1 { font-size: 36px; }
  .hero-principles { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .platform-entry { transition: none; }
}
