:root {
  --teal: #155e63;
  --teal-dark: #10484c;
  --ivory: #faf7f0;
  --navy: #172b3a;
  --terra: #a34830;
  --sage: #dde8de;
  --muted: #52636a;
  --line: #d6ddd5;
  --paper: #fffefa;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--ivory); color: var(--navy); font: 16px/1.75 "Segoe UI", Arial, sans-serif; }
body, input, select, textarea, button { font-family: "Segoe UI", Arial, sans-serif; }
[lang="ar"] body { font-family: Tahoma, "Segoe UI", Arial, sans-serif; line-height: 1.95; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; font-weight: 700; overflow-wrap: break-word; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.85rem); margin-bottom: 26px; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.9rem); margin-bottom: 22px; }
h3 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 12px; }
p { margin-bottom: 20px; }
[lang="ar"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.5; }
section[id], article[id] { scroll-margin-top: 110px; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 88px; }
.section-tight { padding-block: 28px 50px; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.section-heading:only-child { margin-bottom: 0; }
.eyebrow { color: var(--terra); text-transform: uppercase; letter-spacing: .12em; font-size: .73rem; font-weight: 750; margin-bottom: 20px; }
[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.lead { color: var(--muted); font-size: 1.13rem; line-height: 1.85; max-width: 760px; }
.small-copy { color: var(--muted); font-size: .88rem; }
.reading-width { max-width: 820px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid var(--teal); border-radius: 9px; background: var(--teal); color: #fff; padding: 13px 21px; font-size: .9rem; font-weight: 650; line-height: 1.5; text-align: center; min-height: 48px; transition: background .18s ease, color .18s ease; }
.button:hover { background: var(--teal-dark); }
.button.secondary { background: transparent; color: var(--teal); border-color: #9db4af; }
.button.secondary:hover { background: #e7eee5; }
.text-link { color: var(--teal); font-weight: 650; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--terra); }
.inline-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.tag { display: inline-block; border-radius: 5px; background: #e7eee5; color: #235944; padding: 5px 10px; font-size: .77rem; font-weight: 650; }
.tag.neutral { color: #714a27; background: #f3ead8; }
.skip-link { position: fixed; z-index: 120; inset-block-start: 8px; inset-inline-start: 16px; transform: translateY(-180%); padding: 12px 20px; background: var(--navy); color: #fff; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ivory); border-bottom: 1px solid var(--line); }
.navigation { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 750; flex-shrink: 0; color: #102a43; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: #ff8a34; color: #102a43; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .79rem; font-weight: 650; }
.nav-links a { position: relative; padding-block: 10px; white-space: nowrap; }
.nav-links a:hover { color: var(--teal); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; height: 2px; inset-inline: 0; bottom: 3px; background: var(--terra); }
.nav-links a.nav-learn { color: var(--teal); }
.nav-links a.nav-support { background: var(--teal); color: #fff; border-radius: 7px; padding-inline: 13px; }
.nav-links .nav-support[aria-current="page"]::after { background: #fff; inset-inline: 12px; }
.menu-toggle { display: none; }
.home-hero { padding-block: 68px 70px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; }
.hero-copy .eyebrow { display: flex; gap: 10px; align-items: center; font-size: .69rem; }
.tiny-line { width: 23px; height: 2px; background: var(--terra); flex-shrink: 0; }
.hero-copy h1 { font-size: clamp(2.8rem, 4.7vw, 4.3rem); line-height: 1.1; letter-spacing: -.055em; }
.hero-copy h1 span { color: var(--teal); }
.hero-copy .lead { max-width: 510px; font-size: 1.04rem; }
.hero-learning { display: inline-block; font-size: .85rem; margin-top: 26px; }
.hero-photo { position: relative; padding-bottom: 35px; }
.image-disclosure { position: absolute; top: 18px; right: 18px; max-width: calc(100% - 36px); padding: 5px 10px; border-radius: 6px; background: #faf7f0f5; color: #172b3a; font-size: .67rem; line-height: 1.5; }
.image-caption-note { display: block; margin-top: 5px; font-size: .7rem; }
.hero-photo > img { width: 100%; height: auto; aspect-ratio: 1 / 1.07; object-fit: cover; border-radius: 90px 18px 90px 18px; }
.hero-photo.real-project-photo > img { aspect-ratio: 3 / 4; max-height: 640px; object-fit: contain; border-radius: 18px; background: #eeede6; }
.equipment-note { background: var(--sage); padding: 32px; border-radius: 16px; }
.equipment-note .small-copy { margin-bottom: 0; }
.cooperation-media { display: grid; gap: 28px; }
.local-partner-photo { margin: 0 auto; width: min(100%, 320px); }
.local-partner-photo img { width: 100%; border-radius: 12px; }
.photo-note { position: absolute; inset-inline-start: -22px; bottom: 0; display: flex; align-items: center; gap: 15px; max-width: calc(100% + 10px); padding: 19px 22px; background: var(--paper); box-shadow: 0 8px 25px #172b3a10; border: 1px solid var(--line); border-radius: 12px; }
.photo-note strong, .photo-note div > span { display: block; }
.photo-note strong { font-size: .85rem; }
.photo-note div > span { font-size: .73rem; color: var(--muted); margin-top: 2px; }
.note-dot, .status-dot { width: 9px; height: 9px; background: var(--teal); border-radius: 100%; flex-shrink: 0; }
.note-dot { width: 12px; height: 12px; box-shadow: 0 0 0 6px var(--sage); }
.context-strip { display: flex; gap: 25px; justify-content: space-between; align-items: center; padding-block: 23px; border-block: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.context-strip > span:first-child { color: var(--teal); display: flex; align-items: center; gap: 9px; font-weight: 650; }
.context-strip a { font-weight: 650; color: var(--teal); }
.editorial-grid, .split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.editorial-grid > *, .split > *, .hero-grid > *, .contact-grid > * { min-width: 0; }
.editorial-grid > div > p, .split > div > p { color: var(--muted); }
.action-row { display: grid; grid-template-columns: 30px 1fr 24px; gap: 17px; padding-block: 25px; border-bottom: 1px solid var(--line); }
.action-row:first-child { padding-top: 0; }
.action-row h3 { font-size: 1.15rem; }
.action-row p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }
.row-number { color: var(--terra); font-size: .79rem; font-weight: 700; padding-top: 3px; }
.row-arrow { color: var(--teal); font-size: 1.5rem; }
.action-row:hover h3 { color: var(--teal); }
.sage-section { background: var(--sage); }
.evidence-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.evidence-photos { display: flex; justify-content: center; gap: 20px; align-items: center; }
.evidence-photos figure, .local-evidence figure { margin: 0; padding: 13px 13px 18px; background: var(--paper); box-shadow: 0 10px 20px #172b3a0a; }
.evidence-photos figure:first-child { transform: rotate(-4deg); }
.evidence-photos figure:last-child { transform: rotate(4deg); margin-top: 50px; }
.evidence-photos img, .local-evidence img { object-fit: contain; margin: auto; }
figcaption { color: var(--muted); font-size: .72rem; margin-top: 12px; line-height: 1.6; }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.entry-link { border-top: 2px solid var(--teal); padding: 30px 0 0; }
.entry-link h3 { font-size: 1.55rem; }
.entry-link p { color: var(--muted); max-width: 460px; }
.entry-symbol { display: inline-grid; place-items: center; width: 48px; height: 48px; background: #e7eee5; color: var(--teal); border-radius: 12px; font-size: 1.3rem; margin-bottom: 22px; }
.support-band { background: var(--sage); padding-block: 54px; border-block: 1px solid #c6d7c9; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.band-inner h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin-bottom: 14px; }
.band-inner p:last-child { margin-bottom: 0; color: var(--muted); }
.band-inner > .button { flex-shrink: 0; }
.page-hero { padding-block: 65px 38px; }
.page-hero h1 { max-width: 950px; font-size: clamp(2.6rem, 4.7vw, 4.3rem); }
.page-hero .lead { margin-bottom: 0; }
.intro-note { display: flex; align-items: start; gap: 30px; padding: 25px 30px; border-inline-start: 3px solid var(--teal); background: #edf1e9; }
.intro-note .tag { flex-shrink: 0; background: #d9e5d7; }
.intro-note p { margin: 0; color: var(--muted); font-size: .95rem; }
.check-list { list-style: none; padding: 0; margin-block: 28px; }
.check-list li { padding-block: 14px; padding-inline: 25px 0; position: relative; border-bottom: 1px solid var(--line); }
.check-list li::before { position: absolute; inset-inline-start: 0; content: "✓"; color: var(--teal); font-weight: 700; }
.wide-photo { margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: 18px 18px 65px 18px; }
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; list-style: none; padding: 0; margin-bottom: 0; }
.process-list > li { border-top: 1px solid #abc1ae; padding-top: 23px; }
.process-list > li > span { color: var(--teal); font-size: .85rem; display: block; margin-bottom: 18px; }
.process-list h3 { font-size: 1.1rem; }
.process-list p { font-size: .92rem; color: #40574c; margin-bottom: 0; }
.program-heading { display: flex; gap: 20px; align-items: start; justify-content: space-between; }
.classroom-diagram { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 35px; overflow: hidden; }
.classroom-diagram > div { padding: 26px; background: var(--paper); }
.classroom-diagram > div + div { border-inline-start: 1px solid var(--line); }
.classroom-diagram span { font-weight: 700; color: var(--teal); }
.classroom-diagram p { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; margin-block: 40px; }
.path-grid article { border-top: 1px solid #a0b5a4; padding-top: 24px; }
.path-grid p { color: var(--muted); }
.step-label { color: var(--terra); display: block; font-size: .79rem; margin-bottom: 13px; font-weight: 650; }
.teal-section { background: var(--teal); color: #fff; }
.teal-section .eyebrow { color: #f5d0bd; }
.teal-section p, .teal-section .split > div > p { color: #dfebe5; }
.teal-section .button.secondary { color: #fff; border-color: #a7c4bd; }
.teal-section .button.secondary:hover { background: var(--teal-dark); }
.plain-list p { border-bottom: 1px solid var(--line); padding-block: 0 16px; }
.teal-section .plain-list p { border-color: #ffffff40; }
.support-option { display: grid; grid-template-columns: 40px 1fr 270px; gap: 24px; align-items: start; border-top: 1px solid var(--line); padding-block: 34px; scroll-margin-top: 108px; }
.support-option h2 { font-size: 1.55rem; }
.support-option p { max-width: 660px; margin-bottom: 0; color: var(--muted); }
.support-option .button { margin-top: 4px; font-size: .85rem; }
.notice { background: #f4eadb; color: #674820; padding: 20px; border-radius: 10px; }
.mission-statement { border-inline-start: 3px solid var(--teal); padding-inline-start: 30px; }
.mission-statement p { color: var(--teal) !important; font-size: 1.6rem; line-height: 1.55; }
.milestone-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; margin-top: 45px; }
.milestone-grid article { border-inline-start: 1px solid #a0b5a4; padding-inline-start: 24px; }
.milestone-grid p { color: #40574c; }
.milestone-value { display: block; color: var(--teal); font-size: 2rem; line-height: 1.2; font-weight: 700; margin-bottom: 20px; }
.milestone-value.text-value { font-size: 1.6rem; }
.local-evidence { display: flex; align-items: start; justify-content: center; gap: 22px; }
.local-evidence figure { max-width: 220px; }
.founder-grid { display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 60px; max-width: 930px; }
.founder-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 70px 14px 70px 14px; }
.founder-grid h3 { font-size: 1.8rem; }
.founder-grid p:not(.eyebrow) { color: var(--muted); }
.team-list { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 50px; }
.team-list article { border-top: 1px solid var(--line); padding-top: 26px; }
.team-list p { color: var(--muted); margin-top: 16px; }
.role { color: var(--terra); font-size: .83rem; font-weight: 650; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-bottom: 26px; }
.partner { display: grid; grid-template-columns: 110px 1fr; gap: 25px; }
.partner h3 { font-size: 1.2rem; }
.partner p { font-size: .95rem; color: #40574c; }
.partner-logo { background: #fff; padding: 12px; height: 110px; border-radius: 10px; display: flex; align-items: center; }
.partner-logo img { object-fit: contain; max-height: 100%; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.contact-details > div { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 24px; }
.contact-details > div p { margin-bottom: 6px; color: var(--muted); }
.contact-details a { overflow-wrap: anywhere; }
.contact-details .small-copy { margin-top: 25px; }
.contact-form-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.contact-form-panel h2, .contact-details h2 { font-size: 1.65rem; }
.contact-form-panel > p { font-size: .95rem; color: var(--muted); }
label { display: block; font-size: .85rem; font-weight: 650; }
input, textarea, select { display: block; width: 100%; min-width: 0; border: 1px solid #9aaa9f; border-radius: 7px; background: #fff; color: var(--navy); padding: 11px 13px; min-height: 46px; font-size: 1rem; }
textarea { resize: vertical; }
.contact-form-panel label { margin-block: 20px 7px; }
.contact-form-panel .button { margin-top: 22px; }
#contact-status:empty { display: none; }
#contact-status { margin-block: 17px; }
.language-switch { display: flex; justify-content: flex-end; gap: 5px; margin-bottom: 20px; }
.language-switch a { border: 1px solid var(--line); border-radius: 7px; padding: 6px 15px; font-size: .85rem; }
.language-switch a[aria-current="page"] { color: #fff; background: var(--teal); border-color: var(--teal); }
.resource-notice { background: #edf1e9; border-inline-start: 3px solid var(--teal); padding: 24px 30px; }
.resource-notice h2 { font-size: 1.1rem; margin-bottom: 12px; }
.resource-notice p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.resource-notice p:last-child { margin-bottom: 0; }
.directory { padding-top: 30px; }
.directory-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 22px; }
.directory-heading h2 { font-size: 1.7rem; margin: 0; }
.directory-heading p { margin: 0; font-size: .85rem; color: var(--muted); }
.resource-filters { padding: 25px; background: var(--sage); border-radius: 12px; margin-bottom: 34px; }
.resource-filters input, .resource-filters select { margin-top: 7px; }
.search-field { max-width: 620px; margin-bottom: 20px; }
.filter-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 16px; align-items: end; }
.filter-row select { font-size: .85rem; text-overflow: ellipsis; }
.reset-button { background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; padding: 12px 5px; min-height: 46px; font-size: .85rem; font-weight: 650; color: var(--teal); }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.resource-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 27px; min-width: 0; }
.resource-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.resource-top .tag { font-size: .7rem; }
.resource-monogram { color: var(--teal); width: 30px; height: 30px; font-size: 1.1rem; display: grid; place-items: center; flex-shrink: 0; background: #edf1e9; border-radius: 7px; }
.resource-card h3 { font-size: 1.3rem; line-height: 1.35; }
.resource-description { font-size: .95rem; margin-bottom: 15px; }
.resource-audience { font-size: .77rem; color: var(--teal); line-height: 1.7; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.resource-card dl { margin: 0 0 24px; }
.resource-card dl > div { margin-bottom: 15px; }
.resource-card dt { font-size: .76rem; font-weight: 750; margin-bottom: 3px; }
.resource-card dd { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.75; }
.resource-links { margin-top: auto; font-size: .83rem; }
.resource-links a { display: block; }
.source-link { text-decoration: underline; color: var(--muted); text-underline-offset: 3px; margin-top: 10px; font-size: .76rem; }
.resource-review { color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; font-size: .7rem; margin: 20px 0 0; }
.empty-state { text-align: center; padding: 50px 20px; border: 1px dashed #9aaa9f; border-radius: 12px; }
.empty-state p { color: var(--muted); }
.training-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; }
.training-list article { display: grid; grid-template-columns: 30px 1fr; gap: 20px; border-top: 1px solid var(--line); padding-top: 25px; }
.training-list h3 { font-size: 1.2rem; }
.training-list p { color: var(--muted); margin-bottom: 12px; font-size: .93rem; }
.training-list .training-resource { color: var(--teal); font-weight: 650; font-size: .84rem; }
.training-list .small-copy { font-size: .82rem; }
.site-footer { background: var(--navy); color: #e8eee9; padding-block: 54px 24px; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 70px; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.footer-grid p { color: #bfcdc8; max-width: 300px; }
.footer-grid .footer-tagline { color: #fff; font-size: 1.05rem; }
.footer-grid nav, .footer-grid > div:last-child { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.footer-grid a:not(.brand) { padding-block: 2px; overflow-wrap: anywhere; }
.footer-grid a:not(.brand):hover { text-decoration: underline; }
.footer-grid h2 { font-size: .95rem; margin-bottom: 10px; letter-spacing: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; margin-top: 35px; border-top: 1px solid #ffffff30; color: #bfcdc8; font-size: .72rem; }
/* Complete static language versions and user-prepared real photographs. */
.navigation { flex-wrap: wrap; gap: 0 30px; padding-top: 12px; }
.header-languages, .mobile-languages { display: flex; gap: 5px; align-items: center; }
.header-languages { margin-inline-start: auto; font-size: .78rem; }
.header-languages a, .mobile-languages a { padding: 5px 10px; border: 1px solid var(--line); border-radius: 5px; }
.header-languages a[aria-current="page"], .mobile-languages a[aria-current="page"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.nav-links { width: 100%; justify-content: space-between; gap: 12px; padding-block: 8px 14px; }
.mobile-languages { display: none; }
.nav-links .mobile-languages a::after { display: none; }
.story-photo { margin: 0; min-width: 0; }
.story-photo picture { display: block; }
.story-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 14px; }
.story-photo figcaption { color: var(--muted); font-size: .78rem; line-height: 1.65; }
.hero-photo.training-photo { padding-bottom: 0; }
.training-photo .story-photo img { border-radius: 26px; }
.activity-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 25px; }
.learning-stories, .training-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 50px; }
.learning-stories .path-grid { grid-template-columns: 1fr; gap: 16px; margin-block: 22px; }
.learning-stories .path-grid article { padding-top: 15px; }
.learning-stories .path-grid p { margin-bottom: 0; }
.training-intro { margin-bottom: 35px; align-items: center; }
.partner-identity { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 25px; }
.partner-identity img { width: 100%; height: auto; max-height: 310px; object-fit: contain; }
.partner-identity figcaption { text-align: center; font-size: .9rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.gallery-photo a { display: block; position: relative; border-radius: 14px; }
.enlarge-label { display: inline-flex; position: absolute; inset-inline-end: 12px; inset-block-end: 12px; gap: 12px; padding: 6px 11px; background: var(--ivory); border-radius: 6px; font-size: .78rem; color: var(--navy); }
#photo-viewer { width: min(1100px,calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; padding: 18px; border-radius: 15px; background: var(--ivory); color: var(--navy); }
#photo-viewer::backdrop { background: #071d2cce; }
.viewer-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.viewer-toolbar button { min-width: 44px; min-height: 44px; padding: 6px 12px; border: 1px solid #9aaa9f; border-radius: 7px; background: var(--paper); font-size: 1.4rem; }
.viewer-toolbar [data-viewer-close] { margin-inline-start: auto; }
#viewer-count { font-size: .9rem; }
#photo-viewer figure { margin: 0; }
#photo-viewer img { width: 100%; max-height: 72dvh; height: auto; object-fit: contain; }
#viewer-caption { margin-block: 12px 0; font-size: .9rem; }
[lang="ar"] input[type="search"], [lang="ar"] textarea { text-align: start; }
[lang="ar"] .contact-details a[href^="mailto:"], [lang="ar"] .contact-details a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
[lang="ar"] .eyebrow { text-transform: none; }
@media (max-width: 1180px) {
  .nav-links { gap: 13px; font-size: .72rem; }
  .navigation { gap: 20px; }
  .wrap { width: min(1200px, calc(100% - 56px)); }
  .hero-grid, .split, .editorial-grid { gap: 44px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 4.7vw, 4rem); }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .navigation { flex-wrap: wrap; min-height: 74px; gap: 0; }
  .navigation .brand { order: 0; }
  .navigation .menu-toggle { order: 1; margin-inline-start: auto; }
  .header-languages { order: 2; width: 100%; justify-content: center; padding-block: 7px; margin: 0; }
  .nav-links { order: 3; }
  .js .nav-links.open { max-height: calc(100dvh - 120px); }
  .mobile-languages { display: flex; flex-wrap: wrap; margin-top: 10px; }
  .menu-toggle { display: none; align-items: center; gap: 10px; background: transparent; border: 1px solid #9aaa9f; border-radius: 7px; min-height: 44px; padding: 7px 13px; font-size: .85rem; }
  .js .menu-toggle { display: inline-flex; }
  .menu-icon { font-size: 1.3rem; line-height: 1; }
  .nav-links { display: flex; width: 100%; flex-wrap: wrap; gap: 9px 20px; padding-block: 15px 22px; }
  .js .nav-links { display: none; }
  .js .nav-links.open { display: flex; flex-direction: column; align-items: stretch; max-height: calc(100dvh - 74px); overflow-y: auto; }
  .nav-links a { font-size: .9rem; padding: 9px; }
  .nav-links a[aria-current="page"]::after { inset-inline: 9px; bottom: 2px; width: 30px; }
  .site-header { position: sticky; }
  .hero-grid { gap: 40px; }
  .hero-copy .eyebrow { line-height: 1.7; }
  .hero-copy h1 { font-size: 3.1rem; }
  .evidence-grid { gap: 40px; }
  .evidence-photos { gap: 10px; }
  .evidence-photos figure { padding: 8px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .support-option { grid-template-columns: 30px 1fr; }
  .support-option .button { grid-column: 2; justify-self: start; }
  .contact-grid { gap: 40px; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .reset-button { justify-self: start; }
  .intro-note { flex-direction: column; gap: 14px; }
  .partner { grid-template-columns: 80px 1fr; gap: 20px; }
  .partner-logo { height: 80px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .learning-stories, .training-intro { grid-template-columns: 1fr; gap: 28px; }
  .activity-photo-grid { grid-template-columns: 1fr; }
  .activity-photo-grid .story-photo { max-width: 620px; }
  .learning-stories > .story-photo { order: 2; }
  .section { padding-block: 60px; }
  .section-tight { padding-block: 20px 30px; }
  .home-hero { padding-block: 42px 45px; }
  .hero-grid, .editorial-grid, .split, .evidence-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 7.5vw, 4.1rem); }
  .hero-photo { max-width: 540px; width: 100%; margin-inline: auto; }
  .hero-photo > img { aspect-ratio: 1.1; border-start-start-radius: 65px; }
  .photo-note { inset-inline-start: 10px; max-width: calc(100% - 20px); }
  .context-strip { flex-wrap: wrap; gap: 12px 30px; }
  .context-strip a { width: 100%; }
  .evidence-photos { order: 2; gap: 25px; padding-block: 10px; }
  .evidence-photos figure { padding: 12px; }
  .band-inner { align-items: start; flex-direction: column; gap: 25px; }
  .program-heading { flex-direction: column; margin-bottom: 30px; }
  .program-heading .section-heading { margin: 0; }
  .classroom-diagram { grid-template-columns: 1fr 1fr; }
  .classroom-diagram > div:nth-child(3) { border-inline-start: 0; }
  .classroom-diagram > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .milestone-grid { grid-template-columns: 1fr; gap: 25px; }
  .milestone-grid article { padding-block: 5px; }
  .milestone-grid p { max-width: 620px; }
  .founder-grid { grid-template-columns: 200px 1fr; gap: 35px; }
  .partner-grid { gap: 30px; grid-template-columns: 1fr; }
  .partner { grid-template-columns: 110px 1fr; }
  .partner-logo { height: 110px; }
  .footer-grid { gap: 35px; grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid p { max-width: none; }
  .training-list { gap: 25px; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 32px); }
  .gallery-grid { grid-template-columns: 1fr; gap: 25px; }
  h2 { font-size: 1.9rem; }
  .home-hero { padding-top: 32px; }
  .hero-copy h1 { font-size: clamp(2.45rem, 10vw, 3.4rem); }
  .hero-copy .eyebrow { font-size: .62rem; letter-spacing: .08em; }
  .hero-copy .lead { font-size: 1rem; }
  .button-row { align-items: stretch; gap: 10px; }
  .button-row > .button { width: 100%; justify-content: space-between; }
  .hero-learning { font-size: .79rem; }
  .hero-photo > img { aspect-ratio: 1; border-radius: 55px 12px 55px 12px; }
  .photo-note { padding: 15px; gap: 12px; }
  .photo-note strong { font-size: .75rem; }
  .photo-note div > span { font-size: .65rem; }
  .context-strip { flex-direction: column; align-items: start; font-size: .76rem; }
  .section { padding-block: 48px; }
  .section-tight { padding-block: 20px 28px; }
  .action-row { grid-template-columns: 25px 1fr 18px; gap: 12px; }
  .evidence-photos { gap: 10px; }
  .evidence-photos figure { padding: 9px; min-width: 0; }
  .entry-grid, .path-grid, .team-list, .resource-grid, .training-list { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding-block: 38px 25px; }
  .page-hero h1 { font-size: 2.6rem; }
  .lead { font-size: 1rem; }
  .intro-note, .resource-notice { padding: 20px; }
  .process-list { grid-template-columns: 1fr; gap: 24px; }
  .process-list > li { display: flex; gap: 20px; }
  .classroom-diagram > div { padding: 20px; }
  .support-option { gap: 12px; grid-template-columns: 22px 1fr; }
  .support-option h2 { font-size: 1.35rem; }
  .support-option .button { justify-self: stretch; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 250px; }
  .local-evidence { gap: 12px; }
  .local-evidence figure { padding: 9px; min-width: 0; }
  .partner { grid-template-columns: 80px 1fr; gap: 18px; }
  .partner-logo { height: 80px; }
  .contact-form-panel { padding: 23px 20px; }
  .contact-details a { font-size: .9rem; }
  .contact-form-panel .button { width: 100%; }
  .language-switch { justify-content: start; margin-bottom: 25px; }
  .directory-heading { align-items: start; flex-direction: column; gap: 8px; }
  .resource-filters { padding: 20px; }
  .filter-row { gap: 16px 12px; }
  .filter-row label { font-size: .78rem; }
  .filter-row select { padding-inline: 8px; font-size: .8rem; }
  .resource-card { padding: 25px; }
  .training-list article { gap: 12px; grid-template-columns: 25px 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
@media (max-width: 1000px) {
  .js .nav-links.open { max-height: calc(100dvh - 120px); }
}
