/* ---- tokens.css ---- */
/* Design tokens: the single place to change colour, type and spacing. */
:root {
  /* colour */
  --ink: #06171a;
  --midnight: #0a2030;
  --forest: #0b2a22;
  --forest-2: #113a2f;
  --emerald: #1a6b52;
  --emerald-2: #2b8f6e;
  --sage: #9cc9b6;
  --ivory: #f7f3ea;
  --paper: #fbf9f4;
  --sand: #efe8d9;
  --line: #e0d6c1;
  --gold: #c9a45c;
  --gold-2: #e6d2a3;
  --gold-ink: #7d5f22;
  --text: #15231f;
  --muted: #53635d;
  --white: #fff;
  --on-dark: #f3efe4;
  --on-dark-muted: #b9c8c1;
  --line-dark: rgba(230, 210, 163, .18);

  /* map + category colours */
  --c-clinic: #e9cf8f;
  --c-mission: #f29b78;
  --c-relief: #f4c552;
  --c-education: #8fcbef;
  --c-community: #b5e3a4;

  /* status tones */
  --t-live: #1f8a66;
  --t-urgent: #c8552f;
  --t-build: #b8801a;
  --t-plan: #4a6fa5;
  --t-done: #2d7f86;
  --t-mission: #9a7430;

  /* type */
  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-arabic: "Amiri", "Scheherazade New", "Noto Naskh Arabic", "Traditional Arabic", serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .16vw, 1.1rem);
  --step-1: clamp(1.14rem, 1.08rem + .32vw, 1.34rem);
  --step-2: clamp(1.38rem, 1.24rem + .7vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.46rem + 1.45vw, 2.7rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.5vw, 3.9rem);
  --step-5: clamp(2.75rem, 1.7rem + 5.2vw, 6.2rem);

  /* space + shape */
  --gutter: clamp(1.15rem, .6rem + 2.4vw, 2.75rem);
  --container: 1240px;
  --section: clamp(4rem, 2.8rem + 6vw, 8.5rem);
  --radius: 14px;
  --radius-lg: 24px;
  --header-h: 76px;
  --shadow: 0 18px 50px -24px rgba(6, 23, 26, .35);
  --shadow-lg: 0 40px 90px -40px rgba(6, 23, 26, .55);

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .7s;

  /* the Islamic eight-point star lattice, used very faintly on dark and ivory surfaces */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23c9a45c' stroke-width='.9'%3E%3Cpath d='M42 8 76 42 42 76 8 42Z'/%3E%3Cpath d='M18 18h48v48H18Z'/%3E%3Cpath d='M0 42h8M76 42h8M42 0v8M42 76v8M0 0l18 18M84 0 66 18M0 84l18-18M84 84 66 66'/%3E%3C/g%3E%3C/svg%3E");
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V40C0 24 16 17 32 11C41 7.5 47 4 50 0C53 4 59 7.5 68 11C84 17 100 24 100 40V100Z'/%3E%3C/svg%3E");
}

/* ---- base.css ---- */
/* Reset, typography and small shared pieces (buttons, chips, status labels). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 var(--step-0)/1.65 var(--f-body); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--gold-2); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; font-variation-settings: "SOFT" 50, "WONK" 0; }
h1 em, h2 em { font-style: italic; font-weight: 300; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--gold); color: var(--ink); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.star8 { width: 100%; height: 100%; }

/* eyebrow */
.eyebrow { font: 600 .74rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--emerald); display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 1.8rem; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--gold { color: var(--gold-2); }
.section-head--center .eyebrow::after { content: ""; width: 1.8rem; height: 1px; background: currentColor; opacity: .7; }

/* buttons */
.btn {
  --bg: var(--forest); --fg: var(--ivory); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 600 .95rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(6, 23, 26, .6); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .35s var(--ease-out); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--gold { --bg: linear-gradient(135deg, #e9d6a6, #c9a45c 55%, #b88f45); --fg: #10221d; }
.btn--forest { --bg: var(--forest); --fg: var(--ivory); }
.btn--forest:hover { --bg: var(--forest-2); }
.btn--ghost { --bg: rgba(255, 255, 255, .04); --fg: var(--on-dark); --bd: rgba(243, 239, 228, .34); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .12); --bd: var(--gold-2); }
.btn--outline { --bg: transparent; --fg: var(--forest); --bd: rgba(11, 42, 34, .32); }
.btn--outline:hover { --bg: var(--forest); --fg: var(--ivory); }
.btn--sm { padding: .62rem 1.05rem; font-size: .88rem; }
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; color: var(--emerald); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .25s, color .25s; }
.link-arrow .icon { transition: transform .35s var(--ease-out); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--gold-2); }

/* status, tags, chips */
.status { display: inline-flex; align-items: center; gap: .5rem; font: 600 .76rem/1.2 var(--f-body); letter-spacing: .04em; padding: .38rem .7rem .38rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--tone) 12%, white); color: color-mix(in srgb, var(--tone) 78%, black); border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); --tone: var(--t-live); }
.status__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--tone); flex: none; }
.status--live { --tone: var(--t-live); }
.status--urgent { --tone: var(--t-urgent); }
.status--build { --tone: var(--t-build); }
.status--plan { --tone: var(--t-plan); }
.status--done { --tone: var(--t-done); }
.status--mission { --tone: var(--t-mission); }
.status--urgent .status__dot, .status--live .status__dot { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tone) 60%, transparent); animation: status-ping 2.4s var(--ease) 3; }
@keyframes status-ping { 70%, 100% { box-shadow: 0 0 0 .55rem transparent; } }

.tag { display: inline-block; font: 600 .68rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: .34rem .55rem; border-radius: 4px; background: color-mix(in srgb, var(--c) 30%, white); color: #26302c; --c: var(--c-clinic); }
.tag--clinic { --c: var(--c-clinic); }
.tag--mission { --c: var(--c-mission); }
.tag--relief { --c: var(--c-relief); }
.tag--education { --c: var(--c-education); }
.tag--community { --c: var(--c-community); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chip { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .9rem; font-weight: 500; }

.ticks { display: grid; gap: .65rem; margin-top: 1.2rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .62rem; height: .62rem; border: 1.5px solid var(--gold); transform: rotate(45deg); }

.prose { max-width: 62ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p:first-child { font-size: var(--step-1); line-height: 1.5; color: var(--text); }

/* ---- layout.css ---- */
/* Page frame: container, sections, header, menus, footer, inner-page hero. */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { --container: 860px; }

.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .55); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--forest { background: var(--forest); color: var(--on-dark); }
.section--ink { background: radial-gradient(120% 90% at 80% 0%, #0f3340 0%, var(--ink) 55%), var(--ink); color: var(--on-dark); overflow: hidden; }
.section--paper + .section--paper { padding-top: 0; }
.section--sand + .section--sand { padding-top: 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.6rem); display: grid; gap: 1.1rem; justify-items: start; }
.section-head--wide { max-width: 58rem; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section-head__title { font-size: var(--step-4); }
.section-head__intro { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 44rem; }
.section-head--light .section-head__intro, .section--ink .section-head__intro, .section--forest .section-head__intro { color: var(--on-dark-muted); }
.section-head--row .section-head__title { font-size: var(--step-3); }

.split-text { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 5rem); }
.split-text .section-head { margin-bottom: 0; }
@media (min-width: 900px) { .split-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } .split-text .section-head { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--on-dark); transition: background-color .4s, box-shadow .4s, transform .45s var(--ease-out), height .3s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 23, 26, .72), rgba(6, 23, 26, 0)); opacity: 1; transition: opacity .4s; pointer-events: none; }
.site-header.is-scrolled { background: rgba(7, 26, 24, .9); box-shadow: 0 1px 0 var(--line-dark), 0 18px 40px -28px #000; backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-110%); box-shadow: none; }
.site-header__inner { position: relative; height: 100%; width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.brand__seal { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(230, 210, 163, .5), 0 6px 18px -8px #000; transition: transform .6s var(--ease-out); }
.brand:hover .brand__seal { transform: rotate(-8deg) scale(1.04); }
.brand__text { display: grid; line-height: 1.05; }
.brand__short { font: 500 1.4rem/1 var(--f-display); letter-spacing: .06em; }
.brand__name { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: .28rem; }
@media (max-width: 420px) { .brand__name { display: none; } }

.nav { display: none; }
@media (min-width: 1040px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: .3rem; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .7rem .85rem; font: 500 .94rem/1 var(--f-body); text-decoration: none; color: var(--on-dark); border-radius: 999px; transition: color .2s, background-color .2s; }
.nav__link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .38rem; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__trigger.is-current::after, .nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link .icon { width: .95em; height: .95em; transition: transform .3s; }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: .7rem; }

.mega { position: fixed; left: 0; right: 0; top: var(--header-h); background: rgba(7, 26, 24, .97); backdrop-filter: blur(16px); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease-out), visibility 0s .3s; box-shadow: 0 40px 80px -40px #000; }
.nav__trigger[aria-expanded="true"] + .mega, .no-js .nav__item--menu:hover .mega, .no-js .nav__item--menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; padding-block: 2.4rem 2.8rem; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 3rem; }
.mega__intro { display: grid; gap: 1rem; align-content: start; }
.mega__lede { font: 300 1.5rem/1.25 var(--f-display); color: var(--on-dark); }
.mega__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem 1.4rem; }
.mega__link { display: grid; gap: .2rem; padding: .85rem 1rem; border-radius: 12px; text-decoration: none; border: 1px solid transparent; transition: background-color .25s, border-color .25s, transform .35s var(--ease-out); }
.mega__link:hover, .mega__link[aria-current="page"] { background: rgba(230, 210, 163, .07); border-color: var(--line-dark); transform: translateX(4px); }
.mega__title { font: 400 1.12rem/1.2 var(--f-display); color: var(--on-dark); }
.mega__note { font-size: .82rem; color: var(--on-dark-muted); }

.nav-toggle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(243, 239, 228, .3); display: grid; place-items: center; }
@media (min-width: 1040px) { .nav-toggle { display: none; } }
.no-js .nav-toggle { display: none; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 1.5px; background: var(--on-dark); border-radius: 2px; transition: transform .4s var(--ease-out), background-color .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 520px) { .site-header__actions .btn { padding: .68rem .95rem; } .site-header__inner { gap: .8rem; } }
@media (max-width: 345px) { .site-header__actions .btn span { display: none; } .site-header__actions .btn { padding: .72rem; } }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: radial-gradient(120% 80% at 100% 0%, #10394a, var(--ink) 60%); color: var(--on-dark); overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--header-h) + 1.2rem) var(--gutter) 2.5rem; opacity: 0; transition: opacity .35s; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__inner { display: grid; gap: 1.6rem; max-width: 34rem; margin-inline: auto; }
.mobile-menu__list { display: grid; gap: .2rem; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-dark); padding-block: .9rem; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms + 80ms); }
.mobile-menu.is-open .mobile-menu__list > li { opacity: 1; transform: none; }
.mobile-menu__big { font: 400 1.9rem/1.15 var(--f-display); text-decoration: none; display: block; }
.mobile-menu__sub { display: grid; gap: .1rem; margin-top: .7rem; grid-template-columns: 1fr; }
.mobile-menu__sub a { display: block; padding: .5rem 0; color: var(--on-dark-muted); text-decoration: none; font-size: 1rem; }
.mobile-menu__sub a:hover { color: var(--gold-2); }
.mobile-menu__motto { font: italic 300 1.1rem var(--f-display); color: var(--gold-2); text-align: center; }
body.menu-open { overflow: hidden; }

/* ---------- inner-page hero ---------- */
.page-hero { position: relative; isolation: isolate; color: var(--on-dark); background: radial-gradient(110% 100% at 85% 0%, #123f4c 0%, var(--ink) 60%), var(--ink); padding: calc(var(--header-h) + clamp(2rem, 1rem + 5vw, 5rem)) 0 clamp(3rem, 2rem + 5vw, 6rem); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); background-size: 84px; opacity: .1; -webkit-mask-image: radial-gradient(90% 90% at 80% 10%, #000, transparent 75%); mask-image: radial-gradient(90% 90% at 80% 10%, #000, transparent 75%); }
.page-hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.page-hero__copy { display: grid; gap: 1.3rem; justify-items: start; }
.page-hero__title { font-size: var(--step-5); font-weight: 300; line-height: 1; max-width: 16ch; }
.page-hero--project .page-hero__title { font-size: var(--step-4); line-height: 1.04; }
.page-hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--on-dark-muted); max-width: 40rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.page-hero__meta .status { background: rgba(255, 255, 255, .08); color: var(--on-dark); border-color: color-mix(in srgb, var(--tone) 60%, transparent); }
.page-hero__place { display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; color: var(--on-dark-muted); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.page-hero__media { justify-self: center; width: min(100%, 420px); }
.page-hero__cap { margin-top: 1rem; font-size: .82rem; color: var(--on-dark-muted); text-align: center; max-width: 36ch; margin-inline: auto; }
.page-hero--map, .page-hero--give { padding-bottom: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.page-hero--map .container, .page-hero--give .container { display: grid; gap: 1.2rem; justify-items: start; }
.page-hero--map .page-hero__title, .page-hero--give .page-hero__title { max-width: 20ch; }
.page-hero--404 { min-height: 80vh; display: grid; align-items: center; }
.notfound__links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }

/* ---------- pager ---------- */
.pager { background: var(--paper); border-top: 1px solid var(--line); }
.pager__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-block: 2.2rem; }
.pager__link { display: grid; gap: .3rem; text-decoration: none; }
.pager__link--next { text-align: right; justify-items: end; }
.pager__dir { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager__link--prev .icon { transform: rotate(180deg); }
.pager__title { font: 400 var(--step-2)/1.15 var(--f-display); transition: color .25s; }
.pager__link:hover .pager__title { color: var(--emerald); }
.pager__all { font-size: .85rem; font-weight: 600; color: var(--emerald); text-decoration: none; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 640px) { .pager__inner { grid-template-columns: 1fr 1fr; } .pager__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; } }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); overflow: hidden; }
.site-footer__pattern { position: absolute; inset: 0; background-image: var(--pattern); background-size: 84px; opacity: .06; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.site-footer .container { position: relative; }
.site-footer__top { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer__top { grid-template-columns: 1.3fr 1.2fr .9fr 1fr; } }
.site-footer__brand img { width: 96px; height: 96px; border-radius: 50%; background: #fff; margin-bottom: 1.2rem; }
.site-footer__motto { font: italic 300 var(--step-2)/1.2 var(--f-display); color: var(--on-dark); max-width: 14ch; }
.site-footer__credo { display: grid; gap: .15rem; margin-top: 1.2rem; font-size: .9rem; }
.site-footer__h { font: 600 .74rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.2rem; }
.site-footer__col ul { display: grid; gap: .6rem; }
.site-footer__col a { text-decoration: none; transition: color .2s; }
.site-footer__col a:hover { color: var(--gold-2); }
.site-footer__give { display: grid; gap: .9rem; justify-items: start; align-content: start; }
.site-footer__contact a { color: var(--on-dark); }
.site-footer__addr { font-size: .9rem; }
.site-footer__bottom { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--line-dark); padding-block: 1.6rem 2rem; display: grid; gap: .5rem; font-size: .84rem; }
.site-footer__fine { font-size: .78rem; opacity: .8; }

/* ---- components.css ---- */
/* Reusable components. */

/* ---------- arch frame ---------- */
.arch { position: relative; margin: 0; aspect-ratio: 3 / 4.1; width: 100%; }
.arch__media { position: absolute; inset: 0; overflow: hidden; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; background: var(--forest-2); }
.arch__img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.arch__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translate(14px, 14px); pointer-events: none; }
.arch__frame path { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .75; }
.arch--soft .arch__frame { transform: translate(-14px, 14px); }
.arch--pattern .arch__media { background: radial-gradient(120% 90% at 50% 0%, #1b5a4a, var(--forest) 70%); display: grid; place-items: center; }
.arch--pattern .arch__media::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 64px; opacity: .28; }
.arch__numeral { position: relative; font: 300 clamp(5rem, 14vw, 10rem)/1 var(--f-display); color: var(--gold-2); letter-spacing: -.03em; opacity: .92; margin-top: 18%; }
.arch__glyph { position: absolute; bottom: 12%; width: 2.4rem; height: 2.4rem; color: var(--gold-2); opacity: .8; }
.arch--pattern .arch__numeral + .arch__glyph { bottom: 14%; }

/* ---------- project cards ---------- */
.pcards { display: grid; gap: clamp(1.2rem, .8rem + 1.6vw, 2.2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.pcard { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .3s; }
.pcard:hover, .pcard:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--forest-2); }
.pcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pcard:hover .pcard__img { transform: scale(1.06); }
.pcard__media--pattern { display: grid; place-items: center; position: relative; background: radial-gradient(120% 120% at 20% 0%, #1b5a4a, var(--forest)); color: var(--gold-2); }
.pcard__media--pattern::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 60px; opacity: .22; }
.pcard__glyph { position: relative; width: 3rem; height: 3rem; }
.pcard__body { display: grid; gap: .7rem; padding: 1.5rem 1.5rem 1.6rem; align-content: start; justify-items: start; }
.pcard__title { font-size: var(--step-2); line-height: 1.12; }
.pcard__link { text-decoration: none; }
.pcard__link::after { content: ""; position: absolute; inset: 0; }
.pcard__place { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--muted); }
.pcard__text { color: var(--muted); font-size: .98rem; }
.pcard__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem; font-weight: 600; font-size: .92rem; color: var(--emerald); }
.pcard__more .icon { transition: transform .4s var(--ease-out); }
.pcard:hover .pcard__more .icon, .feat:hover .pcard__more .icon { transform: translateX(5px); }
.pcard__more--muted { color: var(--muted); font-weight: 500; font-style: italic; }
.pgroup__head { display: grid; grid-template-columns: 1fr auto; gap: .6rem 2rem; align-items: end; margin-bottom: 2.2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.pgroup__title { font-size: var(--step-3); }
.pgroup__intro { color: var(--muted); grid-column: 1; }
.pgroup__count { grid-column: 2; grid-row: 1 / span 2; font: 300 var(--step-4)/1 var(--f-display); color: var(--gold); }
.pgroup { padding-top: calc(var(--section) * .5) !important; }

/* ---------- scripture ---------- */
.values { background: linear-gradient(180deg, var(--ivory), #f3ecdc); }
.values::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 84px; opacity: .13; -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent); pointer-events: none; }
.values .container { position: relative; }
.values__star { width: 2.4rem; height: 2.4rem; color: var(--gold); }
.values__grid { display: grid; gap: 1.6rem; align-items: stretch; }
@media (min-width: 860px) { .values__grid--2, .values__grid--4 { grid-template-columns: 1fr 1fr; } .values__grid--3 { grid-template-columns: repeat(3, 1fr); } }
.verse { position: relative; display: grid; gap: 1.2rem; align-content: start; background: var(--white); padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 1px 0 #fff inset, var(--shadow); }
.verse::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(201, 164, 92, .38); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; }
.verse > * { position: relative; }
.verse__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.verse__kind { font: 600 .72rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.verse__ref { font: 400 1.05rem/1.2 var(--f-display); color: var(--forest); }
.verse__excerpt { font: 500 .68rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: .2rem .4rem; margin-left: .4rem; vertical-align: middle; }
.verse__arabic { font: 400 clamp(1.5rem, 1.25rem + 1.1vw, 2.05rem)/2 var(--f-arabic); color: var(--forest); text-align: right; }
.verse__arabic p + p { margin-top: .1em; }
.verse__text { font: 400 var(--step-1)/1.5 var(--f-display); color: var(--text); padding-left: 1.1rem; border-left: 2px solid var(--gold); }
.verse__text p + p { margin-top: .5em; }
.verse__n { font: 600 .7rem/1 var(--f-body); color: var(--gold-ink); vertical-align: super; margin-right: .15rem; }
.verse__intro { font-size: .95rem; color: var(--muted); }
.verse__note { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.verse__foot { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; justify-content: space-between; font-size: .84rem; margin-top: auto; padding-top: .4rem; }
.verse__foot a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--emerald); text-decoration: none; border-bottom: 1px solid transparent; }
.verse__foot a:hover { border-color: currentColor; }
.verse__tr { color: var(--muted); }
.values__fine { margin: 2rem auto 0; max-width: 52rem; text-align: center; font-size: .84rem; color: var(--muted); }

/* ---------- donate band ---------- */
.donate-band { position: relative; isolation: isolate; color: var(--on-dark); background: linear-gradient(120deg, #0d3a31, var(--forest) 45%, #082029); padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); overflow: hidden; }
.donate-band__pattern { position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); background-size: 84px; opacity: .12; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.donate-band__inner { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .donate-band__inner { grid-template-columns: minmax(0, 1fr) auto; } }
.donate-band__copy { display: grid; gap: 1.1rem; justify-items: start; }
.donate-band__title { font-size: var(--step-4); font-weight: 300; max-width: 18ch; }
.donate-band__text { font-size: var(--step-1); color: var(--on-dark-muted); max-width: 38rem; line-height: 1.5; }
.donate-band__actions { display: grid; gap: 1.1rem; justify-items: start; }
.journey { display: flex; flex-wrap: wrap; gap: .6rem 0; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); padding-bottom: 1.6rem; border-bottom: 1px solid var(--line-dark); counter-reset: none; }
.journey li { display: inline-flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--on-dark-muted); padding-right: 1.4rem; margin-right: 1.4rem; border-right: 1px solid var(--line-dark); }
.journey li:last-child { border: 0; color: var(--gold-2); }
.journey li span { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); font-size: .72rem; font-weight: 600; }
.cause-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.cause-chip { display: inline-block; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark); text-decoration: none; font-size: .88rem; transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease-out); }
.cause-chip:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); transform: translateY(-2px); }

/* ---------- films ---------- */
.films__grid { display: grid; gap: clamp(1.4rem, 1rem + 2vw, 2.6rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.films__grid--1 { grid-template-columns: minmax(0, 880px); }
.film { margin: 0; display: grid; gap: 1rem; align-content: start; }
.film--portrait { max-width: 320px; }
.film__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.film__frame video { width: 100%; height: 100%; display: block; background: #000; }
.film__poster { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .5s; }
.film__poster:hover .film__img { transform: scale(1.05); }
.film__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 23, 26, .08) 40%, rgba(6, 23, 26, .72)); }
.film__play { position: absolute; left: 50%; top: 50%; width: 4.4rem; height: 4.4rem; margin: -2.2rem 0 0 -2.2rem; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--gold-2); box-shadow: 0 0 0 0 rgba(230, 210, 163, .5); transition: transform .5s var(--ease-out), box-shadow .5s; }
.film__play .icon { width: 1.6rem; height: 1.6rem; margin-left: .15rem; }
.film__poster:hover .film__play, .film__poster:focus-visible .film__play { transform: scale(1.1); box-shadow: 0 0 0 1rem rgba(230, 210, 163, .16); }
.film__time { position: absolute; right: .9rem; bottom: .8rem; font: 600 .78rem/1 var(--f-body); color: #fff; background: rgba(6, 23, 26, .7); padding: .35rem .55rem; border-radius: 6px; letter-spacing: .04em; }
.film__cap { display: grid; gap: .35rem; font-size: .92rem; color: var(--muted); }
.film__cap strong { font: 400 var(--step-1)/1.2 var(--f-display); color: var(--text); }
.section--ink .film__cap { color: var(--on-dark-muted); }
.section--ink .film__cap strong { color: var(--on-dark); }
.film__credit { opacity: .85; }
.film__advisory { display: inline-flex; gap: .4rem; align-items: center; font-size: .82rem; color: var(--gold-2); }

/* ---------- gallery + lightbox ---------- */
.gallery { columns: 1; column-gap: 1.2rem; }
@media (min-width: 600px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery__item { break-inside: avoid; margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.gallery__link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--forest-2); cursor: zoom-in; }
.gallery__img { width: 100%; transition: transform 1.2s var(--ease-out); }
.gallery__link:hover .gallery__img { transform: scale(1.04); }
.gallery__badge { position: absolute; left: .7rem; top: .7rem; font: 600 .66rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; background: rgba(6, 23, 26, .82); color: var(--gold-2); padding: .4rem .55rem; border-radius: 4px; }
.gallery__item figcaption { font-size: .84rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4, 14, 16, .95); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: 3.5rem clamp(.5rem, 2vw, 2rem) 1.5rem; opacity: 0; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; display: grid; gap: .9rem; justify-items: center; max-height: 100%; min-width: 0; }
.lightbox__img { max-height: calc(100vh - 9rem); max-width: 100%; width: auto; border-radius: 8px; box-shadow: 0 30px 80px -20px #000; }
.lightbox__cap { color: var(--on-dark-muted); font-size: .9rem; text-align: center; max-width: 60ch; }
.lightbox__close, .lightbox__nav { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; color: var(--on-dark); border: 1px solid rgba(243, 239, 228, .3); transition: background-color .2s, color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold-2); color: var(--ink); }
.lightbox__close { position: absolute; right: 1rem; top: 1rem; }
.lightbox__nav--prev .icon { transform: rotate(180deg); }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; } .lightbox__figure { grid-column: 1 / -1; } .lightbox__nav--prev { grid-row: 2; justify-self: end; } .lightbox__nav--next { grid-row: 2; } }

/* ---------- notices ---------- */
.notice { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.5rem 1.6rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.notice__icon { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--gold-ink); }
.notice__title { font: 600 1rem/1.3 var(--f-body); letter-spacing: 0; margin-bottom: .35rem; }
.notice p { color: var(--muted); font-size: .96rem; }
.notice__link { margin-top: .8rem; }
.notice--strong { border-left-color: var(--t-urgent); background: #fff8f3; margin-bottom: 3rem; }
.notice--strong .notice__icon { background: #fdebe2; color: var(--t-urgent); }
.pending { padding: 1.8rem; border: 1px dashed #cdbf9f; border-radius: var(--radius-lg); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(201, 164, 92, .06) 14px 15px); }
.pending__title { font-size: var(--step-2); margin-bottom: .5rem; }
.pending p { color: var(--muted); font-size: .95rem; }
.pending__list { margin-top: 1rem; display: grid; gap: .5rem; }
.pending__list li { position: relative; padding-left: 1.4rem; font-size: .96rem; }
.pending__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .6rem; height: 1px; background: var(--gold-ink); }

/* ---------- icon cards, steps, stats ---------- */
.icards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
@media (min-width: 1000px) { .icards--4 { grid-template-columns: repeat(4, 1fr); } .icards--3 { grid-template-columns: repeat(3, 1fr); } .icards--5 { grid-template-columns: repeat(5, 1fr); } }
.icard { display: grid; gap: .7rem; align-content: start; justify-items: start; padding: 1.7rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.icard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section--sand .icard { background: var(--paper); }
.icard__icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-2); }
.icard__icon .icon { width: 1.35rem; height: 1.35rem; }
.icard__title { font-size: var(--step-1); }
.icard p { color: var(--muted); font-size: .96rem; }
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); counter-reset: s; }
.step { position: relative; padding: 1.8rem 1.6rem; border-top: 1px solid rgba(11, 42, 34, .25); display: grid; gap: .6rem; align-content: start; }
.step__n { font: 300 var(--step-4)/1 var(--f-display); color: var(--gold); }
.step__title { font-size: var(--step-2); }
.step p { color: var(--muted); }
.steps__link { margin-top: 2rem; }
.stats { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { display: grid; gap: .5rem; padding-left: 1.2rem; border-left: 1px solid var(--line-dark); }
.stat__value { order: -1; font: 300 var(--step-5)/.95 var(--f-display); color: var(--gold-2); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.stat__label { font-size: .92rem; color: var(--on-dark-muted); max-width: 22ch; }
.stats--5 .stat__value { font-size: var(--step-4); }
.stats__note { margin-top: 1.8rem; font-size: .82rem; color: var(--on-dark-muted); opacity: .85; }

/* ---------- facts bar + chapters (project pages) ---------- */
.facts { display: grid; gap: 1.6rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.fact { display: grid; gap: .45rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.fact dt { font: 600 .7rem/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.fact dd { font: 400 var(--step-1)/1.3 var(--f-display); color: var(--on-dark); }
.fact__note { display: block; font: 400 .8rem/1.4 var(--f-body); color: var(--on-dark-muted); margin-top: .4rem; }
.chapter { display: grid; gap: 1rem 3rem; padding-block: clamp(2rem, 1.5rem + 2.5vw, 4rem); border-top: 1px solid var(--line); }
.chapter:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .chapter { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } .chapter__label { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.chapter__label { display: flex; align-items: baseline; gap: .8rem; font: 600 .76rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--emerald); }
.chapter__n { font: 300 var(--step-3)/1 var(--f-display); color: var(--gold); letter-spacing: 0; }
.chapter__title { font-size: var(--step-3); margin-bottom: 1.2rem; max-width: 22ch; }
.chapter__figure { margin: 2.2rem 0 0; display: grid; gap: .6rem; }
.chapter__figure img { border-radius: var(--radius-lg); width: 100%; max-height: 70vh; object-fit: cover; }
.chapter__figure figcaption { font-size: .84rem; color: var(--muted); }
.project-note { display: flex; gap: .7rem; align-items: flex-start; margin-top: 2rem; padding: 1.1rem 1.3rem; background: var(--ivory); border-radius: var(--radius); font-size: .94rem; color: var(--muted); }
.project-note .icon { margin-top: .2rem; color: var(--gold-ink); }
.project-links { margin-top: 1.6rem; display: grid; gap: .6rem; }

/* ---------- events ---------- */
.events { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.6rem); }
.event { display: grid; gap: 0; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 860px) { .event { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .event--flyer { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }
.event__media { margin: 0; background: var(--forest-2); min-height: 100%; }
.event__media a { display: block; height: 100%; cursor: zoom-in; }
.event__img { width: 100%; height: 100%; object-fit: cover; }
.event--flyer .event__media { padding: 1.4rem; background: var(--sand); display: grid; place-items: center; }
.event--flyer .event__img { height: auto; max-height: 440px; width: auto; border-radius: 8px; box-shadow: var(--shadow); }
.event__body { padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.6rem); display: grid; gap: .9rem; align-content: start; }
.event__title { font-size: var(--step-3); }
.event__sub { font: italic 300 var(--step-1)/1.3 var(--f-display); color: var(--emerald); }
.event__meta { display: grid; gap: .55rem; padding-block: 1rem; border-block: 1px solid var(--line); font-size: .95rem; }
.event__meta div { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; align-items: start; }
.event__meta dt { color: var(--gold-ink); padding-top: .15rem; }
.event__text { color: var(--muted); }
.event__list { display: grid; gap: .4rem; counter-reset: e; }
.event__list li { counter-increment: e; display: grid; grid-template-columns: 1.8rem 1fr; font-size: .96rem; }
.event__list li::before { content: counter(e); font: 400 1rem var(--f-display); color: var(--gold-ink); }

/* ---------- mission regions ---------- */
.regions__list { display: grid; }
.region { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(1rem, .5rem + 2.5vw, 3rem); padding-block: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.region:last-child { border-bottom: 1px solid var(--line); }
.region__index { font: 300 var(--step-3)/1 var(--f-display); color: var(--gold); min-width: 2.2ch; }
.region__main { display: grid; gap: .9rem; }
.region__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.region__name { font-size: var(--step-3); }
.region__country { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: auto; }
.region__text { color: var(--muted); max-width: 62ch; }
.region__links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.region__media { display: grid; gap: 1.6rem; margin-top: 1rem; align-items: start; }
@media (min-width: 860px) { .region__media { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); } }
.region__flyer { margin: 0; display: grid; gap: .5rem; }
.region__flyer a { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); }
.region__flyer figcaption { font-size: .8rem; color: var(--muted); }
.region--feature { background: linear-gradient(90deg, rgba(201, 164, 92, .08), transparent 70%); margin-inline: calc(var(--gutter) * -.5); padding-inline: calc(var(--gutter) * .5); border-radius: var(--radius); }
.regions__map { margin-top: 2.4rem; }

/* ---------- story opener, cycle, feature ---------- */
.story-open { text-align: left; }
.story-open__pattern, .feature__pattern, .impact__pattern { position: absolute; inset: 0; background-image: var(--pattern); background-size: 84px; opacity: .08; -webkit-mask-image: radial-gradient(80% 80% at 90% 10%, #000, transparent 70%); mask-image: radial-gradient(80% 80% at 90% 10%, #000, transparent 70%); pointer-events: none; }
.story-open .container, .cycle .container, .guides .container { position: relative; display: grid; gap: 1.6rem; }
.story-open__title { font-size: var(--step-4); font-weight: 300; max-width: 20ch; }
.story-open__body { display: grid; gap: 1.2rem; font: 300 var(--step-2)/1.45 var(--f-display); color: #dfe7e2; max-width: 44rem; }
.cycle__ring { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); counter-reset: c; position: relative; }
.cycle__step { position: relative; padding: 1.6rem 1.4rem; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03); display: grid; gap: .6rem; align-content: start; }
.cycle__step h3 { font-size: var(--step-1); color: var(--on-dark); }
.cycle__step p { color: var(--on-dark-muted); font-size: .94rem; }
.cycle__n { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); display: grid; place-items: center; font: 400 1.1rem var(--f-display); }
@media (min-width: 900px) { .cycle__step:not(:last-child)::after { content: ""; position: absolute; right: -1.25rem; top: 2.75rem; width: 1.2rem; height: 1px; background: var(--gold); } .cycle__step:last-child::after { content: "\21BA"; position: absolute; right: 1.2rem; top: 1.5rem; color: var(--gold-2); font-size: 1.3rem; } }
.feature { position: relative; isolation: isolate; color: var(--on-dark); background: linear-gradient(140deg, #0a2030, #0b2a22 55%, #123f33); overflow: hidden; }
.feature__inner { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .feature__inner { grid-template-columns: auto 1fr; gap: 4rem; } }
.feature__mark { width: clamp(5rem, 3rem + 10vw, 12rem); color: var(--gold); opacity: .9; }
.feature__copy { display: grid; gap: 1.2rem; justify-items: start; }
.feature__title { font-size: var(--step-4); font-weight: 300; }
.feature__body { display: grid; gap: 1rem; color: var(--on-dark-muted); font-size: var(--step-1); line-height: 1.5; max-width: 42rem; }

/* ---------- paths, compare, partners, timeline ---------- */
.paths, .compare { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.path, .compare__col { position: relative; padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); display: grid; gap: 1rem; align-content: start; justify-items: start; }
.path__title, .compare__col h3 { font-size: var(--step-2); }
.path p { color: var(--muted); }
.compare__col.is-current { background: var(--forest); color: var(--on-dark); border-color: transparent; }
.compare__col.is-current .ticks li::before { border-color: var(--gold-2); }
.compare__col.is-current .link-arrow { color: var(--gold-2); }
.compare__badge { font: 600 .68rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--gold-2); padding: .4rem .6rem; border-radius: 4px; }
.partners { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner { padding: 1.7rem 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; transition: background-color .3s; }
.partner:hover { background: var(--white); }
.partner__scope { font: 600 .68rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.partner__name { font-size: var(--step-2); }
.partner__name a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.partner__name a:hover { background-size: 100% 1px; }
.partner p { color: var(--muted); font-size: .95rem; }
.tl { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); position: relative; }
.tl__item { position: relative; padding-top: 1.8rem; display: grid; gap: .4rem; border-top: 1px solid var(--gold); }
.tl__item::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--gold-2); transform: rotate(45deg); }
.tl__when { font: 300 var(--step-4)/1 var(--f-display); color: var(--gold-2); }
.tl__title { font-size: var(--step-2); }
.tl__item p { color: var(--on-dark-muted); }
.tl__people { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.tl__people-note { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.2rem; }
.tl__people ul { display: grid; gap: 1.2rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tl__people li { display: grid; gap: .3rem; }
.tl__people strong { font: 400 var(--step-1)/1.2 var(--f-display); }
.tl__people span { font-size: .88rem; color: var(--on-dark-muted); }

/* ---------- split block ---------- */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } .split--reverse .split__media { order: 2; } }
.split__media { width: min(100%, 380px); justify-self: center; }
.split__copy { display: grid; gap: 1.4rem; justify-items: start; }
.split__copy .section-head { margin-bottom: 0; }

/* ---------- forms: shared field styles ---------- */
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1px solid #cfc5ae; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(26, 107, 82, .15); }
.field textarea { resize: vertical; min-height: 9rem; }
.field [aria-invalid="true"] { border-color: var(--t-urgent); }
.copy { display: inline-flex; align-items: center; gap: .35rem; font: 600 .8rem/1 var(--f-body); padding: .5rem .7rem; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--forest); transition: background-color .2s, color .2s, border-color .2s; }
.copy:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.copy.is-done { background: var(--t-live); border-color: var(--t-live); color: #fff; }
.faq { display: grid; border-top: 1px solid rgba(11, 42, 34, .2); }
.faq__item { border-bottom: 1px solid rgba(11, 42, 34, .2); }
.faq__item summary, .memo-table summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; padding: 1.2rem 0; font: 400 var(--step-1)/1.3 var(--f-display); }
.faq__item summary::-webkit-details-marker, .memo-table summary::-webkit-details-marker, .map__list summary::-webkit-details-marker { display: none; }
.faq__item summary .icon, .memo-table summary .icon { transition: transform .35s var(--ease-out); color: var(--gold-ink); }
.faq__item[open] summary .icon, .memo-table[open] summary .icon { transform: rotate(45deg); }
.faq__item p { padding: 0 2rem 1.4rem 0; color: var(--muted); max-width: 62ch; }

/* ---------- reading progress + floating dock ---------- */
.scrollbar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 130; pointer-events: none; }
.scrollbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: left; transform: scaleX(0); }
.dock { position: fixed; right: clamp(.8rem, 2vw, 1.6rem); bottom: clamp(.8rem, 2vw, 1.6rem); z-index: 85; display: flex; align-items: center; gap: .5rem; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out); }
.dock.is-on { opacity: 1; transform: none; pointer-events: auto; }
.dock__give { box-shadow: 0 16px 40px -12px rgba(6, 23, 26, .7); }
.dock__top { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-2); border: 1px solid var(--line-dark); box-shadow: 0 16px 40px -14px rgba(6, 23, 26, .7); transition: background-color .25s, transform .35s var(--ease-out); }
.dock__top .icon { transform: rotate(-90deg); }
.dock__top:hover { background: var(--forest-2); transform: translateY(-3px); }
.page-donate .dock__give, body.menu-open .dock { display: none; }

/* ---------- progress rail beside a story ---------- */
.chapters__list { position: relative; }
.rail { display: none; }
@media (min-width: 900px) {
  .rail { display: block; position: absolute; left: calc(25% - 1.5rem); top: .4rem; bottom: 0; width: 1px; background: var(--line); }
  .rail__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(0); width: 2px; left: -.5px; transition: transform .2s linear; }
}

/* ---------- cards lean towards the pointer ---------- */
.need, .pcard { position: relative; }
.js [data-tilt].is-in, .no-js [data-tilt] { transform: perspective(1100px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
[data-tilt]:hover, [data-tilt]:focus-within { --lift: -6px; }
[data-tilt].is-tilting { transition: transform .14s linear, box-shadow .6s var(--ease-out), border-color .3s !important; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .26), transparent 62%); opacity: 0; transition: opacity .35s; pointer-events: none; mix-blend-mode: soft-light; }
[data-tilt].is-tilting::after { opacity: 1; }

/* ---------- buttons pull gently towards the pointer ---------- */
.btn { translate: var(--bx, 0px) var(--by, 0px); }
.btn--gold, .btn--lg { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, translate .45s var(--ease-out); }
.chapter__figure--portrait { max-width: 400px; }
.chapter__figure--portrait img { max-height: none; }

/* an arch with no photograph holds CMMA's seal, glowing softly inside a slowly turning gold ring */
.arch--brand .arch__media { display: grid; place-items: center; background: radial-gradient(70% 55% at 50% 58%, #1f6a54 0%, #124235 45%, var(--forest) 80%); }
.arch--brand .arch__media::before { opacity: .16; }
.arch__seal { position: relative; width: 62%; aspect-ratio: 1; margin-top: 16%; }
.arch__seal::before { content: ""; position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(230, 210, 163, .28), rgba(230, 210, 163, .08) 60%, transparent 72%); animation: seal-glow 6s var(--ease) infinite alternate; }
.arch__seal::after { content: ""; position: absolute; inset: -8%; border-radius: 50%; border: 1px dashed rgba(230, 210, 163, .5); animation: star-turn 90s linear infinite; }
.arch__seal img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(230, 210, 163, .4), 0 28px 70px -24px rgba(0, 0, 0, .7); }
.arch--brand .arch__glyph { bottom: 7%; width: 2rem; height: 2rem; }
@keyframes seal-glow { from { opacity: .55; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
.page-hero__cap--motto { font: italic 300 var(--step-1)/1.3 var(--f-display); color: var(--gold-2); max-width: none; }

/* ---- map.css ---- */
/* Global Impact map. Lives on a dark section. Works without JavaScript as a static map plus list. */
.impact .container { position: relative; }
.impact__more { margin-top: 2rem; }
.impact--full { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.impact__teaser { display: flex; flex-wrap: wrap; gap: 2rem; align-items: end; justify-content: space-between; }
.impact__teaser > div { display: grid; gap: 1rem; justify-items: start; }

.map { --k: 1; display: grid; gap: 1.2rem; }
.map__toolbar { display: flex; flex-wrap: wrap; gap: .9rem 2rem; align-items: center; justify-content: space-between; }
.map__filters, .map__regions { display: flex; flex-wrap: wrap; gap: .45rem; }
.fchip, .rchip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; border-radius: 999px; font: 500 .86rem/1 var(--f-body); color: var(--on-dark); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease-out); }
.fchip:hover, .rchip:hover { border-color: var(--gold-2); transform: translateY(-1px); }
.fchip.is-active, .rchip.is-active { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.fchip__dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); }
.fchip--clinic { --c: var(--c-clinic); } .fchip--mission { --c: var(--c-mission); } .fchip--relief { --c: var(--c-relief); } .fchip--education { --c: var(--c-education); } .fchip--community { --c: var(--c-community); }
.fchip.is-active .fchip__dot { box-shadow: 0 0 0 2px var(--ink); }
.rchip { font-size: .8rem; padding: .48rem .8rem; color: var(--on-dark-muted); }

.map__body { position: relative; display: grid; gap: 1rem; }

.map__viewport { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: radial-gradient(90% 120% at 30% 20%, rgba(40, 110, 110, .28), transparent 60%), rgba(3, 14, 16, .55); touch-action: pan-y; }
.js .map__viewport { cursor: grab; }
.js .map__viewport.is-dragging { cursor: grabbing; }
.map__stage { position: relative; width: 100%; transform-origin: 0 0; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--k)); transition: transform 1.1s var(--ease-out); }
.map__stage.is-live { transition: none; }
.map__dots, .map__arcs, .map__leads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.map__pulse { fill: #fff3d2; filter: drop-shadow(0 0 3px rgba(230, 210, 163, .9)); }
.map__pulse.is-dim { display: none; }
.map__leads line { stroke: rgba(230, 210, 163, .55); }
.map__leads circle { fill: rgba(230, 210, 163, .9); }
.map__dots path { transition: opacity .6s; }
.map__arcs path { fill: none; stroke: var(--gold-2); stroke-width: 1; opacity: .55; stroke-linecap: round; transition: opacity .5s; }
.map__arcs path.is-dim { opacity: .08; }
.map__arcs path.is-hot { opacity: 1; }
@media (max-width: 700px) {
  .js .map__viewport { aspect-ratio: 1 / 1.02; }
  .marker--region .marker__dot { width: 32px; height: 32px; }
  .marker--country .marker__dot { width: 18px; height: 18px; }
  .marker--region { --off: 21px; }
  .marker--country { --off: 14px; }
  .marker__dot { width: 11px; height: 11px; }
  .map__hint { font-size: .74rem; }
}
.map__places { position: absolute; inset: 0; }
.map__place { position: absolute; width: 0; height: 0; transition: opacity .4s; }
.map__place.is-off { opacity: 0; pointer-events: none; }

.marker { --c: var(--c-clinic); position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(calc(1 / var(--k))); transition: transform 1.1s var(--ease-out); }
.map__stage.is-live .marker { transition: none; }
.marker--clinic { --c: var(--c-clinic); } .marker--mission { --c: var(--c-mission); } .marker--relief { --c: var(--c-relief); } .marker--education { --c: var(--c-education); } .marker--community { --c: var(--c-community); }
.marker__dot { width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(6, 23, 26, .85), 0 0 18px 2px color-mix(in srgb, var(--c) 70%, transparent); transition: transform .35s var(--ease-out), box-shadow .35s; }
.marker__pulse { position: absolute; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--c); opacity: 0; }
.marker:hover .marker__dot, .marker:focus-visible .marker__dot, .marker.is-active .marker__dot { transform: scale(1.5); box-shadow: 0 0 0 3px rgba(6, 23, 26, .85), 0 0 26px 6px color-mix(in srgb, var(--c) 80%, transparent); }
.marker.is-active .marker__pulse, .marker--hub .marker__pulse { animation: marker-pulse 2.6s var(--ease-out) infinite; }
@keyframes marker-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }
.marker--country .marker__dot, .marker--region .marker__dot { width: 24px; height: 24px; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1.5px dashed var(--c); box-shadow: none; }
.marker--region .marker__dot { width: 46px; height: 46px; }
.marker--region { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.marker--hub .marker__dot { width: 16px; height: 16px; background: #fff; box-shadow: 0 0 0 3px var(--gold), 0 0 26px 6px rgba(230, 210, 163, .7); }
.marker { --off: 13px; }
.marker--country { --off: 18px; }
.marker--region { --off: 29px; }
.marker__label { position: absolute; white-space: nowrap; font: 600 .72rem/1 var(--f-body); letter-spacing: .04em; color: var(--on-dark); background: rgba(6, 23, 26, .86); padding: .36rem .55rem; border-radius: 6px; border: 1px solid var(--line-dark); opacity: 0; pointer-events: none; transition: opacity .25s; }
.marker__label--bottom { left: 50%; top: calc(50% + var(--off)); transform: translateX(-50%); }
.marker__label--top { left: 50%; bottom: calc(50% + var(--off)); transform: translateX(-50%); }
.marker__label--left { right: calc(50% + var(--off)); top: 50%; transform: translateY(-50%); }
.marker__label--right { left: calc(50% + var(--off)); top: 50%; transform: translateY(-50%); }
.marker:hover .marker__label, .marker:focus-visible .marker__label, .marker.is-active .marker__label, .marker--hub .marker__label, .map.is-zoomed .marker__label { opacity: 1; }
.marker:hover, .marker:focus-visible, .marker.is-active { z-index: 5; }
.map__place:has(.marker:hover), .map__place:has(.marker.is-active), .map__place:has(.marker:focus-visible) { z-index: 5; }

.map__zoom { position: absolute; left: .9rem; bottom: .9rem; display: grid; gap: .35rem; z-index: 4; }
.no-js .map__zoom, .no-js .map__toolbar, .no-js .map__hint { display: none; }
.map__zoom button { width: 2.6rem; height: 2.6rem; border-radius: 10px; display: grid; place-items: center; color: var(--on-dark); background: rgba(6, 23, 26, .82); border: 1px solid var(--line-dark); transition: background-color .2s, color .2s; }
.map__zoom button:hover { background: var(--gold-2); color: var(--ink); }
.map__hint { position: absolute; left: 1rem; top: 1rem; font-size: .8rem; color: var(--on-dark-muted); background: rgba(6, 23, 26, .7); padding: .4rem .7rem; border-radius: 999px; transition: opacity .4s; }
.map.has-selection .map__hint { opacity: 0; }

.map__legend { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .82rem; color: var(--on-dark-muted); }
.map__legend li { display: inline-flex; align-items: center; gap: .55rem; }
.lg { display: inline-block; border-radius: 50%; }
.lg--pin { width: 11px; height: 11px; background: var(--c-clinic); }
.lg--ring { width: 16px; height: 16px; border: 1.5px dashed var(--c-mission); }
.lg--hub { width: 11px; height: 11px; background: #fff; box-shadow: 0 0 0 2px var(--gold); }

/* panel */
.map__panel { scrollbar-width: thin; scrollbar-color: rgba(230, 210, 163, .4) transparent; position: relative; background: rgba(8, 28, 30, .96); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; color: var(--on-dark); display: grid; align-content: start; max-height: 640px; overflow-y: auto; overscroll-behavior: contain; animation: panel-in .55s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } }
.map__panel:focus { outline: none; }
.mpanel__head { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: 1.3rem 1.3rem 1.1rem; background: linear-gradient(180deg, rgba(8, 28, 30, 1) 80%, rgba(8, 28, 30, 0)); }
.mpanel__name { font: 400 var(--step-2)/1.1 var(--f-display); }
.mpanel__country { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); grid-column: 1; }
.mpanel__close { grid-column: 2; grid-row: 1 / span 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--on-dark); align-self: start; }
.mpanel__close:hover { background: var(--gold-2); color: var(--ink); }
.mpanel__blurb, .mpanel__prec { padding: 0 1.3rem 1rem; font-size: .9rem; color: var(--on-dark-muted); }
.mpanel__prec { display: flex; gap: .5rem; align-items: flex-start; color: var(--gold-2); font-size: .82rem; }
.mpanel__entries { display: grid; }
.mentry { display: grid; gap: .7rem; padding: 1.2rem 1.3rem 1.4rem; border-top: 1px solid var(--line-dark); }
.mentry.is-muted { opacity: .45; }
.mentry__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.mentry__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.mentry .status { background: rgba(255, 255, 255, .07); color: var(--on-dark); border-color: color-mix(in srgb, var(--tone) 65%, transparent); }
.mentry__title { font: 400 var(--step-1)/1.2 var(--f-display); }
.mentry__text { font-size: .92rem; color: var(--on-dark-muted); }
.mentry__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .2rem; }
.mentry__actions .btn { padding: .68rem 1.05rem; font-size: .86rem; }
@media (max-width: 999px) {
  .map__panel { max-height: none; }
}

/* list */
.map__list { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .025); }
.map__list summary { display: flex; align-items: center; gap: .7rem; cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--on-dark); }
.map__list summary:hover { color: var(--gold-2); }
.place-groups { display: grid; gap: 2rem; padding: .4rem 1.3rem 1.6rem; }
.place-group__title { font: 600 .74rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); padding-bottom: .8rem; border-bottom: 1px solid var(--line-dark); }
.place-group__list { display: grid; gap: 0 2.5rem; }
@media (min-width: 900px) { .place-group__list { grid-template-columns: 1fr 1fr; } }
.place { padding: 1.2rem 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: .8rem; align-content: start; }
.place.is-off { display: none; }
.place__head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.place__name { font: 400 var(--step-1)/1.2 var(--f-display); margin-right: auto; }
.place__name span { display: block; font: 500 .74rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: .25rem; }
.place__prec { font-size: .74rem; color: var(--gold-2); border: 1px dashed var(--line-dark); border-radius: 999px; padding: .25rem .6rem; }
.place__show { display: inline-flex; gap: .35rem; align-items: center; font-size: .8rem; font-weight: 600; color: var(--gold-2); padding: .4rem .7rem; border-radius: 999px; border: 1px solid var(--line-dark); }
.place__show:hover { background: var(--gold-2); color: var(--ink); }
.no-js .place__show { display: none; }
.place__entries { display: grid; gap: .9rem; }
.place__entry { display: flex; flex-wrap: wrap; gap: .45rem .6rem; align-items: center; }
.place__entry.is-off { display: none; }
.place__entry .status { background: rgba(255, 255, 255, .07); color: var(--on-dark); border-color: color-mix(in srgb, var(--tone) 60%, transparent); font-size: .7rem; padding: .28rem .55rem; }
.place__title { font-weight: 600; text-underline-offset: .25em; }
.place__title:hover { color: var(--gold-2); }
.place__entry p { flex: 1 0 100%; font-size: .9rem; color: var(--on-dark-muted); }

.status-key { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }

/* ---------- map, second pass: counts, tour, floating panel tools ---------- */
.fchip__n { font: 600 .68rem/1 var(--f-body); min-width: 1.35rem; padding: .22rem .34rem; border-radius: 999px; text-align: center; background: rgba(255, 255, 255, .1); color: var(--on-dark-muted); }
.fchip.is-active .fchip__n { background: rgba(6, 23, 26, .16); color: var(--ink); }
.rchip--tour { color: var(--gold-2); border-color: rgba(230, 210, 163, .5); margin-left: .4rem; }
.rchip--tour .icon { width: .9em; height: .9em; }
.rchip--tour[aria-pressed="true"] { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
.no-js .rchip--tour { display: none; }
.map__tourbar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(230, 210, 163, .16); z-index: 5; }
.map__tourbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: left; transform: scaleX(0); }
.map.is-touring .marker.is-active .marker__dot { transform: scale(1.7); }
.map__body { align-items: start; }
.mpanel__head { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.mpanel__head > div:first-child { display: grid; gap: .3rem; min-width: 0; }
.mpanel__tools { display: flex; align-items: center; gap: .3rem; grid-column: 2; grid-row: 1; }
.mpanel__tools button { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--on-dark); transition: background-color .2s, color .2s, transform .3s var(--ease-out); }
.mpanel__tools button:hover { background: var(--gold-2); color: var(--ink); }
.mpanel__tools [data-panel-prev] .icon { transform: rotate(180deg); }
.mpanel__tools .icon { width: 1rem; height: 1rem; }
.mpanel__count { font: 600 .72rem/1 var(--f-body); color: var(--on-dark-muted); min-width: 3.2rem; text-align: center; font-variant-numeric: tabular-nums; }
.mpanel__close { grid-column: auto; grid-row: auto; margin-left: .3rem; }
.map__panel.is-swap .mentry { animation: entry-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
.map__panel.is-swap .mpanel__name { animation: entry-in .5s var(--ease-out) both; }
@keyframes entry-in { from { opacity: 0; transform: translateY(14px); } }
.marker--country .marker__dot, .marker--region .marker__dot { position: relative; background: rgba(6, 23, 26, .35); border: 1.5px dashed var(--c); }
.marker--country .marker__dot::after, .marker--region .marker__dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--c); }
.marker--country:hover .marker__dot, .marker--region:hover .marker__dot, .marker--country.is-active .marker__dot, .marker--region.is-active .marker__dot { background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: 0 0 22px 2px color-mix(in srgb, var(--c) 55%, transparent); transform: scale(1.12); }
.map__viewport::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 90px 10px rgba(3, 14, 16, .65); }
/* on wide screens the panel floats over the right of the map instead of squeezing it (kept last so it wins) */
@media (min-width: 1000px) {
  .map__panel { position: absolute; z-index: 6; top: 14px; right: 14px; bottom: 14px; width: min(390px, 42%); max-height: none; background: rgba(7, 26, 28, .9); box-shadow: -30px 0 70px -30px rgba(0, 0, 0, .8); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
  .mpanel__head { background: linear-gradient(180deg, rgba(7, 26, 28, .98) 78%, rgba(7, 26, 28, 0)); }
}
/* ---- pages.css ---- */
/* Page-specific layouts: home hero and sections, donate, contact, about. */

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; color: var(--on-dark); background: radial-gradient(120% 100% at 75% 10%, #0f3a47 0%, #071d22 45%, #04110f 100%); padding: calc(var(--header-h) + 2rem) 0 clamp(4.5rem, 3rem + 5vw, 7rem); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .9; }
.hero__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 18% 62%, rgba(4, 17, 15, .82), transparent 70%), linear-gradient(180deg, transparent 60%, rgba(4, 17, 15, .9)); pointer-events: none; }
.hero__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hero__copy { display: grid; gap: clamp(1.1rem, .9rem + 1vw, 1.8rem); justify-items: start; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .9rem; font: 600 .76rem/1.2 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); }
.hero__rule { width: 2.6rem; height: 1px; background: var(--gold); transform-origin: left; }
.hero__title { font-size: clamp(2.15rem, .8rem + 4.2vw, 4.5rem); font-weight: 300; line-height: 1.02; letter-spacing: -.025em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
@media (min-width: 480px) { .hero__line > span { white-space: nowrap; } }
.hero__line > span { display: block; }
.hero__line em { color: var(--gold-2); font-weight: 300; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; color: #cfdad5; max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; }
.hero__maplink { margin-left: .4rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 1.2rem 2.6rem; margin-top: clamp(.6rem, .4rem + 1vw, 1.6rem); padding-top: 1.5rem; border-top: 1px solid var(--line-dark); width: 100%; max-width: 38rem; }
.hero__facts div { display: grid; gap: .3rem; }
.hero__facts dd { order: -1; font: 300 var(--step-3)/1 var(--f-display); color: var(--on-dark); font-variant-numeric: lining-nums tabular-nums; }
.hero__facts dt { font-size: .8rem; color: var(--on-dark-muted); max-width: 14ch; line-height: 1.3; }
.hero__frames { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1.16; justify-self: center; }
.hero__frames .arch { position: absolute; }
.arch--a { width: 62%; right: 6%; top: 0; z-index: 2; }
.arch--b { width: 44%; left: 0; bottom: 0; z-index: 3; }
.arch--c { width: 34%; right: 0; bottom: 6%; z-index: 1; }
.arch--b .arch__frame, .arch--c .arch__frame { transform: translate(8px, 8px); }
.arch--b .arch__media, .arch--c .arch__media { box-shadow: 0 0 0 6px #071d22; }
@media (max-width: 899px) { .hero__frames { width: min(86%, 360px); } .hero__canvas { opacity: .5; } }
/* text-only hero (no arch photographs): the copy keeps the left side and the animated world fills the rest */
@media (min-width: 900px) { .hero--solo .hero__grid { grid-template-columns: minmax(0, 46rem); } }
.hero__skip { position: absolute; right: var(--gutter); bottom: 1.6rem; z-index: 5; font: 600 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); padding: .7rem 1rem; border-radius: 999px; border: 1px solid rgba(243, 239, 228, .35); background: rgba(6, 23, 26, .5); backdrop-filter: blur(6px); transition: background-color .2s, color .2s, opacity .4s; }
.hero__skip:hover { background: var(--gold-2); color: var(--ink); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(243, 239, 228, .4); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-2); animation: scroll-hint 2.2s var(--ease) 4; }
@keyframes scroll-hint { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* ---------- who / what / how ---------- */
.who__grid { display: grid; gap: 0; }
@media (min-width: 860px) { .who__grid { grid-template-columns: repeat(3, 1fr); } }
.who__item { display: grid; gap: .9rem; align-content: start; justify-items: start; padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.8rem); border-top: 1px solid var(--line); }
@media (min-width: 860px) { .who__item { border-top: 0; border-left: 1px solid var(--line); } .who__item:first-child { border-left: 0; padding-left: 0; } }
.who__n { font: 600 .74rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.who__title { font-size: var(--step-3); }
.who__item > p:not(.who__n) { color: var(--muted); }

/* ---------- work index ---------- */
.index { border-top: 1px solid rgba(11, 42, 34, .25); }
.index__row { border-bottom: 1px solid rgba(11, 42, 34, .25); }
.index__link { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: .4rem clamp(1rem, .5rem + 2.5vw, 3rem); align-items: center; padding: clamp(1.3rem, 1rem + 1.4vw, 2.2rem) clamp(.2rem, 1vw, 1rem); text-decoration: none; transition: padding .5s var(--ease-out), color .3s; isolation: isolate; }
.index__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); }
.index__link:hover, .index__link:focus-visible { color: var(--on-dark); padding-inline: clamp(1rem, .6rem + 2vw, 2.4rem); }
.index__link:hover::before, .index__link:focus-visible::before { transform: scaleY(1); }
.index__num { font: 300 var(--step-2)/1 var(--f-display); color: var(--gold); min-width: 2.4ch; }
.index__main { display: grid; gap: .35rem; }
.index__title { font: 400 var(--step-3)/1.08 var(--f-display); letter-spacing: -.01em; }
.index__tagline { color: var(--muted); font-size: .98rem; transition: color .3s; }
.index__link:hover .index__tagline, .index__link:focus-visible .index__tagline { color: var(--on-dark-muted); }
.index__tags { display: none; font-size: .8rem; letter-spacing: .06em; color: var(--muted); text-align: right; max-width: 30ch; transition: color .3s; }
.index__link:hover .index__tags { color: var(--gold-2); }
@media (min-width: 1000px) { .index__link { grid-template-columns: auto 1fr auto auto; } .index__tags { display: block; } }
.index__arrow { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .45; transition: transform .5s var(--ease-out), opacity .3s, background-color .3s, color .3s; }
.index__link:hover .index__arrow, .index__link:focus-visible .index__arrow { opacity: 1; transform: rotate(-45deg); background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
@media (max-width: 560px) { .index__arrow { width: 2.3rem; height: 2.3rem; } }
.index-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 260px; aspect-ratio: 3 / 4; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .35s, transform .5s var(--ease-out); -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; overflow: hidden; background: var(--forest-2); }
.index-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
.index-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 999px) { .index-preview { display: none; } }

/* ---------- featured story ---------- */
.fstory__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 6rem); align-items: center; }
@media (min-width: 900px) { .fstory__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.fstory__media { position: relative; width: min(100%, 440px); justify-self: center; padding-bottom: 12%; padding-right: 14%; }
.fstory__b { position: absolute; right: 0; bottom: 0; width: 52%; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--sand); }
.fstory__b img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.fstory__copy { display: grid; gap: 1.3rem; justify-items: start; }
.fstory__text { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 40rem; }
.fstory__stat { display: flex; align-items: baseline; gap: 1rem; padding-block: 1rem; border-block: 1px solid rgba(11, 42, 34, .2); width: 100%; max-width: 30rem; }
.fstory__num { font: 300 var(--step-5)/.9 var(--f-display); color: var(--emerald); font-variant-numeric: lining-nums; }
.fstory__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }

/* ---------- needs ---------- */
.needs__grid { display: grid; gap: clamp(1.2rem, .8rem + 1.6vw, 2.2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.need { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.need:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.need__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--forest-2); }
.need__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.need:hover .need__img { transform: scale(1.05); }
.need__media--pattern, .feat__media--pattern { display: grid; place-items: center; position: relative; background: radial-gradient(120% 120% at 20% 0%, #1b5a4a, var(--forest)); color: var(--gold-2); }
.need__media--pattern::before, .feat__media--pattern::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 60px; opacity: .22; }
.need__glyph, .feat__glyph { position: relative; width: 3.2rem; height: 3.2rem; }
.need__body { display: grid; gap: .8rem; padding: 1.6rem; align-content: start; justify-items: start; }
.need__title { font-size: var(--step-2); line-height: 1.12; }
.need__body > p { color: var(--muted); font-size: .98rem; }
.need__ask { font-weight: 600; color: var(--forest) !important; padding: .7rem .9rem; background: var(--ivory); border-left: 2px solid var(--gold); border-radius: 0 8px 8px 0; width: 100%; }
.need__actions { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; align-items: center; margin-top: .4rem; }

/* ---------- story features ---------- */
.feats { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.feat { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.feat:hover, .feat:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat__media { overflow: hidden; background: var(--forest-2); min-height: 200px; }
.feat__img { width: 100%; height: 100%; object-fit: cover; }
.feat__body { display: grid; gap: .7rem; padding: 1.6rem; align-content: center; justify-items: start; }
.feat__title { font-size: var(--step-2); line-height: 1.12; }
.feat__title a { text-decoration: none; }
.feat__title a::after { content: ""; position: absolute; inset: 0; }
.feat__body > p:not(.eyebrow) { color: var(--muted); font-size: .96rem; }
@media (max-width: 520px) { .feat { grid-template-columns: 1fr; } .feat__media { aspect-ratio: 16 / 9; min-height: 0; } }

/* ---------- about ---------- */
.pullquote { margin: 2.4rem 0 0; padding: 1.8rem 0 0 1.6rem; border-left: 2px solid var(--gold); display: grid; gap: .8rem; }
.pullquote blockquote p { font: italic 300 var(--step-2)/1.35 var(--f-display); color: var(--forest); }
.pullquote figcaption { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.guides__grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.guide { margin: 0; padding: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03); display: grid; gap: 1.1rem; align-content: start; justify-items: start; }
.guide figcaption { font: 600 .72rem/1.3 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.guide blockquote p { font: 300 var(--step-3)/1.15 var(--f-display); color: var(--on-dark); }
.guide--seal img { width: 84px; height: 84px; border-radius: 50%; background: #fff; }
.guide--seal blockquote p { font-size: var(--step-2); font-style: italic; line-height: 1.3; }
.guide__by { font-size: .86rem; color: var(--on-dark-muted); }
.guide__credo { display: grid; gap: .2em; font-size: var(--step-2) !important; line-height: 1.25 !important; }
.people { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.person { padding: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: .5rem; align-content: start; }
.person__role { font: 600 .7rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.person__name { font-size: var(--step-2); }
.person p { color: var(--muted); font-size: .94rem; }
.people__pending { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.4rem; font-size: .9rem; color: var(--muted); }
.people__pending .icon { margin-top: .2rem; color: var(--gold-ink); }
.history { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: h; }
.history li { counter-increment: h; display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font: 400 var(--step-1)/1.3 var(--f-display); }
.history li::before { content: counter(h, decimal-leading-zero); font: 400 .8rem var(--f-body); color: var(--gold-ink); letter-spacing: .1em; }
.trust__grid { display: grid; gap: 0 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.trust__item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.trust__item > .icon { width: 2rem; height: 2rem; padding: .4rem; border-radius: 50%; background: var(--forest); color: var(--gold-2); margin-top: .1rem; }
.trust__item h3 { font: 600 1.02rem/1.3 var(--f-body); letter-spacing: 0; margin-bottom: .3rem; }
.trust__item p { color: var(--muted); font-size: .95rem; }
.legal { display: grid; gap: 0 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 3rem; padding: 1.8rem; background: var(--ivory); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.legal div { display: grid; gap: .3rem; padding-block: .7rem; }
.legal dt { font: 600 .68rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.legal dd { font-weight: 500; overflow-wrap: anywhere; }
.legal--stack { grid-template-columns: 1fr; margin-top: 0; }

/* ---------- donate ---------- */
.give-layout { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .give-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } .give-side { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.give { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.give__step { display: grid; gap: 1.1rem; }
.give__step legend { display: flex; align-items: center; gap: .9rem; font: 400 var(--step-3)/1.1 var(--f-display); padding: 0; margin-bottom: .2rem; float: left; width: 100%; }
.give__step legend + * { clear: both; }
.give__n { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-2); font: 400 1.2rem var(--f-display); flex: none; }
.give__help { color: var(--muted); font-size: .95rem; }
.causes { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.cause { position: relative; display: block; cursor: pointer; }
.cause input, .amount input[type="radio"], .fund input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cause__box { position: relative; display: grid; gap: .4rem; height: 100%; padding: 1.2rem 2.8rem 1.2rem 1.2rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); transition: border-color .25s, box-shadow .25s, transform .35s var(--ease-out), background-color .25s; }
.cause:hover .cause__box { border-color: var(--emerald-2); transform: translateY(-2px); }
.cause__title { font: 400 1.2rem/1.2 var(--f-display); }
.cause__text { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.cause__check { position: absolute; right: .9rem; top: .9rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; transition: background-color .25s, border-color .25s, color .25s; }
.cause__check .icon { width: .9rem; height: .9rem; stroke-width: 2.4; }
.cause input:checked + .cause__box { border-color: var(--forest); background: #f1f6f2; box-shadow: 0 0 0 3px rgba(26, 107, 82, .14); }
.cause input:checked + .cause__box .cause__check { background: var(--forest); border-color: var(--forest); color: var(--gold-2); }
.cause input:focus-visible + .cause__box, .amount input:focus-visible + span, .fund input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.funds { padding: 1.2rem; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); display: grid; gap: .8rem; }
.funds__legend { font-weight: 600; font-size: .92rem; }
.funds__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.fund { position: relative; display: inline-block; cursor: pointer; }
.fund span { display: inline-block; padding: .55rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: .9rem; transition: background-color .2s, border-color .2s, color .2s; }
.fund input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.amounts { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; }
.amount { position: relative; cursor: pointer; }
.amount > span:not(.amount__label):not(.amount__field) { display: grid; place-items: center; min-width: 5.4rem; height: 100%; padding: 1rem 1.2rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); font: 400 1.4rem/1 var(--f-display); transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease-out); }
.amount:hover > span:not(.amount__label):not(.amount__field) { border-color: var(--emerald-2); transform: translateY(-2px); }
.amount input:checked + span { background: var(--forest) !important; border-color: var(--forest) !important; color: var(--gold-2); }
.amount--custom { display: grid; gap: .35rem; flex: 1 1 200px; cursor: default; }
.amount__label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.amount__field { display: flex; align-items: center; gap: .4rem; padding: 0 1rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); font: 400 1.3rem var(--f-display); }
.amount__field:focus-within { border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(26, 107, 82, .15); }
.amount__field input { border: 0; background: none; padding: .8rem 0; width: 100%; font: inherit; outline: none; -moz-appearance: textfield; appearance: textfield; }
.amount__field input::-webkit-outer-spin-button, .amount__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zelle, .notify { padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); display: grid; gap: 1rem; }
.zelle__title, .notify__title { font-size: var(--step-2); }
.zelle > p, .notify > p { color: var(--muted); font-size: .96rem; }
.zelle__steps { counter-reset: z; display: grid; gap: 0; border-top: 1px solid var(--line); }
.zelle__steps li { counter-increment: z; position: relative; display: grid; gap: .5rem; padding: 1rem 0 1rem 2.8rem; border-bottom: 1px solid var(--line); }
.zelle__steps li::before { content: counter(z); position: absolute; left: 0; top: 1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-ink); display: grid; place-items: center; font: 400 .95rem var(--f-display); }
.copyline { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.copyline code { font-size: 1.05rem; font-weight: 600; padding: .55rem .8rem; background: var(--ivory); border-radius: 8px; border: 1px dashed #cdbf9f; overflow-wrap: anywhere; }
.zelle__name { font-size: .82rem; color: var(--muted); }
.memo-table summary { font-size: 1rem; padding: .6rem 0; font-family: var(--f-body); font-weight: 600; color: var(--emerald); }
.memo-table table { font-size: .9rem; }
.memo-table th, .memo-table td { text-align: left; padding: .55rem .6rem .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 500; }
.memo-table thead th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.memo-sub th { padding-left: 1.2rem; font-weight: 400; color: var(--muted); }
.notify { background: var(--ivory); justify-items: start; }
.give__pending, .give__honest, .give__online { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.give__online { flex-wrap: wrap; align-items: center; }
.give__pending .icon, .give__honest .icon { margin-top: .2rem; color: var(--gold-ink); flex: none; }
.summary, .give-trust { padding: 1.6rem; border-radius: var(--radius-lg); display: grid; gap: 1rem; }
.summary { background: var(--forest); color: var(--on-dark); position: relative; overflow: hidden; }
.summary::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 60px; opacity: .1; }
.summary > * { position: relative; }
.summary__title, .give-trust__title, .contact-side__title, .cform__title { font-size: var(--step-2); }
.summary dl { display: grid; gap: 0; }
.summary dl div { display: grid; grid-template-columns: 5.2rem 1fr; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line-dark); align-items: baseline; }
.summary dt { font: 600 .68rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.summary dd { font-weight: 500; overflow-wrap: anywhere; }
.summary [data-sum-amount] { font: 300 var(--step-3)/1 var(--f-display); color: var(--gold-2); }
.give-trust { margin-top: 1.2rem; background: var(--ivory); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.give-trust__title { color: var(--text); }

/* ---------- contact ---------- */
.contact-layout { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.cform { display: grid; gap: 1.3rem; padding: clamp(1.5rem, 1.1rem + 2vw, 3rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); justify-items: stretch; }
.cform .btn { justify-self: start; }
.cform__note { font-size: .84rem; color: var(--muted); }
.cform__status { font-size: .92rem; font-weight: 600; color: var(--emerald); min-height: 1.2em; }
.cform__status.is-error { color: var(--t-urgent); }
.contact-side { display: grid; gap: 1.4rem; align-content: start; }
.contact-side__emergency { display: flex; gap: .6rem; font-size: .88rem; color: var(--muted); }
.contact-side__emergency .icon { flex: none; margin-top: .2rem; color: var(--t-urgent); }

/* ---------- home hero, second pass ---------- */
.hero__motto { display: inline-flex; align-items: center; gap: .7rem; font: italic 300 var(--step-2)/1.2 var(--f-display); color: var(--gold-2); }
.hero__motto-star { width: 1.1rem; height: 1.1rem; color: var(--gold); flex: none; }
.arch__media--slides .arch__img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; opacity: 0; transition: opacity 1.8s var(--ease); }
.arch__media--slides .arch__img.is-on { opacity: 1; }
.hero__canvas { translate: calc(var(--mx, 0) * 10px) calc(var(--my, 0) * 7px); scale: 1.03; }
.hero__frames .arch--a { translate: calc(var(--mx, 0) * -12px) calc(var(--my, 0) * -9px); }
.hero__frames .arch--b { translate: calc(var(--mx, 0) * 18px) calc(var(--my, 0) * 13px); }
.hero__frames .arch--c { translate: calc(var(--mx, 0) * -26px) calc(var(--my, 0) * 16px); }

/* ---------- places marquee ---------- */
.marquee { background: var(--forest); color: var(--gold-2); overflow: hidden; border-block: 1px solid var(--line-dark); }
.marquee__track { display: inline-flex; align-items: center; white-space: nowrap; padding-block: 1.05rem; animation: marquee 60s linear infinite; will-change: transform; }
.marquee__track > * { margin-right: 2rem; flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font: 300 var(--step-2)/1 var(--f-display); letter-spacing: .01em; }
.marquee__star { width: .95rem; height: .95rem; opacity: .65; display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- "from the field" slider ---------- */
.field { overflow: hidden; }
.field__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.field__head .section-head { margin-bottom: 0; }
.field__nav { display: flex; gap: .5rem; }
.field__nav button { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(11, 42, 34, .35); color: var(--forest); transition: background-color .25s, color .25s, opacity .25s, transform .35s var(--ease-out); }
.field__nav button:hover:not(:disabled) { background: var(--forest); color: var(--gold-2); transform: scale(1.06); }
.field__nav button:disabled { opacity: .3; cursor: default; }
.field__nav [data-carousel-prev] .icon { transform: rotate(180deg); }
.field__viewport { --pad: max(var(--gutter), calc((100vw - var(--container)) / 2)); margin-top: clamp(1.8rem, 1.2rem + 2vw, 3rem); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-inline: var(--pad); scrollbar-width: none; cursor: grab; }
.field__viewport::-webkit-scrollbar { display: none; }
.field__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.field__viewport.is-dragging a { pointer-events: none; }
.field__track { display: flex; gap: 24px; width: max-content; padding-block: .5rem 1.6rem; }
.fcard { flex: none; width: min(80vw, 400px); scroll-snap-align: start; }
.fcard__link { display: grid; grid-template-rows: auto 1fr; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .3s; -webkit-user-drag: none; }
.fcard__link:hover, .fcard__link:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--forest-2); }
.fcard__media--pattern { background: radial-gradient(120% 120% at 20% 0%, #1b5a4a, var(--forest)); }
.fcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); pointer-events: none; }
.fcard__link:hover .fcard__img { transform: scale(1.07); }
.fcard__link:hover .pcard__more .icon { transform: translateX(5px); }
.fcard__body { display: grid; gap: .65rem; padding: 1.4rem 1.4rem 1.6rem; align-content: start; justify-items: start; }
.fcard__place { display: inline-flex; align-items: center; gap: .35rem; font: 600 .72rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.fcard__title { font-size: var(--step-2); line-height: 1.12; }
.fcard__body p { color: var(--muted); font-size: .95rem; }
.field__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-top: .6rem; }
.field__progress { flex: 1 1 200px; max-width: 380px; height: 2px; background: rgba(11, 42, 34, .16); overflow: hidden; border-radius: 2px; }
.field__progress span { display: block; height: 100%; width: 30%; background: var(--forest); transition: transform .25s var(--ease-out); }
/* ---------- board of directors ---------- */
.board { overflow: hidden; }
.board__pattern { position: absolute; inset: 0; background-image: var(--pattern); background-size: 84px; opacity: .09; -webkit-mask-image: radial-gradient(70% 45% at 50% 0%, #000, transparent); mask-image: radial-gradient(70% 45% at 50% 0%, #000, transparent); pointer-events: none; }
.board .container { position: relative; }
.board__group { display: flex; align-items: center; gap: 1.2rem; font: 600 .76rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin: clamp(2.2rem, 1.8rem + 2vw, 3.4rem) 0 clamp(1.4rem, 1rem + 1vw, 2rem); }
.board__group::before, .board__group::after { content: ""; flex: 1; height: 1px; background: rgba(11, 42, 34, .18); }
.board .section-head + .board__group { margin-top: 0; }
.board__grid { display: grid; gap: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem) clamp(1rem, .6rem + 1.4vw, 2rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .board__grid--officers { grid-template-columns: repeat(4, minmax(0, 1fr)); } .board__grid--members { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .board__grid--members { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .board__grid--members { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.member { display: grid; gap: 1.1rem; justify-items: center; align-content: start; text-align: center; }
.member__photo { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.member--member .member__photo { max-width: 210px; }
.member--officer .member__photo { max-width: 270px; }
.member__media { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #1b5a4a, var(--forest) 72%); -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.member:not(.has-photo) .member__media::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 52px; opacity: .24; transition: opacity .6s; }
.member:not(.has-photo):hover .member__media::before { opacity: .4; }
.member__img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform 1.2s var(--ease-out), filter .6s; }
.member:hover .member__img { transform: scale(1.06); filter: none; }
.member__mono { position: relative; margin-top: 16%; font: 300 clamp(2.3rem, 1.6rem + 2.4vw, 3.4rem)/1 var(--f-display); letter-spacing: .05em; color: var(--gold-2); transition: transform .8s var(--ease-out); }
.member--officer .member__mono { font-size: clamp(2.7rem, 1.9rem + 3vw, 4.2rem); }
.member:hover .member__mono { transform: translateY(-4px); }
.member__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; transform: translate(8px, 8px); transition: transform .7s var(--ease-out); }
.member__frame path { fill: none; stroke: var(--gold); stroke-width: 1.1; opacity: .7; }
.member:hover .member__frame { transform: translate(3px, 3px); }
.member__name { font: 400 var(--step-1)/1.2 var(--f-display); }
.member--officer .member__name { font-size: var(--step-2); }
.member__role { margin-top: .4rem; font: 600 .7rem/1.45 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
/* members wrap as centred rows, so a short final row (the Secretary) sits in the middle */
.board__grid--members { display: flex; flex-wrap: wrap; justify-content: center; }
.board__grid--members > .member { flex: 0 0 calc((100% - 1 * var(--g)) / 2); }
.board__grid--members { --g: clamp(1rem, .6rem + 1.4vw, 2rem); column-gap: var(--g); }
@media (min-width: 700px) { .board__grid--members > .member { flex-basis: calc((100% - 2 * var(--g)) / 3); } }
@media (min-width: 1000px) { .board__grid--members > .member { flex-basis: calc((100% - 3 * var(--g)) / 4); } }
@media (min-width: 1240px) { .board__grid--members > .member { flex-basis: calc((100% - 4 * var(--g)) / 5); } }
/* ---------- project lead card (photo + name of the person who leads the work) ---------- */
.lead-card { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: clamp(1.3rem, .8rem + 2.4vw, 2.8rem); align-items: center; margin-top: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); padding: clamp(1.3rem, 1rem + 1.6vw, 2.2rem); background: var(--ivory); border: 1px solid rgba(11, 42, 34, .08); border-radius: calc(var(--radius) * 1.6); }
.lead-card__photo { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.lead-card__name { margin-top: .7rem; font: 400 var(--step-2)/1.15 var(--f-display); }
.lead-card__role { margin-top: .45rem; font: 600 .7rem/1.45 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.lead-card__note { margin-top: .9rem; max-width: 52ch; color: var(--muted); }
.lead-card .link-arrow { margin-top: 1.1rem; }
.lead-card:hover .member__img { transform: scale(1.05); filter: none; }
.lead-card:hover .member__frame { transform: translate(3px, 3px); }
@media (max-width: 560px) {
  .lead-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .lead-card__photo { width: 56%; max-width: 190px; }
  .lead-card .eyebrow::before { display: none; }
}
/* ---------- credo: three short lines, lit word by word as they scroll past ---------- */
.credo { overflow: hidden; padding-block: clamp(5rem, 3rem + 8vw, 10rem); }
.credo__pattern { position: absolute; inset: 0; background-image: var(--pattern); background-size: 84px; opacity: .07; -webkit-mask-image: radial-gradient(55% 75% at 88% 50%, #000, transparent 72%); mask-image: radial-gradient(55% 75% at 88% 50%, #000, transparent 72%); pointer-events: none; }
.credo .container { position: relative; display: grid; gap: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); }
.credo__text { font: 300 clamp(2.3rem, 1.15rem + 4.9vw, 5.7rem)/1.06 var(--f-display); letter-spacing: -.025em; color: var(--forest); }
.credo__line { display: block; }
.credo__text em { font-style: italic; color: var(--gold-ink); }
.credo__star { position: absolute; right: clamp(-9rem, -6vw, -3rem); top: 50%; width: clamp(15rem, 9rem + 22vw, 32rem); aspect-ratio: 1; translate: 0 -50%; color: var(--gold); opacity: .2; rotate: calc(var(--sp, 0) * 135deg); pointer-events: none; }
.credo__star svg { display: block; width: 100%; height: 100%; }
.credo__star path { stroke-width: .3; }
.credo__star circle { r: .9; }
@media (max-width: 700px) { .credo__star { opacity: .12; } }

/* board: the "meet the full board" link on About, and the board's own page */
.board__more { display: flex; justify-content: center; margin-top: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); }
.board--page .container > .board__group:first-child { margin-top: 0; }

/* donate: two ways to give, side by side */
.give2 { display: grid; gap: clamp(1.2rem, .8rem + 1.6vw, 2rem); }
@media (min-width: 820px) { .give2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.give2__card { position: relative; overflow: hidden; display: grid; gap: 1rem; align-content: start; padding: clamp(1.6rem, 1.2rem + 1.8vw, 2.8rem); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.give2__card--online { color: var(--on-dark); border-color: transparent; background: radial-gradient(120% 120% at 100% 0%, #15503f 0%, var(--forest) 55%, #0a241d 100%); }
.give2__card--online::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 64px; opacity: .08; pointer-events: none; }
.give2__card > * { position: relative; }
.give2__n { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-ink); font: 400 1.1rem/1 var(--f-display); }
.give2__card--online .give2__n { color: var(--gold-2); }
.give2__title { font-size: var(--step-3); }
.give2__card--online .give2__title { color: var(--on-dark); }
.give2__card > p { color: var(--muted); }
.give2__card--online > p { color: var(--on-dark-muted); }
.give2__card .btn .icon:last-child { width: 1rem; height: 1rem; opacity: .8; }
.give2__card .copyline code { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); }
.give2__note { font-size: .9rem; }
.give2__fine { margin-top: clamp(1.6rem, 1.2rem + 1vw, 2.4rem); max-width: 60rem; font-size: .9rem; color: var(--muted); }

/* ---- intro.css ---- */
/* Home page opening. Shown only while html.gate is set (first visit, motion welcome). The sequence below is
   pure CSS; intro.js opens the doorway at the end. About 2.6s for the arch and the name, about 3s for Surah
   Al-Baqarah 2:261 and its seven ears of grain, a pause to read, then about 1.4s to fly through. */
.intro { display: none; }
.gate .intro { display: block; position: fixed; inset: 0; z-index: 400; color: var(--on-dark); cursor: pointer; animation: intro-failsafe .6s ease 15s forwards; }
/* if scripts never start, the opening steps aside on its own */
html.gate.motion-late:not(.motion-on) .intro { display: none; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

.intro__veil { position: absolute; inset: 0; background: radial-gradient(85% 70% at 50% 44%, #0e3532 0%, #061a1b 52%, #020a09 100%); }
.intro__pattern { position: absolute; inset: -12%; background-image: var(--pattern); background-size: 96px; opacity: 0; -webkit-mask-image: radial-gradient(46% 46% at 50% 46%, #000 0%, transparent 78%); mask-image: radial-gradient(46% 46% at 50% 46%, #000 0%, transparent 78%); animation: intro-pattern 3.2s var(--ease-out) .05s both; }
@keyframes intro-pattern { from { opacity: 0; transform: scale(1.16) rotate(-3deg); } to { opacity: .17; transform: none; } }
.intro__glow { position: absolute; left: 50%; top: 40%; width: min(92vw, 780px); aspect-ratio: 1; translate: -50% -50%; background: radial-gradient(closest-side, rgba(230, 210, 163, .2), rgba(201, 164, 92, .07) 48%, transparent 72%); opacity: 0; animation: intro-glow 2.4s var(--ease-out) .3s both; }
@keyframes intro-glow { from { opacity: 0; scale: .55; } to { opacity: 1; scale: 1; } }
/* fine dust of light drifting upward */
.intro__dust { position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 12% 78%, rgba(230, 210, 163, .7), transparent 60%), radial-gradient(1px 1px at 27% 64%, rgba(230, 210, 163, .55), transparent 60%), radial-gradient(1.4px 1.4px at 71% 72%, rgba(230, 210, 163, .65), transparent 60%), radial-gradient(1px 1px at 86% 58%, rgba(230, 210, 163, .5), transparent 60%), radial-gradient(1.2px 1.2px at 40% 86%, rgba(230, 210, 163, .55), transparent 60%), radial-gradient(1px 1px at 60% 90%, rgba(230, 210, 163, .5), transparent 60%), radial-gradient(1.3px 1.3px at 92% 84%, rgba(230, 210, 163, .45), transparent 60%), radial-gradient(1px 1px at 6% 52%, rgba(230, 210, 163, .45), transparent 60%); opacity: 0; animation: intro-dust 4.2s linear .2s both; }
@keyframes intro-dust { 0% { opacity: 0; transform: translateY(30px); } 30% { opacity: 1; } 100% { opacity: .8; transform: translateY(-60px); } }

.intro__stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem 4rem; text-align: center; pointer-events: none; will-change: transform; }
.intro__door { position: relative; width: clamp(128px, 21vmin, 214px); aspect-ratio: 100 / 130; margin-bottom: clamp(1.1rem, 3.2vh, 2rem); }
.intro__arch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro__edge { fill: none; stroke: var(--gold); stroke-width: 1.15; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: intro-draw 1.35s cubic-bezier(.65, 0, .35, 1) .2s forwards; }
.intro__edge--in { stroke: var(--gold-2); stroke-width: .45; opacity: .6; animation-duration: 1.2s; animation-delay: .5s; }
.intro__arch { filter: drop-shadow(0 0 5px rgba(230, 210, 163, .55)); }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
/* where the two sides meet, a glint */
.intro__spark { position: absolute; left: 50%; top: 0; width: 46px; height: 46px; translate: -50% -50%; opacity: 0; animation: intro-spark 1.1s var(--ease-out) 1.45s both; }
.intro__spark::before, .intro__spark::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; background: radial-gradient(closest-side, #fffaf0, rgba(255, 244, 214, .6) 35%, transparent); border-radius: 50%; }
.intro__spark::before { width: 100%; height: 3px; }
.intro__spark::after { width: 3px; height: 100%; }
@keyframes intro-spark { 0% { opacity: 0; transform: scale(.2) rotate(0deg); } 35% { opacity: 1; transform: scale(1.15) rotate(45deg); } 100% { opacity: 0; transform: scale(.6) rotate(90deg); } }
/* the seal, inside the arch, with a sweep of light across it */
.intro__emblem { position: absolute; left: 50%; top: 60%; width: 66%; aspect-ratio: 1; translate: -50% -50%; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.intro__seal { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; opacity: 0; box-shadow: 0 0 0 1px rgba(230, 210, 163, .35), 0 0 60px -6px rgba(230, 210, 163, .45); animation: intro-seal 1.1s var(--ease-out) .75s both; }
.intro__seal img { display: block; width: 100%; height: 100%; }
.intro__seal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 32%, rgba(255, 250, 235, .7) 50%, transparent 68%); transform: translateX(-140%); animation: intro-shine 1.15s var(--ease-out) 1.7s both; }
@keyframes intro-seal { from { opacity: 0; scale: .74; filter: blur(10px); } to { opacity: 1; scale: 1; filter: none; } }
@keyframes intro-shine { to { transform: translateX(140%); } }

/* the name, then the verse in its place */
.intro__copy { position: relative; display: grid; justify-items: center; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.intro__words { display: grid; justify-items: center; gap: clamp(.55rem, 1.6vh, .95rem); animation: intro-leave .65s var(--ease) 2.7s forwards; }
@keyframes intro-leave { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
.intro__name { display: flex; overflow: hidden; padding: .06em 0 .1em; margin-right: -.3em; font: 300 clamp(2.5rem, 1.5rem + 4vw, 4.4rem)/1 var(--f-display); letter-spacing: .3em; color: var(--on-dark); }
.intro__name span { display: inline-block; transform: translateY(115%); animation: intro-rise 1s var(--ease-out) both; }
.intro__name span:nth-child(1) { animation-delay: 1.05s; }
.intro__name span:nth-child(2) { animation-delay: 1.13s; }
.intro__name span:nth-child(3) { animation-delay: 1.21s; }
.intro__name span:nth-child(4) { animation-delay: 1.29s; }
@keyframes intro-rise { to { transform: none; } }
.intro__full { max-width: 92vw; margin-right: -.42em; font: 600 clamp(.6rem, .52rem + .32vw, .78rem)/1.5 var(--f-body); letter-spacing: .42em; text-transform: uppercase; color: var(--gold-2); opacity: 0; animation: intro-track 1.15s var(--ease-out) 1.4s both; }
@keyframes intro-track { from { opacity: 0; letter-spacing: .8em; filter: blur(5px); } to { opacity: 1; letter-spacing: .42em; filter: none; } }
.intro__motto { font: italic 300 clamp(1.05rem, .9rem + .7vw, 1.45rem)/1.3 var(--f-display); color: var(--on-dark-muted); opacity: 0; animation: intro-fade .85s var(--ease-out) 1.65s both; }
@keyframes intro-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Surah Al-Baqarah 2:261: the Arabic is written in from the right, then the English and the reference arrive */
.intro__verse { position: absolute; top: -.5rem; left: 50%; width: min(92vw, 44rem); translate: -50% 0; display: grid; justify-items: center; gap: clamp(.65rem, 1.8vh, 1.1rem); }
.intro__ar { font: 400 clamp(1.3rem, 1rem + 1.25vw, 2.05rem)/1.95 var(--f-arabic); color: var(--gold-2); text-shadow: 0 0 18px rgba(230, 210, 163, .22); clip-path: inset(-30% -3% -30% 103%); animation: intro-ink 2.1s cubic-bezier(.5, .05, .25, 1) 2.95s forwards; }
@keyframes intro-ink { to { clip-path: inset(-30% -3% -30% -3%); } }
.intro__en { max-width: 40rem; font: 300 clamp(.98rem, .88rem + .45vw, 1.22rem)/1.55 var(--f-display); color: var(--on-dark); opacity: 0; animation: intro-fade 1.1s var(--ease-out) 4.1s both; }
.intro__ref { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem .7rem; font: 600 .68rem/1.4 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: intro-fade .9s var(--ease-out) 4.7s both; }
.intro__ex { padding: .2rem .5rem; border: 1px solid rgba(201, 164, 92, .45); border-radius: 999px; font-size: .58rem; letter-spacing: .14em; color: var(--gold-2); }
.intro__tr { letter-spacing: .14em; color: var(--on-dark-muted); }
.intro__tr::before { content: "\00b7"; margin-right: .7rem; color: var(--gold); }

/* seven ears of grain grow from one seed behind the arch, as the verse describes */
.intro__grain { position: absolute; left: 50%; bottom: -1%; width: 250%; max-width: none; height: auto; aspect-ratio: 200 / 108; translate: -50% 0; overflow: visible; opacity: .62; pointer-events: none; transition: opacity .5s var(--ease); }
.intro__stem { fill: none; stroke: var(--gold-2); stroke-width: .45; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: intro-draw 1.25s cubic-bezier(.3, 0, .2, 1) 2.8s forwards; }
.intro__ear { fill: none; stroke: var(--gold); stroke-width: 2.3; stroke-linecap: round; stroke-dasharray: 1.6 3; opacity: 0; transform-box: fill-box; transform-origin: center; animation: intro-ear .9s var(--ease-out) 3.75s both; }
@keyframes intro-ear { from { opacity: 0; transform: scale(.4); } to { opacity: .95; transform: none; } }
/* the centre grows first, the outer ears a moment later */
.intro__stem:nth-child(5), .intro__stem:nth-child(9) { animation-delay: 2.9s; }
.intro__stem:nth-child(3), .intro__stem:nth-child(11) { animation-delay: 3s; }
.intro__stem:nth-child(1), .intro__stem:nth-child(13) { animation-delay: 3.1s; }
.intro__ear:nth-child(6), .intro__ear:nth-child(10) { animation-delay: 3.85s; }
.intro__ear:nth-child(4), .intro__ear:nth-child(12) { animation-delay: 3.95s; }
.intro__ear:nth-child(2), .intro__ear:nth-child(14) { animation-delay: 4.05s; }

.intro__ui { transition: opacity .35s var(--ease); }
.intro__bar { position: absolute; left: 50%; bottom: clamp(1.8rem, 5vh, 3rem); width: min(220px, 46vw); height: 1px; translate: -50% 0; background: rgba(230, 210, 163, .16); overflow: hidden; }
.intro__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(230, 210, 163, .2), var(--gold-2)); transform-origin: left; transform: scaleX(0); animation: intro-bar 8.6s cubic-bezier(.4, 0, .6, 1) .1s forwards; }
@keyframes intro-bar { to { transform: scaleX(1); } }
.intro__skip { position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 4vh, 2.2rem); z-index: 2; padding: .7rem 1.05rem; border-radius: 999px; border: 1px solid rgba(243, 239, 228, .26); background: rgba(2, 10, 9, .45); font: 600 .72rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); opacity: 0; animation: intro-fade .6s ease .5s both; transition: color .2s, background-color .2s, border-color .2s; }
.intro__skip:hover, .intro__skip:focus-visible { color: var(--ink); background: var(--gold-2); border-color: var(--gold-2); }

/* opening: the words lift away, the seal falls back, and the arch becomes a doorway (intro.js) */
.intro.is-opening { cursor: default; pointer-events: none; }
.intro.is-opening .intro__copy { opacity: 0; transform: translateY(-16px); }
.intro.is-opening .intro__ui, .intro.is-opening .intro__grain { opacity: 0; }
.intro.is-opening .intro__emblem { opacity: 0; transform: scale(.9); }
.intro.is-fast .intro__copy, .intro.is-fast .intro__emblem, .intro.is-fast .intro__grain { transition-duration: .2s; }
.intro.is-fading { opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }

@media print { .intro { display: none !important; } }

/* ---- motion.css ---- */
/* Motion. Everything here is an enhancement: with no JavaScript, or with reduced motion, content is simply visible. */

/* cross-page transition (browsers that support it) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
.site-header { view-transition-name: site-header; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }

/* scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .pcard[data-reveal].is-in, .js .need[data-reveal].is-in, .js .icard[data-reveal].is-in, .js .feat[data-reveal].is-in { transition: opacity .9s var(--ease-out), transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .3s; transition-delay: 0s; }

/* headline word reveal */
.js [data-split]:not(.is-split) { opacity: 0; }
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .16em; margin-bottom: -.16em; }
.split-word > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--w, 0) * 42ms); }
.is-in > .split-word > span, .is-in .split-word > span { transform: none; }

/* arch image reveal + parallax */
.arch__img { position: relative; top: -6%; transform: translate3d(0, var(--py, 0px), 0); }
.js .arch .arch__media { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease-out); }
.js .arch:not(.is-in) .arch__media { clip-path: inset(100% 0 0 0); }
.js .arch .arch__frame { transition: opacity 1s var(--ease-out) .5s; }
.js .arch:not(.is-in) .arch__frame { opacity: 0; }

/* home hero opening. Hidden states apply only while the intro is going to play. */
.hero__copy > *, .hero__line > span, .hero__rule { transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.hero__eyebrow { transition-delay: 0s; }
.hero__rule { transition-delay: .1s; }
.hero__line:nth-child(1) > span { transition-delay: .15s; }
.hero__line:nth-child(2) > span { transition-delay: .32s; }
.hero__line:nth-child(3) > span { transition-delay: .46s; }
.hero__motto { transition-delay: .68s; }
.hero__lede { transition-delay: .82s; }
.hero__actions { transition-delay: .96s; }
.hero__facts { transition-delay: 1.1s; }
.js .hero__frames .arch .arch__media { transition: clip-path 1.5s var(--ease-out); }
.js .hero__frames .arch--a .arch__media, .js .hero__frames .arch--a .arch__frame { transition-delay: .55s; }
.js .hero__frames .arch--b .arch__media, .js .hero__frames .arch--b .arch__frame { transition-delay: .8s; }
.js .hero__frames .arch--c .arch__media, .js .hero__frames .arch--c .arch__frame { transition-delay: 1s; }
.js:not(.intro-seen):not(.reduce-motion) .hero:not(.is-revealed) .hero__motto,
.js:not(.intro-seen):not(.reduce-motion) .hero:not(.is-revealed) .hero__eyebrow,
.js:not(.intro-seen):not(.reduce-motion) .hero:not(.is-revealed) .hero__lede,
.js:not(.intro-seen):not(.reduce-motion) .hero:not(.is-revealed) .hero__actions,
.js:not(.intro-seen):not(.reduce-motion) .hero:not(.is-revealed) .hero__facts { opacity: 0; transform: translateY(20px); }
.js:not(.intro-seen):not(.reduce-motion) .hero:not(.is-revealed) .hero__line > span { transform: translateY(112%); }
.js:not(.intro-seen):not(.reduce-motion) .hero:not(.is-revealed) .hero__rule { transform: scaleX(0); }
.js:not(.intro-seen):not(.reduce-motion) .hero:not(.is-revealed) .hero__frames .arch .arch__media { clip-path: inset(100% 0 0 0); }
.js:not(.intro-seen):not(.reduce-motion) .hero:not(.is-revealed) .hero__frames .arch .arch__frame { opacity: 0; }
.js .hero.is-revealed .hero__frames .arch .arch__media { clip-path: inset(0 0 0 0); }
.js .hero.is-revealed .hero__frames .arch .arch__frame { opacity: 1; }
.js.intro-seen .hero__frames .arch .arch__media, .js.reduce-motion .hero__frames .arch .arch__media { clip-path: inset(0 0 0 0); }
.js.intro-seen .hero__frames .arch .arch__frame, .js.reduce-motion .hero__frames .arch .arch__frame { opacity: 1; }
.hero.is-instant *, .hero.is-instant { transition: none !important; }

/* slow drift on the large hero photograph, once */
.hero.is-revealed .arch--a .arch__img { animation: drift 16s var(--ease) 1 both; }
@keyframes drift { from { scale: 1.12; } to { scale: 1; } }

/* photographs settle into place as their card arrives */
.js .pcard:not(.is-in) .pcard__img, .js .need:not(.is-in) .need__img { transform: scale(1.2); }
/* the little rule beside each eyebrow draws itself */
.js .eyebrow[data-reveal]::before, .js .eyebrow[data-reveal]::after { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) .25s; }
.js .eyebrow[data-reveal].is-in::before, .js .eyebrow[data-reveal].is-in::after { transform: none; }
/* the star ornaments turn slowly as the page scrolls past */
.values__star, .feature__mark { animation: star-turn 60s linear infinite; }
@keyframes star-turn { to { rotate: 360deg; } }

/* the credo lights word by word as it scrolls past (motion.js "scrub"); without the script it is simply shown */
.credo__text.is-scrub .w { opacity: .13; transition: opacity .45s var(--ease), color .45s var(--ease); }
.credo__text.is-scrub .w.is-lit { opacity: 1; }

/* opening sections: as they scroll away the words drift up and fade, and the map behind leans in (motion.js "depth") */
.hero__grid, .page-hero__grid, .page-hero--map .container, .page-hero--give .container { transform: translate3d(0, calc(var(--hp, 0) * -80px), 0); opacity: calc(1 - var(--hp, 0) * 1.15); }
.hero__canvas { transform: scale(calc(1 + var(--hp, 0) * .1)); transform-origin: 30% 45%; }

/* the gold in the headline catches the light now and then */
.hero__line em { background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold-2) 42%, #fff7e0 50%, var(--gold-2) 58%, var(--gold-2) 100%) 120% 0 / 260% 100% repeat-x; -webkit-background-clip: text; background-clip: text; color: transparent; animation: glint 7s var(--ease) 3s infinite; }
@keyframes glint { 0% { background-position: 120% 0; } 32%, 100% { background-position: -40% 0; } }

/* the places strip, when driven by the script (speed follows scrolling) */
.marquee.is-driven .marquee__track { animation: none; }

/* photographs open like a curtain as their card or figure arrives */
.js .pcard[data-reveal] .pcard__media, .js .need[data-reveal] .need__media, .js figure[data-reveal] > img, .js figure[data-reveal] > a { clip-path: inset(0 0 0 0); transition: clip-path 1.25s var(--ease-out) .08s; }
.js .pcard[data-reveal]:not(.is-in) .pcard__media, .js .need[data-reveal]:not(.is-in) .need__media, .js figure[data-reveal]:not(.is-in) > img, .js figure[data-reveal]:not(.is-in) > a { clip-path: inset(100% 0 0 0); }
.js figure[data-reveal] > img { transition: clip-path 1.25s var(--ease-out) .08s, transform 1.6s var(--ease-out); }
.js figure[data-reveal] > a img { transition: transform 1.6s var(--ease-out); }
.js figure[data-reveal]:not(.is-in) > img, .js figure[data-reveal]:not(.is-in) > a img { transform: scale(1.18); }

/* the Arabic of each verse is written in from the right, as it is read */
.js .verse[data-reveal] .verse__arabic { clip-path: inset(-25% -4% -25% -4%); transition: clip-path 1.9s cubic-bezier(.55, .08, .25, 1) .3s; }
.js .verse[data-reveal]:not(.is-in) .verse__arabic { clip-path: inset(-25% -4% -25% 104%); }

/* page openings: the arch photograph settles slowly after it is revealed */
.page-hero .arch.is-in .arch__img { animation: drift 18s var(--ease) both; }

/* a soft light follows the pointer across dark sections (motion.js "spotlight") */
.has-spot::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(560px circle at var(--sx, -999px) var(--sy, -999px), rgba(230, 210, 163, .1), transparent 62%); opacity: 0; transition: opacity .6s var(--ease); mix-blend-mode: screen; }
.has-spot.is-lit::after { opacity: 1; }

/* back-to-top: a ring fills as you read down the page */
.dock__top { position: relative; }
.dock__ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); pointer-events: none; }
.dock__ring circle { fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* safety net: if the script never starts, reveal everything after a few seconds */
html.motion-late:not(.motion-on) [data-reveal], html.motion-late:not(.motion-on) [data-split] { opacity: 1 !important; transform: none !important; }
html.motion-late:not(.motion-on) .arch .arch__media { clip-path: none !important; }
html.motion-late:not(.motion-on) .arch .arch__frame { opacity: 1 !important; }
html.motion-late:not(.motion-on) .hero * { opacity: 1 !important; transform: none !important; }
html.motion-late:not(.motion-on) .arch__media--slides .arch__img:not(.is-on) { opacity: 0 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split]:not(.is-split) { opacity: 1; transform: none; }
  .split-word > span { transform: none; }
  .js .arch:not(.is-in) .arch__media { clip-path: none; }
  .js .arch:not(.is-in) .arch__frame { opacity: 1; }
  .arch__img { transform: none; top: 0; height: 100%; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .js [data-reveal]:not(.is-in) :is(.pcard__media, .need__media, .verse__arabic), .js figure[data-reveal]:not(.is-in) > :is(img, a) { clip-path: none; }
  .js figure[data-reveal]:not(.is-in) img { transform: none; }
  .hero__grid, .page-hero__grid, .hero__canvas { transform: none; opacity: 1; }
}
html.motion-late:not(.motion-on) :is(.pcard__media, .need__media, .verse__arabic, figure[data-reveal] > img, figure[data-reveal] > a) { clip-path: none !important; }

@media print {
  .site-header, .mobile-menu, .hero__canvas, .hero__skip, .hero__scroll, .map__toolbar, .map__zoom, .lightbox, .donate-band, .pager { display: none !important; }
  .js [data-reveal], .js [data-split] { opacity: 1 !important; transform: none !important; }
  .split-word > span { transform: none !important; }
  .hero__grid, .page-hero__grid { transform: none !important; opacity: 1 !important; }
  .credo__text .w { opacity: 1 !important; }
  .js .arch .arch__media { clip-path: none !important; }
  body { background: #fff; }
}

/* Qur'an verses in a page opening (blocks.ps1 HeroVerses): the Arabic is written in from the right, then the
   English and the reference rise beneath it. With two, they take turns (motion.js "hero-verse"). */
.hverse { margin-top: clamp(1.2rem, .8rem + 1.5vw, 2rem); padding-top: clamp(1.1rem, .9rem + .8vw, 1.6rem); border-top: 1px solid var(--line-dark); max-width: 40rem; }
.hverse__stack { display: grid; gap: 1.8rem; }
.hverse__item { margin: 0; display: grid; gap: .75rem; }
.hverse.is-rotating .hverse__stack { gap: 0; }
.hverse.is-rotating .hverse__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.hverse.is-rotating .hverse__item.is-on { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.hverse__ar { font: 400 clamp(1.2rem, .95rem + 1vw, 1.7rem)/1.95 var(--f-arabic); color: var(--gold-2); text-align: right; text-shadow: 0 0 22px rgba(230, 210, 163, .18); }
.hverse__en { margin: 0; font: italic 300 clamp(1rem, .92rem + .35vw, 1.18rem)/1.55 var(--f-display); color: var(--on-dark); }
.hverse__ref { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; font: 600 .68rem/1.4 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hverse__ref a { color: var(--gold-2); text-decoration: none; border-bottom: 1px solid rgba(230, 210, 163, .35); transition: border-color .2s; }
.hverse__ref a:hover, .hverse__ref a:focus-visible { border-color: var(--gold-2); }
.hverse__ex { padding: .15rem .45rem; border: 1px solid rgba(201, 164, 92, .45); border-radius: 999px; font-size: .58rem; letter-spacing: .12em; }
.hverse__tr { color: var(--on-dark-muted); letter-spacing: .12em; }
.hverse__dots { display: flex; gap: .55rem; margin-top: 1.1rem; }
.hverse__dots button { position: relative; overflow: hidden; width: 30px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: rgba(230, 210, 163, .22); cursor: pointer; }
.hverse__dots button::before { content: ""; position: absolute; inset: -8px 0; }
.hverse__dots button[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; background: var(--gold-2); transform-origin: left; animation: hverse-timer var(--hverse-dur, 12s) linear forwards; }
.hverse.is-paused .hverse__dots button::after { animation-play-state: paused; }
@keyframes hverse-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .hverse__item.is-on .hverse__ar { animation: hverse-ink 2.1s cubic-bezier(.5, .05, .25, 1) .35s both; }
.js .hverse__item.is-on .hverse__en { animation: hverse-rise 1s var(--ease-out) 1.25s both; }
.js .hverse__item.is-on .hverse__ref { animation: hverse-rise .8s var(--ease-out) 1.6s both; }
@keyframes hverse-ink { from { clip-path: inset(-30% -3% -30% 103%); } to { clip-path: inset(-30% -3% -30% -3%); } }
@keyframes hverse-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

