:root {
  --navy: #193159;
  --navy-deep: #10213d;
  --navy-dark: #08182f;
  --navy-soft: #274875;
  --gold: #bc9351;
  --gold-light: #d8be8c;
  --gold-pale: #ead9b8;
  --ivory: #fbf8f1;
  --ivory-2: #f5efe3;
  --paper: #fffdf8;
  --ink: #193159;
  --muted: #6f7885;
  --line: rgba(25, 49, 89, .14);
  --white-line: rgba(255,255,255,.15);
  --shadow: 0 28px 80px rgba(8,24,47,.15);
  --shadow-soft: 0 16px 50px rgba(8,24,47,.09);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Noto Sans Arabic", "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.9;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif; line-height: 1.45; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; right: 20px; z-index: 9999; padding: 10px 18px; border-radius: 99px; color: var(--navy-deep); background: var(--gold); font-weight: 900; }
.skip-link:focus { top: 18px; }
.hidden-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #fff;
  background: rgba(8,24,47,.96);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent 5%, var(--gold) 42%, transparent 85%); opacity: .52; }
.navbar { min-height: 88px; display: flex; align-items: center; gap: 26px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; min-width: 190px; }
.brand img { width: 54px; height: 58px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.35; }
.brand-copy strong { font-family: "Noto Kufi Arabic", sans-serif; font-size: 13px; font-weight: 900; }
.brand-copy small { color: var(--gold-light); font-size: 10px; font-weight: 700; }
.main-nav { flex: 1; min-width: 0; }
.nav-list { list-style: none; display: flex; align-items: center; justify-content: flex-start; gap: 2px; padding: 0; margin: 0; }
.nav-link, .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: rgba(255,255,255,.88);
  font-size: 12.2px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: .2s ease;
}
.nav-link:hover, .dropdown-toggle:hover, .nav-link.active, .dropdown-toggle.active, .dropdown.open > .dropdown-toggle { color: #fff; background: rgba(255,255,255,.09); }
.nav-link--contact { margin-inline-start: 5px; padding-inline: 17px; color: var(--navy-deep); background: var(--gold); }
.nav-link--contact:hover, .nav-link--contact.active { color: var(--navy-deep); background: var(--gold-light); }
.dropdown { position: relative; }
.dropdown-toggle::after { content: ""; width: 6px; height: 6px; margin-inline-start: 7px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: .2s ease; }
.dropdown.open .dropdown-toggle::after, .dropdown:hover .dropdown-toggle::after { transform: rotate(225deg) translateY(-2px); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 260px;
  padding: 10px;
  border: 1px solid rgba(25,49,89,.1);
  border-radius: 20px;
  background: rgba(255,253,248,.99);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .2s ease;
}
.dropdown-menu::before { content: ""; position: absolute; top: -6px; right: 25px; width: 12px; height: 12px; background: var(--paper); transform: rotate(45deg); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--navy); font-size: 13px; font-weight: 800; }
.dropdown-menu a:hover { background: var(--ivory-2); color: var(--navy-deep); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-toggle { display: none; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.07); cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 19px; height: 2px; margin: 5px auto; border-radius: 10px; background: #fff; transition: .25s ease; }
body.menu-open .nav-toggle span { opacity: 0; }
body.menu-open .nav-toggle::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons and type */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--light { color: var(--gold-light); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 1px solid transparent; border-radius: 99px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button--gold { color: var(--navy-deep); background: var(--gold); box-shadow: 0 18px 40px rgba(188,147,81,.26); }
.button--gold:hover { background: var(--gold-light); }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.06); }
.button--ghost:hover { background: rgba(255,255,255,.12); }
.button--navy { color: #fff; background: var(--navy); box-shadow: 0 16px 36px rgba(25,49,89,.2); }
.button--navy:hover { background: var(--navy-deep); }
.button--outline { color: var(--navy); border-color: var(--line); background: transparent; }
.disabled-link { pointer-events: none; opacity: .55; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; color: var(--navy); font-weight: 900; }
.text-link span { color: var(--gold); font-size: 22px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(-5px); }

/* Home hero */
.hero-home {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 30%, rgba(188,147,81,.16), transparent 28rem),
    radial-gradient(circle at 75% 0%, rgba(42,75,121,.34), transparent 34rem),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-deep) 48%, #0b1d37 100%);
}
.hero-home::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: url('../images/fingerprint.svg'); background-repeat: no-repeat; background-size: 390px; background-position: -56px 92%; }
.hero-home::after { content: ""; position: absolute; top: -180px; left: -80px; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(188,147,81,.16); box-shadow: 0 0 0 70px rgba(188,147,81,.02), 0 0 0 150px rgba(255,255,255,.015); }
.hero-grid { position: relative; z-index: 2; min-height: 620px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 76px; padding-block: 72px 105px; }
.hero-copy { max-width: 680px; }
.hero-copy h1 { margin-bottom: 24px; color: #fff; font-size: clamp(54px, 6.4vw, 92px); font-weight: 900; letter-spacing: -.055em; line-height: 1.25; }
.hero-copy h1 span { color: var(--gold); }
.hero-copy p { max-width: 680px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 2.1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.identity-showcase { position: relative; height: 440px; display: grid; place-items: center; }
.identity-glow { position: absolute; width: 370px; height: 370px; border-radius: 50%; background: radial-gradient(circle, rgba(188,147,81,.18), transparent 65%); filter: blur(5px); }
.identity-shape { position: absolute; width: 260px; height: 360px; border-radius: 140px 140px 42px 42px; transform: rotate(10deg); }
.identity-shape--gold { right: 56px; background: linear-gradient(160deg, var(--gold), #76572c); box-shadow: var(--shadow); }
.identity-card { position: relative; z-index: 2; width: 285px; min-height: 350px; padding: 42px 34px 30px; border: 1px solid rgba(255,255,255,.15); border-radius: 52% 48% 27px 27px / 28% 28% 28px 28px; background: linear-gradient(160deg, #20385e, #10213d); box-shadow: 0 36px 100px rgba(0,0,0,.34); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.identity-card::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.07); border-radius: inherit; }
.identity-card img { position: relative; z-index: 2; width: 190px; filter: drop-shadow(0 14px 28px rgba(0,0,0,.22)); }
.identity-card span { position: relative; z-index: 2; margin-top: 26px; color: rgba(255,255,255,.68); font-size: 12px; font-weight: 700; }
.orbit-dots { position: absolute; inset: 50% auto auto 8px; display: flex; align-items: center; gap: 12px; transform: translateY(-50%); }
.orbit-dots::before { content: ""; width: 105px; height: 1px; background: linear-gradient(90deg, transparent, rgba(188,147,81,.65)); }
.orbit-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 15px var(--gold); }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; }
.hero-orbit--one { width: 250px; height: 250px; right: -90px; bottom: 110px; }
.hero-orbit--two { width: 95px; height: 95px; right: 110px; bottom: 95px; border-color: rgba(188,147,81,.16); }
.hero-contact-band { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; min-height: 102px; background: var(--gold); color: var(--navy-deep); }
.contact-band-grid { min-height: 102px; display: grid; grid-template-columns: 1fr 1fr 1fr 1.15fr; align-items: stretch; }
.contact-band-grid > a { display: flex; flex-direction: column; justify-content: center; padding: 18px 28px; border-inline-start: 1px solid rgba(25,49,89,.13); }
.contact-band-grid small { margin-bottom: 2px; font-size: 10px; font-weight: 800; opacity: .72; }
.contact-band-grid strong { font-size: 13px; font-weight: 900; direction: ltr; text-align: right; }
.contact-band-dark { flex-direction: row !important; align-items: center; justify-content: space-between !important; color: #fff; background: var(--navy-deep); }
.contact-band-dark span { font-weight: 900; }
.contact-band-dark b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--navy-deep); background: var(--gold); font-size: 19px; }

/* Editorial home sections */
.editorial-section { background: var(--ivory); padding: 120px 0; }
.intro-statement { background: var(--ivory-2); box-shadow: inset 0 6px 0 var(--gold); }
.editorial-section + .editorial-section { border-top: 1px solid rgba(25,49,89,.08); }
.editorial-grid { display: grid; grid-template-columns: 115px 1fr; gap: 70px; }
.section-index { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 8px; color: var(--gold); }
.section-index span { font-size: 12px; font-weight: 900; }
.section-index small { writing-mode: vertical-rl; color: var(--muted); font-size: 10px; font-weight: 700; }
.intro-statement h2, .pathway-section h2 { max-width: 1000px; margin-bottom: 28px; color: var(--navy); font-size: clamp(38px, 5vw, 66px); font-weight: 900; letter-spacing: -.045em; line-height: 1.45; }
.intro-statement p { max-width: 850px; color: var(--muted); font-size: 15px; }
.pathway-section { background: var(--ivory); }
.path-list { margin-top: 58px; border-top: 1px solid var(--line); }
.path-list article { display: grid; grid-template-columns: 70px 250px 1fr; align-items: center; gap: 30px; min-height: 126px; border-bottom: 1px solid var(--line); }
.path-list article > span { color: var(--gold); font-size: 12px; font-weight: 900; }
.path-list h3 { margin: 0; font-size: 24px; color: var(--navy); }
.path-list p { margin: 0; color: var(--muted); }

/* License feature */
.license-feature { position: relative; overflow: hidden; padding: 110px 0; background: linear-gradient(105deg, #efe7d7 0%, #f7f1e7 56%, var(--ivory) 56%); }
.license-feature::before { content: ""; position: absolute; right: -180px; bottom: -230px; width: 520px; height: 520px; border: 1px solid rgba(188,147,81,.18); border-radius: 50%; }
.license-layout { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 90px; }
.license-copy h2 { margin-bottom: 22px; font-size: clamp(38px, 4.6vw, 62px); font-weight: 900; letter-spacing: -.045em; }
.license-copy > p { max-width: 680px; color: var(--muted); }
.license-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin: 35px 0; }
.license-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.license-facts dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.license-facts dd { margin: 0; color: var(--navy); font-size: 12px; font-weight: 900; }
.certificate-card { position: relative; justify-self: center; width: min(390px, 100%); padding: 22px; border: 1px solid rgba(25,49,89,.09); background: #fff; box-shadow: 0 30px 70px rgba(25,49,89,.15); transform: rotate(-1.4deg); transition: .25s ease; }
.certificate-card:hover { transform: rotate(0) translateY(-5px); }
.certificate-card img { width: 100%; border: 1px solid rgba(25,49,89,.08); }
.certificate-card span { display: block; padding: 18px 4px 2px; text-align: center; font-size: 14px; font-weight: 900; }

.quick-sections { padding: 110px 0; background: var(--ivory-2); }
.quick-heading { max-width: 850px; margin-bottom: 50px; }
.quick-heading h2 { font-size: clamp(34px, 4vw, 54px); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-grid a { min-height: 260px; padding: 34px 30px; border-inline-start: 1px solid var(--line); transition: .25s ease; }
.quick-grid a:last-child { border-inline-start: 0; }
.quick-grid a:hover { background: var(--ivory-2); transform: translateY(-6px); }
.quick-grid span { color: var(--gold); font-size: 11px; font-weight: 900; }
.quick-grid h3 { margin: 60px 0 14px; font-size: 22px; }
.quick-grid p { color: var(--muted); font-size: 13px; }

.contact-cta { padding: 95px 0; color: #fff; background: radial-gradient(circle at 10% 40%, rgba(188,147,81,.12), transparent 20rem), var(--navy-dark); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; }
.cta-grid h2 { margin-bottom: 14px; color: #fff; font-size: clamp(36px, 4.2vw, 58px); }
.cta-grid p { margin: 0; color: rgba(255,255,255,.63); }

/* Inner hero and content */
.page-hero { position: relative; overflow: hidden; padding: 92px 0 88px; color: #fff; background: radial-gradient(circle at 12% 30%, rgba(188,147,81,.12), transparent 24rem), linear-gradient(135deg, var(--navy-deep), var(--navy-dark)); }
.page-hero::after { content: ""; position: absolute; left: -80px; bottom: -150px; width: 430px; height: 430px; border-radius: 50%; border: 1px solid rgba(188,147,81,.15); box-shadow: 0 0 0 70px rgba(255,255,255,.012); }
.page-hero--compact { padding-block: 72px; }
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 60px; }
.page-hero h1 { margin-bottom: 20px; color: #fff; font-size: clamp(48px, 6vw, 78px); font-weight: 900; letter-spacing: -.05em; }
.page-hero p { max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.68); font-size: 15px; }
.anchor-nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
.anchor-nav a { padding: 9px 14px; border: 1px solid rgba(255,255,255,.17); border-radius: 99px; color: rgba(255,255,255,.8); font-size: 11px; font-weight: 800; }
.anchor-nav a:hover { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); }
.content-section { padding: 105px 0; background: var(--ivory); }
.content-section--tint { background: var(--ivory-2); }
.content-section h2 { margin-bottom: 22px; font-size: clamp(34px, 4vw, 54px); font-weight: 900; letter-spacing: -.04em; }
.content-section p { color: var(--muted); }
.two-column { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 35px 0; }
.fact-grid > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.7); }
.fact-grid small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; }
.fact-grid strong { display: block; margin-top: 3px; font-size: 13px; }
.certificate-card--wide { width: min(500px, 100%); }
.section-heading { max-width: 900px; margin-bottom: 52px; }
.section-heading > p { max-width: 760px; }
.strategy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strategy-grid article { min-height: 330px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.76); box-shadow: 0 12px 35px rgba(25,49,89,.04); }
.strategy-grid article > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 55px; border-radius: 50%; color: var(--gold); background: var(--ivory-2); font-size: 11px; font-weight: 900; }
.strategy-grid h3 { margin-bottom: 14px; font-size: 21px; }
.strategy-grid p { font-size: 13px; }
.pending-text { padding-right: 15px; border-right: 2px solid var(--gold); }
.governance-row { display: grid; grid-template-columns: 80px 1fr 1fr; align-items: center; gap: 55px; }
.section-number { color: var(--gold); font-family: "Noto Kufi Arabic"; font-size: 42px; font-weight: 900; opacity: .45; }
.empty-panel { min-height: 230px; padding: 34px; border: 1px dashed rgba(25,49,89,.24); border-radius: 26px; background: rgba(255,255,255,.5); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.empty-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 20px; border-radius: 50%; color: var(--navy); background: var(--gold-pale); font-size: 24px; }
.empty-panel strong { font-size: 17px; }
.empty-panel p { margin-bottom: 0; font-size: 13px; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.people-grid article { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--ivory); }
.avatar-placeholder { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 48px; border-radius: 18px; color: var(--gold); background: var(--navy); font-size: 12px; font-weight: 900; }
.people-grid h3 { font-size: 20px; }
.people-grid p { font-size: 13px; }
.people-contact a { display: block; margin-top: 6px; color: var(--navy); font-weight: 900; direction: ltr; text-align: right; }

/* Placeholders and documents */
.placeholder-section { min-height: 560px; display: grid; place-items: center; padding: 90px 0; background: var(--ivory); }
.placeholder-card { width: min(760px, 100%); padding: 70px 55px; border: 1px solid var(--line); border-radius: 34px; background: var(--paper); box-shadow: var(--shadow-soft); text-align: center; }
.placeholder-mark, .success-mark { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 30px; border-radius: 50%; color: var(--gold); background: var(--navy); font-family: "Noto Kufi Arabic"; font-size: 22px; font-weight: 900; }
.success-mark { color: var(--navy-deep); background: var(--gold); font-size: 34px; }
.placeholder-card h2 { font-size: clamp(30px, 4vw, 46px); }
.placeholder-card p { max-width: 600px; margin-inline: auto; color: var(--muted); }
.document-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.document-columns > article { min-height: 360px; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: var(--ivory); }
.document-columns h3 { margin-bottom: 25px; font-size: 22px; }
.resource-list { display: grid; gap: 10px; }
.resource-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.resource-card strong, .resource-card span { display: block; }
.resource-card strong { font-size: 13px; }
.resource-card span { color: var(--muted); font-size: 10px; }
.resource-card .badge { flex: 0 0 auto; padding: 5px 9px; border-radius: 99px; color: var(--navy); background: var(--gold-pale); font-size: 9px; font-weight: 900; }
.empty-state { display: grid; place-items: center; min-height: 185px; padding: 25px; border: 1px dashed rgba(25,49,89,.2); border-radius: 18px; color: var(--muted); text-align: center; }

/* Contact */
.contact-hero-card { display: grid; grid-template-columns: repeat(3, auto); gap: 8px; justify-content: flex-start; align-items: center; }
.contact-hero-card strong { grid-column: 1 / -1; color: var(--gold); font-size: 11px; }
.contact-hero-card span { padding: 10px 16px; border: 1px solid rgba(255,255,255,.17); border-radius: 99px; font-size: 12px; font-weight: 800; }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: 60px; }
.feedback-form-wrap h2 { max-width: 760px; font-size: clamp(34px, 4vw, 50px); }
.feedback-form { margin-top: 38px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid label > span { color: var(--navy); font-size: 11px; font-weight: 900; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid rgba(25,49,89,.15); border-radius: 14px; outline: none; background: var(--paper); color: var(--navy); transition: .2s ease; }
.form-grid input, .form-grid select { height: 52px; padding: 0 15px; }
.form-grid textarea { padding: 14px 15px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(188,147,81,.12); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; color: var(--muted); font-size: 11px; }
.consent input { margin-top: 7px; accent-color: var(--navy); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-note { margin-top: 14px; color: var(--muted); font-size: 10px; }
.feedback-aside { display: grid; gap: 14px; }
.contact-card { padding: 24px; border-radius: 22px; color: #fff; background: var(--navy); }
.contact-card small { display: block; color: var(--gold-light); font-size: 10px; font-weight: 800; }
.contact-card a { display: block; margin-top: 4px; font-weight: 900; direction: ltr; text-align: right; }
.feedback-process { margin-top: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--ivory-2); }
.feedback-process ol { list-style: none; padding: 0; margin: 5px 0 0; }
.feedback-process li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.feedback-process li:last-child { border-bottom: 0; }
.feedback-process b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--gold); background: var(--navy); font-size: 9px; }
.feedback-process strong { display: block; font-size: 13px; }
.feedback-process p { margin: 2px 0 0; font-size: 10px; }

/* Footer */
.site-footer { color: rgba(255,255,255,.72); background: #07162b; }
.footer-main { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 80px; padding: 78px 0 55px; }
.footer-logo { width: 112px; margin-bottom: 20px; }
.footer-brand p { max-width: 500px; font-size: 12px; }
.footer-title { margin-bottom: 18px; color: #fff; font-size: 14px; }
.footer-links { display: grid; gap: 9px; font-size: 11px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: 10px; }
.footer-bottom a { color: var(--gold-light); }

/* Responsive */
@media (max-width: 1180px) {
  .navbar { justify-content: space-between; }
  .nav-toggle { display: block; margin-right: auto; }
  .main-nav { position: fixed; top: 88px; right: 0; bottom: 0; left: 0; padding: 24px; background: rgba(8,24,47,.99); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s ease; overflow-y: auto; }
  body.menu-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list { display: grid; justify-content: stretch; align-content: start; gap: 5px; }
  .nav-link, .dropdown-toggle { width: 100%; justify-content: space-between; min-height: 52px; padding-inline: 16px; border-radius: 13px; font-size: 14px; }
  .nav-link--contact { margin: 7px 0 0; justify-content: center; }
  .dropdown-menu { position: static; display: none; min-width: 0; margin: 3px 0 8px; background: rgba(255,255,255,.05); box-shadow: none; opacity: 1; visibility: visible; transform: none; border-color: rgba(255,255,255,.09); }
  .dropdown-menu::before { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { color: rgba(255,255,255,.8); }
  .dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .dropdown:hover .dropdown-menu:not(:focus-within) { display: none; }
  .dropdown.open:hover .dropdown-menu { display: block; }
  .hero-grid { gap: 35px; }
  .identity-showcase { transform: scale(.88); }
  .strategy-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid a:nth-child(2) { border-inline-start: 0; }
  .quick-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .container { width: min(100% - 34px, var(--container)); }
  .hero-home { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding: 70px 0 150px; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .identity-showcase { height: 385px; order: -1; }
  .identity-card { width: 250px; min-height: 315px; }
  .identity-card img { width: 165px; }
  .hero-contact-band { position: relative; }
  .contact-band-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-band-grid > a { min-height: 88px; }
  .editorial-section { padding: 85px 0; }
  .editorial-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-index { display: none; }
  .path-list article { grid-template-columns: 50px 180px 1fr; }
  .license-layout, .two-column, .contact-layout { grid-template-columns: 1fr; }
  .license-feature { background: linear-gradient(160deg, #efe7d7 0%, #f7f1e7 66%, var(--ivory) 66%); }
  .certificate-card { justify-self: center; }
  .page-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .governance-row { grid-template-columns: 65px 1fr; }
  .governance-row .empty-panel { grid-column: 2; }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .document-columns { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 45px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .navbar { min-height: 76px; }
  .brand img { width: 47px; height: 50px; }
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { font-size: 8px; }
  .main-nav { top: 76px; }
  .hero-grid { padding-top: 48px; }
  .identity-showcase { height: 300px; transform: scale(.75); margin: -30px 0; }
  .hero-copy h1 { font-size: 48px; }
  .hero-copy p { font-size: 13px; }
  .hero-actions .button { width: 100%; }
  .contact-band-grid { grid-template-columns: 1fr; }
  .contact-band-grid > a { min-height: 76px; border-bottom: 1px solid rgba(25,49,89,.13); }
  .intro-statement h2, .pathway-section h2 { font-size: 35px; }
  .path-list article { grid-template-columns: 42px 1fr; gap: 15px; padding: 22px 0; }
  .path-list article p { grid-column: 2; }
  .license-facts, .fact-grid, .form-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid a { min-height: 210px; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .quick-grid a:last-child { border-bottom: 0; }
  .quick-grid h3 { margin-top: 35px; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-grid .button { justify-self: stretch; }
  .page-hero { padding: 65px 0; }
  .page-hero h1 { font-size: 44px; }
  .anchor-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .anchor-nav a { text-align: center; }
  .strategy-grid, .people-grid { grid-template-columns: 1fr; }
  .strategy-grid article { min-height: 265px; }
  .strategy-grid article > span { margin-bottom: 35px; }
  .governance-row { grid-template-columns: 1fr; }
  .section-number { font-size: 30px; }
  .governance-row .empty-panel { grid-column: 1; }
  .placeholder-card { padding: 50px 24px; }
  .contact-hero-card { justify-content: start; }
  .form-actions .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
.footer-links a[href^="tel:"],
.footer-links a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: embed;
  text-align: right;
}


/* V2 refinements: reverse hero logo, WhatsApp direction, about summary, CMS content */
.identity-card img { width: 176px; filter: drop-shadow(0 16px 30px rgba(0,0,0,.26)); }
.identity-card { background: linear-gradient(155deg, rgba(38,72,117,.95), rgba(8,24,47,.98)); }
.identity-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 38%, rgba(188,147,81,.12), transparent 48%); pointer-events: none; }
[data-cms-phone], [data-cms-whatsapp] strong, a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
.contact-band-grid [data-cms-whatsapp] { transition: background .2s ease, color .2s ease; }
.contact-band-grid [data-cms-whatsapp]:hover { background: rgba(255,255,255,.18); }

.about-hero-copy { max-width: 790px; }
.about-summary-card { margin-top: 28px; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(255,255,255,.065); box-shadow: 0 22px 55px rgba(0,0,0,.12); backdrop-filter: blur(12px); }
.about-summary-main small { display: block; margin-bottom: 7px; color: var(--gold-light); font-size: 10px; font-weight: 900; }
.about-summary-main > p { max-width: none; margin: 0; color: rgba(255,255,255,.88); font-size: 13px; line-height: 2; }
.about-summary-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.about-summary-points > div { padding: 15px 16px; border-radius: 16px; background: rgba(8,24,47,.36); }
.about-summary-points span { display: block; color: var(--gold-light); font-size: 10px; font-weight: 900; }
.about-summary-points p { margin: 4px 0 0; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.9; }
.page-hero:has(.about-summary-card) { padding-bottom: 70px; }
.page-hero:has(.about-summary-card) .page-hero-grid { align-items: start; }

.strategy-goals { margin: 0; padding: 0 18px 0 0; color: var(--muted); font-size: 13px; }
.strategy-goals li + li { margin-top: 8px; }
.member-list-panel { min-width: 0; }
.member-rows { display: grid; gap: 9px; }
.member-row { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.member-row > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--gold); background: var(--navy); font-size: 9px; font-weight: 900; }
.member-row strong, .member-row small { display: block; }
.member-row strong { font-size: 13px; }
.member-row small { margin-top: 2px; color: var(--muted); font-size: 10px; }

.programs-live-section, .impact-live-section { min-height: 520px; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow-soft); transition: transform .2s ease; }
.program-card:hover { transform: translateY(-4px); }
.program-card > img, .program-no-image { width: 100%; height: 210px; object-fit: cover; }
.program-no-image { display: grid; place-items: center; color: var(--gold); background: linear-gradient(145deg, var(--navy), var(--navy-deep)); font-family: "Noto Kufi Arabic"; font-size: 30px; font-weight: 900; }
.program-card-body { padding: 24px; }
.program-card-body > span { color: var(--gold); font-size: 10px; font-weight: 900; }
.program-card-body h3 { margin: 8px 0 10px; font-size: 20px; }
.program-card-body p { margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.program-card-body small { color: var(--navy-soft); font-size: 10px; font-weight: 800; }
.impact-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.impact-stat-grid article { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); text-align: center; }
.impact-stat-grid strong { display: block; color: var(--gold); font-family: "Noto Kufi Arabic"; font-size: 38px; }
.impact-stat-grid h3 { margin: 8px 0; font-size: 16px; }
.impact-stat-grid p { margin: 0; color: var(--muted); font-size: 11px; }
.impact-report-list { margin-top: 60px; }
.impact-report-list h2 { font-size: 30px; }
.impact-report-list .resource-card { margin-top: 10px; }

@media (max-width: 900px) {
  .about-summary-points { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr 1fr; }
  .impact-stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .about-summary-card { padding: 18px; }
  .about-summary-main > p { font-size: 12px; }
  .program-grid, .impact-stat-grid { grid-template-columns: 1fr; }
}

/* Mobile navigation full-screen fix */
@media (max-width: 1180px) {
  /* backdrop-filter can make fixed children use the header as their containing block.
     Disable it on compact layouts so the menu is sized against the viewport. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .navbar { position: relative; }
  .brand,
  .nav-toggle { position: relative; z-index: 1003; }

  .main-nav {
    position: fixed;
    z-index: 1001;
    top: 88px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100vh - 88px);
    height: calc(100dvh - 88px);
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    padding: 20px max(20px, env(safe-area-inset-right)) calc(34px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    background: #08182f;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .28s ease, opacity .2s ease, visibility .2s ease;
  }

  body.menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-list {
    width: min(100%, 720px);
    margin-inline: auto;
    padding-bottom: 12px;
  }

  .nav-link,
  .dropdown-toggle {
    min-height: 56px;
    padding-block: 12px;
    font-size: 15px;
  }

  .dropdown-menu {
    max-height: none;
    overflow: visible;
  }

  .dropdown-menu a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 11px 15px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .main-nav {
    top: 76px;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    padding-top: 16px;
  }

  .nav-list { gap: 7px; }
  .nav-link,
  .dropdown-toggle { min-height: 54px; font-size: 14px; }
}


/* 2026 content and identity refresh */
.quick-heading p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: end;
  gap: 70px;
}
.section-heading--split h2 { margin-bottom: 0; }
.section-heading--split > p { margin: 0; }

.feature-grid {
  display: grid;
  gap: 16px;
}
.feature-grid--four { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 15px 40px rgba(25,49,89,.05);
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  left: -75px;
  bottom: -85px;
  border: 1px solid rgba(188,147,81,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(188,147,81,.035);
}
.feature-card > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 62px;
  border-radius: 50%;
  color: var(--gold);
  background: var(--navy);
  font-size: 10px;
  font-weight: 900;
}
.feature-card h3 { margin-bottom: 12px; font-size: 21px; }
.feature-card p { margin-bottom: 0; font-size: 13px; }

.section-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 22px;
  color: #fff;
  background: var(--navy);
}
.section-callout strong { font-family: "Noto Kufi Arabic", sans-serif; font-size: 17px; }
.section-callout .text-link { margin-top: 0; color: #fff; }

.impact-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: impact;
}
.impact-flow article {
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
}
.impact-flow article > span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.impact-flow h3 { margin-bottom: 10px; font-size: 22px; }
.impact-flow p { margin: 0; font-size: 13px; }
.impact-note {
  margin-top: 18px;
  padding: 30px;
  border-inline-start: 6px solid var(--gold);
  border-radius: 20px;
  color: #fff;
  background: var(--navy-deep);
}
.impact-note strong { font-family: "Noto Kufi Arabic", sans-serif; font-size: clamp(18px, 2.2vw, 28px); }

.empty-state {
  align-content: center;
  gap: 10px;
}
.empty-state strong {
  color: var(--navy);
  font-size: 14px;
}
.empty-state .text-link {
  margin-top: 2px;
  font-size: 12px;
}
.empty-panel .text-link { margin-top: 10px; font-size: 12px; }
.empty-icon { font-size: 10px; font-weight: 900; }

.document-columns > article {
  position: relative;
  overflow: hidden;
  background: rgba(255,253,248,.82);
}
.document-columns > article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gold);
}

@media (max-width: 1040px) {
  .feature-grid--four { grid-template-columns: 1fr 1fr; }
  .section-heading--split { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 760px) {
  .feature-grid--four,
  .impact-flow { grid-template-columns: 1fr; }
  .feature-card { min-height: 250px; }
  .feature-card > span { margin-bottom: 38px; }
  .section-callout { align-items: flex-start; flex-direction: column; }
}

/* =========================================================
   Premium association experience - July 2026
   ========================================================= */
:root {
  --heading-font: "Alexandria", "Noto Sans Arabic", Tahoma, sans-serif;
  --body-font: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --container: 1320px;
  --radius-xl: 36px;
  --focus: 0 0 0 4px rgba(188,147,81,.24);
}

body { font-family: var(--body-font); line-height: 1.85; }
h1, h2, h3, h4, .brand-copy strong, .section-callout strong, .impact-note strong,
.program-no-image, .impact-stat-grid strong { font-family: var(--heading-font); letter-spacing: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
}
::selection { color: #fff; background: var(--navy); }

/* Header: logo-first and calmer navigation */
.site-header { background: rgba(7,22,43,.94); transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(7,22,43,.985); box-shadow: 0 14px 40px rgba(4,15,31,.18); }
.navbar { min-height: 92px; gap: 20px; }
.brand { min-width: 76px; gap: 0; justify-content: flex-start; }
.brand picture { display: block; }
.brand img { width: auto; height: 68px; object-fit: contain; }
.brand-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-list { justify-content: flex-end; gap: 1px; }
.nav-link, .dropdown-toggle { padding-inline: 9px; font-family: var(--body-font); font-size: 12px; font-weight: 700; }
.dropdown-menu { min-width: 280px; }
.dropdown-menu a { font-size: 12.5px; font-weight: 700; }
.nav-link--contact { padding-inline: 18px; }

/* Arabic typography - no artificial negative tracking */
.hero-copy h1, .page-hero h1, .license-copy h2, .content-section h2 { letter-spacing: 0; }
.hero-copy h1 { max-width: 760px; font-size: clamp(52px, 6.2vw, 88px); line-height: 1.28; }
.hero-copy p { font-size: 17px; }
.page-hero h1 { font-size: clamp(44px, 5.6vw, 72px); line-height: 1.35; }
.content-section h2, .quick-heading h2 { line-height: 1.5; }
.eyebrow { font-family: var(--body-font); font-weight: 700; letter-spacing: 0; }

/* Home quality details */
.identity-card { animation: identityFloat 7s ease-in-out infinite; }
.identity-shape--gold { animation: identityGoldFloat 8s ease-in-out infinite; }
@keyframes identityFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes identityGoldFloat { 0%,100% { transform: rotate(10deg) translateY(0); } 50% { transform: rotate(8deg) translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.trust-strip { position: relative; z-index: 3; background: var(--paper); border-block: 1px solid var(--line); }
.trust-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip article { min-height: 125px; padding: 26px 28px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.trust-strip article:last-child { border-inline-start: 0; }
.trust-strip strong { font-family: var(--heading-font); font-size: 17px; }
.trust-strip span { margin-top: 4px; color: var(--muted); font-size: 12px; }

.quick-sections { background: #f4eee3; }
.quick-grid a { position: relative; overflow: hidden; background: rgba(255,255,255,.26); }
.quick-grid a::after { content: "←"; position: absolute; left: 28px; bottom: 24px; color: var(--gold); font-size: 24px; opacity: 0; transform: translateX(10px); transition: .25s ease; }
.quick-grid a:hover::after { opacity: 1; transform: translateX(0); }
.quick-grid a:hover { background: rgba(255,253,248,.9); }

.section-action { margin-top: 30px; }

/* Organizational structure */
.organization-section { background: linear-gradient(180deg, var(--ivory), #f4eee3); }
.org-chart-shell { overflow: hidden; margin-top: 44px; border: 1px solid rgba(25,49,89,.13); border-radius: 30px; background: var(--paper); box-shadow: var(--shadow-soft); }
.org-chart-toolbar { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; border-bottom: 1px solid var(--line); background: rgba(245,239,227,.68); }
.org-chart-toolbar strong, .org-chart-toolbar span { display: block; }
.org-chart-toolbar strong { font-family: var(--heading-font); font-size: 16px; }
.org-chart-toolbar span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.org-chart-viewport { padding: clamp(18px, 3vw, 38px); overflow: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--gold) var(--ivory-2); }
.org-chart-viewport img { width: 100%; min-width: 760px; margin-inline: auto; border-radius: 18px; }

/* Document cards with the same physical movement language as the licence */
.resource-list { display: grid; gap: 12px; }
.resource-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) auto;
  align-items: center;
  gap: 15px;
  min-height: 86px;
  padding: 14px 16px;
  overflow: hidden;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 10px 26px rgba(25,49,89,.045);
  transform: perspective(900px) rotateX(0) rotateY(0);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.resource-card::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .28s ease; }
.resource-card:hover { z-index: 2; border-color: rgba(188,147,81,.44); background: #fff; box-shadow: 0 24px 55px rgba(25,49,89,.13); transform: perspective(900px) rotateX(1deg) rotateY(-1deg) translateY(-5px); }
.resource-card:hover::after { transform: scaleY(1); }
.resource-icon { display: grid !important; place-items: center; width: 48px; height: 54px; border-radius: 11px 11px 14px 14px; color: #fff !important; background: linear-gradient(145deg, var(--navy), var(--navy-deep)); box-shadow: 0 8px 18px rgba(25,49,89,.18); }
.resource-icon::before { content: ""; position: absolute; }
.resource-icon b { color: var(--gold-light); font-size: 9px; letter-spacing: .08em; }
.resource-copy { min-width: 0; }
.resource-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--heading-font); font-size: 13px; }
.resource-copy > span { margin-top: 4px; line-height: 1.7; }
.resource-copy em { display: inline-flex; margin-top: 5px; padding: 2px 8px; border-radius: 99px; color: #925d1d; background: #fff2d9; font-size: 9px; font-style: normal; font-weight: 700; }
.resource-card .badge { display: inline-flex; align-items: center; gap: 7px; }
.resource-card .badge i { color: var(--gold); font-size: 16px; font-style: normal; transition: transform .2s ease; }
.resource-card:hover .badge i { transform: translateX(-4px); }
.resource-card.is-demo { border-style: dashed; }
.document-columns { align-items: start; }
.document-columns > article { min-height: 390px; }

/* Programme and impact cards */
.program-card { border-radius: 28px; }
.program-card > img, .program-no-image { height: 230px; }
.program-card-body h3 { font-size: 20px; line-height: 1.6; }
.program-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.program-card-foot em { padding: 3px 8px; border-radius: 99px; color: #925d1d; background: #fff2d9; font-size: 9px; font-style: normal; font-weight: 700; }
.impact-stat-grid article { position: relative; overflow: hidden; min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.impact-stat-grid article::before { content: ""; position: absolute; width: 120px; height: 120px; left: -55px; bottom: -70px; border: 1px solid rgba(188,147,81,.25); border-radius: 50%; }
.impact-stat-grid strong { font-size: clamp(34px, 4vw, 48px); }
.impact-report-list { padding-top: 20px; }

/* Media and partners */
.media-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.media-news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; }
.media-news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.media-news-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-news-card > div { padding: 24px; }
.media-news-card span { color: var(--gold); font-size: 10px; font-weight: 700; }
.media-news-card h3 { margin: 8px 0 10px; font-size: 20px; }
.media-news-card p { margin: 0; font-size: 12px; }
.media-subsection { margin-top: 90px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid figure { overflow: hidden; margin: 0; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow-soft); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.gallery-grid figure:hover img { transform: scale(1.035); }
.gallery-grid figcaption { padding: 18px 20px; }
.gallery-grid figcaption strong, .gallery-grid figcaption span { display: block; }
.gallery-grid figcaption strong { font-family: var(--heading-font); }
.gallery-grid figcaption span { color: var(--muted); font-size: 11px; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.partner-card { min-height: 310px; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); text-align: center; box-shadow: var(--shadow-soft); transition: transform .25s ease, border-color .25s ease; }
.partner-card:hover { transform: translateY(-5px); border-color: rgba(188,147,81,.42); }
.partner-logo { height: 150px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 20px; background: var(--ivory-2); }
.partner-logo img { max-width: 82%; max-height: 112px; object-fit: contain; }
.partner-card strong { font-family: var(--heading-font); font-size: 18px; }
.partner-card p { margin: 9px 0 0; font-size: 12px; }

/* Footer: clearer information architecture */
.footer-main { grid-template-columns: 1.4fr .75fr .95fr .9fr; gap: 52px; }
.footer-logo { width: 96px; }
.footer-license { width: fit-content; display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; }
.footer-license span { font-size: 9px; }
.footer-license strong { color: var(--gold-light); font-size: 10px; }
.footer-links a { width: fit-content; }
.footer-links a span { color: var(--gold); }
.footer-contact-button { margin-top: 10px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 99px; color: #fff; }
.footer-bottom > div { display: flex; align-items: center; gap: 10px; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .62s ease var(--reveal-delay, 0ms), transform .62s cubic-bezier(.22,.7,.2,1) var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1280px) {
  .nav-link, .dropdown-toggle { padding-inline: 8px; font-size: 11.4px; }
  .brand { min-width: 62px; }
  .brand img { height: 60px; }
}

@media (max-width: 1180px) {
  .navbar { min-height: 84px; justify-content: space-between; }
  .brand img { height: 62px; }
  .main-nav { top: 84px; height: calc(100dvh - 84px); max-height: calc(100dvh - 84px); }
  .nav-list { display: grid; align-content: start; gap: 8px; }
  .nav-link, .dropdown-toggle { width: 100%; justify-content: space-between; padding-inline: 18px; border-radius: 14px; text-align: right; }
  .nav-link--contact { justify-content: center; margin: 8px 0 0; }
  .dropdown { width: 100%; }
  .dropdown-menu { position: static; display: none; width: 100%; min-width: 0; margin-top: 6px; padding: 8px; border: 0; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .dropdown-menu::before { display: none; }
  .dropdown.open .dropdown-menu { display: grid; }
  .dropdown-menu a { min-height: 44px; color: rgba(255,255,255,.78); }
  .dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-main > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  .trust-strip-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip article:nth-child(2) { border-inline-start: 0; }
  .trust-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .media-news-grid, .gallery-grid, .partner-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :last-child { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 30px, var(--container)); }
  .navbar { min-height: 76px; }
  .brand { min-width: 0; }
  .brand img { height: 56px; }
  .main-nav { top: 76px; height: calc(100dvh - 76px); max-height: calc(100dvh - 76px); padding: 14px 15px calc(28px + env(safe-area-inset-bottom)); }
  .hero-home { min-height: auto; }
  .hero-grid { min-height: auto; padding-block: 54px 42px; gap: 20px; }
  .hero-copy h1 { font-size: clamp(44px, 14vw, 62px); line-height: 1.32; }
  .hero-copy p { font-size: 14px; line-height: 2; }
  .identity-showcase { height: 330px; transform: scale(.88); transform-origin: center; }
  .hero-contact-band { position: relative; }
  .contact-band-grid { grid-template-columns: 1fr; }
  .contact-band-grid > a { min-height: 78px; border-inline-start: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .trust-strip-grid { grid-template-columns: 1fr; }
  .trust-strip article { min-height: 100px; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .trust-strip article:last-child { border-bottom: 0; }
  .page-hero { padding: 58px 0 62px; }
  .page-hero h1 { font-size: clamp(38px, 11vw, 50px); }
  .page-hero p { font-size: 13px; }
  .content-section, .quick-sections, .license-feature { padding-block: 72px; }
  .content-section h2, .quick-heading h2 { font-size: clamp(30px, 9vw, 40px); }
  .anchor-nav { grid-template-columns: 1fr; }
  .anchor-nav a { min-height: 44px; display: grid; place-items: center; }
  .org-chart-toolbar { align-items: stretch; flex-direction: column; padding: 18px; }
  .org-chart-toolbar .button { width: 100%; }
  .org-chart-viewport { padding: 14px; }
  .org-chart-viewport img { min-width: 980px; }
  .resource-card { grid-template-columns: 46px minmax(0,1fr); min-height: 96px; }
  .resource-icon { width: 43px; height: 50px; }
  .resource-card .badge { grid-column: 2; justify-self: start; margin-top: -6px; }
  .resource-copy strong { white-space: normal; }
  .media-news-grid, .gallery-grid, .partner-grid { grid-template-columns: 1fr; }
  .media-subsection { margin-top: 65px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; padding-top: 58px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { gap: 14px; }
  .footer-bottom > div { flex-wrap: wrap; }
  [data-reveal] { transform: translateY(14px); }
}

/* =========================================================
   Premium V2 — stronger Arabic typography, direct contact,
   clickable programmes/news, detail pages and mobile polish
   ========================================================= */
:root {
  --heading-font: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  --body-font: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}
body { font-family: var(--body-font); font-size: 15px; font-weight: 500; }
h1, h2, h3, h4, .footer-title, .brand, .button, .nav-link, .dropdown-toggle { font-family: var(--heading-font); letter-spacing: 0 !important; }
h1, h2 { font-weight: 800; }
h3 { font-weight: 700; }
p { color: var(--muted); }
.hero-copy p, .page-hero p, .contact-cta p { color: rgba(255,255,255,.76); }

/* Desktop header uses the secondary navy/gold logo on a light bar. */
@media (min-width: 1181px) {
  .site-header {
    color: var(--navy);
    background: rgba(255,253,248,.97);
    border-bottom: 1px solid rgba(25,49,89,.11);
    box-shadow: 0 8px 30px rgba(8,24,47,.055);
  }
  .site-header::after { opacity: .7; }
  .navbar { min-height: 96px; gap: 18px; }
  .brand { min-width: 82px; justify-content: flex-start; }
  .brand img { width: 66px; height: 78px; }
  .nav-link, .dropdown-toggle { color: rgba(25,49,89,.88); font-size: 11.2px; font-weight: 700; }
  .nav-link:hover, .dropdown-toggle:hover, .nav-link.active, .dropdown-toggle.active, .dropdown.open > .dropdown-toggle {
    color: var(--navy-deep); background: rgba(188,147,81,.14);
  }
  .header-contact-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
  .header-contact-link {
    min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px;
    border: 1px solid rgba(25,49,89,.12); border-radius: 99px; color: var(--navy); background: #fff;
    font-family: var(--heading-font); font-size: 10.5px; font-weight: 700; transition: .2s ease;
  }
  .header-contact-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .header-contact-link:hover { transform: translateY(-2px); border-color: rgba(188,147,81,.55); box-shadow: 0 10px 25px rgba(8,24,47,.09); }
  .header-contact-link--whatsapp { color: #fff; border-color: var(--navy); background: var(--navy); }
}

.header-contact-actions { display: none; }
.brand-copy { display: none !important; }

/* Mobile/tablet keeps the original white/gold mark on navy. */
@media (max-width: 1180px) {
  .site-header { color: #fff; background: rgba(8,24,47,.98); }
  .brand img { width: 48px; height: 59px; }
  .header-contact-actions { display: none; }
}

/* More legible titles and body copy. */
.hero-copy h1 { line-height: 1.36; }
.page-hero h1 { line-height: 1.45; }
.section-heading h2, .quick-heading h2, .license-copy h2, .editorial-section h2 { font-weight: 800; line-height: 1.55; }
.section-heading > p, .quick-heading > p, .program-card-body p, .media-news-card p, .partner-card p { font-size: 13px; line-height: 1.95; }
.nav-link, .dropdown-toggle { font-weight: 700; }
.button { font-weight: 800; }

/* Direct contact in footer. */
.footer-direct-link { display: block; }
.footer-direct-link--whatsapp { width: 100% !important; padding: 11px 13px; border: 1px solid rgba(216,190,140,.24); border-radius: 14px; background: rgba(255,255,255,.04); }
.footer-direct-link--whatsapp span, .footer-direct-link--whatsapp strong { display: block; }
.footer-direct-link--whatsapp span { color: #fff; font-family: var(--heading-font); font-size: 11px; }
.footer-direct-link--whatsapp strong { margin-top: 2px; color: var(--gold-light); font-size: 11px; }

/* Clickable programme and media cards. */
.program-card, .media-news-card { display: block; position: relative; color: inherit; }
.program-card:focus-visible, .media-news-card:focus-visible, .gallery-item:focus-visible { outline: 3px solid rgba(188,147,81,.65); outline-offset: 4px; }
.program-card-media, .media-news-image { position: relative; display: block; overflow: hidden; }
.program-card-media img { width: 100%; height: 230px; object-fit: cover; transition: transform .45s ease; }
.media-news-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .45s ease; }
.program-card-media::after, .media-news-image::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,24,47,.68)); opacity: 0; transition: .25s ease;
}
.program-card-media i, .media-news-image i {
  position: absolute; z-index: 2; left: 18px; bottom: 16px; padding: 7px 11px; border-radius: 99px; color: #fff;
  background: rgba(8,24,47,.78); backdrop-filter: blur(8px); font-family: var(--heading-font); font-size: 9px; font-style: normal; font-weight: 700;
  opacity: 0; transform: translateY(8px); transition: .25s ease;
}
.program-card:hover .program-card-media img, .media-news-card:hover .media-news-image img { transform: scale(1.045); }
.program-card:hover .program-card-media::after, .media-news-card:hover .media-news-image::after,
.program-card:hover .program-card-media i, .media-news-card:hover .media-news-image i { opacity: 1; transform: translateY(0); }
.card-detail-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--navy); font-family: var(--heading-font); font-size: 10.5px; font-weight: 700; }
.card-detail-link span { color: var(--gold); font-size: 18px; transition: transform .2s ease; }
.program-card:hover .card-detail-link span, .media-news-card:hover .card-detail-link span { transform: translateX(-4px); }

/* Gallery buttons and lightbox. */
.gallery-item { width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow-soft); text-align: right; cursor: zoom-in; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item > span { display: block; padding: 18px 20px; }
.gallery-item strong, .gallery-item small { display: block; }
.gallery-item strong { font-family: var(--heading-font); font-size: 14px; }
.gallery-item small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.8; }
body.lightbox-open { overflow: hidden; }
.site-lightbox { position: fixed; z-index: 5000; inset: 0; display: grid; place-items: center; padding: 24px; }
.site-lightbox-backdrop { position: absolute; inset: 0; border: 0; background: rgba(3,10,20,.88); cursor: zoom-out; }
.site-lightbox-panel { position: relative; z-index: 1; width: min(1080px, 100%); max-height: calc(100dvh - 48px); overflow: auto; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: #0d1f39; box-shadow: 0 30px 100px rgba(0,0,0,.5); }
.site-lightbox-panel img { width: 100%; max-height: 76dvh; object-fit: contain; background: #07162b; }
.site-lightbox-panel > div { padding: 18px 22px 22px; color: #fff; }
.site-lightbox-panel strong { font-family: var(--heading-font); }
.site-lightbox-panel p { margin: 6px 0 0; color: rgba(255,255,255,.68); }
.site-lightbox-close { position: absolute; z-index: 2; top: 14px; left: 14px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: rgba(8,24,47,.78); font-size: 27px; cursor: pointer; }

/* Detail pages. */
.detail-hero { padding: 26px 0; color: #fff; background: var(--navy-deep); }
.detail-back { display: inline-flex; align-items: center; min-height: 42px; color: var(--gold-light); font-family: var(--heading-font); font-size: 11px; font-weight: 700; }
.detail-page { padding-top: 70px; }
.detail-loading, .detail-empty { min-height: 320px; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; }
.detail-loading span { width: 42px; height: 42px; border: 3px solid rgba(25,49,89,.15); border-top-color: var(--gold); border-radius: 50%; animation: detailSpin .8s linear infinite; }
@keyframes detailSpin { to { transform: rotate(360deg); } }
.program-detail { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 62px; align-items: start; }
.detail-cover { position: sticky; top: 126px; overflow: hidden; border-radius: 30px; background: var(--paper); box-shadow: var(--shadow); }
.detail-cover img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-cover > span { display: block; padding: 17px 22px; color: var(--gold); font-family: var(--heading-font); font-size: 11px; font-weight: 700; }
.detail-content h1, .news-detail-heading h1 { margin-bottom: 20px; font-size: clamp(34px, 4.7vw, 62px); line-height: 1.5; }
.detail-lead { color: var(--navy-soft); font-size: 17px; line-height: 2; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 34px 0; }
.detail-facts > div { padding: 17px 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.detail-facts dt { color: var(--muted); font-size: 10px; font-weight: 700; }
.detail-facts dd { margin: 5px 0 0; color: var(--navy); font-family: var(--heading-font); font-size: 12px; font-weight: 700; }
.detail-copy { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.detail-copy h2 { font-size: 22px; }
.detail-copy p, .detail-copy li { color: var(--muted); font-size: 14px; line-height: 2.15; }
.detail-copy ul { margin: 0; padding-right: 23px; }
.detail-copy li::marker { color: var(--gold); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.news-detail { max-width: 980px; margin-inline: auto; }
.news-detail-heading { max-width: 820px; margin-inline: auto; text-align: center; }
.news-detail-heading .eyebrow { justify-content: center; }
.news-detail-heading time { display: block; margin-bottom: 14px; color: var(--gold); font-family: var(--heading-font); font-size: 11px; }
.news-detail-image { position: relative; width: 100%; margin-top: 45px; padding: 0; overflow: hidden; border: 0; border-radius: 30px; background: var(--paper); box-shadow: var(--shadow); cursor: zoom-in; }
.news-detail-image img { width: 100%; max-height: 650px; object-fit: cover; }
.news-detail-image span { position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; border-radius: 99px; color: #fff; background: rgba(8,24,47,.8); font-family: var(--heading-font); font-size: 9px; }
.news-detail-copy { max-width: 760px; margin: 40px auto 0; }

/* Contact page without backend. */
.direct-contact-section { background: linear-gradient(180deg, var(--ivory), #f3ecdf); }
.direct-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.direct-contact-card { min-height: 340px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 38px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); box-shadow: var(--shadow-soft); transition: .25s ease; }
.direct-contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.direct-contact-card--whatsapp { color: #fff; border-color: transparent; background: linear-gradient(145deg, var(--navy), var(--navy-deep)); }
.direct-contact-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: auto; border-radius: 17px; color: var(--navy); background: var(--gold); font-size: 25px; }
.direct-contact-card small { color: var(--gold); font-weight: 800; }
.direct-contact-card--whatsapp small { color: var(--gold-light); }
.direct-contact-card h3 { margin: 8px 0; font-size: 25px; }
.direct-contact-card strong { font-size: 15px; }
.direct-contact-card b { margin-top: 22px; color: var(--gold); font-family: var(--heading-font); font-size: 11px; }
.contact-guidance { margin-top: 24px; padding: 24px 28px; border-right: 4px solid var(--gold); border-radius: 16px; background: rgba(255,255,255,.62); }
.contact-guidance strong { font-family: var(--heading-font); }
.contact-guidance p { margin: 4px 0 0; }

/* Privacy page. */
.policy-layout { display: grid; gap: 16px; max-width: 940px; }
.policy-layout article { display: grid; grid-template-columns: 68px 1fr; gap: 22px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.policy-layout article > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; color: var(--gold); background: var(--navy); font-family: var(--heading-font); font-size: 11px; }
.policy-layout h2 { margin-bottom: 7px; font-size: 19px; }
.policy-layout p { margin: 0; font-size: 13px; }

/* Mobile persistent direct-contact dock. */
.mobile-contact-dock { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-contact-dock {
    position: fixed; z-index: 1800; right: 10px; bottom: calc(9px + env(safe-area-inset-bottom)); left: 10px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px; background: rgba(8,24,47,.96); box-shadow: 0 18px 45px rgba(0,0,0,.28); backdrop-filter: blur(16px);
  }
  .mobile-contact-dock a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; color: #fff; background: rgba(255,255,255,.07); }
  .mobile-contact-dock a:first-child { color: var(--navy-deep); background: var(--gold); }
  .mobile-contact-dock span { font-size: 18px; }
  .mobile-contact-dock strong { font-family: var(--heading-font); font-size: 10px; }
  .program-card-media img { height: 215px; }
  .program-detail { grid-template-columns: 1fr; gap: 34px; }
  .detail-cover { position: static; }
  .detail-content h1, .news-detail-heading h1 { font-size: clamp(31px, 10vw, 44px); }
  .detail-lead { font-size: 15px; }
  .detail-facts { grid-template-columns: 1fr; }
  .direct-contact-grid { grid-template-columns: 1fr; }
  .direct-contact-card { min-height: 280px; padding: 28px; }
  .policy-layout article { grid-template-columns: 1fr; }
  .site-lightbox { padding: 10px; }
  .site-lightbox-panel { max-height: calc(100dvh - 20px); border-radius: 18px; }
  .footer-main { padding-bottom: 90px; }
}
.home-media-section { background: var(--ivory-2); border-top: 1px solid var(--line); }
.home-media-section .section-action { display: flex; justify-content: flex-start; }
@media (min-width: 1181px) {
  .header-contact-actions { display: flex; }
}

/* Premium V3 — richer demo states and resilient local preview. */
.media-news-grid:has(.media-news-card:only-child), .gallery-grid:has(.gallery-item:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline-start: auto; }
.program-grid:has(.program-card:only-child), .partner-grid:has(.partner-card:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline-start: auto; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* Keep the secondary navy/gold logo legible while the desktop header is sticky. */
@media (min-width: 1181px) {
  .site-header.is-scrolled {
    color: var(--navy);
    background: rgba(255,253,248,.985);
    border-bottom-color: rgba(25,49,89,.13);
    box-shadow: 0 14px 40px rgba(4,15,31,.10);
  }
}


/* =========================================================
   Premium V4 — navy framing and a quieter, functional footer
   ========================================================= */
@media (min-width: 1181px) {
  .site-header,
  .site-header.is-scrolled {
    color: #fff;
    background: rgba(7, 22, 43, .985);
    border-bottom-color: rgba(255, 255, 255, .09);
    box-shadow: 0 10px 34px rgba(4, 15, 31, .18);
  }
  .nav-link,
  .dropdown-toggle {
    color: rgba(255, 255, 255, .84);
  }
  .nav-link:hover,
  .dropdown-toggle:hover,
  .nav-link.active,
  .dropdown-toggle.active,
  .dropdown.open > .dropdown-toggle {
    color: #fff;
    background: rgba(255, 255, 255, .085);
  }
  .header-contact-link {
    color: #fff;
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .055);
    box-shadow: none;
  }
  .header-contact-link:hover {
    border-color: rgba(216, 190, 140, .65);
    background: rgba(255, 255, 255, .10);
    box-shadow: none;
  }
  .header-contact-link--whatsapp {
    color: var(--navy-deep);
    border-color: var(--gold);
    background: var(--gold);
  }
  .header-contact-link--whatsapp:hover {
    color: var(--navy-deep);
    background: var(--gold-light);
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #07162b;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent 4%, rgba(188,147,81,.9) 50%, transparent 96%);
}
.footer-main--clean {
  grid-template-columns: minmax(300px, 1.25fr) minmax(300px, 1fr) minmax(330px, 1.1fr);
  align-items: start;
  gap: clamp(44px, 5vw, 82px);
  padding-block: 62px 44px;
}
.footer-main--clean .footer-brand p {
  max-width: 480px;
  margin-bottom: 0;
  color: rgba(255,255,255,.66);
  font-size: 12.5px;
  line-height: 2;
}
.footer-main--clean .footer-title {
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 800;
}
.footer-links--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  font-size: 11.5px;
}
.footer-links--grid a,
.footer-official-links a,
.footer-contact-value {
  transition: color .2s ease, transform .2s ease;
}
.footer-links--grid a:hover,
.footer-official-links a:hover,
.footer-contact-value:hover {
  color: var(--gold-light);
  transform: translateX(-3px);
}
.footer-contact-list {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}
.footer-contact-value {
  width: fit-content;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  line-height: 1.8;
}
.footer-contact-value--whatsapp strong {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
}
.footer-official-links {
  display: grid;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.footer-official-links a {
  width: fit-content;
  color: rgba(255,255,255,.70);
  font-size: 11px;
  line-height: 1.8;
}
.footer-official-links a span {
  color: var(--gold);
}
.footer-complaints-link {
  margin-top: 4px;
  color: #fff !important;
  font-weight: 700;
}
.footer-bottom {
  padding-block: 18px 22px;
  color: rgba(255,255,255,.58);
}
.footer-bottom a { color: var(--gold-light); }

/* Keep the skip link fully outside the canvas until keyboard focus. */
.skip-link {
  top: 14px;
  transform: translateY(-180%);
  transition: transform .18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 14px;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .footer-main--clean {
    grid-template-columns: 1fr 1fr;
  }
  .footer-main--clean .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .footer-main--clean {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 50px 34px;
  }
  .footer-main--clean .footer-brand { grid-column: auto; }
  .footer-links--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap-inline: 18px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .footer-links--grid { grid-template-columns: 1fr; }
}


/* =========================================================
   Premium V5 — mobile navigation contact, cleaner footer, calmer home
   ========================================================= */
.mobile-menu-contact { display: none; }
.mobile-contact-dock { display: none !important; }

/* Four independent footer areas: brand, association links, related links, contact. */
.footer-main--clean {
  grid-template-columns: minmax(270px, 1.25fr) minmax(170px, .72fr) minmax(230px, .92fr) minmax(230px, .88fr);
  gap: clamp(34px, 4vw, 66px);
}
.footer-official-links--separate {
  padding-top: 0;
  border-top: 0;
}
.footer-contact-list--labelled { gap: 12px; }
.footer-contact-list--labelled .footer-contact-value {
  width: 100%;
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-contact-list--labelled .footer-contact-value > span {
  color: rgba(255,255,255,.55);
  font-size: 9.5px;
  font-weight: 700;
}
.footer-contact-list--labelled .footer-contact-value > strong {
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.footer-contact-list--labelled .footer-contact-value--whatsapp > strong { color: var(--gold-light); font-size: 12.5px; }
.footer-contact-location { cursor: default; }
.footer-complaints-link--button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  padding: 9px 13px;
  border: 1px solid rgba(216,190,140,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #fff !important;
  font-size: 10.5px;
}
.footer-complaints-link--button:hover { border-color: var(--gold); background: rgba(188,147,81,.10); }

/* The licence message is now direct and neutral. */
.license-copy h2 { max-width: 760px; }

@media (max-width: 1180px) {
  .main-nav {
    display: flex;
    flex-direction: column;
  }
  .nav-list { flex: 0 0 auto; }
  .mobile-menu-contact {
    display: block;
    position: sticky;
    bottom: -1px;
    z-index: 3;
    width: min(100%, 720px);
    margin: auto auto 0;
    padding: 16px 0 calc(4px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(8,24,47,0), #08182f 24%, #08182f 100%);
  }
  .mobile-menu-contact-title {
    display: block;
    margin-bottom: 9px;
    color: var(--gold-light);
    font-family: var(--heading-font);
    font-size: 10px;
    font-weight: 700;
  }
  .mobile-menu-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .mobile-menu-contact-grid > a {
    min-width: 0;
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.055);
  }
  .mobile-menu-contact-grid > a:first-child {
    color: var(--navy-deep);
    border-color: var(--gold);
    background: var(--gold);
  }
  .mobile-menu-contact-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 16px;
  }
  .mobile-menu-contact-grid a > span:last-child { min-width: 0; display: grid; gap: 1px; }
  .mobile-menu-contact-grid small { font-size: 9px; font-weight: 700; opacity: .76; }
  .mobile-menu-contact-grid strong { font-size: 10.5px; font-weight: 800; line-height: 1.55; overflow-wrap: anywhere; }

  .footer-main--clean { grid-template-columns: 1fr 1fr; }
  .footer-main--clean .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { padding-bottom: 0 !important; }

  /* Give the text below the identity card a clean, readable landing area. */
  .hero-grid { padding-block: 34px 56px; gap: 8px; }
  .identity-showcase {
    height: 322px;
    margin: -12px 0 18px;
    transform: scale(.80);
    transform-origin: center;
  }
  .hero-copy { width: 100%; padding-top: 18px; }
  .hero-copy .eyebrow {
    max-width: 300px;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 10.5px;
    line-height: 1.8;
  }
  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(39px, 12.5vw, 54px);
    line-height: 1.42;
  }
  .hero-copy p { font-size: 13px; line-height: 2.05; }

  .mobile-menu-contact-grid { grid-template-columns: 1fr; }
  .mobile-menu-contact-grid > a { min-height: 62px; }

  .footer-main--clean { grid-template-columns: 1fr; gap: 34px; }
  .footer-main--clean .footer-brand { grid-column: auto; }
  .footer-column--association,
  .footer-column--official,
  .footer-column--contact {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.10);
  }
  .footer-links--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { padding-bottom: 34px !important; }
}

@media (max-width: 390px) {
  .hero-copy h1 { font-size: 38px; }
  .footer-links--grid { grid-template-columns: 1fr; }
}


/* =========================================================
   Mobile menu V6 — compact sheet with balanced contact block
   Fixes the large empty gap between navigation and contact.
   ========================================================= */
@media (max-width: 1180px) {
  body.menu-open::after {
    content: "";
    position: fixed;
    z-index: 900;
    inset: 88px 0 0;
    background: rgba(3, 10, 20, .58);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .main-nav {
    bottom: auto;
    height: auto;
    max-height: calc(100dvh - 104px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 18px 24px 22px;
    border-radius: 0 0 28px 28px;
    background: linear-gradient(180deg, #08182f 0%, #0b1d38 100%);
    box-shadow: 0 24px 65px rgba(0, 0, 0, .34);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-list {
    flex: 0 0 auto;
    gap: 4px;
  }

  .nav-link,
  .dropdown-toggle {
    min-height: 48px;
    padding-inline: 15px;
  }

  .mobile-menu-contact {
    position: static;
    width: 100%;
    max-width: none;
    margin: 16px 0 0;
    padding: 15px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .11);
    background: none;
  }

  .mobile-menu-contact-title {
    margin-bottom: 8px;
  }

  .mobile-menu-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-menu-contact-grid > a {
    min-height: 60px;
    padding: 9px 11px;
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  body.menu-open::after { inset-block-start: 76px; }

  .main-nav {
    top: 76px;
    max-height: calc(100dvh - 88px);
    padding: 14px 15px 18px;
    border-radius: 0 0 22px 22px;
  }

  .nav-list { gap: 3px; }

  .nav-link,
  .dropdown-toggle {
    min-height: 46px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .mobile-menu-contact {
    margin-top: 12px;
    padding-top: 12px;
  }

  .mobile-menu-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-menu-contact-grid > a {
    min-height: 58px;
    gap: 8px;
    padding: 8px 9px;
  }

  .mobile-menu-contact-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .mobile-menu-contact-grid small { font-size: 8px; }
  .mobile-menu-contact-grid strong { font-size: 9px; line-height: 1.4; }
}

@media (max-width: 350px) {
  .mobile-menu-contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Mobile menu V7 — use the full drawer width for navigation.
   Prevents the implicit grid column from shrinking to content width.
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav {
    align-items: stretch;
  }

  .main-nav .nav-list {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: stretch;
  }

  .main-nav .nav-list > li,
  .main-nav .dropdown {
    width: 100%;
    min-width: 0;
  }

  .main-nav .nav-link,
  .main-nav .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    text-align: right;
  }
}


/* =========================================================
   Launch-ready content and approved identity refinements
   ========================================================= */
.strategic-objectives-section { background: #f7f1e7; }
.strategic-objectives-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.objective-pillar { overflow: hidden; border: 1px solid rgba(188,147,81,.35); border-radius: 26px; background: rgba(255,253,248,.92); box-shadow: var(--shadow-soft); }
.objective-pillar-head { min-height: 155px; display: flex; align-items: flex-start; gap: 16px; padding: 28px; color: #fff; background: linear-gradient(145deg, #102d56, #0b2344); }
.objective-pillar-head > span { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(216,190,140,.55); border-radius: 50%; color: var(--gold-light); font-size: 10px; font-weight: 900; }
.objective-pillar-head h3 { margin: 0 0 9px; color: #fff; font-size: 22px; }
.objective-pillar-head p { margin: 0; color: rgba(255,255,255,.7); font-size: 11.5px; line-height: 1.9; }
.objective-items { display: grid; gap: 13px; padding: 22px; }
.objective-items > div { position: relative; min-height: 100px; display: flex; align-items: center; padding: 20px 24px 20px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-family: var(--heading-font); font-size: 14px; font-weight: 700; line-height: 1.8; }
.objective-items > div::before { content: ""; position: absolute; inset-inline-start: 0; top: 20px; bottom: 20px; width: 4px; border-radius: 99px; background: var(--gold); }
.board-term { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 14px; padding: 14px; border: 1px solid rgba(188,147,81,.34); border-radius: 18px; background: var(--ivory-2); }
.board-term > div { display: grid; gap: 2px; padding: 10px 13px; border-radius: 12px; background: rgba(255,255,255,.7); }
.board-term small { color: var(--gold); font-size: 9px; font-weight: 800; }
.board-term strong { color: var(--navy); font-size: 13px; }
#cms-executive-members:has(> article:only-child) { grid-template-columns: minmax(280px, 560px); justify-content: center; }
.impact-coming { padding-bottom: 20px; }
.impact-coming-card { min-height: 190px; display: grid; place-items: center; gap: 5px; padding: 30px; border: 1px solid rgba(188,147,81,.35); border-radius: 28px; background: linear-gradient(145deg, #102d56, #0b2344); box-shadow: var(--shadow); text-align: center; }
.impact-coming-card span { color: var(--gold-light); font-size: 13px; font-weight: 800; }
.impact-coming-card strong { color: #fff; font-family: var(--heading-font); font-size: clamp(38px,7vw,72px); }
.survey-section { padding-top: 20px; }
.survey-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px 42px; border: 1px solid rgba(188,147,81,.35); border-radius: 28px; background: #fff; box-shadow: var(--shadow-soft); }
.survey-card h2 { margin-bottom: 10px; font-size: clamp(24px,3vw,38px); }
.survey-card p { margin: 0; color: var(--muted); }
.document-columns { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.document-columns > article { min-width: 0; padding: 28px; }
.resource-list { max-height: 940px; overflow-y: auto; padding-inline-end: 5px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.resource-copy { min-width: 0; }
.resource-card strong { line-height: 1.75; }
.hero-home::before { opacity: .12; }

@media (max-width: 1180px) {
  .strategic-objectives-grid, .document-columns { grid-template-columns: 1fr; }
  .resource-list { max-height: none; overflow: visible; padding-inline-end: 0; }
  .brand img { width: 59px; height: 72px; }
  .navbar { min-height: 88px; }
  .main-nav { top: 88px; max-height: calc(100dvh - 100px); }
  body.menu-open::after { inset-block-start: 88px; }
}
@media (max-width: 680px) {
  .objective-pillar-head { min-height: auto; padding: 23px; }
  .objective-items { padding: 16px; }
  .objective-items > div { min-height: 82px; font-size: 12.5px; }
  .board-term { grid-template-columns: 1fr; }
  .survey-card { align-items: stretch; flex-direction: column; padding: 28px 24px; }
  .survey-card .button { width: 100%; }
  .brand img { width: 57px; height: 70px; }
  .navbar { min-height: 86px; }
  .main-nav { top: 86px; max-height: calc(100dvh - 98px); }
  body.menu-open::after { inset-block-start: 86px; }
  .hero-home::before { background-size: 270px; background-position: -74px 92%; }
}


/* Launch: honor native hidden attribute */
[hidden] { display: none !important; }

/* Launch: show official governance document titles in full */
.document-columns .resource-copy strong { white-space: normal; overflow: visible; text-overflow: clip; font-size: 11.5px; line-height: 1.65; }
.document-columns .resource-card { align-items: start; }


/* =========================================================
   People sections — approved card layouts
   ========================================================= */
.people-section { position: relative; overflow: hidden; }
.people-section::before,
.people-section::after { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(188,147,81,.13); border-radius: 45% 55% 47% 53%; pointer-events: none; }
.people-section::before { inset-inline-start: -170px; top: 60px; box-shadow: 0 0 0 32px rgba(188,147,81,.045), 0 0 0 70px rgba(188,147,81,.025); }
.people-section::after { inset-inline-end: -190px; bottom: -90px; box-shadow: 0 0 0 38px rgba(188,147,81,.035), 0 0 0 82px rgba(188,147,81,.02); }
.people-section > .container { position: relative; z-index: 1; }
.people-section-heading { margin-inline: auto; text-align: center; }
.people-section-heading > p { margin-inline: auto; }
.profile-person-icon { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.profile-icon-wrap { display: grid; place-items: center; width: 62px; height: 62px; margin: -18px auto 15px; border: 1px solid rgba(188,147,81,.5); border-radius: 50%; color: var(--navy); background: linear-gradient(145deg,#fffaf0,#f2dfb5); box-shadow: 0 8px 22px rgba(25,49,89,.08); }
.profile-icon-wrap--gold { color: var(--navy); background: linear-gradient(145deg,#f5c866,#c99535); border: 5px solid #fff; box-shadow: 0 0 0 2px rgba(188,147,81,.3), 0 12px 26px rgba(25,49,89,.18); }
.profile-icon-wrap--solid { color: var(--navy); background: linear-gradient(145deg,#d9ac4e,#b9842f); }

.assembly-members-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 24px 22px; align-items: stretch; padding-top: 22px; }
.assembly-member-card { min-height: 178px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; grid-column: span 2; padding: 18px 18px 13px; border: 1px solid rgba(188,147,81,.5); border-radius: 17px; background: rgba(255,253,248,.94); box-shadow: 0 12px 30px rgba(25,49,89,.07); text-align: center; }
.assembly-member-card:nth-child(1) { grid-column: 3 / 5; grid-row: 1; }
.assembly-member-card:nth-child(2) { grid-column: 1 / 3; grid-row: 1; }
.assembly-member-card:nth-child(3) { grid-column: 5 / 7; grid-row: 1; }
.assembly-member-card:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }
.assembly-member-card:nth-child(5) { grid-column: 4 / 6; grid-row: 2; }
.assembly-member-card:nth-child(6) { grid-column: 1 / 3; grid-row: 3; }
.assembly-member-card:nth-child(7) { grid-column: 3 / 5; grid-row: 3; }
.assembly-member-card:nth-child(8) { grid-column: 5 / 7; grid-row: 3; }
.assembly-member-card:nth-child(9) { grid-column: 2 / 4; grid-row: 4; }
.assembly-member-card:nth-child(10) { grid-column: 4 / 6; grid-row: 4; }
.assembly-member-card h3 { margin: 0 0 13px; color: var(--navy); font-size: clamp(16px,1.55vw,23px); line-height: 1.65; }
.assembly-member-card p { width: 100%; margin: auto 0 0; padding: 8px 13px; border-radius: 99px; color: #fff; background: linear-gradient(135deg,#103661,#06294d); font-size: 11px; font-weight: 800; }
.assembly-member-card.is-president { color: #fff; border-color: rgba(188,147,81,.7); background: linear-gradient(145deg,#0d315b,#062544); box-shadow: 0 18px 38px rgba(6,37,68,.2); }
.assembly-member-card.is-president h3 { color: #fff; }
.assembly-member-card.is-president p { color: var(--navy); background: linear-gradient(135deg,#f4cd70,#dba94c); }

.board-showcase { max-width: 1180px; margin-inline: auto; }
.board-president-card { position: relative; width: min(580px,100%); min-height: 255px; margin: 0 auto; padding: 52px 52px 32px; border: 2px solid rgba(188,147,81,.75); border-radius: 30px; color: #fff; background: linear-gradient(145deg,#10355f,#092748); box-shadow: 0 20px 50px rgba(6,37,68,.22); text-align: center; }
.board-president-card .profile-icon-wrap { margin-top: -96px; width: 88px; height: 88px; }
.board-president-card .profile-person-icon { width: 50px; height: 50px; }
.board-president-card h3 { margin: 24px 0 20px; color: #fff; font-size: clamp(27px,3.2vw,44px); }
.board-president-card > span { display: block; max-width: 370px; margin-inline: auto; padding: 14px 24px; border-radius: 15px; color: var(--navy); background: linear-gradient(135deg,#e6b858,#d3a144); font-family: var(--heading-font); font-size: 19px; font-weight: 900; }
.board-divider { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 28px auto 36px; color: var(--gold); }
.board-divider::before,.board-divider::after { content: ""; width: min(170px,24vw); height: 2px; background: linear-gradient(to left,transparent,var(--gold)); }
.board-divider::after { transform: scaleX(-1); }
.board-divider span { width: 22px; height: 22px; transform: rotate(45deg); border: 3px solid #f7edd7; background: var(--navy); box-shadow: 0 0 0 2px var(--gold); }
.board-members-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.board-member-card { min-height: 290px; display: flex; flex-direction: column; align-items: center; padding: 38px 22px 22px; border: 1px solid rgba(188,147,81,.48); border-top: 7px solid var(--gold); border-radius: 21px; background: rgba(255,253,248,.95); box-shadow: 0 12px 28px rgba(25,49,89,.08); text-align: center; }
.board-member-card .profile-icon-wrap { margin-top: -9px; }
.board-member-card h3 { margin: 22px 0 17px; color: var(--navy); font-size: clamp(17px,1.75vw,24px); line-height: 1.7; }
.board-member-card p { width: 100%; margin: auto 0 0; padding: 12px 10px; border-radius: 15px; color: #fff; background: linear-gradient(135deg,#103661,#06294d); font-size: 12px; font-weight: 900; }
.board-member-card.is-vice { border-color: rgba(188,147,81,.85); box-shadow: 0 16px 34px rgba(188,147,81,.15); }
.board-member-card.is-vice p { color: var(--navy); background: linear-gradient(135deg,#dcb14d,#c89735); }
.board-term-showcase { display: grid; grid-template-columns: 1fr 1fr; max-width: 760px; margin: 26px auto 0; border: 1px solid rgba(188,147,81,.45); border-radius: 20px; background: rgba(255,253,248,.94); box-shadow: 0 10px 25px rgba(25,49,89,.06); }
.board-term-showcase > div { position: relative; display: grid; gap: 4px; padding: 17px 24px; text-align: center; }
.board-term-showcase > div + div::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; bottom: 18px; width: 1px; background: rgba(188,147,81,.35); }
.board-term-showcase small { color: var(--gold); font-size: 10px; font-weight: 900; }
.board-term-showcase strong { color: var(--navy); font-size: 16px; }

.people-section--executive { background: #fbf7ef; }
.executive-showcase { position: relative; min-height: 500px; overflow: hidden; display: grid; grid-template-columns: minmax(260px,.36fr) 1fr; border: 1px solid rgba(188,147,81,.28); border-radius: 34px; background: #fbf7ef; box-shadow: 0 18px 45px rgba(25,49,89,.08); }
.executive-side-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 50px 35px; color: var(--gold); background: linear-gradient(160deg,#123a68,#09294d); }
.executive-side-panel::after { content: ""; position: absolute; inset-inline-end: -90px; top: -8%; width: 160px; height: 116%; border: 2px solid rgba(188,147,81,.85); border-radius: 50%; background: inherit; }
.executive-side-panel > * { position: relative; z-index: 1; }
.executive-side-panel .profile-icon-wrap { width: 108px; height: 108px; margin: 0; }
.executive-side-panel .profile-person-icon { width: 58px; height: 58px; }
.executive-side-panel > span { padding-top: 20px; border-top: 2px solid rgba(188,147,81,.65); font-family: var(--heading-font); font-size: 24px; font-weight: 900; }
.executive-main-panel { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 68px; padding: 70px clamp(42px,8vw,120px) 55px 70px; }
.executive-name-block { text-align: right; }
.executive-name-block h3 { margin: 0; color: var(--navy); font-size: clamp(34px,4.5vw,62px); line-height: 1.5; }
.executive-name-block > span { display: block; width: min(440px,75%); height: 2px; margin-top: 22px; background: linear-gradient(to left,var(--gold),transparent); }
.executive-contact-card { display: grid; grid-template-columns: 1fr 1fr; max-width: 780px; overflow: hidden; border: 1px solid rgba(188,147,81,.3); border-inline-end: 7px solid var(--gold); border-radius: 24px; background: #fff; box-shadow: 0 18px 38px rgba(25,49,89,.1); }
.executive-contact-item { display: flex; align-items: center; justify-content: center; gap: 18px; min-width: 0; padding: 24px 22px; color: var(--navy); text-align: center; }
.executive-contact-item + .executive-contact-item { border-inline-start: 1px solid rgba(188,147,81,.3); }
.executive-contact-icon { flex: 0 0 auto; display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid var(--gold); border-radius: 50%; }
.executive-contact-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.executive-contact-item small,.executive-contact-item strong { display: block; }
.executive-contact-item small { margin-bottom: 5px; color: var(--gold); font-size: 11px; font-weight: 900; }
.executive-contact-item strong { color: var(--navy); font-size: clamp(15px,1.7vw,24px); overflow-wrap: anywhere; }

@media (max-width: 980px) {
  .assembly-members-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .assembly-member-card,.assembly-member-card:nth-child(n) { grid-column: auto; grid-row: auto; }
  .assembly-member-card.is-president { grid-column: 1 / -1; width: min(460px,100%); justify-self: center; }
  .board-members-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .executive-showcase { grid-template-columns: 1fr; }
  .executive-side-panel { min-height: 230px; }
  .executive-side-panel::after { display: none; }
  .executive-main-panel { padding: 45px; gap: 36px; }
}
@media (max-width: 640px) {
  .people-section { padding-block: 76px; }
  .assembly-members-grid,.board-members-grid { grid-template-columns: 1fr; gap: 25px; }
  .assembly-member-card.is-president { grid-column: auto; width: 100%; }
  .assembly-member-card,.board-member-card { min-height: 205px; }
  .board-president-card { min-height: 230px; padding: 46px 22px 26px; }
  .board-president-card h3 { font-size: 25px; }
  .board-president-card > span { font-size: 15px; }
  .board-term-showcase { grid-template-columns: 1fr; }
  .board-term-showcase > div + div::before { top: 0; right: 20px; left: 20px; width: auto; height: 1px; }
  .executive-showcase { min-height: 0; border-radius: 26px; }
  .executive-side-panel { min-height: 210px; padding: 38px 20px; }
  .executive-side-panel .profile-icon-wrap { width: 92px; height: 92px; }
  .executive-side-panel > span { font-size: 20px; }
  .executive-main-panel { padding: 38px 20px; }
  .executive-name-block { text-align: center; }
  .executive-name-block h3 { font-size: 29px; }
  .executive-name-block > span { margin-inline: auto; }
  .executive-contact-card { grid-template-columns: 1fr; border-inline-end-width: 5px; }
  .executive-contact-item { justify-content: flex-start; text-align: right; }
  .executive-contact-item + .executive-contact-item { border-inline-start: 0; border-top: 1px solid rgba(188,147,81,.3); }
}


/* Mobile full-image people views and central contact page */
.mobile-people-poster { display: none; }
.contact-survey-section { padding-top: 0; }
.survey-card--contact { border: 1px solid rgba(188,147,81,.38); box-shadow: 0 18px 42px rgba(25,49,89,.09); }
@media (max-width: 768px) {
  #cms-assembly-members, #cms-board-members { display: none !important; }
  .mobile-people-poster { display: grid; gap: 16px; justify-items: center; padding: 24px 18px; border: 1px solid rgba(188,147,81,.48); border-radius: 22px; background: rgba(255,253,248,.96); box-shadow: 0 14px 34px rgba(25,49,89,.08); text-align: center; }
  .mobile-people-poster-icon { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(188,147,81,.65); border-radius: 50%; color: var(--navy); background: linear-gradient(145deg,#fff9e9,#f0d695); font-size: 25px; }
  .mobile-people-poster h3 { margin: 0 0 7px; color: var(--navy); font-size: 20px; }
  .mobile-people-poster p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
  .mobile-people-poster-actions { width: 100%; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .mobile-people-poster-actions .button { width: 100%; justify-content: center; }
  .survey-card--contact { align-items: stretch; }
  .survey-card--contact .button { width: 100%; justify-content: center; }
}


/* Contact page simplification and reliable mobile image actions */
.contact-heading-simple { margin-bottom: 28px; }
.contact-heading-simple h2 { margin-bottom: 0; }
.direct-contact-grid--simple { max-width: 940px; margin-inline: auto; }
.direct-contact-grid--simple .direct-contact-card {
  min-height: 240px;
  justify-content: center;
  align-items: center;
  padding: 32px;
  text-align: center;
}
.direct-contact-grid--simple .direct-contact-icon { margin-bottom: 20px; }
.direct-contact-grid--simple .direct-contact-card h3 { margin: 0 0 10px; }
.direct-contact-grid--simple .direct-contact-card b { margin-top: 18px; }
.mobile-people-poster-preview {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(188,147,81,.35);
  border-radius: 15px;
  background: #fff;
}
.mobile-people-poster-actions,
.mobile-people-poster-actions .button {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}
.mobile-people-poster-actions .button[aria-busy="true"] { opacity: .72; }

@media (max-width: 768px) {
  .direct-contact-section { padding-block: 68px; }
  .contact-heading-simple { margin-bottom: 22px; text-align: center; }
  .direct-contact-grid--simple { gap: 14px; }
  .direct-contact-grid--simple .direct-contact-card {
    min-height: 190px;
    padding: 25px 20px;
  }
  .mobile-people-poster { padding: 16px; gap: 13px; }
  .mobile-people-poster h3 { margin: 0; }
}
/* Keep footer links compact on every page; the survey now lives on Contact. */
.footer-links--grid > a[href*="satisfaction-survey"] { display: none !important; }

/* Organizational chart: compact mobile treatment matching assembly and board. */
.mobile-org-poster { display: none; }
.mobile-org-poster-preview {
  object-fit: contain;
  object-position: center;
  background: #fffdf8;
}

/* The desktop header no longer shows the quick email/WhatsApp pills. */
.header-contact-actions { display: none !important; }

@media (max-width: 768px) {
  .organization-section .org-chart-shell { display: none !important; }
  .mobile-org-poster { display: grid; }
  .mobile-org-poster-preview {
    max-height: 210px;
    padding: 8px;
  }
}

/* Desktop navigation alignment: keep the menu next to the logo on the right. */
@media (min-width: 1181px) {
  .main-nav { flex: 1; }
  .nav-list { justify-content: flex-start; }
}
