/* Eye of Madinah: Krowd layout, Eye of Madinah identity */
:root {
  --primary: #00372F;
  --primary-700: #0A4A3F;
  --secondary: #C49B74;
  --secondary-600: #B0855C;
  --accent: #062621;
  --text: #6E7A75;
  --light: #F4EFE6;
  --border: #E6DED1;
  --sage: #A9B8A5;
  --sand: #D7B96E;
  --brick: #B8755B;
  --white: #fff;

  --font-head: 'Abril Fatface', Georgia, serif;
  --font-body: 'Roboto', system-ui, sans-serif;
  --container: 1170px;
  --gutter: 15px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 10px 40px rgba(6, 38, 33, .08);

  --waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400' viewBox='0 0 800 400' fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M0 300C120 240 200 360 330 300S560 180 800 250'/%3E%3Cpath d='M0 310C120 250 200 370 330 310S560 190 800 260'/%3E%3Cpath d='M0 320C120 260 200 380 330 320S560 200 800 270'/%3E%3Cpath d='M0 330C120 270 200 390 330 330S560 210 800 280'/%3E%3Cpath d='M0 340C120 280 200 400 330 340S560 220 800 290'/%3E%3Cpath d='M0 350C120 290 200 410 330 350S560 230 800 300'/%3E%3Cpath d='M0 360C120 300 200 420 330 360S560 240 800 310'/%3E%3Cpath d='M0 370C120 310 200 430 330 370S560 250 800 320'/%3E%3Cpath d='M0 80C140 20 260 140 400 90S620 10 800 60'/%3E%3Cpath d='M0 90C140 30 260 150 400 100S620 20 800 70'/%3E%3Cpath d='M0 100C140 40 260 160 400 110S620 30 800 80'/%3E%3Cpath d='M0 110C140 50 260 170 400 120S620 40 800 90'/%3E%3Cpath d='M0 120C140 60 260 180 400 130S620 50 800 100'/%3E%3C/svg%3E");
}
html[lang="ar"] {
  --font-head: 'El Messiri', 'IBM Plex Sans Arabic', serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
html[lang="ar"] body { font-size: 16.5px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; color: var(--accent); line-height: 1.2; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { font-weight: 700; line-height: 1.4; }
::selection { background: var(--secondary); color: var(--accent); }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 300; background: var(--secondary); color: var(--accent); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }
[dir="ltr"] .icon--dir-rev { transform: scaleX(-1); }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .08em; margin-block: -.08em; }
.w > span { display: inline-block; }

/* ---------- Type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--primary); margin-bottom: 10px; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); }
.kicker--light { color: var(--secondary); }
.kicker--dark { color: var(--accent); }
.kicker--dark::before { background: var(--accent); }
.kicker--start { justify-self: start; }
.h2 { font-size: clamp(32px, 2.4vw + 18px, 50px); color: var(--accent); }
.h2--light { color: var(--white); }
.text { font-size: 16px; color: var(--text); margin-top: 18px; }
.text--center { max-width: 640px; margin-inline: auto; text-align: center; }
.story-ch2 .text--center { max-width: 760px; }
.text--light { color: rgba(255, 255, 255, .78); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 36px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color .4s var(--ease); }
html[lang="ar"] .btn { font-size: 15px; letter-spacing: 0; text-transform: none; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: var(--o, right); transition: transform .5s var(--ease); }
[dir="rtl"] .btn::after { --o: left; }
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); transform-origin: var(--o2, left); }
[dir="rtl"] .btn:hover::after { --o2: right; }
.btn--primary { background: var(--secondary); color: var(--accent); }
.btn--primary::after { background: var(--accent); }
.btn--primary:hover { color: var(--white); }
.btn--dark { background: var(--accent); color: var(--white); }
.btn--dark::after { background: var(--white); }
.btn--dark:hover { color: var(--accent); }
.btn--outline { border: 1px solid var(--primary); color: var(--primary); }
.btn--outline::after { background: var(--primary); }
.btn--outline:hover { color: var(--white); }

.waves { position: absolute; inset: 0; background: var(--waves) center / cover no-repeat; opacity: .14; pointer-events: none; }
.waves--light { opacity: .1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow .4s, transform .5s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 30px rgba(6, 38, 33, .08); }
.site-header.is-hidden { transform: translateY(-100%); }
.topbar { border-bottom: 1px solid var(--border); font-size: 13px; transition: margin .4s var(--ease); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 45px; }
.topbar__info, .topbar__end { display: flex; align-items: center; gap: 28px; }
.topbar__info a, .topbar__loc, .topbar__portal { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info .icon, .topbar__portal .icon { color: var(--primary); width: 15px; height: 15px; }
.topbar__info a:hover, .topbar__portal:hover { color: var(--primary); }
.topbar__portal { font-weight: 500; color: var(--accent); }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a:hover { color: var(--primary); }
.topbar__social .icon { width: 14px; height: 14px; }
.site-header.is-scrolled .topbar { margin-top: -46px; }

.navbar__inner { display: flex; align-items: center; height: 90px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 44px; height: auto; }
.brand__name { font-family: var(--font-head); font-size: 26px; color: var(--accent); line-height: 1; }
html[lang="ar"] .brand__name { font-weight: 700; font-size: 25px; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { display: flex; gap: 6px; }
.nav a { display: block; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--text); position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; background: var(--secondary); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.navbar__actions { display: flex; align-items: center; height: 100%; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); padding: 0 22px; height: 100%; }
.lang-switch .icon { width: 18px; height: 18px; color: var(--primary); }
.lang-switch:hover { color: var(--primary); }
.call-box { display: flex; align-items: center; gap: 12px; height: 100%; padding-inline-start: 26px; border-inline-start: 1px solid var(--border); }
.call-box__icon { position: relative; isolation: isolate; width: 40px; height: 40px; display: grid; place-items: center; background: var(--primary); color: var(--white); border-radius: 50%; }
.call-box__icon::after { content: ""; position: absolute; inset-inline-end: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 50%; background: var(--secondary); z-index: -1; }
.call-box__icon .icon { width: 17px; height: 17px; }
.call-box__text { display: grid; line-height: 1.3; }
.call-box__text small { font-size: 12px; color: var(--text); }
.call-box__text strong { font-size: 16px; color: var(--accent); font-weight: 700; }
.call-box:hover strong { color: var(--primary); }
.menu-toggle { display: none; width: 46px; height: 46px; place-items: center; background: var(--primary); color: var(--white); margin-inline-start: 14px; }
.menu-toggle__lines { display: grid; gap: 5px; width: 20px; }
.menu-toggle__lines i { height: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.menu-open .menu-toggle__lines i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle__lines i:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle__lines i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; inset-inline: 0; top: var(--menu-top, 120px); bottom: 0; z-index: 99; background: var(--white); padding: 10px var(--gutter) 30px; overflow-y: auto; display: flex; flex-direction: column; gap: 26px; border-top: 1px solid var(--border); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .35s, transform .45s var(--ease), visibility .35s; }
.mobile-menu[hidden] { display: flex; }
.menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
.mobile-menu ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-family: var(--font-head); font-size: 22px; color: var(--accent); }
.mobile-menu ul a[aria-current="page"] { color: var(--secondary-600); }
.mobile-menu__foot { display: grid; gap: 12px; }
.mobile-menu__phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; color: var(--accent); }
.menu-open, .lb-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--accent); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 38, 33, .62); }
.hero__inner { min-height: clamp(520px, 72vh, 720px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 90px; }
.hero__mark { width: 58px; margin-bottom: 22px; }
.hero__kicker { color: var(--white); font-weight: 500; font-size: 17px; margin-bottom: 14px; }
.hero__title { font-size: clamp(40px, 4.6vw + 16px, 90px); line-height: 1.05; color: var(--white); max-width: 980px; }
html[lang="ar"] .hero__title { line-height: 1.35; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn--glass { background: rgba(255, 255, 255, .08); color: var(--white); border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass::after { background: var(--white); }
.btn--glass:hover { color: var(--accent); }
.btn--glass .icon { width: 17px; height: 17px; color: var(--secondary); transition: color .3s; }
.btn--glass:hover .icon { color: var(--primary); }
@media (max-width: 560px) { .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; } }

/* ---------- Categories ---------- */
.categories { position: relative; overflow: hidden; background: var(--primary); color: rgba(255, 255, 255, .8); padding-block: 110px 200px; }
.categories__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.categories__intro { display: grid; }
.categories__intro .kicker { justify-self: start; }
.categories__text { margin-top: 18px; max-width: 470px; }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding-inline-start: 22px; border-inline-start: 4px solid var(--secondary); max-width: 470px; }
.signature__avatar { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 3px solid rgba(255, 255, 255, .3); }
.signature__avatar img { width: 34px; }
.signature__text { font-family: var(--font-head); color: var(--white); font-size: 17px; line-height: 1.55; }
.cat-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--white); }
.cat-box { display: grid; justify-items: center; align-content: center; gap: 16px; text-align: center; min-height: 162px; padding: 22px 12px; background: var(--white); color: var(--accent); font-size: 14px; font-weight: 500; line-height: 1.45; height: 100%; transition: background .4s, color .4s; }
.cat-box__icon { width: 46px; height: 46px; color: var(--primary); stroke-width: 1.2; transition: transform .5s var(--ease), color .4s; }
.cat-box:hover { background: var(--light); }
.cat-box:hover .cat-box__icon { transform: translateY(-6px); color: var(--secondary-600); }

/* ---------- CTA band ---------- */
.band-overlap { position: relative; z-index: 2; margin-top: -100px; }
.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; min-height: 200px; padding: 40px clamp(24px, 6vw, 70px); background: var(--secondary); }
.cta-band .waves { opacity: .35; }
.cta-band h2 { position: relative; font-size: clamp(24px, 1.2vw + 16px, 34px); color: var(--accent); }
.cta-band .btn { position: relative; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 7vw, 120px); }
.section--pb0 { padding-bottom: 0; }
.section-head { text-align: center; margin-bottom: 50px; display: grid; justify-items: center; }

/* ---------- Project cards ---------- */
.project { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--border); transition: box-shadow .5s, transform .5s var(--ease); scroll-margin-top: 160px; }
.project:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.project__img { aspect-ratio: 370 / 250; overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project:hover .project__img img { transform: scale(1.07); }
.project__body { display: flex; flex-direction: column; gap: 12px; padding: 30px 30px 34px; flex: 1; }
.project__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag { display: inline-block; padding: 4px 12px; background: var(--primary); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
html[lang="ar"] .tag { font-size: 12.5px; letter-spacing: 0; }
.project__icon .icon { width: 22px; height: 22px; color: var(--secondary-600); }
.project h3 { font-size: 22px; line-height: 1.35; }
.project p { font-size: 15px; flex: 1; }
.project__impact { position: relative; padding-top: 18px; font-size: 14px; color: var(--accent); font-weight: 500; }
.project__impact::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 5px; background: var(--border); }
.project__impact::after { content: ""; position: absolute; top: 0; inset-inline-start: 0; height: 5px; width: 30%; background: var(--secondary); transition: width 1.2s var(--ease); }
.project:hover .project__impact::after { width: 100%; }
.js.motion-ok .project__impact::after { width: 0; }
.js.motion-ok .project__impact.is-in::after { width: 30%; }
.js.motion-ok .project:hover .project__impact.is-in::after { width: 100%; }
.project__impact strong { color: var(--primary); }

.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 3); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 8px 16px; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: background .3s, transform .3s; }
.carousel__dots button[aria-current="true"] { background: var(--primary); transform: scale(1.3); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* ---------- Opportunities (portal) ---------- */
.opps { padding-top: clamp(70px, 6vw, 100px); }
.opps .projects-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 370px)); justify-content: center; }
@media (max-width: 767px) { .opps .projects-grid { grid-template-columns: 1fr; } }
.opp .project__img { position: relative; display: block; }
.opp__status { position: absolute; top: 16px; inset-inline-start: 16px; padding: 5px 12px; font-size: 12px; font-weight: 700; background: var(--sand); color: var(--accent); }
.opp__status--open { background: var(--secondary); }
.opp__status--full { background: var(--brick); color: var(--white); }
.opp__status--closed { background: var(--sage); }
.opp__status--ended { background: var(--accent); color: var(--white); }
.opp--ended .project__img img { filter: grayscale(.85); }
.opp--ended:hover .project__img img { filter: none; }
.opp__date, .opp__place { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); }
.opp__date .icon, .opp__place .icon { color: var(--secondary-600); width: 15px; height: 15px; }
.project h3 a:hover { color: var(--primary); }
.opp__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; font-weight: 700; color: var(--primary); }
.opp__link .icon { transition: transform .4s var(--ease); }
.opp__link:hover .icon { transform: translateX(4px); }
[dir="rtl"] .opp__link:hover .icon { transform: scaleX(-1) translateX(4px); }
.opp .project__body p { flex: 0 1 auto; }
.empty-box { display: flex; align-items: center; gap: 24px; max-width: 760px; margin-inline: auto; padding: 34px 40px; background: var(--light); border-inline-start: 4px solid var(--secondary); }
.empty-box__icon { width: 64px; height: 64px; flex: none; display: grid; place-items: center; background: var(--primary); color: var(--secondary); }
.empty-box__icon .icon { width: 28px; height: 28px; }
.empty-box p { font-size: 16px; color: var(--accent); }

/* ---------- Upcoming events (portal) ---------- */
.events { background: var(--light); }
.events__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.event-card { display: grid; grid-template-columns: 120px 1fr; background: var(--white); border: 1px solid var(--border); transition: box-shadow .4s, transform .5s var(--ease); }
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.event-card__date { display: grid; align-content: center; justify-items: center; gap: 2px; padding: 20px 10px; background: var(--primary); color: var(--white); text-align: center; transition: background .4s; }
.event-card:hover .event-card__date { background: var(--secondary); color: var(--accent); }
.event-card__date strong { font-family: var(--font-head); font-size: 46px; font-weight: 400; line-height: 1; }
html[lang="ar"] .event-card__date strong { font-family: var(--font-body); font-weight: 700; }
.event-card__date span { font-size: 15px; font-weight: 700; }
.event-card__date small { font-size: 12px; opacity: .75; }
.event-card__body { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 30px 30px; }
.event-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag--muted { background: var(--brick); }
.event-card h3 { font-size: 21px; line-height: 1.4; padding-inline-end: 40px; }
.event-card h3 a:hover { color: var(--primary); }
.event-card p { font-size: 14.5px; }
.event-card__meta { display: grid; gap: 4px; margin-top: auto; font-size: 13.5px; }
.event-card__meta li { display: flex; align-items: center; gap: 8px; }
.event-card__meta .icon { color: var(--secondary-600); width: 15px; height: 15px; }
.event-card .square-link { position: absolute; top: 24px; inset-inline-end: 24px; }
.square-link--dark { background: var(--light); }

/* ---------- Why choose ---------- */
.why { position: relative; padding-block: 30px 0; }
.why__purple { position: absolute; inset-inline-start: 0; bottom: 0; width: 26%; height: 55%; background: var(--primary); overflow: hidden; }
.why__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.why__collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 600px; }
.why__box { position: relative; grid-column: 1; grid-row: 1; background: var(--secondary); padding: 40px 30px; display: flex; align-items: flex-start; }
.why__box p { font-family: var(--font-head); font-size: 24px; line-height: 1.3; color: var(--accent); }
html[lang="ar"] .why__box p { font-weight: 700; font-size: 23px; line-height: 1.5; }
.why__corner { position: absolute; top: 0; inset-inline-start: 0; width: 36px; height: 36px; background: var(--accent); }
.why__img { overflow: hidden; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__img--tall { grid-column: 2; grid-row: 1 / 3; }
.why__img--small { grid-column: 1; grid-row: 2; }
.why__content { display: grid; padding-block: 40px 80px; }
.features { display: grid; gap: 34px; margin-top: 36px; }
.feature { display: flex; gap: 24px; align-items: flex-start; }
.feature__icon { width: 50px; height: 50px; flex: none; display: grid; place-items: center; background: var(--light); color: var(--primary); transition: background .4s, color .4s; }
.feature:hover .feature__icon { background: var(--primary); color: var(--secondary); }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 15px; }

/* ---------- Counters ---------- */
.counters { position: relative; overflow: hidden; background: var(--primary); padding-block: 70px; }
.counters__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.counter { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 30px 20px; }
.counter + .counter { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.counter__icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--secondary); margin-bottom: 14px; }
.counter__icon .icon { width: 34px; height: 34px; stroke-width: 1.3; }
.counter strong { font-family: var(--font-head); font-size: clamp(36px, 2vw + 22px, 50px); color: var(--white); font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; }
html[lang="ar"] .counter strong { font-family: var(--font-body); font-weight: 700; }
.counter > span:last-child { font-size: 14px; color: rgba(255, 255, 255, .72); }

/* ---------- Parallax CTA ---------- */
.parallax { position: relative; isolation: isolate; overflow: hidden; padding-block: 130px; text-align: center; }
.parallax__media { position: absolute; inset: -20% 0; z-index: -2; }
.parallax__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.parallax::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 38, 33, .7); }
.parallax__inner { display: grid; justify-items: center; gap: 12px; }
.parallax .h2 { max-width: 820px; }
.parallax .btn { margin-top: 26px; }

/* ---------- Clients ---------- */
.clients { position: relative; z-index: 2; padding-bottom: 20px; }
.clients__grid { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; }
.clients__box { position: relative; background: var(--primary); padding: 50px 34px; min-height: 220px; display: flex; align-items: center; margin-top: -60px; }
.clients__box h2 { font-size: 26px; color: var(--white); line-height: 1.3; }
.clients__corner { position: absolute; top: 0; inset-inline-start: 0; width: 34px; height: 34px; background: var(--secondary); }
.clients__logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 24px; align-items: center; padding-block: 40px; }
.clients__logos li { display: grid; place-items: center; height: 84px; }
.clients__logos img { max-height: 76px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.clients__logos img:hover { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- Testimonials ---------- */
.testimonial { max-width: 900px; margin-inline: auto; position: relative; padding-top: 30px; }
.testimonial__viewport { display: grid; }
.testimonial__slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 260px; align-items: center; gap: 40px; padding-block: 40px 70px; padding-inline-start: 40px; background: var(--light); border-inline-start: 4px solid var(--secondary); opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.testimonial__slide.is-active { opacity: 1; visibility: visible; }
.testimonial__body h3 { font-size: 20px; color: var(--primary); margin-bottom: 18px; }
.testimonial__body p { font-size: 15.5px; line-height: 1.9; }
.testimonial__role { display: block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--secondary-600); }
.testimonial__photo { position: relative; align-self: stretch; margin-top: -70px; margin-inline-end: 30px; }
.testimonial__photo img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; background: var(--primary); }
.testimonial__quote { position: absolute; top: 0; inset-inline-end: 0; width: 46px; height: 46px; display: grid; place-items: center; background: var(--secondary); color: var(--accent); }
.testimonial__quote .icon { width: 20px; height: 20px; }
.testimonial__nav { display: flex; gap: 8px; margin-top: -28px; padding-inline-start: 64px; position: relative; z-index: 2; }
.testimonial__nav button { width: 56px; height: 56px; display: grid; place-items: center; background: var(--white); color: var(--accent); box-shadow: var(--shadow); transition: background .3s, color .3s; }
.testimonial__nav button:hover { background: var(--primary); color: var(--white); }

/* ---------- Team ---------- */
.team-section { position: relative; isolation: isolate; padding-block: 90px 100px; }
.team-section__band { position: absolute; inset-inline: 0; top: 0; height: 400px; z-index: -1; overflow: hidden; background: var(--accent); }
.team-section__band img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .35; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.member { background: var(--white); border-bottom: 1px solid var(--border); }
.member__photo { position: relative; aspect-ratio: 370 / 390; overflow: hidden; background: var(--primary); }
.member__photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.member:hover .member__photo > img { transform: scale(1.06); }
.member__bar { position: absolute; inset-inline-start: 0; bottom: 0; width: 52px; height: 45%; display: grid; place-items: center; background: var(--primary); transition: height .5s var(--ease), background .4s; }
.member__bar img { width: 26px; }
.member:hover .member__bar { height: 100%; background: var(--secondary); }
.member__info { text-align: center; padding: 20px 14px 22px; }
.member__info h3 { font-size: 19px; }
.member__info span { font-size: 14px; }
.center-cta { text-align: center; margin-top: 46px; }

/* ---------- Beliefs (news layout) ---------- */
.news__grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--light); }
.news-card { display: grid; grid-template-columns: 1fr 1fr; }
.news-card__img { overflow: hidden; min-height: 300px; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 34px 30px; }
.news-card__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.news-card__meta .icon { color: var(--secondary-600); width: 15px; height: 15px; }
.news-card h3 { font-size: 22px; }
.news-card p { font-size: 14.5px; line-height: 1.75; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.square-link { width: 44px; height: 44px; display: grid; place-items: center; background: var(--white); color: var(--accent); transition: background .3s, color .3s; }
.square-link:hover { background: var(--primary); color: var(--white); }

/* ---------- Guide band ---------- */
.guide { position: relative; isolation: isolate; overflow: hidden; background: var(--secondary); padding-block: 100px; text-align: center; }
.guide__media { position: absolute; inset: 0; z-index: -1; }
.guide__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .25; filter: grayscale(1); }
.guide__inner { display: grid; justify-items: center; gap: 8px; }
.guide__actions { display: flex; justify-content: center; margin-top: 34px; width: min(560px, 100%); }
.guide__actions .guide__field { flex: 1; min-width: 0; }
@media (max-width: 767px) { .guide__actions { flex-direction: column; } }
.guide__field { display: flex; align-items: center; height: 54px; min-width: min(360px, 100%); padding-inline: 22px; background: var(--white); color: var(--text); font-size: 14px; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--accent); }
.page-hero__media { position: absolute; inset: -15% 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 38, 33, .72); }
.page-hero__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; min-height: 260px; padding-block: 60px; }
.page-hero__title { font-size: clamp(36px, 2.6vw + 20px, 60px); color: var(--white); }
.crumbs { display: flex; gap: 6px; font-size: 15px; font-weight: 500; color: var(--white); }
.crumbs a:hover { color: var(--secondary); }
.crumbs [aria-current] { color: var(--secondary); }
.page-hero__square { position: absolute; bottom: 0; inset-inline-start: var(--gutter); width: 30px; height: 30px; background: var(--secondary); }

/* ---------- About ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.intro__text { display: grid; }
.checks { display: grid; gap: 8px; margin-top: 22px; }
.checks li { display: flex; align-items: center; gap: 14px; }
.checks__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; background: var(--light); color: var(--primary); }
.checks__icon .icon { width: 16px; height: 16px; }
.checks strong { font-family: var(--font-head); color: var(--accent); font-weight: 400; font-size: 16px; }
html[lang="ar"] .checks strong { font-weight: 700; }
.intro__media { position: relative; }
.intro__img { aspect-ratio: 520 / 470; overflow: hidden; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__badge { position: absolute; inset-inline-start: 0; bottom: 0; display: grid; padding: 22px 30px; background: var(--secondary); color: var(--accent); min-width: 190px; }
.intro__badge strong { font-family: var(--font-head); font-size: 34px; font-weight: 400; line-height: 1.1; }
html[lang="ar"] .intro__badge strong { font-family: var(--font-body); font-weight: 700; }
.intro__badge span { font-size: 14px; }

.ruwaad { background: var(--light); }
.ruwaad__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.ruwaad__logo-wrap { position: relative; }
.ruwaad__logo { position: relative; z-index: 1; display: grid; place-items: center; aspect-ratio: 5 / 4; padding: 50px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); }
.ruwaad__logo img { width: 100%; height: auto; }
.ruwaad__corner { position: absolute; top: -20px; inset-inline-start: -20px; width: 110px; height: 110px; background: var(--secondary); }
.ruwaad__badge { position: absolute; z-index: 2; bottom: -22px; inset-inline-end: 30px; display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--primary); color: var(--white); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.ruwaad__badge .icon { color: var(--secondary); width: 20px; height: 20px; }
.ruwaad__text { display: grid; }
.ruwaad__logo { transition: transform .5s var(--ease), box-shadow .5s; }
.ruwaad__logo:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -24px rgba(6, 38, 33, .35); }
.ruwaad__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 34px; }
.ruwaad__cta .btn .icon { width: 18px; height: 18px; }
.ruwaad__url { font-weight: 700; font-size: 16px; color: var(--primary); border-bottom: 2px solid var(--secondary); padding-bottom: 2px; }
.ruwaad__url:hover { color: var(--secondary-600); }
.ruwaad__text .text + .text { margin-top: 14px; }
.mission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.mission__start { display: grid; align-content: start; }
.tab-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tab-btn { height: 42px; padding: 0 22px; font-size: 13px; font-weight: 500; background: var(--secondary); color: var(--accent); transition: background .3s, color .3s; }
html[lang="ar"] .tab-btn { font-size: 14.5px; }
.tab-btn[aria-selected="true"] { background: var(--primary); color: var(--white); }
.tab-btn:hover { background: var(--primary-700); color: var(--white); }
.tab-panel[hidden] { display: none; }
.mission__end > .text { margin-top: 0; }
.mission__row { display: grid; grid-template-columns: 180px 1fr; gap: 34px; align-items: center; margin-top: 34px; }
.mission__circle { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; }
.mission__circle img { width: 100%; height: 100%; object-fit: cover; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; }
.ticks .icon { color: var(--primary); margin-top: 4px; }

.values-section { background: var(--light); }
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.icon-card { position: relative; padding: 40px 34px; background: var(--white); border: 1px solid var(--border); transition: box-shadow .4s, transform .5s var(--ease); }
.icon-card::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 3px; width: 100%; background: var(--secondary); transform: scaleX(0); transform-origin: var(--o, left); transition: transform .5s var(--ease); }
[dir="rtl"] .icon-card::before { --o: right; }
.icon-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.icon-card:hover::before { transform: scaleX(1); }
.icon-card__icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--light); color: var(--primary); margin-bottom: 24px; }
.icon-card__icon .icon { width: 28px; height: 28px; }
.icon-card h3 { font-size: 21px; margin-bottom: 10px; }
.icon-card p { font-size: 15px; }

.measure { max-width: 960px; margin-inline: auto; border-top: 1px solid var(--border); }
.measure li { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.measure strong { font-family: var(--font-head); font-weight: 400; color: var(--primary); font-size: 21px; line-height: 1.45; }
html[lang="ar"] .measure strong { font-weight: 700; }

/* ---------- Story page ---------- */
.story__lead { font-size: 18px; color: var(--accent); font-weight: 500; }
.story__badge { display: flex; align-items: center; gap: 14px; }
.story__badge img { width: 40px; }
.story__badge span { font-weight: 700; font-size: 15px; }
.intro__grid--video { grid-template-columns: .75fr 1.35fr; gap: 50px; }
.story-hero-video { position: relative; isolation: isolate; }
.story-hero-video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--accent); box-shadow: 0 30px 70px -30px rgba(6, 38, 33, .55); }
.story-hero-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story-hero-video__square { position: absolute; z-index: -1; top: -22px; inset-inline-end: -22px; width: 120px; height: 120px; background: var(--secondary); }
.story-teaser { padding-bottom: clamp(40px, 4vw, 60px); }
.chapter-links__label { margin-top: 28px; font-size: 13px; font-weight: 700; color: var(--secondary-600); letter-spacing: .04em; }
html[lang="en"] .chapter-links__label { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.chapter-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.chapter-links a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; background: var(--light); color: var(--accent); border-inline-start: 3px solid transparent; transition: background .35s, color .35s, border-color .35s; }
.chapter-links a:hover, .chapter-links a:focus-visible { background: var(--primary); color: var(--white); border-color: var(--secondary); }
.chapter-links__num { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--secondary); color: var(--accent); font-weight: 700; font-size: 13px; }
.chapter-links__title { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.45; }
.chapter-links .icon { width: 16px; height: 16px; opacity: .5; transition: opacity .3s, transform .4s var(--ease); }
.chapter-links a:hover .icon { opacity: 1; transform: translateX(3px); }
[dir="rtl"] .chapter-links a:hover .icon { transform: scaleX(-1) translateX(3px); }
.story-teaser__cta { margin-top: 26px; }
[id^="chapter-"], #leadership, #executive, #members { scroll-margin-top: 110px; }
.story-ch1 { background: var(--light); }
.story-ch1__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story-ch1__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.story-ch1__img { overflow: hidden; }
.story-ch1__img img { width: 100%; height: 100%; object-fit: cover; }
.story-ch1__img--a { aspect-ratio: 3 / 4; }
.story-ch1__img--b { aspect-ratio: 3 / 4; margin-top: 80px; }
.story-ch1__square { position: absolute; bottom: -20px; inset-inline-start: -20px; width: 90px; height: 90px; background: var(--secondary); z-index: -1; }
.story-ch1__media { isolation: isolate; }
.story-ch1__content { display: grid; }
.needs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.needs li { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--white); font-size: 14.5px; color: var(--accent); font-weight: 500; line-height: 1.5; }
.needs .feature__icon { width: 44px; height: 44px; }
.story-quote { margin-top: 26px; padding: 6px 0; padding-inline-start: 22px; border-inline-start: 4px solid var(--secondary); font-family: var(--font-head); font-size: 20px; line-height: 1.6; color: var(--primary); }
html[lang="ar"] .story-quote { font-weight: 700; }
.story-quote--light { color: var(--white); max-width: 760px; margin: 34px auto 0; text-align: center; border-inline-start: 0; padding: 26px 0 0; border-top: 2px solid var(--secondary); }
.story-ch2 { overflow: hidden; background: var(--primary); }
.story-ch2 .container { position: relative; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--white); margin-bottom: 40px; }
.role { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 36px 16px; background: var(--white); transition: background .4s; }
.role:hover { background: var(--light); }
.role__icon { width: 44px; height: 44px; color: var(--primary); stroke-width: 1.2; transition: transform .5s var(--ease); }
.role:hover .role__icon { transform: translateY(-6px); color: var(--secondary-600); }
.role h3 { font-size: 20px; }
.role span { font-size: 14px; }
.story-ch2__p { color: var(--white); font-weight: 500; }
.story-ch3 .h2 { max-width: 760px; }
.story-ch3__p { max-width: 760px; margin-top: 10px; }
.story-ch3__highlight { max-width: 760px; margin-top: 18px; font-family: var(--font-head); font-size: 22px; line-height: 1.6; color: var(--secondary); }
html[lang="ar"] .story-ch3__highlight { font-weight: 700; }
.videos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.videos__grid--single { max-width: 860px; margin-inline: auto; grid-template-columns: 1fr; }
.video { margin: 0; }
.video__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--accent); }
.video__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; opacity: .85; }
.video__frame:hover img { transform: scale(1.05); opacity: 1; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; display: grid; place-items: center; background: var(--secondary); color: var(--accent); transform: translate(-50%, -50%); transition: background .3s, color .3s, transform .4s var(--ease); }
.video__play::before { content: ""; position: absolute; inset: -10px; border: 2px solid rgba(196, 155, 116, .6); animation: playPulse 2s var(--ease) infinite; }
.video__play svg { width: 30px; height: 30px; }
.video__frame:hover .video__play { background: var(--primary); color: var(--white); transform: translate(-50%, -50%) scale(1.06); }
@keyframes playPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.video figcaption { margin-top: 14px; font-family: var(--font-head); font-size: 18px; color: var(--accent); }
html[lang="ar"] .video figcaption { font-weight: 700; }
.story-ch4 .intro__grid { direction: inherit; }
.story-closing { padding-block: 110px; }
.story-closing__mark { width: 64px; margin-bottom: 14px; }
.story-closing__text { max-width: 720px; font-size: 18px; color: var(--accent); margin-bottom: 18px; line-height: 1.8; }
.story-closing .h2 { max-width: 900px; }
.story-closing__actions { margin-top: 34px; }

/* ---------- Team page: leadership, executive, members directory ---------- */
.team-block--light { background: var(--light); }
.team-block--light .team-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.team-block--light .team-grid > .member { flex: 0 1 calc((100% - 60px) / 3); }
@media (max-width: 991px) { .team-block--light .team-grid > .member { flex-basis: calc((100% - 30px) / 2); } }
@media (max-width: 767px) { .team-block--light .team-grid > .member { flex-basis: 100%; } }
.team-grid--leaders { grid-template-columns: repeat(3, minmax(0, 370px)); justify-content: center; align-items: start; }
.member__quote { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14.5px; line-height: 1.85; color: var(--text); text-align: start; }
.member--leader .member__info { padding: 22px 22px 26px; }
.member--leader .member__info h3 { font-size: 22px; }
.directory__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; padding: 18px 22px; background: var(--primary); color: var(--white); }
.directory__count { display: flex; align-items: baseline; gap: 10px; }
.directory__count strong { font-family: var(--font-head); font-size: 40px; font-weight: 400; line-height: 1; color: var(--secondary); }
html[lang="ar"] .directory__count strong { font-family: var(--font-body); font-weight: 700; }
.directory__search { position: relative; display: flex; align-items: center; flex: 0 1 360px; }
.directory__search .icon { position: absolute; inset-inline-start: 14px; color: var(--text); width: 18px; height: 18px; pointer-events: none; }
.directory__search input { width: 100%; height: 50px; padding-inline: 44px 16px; border: 0; background: var(--white); font: inherit; font-size: 15px; color: var(--accent); border-radius: 0; }
.directory__search input:focus { outline: 2px solid var(--secondary); }
.directory__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: var(--light); color: var(--accent); font-size: 13.5px; font-weight: 600; border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s; }
.chip small { padding: 1px 7px; background: var(--white); font-size: 11.5px; font-weight: 700; color: var(--secondary-600); }
.chip:hover { border-color: var(--secondary); }
.chip.is-active { background: var(--primary); color: var(--white); }
.chip.is-active small { background: var(--secondary); color: var(--accent); }
.vol-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.vol { background: var(--white); border: 1px solid var(--border); transition: transform .5s var(--ease), box-shadow .5s; }
.vol.is-hidden, .vol.is-filtered { display: none; }
.vol:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.vol__photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--primary); }
.vol__photo > img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vol:hover .vol__photo > img { transform: scale(1.06); }
.vol__photo::after { content: ""; position: absolute; z-index: 2; top: 0; inset-inline-start: 0; border-top: 26px solid var(--secondary); border-inline-end: 26px solid transparent; }
.vol__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-700)); }
.vol__placeholder img { width: 38%; opacity: .85; }
.vol__info { padding: 14px 12px 16px; text-align: center; }
.vol__info h3 { font-size: 15.5px; line-height: 1.45; }
html[lang="en"] .vol__info h3 { font-family: var(--font-body); font-weight: 700; }
.vol__info span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--secondary-600); line-height: 1.5; }
.directory__empty { text-align: center; padding: 30px; color: var(--text); }

.team-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.team-link { position: relative; display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px 22px; background: var(--light); color: var(--accent); overflow: hidden; isolation: isolate; transition: color .4s; }
.team-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--primary); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.team-link:hover::before, .team-link:focus-visible::before { transform: scaleY(1); }
.team-link:hover, .team-link:focus-visible { color: var(--white); }
.team-link__icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--primary); color: var(--secondary); transition: background .4s, color .4s; }
.team-link:hover .team-link__icon { background: var(--secondary); color: var(--accent); }
.team-link__text { flex: 1; display: grid; line-height: 1.35; }
.team-link__text strong { font-family: var(--font-head); font-size: 19px; font-weight: 400; }
html[lang="ar"] .team-link__text strong { font-weight: 700; }
.team-link__text small { font-size: 13px; font-weight: 700; color: var(--secondary-600); transition: color .4s; }
.team-link:hover .team-link__text small { color: var(--secondary); }
.team-link__arrow { width: 18px; height: 18px; opacity: .6; transition: transform .4s var(--ease), opacity .3s; }
.team-link:hover .team-link__arrow { opacity: 1; transform: translateX(4px); }
[dir="rtl"] .team-link:hover .team-link__arrow { transform: scaleX(-1) translateX(4px); }
.team-link--accent { background: var(--secondary); }
.team-link--accent .team-link__text small { color: var(--accent); }

/* ---------- Team album ---------- */
.album { position: relative; overflow: hidden; background: var(--accent); padding-block: clamp(90px, 8vw, 130px); }
.album .container { position: relative; }
.album__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.album__col { display: grid; gap: 18px; will-change: transform; }
.album__col:nth-child(even) { margin-top: 70px; }
.album__item { margin: 0; aspect-ratio: var(--ar, 4 / 3); perspective: 900px; }
.album__item.is-extra { display: none; }
.album.is-expanded .album__item.is-extra { display: block; }
.album__btn { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--primary); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s; }
.album__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.album__btn::before { content: ""; position: absolute; z-index: 2; top: 0; inset-inline-start: 0; width: 0; height: 0; border-top: 34px solid var(--secondary); border-inline-end: 34px solid transparent; transition: border-width .45s var(--ease); }
.album__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 38, 33, .88), rgba(6, 38, 33, 0) 55%); opacity: 0; transition: opacity .5s; }
.album__btn:hover, .album__btn:focus-visible { box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.album__btn:hover img, .album__btn:focus-visible img { transform: scale(1.08); filter: saturate(1.05); }
.album__btn:hover::after, .album__btn:focus-visible::after { opacity: 1; }
.album__btn:hover::before { border-top-width: 52px; border-inline-end-width: 52px; }
.album__btn figcaption { position: absolute; z-index: 3; inset-inline: 16px; bottom: 14px; color: var(--white); font-size: 14px; font-weight: 500; line-height: 1.5; text-align: start; transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.album__btn:hover figcaption, .album__btn:focus-visible figcaption { transform: none; opacity: 1; }
.album__zoom { position: absolute; z-index: 3; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--white); color: var(--accent); transform: scale(.6); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.album__zoom .icon { width: 17px; height: 17px; }
.album__btn:hover .album__zoom { transform: none; opacity: 1; }
.album__shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 45%); opacity: 0; transition: opacity .4s; }
.album__btn:hover .album__shine { opacity: 1; }
.album .center-cta { margin-top: 60px; }

.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; background: rgba(4, 22, 19, .96); opacity: 0; transition: opacity .35s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage { grid-column: 2; margin: 0; display: grid; justify-items: center; gap: 16px; padding: 70px 0 30px; max-height: 100vh; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); transition: opacity .3s, transform .45s var(--ease); }
.lightbox__stage img.is-swapping { opacity: 0; transform: scale(.97); }
.lightbox__stage figcaption { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; align-items: center; color: rgba(255, 255, 255, .85); font-size: 15px; text-align: center; }
.lightbox__count { padding: 2px 10px; background: var(--secondary); color: var(--accent); font-weight: 700; font-size: 13px; }
.lightbox__nav, .lightbox__close { width: 54px; height: 54px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--white); justify-self: center; transition: background .3s, color .3s; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--secondary); color: var(--accent); }
.lightbox__close { position: absolute; top: 16px; inset-inline-end: 16px; }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; }

/* ---------- Programs page ---------- */
.journey-section { overflow: hidden; background: var(--primary); }
.journey-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); }
.journey-box { position: relative; padding: 40px 34px; background: var(--primary); transition: background .4s; }
.journey-box:hover { background: var(--primary-700); }
.journey-box__num { position: absolute; top: 24px; inset-inline-end: 28px; font-family: var(--font-head); font-size: 44px; line-height: 1; color: rgba(196, 155, 116, .35); }
.journey-box__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--secondary); color: var(--accent); margin-bottom: 22px; }
.journey-box__icon .icon { width: 26px; height: 26px; }
.journey-box h3 { color: var(--white); font-size: 20px; margin-bottom: 8px; }
.journey-box p { color: rgba(255, 255, 255, .72); font-size: 15px; }

/* ---------- Impact page ---------- */
.impact-group + .impact-group { margin-top: 70px; }
.impact-group__title { display: flex; align-items: center; gap: 14px; font-size: 26px; margin-bottom: 28px; }
.impact-group__title span { width: 22px; height: 22px; background: var(--secondary); flex: none; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { padding: 34px 28px; border: 1px solid var(--border); background: var(--white); transition: box-shadow .4s, transform .5s var(--ease); }
.stat:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.stat__icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--primary); color: var(--secondary); margin-bottom: 22px; }
.stat small { display: block; font-size: 13px; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 42px; line-height: 1.15; color: var(--primary); font-variant-numeric: tabular-nums; }
html[lang="ar"] .stat strong { font-family: var(--font-body); font-weight: 700; }
.stat h3 { font-size: 18px; margin-top: 4px; }
.stat p { font-size: 14px; margin-top: 10px; line-height: 1.65; }

/* ---------- Contact ---------- */
.form { max-width: 650px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; scroll-margin-top: 160px; }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; height: 56px; padding: 0 20px; font: inherit; font-size: 14.5px; color: var(--accent); background: var(--light); border: 1px solid transparent; border-radius: 0; transition: border-color .3s, background .3s; }
.field textarea { height: 150px; padding-block: 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--secondary); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: var(--text); }
.form__submit { text-align: center; margin-top: 10px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; font-weight: 500; }
.alert .icon { margin-top: 4px; }
.alert--ok { background: rgba(169, 184, 165, .3); color: var(--primary); }
.alert--err { background: rgba(184, 117, 91, .15); color: #8A4A32; }
.info-boxes { display: grid; grid-template-columns: repeat(3, 1fr); }
.info-box { display: flex; gap: 24px; align-items: flex-start; padding: 50px clamp(24px, 4vw, 60px); color: rgba(255, 255, 255, .82); }
.info-box h3 { color: var(--white); font-size: 21px; margin-bottom: 12px; }
.info-box p { font-size: 15px; line-height: 1.85; word-break: break-word; }
.info-box a:hover { color: var(--white); }
.info-box__icon { width: 74px; height: 74px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.info-box__icon .icon { width: 32px; height: 32px; }
.info-box--green { background: var(--primary); }
.info-box--dark { background: var(--accent); }
.info-box--dark .info-box__icon { background: var(--primary); }
.info-box--caramel { background: var(--secondary); color: var(--accent); }
.info-box--caramel h3 { color: var(--accent); }
.info-box--caramel .info-box__icon { background: rgba(255, 255, 255, .3); }
.info-box--caramel a:hover { color: var(--primary); }
.map { height: 450px; background: var(--light); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--accent); color: rgba(255, 255, 255, .62); font-size: 15px; }
.footer__lines { position: absolute; inset-inline-start: -15%; top: 10%; width: 55%; height: 90%; background: var(--waves) center / cover no-repeat; opacity: .06; pointer-events: none; }
.footer__circle { position: absolute; inset-inline-end: 4%; bottom: 90px; width: 120px; height: 120px; border-radius: 50%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 7px); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr .9fr 1.1fr 1.4fr; gap: 40px; padding-block: 100px 70px; }
.brand--footer .brand__name { color: var(--white); }
.brand--footer { margin-bottom: 22px; }
.footer__brand p { max-width: 320px; }
.footer__social { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; background: var(--white); color: var(--accent); transition: background .3s; }
.footer__social a:hover { background: var(--secondary); }
.footer__social .icon { width: 15px; height: 15px; }
.footer__col h3 { font-size: 18px; color: var(--white); margin-bottom: 24px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a:hover { color: var(--secondary); }
.footer__field { display: flex; align-items: center; justify-content: space-between; height: 58px; padding-inline-start: 20px; border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); margin-bottom: 16px; }
.footer__field-btn { width: 58px; height: 58px; display: grid; place-items: center; background: var(--secondary); color: var(--accent); transition: background .3s; }
.footer__field:hover .footer__field-btn { background: var(--white); }
.footer__join p { font-size: 14px; margin-bottom: 18px; }
.footer__contact { gap: 8px !important; }
.footer__contact li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.footer__contact .icon { color: var(--secondary); width: 16px; height: 16px; }
.footer__bottom { position: relative; text-align: center; padding-block: 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.to-top { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 80; width: 46px; height: 46px; display: grid; place-items: center; background: var(--secondary); color: var(--accent); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s, transform .4s, visibility .4s, background .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); color: var(--white); }

/* ---------- 404 ---------- */
.notfound { padding-block: 120px; text-align: center; background: var(--light); }
.notfound__code { font-family: var(--font-head); font-size: clamp(110px, 18vw, 200px); line-height: 1; color: var(--primary); }
.notfound h1 { font-size: clamp(28px, 3vw, 40px); margin: 10px 0 14px; }
.notfound p { max-width: 460px; margin: 0 auto 30px; }
.pattern { display: none; }

/* ---------- Motion initial states ---------- */
.js.motion-ok [data-reveal], .js.motion-ok [data-hero-item] { opacity: 0; }
.js.motion-ok [data-stagger] > * { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .nav, .call-box { display: none; }
  .menu-toggle { display: grid; }
  .navbar__actions { margin-inline-start: auto; }
  .lang-switch { padding: 0 6px; }
  .clients__logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .categories__grid, .why__grid, .intro__grid, .intro__grid--video, .mission__grid, .story-ch1__grid, .ruwaad__grid { grid-template-columns: 1fr; }
  .ruwaad__grid { gap: 60px; }
  .ruwaad__logo-wrap { max-width: 560px; }
  .intro__grid--video .story-hero-video { order: -1; }
  .story-hero-video__square { top: -12px; inset-inline-end: -8px; width: 70px; height: 70px; }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .vol-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .team-grid--leaders { grid-template-columns: repeat(2, 1fr); }
  .album__grid { display: block; columns: 2; column-gap: 12px; }
  .album__col { display: contents; }
  .album__item { break-inside: avoid; margin-bottom: 12px; display: block; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__stage { grid-column: 1; padding: 70px 12px 90px; }
  .lightbox__nav { position: absolute; bottom: 18px; }
  .lightbox__nav--prev { inset-inline-start: calc(50% - 64px); }
  .lightbox__nav--next { inset-inline-start: calc(50% + 10px); }
  .album__btn figcaption { opacity: 1; transform: none; font-size: 12.5px; }
  .album__btn::after { opacity: .9; background: linear-gradient(to top, rgba(6, 38, 33, .8), transparent 45%); }
  .categories { padding-bottom: 170px; }
  .carousel__track { grid-auto-columns: calc((100% - 30px) / 2); }
  .projects-grid, .team-grid, .icon-cards, .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .why__purple { display: none; }
  .why__collage { height: 520px; }
  .counters__grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .counter:nth-child(3) { border-inline-start: 0; }
  .clients__grid { grid-template-columns: 1fr; gap: 0; }
  .clients__box { margin-top: 0; min-height: 0; }
  .news__grid, .events__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .info-boxes { grid-template-columns: 1fr; }
  .testimonial__slide { grid-template-columns: 1fr; padding: 34px; }
  .testimonial__photo { margin: 0; max-width: 260px; order: -1; }
  .testimonial__nav { margin-top: 16px; padding: 0; justify-content: center; }
}
@media (max-width: 767px) {
  .topbar__loc, .topbar__social { display: none; }
  .topbar__info, .topbar__end { gap: 14px; }
  .navbar__inner { height: 74px; }
  .brand__mark { width: 38px; }
  .brand__name { font-size: 21px; }
  .lang-switch span { display: none; }
  .cat-boxes { grid-template-columns: repeat(2, 1fr); }
  .cat-boxes li:last-child { grid-column: 1 / -1; }
  .carousel__track { grid-auto-columns: 86%; gap: 16px; }
  .projects-grid, .team-grid, .icon-cards, .journey-grid, .stat-grid { grid-template-columns: 1fr; }
  .why__collage { height: 440px; }
  .why__box { padding: 26px 20px; }
  .why__box p { font-size: 18px !important; }
  .news-card { grid-template-columns: 1fr; }
  .needs, .chapter-links { grid-template-columns: 1fr; }
  .vol-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .team-links { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .team-grid--leaders { grid-template-columns: 1fr; }
  .directory__search { flex-basis: 100%; }
  .directory__filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .chip { flex: none; }
  .story-ch1__img--b { margin-top: 40px; }
  .videos__grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 86px 1fr; }
  .event-card__date strong { font-size: 34px; }
  .event-card__body { padding: 22px 18px 22px; }
  .empty-box { flex-direction: column; text-align: center; padding: 30px 22px; border-inline-start: 0; border-top: 4px solid var(--secondary); }
  .news-card__img { min-height: 220px; }
  .footer__grid { grid-template-columns: 1fr; padding-block: 70px 40px; }
  .form { grid-template-columns: 1fr; }
  .mission__row { grid-template-columns: 1fr; }
  .measure li { grid-template-columns: 1fr; gap: 6px; }
  .page-hero__inner { min-height: 200px; flex-direction: column; justify-content: center; align-items: flex-start; }
  .cta-band { justify-content: center; text-align: center; }
  .guide__field { width: 100%; }
  .guide__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
