/* ================================================================
   SEWA — design system
   Colours come from the logo (baobab green), the hero globe (sage),
   and the awareness posters (Nile blue, sand). One typeface:
   Readex Pro, a geometric family drawn for Arabic and Latin together.
   ================================================================ */

@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url("../fonts/readex-pro-arabic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url("../fonts/readex-pro-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* palette */
  --baobab: #50a77c;      /* logo green */
  --baobab-deep: #2f7a56; /* green text on light backgrounds */
  --forest: #1d3a30;      /* dark panels, footer */
  --sage: #909c8a;        /* the globe film's sky */
  --mist: #eef3ef;        /* quiet section background */
  --paper: #fbfcf9;
  --ink: #1b2823;
  --ink-soft: #46554f;
  --nile: #3f87a6;        /* water */
  --sand: #d9c39c;        /* land */
  --sand-deep: #8a6a33;   /* land, readable */
  --sand-light: #efe4cf;
  --line: #d5ded8;

  --radius: 28px;         /* the logo's rounded square */
  --radius-s: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --font: "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.8rem);
  --step-3: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  font-weight: 330;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.3; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--baobab); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px;
  font: inherit; font-weight: 500; font-size: var(--step-0); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--baobab); color: #0f2a1e; }
.btn--primary:hover { background: #63b78c; }
.btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover { background: #28503f; }

/* ---------------- header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, box-shadow .3s, color .3s;
  color: #fff;
}
.site-header::before { /* soft shade so the menu stays legible over the globe */
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18,40,32,.55), rgba(18,40,32,0));
  transition: opacity .3s;
}
.site-header.is-solid { background: rgba(251,252,249,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.site-header.is-solid::before { opacity: 0; }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 1.35rem; }
.brand img { width: 42px; height: 42px; }
.nav { margin-inline-start: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: .98rem; font-weight: 400;
}
.nav a:hover { background: rgba(127,160,140,.18); }
.nav a[aria-current="page"] { font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  font: inherit; font-size: .95rem; color: inherit; background: none; border: 1.5px solid currentColor;
  border-radius: 999px; padding: 6px 14px; cursor: pointer; opacity: .9;
}
.lang-btn:hover { opacity: 1; }
.header-actions .btn { min-height: 42px; font-size: .95rem; }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .nav, .header-actions .btn { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: none; border: 0; color: inherit; cursor: pointer; border-radius: 12px;
  }
  .site-header__bar { min-height: 64px; }
  .brand img { width: 36px; height: 36px; }
  .nav.is-open {
    display: block; position: fixed; inset: 64px 0 auto 0; background: var(--paper); color: var(--ink);
    padding: 12px var(--gutter) 24px; box-shadow: 0 12px 30px rgba(20,40,30,.12);
  }
  .nav.is-open ul { flex-direction: column; gap: 2px; }
  .nav.is-open a { padding: 12px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.is-open .nav__join { margin-top: 16px; }
}
.nav .nav__join { display: none; }
@media (max-width: 960px) { .nav.is-open .nav__join { display: inline-flex; border: 0; border-radius: 999px; padding: 0 1.4em; } }

/* ================================================================
   HERO — one image, four framings; each scroll gesture moves one step
   ================================================================ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: #9ea890; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; }
.hero__globe {
  position: absolute; top: 0; bottom: 0; inset-inline-end: -2vw; width: 74vw; overflow: hidden;
  -webkit-mask-image: linear-gradient(to var(--mask-dir), transparent 0, #000 20%);
          mask-image: linear-gradient(to var(--mask-dir), transparent 0, #000 20%);
}
html[dir="rtl"] .hero__globe { --mask-dir: left; }
html[dir="ltr"] .hero__globe { --mask-dir: right; }
.hero__img {
  position: absolute; top: 0; left: 0; max-width: none; transform-origin: 0 0; will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
  transition: transform .85s cubic-bezier(.22,.8,.2,1);
}
.hero.is-instant .hero__img { transition: none; }
html[dir="rtl"] .hero__shade { background: linear-gradient(to left, rgba(24,52,41,.92) 0%, rgba(24,52,41,.72) 30%, rgba(24,52,41,0) 56%); }
html[dir="ltr"] .hero__shade { background: linear-gradient(to right, rgba(24,52,41,.92) 0%, rgba(24,52,41,.72) 30%, rgba(24,52,41,0) 56%); }
.hero__shade { position: absolute; inset: 0; pointer-events: none; }

.hero__content {
  position: absolute; inset: 0; display: flex; align-items: center;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  color: #fff; pointer-events: none;
}
.hero__steps { position: relative; width: min(540px, 46vw); min-height: 22rem; }
.hero__step {
  position: absolute; inset: 50% 0 auto 0; transform: translateY(calc(-50% + 22px));
  opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
}
.hero__step.is-active {
  opacity: 1; visibility: visible; transform: translateY(-50%); pointer-events: auto;
  transition: opacity .45s ease .2s, transform .55s cubic-bezier(.22,.8,.2,1) .2s, visibility 0s;
}
.hero__step h1, .hero__step h2 { font-size: var(--step-4); font-weight: 600; margin-bottom: .45em; }
.hero__step p { font-size: var(--step-1); line-height: 1.75; opacity: .92; max-width: 34ch; }
html[lang="en"] .hero__step p { max-width: 40ch; line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

.hero__progress {
  position: absolute; bottom: 116px; inset-inline-start: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  display: flex; gap: 4px; align-items: center; color: #fff;
}
.hero__dot { width: 44px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hero__dot::before { content: ""; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); transition: background-color .3s, height .3s; }
.hero__dot.is-active::before { background: #fff; height: 4px; }
.hero__dot:hover::before { background: rgba(255,255,255,.7); }
.hero__progress small { margin-inline-start: 12px; font-size: .85rem; opacity: .8; }

.hero__waves { position: absolute; inset: auto 0 0 0; height: 96px; pointer-events: none; }
.hero__waves svg { position: absolute; bottom: 18px; inset-inline-start: -10%; width: 120%; height: 78px; transition: transform .85s cubic-bezier(.22,.8,.2,1); }

@media (max-width: 760px) {
  .hero__img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 78%, transparent 100%); }
  .hero__globe { inset: 0 0 auto 0; width: 100%; height: 64%; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
  html[dir] .hero__shade { background: linear-gradient(to top, rgba(24,52,41,.96) 0%, rgba(24,52,41,.88) 38%, rgba(24,52,41,0) 64%); }
  .hero__content { align-items: flex-end; padding-bottom: 130px; }
  .hero__steps { width: 100%; min-height: 0; height: 17.5rem; }
  .hero__step { inset: auto 0 0 0; transform: translateY(22px); }
  .hero__step.is-active { transform: none; }
  .hero__step h1, .hero__step h2 { font-size: clamp(1.75rem, 7.4vw, 2.3rem); }
  .hero__step p { font-size: 1.02rem; }
  .hero__progress { bottom: 84px; }
  .hero__waves { height: 70px; }
  .hero__waves svg { height: 56px; bottom: 12px; }
}
@media (max-width: 760px) and (max-height: 640px) {
  .hero__steps { height: 15rem; }
  .hero__step p { font-size: .95rem; line-height: 1.6; }
}

/* ---------------- section scaffolding ---------------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--mist { background: var(--mist); }
.section__head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { font-size: var(--step-3); margin-bottom: .4em; }
.section__head p { color: var(--ink-soft); font-size: var(--step-1); }
.link-more {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 500; color: var(--baobab-deep);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
}
.link-more:hover { color: var(--forest); }

/* ---------------- why SEWA ---------------- */
.why { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why h2 { font-size: var(--step-3); margin-bottom: .6em; }
.why__lead { font-size: var(--step-1); line-height: 1.9; color: var(--ink); }
html[lang="en"] .why__lead { line-height: 1.65; }
.why__vm { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.why__vm h3 { font-size: 1.05rem; color: var(--baobab-deep); margin-bottom: .4em; }
.why__vm p { color: var(--ink-soft); font-size: .98rem; }
.why__photo { position: relative; }
.why__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.why__photo figcaption { margin-top: 12px; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
  .why__photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) { .why__vm { grid-template-columns: 1fr; } }

/* ---------------- areas: water / land / people ---------------- */
.families { display: grid; grid-template-columns: 2fr 4fr 3fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.family__name {
  display: flex; align-items: center; gap: 12px; font-size: var(--step-2); font-weight: 600;
  padding-bottom: 14px; margin-bottom: 8px; border-bottom: 3px solid var(--fam);
}
.family__name svg { width: 30px; height: 30px; color: var(--fam); flex: none; }
.family--water { --fam: var(--nile); }
.family--land { --fam: var(--sand-deep); }
.family--people { --fam: var(--baobab-deep); }
.family--land .family__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.area { padding: 20px 0; border-bottom: 1px solid var(--line); }
.area__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; background: color-mix(in srgb, var(--fam) 13%, transparent); color: var(--fam); }
.area__icon svg { width: 24px; height: 24px; }
.area h3 { font-size: 1.08rem; margin-bottom: .35em; }
.area p { font-size: .96rem; color: var(--ink-soft); line-height: 1.75; }
@media (max-width: 1020px) {
  .families { grid-template-columns: 1fr 1fr; }
  .family--land { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 640px) {
  .families { grid-template-columns: 1fr; }
  .family--land { grid-row: auto; }
  .family--land .family__list { grid-template-columns: 1fr; }
}

/* ---------------- featured activity (dark) ---------------- */
.featured { background: var(--forest); color: #fff; }
.featured .section__head p { color: rgba(255,255,255,.75); }
.featured__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: #0d1f18; border: 0; padding: 0; cursor: pointer; color: #fff; font: inherit;
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,25,19,.75), rgba(10,25,19,.05) 55%); }
.yt:hover img { transform: scale(1.03); }
.yt__play {
  position: absolute; z-index: 1; inset-inline-start: 24px; bottom: 22px; display: flex; align-items: center; gap: 14px;
  font-size: 1.05rem; font-weight: 500;
}
.yt__play b { width: 64px; height: 64px; border-radius: 50%; background: var(--baobab); display: grid; place-items: center; flex: none; }
.yt__play b svg { width: 26px; height: 26px; color: #0f2a1e; margin-inline-start: 4px; }
html[dir="rtl"] .yt__play b svg { margin-inline-start: 0; margin-inline-end: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.featured__meta { font-size: .92rem; color: var(--sand); margin-bottom: 10px; }
.featured h3 { font-size: var(--step-2); margin-bottom: .6em; }
.featured__summary { color: rgba(255,255,255,.85); margin-bottom: 26px; }
.roles { list-style: none; margin: 0 0 28px; padding: 0; }
.roles li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.15); }
.roles strong { display: block; font-weight: 600; color: #fff; margin-bottom: 2px; }
.roles span { color: rgba(255,255,255,.75); font-size: .96rem; }
.featured .link-more { color: #9fdcbb; }
.featured .link-more:hover { color: #fff; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px;
  margin-top: clamp(36px, 5vw, 56px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent;
}
.strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-s); scroll-snap-align: start; }
@media (max-width: 900px) { .featured__grid { grid-template-columns: 1fr; } .strip { grid-auto-columns: 72%; } }

/* ---------------- awareness posts ---------------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.post img { width: 100%; border-radius: var(--radius-s); border: 1px solid var(--line); }
.post__kind { display: block; margin-top: 16px; font-size: .88rem; color: var(--baobab-deep); font-weight: 500; }
.post h3 { font-size: 1.2rem; margin: 4px 0 8px; }
.post p { color: var(--ink-soft); font-size: .96rem; }
.posts-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }

/* ---------------- join band ---------------- */
.join { background: var(--sand-light); position: relative; overflow: hidden; }
.join__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.join h2 { font-size: var(--step-3); margin-bottom: .4em; }
.join p { color: #4d4433; font-size: var(--step-1); }
.paths { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.paths a {
  display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--forest); color: var(--forest); text-decoration: none; font-weight: 500;
}
.paths a:hover { background: var(--forest); color: #fff; }
.join__waves { position: absolute; inset: auto -10% -6px -10%; height: 110px; color: var(--sand); opacity: .9; }
.join__waves svg { width: 100%; height: 100%; }
@media (max-width: 860px) { .join__inner { grid-template-columns: 1fr; } }

/* ---------------- footer ---------------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,.82); padding-block: 64px 28px; font-size: .96rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 120px; margin-bottom: 18px; }
.footer__brand p { max-width: 38ch; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer__mail { color: #9fdcbb; font-weight: 500; direction: ltr; unicode-bidi: isolate; }
.footer__tagline { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ================================================================
   INNER PAGES
   ================================================================ */
[id] { scroll-margin-top: 96px; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.lead { font-size: var(--step-2); line-height: 1.7; font-weight: 400; color: var(--ink); }
html[lang="en"] .lead { line-height: 1.45; }

.page-head {
  position: relative; overflow: hidden; background: var(--forest); color: #fff;
  padding: calc(76px + clamp(48px, 7vw, 96px)) 0 calc(80px + clamp(28px, 4vw, 48px));
}
.page-head h1 { font-size: var(--step-4); max-width: 22ch; }
.page-head--article h1 { font-size: var(--step-3); max-width: 30ch; }
.page-head p { margin-top: 18px; max-width: 60ch; font-size: var(--step-1); color: rgba(255,255,255,.82); }
.page-head__waves { position: absolute; inset: auto -10% 18px -10%; height: 70px; color: var(--baobab); opacity: .55; }
.page-head__waves svg { width: 100%; height: 100%; }
.page-head a { color: #9fdcbb; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px !important; font-size: .95rem !important; color: var(--sand) !important; }
.article__meta a { color: #9fdcbb; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.split h2 { font-size: var(--step-2); margin-bottom: .6em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.how li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.05rem; font-weight: 400; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } }

.orgs { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.org { background: var(--paper); border-radius: var(--radius-s); padding: 28px; border: 1px solid var(--line); }
.org h3 { font-size: var(--step-1); margin-bottom: .5em; color: var(--baobab-deep); }
.org p { color: var(--ink-soft); font-size: .98rem; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .88rem; padding: 4px 12px; border-radius: 999px; background: var(--mist); }
.legal { margin-top: 40px; padding: 28px; border-inline-start: 4px solid var(--baobab); background: var(--paper); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
html[dir="rtl"] .legal { border-radius: var(--radius-s) 0 0 var(--radius-s); }
.legal h3 { font-size: 1.1rem; margin-bottom: .4em; }
.legal p { color: var(--ink-soft); max-width: 75ch; }
@media (max-width: 960px) { .orgs { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 10px 0; padding-inline-start: 28px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 1.15em; width: 12px; height: 6px; border: solid var(--fam, var(--baobab)); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.jump { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); text-decoration: none; color: #fff; font-size: .9rem; }
.jump a:hover { background: rgba(255,255,255,.12); }
.fam-block:nth-of-type(even) { background: var(--mist); }
.fam-title { font-size: var(--step-3); margin-bottom: 12px; }
.fam-title svg { width: 40px; height: 40px; }
.arow { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 4vw, 56px); padding: 36px 0; border-bottom: 1px solid var(--line); }
.arow:last-child { border-bottom: 0; }
.arow h3 { font-size: var(--step-2); margin-bottom: .4em; }
.arow__head p { color: var(--ink-soft); }
@media (max-width: 760px) { .arow { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { font: inherit; font-size: .95rem; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.filters button.is-on { background: var(--forest); border-color: var(--forest); color: #fff; }
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.ncell:first-child { grid-column: 1 / -1; }
.ncard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); }
.ncard h2 { font-size: 1.2rem; margin: 4px 0 8px; }
.ncard h2 a { text-decoration: none; }
.ncard h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ncard p { color: var(--ink-soft); font-size: .96rem; }
.ncard--big { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.ncard--big .ncard__img img { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.ncard--big h2 { font-size: var(--step-2); }
.ncard--big p { font-size: 1.05rem; }
@media (max-width: 860px) { .ngrid { grid-template-columns: 1fr 1fr; } .ncard--big { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ngrid { grid-template-columns: 1fr; } }

.article { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.article__media { position: sticky; top: 100px; }
.article__poster { width: 100%; border-radius: var(--radius-s); border: 1px solid var(--line); }
.yt-alt { margin-top: 14px; }
.article__text > p + p { margin-top: 1em; }
.article__text > p:not(.lead) { font-size: 1.08rem; }
.article__h { font-size: var(--step-1); margin: 36px 0 8px; }
.roles--light li { border-top-color: var(--line); }
.roles--light strong { color: var(--ink); }
.roles--light span { color: var(--ink-soft); }
.article__share { margin-top: 32px; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .article__media { position: static; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery__item { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-s); overflow: hidden; }
.gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(8,20,15,.9); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-s); }
.lightbox__bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; color: #fff; }
.lightbox__bar button { font: inherit; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; min-height: 44px; }
.lightbox__bar button[data-a="close"] { padding: 0; width: 44px; display: grid; place-items: center; }
.lightbox__bar svg { width: 22px; height: 22px; }

.jpaths { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.jpath { padding-top: 22px; border-top: 3px solid var(--baobab); }
.jpath h2 { font-size: var(--step-2); margin-bottom: .4em; }
.jpath p { color: var(--ink-soft); margin-bottom: 16px; }
@media (max-width: 860px) { .jpaths { grid-template-columns: 1fr; } }

.form-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-wrap--contact { grid-template-columns: 1fr 1.5fr; }
.form-wrap .why__photo img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .form-wrap, .form-wrap--contact { grid-template-columns: 1fr; } .form-wrap .why__photo { display: none; } }
.form { display: grid; gap: 16px; background: var(--paper); padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); }
.form h2 { font-size: var(--step-2); margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: .95rem; font-weight: 500; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 330; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #c3cfc8; border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--baobab); box-shadow: 0 0 0 3px rgba(80,167,124,.25); }
.form .btn { justify-self: start; }
.form .hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; font-size: .98rem; }
.form__status.is-ok { color: var(--baobab-deep); font-weight: 500; }
.form__status.is-err { color: #a3392b; }
.cinfo { margin: 0; display: grid; gap: 28px; }
.cinfo dt { font-size: .92rem; color: var(--ink-soft); margin-bottom: 4px; }
.cinfo dd { margin: 0; font-size: var(--step-1); font-weight: 500; }
.cinfo a { color: var(--baobab-deep); }
.cinfo__mail { direction: ltr; unicode-bidi: isolate; font-size: var(--step-2); }
