/* ==========================================================================
   Hope & Justice Foundation, Design System
   Editorial / institutional dossier aesthetic.
   Brand rule: BLUE = human trafficking · LILAC = domestic violence ·
   ORANGE = child sexual abuse & exploitation. GOLD = complementary finish only.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Cause colours, sampled from the official logo (assets/img/logo-hjf.png).
     The logo already carries all three: blue fingerprint, lilac outline, orange type. */
  --blue:        #0865B2;   /* logo deep blue.     contrast 5.97 on white */
  --blue-deep:   #05457B;
  --blue-light:  #8DD8F8;   /* logo fingerprint blue */
  --blue-soft:   #E4F4FD;
  --lilac:       #93278F;   /* logo heart outline. contrast 7.17 on white */
  --lilac-deep:  #6B1C68;
  --lilac-light: #D48FD0;
  --lilac-soft:  #F7E7F6;
  --orange:      #F36F21;   /* logo type.          fills and large type only */
  --orange-deep: #B1490D;   /* text-safe variant.  contrast 5.49 on white */
  --orange-light:#FBB183;
  --orange-soft: #FDEBDD;

  /* Complementary finish */
  --gold:        #B78B22;
  --gold-light:  #E0B84E;

  /* Neutrals */
  --ink:         #0B1220;
  --ink-2:       #131D30;
  --ink-3:       #22304A;
  --paper:       #F7F3EC;
  --paper-2:     #EEE8DD;
  --paper-3:     #E3DBCC;
  --white:       #FFFFFF;
  --body:        #4A5568;
  --body-dim:    #737E8E;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, sans-serif;

  /* Scale */
  --step--2: clamp(.69rem, .67rem + .1vw, .75rem);
  --step--1: clamp(.82rem, .79rem + .15vw, .9rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + .8vw, 2.1rem);
  --step-3:  clamp(1.95rem, 1.6rem + 1.7vw, 3.1rem);
  --step-4:  clamp(2.5rem, 1.85rem + 3.2vw, 4.6rem);
  --step-5:  clamp(3.1rem, 1.9rem + 5.6vw, 7rem);

  /* Space & shell */
  --shell: 1280px;
  --gutter: clamp(1.15rem, 4vw, 4rem);
  --rule: 1px solid var(--paper-3);

  /* Corner softening */
  --r-xs:   8px;
  --r-sm:   12px;
  --r-md:   16px;
  --r-lg:   22px;
  --r-xl:   30px;
  --r-pill: 999px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.04; font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
::selection { background: var(--gold-light); color: var(--ink); }

/* Visible focus, accessibility requirement of the brief */
/* Sticky masthead must not cover an anchored target */
[id] { scroll-margin-top: 6.5rem; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--ink); color: var(--white);
  padding: .8rem 1.2rem; font-size: var(--step--1); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout primitives ---------- */
.shell { width: min(100% - (var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--ink { background: var(--ink); color: #B9C3D4; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--body-dim);
  display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before {
  content: ""; width: 1.9rem; height: 2px; background: var(--gold); flex: none;
}
.section--ink .eyebrow { color: var(--gold-light); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 3rem; }
  .section-head--stack { grid-template-columns: minmax(0, 1fr); }
}
.section-head__lede { font-size: var(--step-0); max-width: 54ch; }
.section-num {
  font-family: var(--display);
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
  color: var(--gold);
}
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-3); font-weight: 400; }
/* Every dark container needs the light variant. Without this the lede inherits
   --ink-3 and renders near-black on near-black. */
.section--ink .lede,
.pagehead .lede,
.humanx .lede,
.support .lede,
.hero .lede,
.notfound .lede { color: #D7DEEA; }
.lede--onlight { color: var(--ink-3); }

.rule { height: 1px; background: var(--paper-3); border: 0; }
.rule--tri {
  height: 4px; border: 0;
  background: linear-gradient(90deg,
    var(--blue) 0 33.33%, var(--lilac) 33.33% 66.66%, var(--orange) 66.66% 100%);
}

/* ---------- 4. Texture: paper grain + hairline grid ---------- */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}
.gridlines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(11,18,32,.055) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.section--ink .gridlines {
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-sm);
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold); transform: translateY(101%);
  transition: transform .4s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--gold); }
.btn:active { transform: translateY(1px); }
.btn--blue   { --btn-bg: var(--blue); }
.btn--lilac  { --btn-bg: var(--lilac); }
.btn--orange { --btn-bg: var(--orange-deep); }
.btn--gold   { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn--gold::before { background: var(--ink); }
.btn--gold:hover, .btn--gold:focus-visible { color: var(--white); border-color: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: currentColor; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255,255,255,.4); }
.btn--sm { padding: .6rem 1.15rem; font-size: var(--step--2); border-radius: var(--r-pill); }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  border-bottom: 2px solid currentColor; padding-bottom: .3rem;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link svg { transition: transform .3s var(--ease); }
.arrow-link:hover { gap: 1rem; color: var(--gold); }

/* ---------- 6. Utility bar ---------- */
.utility {
  background: var(--ink);
  color: #A7B2C4;
  font-size: var(--step--2);
  letter-spacing: .06em;
  position: relative; z-index: 60;
}
.utility__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 42px; padding-block: .35rem; flex-wrap: wrap;
}
.utility__help { display: flex; align-items: center; gap: .55rem; }
.utility__help strong { color: var(--white); font-weight: 600; }
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); flex: none;
  box-shadow: 0 0 0 0 rgba(224,184,78,.7); animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,184,78,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(224,184,78,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,184,78,0); }
}
.utility__tools { display: flex; align-items: center; gap: .5rem; }

.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill); overflow: hidden; }
.lang-switch button {
  background: none; border: 0; cursor: pointer;
  padding: .3rem .6rem; font-size: var(--step--2); font-weight: 600; letter-spacing: .1em;
  color: #A7B2C4; transition: background .25s, color .25s;
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }

.exit-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #B4231F; color: #fff; border: 0; cursor: pointer;
  padding: .4rem .85rem; font-size: var(--step--2); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; border-radius: var(--r-pill);
  transition: background .25s;
}
.exit-btn:hover { background: #8E1A17; }

@media (max-width: 680px) {
  .utility__inner { justify-content: center; text-align: center; }
  .utility__help { flex-wrap: wrap; justify-content: center; row-gap: .1rem; }
}

/* ---------- 7. Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,243,236,.88);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: var(--rule);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.masthead.is-stuck { box-shadow: 0 10px 30px -22px rgba(11,18,32,.5); background: rgba(247,243,236,.96); }
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.brand__mark { width: 38px; height: 44px; flex: none; }
.brand__text { display: grid; line-height: 1.05; }
.brand__name {
  font-family: var(--display); font-size: 1.07rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.01em;
}
.brand__sub {
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--body-dim); font-weight: 600;
}

.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.7rem); }
}
.nav a {
  position: relative; text-decoration: none; color: var(--ink-3);
  font-size: var(--step--1); font-weight: 500; letter-spacing: .02em;
  padding-block: .4rem; white-space: nowrap;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--ink); }

.masthead__actions { display: flex; align-items: center; gap: .6rem; }
.masthead__actions .btn { display: none; }
@media (min-width: 700px) { .masthead__actions .btn { display: inline-flex; } }

.burger {
  width: 46px; height: 46px; display: grid; place-content: center; gap: 5px;
  background: none; border: 1px solid var(--paper-3); cursor: pointer;
  border-radius: var(--r-sm);
}
@media (min-width: 1080px) { .burger { display: none; } }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink); color: var(--white);
  padding: 5.5rem var(--gutter) 2rem;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  /* visibility keeps the closed drawer out of the tab order, not just out of sight */
  visibility: hidden; pointer-events: none;
  transition: clip-path .55s var(--ease), visibility 0s linear .55s;
}
.drawer[data-open="true"] {
  clip-path: inset(0 0 0 0);
  visibility: visible; pointer-events: auto;
  transition: clip-path .55s var(--ease), visibility 0s;
}
.drawer__close {
  position: absolute; top: 1.4rem; right: var(--gutter);
  background: none; border: 1px solid rgba(255,255,255,.28); color: #fff;
  width: 46px; height: 46px; font-size: 1.3rem; cursor: pointer; line-height: 1;
  border-radius: var(--r-sm);
}
.drawer nav { display: grid; gap: .1rem; margin-top: 1rem; }
.drawer nav a {
  font-family: var(--display); font-size: var(--step-2); text-decoration: none; color: #fff;
  padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; transform: translateY(14px);
}
.drawer[data-open="true"] nav a { animation: driftIn .5s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 120ms); }
.drawer nav a span { font-family: var(--sans); font-size: .66rem; letter-spacing: .2em; color: var(--gold-light); }
.drawer__foot { margin-top: 2rem; display: grid; gap: .8rem; }
@keyframes driftIn { to { opacity: 1; transform: none; } }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #B9C3D4;
  padding-block: clamp(3.5rem, 9vw, 7.5rem) 0;
}
/* The feature hero carries a full-bleed photograph. It needs real height for the
   image to read as an image, and the text column centres inside that height. */
.hero--feature {
  display: grid; grid-template-rows: 1fr auto;
  min-height: clamp(31rem, 78vh, 46rem);
  padding-block: clamp(2.25rem, 5vw, 3.5rem) 0;
}
.hero__glow {
  position: absolute; inset: -30% -10% auto -10%; height: 130%;
  background:
    radial-gradient(38rem 30rem at 12% 18%, rgba(8,101,178,.48), transparent 62%),
    radial-gradient(34rem 28rem at 76% 8%, rgba(147,39,143,.36), transparent 60%),
    radial-gradient(30rem 26rem at 58% 92%, rgba(243,111,33,.28), transparent 62%);
  filter: blur(6px);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to   { transform: translate3d(3%, -3%, 0) scale(1.08); }
}
.hero__inner { position: relative; z-index: 2; }
/* No width here: .shell already computes its own width from the gutter, and
   setting width:100% wipes out the side margin. */
.hero--feature .hero__inner { align-self: center; padding-block: 1.25rem; }
/* Tighter rhythm than the stock hero. The photograph costs vertical room, and
   the three CTAs have to stay reachable without scrolling on a laptop. */
.hero--feature .hero__eyebrow { margin-bottom: 1.1rem; }
.hero--feature .hero__lede { margin-top: 1.5rem; max-width: 54ch; }
.hero--feature .hero__cta { margin-top: 1.9rem; }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.hero--feature .hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 54rem; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); align-items: center; }
}
.hero__eyebrow { color: var(--gold-light); margin-bottom: 1.6rem; }
.hero__title {
  font-size: var(--step-5); color: var(--white); line-height: .96;
  letter-spacing: -.035em; text-wrap: balance;
}
.hero__title .w { display: block; overflow: hidden; }
.hero__title .w > span {
  display: block; transform: translateY(105%);
  animation: riseUp .95s var(--ease) forwards;
  animation-delay: calc(var(--i) * 110ms + 180ms);
}
@keyframes riseUp { to { transform: translateY(0); } }
.t-blue   { color: var(--blue-light); }
.t-lilac  { color: var(--lilac-light); }
.t-orange { color: var(--orange-light); }
.t-gold   { color: var(--gold-light); font-style: italic; }

.fade-seq { opacity: 0; animation: fadeUp .9s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 420ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__lede { max-width: 46ch; margin-top: 2rem; font-size: var(--step-1); color: #D7DEEA; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }

.hero__panel { display: grid; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); overflow: hidden; }
.hero__panel-head {
  background: var(--ink-2); padding: 1rem 1.2rem;
  font-size: var(--step--2); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 600;
}
.cause-row {
  background: var(--ink-2); padding: 1.15rem 1.2rem;
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center;
  text-decoration: none; color: #C9D2E1; position: relative; overflow: hidden;
  transition: color .3s var(--ease);
}
.cause-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--c); transform: scaleY(.28); transform-origin: top;
  transition: transform .45s var(--ease);
}
.cause-row::after {
  content: ""; position: absolute; inset: 0; background: var(--c); opacity: 0;
  transition: opacity .4s var(--ease); z-index: -1;
}
.cause-row:hover::before { transform: scaleY(1); }
.cause-row:hover { color: #fff; background: color-mix(in srgb, var(--c) 22%, var(--ink-2)); }
.cause-row__k {
  font-family: var(--display); font-size: var(--step--1); color: var(--c); font-variant-numeric: tabular-nums;
}
.cause-row__t { font-weight: 600; font-size: var(--step--1); letter-spacing: .04em; line-height: 1.35; }
.cause-row__s { font-size: var(--step--2); color: #8E9AAC; letter-spacing: .05em; text-transform: uppercase; }

.hero__marquee {
  margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14); overflow: hidden; position: relative; z-index: 2;
}
.marquee__track {
  display: flex; gap: 3rem; padding: .9rem 0; width: max-content;
  animation: slide 38s linear infinite;
  font-size: var(--step--2); letter-spacing: .22em; text-transform: uppercase; color: #8E9AAC;
}
.marquee__track span { display: flex; align-items: center; gap: 3rem; white-space: nowrap; }
.marquee__track b { color: var(--gold-light); font-weight: 600; }
@keyframes slide { to { transform: translateX(-50%); } }
.hero__marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- 9. Page header (interior pages) ---------- */
.pagehead {
  position: relative; overflow: hidden; background: var(--ink); color: #B9C3D4;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
}
.pagehead__inner { position: relative; z-index: 2; }
.pagehead h1 { color: var(--white); font-size: var(--step-4); max-width: 18ch; text-wrap: balance; }
.pagehead .lede { max-width: 58ch; margin-top: 1.4rem; color: #D7DEEA; }
.crumbs {
  display: flex; gap: .55rem; align-items: center; flex-wrap: wrap;
  font-size: var(--step--2); letter-spacing: .14em; text-transform: uppercase; color: #8E9AAC;
  margin-bottom: 1.6rem;
}
.crumbs a { text-decoration: none; color: var(--gold-light); }
.crumbs a:hover { text-decoration: underline; }

/* ---------- 10. Cause panels ---------- */
.causes { display: grid; gap: 1.25rem; }
@media (min-width: 880px) { .causes { grid-template-columns: repeat(3, 1fr); } }
.cause {
  --c: var(--blue); --c-deep: var(--blue-deep); --c-soft: var(--blue-soft);
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--r-lg);
  display: flex; flex-direction: column; min-height: 22rem;
  text-decoration: none; color: inherit;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.cause--lilac  { --c: var(--lilac);  --c-deep: var(--lilac-deep);  --c-soft: var(--lilac-soft); }
.cause--orange { --c: var(--orange); --c-deep: var(--orange-deep); --c-soft: var(--orange-soft); }
.cause::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c); z-index: 3;
}
.cause::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(170deg, var(--c-soft), transparent 62%);
  opacity: 0; transition: opacity .55s var(--ease);
}
.cause:hover { transform: translateY(-7px); border-color: var(--c); box-shadow: 0 28px 50px -34px color-mix(in srgb, var(--c) 70%, transparent); }
.cause:hover::after { opacity: 1; }
.cause__index {
  font-family: var(--display); font-size: var(--step--1); color: var(--c-deep);
  letter-spacing: .12em; margin-bottom: 1.4rem; display: flex; align-items: center; gap: .6rem;
}
.cause__index::after { content: ""; height: 1px; flex: 1; background: color-mix(in srgb, var(--c) 45%, transparent); }
.cause__glyph svg { width: 100%; height: 100%; }
.cause__glyph { width: 46px; height: 46px; margin-bottom: 1.2rem; color: var(--c); }
.cause h3 { font-size: var(--step-2); color: var(--ink); text-wrap: balance; }
.cause__pt {
  font-size: var(--step--2); letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-deep); font-weight: 600; margin-top: .6rem;
}
.cause p { margin-top: 1rem; font-size: var(--step--1); }
.cause__more {
  margin-top: auto; padding-top: 1.6rem;
  font-size: var(--step--2); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-deep);
  display: flex; align-items: center; gap: .55rem;
}
.cause:hover .cause__more svg { transform: translateX(5px); }
.cause__more svg { transition: transform .35s var(--ease); }

/* ---------- 11. Pillars ---------- */
.pillars { display: grid; gap: 0; border-top: 2px solid var(--ink); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  padding: 2rem 1.6rem 2.4rem; border-bottom: 1px solid var(--paper-3); position: relative;
  transition: background .4s var(--ease);
}
@media (min-width: 760px) { .pillar + .pillar { border-left: 1px solid var(--paper-3); } }
.pillar:hover { background: var(--white); }
.pillar::before {
  content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar__n { font-family: var(--display); font-size: var(--step--1); color: var(--gold); letter-spacing: .12em; }
.pillar svg { width: 34px; height: 34px; color: var(--ink); margin: 1.2rem 0 1rem; }
.pillar h3 { font-size: var(--step-1); }
.pillar p { font-size: var(--step--1); margin-top: .7rem; }

/* ---------- 12. Program cards ---------- */
.programs { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .programs { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--paper-3);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--ink-3); box-shadow: 0 26px 46px -34px rgba(11,18,32,.55); }
.card__visual {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: var(--paper-2); display: grid; place-items: center;
}
.card__visual svg { width: 100%; height: 100%; }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: var(--step-1); }
.card p { font-size: var(--step--1); margin-top: .7rem; }
.card__meta {
  margin-top: auto; padding-top: 1.2rem; border-top: var(--rule);
  font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase; color: var(--body-dim);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.card__meta b { color: var(--ink); font-weight: 600; }

.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--step--2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .32rem .7rem; border: 1px solid currentColor; border-radius: var(--r-pill);
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.tag--blue   { color: var(--blue-deep); }
.tag--lilac  { color: var(--lilac-deep); }
.tag--orange { color: var(--orange-deep); }
.tag--gold   { color: var(--gold); }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Filter bar, the active state must read without relying on hover */
[data-filter-bar] button[aria-pressed="true"],
[data-filter-bar] button[aria-pressed="true"]:hover,
[data-filter-bar] button[aria-pressed="true"]:focus-visible {
  background: var(--ink); color: var(--white); border-color: var(--ink);
}
[data-filter-bar] button[aria-pressed="true"]::before { transform: translateY(101%); }

/* ---------- 13. Split / presence ---------- */
.split { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, 1fr); } }
.locale {
  position: relative; overflow: hidden; background: var(--white);
  border: 1px solid var(--paper-3); border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.locale__flagstrip { position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--c, var(--blue)); }
.locale__code {
  font-family: var(--display); font-size: clamp(3.4rem, 8vw, 5.4rem); line-height: .85;
  color: var(--paper-3); letter-spacing: -.04em;
}
.locale h3 { font-size: var(--step-2); }
.locale ul { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: var(--step--1); }
.locale li { display: flex; gap: .65rem; align-items: baseline; }
.locale li::before { content: ""; width: 6px; height: 6px; background: var(--c, var(--blue)); flex: none; transform: translateY(-2px); }

/* ---------- 13b. Home spotlight: training + e-books ---------- */
.spotlight { background: var(--paper); }
.spotlight__grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .spotlight__grid { grid-template-columns: repeat(2, 1fr); } }
.spot {
  --c-light: var(--blue-light);
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; overflow: hidden;
  color: #D6E2F0; border-radius: var(--r-lg);
  background: linear-gradient(150deg, #032B4E 0%, var(--blue-deep) 42%, var(--blue) 100%);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* Soft glow in the top corner, so the gradient reads as light rather than a flat ramp */
.spot::after {
  content: ""; position: absolute; z-index: -1; inset: -30% -20% auto auto;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(141,216,248,.28), transparent 65%);
  pointer-events: none;
}
.spot--gold {
  --c-light: var(--gold-light);
  color: #E4DCCB;
  background: linear-gradient(150deg, var(--ink) 0%, #2A2112 50%, #6E5114 100%);
}
.spot--gold::after { background: radial-gradient(circle, rgba(224,184,78,.26), transparent 65%); }
.spot:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(11,18,32,.6); }
.spot__top {
  position: relative; color: var(--white);
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.6rem, 3.5vw, 2.6rem) clamp(1.2rem, 2.5vw, 1.8rem);
  border-bottom: 1px solid rgba(255,255,255,.14);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .6rem 1rem;
}
.spot__tag {
  grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--step--2); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-light);
}
.spot__big {
  font-family: var(--display); font-size: clamp(2.6rem, 5.5vw, 3.8rem); line-height: .9;
  letter-spacing: -.03em; color: var(--white); font-style: italic;
}
.spot__langs { list-style: none; padding: 0; display: flex; gap: .35rem; }
.spot__langs li {
  font-size: var(--step--2); font-weight: 600; letter-spacing: .12em;
  padding: .3rem .6rem; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.35); color: var(--white);
}
.spot__body {
  flex: 1; display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.spot__body h3 { font-size: var(--step-2); color: var(--white); }
.spot__list { list-style: none; padding: 0; display: grid; gap: .5rem; font-size: var(--step--1); }
.spot__list li { display: flex; gap: .65rem; align-items: baseline; }
.spot__list li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--c-light); flex: none; transform: translateY(-2px); }
.spot__motto { font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--c-light); margin-top: auto; padding-top: .4rem; }
.spot .btn { align-self: flex-start; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--blue-deep); }
@media (max-width: 480px) { .spot .btn { align-self: stretch; } }

/* ---------- 14. Human X band ---------- */
.humanx {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, #0B1220 0%, #16203a 48%, #2a1c3d 100%);
  color: #C4CDDC;
}
.humanx__x {
  position: absolute; right: -4%; top: 50%; translate: 0 -50%;
  font-family: var(--display); font-size: clamp(16rem, 40vw, 34rem); line-height: .7;
  color: rgba(255,255,255,.035); font-style: italic; pointer-events: none; user-select: none;
}
.humanx__inner { position: relative; z-index: 2; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 950px) { .humanx__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 4rem; } }
.humanx h2 { font-size: var(--step-3); color: #fff; }
.humanx__badge {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem;
  border: 1px solid rgba(224,184,78,.5); color: var(--gold-light); border-radius: var(--r-pill);
  padding: .45rem 1rem; font-size: var(--step--2); letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
}

/* ---------- 15. Impact ---------- */
.stats { display: grid; gap: 1px; background: var(--paper-3); border: 1px solid var(--paper-3); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); padding: 2rem 1.5rem; transition: background .4s var(--ease); }
.stat:hover { background: var(--white); }
.stat__v {
  font-family: var(--display); font-size: var(--step-4); line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.stat__v small { font-size: .45em; color: var(--gold); vertical-align: super; }
.stat__l { margin-top: .8rem; font-size: var(--step--1); line-height: 1.4; }
.stat__src svg { flex: none; }
.stat__src {
  margin-top: .9rem; font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase;
  color: var(--body-dim); display: flex; align-items: center; gap: .4rem;
}
.notice {
  margin-top: 1.25rem; display: flex; gap: .8rem; align-items: flex-start;
  background: #FFF8E6; border-left: 4px solid var(--gold); border-radius: var(--r-md);
  padding: 1rem 1.2rem; font-size: var(--step--1); color: #6B5A25;
}
.notice svg { flex: none; width: 20px; height: 20px; margin-top: .15rem; }
.notice--ink { background: rgba(224,184,78,.09); color: #D9C79A; }

/* ---------- 16. Donation cards ---------- */
.donate-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .donate-grid { grid-template-columns: repeat(2, 1fr); } }
.donate {
  --c: var(--blue);
  background: var(--white); border: 1px solid var(--paper-3); border-top: 6px solid var(--c);
  border-radius: var(--r-lg); overflow: hidden;
  padding: clamp(1.7rem, 3.2vw, 2.6rem); display: flex; flex-direction: column; gap: 1.2rem;
}
.donate--br { --c: var(--orange); }
.donate__flag {
  font-size: var(--step--2); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--c);
  display: flex; align-items: center; gap: .6rem;
}
.donate__entity {
  background: var(--paper-2); border: 1px dashed var(--paper-3); border-radius: var(--r-md);
  padding: .9rem 1rem; font-size: var(--step--1);
}
.donate__entity b { color: var(--ink); display: block; font-size: var(--step-0); font-family: var(--display); }
.qr-slot {
  aspect-ratio: 1; width: min(230px, 100%); background: var(--white);
  border: 2px dashed var(--paper-3); border-radius: var(--r-md);
  display: grid; place-content: center; gap: .5rem;
  text-align: center; padding: 1rem; color: var(--body-dim);
  font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase;
}
.qr-slot svg { width: 44px; height: 44px; margin-inline: auto; color: var(--paper-3); }
.methods { list-style: none; padding: 0; display: grid; gap: .5rem; font-size: var(--step--1); }
.methods li { display: flex; gap: .6rem; align-items: center; padding: .6rem .85rem; background: var(--paper); border-left: 3px solid var(--c); border-radius: 0 var(--r-xs) var(--r-xs) 0; }
.pix-key {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  background: var(--ink); color: #fff; padding: .9rem 1.1rem; font-size: var(--step--1);
  border-radius: var(--r-md);
}
.pix-key code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .85em; color: var(--gold-light); word-break: break-all; }
.copy-btn {
  margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: .35rem .8rem; font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; border-radius: var(--r-pill);
  transition: background .25s, color .25s;
}
.copy-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- 17. Support / help strip ---------- */
.support {
  background: linear-gradient(140deg, var(--lilac-deep), #2c1a52 65%, var(--ink));
  color: #D6CCEC; position: relative; overflow: hidden;
}
.support__inner { position: relative; z-index: 2; display: grid; gap: 2rem; }
@media (min-width: 900px) { .support__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; } }
.support h2 { color: #fff; }
.safety-list { list-style: none; padding: 0; display: grid; gap: .9rem; }
.safety-list li {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md);
  padding: 1rem 1.15rem; font-size: var(--step--1);
}
.safety-list svg { width: 20px; height: 20px; color: var(--gold-light); margin-top: .15rem; }

/* ---------- 18. Accordion / template list ---------- */
.accordion { border-top: 1px solid var(--paper-3); }
.acc { border-bottom: 1px solid var(--paper-3); }
.acc__btn {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center;
  padding: 1.35rem .25rem;
  font-family: var(--display); font-size: var(--step-1); color: var(--ink);
  transition: color .3s, padding-left .3s var(--ease);
}
.acc__btn:hover { color: var(--gold); padding-left: .7rem; }
.acc__btn i { font-style: normal; font-size: var(--step--1); color: var(--gold); font-variant-numeric: tabular-nums; }
.acc__btn .chev { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.acc__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }
.acc__panel p, .acc__panel ul { padding-bottom: 1.4rem; font-size: var(--step--1); max-width: 76ch; }
.acc__panel ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; }

/* ---------- 19. Checklist ---------- */
.checklist { display: grid; gap: .5rem; list-style: none; padding: 0; }
@media (min-width: 760px) { .checklist { grid-template-columns: repeat(2, 1fr); } }
.checklist li {
  display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center;
  background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--r-md);
  padding: .85rem 1.1rem; font-size: var(--step--1);
}
.checklist li svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- 20. Contact form ---------- */
.form { display: grid; gap: 1rem; }
@media (min-width: 720px) { .form { grid-template-columns: repeat(2, 1fr); } }
/* align-content:start keeps an input its natural height when the field beside it
   is taller because it carries a hint line. */
.field { display: grid; gap: .4rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--step--2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--r-xs);
  padding: .85rem 1rem; font-size: var(--step--1); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183,139,34,.16);
}
.field small { font-size: var(--step--2); color: var(--body-dim); }
.form__note { grid-column: 1 / -1; }

/* ---------- 21. Footer ---------- */
.footer { background: var(--ink); color: #94A0B3; padding-block: clamp(3rem, 6vw, 5rem) 2rem; position: relative; }
.footer__top { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.footer h4 {
  font-family: var(--sans); font-size: var(--step--2); font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: var(--step--1); }
.footer ul, .footer__top > div { min-width: 0; }
.footer a[href^="mailto:"] { overflow-wrap: anywhere; }
/* Contact shows a name, not the raw address: the addresses are too long for the
   column. The address stays in the href and in the title tooltip. */
.footer__mail { display: inline-flex; align-items: center; gap: .55rem; }
.footer__mail svg { width: 16px; height: 16px; flex: none; }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--gold-light); }
.footer__brand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.2rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #8E9AAC; }
/* Two columns: the copyright on the left, the developer's mark alone on the
   right. On a phone they stack and centre. */
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between; align-items: center;
  font-size: var(--step--2); letter-spacing: .05em;
}
@media (max-width: 680px) {
  .footer__bottom { flex-direction: column; justify-content: center; text-align: center; }
}
.socials { display: flex; gap: .5rem; margin-top: 1.4rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-content: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); transition: background .3s, color .3s, border-color .3s;
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; }

/* ---------- 22. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 80ms); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 23. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; translate: -50% 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .85rem 1.3rem; font-size: var(--step--1);
  border-left: 4px solid var(--gold); border-radius: var(--r-md);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }

/* ---------- 24. 404 ---------- */
.notfound { min-height: 68vh; display: grid; place-content: center; text-align: center; gap: 1.5rem; padding-block: 4rem; }
.notfound__code {
  font-family: var(--display); font-size: clamp(6rem, 22vw, 15rem); line-height: .8; letter-spacing: -.05em;
  background: linear-gradient(100deg, var(--blue), var(--lilac) 52%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 25. Prose ---------- */
.prose { max-width: 70ch; display: grid; gap: 1.1rem; }
.prose h3 { margin-top: 1.2rem; }
.prose p { font-size: var(--step-0); }
.prose ul { padding-left: 1.2rem; display: grid; gap: .5rem; }

/* ==========================================================================
   26. Brand logo, the official mark (assets/img/logo-hjf.png)
   ========================================================================== */
.brand__logo { height: 56px; width: auto; flex: none; }
.footer__brand .brand__logo { height: 66px; }
.drawer__logo { height: 58px; width: auto; }
@media (max-width: 520px) { .brand__logo { height: 44px; } }

/* ==========================================================================
   27. Photography
   ========================================================================== */
.card__visual { aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); }
.card__visual img,
.cause__media img,
.figure img { width: 100%; height: 100%; object-fit: cover; }
.card__visual img { transition: transform .9s var(--ease); }
.card:hover .card__visual img { transform: scale(1.06); }

/* Cause card, photographic version */
.cause { padding: 0; }
.cause__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cause__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--c) 72%, transparent) 0%, transparent 62%);
  mix-blend-mode: multiply;
}
.cause__media img { transition: transform .9s var(--ease); }
.cause:hover .cause__media img { transform: scale(1.05); }
.cause__badge {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.93); color: var(--c-deep);
  border-radius: var(--r-pill); padding: .4rem .85rem;
  font-size: var(--step--2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.cause__badge > span:first-child { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.cause__body { padding: clamp(1.4rem, 2.6vw, 2rem); display: flex; flex-direction: column; flex: 1; }

/* Generic rounded figure */
.figure {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--paper-3); background: var(--paper-2);
}
.figure--circle { border-radius: 50%; border: 0; }
.figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.2rem .9rem;
  background: linear-gradient(to top, rgba(11,18,32,.82), transparent);
  color: #fff; font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase;
}

/* Hero portrait, the official "helping hands" photograph */
/* ---------- Hero feature photograph ----------
   The photograph is light in its top left corner, exactly where the headline
   sits, so the scrim below is load bearing, not decoration. Do not thin it
   without re-checking the contrast of .hero__lede against the bright sky. */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg-img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 68% 38%;
  filter: contrast(1.06) brightness(.94);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(104deg,
      var(--ink) 0%,
      rgba(11,18,32,.95) 30%,
      rgba(11,18,32,.72) 54%,
      rgba(11,18,32,.34) 82%,
      rgba(11,18,32,.28) 100%),
    linear-gradient(180deg,
      rgba(11,18,32,.66) 0%,
      rgba(11,18,32,.10) 28%,
      rgba(11,18,32,.20) 62%,
      var(--ink) 100%);
}
/* Below the two column breakpoint the text sits on top of the whole frame, so
   the veil turns vertical and heavier. */
@media (max-width: 999px) {
  .hero__bg-img { object-position: 70% 30%; }
  /* The mobile crop is a close-up of the clasped hands and it is light, so the
     veil stays under .80. Measured against the brightest knuckle highlight the
     lede still clears 5:1. Going heavier flattens the photograph to nothing. */
  .hero__bg::after {
    background:
      linear-gradient(180deg,
        rgba(11,18,32,.80) 0%,
        rgba(11,18,32,.66) 40%,
        rgba(11,18,32,.74) 70%,
        var(--ink) 100%);
  }
}
/* The photograph already carries the frame, so the colour wash recedes to a
   tint. The causes still read: they are spelled out in the headline itself. */
.hero--feature .hero__glow { opacity: .42; mix-blend-mode: screen; }

.hero__credit {
  position: relative; z-index: 2; max-width: 30ch; margin-top: clamp(1.8rem, 4vw, 2.6rem);
  padding-left: 1.1rem; border-left: 2px solid var(--gold-light);
  font-size: var(--step--2); letter-spacing: .16em; text-transform: uppercase; color: #C2CCDC;
}
/* Wide enough for the text column to leave a margin: the line moves out beside
   the photograph, which keeps the three hero CTAs above the fold. */
@media (min-width: 1200px) {
  .hero__credit {
    position: absolute; right: 0; margin-top: 0;
    /* 1.25rem clears .hero__inner's own padding, so the line sits on the same
       bottom edge as the CTA row instead of hanging past it. */
    bottom: 1.25rem;
    width: 17rem; max-width: none; text-wrap: balance;
  }
}

/* ==========================================================================
   28. Donation, real QR codes and payment marks
   ========================================================================== */
.qr-real {
  /* The white frame IS the quiet zone the brief requires, do not remove it. */
  background: #fff; padding: 14px; border-radius: var(--r-md);
  width: min(230px, 100%); border: 1px solid var(--paper-3);
}
.qr-real img { width: 100%; aspect-ratio: 1; object-fit: contain; }
/* Every U.S. donation route is published as a QR code, not a wordmark.
   Each tile keeps its own white quiet zone and names its provider. */
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.qr-tile {
  margin: 0; background: #fff; border: 1px solid var(--paper-3);
  border-radius: var(--r-md); padding: 12px; text-align: center;
}
.qr-tile img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.qr-tile figcaption, .qr-tile__cap {
  display: block; margin-top: .55rem; font-size: var(--step--2); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
/* Tiles that are links open the provider on a phone, where nobody can scan
   their own screen. */
a.qr-tile { display: block; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
a.qr-tile:hover, a.qr-tile:focus-visible { border-color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
/* Zelle's code is dense (a long URL), so it gets the full row to stay scannable. */
.qr-tile--wide { grid-column: 1 / -1; }
.qr-tile--wide img { width: min(260px, 100%); margin-inline: auto; }
.qr-tile--solo { width: min(230px, 100%); }
.qr-tile__handle {
  display: block; margin-top: .25rem; font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--body-dim);
}
.pay-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 400px) { .pay-links { grid-template-columns: 1fr; } }
.seal { height: 74px; width: auto; }

/* ==========================================================================
   29. Press & community strip
   ========================================================================== */
.press-strip {
  display: grid; gap: .8rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.press-strip img {
  aspect-ratio: 1; width: 100%; object-fit: cover;
  border-radius: var(--r-md); border: 1px solid var(--paper-3);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.press-strip img:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 34px -24px rgba(11,18,32,.6); }

/* ==========================================================================
   30. Side-by-side media + text
   ========================================================================== */
.media-split { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .media-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 900px) { .media-split--rev > :first-child { order: 2; } }

/* ==========================================================================
   31. Developer credit
   ========================================================================== */
/* The mark stands on its own now; its meaning lives in the link's aria-label. */
.dev-credit {
  display: inline-flex; align-items: center; flex: none;
  text-decoration: none; opacity: .62;
  transition: opacity .3s var(--ease);
}
.dev-credit:hover, .dev-credit:focus-visible { opacity: 1; }
.dev-credit img { height: 19px; width: auto; display: block; }

/* ==========================================================================
   32. Pull quote
   ========================================================================== */
.pullquote { max-width: 46ch; margin-inline: auto; text-align: center; display: grid; gap: 1.6rem; justify-items: center; }
.pullquote blockquote {
  margin: 0; font-family: var(--display); font-size: var(--step-2);
  line-height: 1.28; color: var(--ink); font-style: italic; letter-spacing: -.015em;
}
.section--ink .pullquote blockquote { color: #fff; }
.pullquote cite {
  font-style: normal; font-size: var(--step--2); font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.pullquote__mark {
  font-family: var(--display); font-size: 4rem; line-height: .6; color: var(--gold); opacity: .5;
}

/* ==========================================================================
   33. People
   ========================================================================== */
.people { display: grid; gap: 1.5rem; }
@media (min-width: 760px)  { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .people { grid-template-columns: repeat(4, 1fr); } }
.people--lead { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .people--lead { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 4vw, 3.5rem); } }

.person {
  background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -34px rgba(11,18,32,.5); }
/* The frame is sized by aspect-ratio, so the image is positioned against it
   rather than given a percentage height, which Chrome fails to paint here. */
.person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); position: relative; }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.person__name { font-family: var(--display); font-size: var(--step-1); color: var(--ink); line-height: 1.15; }
.person__role {
  font-size: var(--step--2); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--lilac);
}
.person__bio { font-size: var(--step--1); margin-top: .4rem; }

/* Placeholder used where no authorised photograph exists yet */
.person__photo--empty {
  display: grid; place-content: center; gap: .7rem; text-align: center; padding: 1rem;
  background:
    repeating-linear-gradient(45deg, var(--paper-2) 0 10px, var(--paper) 10px 20px);
}
.person__photo--empty svg { width: 54px; height: 54px; color: var(--paper-3); margin-inline: auto; }
.person__photo--empty span {
  font-size: var(--step--2); letter-spacing: .14em; text-transform: uppercase; color: var(--body-dim);
}

/* The founder block, photograph beside the biography */
.lead-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--paper-3); aspect-ratio: 4 / 5; background: var(--paper-2);
}
.lead-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }

/* ==========================================================================
   34. Logo walls (sponsors, partners, cooperation)
   ========================================================================== */
.logo-wall { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.logo-wall--lg { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.logo-tile {
  background: var(--tile-bg, var(--white)); border: 1px solid var(--paper-3); border-radius: var(--r-md);
  aspect-ratio: 1; display: grid; place-items: center; padding: 1rem; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.logo-tile:hover { transform: translateY(-4px); border-color: var(--ink-3); box-shadow: 0 18px 34px -26px rgba(11,18,32,.5); }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
/* A mark drawn in white needs a dark tile to be legible at all. */
.logo-tile--dark { --tile-bg: var(--ink); border-color: var(--ink); }

/* ==========================================================================
   35. Certificates and awards
   ========================================================================== */
.certs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.cert {
  margin: 0; background: var(--white); border: 1px solid var(--paper-3);
  border-radius: var(--r-lg); padding: 1rem; display: grid; gap: .8rem;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.cert:hover { transform: translateY(-5px); box-shadow: 0 24px 42px -32px rgba(11,18,32,.55); }
.cert img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain;
  background: var(--paper-2); border-radius: var(--r-xs);
}
.cert figcaption { font-size: var(--step--2); line-height: 1.45; color: var(--body); }
.cert figcaption b { display: block; color: var(--ink); font-family: var(--display); font-size: var(--step-0); margin-bottom: .2rem; }

/* ==========================================================================
   36. Statements
   ========================================================================== */
.statements { display: grid; gap: 1.1rem; }
@media (min-width: 760px)  { .statements { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .statements { grid-template-columns: repeat(3, 1fr); } }
.statement {
  margin: 0; background: var(--white); border: 1px solid var(--paper-3);
  border-radius: var(--r-lg); padding: 1.5rem 1.6rem;
  display: flex; flex-direction: column; gap: 1rem; position: relative;
  border-top: 4px solid var(--c, var(--blue));
}
.statement p { font-size: var(--step--1); line-height: 1.6; }
.statement footer { margin-top: auto; padding-top: .9rem; border-top: var(--rule); }
.statement footer b { display: block; font-family: var(--display); font-size: var(--step-0); color: var(--ink); }
.statement footer span { font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase; color: var(--body-dim); }

/* ==========================================================================
   37. Lightbox
   ========================================================================== */
.cert { /* the certificate is a button now, so it needs the button reset */
  appearance: none; font: inherit; color: inherit; text-align: left;
  width: 100%; border: 1px solid var(--paper-3); cursor: zoom-in;
}
.cert__cap { display: grid; gap: .2rem; font-size: var(--step--2); line-height: 1.45; color: var(--body); }
.cert__cap b { color: var(--ink); font-family: var(--display); font-size: var(--step-0); font-weight: 500; }
.cert__zoom {
  position: absolute; right: 1.4rem; top: 1.4rem; z-index: 2;
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(11,18,32,.72); color: #fff;
  opacity: 0; transform: scale(.85); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cert { position: relative; }
.cert:hover .cert__zoom, .cert:focus-visible .cert__zoom { opacity: 1; transform: scale(1); }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8, 12, 22, .94);
  /* flex, not grid: a 1fr grid track gives the image an indefinite height
     to measure max-height against, and it overflows the viewport. */
  display: flex; flex-direction: column;
  padding: clamp(3.5rem, 7vw, 5rem) clamp(1rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox__stage { position: relative; flex: 1 1 auto; min-height: 0; }
.lightbox__img {
  /* Absolutely positioned so max-height resolves against a definite box.
     As a grid or flex item the percentage is circular and Chrome drops it. */
  position: absolute; inset: 0; margin: auto;
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: var(--r-md);
  background: #fff; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9);
  opacity: 0; transform: scale(.97);
  animation: lbIn .45s var(--ease) forwards;
}
@keyframes lbIn { to { opacity: 1; transform: none; } }
.lightbox__caption {
  margin-top: 1.4rem; text-align: center; color: #C9D2E1;
  display: grid; gap: .3rem; justify-items: center;
}
.lightbox__caption b { color: #fff; font-family: var(--display); font-size: var(--step-1); font-weight: 500; }
.lightbox__caption span { font-size: var(--step--1); max-width: 60ch; }
.lightbox__count {
  font-size: var(--step--2); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-light); margin-top: .4rem;
}

.lightbox button {
  position: absolute; background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.lightbox button:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lightbox button:active { transform: scale(.94); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 4vw, 3rem); }
.lightbox__prev { left: clamp(.5rem, 2vw, 2rem); top: 50%; translate: 0 -50%; }
.lightbox__next { right: clamp(.5rem, 2vw, 2rem); top: 50%; translate: 0 -50%; }
@media (max-width: 620px) {
  .lightbox__prev { left: 50%; translate: -120% 0; top: auto; bottom: 1rem; }
  .lightbox__next { right: 50%; translate: 120% 0; top: auto; bottom: 1rem; }
  .lightbox { padding-bottom: 5rem; }
}
.lightbox svg { width: 20px; height: 20px; }
body.has-lightbox { overflow: hidden; }

/* ==========================================================================
   38. Logo tiles that link out
   ========================================================================== */
a.logo-tile { text-decoration: none; position: relative; }
a.logo-tile::after {
  content: ""; position: absolute; right: .55rem; top: .55rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M5 11L11 5M11 5H6M11 5v5' stroke='white' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat;
  opacity: 0; transform: scale(.7); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
a.logo-tile:hover::after, a.logo-tile:focus-visible::after { opacity: 1; transform: scale(1); }

/* ==========================================================================
   39. Program pages (program-*.html)
   One page per program. The ten fields of brief section 9 are the skeleton of
   this layout, never its labels: the reader meets an editorial record, not a
   filled-in form.
   ========================================================================== */
.progintro { display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
@media (min-width: 920px) {
  .progintro { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
}
.progintro__media img,
.progintro__media svg {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-lg); display: block;
}
.progintro__text { display: grid; gap: 1.1rem; max-width: 62ch; }
.progintro__official {
  font-size: var(--step--2); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
}
.progintro__lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.progintro__meta {
  margin-top: .6rem; padding-top: 1.1rem; border-top: 1px solid var(--paper-3);
  font-size: var(--step--2); letter-spacing: .16em; text-transform: uppercase;
  color: var(--body-dim);
}

.progpanels { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .progpanels { grid-template-columns: 1fr 1fr; } }
.progpanel {
  background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; gap: .9rem; align-content: start;
}
.progpanel h3 { font-size: var(--step-1); }
.progpanel__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }

/* Four columns at most: the two real galleries hold 7 and 8 frames, which read
   as 4+3 and 4+4 instead of one long row plus an orphan. */
.proggallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px)  { .proggallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .proggallery { grid-template-columns: repeat(4, 1fr); } }
/* A button, not a figure: it opens the same lightbox the certificates use. */
.proggallery__item {
  margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in;
  display: block; position: relative; border-radius: var(--r-md); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.proggallery__item img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.proggallery__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(11,18,32,.42));
  opacity: 0; transition: opacity .4s var(--ease);
}
.proggallery__item:hover,
.proggallery__item:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(11,18,32,.6); }
.proggallery__item:hover img,
.proggallery__item:focus-visible img { transform: scale(1.05); }
.proggallery__item:hover::after,
.proggallery__item:focus-visible::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .proggallery__item:hover img, .proggallery__item:focus-visible img { transform: none; }
}

.progclose { position: relative; z-index: 2; display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 900px) { .progclose { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; } }
.progclose h2 { color: var(--white); }
.progclose p { margin-top: .7rem; max-width: 52ch; }
.progclose__addr {
  margin-top: .9rem; font-size: var(--step--1); color: var(--gold-light);
  overflow-wrap: anywhere;
}
.progclose__links { display: flex; flex-wrap: wrap; gap: .7rem; }
/* A long unbroken string in a button used to push the page wider than the
   viewport on a phone. Buttons never exceed their column now. */
.progclose__links .btn { max-width: 100%; overflow-wrap: anywhere; }

/* ==========================================================================
   40. Urgent-numbers block beside the victim support form
   ========================================================================== */
.support-urgent {
  background: var(--white); border: 1px solid var(--paper-3);
  border-left: 6px solid #B4231F; border-radius: var(--r-lg);
  padding: 1.3rem 1.5rem;
}
.support-urgent__label {
  font-size: var(--step--2); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #B4231F; margin-bottom: .9rem;
}
.support-urgent ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.support-urgent li {
  display: grid; grid-template-columns: 3.4rem 1fr; align-items: baseline;
  gap: .6rem; font-size: var(--step--1);
}
.support-urgent li b { font-family: var(--display); font-size: var(--step-1); color: var(--ink); }

/* ==========================================================================
   41. Founder biography (about.html#leadership)
   ========================================================================== */
.bio-motto {
  margin-top: 1.6rem; padding-left: 1rem; border-left: 3px solid var(--gold);
  font-family: var(--display); font-size: var(--step-1); font-style: italic; color: var(--ink);
}
.bio-grid { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 760px)  { .bio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bio-grid { grid-template-columns: repeat(3, 1fr); } }
.bio-grid .locale, .split .locale { gap: .9rem; }
.bio-timeline {
  display: grid; grid-template-columns: auto 1fr; gap: .7rem 1.1rem; margin: 0;
  font-size: var(--step--1);
}
.bio-timeline dt {
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: var(--step--2);
  color: var(--c, var(--gold)); padding-top: .15rem; white-space: nowrap;
}
.bio-timeline dd { margin: 0; }

/* Official program creatives: designed pieces with text, so shown whole on a dark
   ground instead of cropped to fill the square. */
.proggallery__item--art { background: var(--ink); }
.proggallery__item--art img { object-fit: contain; padding: .5rem; }
.proggallery__item--art:hover img,
.proggallery__item--art:focus-visible img { transform: scale(1.02); }

/* Human X photographs, sent by the Foundation on 2026-09-28. */
.humanx__gallery { position: relative; z-index: 2; margin-top: clamp(2.5rem, 5vw, 4rem); }

/* EduPrev courses (2026-09-28). */
.course { display: flex; flex-direction: column; }
.course__tag { font-size: var(--step--2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: .6rem; }
.course__list { margin: 1.1rem 0 0; padding-left: 1.3rem; display: grid; gap: .55rem; }
.course__list li { padding-left: .2rem; }
.course__list b { color: var(--ink); }
.course__foot { margin-top: 1.1rem; font-size: var(--step--1); color: var(--ink-3); }
.course .progpanel__cta { margin-top: auto; padding-top: 1.4rem; }
/* Brazil campaign creatives are square designed pieces: shown whole. */
.card__visual--sq { aspect-ratio: 1; }

/* ==========================================================================
   H&J in the media (2026-10-01): media.html, news-*.html and the home cards.
   ========================================================================== */
.card__source {
  align-self: center; font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase;
  color: var(--body-dim); font-weight: 600;
}
.card__cta { display: inline-flex; align-items: center; gap: .45rem; }
.card--news h3 { text-wrap: pretty; }
.card--news p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.media-empty { font-size: var(--step-0); color: var(--body-dim); }

.pagehead--article h1 { font-size: var(--step-3); max-width: 26ch; }
.article-meta {
  margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem;
  font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: #C9D2E1;
}
.article-meta span + span::before { content: "·"; margin-right: 1.2rem; color: var(--gold-light); }

.article { max-width: 760px; margin-inline: auto; display: grid; gap: clamp(1.6rem, 3vw, 2.2rem); }
.article__figure { margin: 0; }
.article__figure img {
  display: block; width: auto; max-width: 100%; height: auto; max-height: 72vh;
  margin-inline: auto; border-radius: var(--r-lg);
}
.article__source { margin: 0; }

.embed { border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.embed iframe { display: block; width: 100%; border: 0; }
.embed--video iframe { aspect-ratio: 16 / 9; height: auto; }
.embed--audio { background: transparent; border-radius: var(--r-md); }
.embed--audio iframe { height: 232px; }
.embed--file video { display: block; width: 100%; max-height: 78vh; background: #000; }
.embed--file audio { display: block; width: 100%; }

.prose { font-size: var(--step-0); line-height: 1.75; color: var(--ink-3); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-1); line-height: 1.3; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: var(--step-0); font-family: var(--display); line-height: 1.35; margin-top: 1.5em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .5em; }
.prose li > ul, .prose li > ol { margin-top: .5em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  margin-inline: 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--gold);
  font-family: var(--display); font-size: var(--step-1); line-height: 1.5; color: var(--ink);
}
.prose a { color: var(--blue); text-underline-offset: .15em; }
.prose figure { margin-inline: 0; }
.prose figure img { display: block; width: auto; max-width: 100%; height: auto; max-height: 78vh; margin-inline: auto; border-radius: var(--r-lg); }
.prose figcaption { margin-top: .7rem; font-size: var(--step--1); line-height: 1.5; color: var(--body-dim); text-align: center; }
.prose .embed { margin-block: 1.6em; }
.prose a:hover { color: var(--blue-deep); }

/* Eight menu items since "In the Media": between 1080 and 1239px the default
   spacing overflows the header, so it tightens there. */
@media (min-width: 1080px) and (max-width: 1239px) {
  .nav { gap: .8rem; }
  .nav a { font-size: .84rem; letter-spacing: 0; }
}
