/* ACCR — Ananda Centre for Cancer Research
   Layout: left-aligned editorial bands on a 1180px measure; indigo bands open
   each page, lilac bands separate topics, magenta is reserved for giving. */

:root {
  --ink: #12163f;          /* deep indigo: text, dark bands */
  --ink-2: #1c2260;
  --blue: #2331c8;         /* logo blue: links, headings accents */
  --magenta: #c41eb5;      /* logo magenta: donate and key actions */
  --magenta-dark: #a01593;
  --lilac: #f4f2fb;        /* tinted band */
  --lilac-2: #e9e5f7;
  --line: #ddd8ee;
  --muted: #565a7c;
  --paper: #ffffff;
  --on-dark: #eef0ff;
  --on-dark-muted: #b9bde6;

  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --measure: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -14px rgba(18, 22, 63, .28);
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem);
  --step-4: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--magenta-dark); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--tint { background: var(--lilac); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #fff; }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack--lg { gap: 2.25rem; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1rem; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: var(--on-dark-muted); }

.eyebrow { font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta-dark); }
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: #f3a6ec; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--magenta); color: #fff; }
.btn--primary:hover { background: var(--magenta-dark); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn--ghost, .section--dark .btn--ghost, .page-hero .btn--ghost, .hero .btn--ghost { color: #fff; }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover, .page-hero .btn--ghost:hover, .hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav-list > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .97rem; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-active { background: var(--lilac); color: var(--blue); }
.nav-link svg { width: 12px; height: 12px; }
.submenu { list-style: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; display: none; }
.has-sub.is-open .submenu, .has-sub:focus-within .submenu { display: block; }
@media (hover: hover) and (min-width: 1041px) { .has-sub:hover .submenu { display: block; } }
.submenu a { display: block; padding: .6rem .8rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.submenu a small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--lilac); color: var(--blue); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 1rem 20px 1.5rem; display: none; flex-direction: column; align-items: stretch; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: .85rem .6rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 .5rem .6rem; min-width: 0; }
  .nav .btn { justify-content: center; margin-top: .75rem; }
}

/* Hero (home) */
.hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60rem 30rem at 85% -10%, rgba(196,30,181,.28), transparent 60%), radial-gradient(40rem 26rem at -10% 110%, rgba(35,49,200,.55), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: #f7b4f1; }
.hero .lead { color: var(--on-dark-muted); }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.hero-badge { position: absolute; left: -14px; bottom: -18px; background: #fff; color: var(--ink); padding: .8rem 1.1rem; border-radius: var(--radius); box-shadow: var(--shadow); font-size: .9rem; line-height: 1.35; max-width: 250px; }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--blue); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-badge { left: 12px; bottom: -22px; } .hero-media { margin-bottom: 1.5rem; } }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(46rem 24rem at 95% 0%, rgba(196,30,181,.25), transparent 60%), radial-gradient(34rem 22rem at 0% 120%, rgba(35,49,200,.5), transparent 60%); pointer-events: none; }
.page-hero .wrap { position: relative; padding-block: clamp(2.75rem, 2rem + 4vw, 5rem); display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-hero.has-media .wrap { grid-template-columns: 1.1fr .9fr; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); }
.page-hero .lead { color: var(--on-dark-muted); }
.page-hero img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.crumbs { font-size: var(--step--1); color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); }
@media (max-width: 860px) { .page-hero.has-media .wrap { grid-template-columns: 1fr; } }

/* Grids and cards */
.grid { display: grid; gap: 1.5rem; }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.split > * { min-width: 0; }
.split--top { align-items: start; }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .split, .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--lilac-2); }
.card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-body p { color: var(--muted); font-size: 1rem; }
.card-body .link-arrow { margin-top: auto; padding-top: .4rem; }
.card--link { transition: transform .18s, box-shadow .18s; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tag { align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--lilac); padding: .25rem .65rem; border-radius: 999px; }

/* Pillars: the four words in ACCR's own strapline */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); margin-top: -3rem; position: relative; z-index: 2; }
.pillar { padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar svg { width: 34px; height: 34px; color: var(--magenta); }
.pillar p { color: var(--muted); font-size: .97rem; line-height: 1.5; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; margin-top: 2rem; } .pillar:nth-child(2) { border-right: 0; } .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillar { border-right: 0; border-bottom: 1px solid var(--line); } .pillar:last-child { border-bottom: 0; } }

/* Feature list */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--lilac); color: var(--blue); display: grid; place-items: center; }
.feature-icon svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); font-size: 1rem; }
.section--dark .feature-icon { background: rgba(255,255,255,.1); color: #f7b4f1; }
.section--dark .feature p { color: var(--on-dark-muted); }

.checklist { list-style: none; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--magenta); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 20a10 10 0 100-20 10 10 0 000 20zm4.7-12.3a1 1 0 00-1.4-1.4L9 10.6 6.7 8.3a1 1 0 00-1.4 1.4l3 3a1 1 0 001.4 0l5-5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 20a10 10 0 100-20 10 10 0 000 20zm4.7-12.3a1 1 0 00-1.4-1.4L9 10.6 6.7 8.3a1 1 0 00-1.4 1.4l3 3a1 1 0 001.4 0l5-5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.section--dark .checklist li::before { background: #f7b4f1; }

/* Statement cards (vision / goal / mission) */
.statement { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; }
.statement p { color: var(--on-dark); font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.values li { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .4rem 1rem; font-weight: 600; font-size: .95rem; }

/* Steps: the Cancer Policy Lab's real four-stage sequence */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; position: relative; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; }
.steps p { color: var(--muted); font-size: .98rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.25rem; }
.facts dt { font-weight: 700; color: var(--blue); }
.facts dd { margin: 0; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; gap: .15rem; } .facts dd { margin-bottom: .7rem; } }

.quote { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); line-height: 1.4; border-left: 4px solid var(--magenta); padding-left: 1.4rem; max-width: 46ch; }

/* Video: thumbnail first, player only on click */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: opacity .2s, transform .4s; }
.video button:hover img { opacity: 1; transform: scale(1.03); }
.video button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 34px no-repeat; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.video button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: .7rem; font-weight: 600; }
.video-caption small { display: block; font-weight: 400; color: var(--muted); }
.section--dark .video-caption small { color: var(--on-dark-muted); }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery button { all: unset; cursor: zoom-in; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--lilac-2); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery--portrait img { aspect-ratio: 3 / 4; object-position: top; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
@media (max-width: 900px) { .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,12,40,.94); display: none; align-items: center; justify-content: center; padding: 3.5rem 1rem 1.5rem; flex-direction: column; gap: .75rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 8rem); object-fit: contain; border-radius: var(--radius-sm); }
.lightbox p { color: #fff; font-size: .95rem; text-align: center; max-width: 70ch; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--magenta); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Activity cards with expandable text */
.activity .card-body p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.activity.is-open .card-body p { display: block; }
.more-btn { all: unset; cursor: pointer; font-weight: 700; color: var(--blue); font-size: .95rem; align-self: flex-start; margin-top: auto; }
.more-btn:hover { color: var(--magenta-dark); }
.more-btn:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
.meta { font-size: .86rem; font-weight: 700; color: var(--magenta-dark); letter-spacing: .03em; }

/* People */
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 20%; background: var(--lilac-2); }
.person-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.person h3 { font-size: 1.2rem; }
.role { color: var(--magenta-dark); font-weight: 700; font-size: .92rem; }
.person p { color: var(--muted); font-size: .98rem; }
.person details { margin-top: auto; }
.person summary { cursor: pointer; font-weight: 700; color: var(--blue); font-size: .95rem; list-style: none; padding-top: .35rem; }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: " +"; }
.person details[open] summary::after { content: " –"; }
.person details p, .person details li { margin-top: .7rem; }
.person details ul { padding-left: 1.2rem; color: var(--muted); font-size: .98rem; }
.person details li { margin-top: .2rem; }
.person--wide { display: grid; grid-template-columns: 240px 1fr; }
.person--wide img { height: 100%; aspect-ratio: auto; min-height: 240px; }
@media (max-width: 700px) { .person--wide { grid-template-columns: 1fr; } .person--wide img { aspect-ratio: 1; height: auto; } }
.email { font-size: .92rem; word-break: break-word; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; align-items: stretch; }
.partners li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; display: grid; place-items: center; min-height: 110px; }
.partners img { max-height: 70px; width: auto; object-fit: contain; }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .partners { grid-template-columns: repeat(2, 1fr); } }

/* Call to action band */
.cta { background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 55%, #47156f 100%); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-muted); margin-top: .6rem; max-width: 54ch; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* Contact */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.contact-card h3 { font-size: 1.1rem; }
.contact-card p, .contact-card address { color: var(--muted); font-style: normal; }
.embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.embed iframe { display: block; width: 100%; border: 0; }
.notice { background: var(--lilac); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }

/* Footer */
.site-footer { background: #0c0f2e; color: var(--on-dark-muted); font-size: .98rem; }
.site-footer .wrap { padding-block: 3.5rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 2.5rem; }
.footer-grid > * { min-width: 0; }
.site-footer h2 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; font-weight: 700; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #f7b4f1; text-decoration: underline; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer address { font-style: normal; }
.footer-brand { display: flex; gap: .8rem; align-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; margin-bottom: 1rem; }
.footer-brand img { width: 58px; height: 58px; background: #fff; border-radius: 12px; padding: 5px; object-fit: contain; }
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--magenta); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .88rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

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

/* Announcement bar */
.announce { background: var(--magenta-dark); color: #fff; font-size: .92rem; text-align: center; margin: 0; }
.announce a { display: block; color: #fff; text-decoration: none; padding: .55rem max(20px, env(safe-area-inset-left, 0px)); }
.announce a span { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.announce a:hover { background: var(--ink-2); color: #fff; }

.btn--sm { padding: .58rem 1.05rem; font-size: .95rem; }
.nav-actions { display: flex; gap: .5rem; margin-left: .5rem; }
.site-header .btn--ghost[aria-current="page"] { background: var(--ink); color: #fff; }
@media (max-width: 1040px) { .nav-actions { margin: .75rem 0 0; } .nav-actions .btn { flex: 1; justify-content: center; } }

/* Headline figures */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(2.5rem, 5vw, 4rem) 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 1.5rem 1.5rem 0 0; }
.stats div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stats dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.stats dd { margin: .5rem 0 0; color: var(--muted); font-size: .98rem; line-height: 1.45; }
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding: 1.25rem 1rem 1.25rem 0; }
  .stats div + div { padding-left: 0; border-left: 0; }
  .stats div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.2rem 1rem 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .75rem; font-size: 1.5rem; font-weight: 400; color: var(--magenta-dark); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding-bottom: 1.1rem; max-width: 60ch; }

/* Volunteer application */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.apply-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.apply-layout > * { min-width: 0; }
.apply-aside { position: sticky; top: 100px; }
@media (max-width: 900px) { .apply-layout { grid-template-columns: 1fr; } .apply-aside { position: static; } }
.next-steps { list-style: none; counter-reset: s; display: grid; gap: .9rem; }
.next-steps li { counter-increment: s; position: relative; padding-left: 2.8rem; color: var(--muted); }
.next-steps li strong { color: var(--ink); }
.next-steps li::before { content: counter(s); position: absolute; left: 0; top: .1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--lilac); color: var(--blue); font-weight: 700; display: grid; place-items: center; font-family: var(--font-display); }
.form, .form-success { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1.75rem; grid-column: 2; }
@media (max-width: 900px) { .form, .form-success { grid-column: 1; } }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.form legend { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; padding: 0 0 .9rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line); width: 100%; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .98rem; }
.field label small, .field .label small { font-weight: 400; color: var(--muted); margin-left: .3rem; }
.req { color: var(--magenta-dark); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="password"], .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b9b4d2; border-radius: var(--radius-sm); padding: .75rem .9rem; width: 100%; min-height: 48px; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(35,49,200,.25); outline-offset: 0; border-color: var(--blue); }
.field ::placeholder { color: #8d90ad; }
.hint { font-size: .88rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .55rem 1rem; border: 1.5px solid #b9b4d2; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: background-color .15s, color .15s, border-color .15s; }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--magenta); outline-offset: 2px; }
.chip:hover span { border-color: var(--blue); }
.dropzone { position: relative; display: flex; align-items: center; gap: 1rem; border: 2px dashed #b9b4d2; border-radius: var(--radius); padding: 1.4rem; background: var(--lilac); cursor: pointer; transition: border-color .15s, background-color .15s; }
.field label.dropzone, .field label.check { font-weight: 400; }
.dropzone:hover, .dropzone.is-over, .dropzone:focus-within { border-color: var(--blue); background: var(--lilac-2); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--blue); display: grid; place-items: center; }
.dropzone-icon svg { width: 26px; height: 26px; }
.dropzone-text strong { color: var(--blue); }
.dropzone-text small { display: block; color: var(--muted); font-size: .88rem; }
.file-chosen { font-weight: 600; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; word-break: break-word; }
.file-chosen button { all: unset; cursor: pointer; color: var(--magenta-dark); font-weight: 700; text-decoration: underline; font-size: .92rem; }
.check { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .dropzone { border-color: #b3261e; }
.error { color: #b3261e; font-weight: 600; font-size: .92rem; }
.form-error-summary { border: 2px solid #b3261e; border-radius: var(--radius); padding: 1.1rem 1.3rem; background: #fdf3f2; }
.form-error-summary h3 { color: #8c1d18; font-family: var(--font-body); font-size: 1.05rem; margin-bottom: .5rem; }
.form-error-summary ul { padding-left: 1.2rem; }
.form-error-summary a { color: #8c1d18; font-weight: 600; }
.form-success { align-items: flex-start; gap: 1rem; }
.form-success .feature-icon { background: var(--magenta); color: #fff; width: 56px; height: 56px; border-radius: 50%; }

/* Staff entry point: present for those who know to look, quiet for everyone else */
.staff-link { opacity: .38; font-size: .8rem; }
.staff-link:hover, .staff-link:focus-visible { opacity: 1; }

/* ======================================================================
   Hero slider: full-bleed photographs with the words on top
   ====================================================================== */
.hero-slider { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: clamp(540px, 82vh, 780px); opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.slide.is-active, .hero-slider:not(.js) .slide:first-child { opacity: 1; visibility: visible; transition: opacity 1.1s ease; z-index: 1; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; z-index: -2; }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(12,15,46,.94) 0%, rgba(18,22,63,.8) 38%, rgba(18,22,63,.35) 70%, rgba(18,22,63,.15) 100%),
    linear-gradient(0deg, rgba(12,15,46,.85) 0%, rgba(12,15,46,0) 38%),
    radial-gradient(50rem 26rem at 100% 0%, rgba(196,30,181,.3), transparent 65%); }
.slide .wrap { padding-block: clamp(4rem, 3rem + 5vw, 7rem) clamp(5.5rem, 4rem + 4vw, 8rem); }
.slide-text { max-width: 680px; display: flex; flex-direction: column; gap: 1.15rem; }
.slide-text h1, .slide-text h2 { color: #fff; font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.4rem); line-height: 1.05; letter-spacing: -.02em; }
.slide-text h1 em, .slide-text h2 em { font-style: italic; color: #f7b4f1; }
.slide-text .eyebrow { color: #f3a6ec; display: inline-flex; align-items: center; gap: .7rem; }
.slide-text .eyebrow::before { content: ""; width: 2.2rem; height: 2px; background: var(--magenta); }
.slide-text .lead { color: #dfe2ff; max-width: 54ch; }
.slide-text .btn--ghost { color: #fff; }
.slide-text .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* the active slide's photo drifts; its words rise in one after another */
@media (prefers-reduced-motion: no-preference) {
  .js .slide.is-active .slide-bg { animation: drift 9s ease-out both; }
  .js .slide.is-active .slide-text > * { animation: rise-in .8s cubic-bezier(.2,.7,.2,1) both; }
  .js .slide.is-active .slide-text > :nth-child(1) { animation-delay: .15s; }
  .js .slide.is-active .slide-text > :nth-child(2) { animation-delay: .28s; }
  .js .slide.is-active .slide-text > :nth-child(3) { animation-delay: .42s; }
  .js .slide.is-active .slide-text > :nth-child(4) { animation-delay: .56s; }
  @keyframes drift { from { transform: scale(1.12) translateX(1.5%); } to { transform: scale(1) translateX(0); } }
  @keyframes rise-in { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
}

.slider-ui { position: absolute; left: 0; right: 0; bottom: clamp(4.6rem, 4rem + 2vw, 5.6rem); z-index: 3; }
.slider-ui .wrap { display: flex; align-items: center; gap: 1.2rem; }
.slider-dots { display: flex; gap: .5rem; flex: 1; max-width: 420px; }
.slider-dot { all: unset; cursor: pointer; flex: 1; padding: .7rem 0; }
.slider-dot span { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.slider-dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slider-dot.is-active span::after { transform: scaleX(1); }
.is-playing .slider-dot.is-active span::after { animation: fill var(--slide-ms, 7s) linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-dot:hover span { background: rgba(255,255,255,.55); }
.slider-dot:focus-visible { outline: 3px solid #f7b4f1; outline-offset: 2px; border-radius: 4px; }
.slider-count { font-family: var(--font-display); font-variant-numeric: tabular-nums; color: #dfe2ff; font-size: .95rem; letter-spacing: .04em; }
.slider-arrows { display: flex; gap: .5rem; margin-left: auto; }
.slider-arrow { all: unset; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); color: #fff; display: grid; place-items: center; transition: background-color .15s, border-color .15s, color .15s; }
.slider-arrow svg { width: 20px; height: 20px; }
.slider-prev svg { transform: scaleX(-1); }
.slider-arrow:hover { background: #fff; color: var(--ink); border-color: #fff; }
.slider-arrow:focus-visible { outline: 3px solid #f7b4f1; outline-offset: 2px; }
@media (max-width: 900px) {
  .slide { min-height: clamp(560px, 86vh, 720px); align-items: flex-end; }
  .slide::after { background: linear-gradient(0deg, rgba(12,15,46,.96) 0%, rgba(18,22,63,.82) 48%, rgba(18,22,63,.3) 100%); }
  .slide .wrap { padding-block: 7rem 3.5rem; }
  .slider-ui { bottom: 1.4rem; }
  .slider-toggle, .slider-count { display: none; }
}

/* ======================================================================
   Motion across the site
   ====================================================================== */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--magenta), #7a5cff); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.site-header { transition: box-shadow .25s ease; }
.site-header .wrap { transition: min-height .25s ease; }
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(18,22,63,.45); }
.site-header.is-stuck .wrap { min-height: 60px; }

.reveal-on [data-reveal] { opacity: 0; transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.reveal-on [data-reveal="up"] { transform: translateY(38px); }
.reveal-on [data-reveal="left"] { transform: translateX(-56px); }
.reveal-on [data-reveal="right"] { transform: translateX(56px); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
main { overflow-x: clip; }

/* hover life */
.card-body { background: #fff; position: relative; }
.card-media, .person img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card--link:hover .card-media, .activity:hover .card-media { transform: scale(1.06); }
.person { transition: transform .25s ease, box-shadow .25s ease; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person:hover img { transform: scale(1.04); }
.person-body { background: #fff; position: relative; }
.pillar { transition: background-color .25s ease; }
.pillar svg { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.pillar:hover { background: var(--lilac); }
.pillar:hover svg { transform: translateY(-4px) scale(1.1); }
.partners li { transition: transform .25s ease, box-shadow .25s ease; }
.partners li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.feature:hover .feature-icon, .contact-card:hover .feature-icon { transform: rotate(-6deg) scale(1.08); background: var(--blue); color: #fff; }
.btn--primary { box-shadow: 0 10px 24px -12px rgba(196,30,181,.8); }
.page-hero::before { animation: glow 14s ease-in-out infinite alternate; }
@keyframes glow { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-3%,2%,0) scale(1.12); } }
.pillars { margin-top: -3.4rem; z-index: 4; }
@media (max-width: 900px) { .pillars { margin-top: 2rem; } }

@media (prefers-reduced-motion: reduce) {
  .page-hero::before { animation: none; }
  .slide { transition: none; }
}

/* ======================================================================
   Wide layout and colour refresh
   The page now runs edge to edge: a fluid gutter instead of a fixed
   centred column, type that grows with the screen, and section headings
   that spread across two columns. Colour: deep midnight violet ground,
   magenta-to-violet for action, and a warm gold used sparingly for
   emphasis.
   ====================================================================== */
:root {
  --ink: #0d1037;
  --ink-2: #191d5e;
  --blue: #2b3ee0;
  --violet: #6b3ff2;
  --magenta: #d21fc0;
  --magenta-dark: #a8169a;
  --gold: #f7b93e;
  --gold-soft: #ffd88a;
  --lilac: #f5f3fe;
  --lilac-2: #e9e4fb;
  --line: #dcd6f2;
  --muted: #52567a;
  --on-dark: #eef0ff;
  --on-dark-muted: #bcc0ec;
  --measure: 1720px;
  --gutter: clamp(20px, 4.2vw, 88px);
  --radius: 18px;
  --shadow: 0 18px 44px -20px rgba(13, 16, 55, .35);
  --grad-action: linear-gradient(120deg, #e02bc4 0%, #9a35ee 100%);
  --grad-ink: radial-gradient(60rem 34rem at 88% -10%, rgba(210,31,192,.34), transparent 62%), radial-gradient(52rem 32rem at -8% 108%, rgba(43,62,224,.6), transparent 62%), radial-gradient(30rem 20rem at 45% 120%, rgba(107,63,242,.35), transparent 70%);
  --step-3: clamp(1.9rem, 1.2rem + 2.2vw, 3.3rem);
  --step-4: clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem);
}
html { font-size: clamp(16px, calc(11.5px + .36vw), 19.5px); }

.wrap { max-width: var(--measure); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); }
.section { padding-block: clamp(3.5rem, 2rem + 5.5vw, 8rem); }
.lead { max-width: 66ch; }
.split { gap: clamp(2rem, 6vw, 8rem); }
.grid { gap: clamp(1.25rem, 1rem + 1vw, 2.25rem); }
h2 { letter-spacing: -.018em; }

/* ---- Header: brand at one edge, actions at the other, links spread between ---- */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); }
.site-header .wrap { min-height: 84px; gap: clamp(1rem, 3vw, 3.5rem); }
.site-header.is-stuck .wrap { min-height: 68px; }
.brand img { width: 58px; height: 58px; }
.brand-name { font-size: 1.12rem; }
.brand-name small { font-size: .76rem; letter-spacing: .04em; }
@media (min-width: 1041px) {
  .nav { flex: 1; justify-content: space-between; }
  .nav-list { flex: 1; justify-content: center; gap: clamp(.25rem, 1.6vw, 2.4rem); }
  .nav-link { font-size: 1rem; padding: .6rem .9rem; position: relative; }
  .nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-active { background: none; color: var(--magenta-dark); }
  .nav-list > li > .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--grad-action); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
  .nav-list > li > .nav-link:hover::after, .nav-list > li > .nav-link[aria-current="page"]::after, .nav-list > li > .nav-link.is-active::after { transform: scaleX(1); }
  .nav-actions { margin-left: 0; gap: .7rem; }
  .submenu { min-width: 320px; padding: .7rem; left: 50%; transform: translateX(-50%); }
}
.announce { background: linear-gradient(90deg, #7a1fb8 0%, #c21bb1 55%, #7a1fb8 100%); letter-spacing: .01em; }

/* ---- Buttons and small accents ---- */
.btn--primary { background: var(--grad-action); background-size: 160% 100%; background-position: 0 0; border: 0; padding: calc(.8rem + 2px) calc(1.35rem + 2px); box-shadow: 0 14px 30px -14px rgba(210,31,192,.85); transition: background-position .35s ease, transform .15s, box-shadow .2s; }
.btn--primary:hover { background: var(--grad-action); background-size: 160% 100%; background-position: 100% 0; box-shadow: 0 18px 36px -14px rgba(154,53,238,.9); }
.btn--primary.btn--sm { padding: calc(.58rem + 2px) calc(1.05rem + 2px); }
.btn--blue { background: var(--blue); box-shadow: 0 14px 30px -16px rgba(43,62,224,.9); }
.eyebrow { color: var(--magenta-dark); display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 2.2rem; height: 2px; background: var(--grad-action); flex: none; }
.section--dark .eyebrow, .page-hero .eyebrow, .slide-text .eyebrow, .statement .eyebrow { color: var(--gold-soft); }
.section--dark .eyebrow::before, .page-hero .eyebrow::before, .slide-text .eyebrow::before { background: var(--gold); }
.statement .eyebrow::before { display: none; }
.slide-text h1 em, .slide-text h2 em, .hero h1 em { color: var(--gold-soft); }
.tag { color: var(--violet); background: #efeafe; }
.link-arrow { color: var(--blue); }
.link-arrow:hover { color: var(--magenta-dark); }
::selection { background: #f3c6ee; color: var(--ink); }

/* ---- Section headings spread across the page: heading left, introduction right ---- */
@media (min-width: 1000px) {
  .section .wrap:not(.split) > .stack:has(> .eyebrow + h2 + .lead) { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(2rem, 7vw, 9rem); row-gap: 1rem; align-items: end; }
  .section .wrap:not(.split) > .stack:has(> .eyebrow + h2 + .lead) > .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .section .wrap:not(.split) > .stack:has(> .eyebrow + h2 + .lead) > .lead { max-width: none; padding-bottom: .35rem; border-left: 2px solid var(--line); padding-left: clamp(1.2rem, 2vw, 2.2rem); }
  .section--dark .wrap:not(.split) > .stack:has(> .eyebrow + h2 + .lead) > .lead { border-left-color: rgba(255,255,255,.2); }
  .section .wrap > .stack:has(> .eyebrow + h2):not(:has(> .lead)) > h2 { max-width: 24ch; }
}

/* ---- Bands ---- */
.section--tint { background: linear-gradient(180deg, #f6f3ff 0%, #fbfaff 60%, #f3f0fd 100%); position: relative; }
.section--dark, .page-hero, .hero { background: var(--grad-ink), var(--ink); }
.page-hero::before, .hero::before { background: none; }
.section--dark { position: relative; overflow: hidden; }
.section--dark::after { content: ""; position: absolute; right: -12rem; top: -12rem; width: 38rem; height: 38rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 5rem rgba(255,255,255,.025), 0 0 0 11rem rgba(255,255,255,.018); pointer-events: none; }
.section--dark > .wrap { position: relative; z-index: 1; }

/* ---- Inner page headers: big type, big picture, room to breathe ---- */
.page-hero .wrap { padding-block: clamp(3.5rem, 2rem + 6vw, 8rem); min-height: clamp(380px, 46vh, 560px); }
.page-hero.has-media .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 7rem); }
.page-hero h1 { font-size: clamp(2.3rem, 1.2rem + 4.2vw, 5rem); line-height: 1.02; letter-spacing: -.025em; max-width: 16ch; }
.page-hero .lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); max-width: 56ch; }
.page-hero img { aspect-ratio: 16 / 11; border-radius: calc(var(--radius) * 1.4); box-shadow: 0 40px 80px -36px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.page-hero:not(.has-media) .wrap::after { content: ""; position: absolute; right: clamp(-10rem, -4vw, -2rem); top: 50%; width: clamp(18rem, 34vw, 40rem); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; border: 1.5px solid rgba(255,255,255,.14); box-shadow: inset 0 0 0 3.5rem rgba(255,255,255,.035), inset 0 0 0 8rem rgba(255,255,255,.03), 0 0 0 4rem rgba(210,31,192,.08); pointer-events: none; }
.page-hero:not(.has-media) .stack { position: relative; z-index: 1; }
.crumbs { letter-spacing: .04em; }
/* Breadcrumb trails ("Home / Our team / …") are not shown; the menu and "Back to our team" links do that job.
   Only the trail paragraphs are hidden: the same style is reused for some photo captions. */
p.crumbs { display: none; }

/* ---- Home: slider text gets the width too ---- */
.slide-text { max-width: min(900px, 62vw); gap: 1.3rem; }
.slide-text h1, .slide-text h2 { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.6rem); line-height: 1; }
.slide-text .lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.4rem); max-width: 58ch; }
.slide { min-height: clamp(560px, 86vh, 900px); }
.slider-dots { max-width: 520px; }
@media (max-width: 900px) { .slide-text { max-width: none; } }

/* ---- Cards ---- */
.card, .person, .contact-card { border-color: transparent; box-shadow: 0 1px 0 var(--line), 0 14px 34px -24px rgba(13,16,55,.35); }
.card--link:hover, .person:hover { box-shadow: 0 30px 60px -30px rgba(107,63,242,.55); }
.card-body { padding: clamp(1.3rem, 1rem + .8vw, 2rem); }
.card-body h3, .person h3 { font-size: 1.32rem; }
.contact-card { padding: clamp(1.4rem, 1rem + 1vw, 2.2rem); transition: transform .25s ease, box-shadow .25s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(107,63,242,.5); }
.feature-icon { background: #efeafe; color: var(--violet); width: 52px; height: 52px; border-radius: 15px; }
.feature:hover .feature-icon, .contact-card:hover .feature-icon { background: var(--grad-action); }
.feature h3 { font-size: 1.22rem; }
.feature { gap: 1.2rem; }

/* ---- Statements, values, quotes ---- */
.statement { padding: clamp(1.6rem, 1rem + 1.6vw, 2.8rem); background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); backdrop-filter: blur(4px); }
.statement p:not(.eyebrow) { font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); }
.values li { padding: .55rem 1.2rem; transition: background-color .2s, color .2s, border-color .2s; }
.values li:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.quote { font-size: clamp(1.5rem, 1rem + 2vw, 2.9rem); line-height: 1.25; max-width: 30ch; border-left: 5px solid; border-image: var(--grad-action) 1; padding-left: clamp(1.2rem, 2vw, 2.4rem); }
.section--dark .quote { border-image: linear-gradient(var(--gold), var(--magenta)) 1; }
.cta { background: var(--grad-ink), var(--ink); padding: clamp(2.2rem, 1.5rem + 4vw, 5.5rem); border-radius: calc(var(--radius) * 1.8); position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.6rem); max-width: 20ch; }
.cta p { font-size: 1.12rem; }
.steps li::before { background: var(--grad-action); }
.checklist li::before { background: var(--magenta); }
.section--dark .checklist li::before { background: var(--gold); }
.video { border-radius: calc(var(--radius) * 1.2); }
.video button::after { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.500z'/%3E%3C/svg%3E"), var(--grad-action); background-size: 34px, cover; background-position: center; background-repeat: no-repeat; width: 84px; height: 84px; }
.partners li { border-color: transparent; box-shadow: 0 1px 0 var(--line), 0 14px 34px -26px rgba(13,16,55,.4); min-height: 130px; }
.partners img { max-height: 78px; }

/* ---- More columns when there is room ---- */
@media (min-width: 1500px) {
  /* five people sit in one row; other counts keep three columns so no card is left alone */
  .grid--3:has(> .person:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
  .gallery { grid-template-columns: repeat(5, 1fr); }
  .gallery--portrait { grid-template-columns: repeat(5, 1fr); }
  .card .gallery--portrait { grid-template-columns: 1fr; }
}
.card > .split { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); }
@media (max-width: 760px) { .card > .split { grid-template-columns: 1fr; } }

/* ---- Footer ---- */
.site-footer { background: var(--grad-ink), #080a26; }
.site-footer .wrap { padding-block: clamp(3.5rem, 2rem + 4vw, 6rem) 1.6rem; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr; gap: clamp(2rem, 5vw, 6rem); }
.footer-brand { font-size: 1.35rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Volunteer form keeps a readable width inside the wide page ---- */
.apply-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 900px) { .apply-layout { grid-template-columns: 1fr; } }
.form, .form-success { box-shadow: 0 40px 80px -40px rgba(107,63,242,.45); border-color: transparent; }
.chip input:checked + span { background: var(--grad-action); border-color: transparent; }

/* ======================================================================
   Header floating over the opening section
   On pages that open with the slider or a dark page header, the header
   is transparent with white type and sits on the picture. Once the
   visitor scrolls it settles into a solid white bar. motion.js adds
   .has-overlay; without it (or while editing) the header is ordinary.
   ====================================================================== */
.has-overlay .announce { position: absolute; top: 0; left: 0; right: 0; z-index: 51; background: linear-gradient(90deg, rgba(122,31,184,.78) 0%, rgba(194,27,177,.78) 55%, rgba(122,31,184,.78) 100%); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.14); }
.has-overlay .site-header { position: fixed; top: var(--header-top, 0px); left: 0; right: 0; background: transparent; backdrop-filter: none; border-bottom: 1px solid rgba(255,255,255,.14); box-shadow: none; transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.has-overlay:not(.is-ready) .site-header { transition: none; }
.has-overlay .site-header.is-stuck, .has-overlay .site-header.menu-open { background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); box-shadow: 0 12px 34px -20px rgba(13,16,55,.5); }
.has-overlay .brand img { background: #fff; border-radius: 14px; padding: 4px; box-shadow: 0 8px 22px -10px rgba(0,0,0,.5); }
.has-overlay .site-header:not(.is-stuck):not(.menu-open) .brand-name { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.has-overlay .site-header:not(.is-stuck):not(.menu-open) .brand-name small { color: #d3d6fa; }
.has-overlay .site-header:not(.is-stuck):not(.menu-open) .nav-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.has-overlay .site-header:not(.is-stuck):not(.menu-open) .nav-toggle span,
.has-overlay .site-header:not(.is-stuck):not(.menu-open) .nav-toggle span::before,
.has-overlay .site-header:not(.is-stuck):not(.menu-open) .nav-toggle span::after { background: #fff; }
@media (min-width: 1041px) {
  .has-overlay .site-header:not(.is-stuck) .nav-list > li > .nav-link { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
  .has-overlay .site-header:not(.is-stuck) .nav-list > li > .nav-link:hover,
  .has-overlay .site-header:not(.is-stuck) .nav-list > li > .nav-link[aria-current="page"],
  .has-overlay .site-header:not(.is-stuck) .nav-list > li > .nav-link.is-active { color: var(--gold-soft); }
  .has-overlay .site-header:not(.is-stuck) .nav-list > li > .nav-link::after { background: var(--gold); }
  .has-overlay .site-header:not(.is-stuck) .nav-actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
  .has-overlay .site-header:not(.is-stuck) .nav-actions .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
}

/* The slider becomes the top of the page: full screen, words clear of the header */
.has-overlay .slide .wrap { padding-top: calc(var(--masthead-h, 140px) + clamp(1.5rem, 1rem + 3vw, 4rem)); }
.has-overlay .slide::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 40%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(10,12,40,.78) 0%, rgba(10,12,40,0) 100%); }
.has-overlay main > .page-hero:first-child > .wrap { padding-top: calc(var(--masthead-h, 140px) + clamp(2rem, 1rem + 4vw, 5rem)); }

/* ======================================================================
   Inner page headers: the photo bleeds to the edge of the screen
   ====================================================================== */
@media (min-width: 861px) {
  .page-hero.has-media:has(> .wrap > img, > .wrap > figure) { display: flex; align-items: center; min-height: clamp(560px, 80vh, 860px); }
  .page-hero.has-media:has(> .wrap > img, > .wrap > figure) > .wrap { position: static; display: block; min-height: 0; }
  .page-hero.has-media:has(> .wrap > img, > .wrap > figure) > .wrap > .stack { max-width: min(46%, 720px); position: relative; z-index: 2; }
  .page-hero.has-media > .wrap > img, .page-hero.has-media > .wrap > figure { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: 100%; max-width: none; margin: 0; z-index: 0; }
  .page-hero.has-media > .wrap > img, .page-hero.has-media > .wrap > figure > img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; box-shadow: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 48%); }
  .page-hero.has-media > .wrap > figure figcaption { position: absolute; right: var(--gutter); bottom: 1.6rem; z-index: 2; margin: 0 !important; color: #fff; background: rgba(13,16,55,.6); backdrop-filter: blur(6px); padding: .4rem .95rem; border-radius: 999px; font-size: .85rem; }
  .page-hero.has-media:has(> .wrap > img, > .wrap > figure)::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
    linear-gradient(90deg, rgba(13,16,55,.94) 0%, rgba(13,16,55,.78) 34%, rgba(13,16,55,.2) 58%, rgba(13,16,55,0) 70%),
    linear-gradient(180deg, rgba(10,12,40,.82) 0%, rgba(10,12,40,0) 32%, rgba(10,12,40,0) 72%, rgba(10,12,40,.55) 100%); }
}
@media (max-width: 860px) {
  .page-hero.has-media > .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-hero.has-media:has(> .wrap > img, > .wrap > figure) > .wrap { padding-bottom: 0; }
  .page-hero.has-media > .wrap > img, .page-hero.has-media > .wrap > figure { width: calc(100% + 2 * var(--gutter)); max-width: none; margin: .5rem calc(-1 * var(--gutter)) 0; }
  .page-hero.has-media > .wrap > img, .page-hero.has-media > .wrap > figure > img { border-radius: 0; aspect-ratio: 16 / 10; box-shadow: none; }
  .page-hero.has-media > .wrap > figure > img { width: 100%; }
  .page-hero.has-media > .wrap > figure figcaption { padding: .6rem var(--gutter); margin: 0 !important; }
}

/* Team header: a mosaic of faces */
.hero-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1.2rem); align-items: start; position: relative; z-index: 1; }
.page-hero .hero-mosaic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; border-radius: 18px; box-shadow: 0 26px 50px -24px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08); }
.hero-mosaic img:nth-child(3n+2) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.hero-mosaic img:nth-child(3n) { margin-top: clamp(.75rem, 2vw, 1.75rem); }

/* ======================================================================
   "On this page" bar for long pages (built by motion.js)
   ====================================================================== */
.subnav { position: sticky; top: var(--header-h, 72px); z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px -22px rgba(13,16,55,.5); }
.subnav .wrap { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
.subnav-label { flex: none; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.subnav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: .6rem 0; overflow-x: auto; scrollbar-width: none; position: relative; min-width: 0; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: .45rem 1rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; transition: background-color .2s, color .2s; }
.subnav a:hover { background: var(--lilac); color: var(--violet); }
.subnav a.is-active { background: var(--ink); color: #fff; }
@media (max-width: 640px) { .subnav-label { display: none; } }
main > section[id] { scroll-margin-top: calc(var(--header-h, 72px) + var(--subnav-h, 0px) + 1rem); }

/* ======================================================================
   Long-form sections read better
   ====================================================================== */
@media (min-width: 1000px) {
  /* the heading column stays in view while its longer neighbour scrolls past */
  .section .split--top > .stack:first-child { position: sticky; top: calc(var(--header-h, 72px) + var(--subnav-h, 0px) + 2rem); }
}
.apply-aside { top: calc(var(--header-h, 72px) + var(--subnav-h, 0px) + 1.5rem); }
.section .prose > p:first-child { font-size: 1.14em; line-height: 1.6; color: var(--ink); }
.section--dark .prose > p:first-child { color: #fff; }

/* Course cards: the poster sits on its own tinted panel */
.card > .split > .gallery { align-self: stretch; padding: clamp(1.4rem, 1rem + 1.6vw, 2.6rem) !important; background: linear-gradient(160deg, var(--lilac) 0%, var(--lilac-2) 100%); }
.card > .split > .gallery img { border-radius: 10px; box-shadow: 0 26px 50px -26px rgba(13,16,55,.65); }

/* ======================================================================
   Footer: a "talk to us" strip, five spread-out columns, the ACCR
   wordmark rising from the bottom edge, and a slim closing bar
   ====================================================================== */
.site-footer { position: relative; overflow: hidden; color: var(--on-dark-muted); background: radial-gradient(60rem 30rem at 100% 0%, rgba(210,31,192,.18), transparent 60%), radial-gradient(50rem 30rem at 0% 100%, rgba(43,62,224,.35), transparent 62%), #080a26; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--violet), var(--magenta), var(--gold)); }
.site-footer .wrap { padding-block: 0; }

/* talk-to-us strip */
.footer-top { padding-block: clamp(3rem, 2rem + 3.5vw, 5.5rem); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.75fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.footer-top .eyebrow { color: var(--gold-soft); margin-bottom: .8rem; }
.footer-top .eyebrow::before { background: var(--gold); }
.site-footer .footer-top h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 1.1rem + 2.1vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; text-transform: none; color: #fff; margin: 0; max-width: 20ch; }
.site-footer .footer-top h2::before { display: none; }
.footer-top h2 em { font-style: italic; color: var(--gold-soft); }
.footer-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.2vw, 1.25rem); }
.site-footer .footer-tile { display: flex; gap: 1rem; align-items: center; padding: clamp(1.1rem, 1rem + .6vw, 1.6rem); border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; min-width: 0; flex-direction: column; align-items: flex-start; transition: background-color .25s, border-color .25s, transform .25s; }
.site-footer .footer-tile:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); transform: translateY(-4px); text-decoration: none; color: #fff; }
.footer-tile > span:last-child { min-width: 0; }
.footer-tile small { display: block; color: var(--gold-soft); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .2rem; }
.footer-tile strong { display: block; font-size: 1.08rem; white-space: nowrap; }
.footer-tile em { display: block; font-style: normal; color: var(--on-dark-muted); font-size: .86rem; margin-top: .15rem; }
.site-footer .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-action); color: #fff; box-shadow: 0 12px 24px -12px rgba(210,31,192,.9); }
.site-footer .ico svg { width: 23px; height: 23px; }
@media (max-width: 1150px) { .footer-top .wrap { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .footer-tiles { grid-template-columns: 1fr; } .site-footer .footer-tile { flex-direction: row; align-items: center; } .footer-tile strong { white-space: normal; overflow-wrap: break-word; } }

/* columns */
.footer-main { padding-block: clamp(3rem, 2rem + 3vw, 5rem) clamp(1rem, 2vw, 2rem); }
.site-footer .footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 5rem); }
.footer-about p { max-width: 40ch; line-height: 1.7; }
.site-footer .footer-col h2 { display: flex; align-items: center; gap: .65rem; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 1.2rem; }
.site-footer .footer-col h2::before { content: ""; width: 18px; height: 2px; background: var(--gold); flex: none; }
.footer-links { list-style: none; display: grid; gap: .7rem; padding: 0; margin: 0; }
.site-footer .footer-links a { display: inline-flex; align-items: center; gap: .45rem; color: var(--on-dark); text-decoration: none; transition: color .2s, transform .2s; }
.site-footer .footer-links a::before { content: "→"; color: var(--gold); width: 0; overflow: hidden; opacity: 0; transition: width .2s, opacity .2s; }
.site-footer .footer-links a:hover { color: #fff; text-decoration: none; }
.site-footer .footer-links a:hover::before { width: 1em; opacity: 1; }
.footer-place { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.2rem; }
.footer-place .ico { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.08); box-shadow: none; color: var(--gold-soft); }
.footer-place .ico svg { width: 19px; height: 19px; }
.footer-place address, .footer-place p { font-style: normal; line-height: 1.6; margin: 0; }
.footer-place strong { color: #fff; font-weight: 600; }
.footer-note { color: rgba(188,192,236,.7); font-size: .88rem; }
.footer-donate { margin-top: .4rem; }
.socials a { transition: background-color .2s, transform .2s; }
.socials a:hover { background: var(--grad-action); transform: translateY(-3px); }
@media (max-width: 1150px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (min-width: 700px) and (max-width: 1150px) { .site-footer .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 460px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }

/* the wordmark rises from the bottom of the page */
.footer-wordmark { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 24vw, 30rem); line-height: .8; letter-spacing: -.045em; text-align: center; white-space: nowrap; color: transparent; background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.02) 75%); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; margin: 0 0 -.14em; }

/* closing bar */
.footer-base { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: rgba(8,10,38,.6); backdrop-filter: blur(6px); }
.site-footer .footer-bottom { margin: 0; border: 0; padding-block: 1.2rem 1.4rem; font-size: .88rem; }
.footer-bottom-links { display: inline-flex; gap: 1.5rem; align-items: center; }
.site-footer .to-top { color: var(--on-dark); }
.site-footer .to-top:hover { color: var(--gold-soft); }

/* ======================================================================
   Less empty space
   ====================================================================== */
/* Tighter rhythm between sections (it was up to 8rem above and below) */
.section { padding-block: clamp(2.75rem, 1.5rem + 3.2vw, 5.25rem); }
.stack--lg { gap: clamp(1.5rem, 1rem + 1.2vw, 2.25rem); }
/* two plain white sections in a row share one gap instead of two */
.section:not(.section--tint):not(.section--dark) + .section:not(.section--tint):not(.section--dark) { padding-top: 0; }

/* The slider fills the whole first screen; the pillar boxes start just below the fold */
.has-overlay .slide { min-height: max(600px, calc(100svh + 3.4rem)); }
@media (max-width: 900px) { .has-overlay .slide { min-height: max(560px, 100svh); } }

@media (min-width: 1000px) {
  /* in side-by-side sections, whichever column is shorter travels with the reader */
  .section .split--top > * { position: sticky; top: calc(var(--header-h, 72px) + var(--subnav-h, 0px) + 2rem); }

  /* a quotation and its paragraph sit side by side instead of leaving half the row empty */
  .section .wrap.stack--lg:has(> .quote + .prose) { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 7rem); align-items: end; }
  .section .wrap.stack--lg:has(> .quote + .prose) > :not(.quote):not(.prose) { grid-column: 1 / -1; }
  .section .wrap.stack--lg:has(> .quote + .prose) > .prose { padding-bottom: .4rem; font-size: 1.08rem; }
}

/* ======================================================================
   Home: key figures ride over the bottom edge of the slider
   Tinted boxes with gradient numbers; the pillar boxes follow below.
   ====================================================================== */
.stats { border-top: 0; gap: clamp(.75rem, 1.6vw, 1.75rem); }
.stats div, .stats div + div { padding: clamp(1.3rem, 1rem + 1.1vw, 2.2rem); border: 0; border-radius: var(--radius); background: var(--lilac); }
.stats dt { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.8rem); background: linear-gradient(120deg, var(--blue), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 820px) { .stats div, .stats div + div, .stats div:nth-child(even), .stats div:nth-child(n+3) { border: 0; padding: 1.2rem; } }

.stats-band { position: relative; z-index: 4; margin-top: -3.4rem; }
.stats-band .stats { margin: 0; padding: clamp(.75rem, 1.1vw, 1.1rem); background: #fff; border-radius: calc(var(--radius) * 1.2); box-shadow: 0 30px 70px -34px rgba(13,16,55,.5); }
.stats-band + .wrap > .pillars { margin-top: clamp(2rem, 3vw, 3.5rem); }
@media (max-width: 900px) { .stats-band { margin-top: 1.5rem; } .stats-band .stats { box-shadow: none; padding: 0; } }

/* Laptop widths: keep every menu item on one line */
.nav-link { white-space: nowrap; }
@media (min-width: 1041px) and (max-width: 1360px) {
  .brand-name small { display: none; }
  .brand-name { font-size: 1.02rem; }
  .nav-list { gap: .1rem; }
  .nav-link { padding: .55rem .6rem; font-size: .95rem; }
  .nav-list > li > .nav-link::after { left: .6rem; right: .6rem; }
  .nav-actions .btn--sm { padding: .5rem .9rem; }
}

/* ======================================================================
   Home: figures panel and pillar boxes, second pass
   The figures continue the slider's midnight colour as a glass panel;
   the pillars stay white with badge icons, a watermark icon and a link.
   ====================================================================== */
.stats-band .stats { position: relative; overflow: hidden; gap: 0; padding: clamp(.5rem, 1vw, 1rem); border: 1px solid rgba(255,255,255,.12); border-radius: calc(var(--radius) * 1.3);
  background:
    radial-gradient(38rem 16rem at 0% 0%, rgba(107,63,242,.42), transparent 62%),
    radial-gradient(34rem 16rem at 100% 100%, rgba(210,31,192,.32), transparent 62%),
    linear-gradient(135deg, #1b1f66 0%, #0d1037 100%);
  box-shadow: 0 40px 80px -36px rgba(13,16,55,.85), inset 0 1px 0 rgba(255,255,255,.08); }
.stats-band .stats div, .stats-band .stats div + div { position: relative; background: transparent; border: 0; border-radius: 14px; padding: clamp(1.4rem, 1rem + 1.4vw, 2.4rem); transition: background-color .3s ease; }
.stats-band .stats div:hover { background: rgba(255,255,255,.05); }
.stats-band .stats div + div::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.22), transparent); }
.stats-band .stats dt { background: linear-gradient(115deg, #ffd88a 0%, #f7a8e8 55%, #c9b6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem); }
.stats-band .stats dt::before { content: ""; display: block; width: 48px; height: 48px; margin-bottom: 1.1rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background-color: rgba(255,255,255,.07); background-repeat: no-repeat; background-position: center; background-size: 24px; transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .3s; }
.stats-band .stats div:hover dt::before { transform: translateY(-4px) rotate(-6deg); background-color: rgba(255,255,255,.14); }
.stats-band .stats dd { color: #c9cdf5; max-width: 26ch; }
@media (max-width: 900px) {
  .stats-band .stats { padding: .5rem; gap: .5rem; box-shadow: 0 24px 50px -30px rgba(13,16,55,.8); }
  .stats-band .stats div::before { display: none; }
  .stats-band .stats div, .stats-band .stats div + div { background: rgba(255,255,255,.04); padding: 1.2rem; }
  .stats-band .stats dt::before { width: 40px; height: 40px; background-size: 20px; margin-bottom: .8rem; }
}

.pillars { border: 0; border-radius: calc(var(--radius) * 1.2); box-shadow: 0 1px 0 var(--line), 0 26px 60px -34px rgba(13,16,55,.45); }
.pillar { position: relative; overflow: hidden; gap: .75rem; padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); transition: background-color .3s ease; }
.pillar:hover { background: linear-gradient(180deg, #faf8ff 0%, #fff 100%); }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-action); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.pillar:hover::before, .pillar:focus-within::before { transform: scaleX(1); }
.pillar::after { content: ""; position: absolute; right: -1.6rem; bottom: -1.6rem; width: 9rem; height: 9rem; background-repeat: no-repeat; background-size: contain; opacity: .06; pointer-events: none; transition: opacity .3s, transform .5s cubic-bezier(.2,.7,.2,1); }
.pillar:hover::after { opacity: .11; transform: rotate(-8deg) scale(1.05); }
.pillar > svg { width: 56px; height: 56px; padding: 14px; border-radius: 17px; color: var(--magenta-dark); background: linear-gradient(135deg, #efe9ff 0%, #fde6f8 100%); box-shadow: inset 0 0 0 1px rgba(107,63,242,.1); transition: background .3s, color .3s, transform .35s cubic-bezier(.2,.7,.2,1); }
.pillar:hover > svg { background: var(--grad-action); color: #fff; transform: translateY(-4px); box-shadow: 0 14px 26px -12px rgba(210,31,192,.8); }
.pillar h3 { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); }
.pillar p { position: relative; }
.pillar .link-arrow { margin-top: auto; padding-top: .4rem; font-size: .95rem; position: relative; }
.stats-band .stats div:nth-child(1) dt::before { background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ffd88a%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M12 3v4M12 17v4M3 12h4M17 12h4M6 6l2.5 2.500M15.5 15.500L18 18M6 18l2.5-2.500M15.5 8.500L18 6%22/%3E%3C/svg%3E"); }
.stats-band .stats div:nth-child(2) dt::before { background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ffd88a%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18%22/%3E%3C/svg%3E"); }
.stats-band .stats div:nth-child(3) dt::before { background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ffd88a%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M3 10v4h3l8 5V5L6 10z%22/%3E%3Cpath d=%22M17.5 8.5a5 5 0 0 1 0 7%22/%3E%3C/svg%3E"); }
.stats-band .stats div:nth-child(4) dt::before { background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ffd88a%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M2 9l10-5 10 5-10 5z%22/%3E%3Cpath d=%22M6 11.5V16c0 1.5 2.7 3 6 3s6-1.5 6-3v-4.5%22/%3E%3Cpath d=%22M22 9v6%22/%3E%3C/svg%3E"); }
.pillar:nth-child(1)::after { background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%236b3ff2%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M9 3h6M10 3v6l-5 9a2 2 0 0 0 1.8 3h10.4A2 2 0 0 0 19 18l-5-9V3%22/%3E%3Cpath d=%22M7.5 15h9%22/%3E%3C/svg%3E"); }
.pillar:nth-child(2)::after { background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%236b3ff2%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M2 9l10-5 10 5-10 5z%22/%3E%3Cpath d=%22M6 11.5V16c0 1.5 2.7 3 6 3s6-1.5 6-3v-4.5%22/%3E%3Cpath d=%22M22 9v6%22/%3E%3C/svg%3E"); }
.pillar:nth-child(3)::after { background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%236b3ff2%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M3 10v4h3l8 5V5L6 10z%22/%3E%3Cpath d=%22M17.5 8.5a5 5 0 0 1 0 7%22/%3E%3C/svg%3E"); }
.pillar:nth-child(4)::after { background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%236b3ff2%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M12 4v16M7 20h10M5 7h14%22/%3E%3Cpath d=%22M5 7l-3 7a3 3 0 0 0 6 0zM19 7l-3 7a3 3 0 0 0 6 0z%22/%3E%3C/svg%3E"); }

/* ======================================================================
   Volunteer page
   ====================================================================== */
/* key facts under the hero buttons */
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem 2.2rem; margin: .8rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.hero-facts li { display: flex; gap: .8rem; align-items: center; color: var(--on-dark-muted); font-size: .94rem; line-height: 1.35; }
.hero-facts svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--gold-soft); }
.hero-facts strong { display: block; color: #fff; font-size: 1rem; }

/* what volunteers do */
.impact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 2rem); }
.impact { display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.7rem, 1.2rem + 1.4vw, 2.7rem); border-radius: calc(var(--radius) * 1.25); background: linear-gradient(180deg, var(--lilac) 0%, #fff 85%); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.impact:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 60px -32px rgba(107,63,242,.55); }
.impact > svg { width: 56px; height: 56px; padding: 14px; border-radius: 17px; background: var(--grad-action); color: #fff; box-shadow: 0 14px 28px -14px rgba(210,31,192,.85); margin-bottom: .4rem; }
.impact h3 { font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); }
.impact p { color: var(--muted); }
@media (max-width: 1100px) { .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .impact-grid { grid-template-columns: 1fr; } }

/* full-width photo band */
.photo-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 6px; background: var(--ink); }
.photo-strip figure { position: relative; margin: 0; overflow: hidden; min-width: 0; }
.photo-strip img { display: block; width: 100%; height: clamp(240px, 26vw, 440px); object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.photo-strip figure:hover img { transform: scale(1.06); }
.photo-strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.3rem 1.1rem; background: linear-gradient(180deg, transparent, rgba(10,12,40,.88)); color: #fff; font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: 1fr 1fr; } .photo-strip img { height: 190px; } }

/* roles */
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 2rem); }
.role-grid > .role { display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.7rem, 1.2rem + 1.3vw, 2.6rem); background: #fff; border-radius: calc(var(--radius) * 1.25); border: 1px solid transparent; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(13,16,55,.35); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.role-grid > .role:hover { transform: translateY(-5px); border-color: rgba(107,63,242,.28); box-shadow: 0 30px 60px -32px rgba(107,63,242,.5); }
.role-head { display: flex; align-items: center; gap: 1rem; }
.role-head svg { flex: none; width: 50px; height: 50px; padding: 12px; border-radius: 15px; background: #efeafe; color: var(--violet); transition: background .3s, color .3s; }
.role-grid > .role:hover .role-head svg { background: var(--grad-action); color: #fff; }
.role-grid > .role h3 { font-size: clamp(1.2rem, 1.05rem + .4vw, 1.4rem); }
.role-grid > .role p { color: var(--muted); }
.role-grid > .role .role-tag { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); color: var(--violet); font-size: .86rem; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 1100px) { .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .role-grid { grid-template-columns: 1fr; } }

/* what we offer / what you need */
.offer-list { display: grid; gap: 1.8rem; }
.offer-list .feature h3 { font-size: 1.3rem; }
.needs-card { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; padding: clamp(1.8rem, 1.2rem + 2vw, 3.2rem); background: #fff; border-radius: calc(var(--radius) * 1.4); box-shadow: 0 34px 70px -38px rgba(107,63,242,.55); }
.needs-card h3 { font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); }
.needs-card > p:not(.eyebrow) { color: var(--muted); }

/* questions */
.faq summary { font-size: 1.08rem; padding: 1.3rem 2.6rem 1.3rem 0; }
.faq p { font-size: 1.02rem; }

/* apply: a dark closing section with the form on a white card */
.section--apply .apply-aside h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.3rem); }
.section--apply .next-steps li { color: var(--on-dark-muted); }
.section--apply .next-steps li strong { color: #fff; }
.section--apply .next-steps li::before { background: rgba(255,255,255,.1); color: var(--gold-soft); }
.section--apply .notice { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: var(--on-dark); }
.section--apply .notice a { color: var(--gold-soft); }
.section--apply .req { color: var(--gold-soft); }
.section--apply .form, .section--apply .form-success { color: var(--ink); box-shadow: 0 50px 90px -40px rgba(0,0,0,.7); }
.section--apply .form .req { color: var(--magenta-dark); }
.section--apply .form-success h2 { color: var(--ink); }
.section--apply .form-success .btn--ghost { color: var(--ink); border-color: currentColor; }
.section--apply .form-success .btn--ghost:hover { background: var(--ink); color: #fff; }
.section--apply .form a { color: var(--blue); }

/* Application page and the invitation that leads to it */
.page-hero--compact > .wrap { min-height: 0; padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.page-hero--compact h1 { max-width: none; }
.link-arrow--back { color: var(--gold-soft); }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: "←"; transition: transform .15s; }
.link-arrow--back:hover { color: #fff; }
.link-arrow--back:hover::before { transform: translateX(-4px); }
.section--form { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.apply-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: clamp(1.5rem, 4vw, 5rem); align-items: center; padding: clamp(1rem, 2vw, 2rem) 0; }
.apply-cta h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); max-width: 18ch; }
.apply-cta p:not(.eyebrow) { color: var(--on-dark-muted); max-width: 56ch; font-size: 1.08rem; }
.apply-cta .btn { padding-block: 1rem; padding-inline: 1.7rem; font-size: 1.05rem; }
@media (max-width: 860px) { .apply-cta { grid-template-columns: 1fr; } }

/* ======================================================================
   Footer, compact: a separate rounded panel, a slim contact row, tighter
   columns, and the ACCR wordmark sunk behind the columns
   ====================================================================== */
body { background: #f3f1fa; }
main { background: var(--paper); }
.site-footer { margin: clamp(.5rem, 1.2vw, 1.25rem); border-radius: clamp(18px, 2.2vw, 34px); box-shadow: 0 30px 60px -40px rgba(13,16,55,.6); isolation: isolate; }
.footer-top, .footer-main, .footer-base { position: relative; z-index: 1; }

/* slim contact row */
.footer-top { padding-block: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); }
.footer-top .wrap { grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.footer-top .eyebrow { margin-bottom: .35rem; }
.site-footer .footer-top h2 { font-size: clamp(1.25rem, 1rem + .9vw, 1.8rem); max-width: 24ch; line-height: 1.2; }
.footer-tiles { grid-template-columns: repeat(3, max-content); justify-content: end; gap: .7rem; }
.site-footer .footer-tile { flex-direction: row; align-items: center; gap: .8rem; padding: .65rem 1.2rem .65rem .65rem; border-radius: 999px; }
.site-footer .footer-tile:hover { transform: translateY(-2px); }
.site-footer .footer-tile .ico { width: 40px; height: 40px; border-radius: 50%; box-shadow: none; }
.site-footer .footer-tile .ico svg { width: 19px; height: 19px; }
.footer-tile small { font-size: .68rem; margin-bottom: .05rem; }
.footer-tile strong { font-size: .98rem; white-space: nowrap; }
.footer-tile em { font-size: .78rem; margin-top: 0; }
@media (max-width: 1150px) { .footer-top .wrap { grid-template-columns: 1fr; } .footer-tiles { justify-content: start; } }
@media (max-width: 760px) { .footer-tiles { grid-template-columns: 1fr; } .site-footer .footer-tile { border-radius: 18px; } }

/* tighter columns */
.footer-main { padding-block: clamp(1.8rem, 1.2rem + 1.8vw, 3rem) clamp(1.2rem, 1rem + 1vw, 2rem); }
.site-footer .footer-grid { gap: clamp(1.5rem, 3vw, 3.5rem); }
@media (min-width: 1151px) { .site-footer .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .95fr) minmax(0, .75fr) minmax(0, 1.6fr) minmax(0, 1.2fr); } }
.footer-brand { margin-bottom: .7rem; font-size: 1.15rem; }
.footer-brand img { width: 48px; height: 48px; }
.footer-about p { font-size: .94rem; line-height: 1.6; }
.socials { margin-top: .9rem; }
.socials a { width: 38px; height: 38px; }
.site-footer .footer-col h2 { margin-bottom: .85rem; }
.footer-links { gap: .45rem; font-size: .95rem; }
.footer-place { gap: .7rem; margin-bottom: .75rem; font-size: .92rem; }
.footer-place address, .footer-place p { line-height: 1.5; }
.footer-place .ico { width: 32px; height: 32px; border-radius: 9px; }
.footer-place .ico svg { width: 16px; height: 16px; }
.footer-donate { margin-top: .2rem; }

/* the wordmark sinks behind the columns instead of taking its own band */
.footer-wordmark { position: absolute; left: 0; right: 0; bottom: 2.6rem; z-index: 0; margin: 0; font-size: clamp(5rem, 19vw, 22rem); line-height: .75;
  background: linear-gradient(180deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,0) 80%); -webkit-background-clip: text; background-clip: text; }
.site-footer .footer-bottom { padding-block: .9rem 1rem; }
.footer-base { background: rgba(8,10,38,.45); }

/* Footer on phones: link lists and addresses pair up instead of stacking */
@media (max-width: 700px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; row-gap: 1.6rem; }
  .footer-about, .site-footer .footer-grid > .footer-col:nth-child(4), .site-footer .footer-grid > .footer-col:nth-child(5) { grid-column: 1 / -1; }
  .site-footer .footer-grid > .footer-col:nth-child(4) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .site-footer .footer-grid > .footer-col:nth-child(4) > h2 { grid-column: 1 / -1; }
  .site-footer .footer-grid > .footer-col:nth-child(4) .footer-place .ico { display: none; }
  .footer-tile em { display: none; }
  .site-footer .footer-tile { padding: .55rem 1rem .55rem .55rem; }
  .footer-tiles { gap: .5rem; }
  .site-footer .footer-top h2 { font-size: 1.25rem; }
}

/* ======================================================================
   Team cards and profile pages
   ====================================================================== */
.people-grid { --n: 4; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 2rem); }
@media (max-width: 1100px) { .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .people-grid { gap: .75rem; } }
.people-grid .person { border-radius: calc(var(--radius) * 1.2); }
.people-grid .person-photo { display: block; overflow: hidden; background: var(--lilac-2); }
.people-grid .person img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.people-grid .person-body { padding: clamp(1rem, .8rem + .8vw, 1.5rem); gap: .35rem; }
.people-grid .person h3 { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); }
.people-grid .role { font-size: .9rem; line-height: 1.4; }
.person-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; margin-block-start: .9rem; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.person-link::after { content: "→"; transition: transform .2s; }
.person-link:hover, .person:hover .person-link { background: var(--grad-action); border-color: transparent; color: #fff; }
.person-link:hover::after, .person:hover .person-link::after { transform: translateX(3px); }
@media (max-width: 420px) { .person-link { padding: .45rem .8rem; font-size: .84rem; } }

.profile-hero > .wrap { min-height: 0; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 5rem); align-items: center; }
.page-hero .profile-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; border-radius: calc(var(--radius) * 1.4); box-shadow: 0 34px 70px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.1); }
.profile-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.4rem); }
.profile-role { color: var(--gold-soft); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 600; }
.profile-also { color: var(--on-dark-muted); font-size: .98rem; }
.profile-hero .btn svg { width: 18px; height: 18px; }
.profile-hero .btn--primary { overflow-wrap: anywhere; }
.profile-body { display: grid; gap: 1.4rem; max-width: 900px; }
.profile-body .prose { max-width: 72ch; font-size: 1.06rem; }
.profile-body .prose ul { padding-left: 1.3rem; margin: 1rem 0; display: grid; gap: .35rem; }
@media (max-width: 760px) { .profile-hero > .wrap { grid-template-columns: 1fr; } .page-hero .profile-photo { max-width: 260px; } }

/* ======================================================================
   Team cards, second pass: portrait cards with the name over the photo
   ====================================================================== */
.people-grid .person { position: relative; overflow: hidden; isolation: isolate; border: 0; border-radius: 22px; background: var(--ink); box-shadow: 0 24px 50px -30px rgba(13,16,55,.6); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.people-grid .person::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s ease; }
.people-grid .person:hover { transform: translateY(-6px); box-shadow: 0 44px 80px -36px rgba(107,63,242,.75); }
.people-grid .person:hover::after { box-shadow: inset 0 0 0 2px rgba(247,168,232,.75); }
.people-grid .person-photo { display: block; background: var(--ink); }
.people-grid .person img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 12%; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.people-grid .person:hover img { transform: scale(1.06); }
.people-grid .person-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; gap: .3rem; padding: 3.2rem clamp(1rem, .8rem + .8vw, 1.5rem) clamp(1rem, .8rem + .8vw, 1.4rem);
  background: linear-gradient(180deg, rgba(13,16,55,0) 0%, rgba(13,16,55,.62) 30%, rgba(13,16,55,.95) 72%, rgba(13,16,55,.98) 100%); }
.people-grid .person h3 { color: #fff; font-size: clamp(1.08rem, .95rem + .45vw, 1.35rem); text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.people-grid .role { color: var(--gold-soft); font-weight: 600; font-size: .86rem; line-height: 1.4; }
.people-grid .person-link { position: static; margin-top: .8rem; color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.people-grid .person-link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.people-grid .person-link:hover, .people-grid .person:hover .person-link { background: var(--grad-action); border-color: transparent; color: #fff; box-shadow: 0 12px 24px -12px rgba(210,31,192,.9); }
.people-grid .person-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 560px) {
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .people-grid .person { border-radius: 18px; }
  .people-grid .person-body { padding: 2.6rem .8rem .85rem; }
  .people-grid .person h3 { font-size: .98rem; padding-right: 2.5rem; }
  .people-grid .role { font-size: .76rem; padding-right: 2.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .people-grid .person-link { position: absolute; right: .7rem; bottom: .85rem; margin: 0; width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 50%; font-size: 0; }
  .people-grid .person-link::after { font-size: 1.05rem; }
}

/* ======================================================================
   Profile pages, second design: split screen
   Left, a midnight panel with the framed portrait that stays in view;
   right, the name, role and biography; below, more of the team.
   ====================================================================== */
.profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--paper); }
.profile-media { position: sticky; top: var(--header-h, 85px); align-self: start; height: calc(100vh - var(--header-h, 85px)); min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; padding: clamp(2rem, 4vw, 4.5rem); overflow: hidden; isolation: isolate;
  background: radial-gradient(34rem 26rem at 15% 10%, rgba(107,63,242,.45), transparent 60%), radial-gradient(30rem 24rem at 100% 100%, rgba(210,31,192,.35), transparent 60%), var(--ink); }
.profile-media::before { content: ""; position: absolute; z-index: -1; width: 46rem; aspect-ratio: 1; left: 50%; top: 46%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 5rem rgba(255,255,255,.025), 0 0 0 10rem rgba(255,255,255,.018), inset 0 0 0 5rem rgba(255,255,255,.02); }
.profile-portrait { position: relative; width: min(100%, 420px); }
.profile-portrait::before { content: ""; position: absolute; inset: 0; border-radius: 30px; background: var(--grad-action); transform: rotate(5deg) translate(14px, 10px); opacity: .9; }
.profile-portrait::after { content: ""; position: absolute; inset: -14px; border-radius: 38px; border: 1px solid rgba(255,255,255,.14); pointer-events: none; }
.profile .profile-photo { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; border-radius: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.85); }
.profile-actions { display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; }
.profile-email { overflow-wrap: anywhere; }
.profile-email svg { width: 18px; height: 18px; flex: none; }
.profile-back { color: #dfe2ff; font-weight: 600; text-decoration: none; display: inline-flex; gap: .45rem; align-items: center; }
.profile-back::before { content: "←"; transition: transform .2s; }
.profile-back:hover { color: var(--gold-soft); }
.profile-back:hover::before { transform: translateX(-4px); }

.profile-content { padding: clamp(2.5rem, 2rem + 4vw, 6.5rem) clamp(1.5rem, 1rem + 5vw, 7rem) clamp(3rem, 2rem + 4vw, 6rem); display: flex; flex-direction: column; gap: 1.1rem; max-width: 980px; }
.profile .crumbs, .profile .crumbs a { color: var(--muted); }
.profile h1 { font-size: clamp(2.5rem, 1.4rem + 3.8vw, 5rem); line-height: 1.02; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.profile-role { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); line-height: 1.3; background: linear-gradient(110deg, var(--blue) 0%, var(--violet) 45%, var(--magenta) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.profile .profile-also { color: var(--muted); font-size: 1rem; }
.profile-rule { display: block; width: 72px; height: 4px; border-radius: 4px; background: var(--grad-action); margin: .6rem 0 .8rem; }
.profile-bio { max-width: 66ch; font-size: 1.08rem; line-height: 1.8; color: #2a2e57; }
.profile-bio > p:first-child { font-size: 1.22em; line-height: 1.65; color: var(--ink); }
.profile-bio > p:first-child::first-letter { float: left; font-family: var(--font-display); font-weight: 700; font-size: 3.4em; line-height: .82; padding: .08em .12em 0 0; background: var(--grad-action); -webkit-background-clip: text; background-clip: text; color: transparent; }
.profile-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 !important; margin: .4rem 0 1.2rem !important; }
.profile-tags li { padding: .45rem 1rem; border-radius: 999px; background: #efeafe; color: var(--violet); font-weight: 600; font-size: .92rem; line-height: 1.3; }

.profile-more .people-grid { margin-top: .5rem; }

@media (max-width: 960px) {
  .profile { grid-template-columns: 1fr; }
  .profile-media { position: relative; top: 0; height: auto; min-height: 0; padding: 2.5rem 1.25rem 2.25rem; gap: 1.5rem; }
  .profile-portrait { width: min(72%, 320px); }
  .profile-content { padding: 2.25rem max(20px, env(safe-area-inset-left, 0px)) 3rem; }
}

/* ======================================================================
   Get Involved: ways to help, giving card, partner cards, jobs board
   ====================================================================== */
.impact .link-arrow { margin-top: auto; padding-top: .4rem; }
.role-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1250px) { .role-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .role-grid--4 { grid-template-columns: 1fr; } }
.role-grid > .role .link-arrow { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: .95rem; }
.role-grid > .role { color: var(--ink); }

.section--dark .give-card { color: var(--ink); }
.section--dark .give-card h3 { color: var(--ink); }
.section--dark .give-card a:not(.btn) { color: var(--blue); }
.give-card { align-items: flex-start; }
.give-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--grad-action); color: #fff; box-shadow: 0 16px 30px -14px rgba(210,31,192,.9); }
.give-icon svg { width: 28px; height: 28px; }
.give-card .btn { padding: 1rem 1.8rem; font-size: 1.05rem; }
.give-note { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; width: 100%; }

.jobs { display: grid; gap: 1rem; }
.job-empty { display: flex; gap: 1.2rem; align-items: flex-start; padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem); border-radius: calc(var(--radius) * 1.3); background: linear-gradient(160deg, var(--lilac) 0%, #fff 90%); border: 1px dashed #c9c0ea; }
.job-empty h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.job-empty p { color: var(--muted); }
.job { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); border-radius: calc(var(--radius) * 1.2); background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(13,16,55,.35); border-left: 4px solid var(--violet); }
.job-head { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; width: 100%; }
.job-head h3 { font-size: clamp(1.2rem, 1.05rem + .4vw, 1.45rem); }
.job-meta { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 0; margin: 0; color: var(--muted); font-size: .93rem; }
.job-meta li { display: inline-flex; align-items: center; gap: .4rem; }
.job-meta svg { width: 17px; height: 17px; color: var(--violet); }
.job p { color: var(--muted); }

/* ======================================================================
   Numbered steps, second design: a connected journey
   Gradient number badges joined by a thin line, a large faint step number
   in each card, light lilac cards on light sections, frosted glass on dark.
   ====================================================================== */
.steps { --g: clamp(1rem, 1.8vw, 2rem); --pad: clamp(1.6rem, 1.2rem + 1.3vw, 2.5rem); position: relative; gap: var(--g); }
.steps li { position: relative; z-index: 1; overflow: hidden; gap: .7rem; padding: var(--pad); border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(165deg, #ffffff 0%, #f6f2ff 55%, #fbeefa 100%); box-shadow: 0 22px 48px -34px rgba(13,16,55,.5);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.steps li:hover { transform: translateY(-6px); border-color: rgba(107,63,242,.3); box-shadow: 0 36px 64px -32px rgba(107,63,242,.55); }
.steps li::before { position: relative; z-index: 2; width: 60px; height: 60px; margin-bottom: .5rem; font-size: 1.45rem; background: var(--grad-action); color: #fff;
  box-shadow: 0 0 0 8px rgba(210,31,192,.1), 0 16px 28px -12px rgba(210,31,192,.85); }
.steps li::after { content: counter(step, decimal-leading-zero); position: absolute; right: .1em; bottom: -.22em; z-index: -1; font-family: var(--font-display); font-weight: 700; font-size: clamp(5.5rem, 4rem + 4vw, 8.5rem); line-height: 1; letter-spacing: -.04em; color: rgba(107,63,242,.07); pointer-events: none; }
.steps h3 { font-size: clamp(1.2rem, 1.05rem + .45vw, 1.45rem); }
.steps p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
@media (min-width: 1001px) {
  /* the line that joins the number badges runs behind the cards and shows in the gaps */
  .steps::before { content: ""; position: absolute; z-index: 0; left: calc(var(--pad) + 30px); right: calc((100% - 3 * var(--g)) / 4 - var(--pad) - 30px); top: calc(var(--pad) + 30px); height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), var(--violet), var(--magenta), var(--gold)); opacity: .55; }
}

/* on a dark band the cards turn to frosted glass */
.section--dark .steps li { background: linear-gradient(165deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.03) 100%); border-color: rgba(255,255,255,.13); box-shadow: 0 30px 60px -40px rgba(0,0,0,.9); backdrop-filter: blur(6px); }
.section--dark .steps li:hover { border-color: rgba(247,168,232,.55); box-shadow: 0 40px 70px -36px rgba(210,31,192,.55); }
.section--dark .steps li::before { box-shadow: 0 0 0 8px rgba(255,255,255,.07), 0 16px 30px -12px rgba(210,31,192,.9); }
.section--dark .steps li::after { color: rgba(255,255,255,.06); }
.section--dark .steps h3 { color: #fff; }
.section--dark .steps p { color: var(--on-dark-muted); }
.section--dark .steps::before { opacity: .8; }

/* ======================================================================
   Get Involved: the four ways to help as photo cards
   ====================================================================== */
.impact.way { position: relative; isolation: isolate; overflow: hidden; justify-content: flex-end; min-height: clamp(380px, 30vw, 480px); border: 0; color: #fff; background: var(--ink); box-shadow: 0 30px 60px -34px rgba(13,16,55,.7); }
.impact.way .way-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.impact.way::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity .4s ease;
  background: linear-gradient(180deg, rgba(13,16,55,.15) 0%, rgba(13,16,55,.55) 40%, rgba(13,16,55,.94) 78%, rgba(13,16,55,.98) 100%); }
.impact.way::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: box-shadow .4s ease; }
.impact.way:hover { transform: translateY(-8px); box-shadow: 0 46px 80px -36px rgba(107,63,242,.75); }
.impact.way:hover .way-photo { transform: scale(1.08); }
.impact.way:hover::after { box-shadow: inset 0 0 0 2px rgba(247,168,232,.7); }
.impact.way > svg { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); box-shadow: none; transition: background .35s; }
.impact.way:hover > svg { background: var(--grad-action); border-color: transparent; }
.impact.way h3 { color: #fff; font-size: clamp(1.4rem, 1.15rem + .7vw, 1.8rem); }
.impact.way p { color: #dfe2ff; }
.impact.way .link-arrow { align-self: flex-start; margin-top: .4rem; padding: .55rem 1.1rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: var(--gold-soft); backdrop-filter: blur(6px); transition: background .3s, color .3s, border-color .3s; }
.impact.way:hover .link-arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.impact.way .link-arrow::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.impact.way .link-arrow { position: static; }

/* Volunteer page: the "why volunteer" cards each carry their own colour */
.impact-grid:not(.impact-grid--ways) .impact { --c: var(--blue); position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.impact-grid:not(.impact-grid--ways) .impact:nth-child(2) { --c: var(--violet); }
.impact-grid:not(.impact-grid--ways) .impact:nth-child(3) { --c: var(--magenta); }
.impact-grid:not(.impact-grid--ways) .impact:nth-child(4) { --c: #d98a00; }
.impact-grid:not(.impact-grid--ways) .impact::before { content: ""; position: absolute; right: -4rem; top: -4rem; width: 12rem; height: 12rem; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent) 0%, transparent 70%); pointer-events: none; transition: transform .5s ease; }
.impact-grid:not(.impact-grid--ways) .impact::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 30%, transparent)); transform: scaleX(.25); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.impact-grid:not(.impact-grid--ways) .impact:hover::after { transform: scaleX(1); }
.impact-grid:not(.impact-grid--ways) .impact:hover::before { transform: scale(1.3); }
.impact-grid:not(.impact-grid--ways) .impact > svg { background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #ff6fd8)); box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--c) 85%, transparent); position: relative; }

/* ======================================================================
   Get Involved: partner cards with a coloured, patterned header
   ====================================================================== */
.role-grid--4 > .role { --c1: var(--blue); --c2: var(--violet); position: relative; padding: 0; gap: 0; overflow: hidden; border: 0; border-radius: 24px; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 26px 54px -34px rgba(13,16,55,.5); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.role-grid--4 > .role:nth-child(2) { --c1: var(--violet); --c2: var(--magenta); }
.role-grid--4 > .role:nth-child(3) { --c1: var(--magenta); --c2: #f0623f; }
.role-grid--4 > .role:nth-child(4) { --c1: #e08a00; --c2: var(--magenta); }
.role-grid--4 > .role:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 44px 80px -40px color-mix(in srgb, var(--c1) 75%, transparent); }

.role-grid--4 > .role .role-head { position: relative; isolation: isolate; overflow: hidden; flex-direction: column; align-items: flex-start; gap: 1.1rem; min-height: 168px; padding: 1.8rem 1.7rem 1.6rem;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.24) 1px, transparent 1.6px) 0 0 / 16px 16px, linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  transition: background-position .8s ease; }
.role-grid--4 > .role:hover .role-head { background-position: 8px 8px, 0 0; }
.role-grid--4 > .role .role-head::after { content: ""; position: absolute; z-index: -1; right: -3.5rem; top: -3.5rem; width: 11rem; height: 11rem; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 70%); transition: transform .6s ease; }
.role-grid--4 > .role:hover .role-head::after { transform: scale(1.35); }
.role-grid--4 > .role .role-head svg { width: 54px; height: 54px; padding: 13px; border-radius: 16px; color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.38); backdrop-filter: blur(6px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.35); transition: background .35s, color .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.role-grid--4 > .role:hover .role-head svg { background: #fff; color: var(--c1); transform: rotate(-6deg) scale(1.05); }
.role-grid--4 > .role .role-head h3 { color: #fff; font-size: clamp(1.25rem, 1.1rem + .45vw, 1.5rem); line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.18); }

.role-grid--4 > .role > p { padding: 1.4rem 1.7rem 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.role-grid--4 > .role > .link-arrow { position: static; align-self: flex-start; margin: auto 1.7rem 1.7rem; margin-top: auto; padding: .6rem 1.15rem; border: 1.5px solid color-mix(in srgb, var(--c1) 35%, transparent); border-radius: 999px; color: var(--c1); font-size: .93rem; transition: background .3s, color .3s, border-color .3s; }
.role-grid--4 > .role > p + .link-arrow { margin-top: 1.4rem; }
.role-grid--4 > .role:hover > .link-arrow { background: linear-gradient(135deg, var(--c1), var(--c2)); border-color: transparent; color: #fff; }
.role-grid--4 > .role > .link-arrow::before { content: ""; position: absolute; inset: 0; z-index: 3; }
.role-grid--4 > .role { display: flex; flex-direction: column; }
.role-grid--4 > .role > p { flex: 1; }

/* ======================================================================
   Get Involved: "Spread the word" as a vibrant closing band
   ====================================================================== */
.spread { position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(40rem 26rem at 0% 0%, rgba(255,216,138,.28), transparent 60%), radial-gradient(44rem 30rem at 100% 100%, rgba(43,62,224,.55), transparent 62%), linear-gradient(125deg, #6b2bd9 0%, #a51fc8 48%, #d21fc0 100%); }
.spread::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 70rem; height: 70rem; border-radius: 50%; border: 70px solid rgba(255,255,255,.05); transform: rotate(-20deg); }
.spread::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 1.6px) 0 0 / 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); }
.spread .eyebrow { color: var(--gold-soft); }
.spread .eyebrow::before { background: var(--gold); }
.spread h2 { color: #fff; }
.spread .lead { color: rgba(255,255,255,.88); }
.spread .wrap:not(.split) > .stack > .lead { border-left-color: rgba(255,255,255,.3) !important; }

.spread-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 2rem); }
.spread-card { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; padding: clamp(1.7rem, 1.3rem + 1.3vw, 2.6rem); border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.07) 100%); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -36px rgba(30,0,60,.8), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .4s cubic-bezier(.2,.7,.2,1), background .4s ease; }
.spread-card:hover { transform: translateY(-8px); background: linear-gradient(160deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.1) 100%); }
.spread-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; background: #fff; color: var(--magenta); box-shadow: 0 18px 34px -16px rgba(30,0,60,.7); margin-bottom: .4rem; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.spread-icon svg { width: 32px; height: 32px; }
.spread-card:hover .spread-icon { transform: rotate(-8deg) scale(1.06); }
.spread-card h3 { color: #fff; font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); }
.spread-card p { color: rgba(255,255,255,.86); flex: 1; }
.spread-btn { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; padding: .75rem 1.35rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 14px 28px -14px rgba(30,0,60,.8); transition: transform .2s, box-shadow .2s, color .2s; }
.spread-btn::after { content: "→"; transition: transform .2s; }
.spread-btn:hover { color: var(--magenta-dark); transform: translateY(-2px); }
.spread-btn:hover::after { transform: translateX(4px); }
.spread-socials { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.spread-socials a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); color: #fff; transition: background .2s, color .2s, transform .2s; }
.spread-socials a svg { width: 21px; height: 21px; }
.spread-socials a:hover { background: #fff; color: var(--magenta); transform: translateY(-3px); }
.spread a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 960px) { .spread-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   Volunteer roles: colour-coded cards with a tick-box chip that mirrors
   the option people tick on the application form
   ====================================================================== */
.role-grid:not(.role-grid--4) > .role { --c1: #2b3ee0; --c2: #6b3ff2; position: relative; isolation: isolate; overflow: hidden; gap: 1rem;
  padding: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); border-radius: 26px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 22px 50px -34px rgba(13,16,55,.45); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.role-grid:not(.role-grid--4) > .role:nth-child(2) { --c1: #6b3ff2; --c2: #b23be8; }
.role-grid:not(.role-grid--4) > .role:nth-child(3) { --c1: #d21fc0; --c2: #f0623f; }
.role-grid:not(.role-grid--4) > .role:nth-child(4) { --c1: #0e9f9a; --c2: #2b3ee0; }
.role-grid:not(.role-grid--4) > .role:nth-child(5) { --c1: #e08a00; --c2: #f0623f; }
.role-grid:not(.role-grid--4) > .role:nth-child(6) { --c1: #d21fc0; --c2: #6b3ff2; }

/* colour orb in the corner */
.role-grid:not(.role-grid--4) > .role::before { content: ""; position: absolute; z-index: -1; right: -5rem; top: -5rem; width: 15rem; height: 15rem; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 20%, transparent) 0%, color-mix(in srgb, var(--c2) 8%, transparent) 45%, transparent 70%); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
/* gradient outline that draws in on hover */
.role-grid:not(.role-grid--4) > .role::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .35s ease; }
.role-grid:not(.role-grid--4) > .role:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 40px 70px -38px color-mix(in srgb, var(--c1) 70%, transparent); }
.role-grid:not(.role-grid--4) > .role:hover::before { transform: scale(1.5); }
.role-grid:not(.role-grid--4) > .role:hover::after { opacity: 1; }

.role-grid:not(.role-grid--4) > .role .role-head { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.role-grid:not(.role-grid--4) > .role .role-head svg { width: 64px; height: 64px; padding: 16px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--c1) 85%, transparent); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.role-grid:not(.role-grid--4) > .role:hover .role-head svg { background: linear-gradient(135deg, var(--c1), var(--c2)); transform: rotate(-8deg) scale(1.06); }
.role-grid:not(.role-grid--4) > .role h3 { color: var(--ink); font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); }
.role-grid:not(.role-grid--4) > .role > p:not(.role-tag) { color: var(--muted); font-size: 1rem; line-height: 1.65; }

/* the tick-box chip */
.role-grid:not(.role-grid--4) > .role .role-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem; margin-top: auto; padding: .5rem 1rem .5rem .55rem; border: 1.5px solid color-mix(in srgb, var(--c1) 28%, transparent); border-radius: 999px;
  background: color-mix(in srgb, var(--c1) 7%, #fff); color: var(--c1); font-size: .86rem; font-weight: 700; letter-spacing: .01em; transition: background .3s, color .3s, border-color .3s; }
.role-grid:not(.role-grid--4) > .role .role-tag::before { content: "✓"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-size: .8rem; }
.role-grid:not(.role-grid--4) > .role:hover .role-tag { background: linear-gradient(135deg, var(--c1), var(--c2)); border-color: transparent; color: #fff; }
.role-grid:not(.role-grid--4) > .role:hover .role-tag::before { background: #fff; color: var(--c1); }

/* ======================================================================
   Photo strip as a gliding slideshow (motion.js builds the track)
   ====================================================================== */
.photo-strip.is-carousel { display: block; overflow: hidden; padding-block: 6px; position: relative; }
.strip-track { display: flex; gap: 6px; will-change: transform; }
.strip-track > figure { flex: 0 0 calc((100% - 3 * 6px) / 4); }
.photo-strip.is-carousel img { height: clamp(260px, 25vw, 430px); }
.photo-strip.is-carousel::before, .photo-strip.is-carousel::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: clamp(24px, 5vw, 90px); pointer-events: none; }
.photo-strip.is-carousel::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.photo-strip.is-carousel::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.photo-strip.is-static { overflow-x: auto; scroll-snap-type: x mandatory; }
.photo-strip.is-static .strip-track > figure { scroll-snap-align: start; }
@media (max-width: 1000px) { .strip-track > figure { flex-basis: calc((100% - 6px) / 2); } }
@media (max-width: 560px) { .strip-track > figure { flex-basis: 82%; } .photo-strip.is-carousel img { height: 240px; } }

/* ======================================================================
   Contact page: colour-coded contact tiles over the header, framed
   form and a dark map panel
   ====================================================================== */
.page-hero--contact > .wrap { padding-bottom: clamp(6rem, 4rem + 6vw, 9.5rem); }
.contact-hub { padding-top: 0; }
.contact-grid { position: relative; z-index: 3; margin-top: calc(-1 * clamp(3.5rem, 2rem + 4vw, 6rem)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.75rem); }
@media (max-width: 1150px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-tile { --c1: #2b3ee0; --c2: #6b3ff2; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  padding: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 7%, #fff) 0%, #fff 48%);
  box-shadow: 0 34px 70px -40px rgba(13,16,55,.6); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.contact-tile:nth-child(2) { --c1: #6b3ff2; --c2: #d21fc0; }
.contact-tile:nth-child(3) { --c1: #d21fc0; --c2: #f0623f; }
.contact-tile:nth-child(4) { --c1: #e08a00; --c2: #f0623f; }
.contact-tile::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .35s ease; }
.contact-tile:hover { transform: translateY(-8px); box-shadow: 0 44px 80px -40px color-mix(in srgb, var(--c1) 70%, transparent); }
.contact-tile:hover::after { opacity: 1; }
.tile-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1rem; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--c1) 85%, transparent); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.tile-icon svg { width: 28px; height: 28px; }
.contact-tile:hover .tile-icon { transform: rotate(-8deg) scale(1.06); }
.tile-label { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c1); margin-bottom: .2rem; }
.tile-main { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.05rem + .45vw, 1.45rem); line-height: 1.3; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.tile-main:hover { color: var(--c1); }
.tile-second { margin-top: .6rem; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.tile-second { color: var(--c1); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--c1) 40%, transparent); }
.tile-sub { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.tile-sub--small { margin-top: .6rem; font-size: .86rem; }
.tile-action { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.15rem; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--c1, var(--violet)) 35%, transparent); color: var(--c1, var(--violet)); font-weight: 700; font-size: .93rem; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.contact-tile .tile-action { margin-top: auto; }
.contact-tile > .tile-sub + .tile-action, .contact-tile > .tile-second + .tile-action { margin-top: 1.2rem; }
.tile-action::after { content: "→"; transition: transform .2s; }
.tile-action:hover, .contact-tile:hover .tile-action { background: linear-gradient(135deg, var(--c1, var(--violet)), var(--c2, var(--magenta))); border-color: transparent; color: #fff; }
.tile-action:hover::after { transform: translateX(3px); }

.open-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .65rem; border-radius: 999px; background: #eef0f6; color: var(--muted); font-size: .7rem; letter-spacing: .06em; }
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-badge.is-open { background: #dcf5e6; color: #13804a; }
.open-badge.is-open::before { box-shadow: 0 0 0 0 rgba(19,128,74,.6); animation: pulse 2s infinite; }
.open-badge.is-closed { background: #fde9e7; color: #b3261e; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(19,128,74,.55); } 70% { box-shadow: 0 0 0 8px rgba(19,128,74,0); } 100% { box-shadow: 0 0 0 0 rgba(19,128,74,0); } }

.contact-panels { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1rem, 2vw, 2rem); align-items: start; margin-top: clamp(1rem, 2vw, 2rem); }
@media (max-width: 960px) { .contact-panels { grid-template-columns: 1fr; } }
.contact-panel { display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.6rem, 1.2rem + 1.6vw, 3rem); border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 34px 70px -44px rgba(13,16,55,.55); }
.contact-panel .embed { margin-top: .6rem; border-radius: 20px; border: 1px solid var(--line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.contact-panel--map { position: sticky; top: calc(var(--header-h, 72px) + 1.5rem); color: var(--on-dark); border: 0; background: radial-gradient(30rem 20rem at 100% 0%, rgba(210,31,192,.3), transparent 60%), radial-gradient(26rem 20rem at 0% 100%, rgba(43,62,224,.5), transparent 62%), var(--ink); }
@media (max-width: 960px) { .contact-panel--map { position: static; } }
.contact-panel--map h2 { color: #fff; }
.contact-panel--map p:not(.eyebrow) { color: var(--on-dark-muted); }
.contact-panel--map .eyebrow { color: var(--gold-soft); }
.contact-panel--map .eyebrow::before { background: var(--gold); }
.contact-panel--map .embed { border-color: rgba(255,255,255,.14); }
.tile-action--light { --c1: #ffd88a; --c2: #f7a8e8; color: var(--gold-soft); border-color: rgba(255,216,138,.45); margin-top: .4rem; }
.tile-action--light:hover { color: var(--ink); background: var(--gold); }

a.tile-main[href^="mailto:"] { font-family: var(--font-body); font-weight: 700; font-size: clamp(1rem, .92rem + .25vw, 1.12rem); overflow-wrap: normal; word-break: normal; }

/* Built-in contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: .4rem; }
.contact-form .btn[type="submit"] { padding: .95rem 1.8rem; font-size: 1.02rem; }
.contact-success { --c1: #6b3ff2; --c2: #d21fc0; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; margin-top: .4rem; padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); border-radius: 22px; background: linear-gradient(160deg, var(--lilac) 0%, #fff 90%); border: 1px solid var(--line); }
.contact-success h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); }
.contact-success p { color: var(--muted); }
.contact-success .tile-icon { margin-bottom: .3rem; }

/* ---------- Home: the four programmes ----------
   Each programme carries its own accent through the tag, icon, arrow and hover bar.
   The whole card is one link (the "Learn more" link is stretched over it). */
.programmes { counter-reset: prog; gap: clamp(1rem, .5rem + 1.1vw, 1.75rem); }
.programmes > .programme {
  --accent: var(--violet); --accent-ink: #5a2fd6; --accent-soft: #efeafe;
  counter-increment: prog; position: relative; isolation: isolate; overflow: hidden;
  border: 0; border-radius: 22px; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 20px 44px -30px rgba(13,16,55,.5);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.programmes > .programme:nth-child(4n+2) { --accent: var(--magenta); --accent-ink: #a8169a; --accent-soft: #fde8fa; }
.programmes > .programme:nth-child(4n+3) { --accent: #e9a21c; --accent-ink: #8f5a00; --accent-soft: #fff1d6; }
.programmes > .programme:nth-child(4n+4) { --accent: var(--blue); --accent-ink: #2433c4; --accent-soft: #e7eaff; }
.programmes > .programme:hover {
  transform: translateY(-8px);
  box-shadow: 0 1px 0 var(--line), 0 34px 64px -34px color-mix(in srgb, var(--accent) 60%, rgba(13,16,55,.7));
}
.programmes > .programme:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }
/* accent bar that sweeps along the bottom on hover */
.programmes > .programme::after {
  content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent);
  transform: scaleX(.16); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.programmes > .programme:hover::after { transform: scaleX(1); }

.programme-media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--lilac-2); }
.programme-media .card-media { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; }
.programme-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,16,55,0) 50%, rgba(13,16,55,.5) 100%),
              linear-gradient(140deg, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 45%);
}
.programme-media::before {
  content: counter(prog, decimal-leading-zero); position: absolute; z-index: 2; top: 14px; left: 14px;
  font: 700 .78rem/1 var(--font-body); letter-spacing: .12em; color: #fff;
  padding: .45rem .65rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(13,16,55,.38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.programme .card-body { position: static; padding: 0 clamp(1.25rem, 1rem + .5vw, 1.6rem) 1.4rem; gap: .7rem; }
.programme-icon {
  position: relative; z-index: 2; align-self: flex-end; margin: -30px 0 -.2rem;
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  color: #fff; background: var(--accent);
  box-shadow: 0 0 0 6px #fff, 0 14px 26px -12px var(--accent);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.programme-icon svg { width: 28px; height: 28px; }
.programme:hover .programme-icon { transform: translateY(-5px) rotate(-6deg); }
.programme .tag { color: var(--accent-ink); background: var(--accent-soft); }
.programme h3 { font-size: clamp(1.22rem, 1.05rem + .45vw, 1.45rem); line-height: 1.18; text-wrap: balance; }
.programme .card-body p { font-size: .98rem; line-height: 1.62; }
.programme .link-arrow {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); width: 100%;
  justify-content: space-between; align-items: center; color: var(--ink); font-size: .98rem;
}
.programme .link-arrow:hover { color: var(--accent-ink); }
.programme .link-arrow::after {
  content: "→"; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.05rem; color: var(--accent-ink); background: var(--accent-soft);
  transition: background .3s, color .3s, transform .3s;
}
.programme:hover .link-arrow::after { background: var(--accent); color: #fff; transform: translateX(4px); }
.programme .link-arrow::before { content: ""; position: absolute; inset: 0; z-index: 4; }   /* whole card clickable */
[data-cms-edit] .programme .link-arrow::before { display: none; }                          /* ...but not while staff edit the text */
.programme:hover .card-media { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .programmes > .programme, .programme-icon, .programme .card-media, .programmes > .programme::after { transition: none; }
  .programmes > .programme:hover { transform: none; }
}

/* ---------- Home: "What we do" capabilities panel ----------
   One joined panel split by hairlines (the 1px grid gap shows the line colour through),
   with a numbered corner, gradient icon tile and a sliding edge bar on hover. */
.capabilities {
  counter-reset: cap; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 70px -48px rgba(13,16,55,.55);
}
.capabilities > .feature {
  counter-increment: cap; position: relative; overflow: hidden;
  flex-direction: column; gap: 1.15rem; align-items: flex-start;
  padding: clamp(1.6rem, 1.2rem + 1.1vw, 2.5rem);
  background: #fff; transition: background .4s ease;
}
.capabilities > .feature::before {
  content: counter(cap, decimal-leading-zero); position: absolute; top: clamp(1.1rem, .9rem + .6vw, 1.7rem); right: clamp(1.2rem, 1rem + .7vw, 1.9rem);
  font: 700 clamp(2.4rem, 2rem + 1.2vw, 3.2rem)/1 var(--font-display); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.2px #d7cff4; transition: color .4s ease, -webkit-text-stroke-color .4s ease;
}
.capabilities > .feature::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-action);
  transform: scaleY(0); transform-origin: top; transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.capabilities > .feature:hover { background: linear-gradient(155deg, #f8f5ff 0%, #fff 65%); }
.capabilities > .feature:hover::before { color: #ebe5fd; -webkit-text-stroke-color: transparent; }
.capabilities > .feature:hover::after { transform: scaleY(1); }
.capabilities .feature-icon {
  width: 58px; height: 58px; border-radius: 17px; color: var(--violet);
  background: linear-gradient(135deg, #f1ecff 0%, #fde9fa 100%);
  box-shadow: inset 0 0 0 1px rgba(107,63,242,.14);
}
.capabilities .feature-icon svg { width: 27px; height: 27px; }
.capabilities > .feature:hover .feature-icon {
  background: var(--grad-action); color: #fff; transform: translateY(-3px) rotate(-6deg);
  box-shadow: 0 14px 26px -12px rgba(154,53,238,.75);
}
.capabilities .feature h3 { font-size: clamp(1.14rem, 1rem + .4vw, 1.34rem); line-height: 1.25; text-wrap: balance; }
.capabilities > .feature > div { max-width: 34ch; }
@media (max-width: 620px) {
  .capabilities > .feature { gap: .8rem; padding: 1.35rem 1.3rem 1.45rem; }
  .capabilities .feature-icon { width: 50px; height: 50px; border-radius: 15px; }
  .capabilities > .feature::before { font-size: 2.2rem; }
}
.capabilities .feature p { margin-top: .5rem; font-size: 1rem; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  .capabilities > .feature, .capabilities > .feature::after, .capabilities .feature-icon { transition: none; }
}

/* ---------- Home: vision, mission and goal ----------
   Glass statements with an accent-tinted gradient border, icon + label header,
   a faint quotation-mark watermark and a growing accent line. Mission, in the
   middle, is warmer and raised slightly so the row has a focal point. */
.statements { gap: clamp(1rem, .6rem + 1vw, 1.7rem); align-items: stretch; }
.statements > .statement {
  --accent: var(--gold); --accent-soft: rgba(247,185,62,.14);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; align-items: center; align-content: start; column-gap: .95rem; row-gap: 1.2rem;
  padding: clamp(1.7rem, 1.2rem + 1.5vw, 2.8rem);
  border: 1px solid transparent; border-radius: 26px; backdrop-filter: none;
  background:
    linear-gradient(165deg, #1e2263 0%, #15184a 60%, #121543 100%) padding-box,
    linear-gradient(150deg, var(--accent) 0%, rgba(255,255,255,.16) 38%, rgba(255,255,255,.07) 100%) border-box;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.statements > .statement:nth-child(3n+2) {
  --accent: #f57ae8; --accent-soft: rgba(245,122,232,.15);
  background:
    linear-gradient(165deg, #4a1d72 0%, #2c1a63 50%, #171a4c 100%) padding-box,
    linear-gradient(150deg, var(--accent) 0%, rgba(255,255,255,.2) 40%, rgba(255,255,255,.08) 100%) border-box;
  transform: translateY(-14px);
  box-shadow: 0 40px 70px -40px rgba(210,31,192,.55);
}
.statements > .statement:nth-child(3n+3) { --accent: #b39bff; --accent-soft: rgba(179,155,255,.15); }
.statements > .statement:hover { transform: translateY(-8px); box-shadow: 0 36px 70px -38px color-mix(in srgb, var(--accent) 55%, #000); }
.statements > .statement:nth-child(3n+2):hover { transform: translateY(-20px); }
/* quotation-mark watermark */
.statements > .statement::after {
  content: "\201C"; position: absolute; z-index: -1; right: .9rem; bottom: -3.4rem;
  font: 700 13rem/1 var(--font-display); color: var(--accent); opacity: .09; pointer-events: none;
}
/* accent line along the bottom */
.statements > .statement::before {
  content: ""; position: absolute; left: clamp(1.7rem, 1.2rem + 1.5vw, 2.8rem); bottom: 0; width: 54px; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--accent); transition: width .55s cubic-bezier(.2,.7,.2,1);
}
.statements > .statement:hover::before { width: calc(100% - 2 * clamp(1.7rem, 1.2rem + 1.5vw, 2.8rem)); }
.statement-icon {
  width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
  color: var(--accent); background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 38%, transparent);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.statement-icon svg { width: 27px; height: 27px; }
.statements > .statement:hover .statement-icon { transform: rotate(-8deg) scale(1.06); }
.statements .statement .eyebrow { margin: 0; color: var(--accent); font-size: .86rem; letter-spacing: .17em; }
.statements .statement > p:not(.eyebrow) {
  grid-column: 1 / -1; margin: 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.13);
  color: var(--on-dark); font-family: var(--font-display); font-size: clamp(1.14rem, 1rem + .45vw, 1.42rem); line-height: 1.52;
}
@media (max-width: 1000px) { .statements > .statement:nth-child(3n+2), .statements > .statement:nth-child(3n+2):hover { transform: none; } }
@media (max-width: 1000px) and (min-width: 621px) { .statements > .statement:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) {
  .statements > .statement, .statements > .statement::before, .statement-icon { transition: none; }
  .statements > .statement:hover { transform: none; }
}

/* ---------- Home: stories / team / get involved pathway cards ----------
   Full-bleed photo cards with a rising ink gradient, a frosted label chip, and a
   full-width centred glass button. The button's link is stretched over the card. */
.pathways { gap: clamp(1rem, .6rem + 1vw, 1.7rem); }
.pathways > .pathway {
  --accent: var(--magenta); --accent-ink: #b0179f; --accent-rgb: 210, 31, 192;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(440px, 33vw, 560px); padding: 0; border: 0; border-radius: 26px; background: var(--ink);
  box-shadow: 0 30px 60px -36px rgba(13,16,55,.7);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.pathways > .pathway:nth-child(3n+2) { --accent: #8b63ff; --accent-ink: #5a2fd6; --accent-rgb: 139, 99, 255; }
.pathways > .pathway:nth-child(3n+3) { --accent: var(--gold); --accent-ink: #8f5a00; --accent-rgb: 247, 185, 62; }
.pathways > .pathway:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -36px rgba(var(--accent-rgb), .6); }
.pathway-media {
  position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.pathway:hover .pathway-media { transform: scale(1.08); }
/* legibility gradient + accent wash on hover */
.pathway::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(13,16,55,.18) 0%, rgba(13,16,55,.08) 28%, rgba(13,16,55,.6) 58%, rgba(13,16,55,.94) 100%);
}
.pathway::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(200deg, rgba(var(--accent-rgb), .55) 0%, rgba(var(--accent-rgb), .12) 45%, transparent 70%);
  transition: opacity .55s ease;
}
.pathway:hover::after { opacity: 1; }
.pathway-kicker {
  position: absolute; top: 1.15rem; left: 1.15rem; display: inline-flex; align-items: center; gap: .55rem;
  padding: .35rem .85rem .35rem .35rem; border-radius: 999px; color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(13,16,55,.35); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pathway-kicker-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.pathway-kicker-icon svg { width: 16px; height: 16px; }
.pathway:nth-child(3n+3) .pathway-kicker-icon { color: var(--ink); }
.pathway-body { display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.4rem, 1rem + 1vw, 2.1rem); color: #fff; }
.pathway-body h3 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.15rem); line-height: 1.1; }
.pathway-body h3::after { content: ""; display: block; width: 44px; height: 3px; margin-top: .75rem; border-radius: 3px; background: var(--accent); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.pathway:hover .pathway-body h3::after { width: 88px; }
.pathway-body p { color: rgba(255,255,255,.84); font-size: 1.02rem; line-height: 1.55; max-width: 36ch; }
.pathway-btn {
  margin-top: .9rem; display: flex; align-items: center; justify-content: center; gap: .65rem; width: 100%;
  padding: .95rem 1.3rem; border-radius: 999px; text-align: center; text-decoration: none;
  color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.42);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.pathway-btn::after { content: "→"; font-size: 1.1rem; transition: transform .35s ease, color .35s ease; }
.pathway-btn::before { content: ""; position: absolute; inset: 0; z-index: 5; }          /* whole card clickable */
.pathway:hover .pathway-btn, .pathway-btn:focus-visible {
  background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 16px 34px -14px rgba(var(--accent-rgb), .85);
}
.pathway:hover .pathway-btn::after, .pathway-btn:focus-visible::after { transform: translateX(5px); color: var(--accent-ink); }
.pathway-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
[data-cms-edit] .pathway-btn::before { display: none; }
@media (max-width: 1000px) and (min-width: 621px) {
  .pathways > .pathway:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 380px; }
}
@media (max-width: 620px) { .pathways > .pathway { min-height: 420px; } }
@media (prefers-reduced-motion: reduce) {
  .pathways > .pathway, .pathway-media, .pathway::after, .pathway-btn, .pathway-btn::after { transition: none; }
  .pathways > .pathway:hover { transform: none; }
  .pathway:hover .pathway-media { transform: none; }
}

/* ---------- Home: the four pillars (Research, Education, Awareness, The Law) ----------
   Separate floating cards, one accent each; the watermark moves to the corner, clear
   of the text, and the link becomes a full-width button stretched over the card. */
.pillars { gap: clamp(.9rem, .6rem + .9vw, 1.5rem); background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.pillars > .pillar {
  --accent: var(--violet); --accent-ink: #5a2fd6; --accent-soft: #f0ebff; --accent-rgb: 107, 63, 242;
  border: 0; border-radius: 24px; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -32px rgba(13,16,55,.5);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); gap: .8rem;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease, background .3s ease;
}
.pillars > .pillar:nth-child(4n+2) { --accent: var(--magenta); --accent-ink: #a8169a; --accent-soft: #fde9fa; --accent-rgb: 210, 31, 192; }
.pillars > .pillar:nth-child(4n+3) { --accent: #eaa21d; --accent-ink: #8f5a00; --accent-soft: #fff2d9; --accent-rgb: 234, 162, 29; }
.pillars > .pillar:nth-child(4n+4) { --accent: var(--blue); --accent-ink: #2433c4; --accent-soft: #e8ebff; --accent-rgb: 43, 62, 224; }
.pillars > .pillar:hover {
  transform: translateY(-7px); background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 34px 60px -32px rgba(var(--accent-rgb), .55);
}
.pillars > .pillar::before { height: 4px; background: var(--accent); transform: scaleX(.22); }      /* accent bar, grows on hover */
.pillars > .pillar:hover::before, .pillars > .pillar:focus-within::before { transform: scaleX(1); }
.pillars > .pillar::after {                                                                           /* small corner watermark */
  top: 1.1rem; right: 1.1rem; bottom: auto; width: 4.6rem; height: 4.6rem; opacity: .07;
}
.pillars > .pillar:hover::after { opacity: .13; transform: rotate(-8deg); }
.pillars > .pillar > svg {
  width: 58px; height: 58px; padding: 14px; border-radius: 18px; color: #fff; background: var(--accent);
  box-shadow: 0 14px 26px -14px rgba(var(--accent-rgb), .9);
}
.pillars > .pillar:nth-child(4n+3) > svg { color: var(--ink); }
.pillars > .pillar:hover > svg { background: var(--accent); color: #fff; transform: translateY(-4px) rotate(-6deg); box-shadow: 0 16px 28px -12px rgba(var(--accent-rgb), .95); }
.pillars > .pillar:nth-child(4n+3):hover > svg { color: var(--ink); }
.pillars > .pillar h3 { margin-top: .35rem; }
.pillars > .pillar p { margin-bottom: .4rem; }
.pillars > .pillar .link-arrow {
  position: static; margin-top: auto; align-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: .6rem;
  padding: .7rem .7rem .7rem 1.05rem; border-radius: 15px; text-decoration: none;
  background: var(--accent-soft); color: var(--accent-ink); font-size: .95rem; font-weight: 700;
  transition: background .35s ease, color .35s ease;
}
.pillars > .pillar .link-arrow::after {
  content: "→"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--accent-ink); font-size: 1rem; transition: transform .35s ease;
}
.pillars > .pillar .link-arrow::before { content: ""; position: absolute; inset: 0; z-index: 3; }   /* whole card clickable */
[data-cms-edit] .pillars > .pillar .link-arrow::before { display: none; }
.pillars > .pillar:hover .link-arrow { background: var(--accent); color: #fff; }
.pillars > .pillar:nth-child(4n+3):hover .link-arrow { color: var(--ink); }
.pillars > .pillar:hover .link-arrow::after { transform: translateX(3px); }
.pillars > .pillar .link-arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 900px) { .pillars > .pillar { border: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pillars > .pillar, .pillars > .pillar .link-arrow, .pillars > .pillar .link-arrow::after { transition: none; }
  .pillars > .pillar:hover { transform: none; }
}

/* ---------- Community outreach page ---------- */
/* Figures strip overlapping the banner */
.outreach-stats-wrap { position: relative; z-index: 3; margin-top: calc(-1 * clamp(2rem, 1.2rem + 2.4vw, 3.4rem)); }
.outreach-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, .5rem + .8vw, 1.3rem); }
.outreach-stats li {
  display: flex; align-items: center; gap: 1rem; padding: clamp(1.1rem, .9rem + .6vw, 1.6rem) clamp(1.2rem, 1rem + .6vw, 1.8rem);
  border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(13,16,55,.55);
}
.outreach-stats strong {
  font: 700 clamp(2.2rem, 1.8rem + 1.2vw, 3rem)/1 var(--font-display); letter-spacing: -.02em;
  background: var(--grad-action); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.outreach-stats span { color: var(--muted); font-weight: 600; line-height: 1.35; }
@media (max-width: 760px) { .outreach-stats { grid-template-columns: 1fr; } .outreach-stats-wrap { margin-top: 1.5rem; } }

/* Activity cards */
.activity { --accent: var(--magenta); --accent-ink: #a8169a; --accent-soft: #fde9fa; border-radius: 22px; }
.section--tint .activity { --accent: var(--violet); --accent-ink: #5a2fd6; --accent-soft: #f0ebff; }
.activity .card-body { position: relative; padding-top: 2.2rem; gap: .65rem; }
.activity .meta {
  position: absolute; z-index: 2; top: 0; left: clamp(1rem, .8rem + .6vw, 1.4rem); transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: .45rem; max-width: calc(100% - 2.6rem);
  padding: .45rem .85rem; border-radius: 999px; background: #fff; color: var(--accent-ink);
  font-size: .76rem; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 10px 24px -12px rgba(13,16,55,.5);
}
.activity .meta::before {
  content: ""; flex: none; width: 14px; height: 14px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.activity .card-body h3 { font-size: clamp(1.12rem, 1rem + .35vw, 1.3rem); line-height: 1.25; }
.activity .more-btn {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: .88rem; transition: background .25s ease, color .25s ease;
}
.activity .more-btn::after {
  content: ""; width: 13px; height: 13px; background: currentColor; transition: transform .3s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.activity .more-btn:hover { background: var(--accent); color: #fff; }
.activity.is-open .more-btn::after { transform: rotate(180deg); }

/* Conference photos: even 3-up grid, leftovers centred, nothing stretched */
.photo-wall { --cols: 3; --gap: clamp(.7rem, .5rem + .6vw, 1.1rem); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.photo-wall > button { box-sizing: border-box; flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); border-radius: 18px; box-shadow: 0 18px 40px -28px rgba(13,16,55,.55); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.photo-wall > button img { aspect-ratio: 4 / 3 !important; }
.photo-wall > button:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -28px rgba(107,63,242,.55); }
@media (max-width: 700px) { .photo-wall { --cols: 2; } }
@media (prefers-reduced-motion: reduce) { .photo-wall > button, .activity .more-btn::after { transition: none; } .photo-wall > button:hover { transform: none; } }

/* ---------- Training page ---------- */
/* "Our training method" as a numbered card */
.method-card {
  position: relative; overflow: hidden; gap: .9rem; padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem);
  border-radius: 26px; background: linear-gradient(160deg, #faf8ff 0%, #fff 70%); border: 1px solid #e6e0f8;
  box-shadow: 0 26px 56px -40px rgba(13,16,55,.55);
}
.method-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--violet), var(--magenta), var(--gold)); }
.method-card h3 { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); }
.method-card > p { color: var(--muted); }
.method-card .checklist { counter-reset: m; gap: 0; }
.method-card .checklist li { counter-increment: m; padding: .8rem 0 .8rem 2.7rem; border-top: 1px solid #ece7f8; line-height: 1.5; }
.method-card .checklist li:first-child { border-top: 0; }
.method-card .checklist li::before {
  content: counter(m); -webkit-mask: none; mask: none; top: .78rem; left: 0; width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center; font: 700 .85rem/1 var(--font-body); color: #fff; background: var(--grad-action);
}

/* Course cards: one accent each, numbered */
#courses { counter-reset: course; }
#courses article.card {
  --accent: var(--violet); --accent-ink: #5a2fd6; --accent-soft: #f0ebff; --accent-rgb: 107, 63, 242;
  counter-increment: course; position: relative; border-radius: 26px; overflow: hidden;
}
#courses article.card:nth-of-type(3n+2) { --accent: var(--magenta); --accent-ink: #a8169a; --accent-soft: #fde9fa; --accent-rgb: 210, 31, 192; }
#courses article.card:nth-of-type(3n+3) { --accent: var(--blue); --accent-ink: #2433c4; --accent-soft: #e8ebff; --accent-rgb: 43, 62, 224; }
#courses article.card::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); }
#courses article.card:hover { box-shadow: 0 34px 64px -34px rgba(var(--accent-rgb), .5); }
#courses .card > .split > .gallery { background: linear-gradient(165deg, var(--accent-soft) 0%, #fff 130%); }
#courses .card-body { gap: .8rem; padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.6rem); }
#courses .card-body::before {
  content: "Course " counter(course, decimal-leading-zero); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
}
#courses .card-body .tag { color: var(--accent-ink); background: var(--accent-soft); }
#courses .card-body h3 { font-size: clamp(1.45rem, 1.15rem + .8vw, 1.95rem); line-height: 1.2; }
#courses .card-body .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.4rem; margin: .2rem 0 .3rem; }
#courses .card-body .checklist li { font-size: .97rem; line-height: 1.45; }
#courses .card-body .checklist li::before { background: var(--accent); }
@media (max-width: 1000px) { #courses .card-body .checklist { grid-template-columns: 1fr; } }
#courses .card-body .btn--blue {
  gap: .55rem; background: var(--accent); border-color: transparent; color: #fff;
  box-shadow: 0 16px 32px -16px rgba(var(--accent-rgb), .85);
}
#courses .card-body .btn--blue::after { content: "→"; transition: transform .25s ease; }
#courses .card-body .btn--blue:hover { filter: brightness(1.08); }
#courses .card-body .btn--blue:hover::after { transform: translateX(4px); }

/* ---------- Volunteer page: spotlight ---------- */
.spotlight-photo { position: relative; margin: 0; padding: 0 1.1rem 1.1rem 0; isolation: isolate; }
.spotlight-photo::before {
  content: ""; position: absolute; z-index: -1; inset: 1.1rem 0 0 1.1rem; border-radius: 30px;
  background: linear-gradient(135deg, var(--violet), var(--magenta) 60%, var(--gold));
}
.spotlight-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(13,16,55,.6); }
.spotlight-photo figcaption {
  position: absolute; top: 1rem; left: 1rem; padding: .45rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(13,16,55,.55); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.spot-facts { list-style: none; margin: .3rem 0 .2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.spot-facts li {
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px;
  background: #f3effe; border: 1px solid #e6defa; color: var(--ink); font-weight: 600; font-size: .92rem;
}
.spot-facts strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--magenta-dark); }

/* ---------- Volunteer page: questions as cards ---------- */
.faq--cards { border-top: 0; display: grid; gap: .75rem; }
.faq--cards details {
  border: 1px solid #e6e0f8; border-bottom: 1px solid #e6e0f8; border-radius: 18px; background: #fff;
  box-shadow: 0 14px 30px -26px rgba(13,16,55,.5); transition: border-color .3s ease, box-shadow .3s ease;
}
.faq--cards details:hover { border-color: #d4c8f4; }
.faq--cards details[open] { border-color: rgba(107,63,242,.45); box-shadow: 0 24px 46px -30px rgba(107,63,242,.55); }
.faq--cards summary {
  display: flex; align-items: center; gap: .9rem; padding: 1.05rem 4rem 1.05rem 1.1rem; font-size: 1.04rem; line-height: 1.35;
}
.faq--cards summary::before {
  content: "?"; flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  font: 700 1rem/1 var(--font-display); color: #fff; background: var(--grad-action);
}
.faq--cards summary::after {
  content: "+"; right: 1rem; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; color: var(--violet); background: #f1ecff; transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq--cards details[open] summary::after { content: "+"; transform: translateY(-50%) rotate(45deg); background: var(--violet); color: #fff; }
.faq--cards p { padding: 0 1.3rem 1.2rem calc(1.1rem + 34px + .9rem); margin: 0; }
@media (max-width: 560px) { .faq--cards p { padding-left: 1.1rem; } }
@media (prefers-reduced-motion: reduce) { .faq--cards details, .faq--cards summary::after { transition: none; } }

/* ---------- Our team: even card sizes ----------
   Every group uses the same card width (--n per row, set on each grid); a part-filled
   last row is centred instead of stretching, so no section's cards look oversized. */
.people-grid { --gap: clamp(1rem, 1.8vw, 2rem); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.people-grid > .person { box-sizing: border-box; flex: 0 0 calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); min-width: 0; }
@media (max-width: 1100px) { .people-grid { --n: 3 !important; } }
@media (max-width: 800px) { .people-grid { --n: 2 !important; } }
@media (max-width: 420px) { .people-grid { --gap: .7rem; } }

/* ---------- Stories page ---------- */
/* Films: each one is a story card */
.story-films { gap: clamp(1.1rem, .7rem + 1.2vw, 2rem); }
.story-film {
  --accent: var(--magenta); --accent-ink: #a8169a; --accent-soft: #fde9fa;
  position: relative; gap: .75rem; padding: .7rem .7rem clamp(1.3rem, 1rem + .8vw, 1.9rem); border-radius: 26px; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 26px 56px -34px rgba(13,16,55,.5);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.story-film:nth-child(2n) { --accent: var(--violet); --accent-ink: #5a2fd6; --accent-soft: #f0ebff; }
.story-film:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 34px 64px -34px color-mix(in srgb, var(--accent) 55%, rgba(13,16,55,.6)); }
.story-film .video { border-radius: 20px; overflow: hidden; margin-bottom: .45rem; }
.story-film > :not(.video) { margin-inline: clamp(.6rem, .4rem + .6vw, 1.1rem); }
.story-film .tag { align-self: flex-start; color: var(--accent-ink); background: var(--accent-soft); }
.story-film h3 { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); }
.story-film h3::after { content: ""; display: block; width: 44px; height: 3px; margin-top: .65rem; border-radius: 3px; background: var(--accent); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.story-film:hover h3::after { width: 88px; }
.story-film p { color: var(--muted); line-height: 1.6; }

/* World Cancer Day cards: flowing rows, any leftovers centred at full size (no cropping) */
.message-wall { --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.8rem, .5rem + .8vw, 1.25rem); }
.message-wall > button { flex: 0 0 calc((100% - (var(--cols) - 1) * clamp(.8rem, .5rem + .8vw, 1.25rem)) / var(--cols)); }
@media (min-width: 1500px) { .message-wall { --cols: 5; } }
@media (max-width: 1100px) { .message-wall { --cols: 3; } }
@media (max-width: 700px) { .message-wall { --cols: 2; } }
.message-wall > button {
  position: relative; box-sizing: border-box; border-radius: 18px; background: #fff; padding: 6px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(13,16,55,.55);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.message-wall > button img { border-radius: 13px; aspect-ratio: 3 / 4 !important; }
.message-wall > button::after {
  content: "Read in full"; position: absolute; left: 50%; bottom: 1rem; transform: translate(-50%, 8px); opacity: 0;
  padding: .45rem .95rem; border-radius: 999px; white-space: nowrap; font: 700 .8rem/1 var(--font-body); color: #fff;
  background: rgba(13,16,55,.78); backdrop-filter: blur(6px); transition: opacity .3s ease, transform .3s ease;
}
.message-wall > button:hover, .message-wall > button:focus-visible { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 28px 54px -26px rgba(107,63,242,.55); }
.message-wall > button:hover::after, .message-wall > button:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

/* Consent note */
.message-wall + .notice {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border: 1px solid #e6e0f8; border-radius: 18px;
  background: linear-gradient(120deg, #fff 0%, #faf8ff 100%); color: var(--ink); box-shadow: 0 14px 34px -28px rgba(13,16,55,.5);
}
.message-wall + .notice::before {
  content: ""; flex: none; width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad-action) center / 22px 22px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.2 8-8 9-4.8-1-8-4.5-8-9V6z'/%3E%3Cpath d='M12 15.5s-3-1.8-3-4a1.7 1.7 0 0 1 3-1 1.7 1.7 0 0 1 3 1c0 2.2-3 4-3 4z'/%3E%3C/svg%3E"), var(--grad-action);
  background-position: center; background-size: 22px 22px, cover; background-repeat: no-repeat;
}
@media (prefers-reduced-motion: reduce) { .story-film, .message-wall > button { transition: none; } .story-film:hover, .message-wall > button:hover { transform: none; } }

/* ---------- Contact page: message form ----------
   Scoped to .contact-form so the volunteer application form keeps its own look. */
.contact-panel:not(.contact-panel--map) { position: relative; overflow: hidden; }
.contact-panel:not(.contact-panel--map)::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--magenta), var(--gold));
}
.contact-form .field label { color: var(--ink); font-size: .93rem; }
.contact-form .field input[type="text"], .contact-form .field input[type="email"], .contact-form .field input[type="tel"],
.contact-form .field select, .contact-form .field textarea {
  min-height: 52px; padding: .8rem 1rem; border-radius: 14px; font-size: 1rem;
  background: #f8f6ff; border: 1.5px solid #e4def6; color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.contact-form .field input:hover, .contact-form .field select:hover, .contact-form .field textarea:hover { border-color: #cfc5ef; }
.contact-form .field input:focus, .contact-form .field select:focus, .contact-form .field textarea:focus {
  outline: none; background: #fff; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(107,63,242,.14);
}
.contact-form .field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.8rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b3ff2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.contact-form .field textarea { min-height: 170px; }
.contact-form .field.has-error input, .contact-form .field.has-error select, .contact-form .field.has-error textarea { border-color: #b3261e; background: #fff7f6; }
.contact-form > p.hint:not(#c-message-hint) {
  display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .9rem; color: var(--muted);
}
.contact-form > p.hint:not(#c-message-hint)::before {
  content: ""; width: 16px; height: 16px; flex: none; background: var(--violet);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
#c-message-hint { text-align: right; font-size: .82rem; }
.contact-form .btn[type="submit"] { gap: .6rem; padding: 1rem 2rem; box-shadow: 0 16px 32px -16px rgba(224,43,196,.85); }
.contact-form .btn[type="submit"]::after { content: "→"; transition: transform .25s ease; }
.contact-form .btn[type="submit"]:hover::after { transform: translateX(4px); }
@media (max-width: 600px) { .contact-form .btn[type="submit"] { width: 100%; justify-content: center; } }
.contact-panel--map .embed { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 50px -26px rgba(0,0,0,.6); overflow: hidden; }

/* ---------- Inner-page banners and profile names: calmer sizes ----------
   Banner headline about 52px on a laptop (was ~80px), 30px on phones. */
.page-hero h1 { font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.018em; max-width: 20ch; }
.page-hero .lead { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.6; max-width: 56ch; }
.page-hero .eyebrow { font-size: .8rem; }
.profile h1 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.4rem); line-height: 1.08; }

/* ---------- Get Involved: donate block ---------- */
#donate .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: .4rem; }
#donate .checklist li {
  display: flex; align-items: center; min-height: 100%; padding: .85rem 1rem .85rem 2.9rem; border-radius: 15px; line-height: 1.4; font-size: .97rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); color: #fff;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
#donate .checklist li::before { left: 1rem; top: 50%; transform: translateY(-50%); }
#donate .checklist li:hover { background: rgba(255,255,255,.1); border-color: rgba(247,185,62,.45); transform: translateY(-2px); }
#donate .give-card {
  position: relative; color: #fff; gap: .95rem;
  background: linear-gradient(160deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,.05) 100%);
  border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.18);
}
#donate .give-card h3 { color: #fff; }
#donate .give-card > p:not(.eyebrow) { color: var(--on-dark-muted); }
#donate .give-icon { width: 64px; height: 64px; border-radius: 50%; animation: give-pulse 2.8s ease-in-out infinite; }
#donate .give-card .btn { width: 100%; justify-content: center; box-shadow: 0 18px 36px -16px rgba(224,43,196,.9); }
#donate .give-note { border-top-color: rgba(255,255,255,.18); color: var(--on-dark-muted); }
#donate .give-card .give-note a { color: var(--gold-soft); font-weight: 600; }
@media (max-width: 560px) { #donate .checklist { grid-template-columns: 1fr; } }

/* ---------- Get Involved: careers empty state ---------- */
#careers .job-empty {
  position: relative; overflow: hidden; gap: 1.3rem; align-items: flex-start;
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); border: 1px solid #e6e0f8; border-radius: 26px;
  background: radial-gradient(28rem 14rem at 100% 0%, rgba(210,31,192,.08), transparent 60%), linear-gradient(160deg, #faf8ff 0%, #fff 70%);
  box-shadow: 0 30px 60px -40px rgba(13,16,55,.45);
}
#careers .job-empty::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--violet), var(--magenta), var(--gold)); }
#careers .job-empty .feature-icon { width: 58px; height: 58px; border-radius: 17px; background: var(--grad-action); color: #fff; box-shadow: 0 14px 28px -12px rgba(210,31,192,.8); }
#careers .job-empty .feature-icon svg { width: 27px; height: 27px; }
#careers .job-empty h3 { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); margin-bottom: .45rem; }
#careers .job-empty .btn-row { margin-top: 1.1rem; gap: .6rem; }
@media (max-width: 560px) { #careers .job-empty { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { #donate .give-icon { animation: none; } #donate .checklist li { transition: none; } }

/* ---------- Home slider text: calmer sizes ----------
   Headline about 55px on a laptop (was ~90px), capped at ~58px on big screens, 32px on phones. */
.slide-text { max-width: min(760px, 60vw); gap: 1.1rem; }
.slide-text h1, .slide-text h2 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.015em; }
.slide-text .lead { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.6; max-width: 56ch; }
.slide-text .eyebrow { font-size: .8rem; }
@media (max-width: 900px) { .slide-text { max-width: none; } }

/* ---------- Header, final pass (every page) ----------
   Over a slider or dark page header it still floats transparently. Once the page
   scrolls (desktop), it lifts into a rounded glass capsule. "Our Work" opens a
   two-column programmes panel with the same accent colours as the home cards. */
.brand img { border-radius: 14px; }
.site-header .wrap { transition: min-height .3s ease, background-color .35s ease, box-shadow .35s ease, border-color .35s ease, border-radius .35s ease, margin .35s ease, padding .35s ease; }

@media (min-width: 1041px) {
  .site-header.is-stuck, .has-overlay .site-header.is-stuck {
    background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom-color: transparent; box-shadow: none; padding-top: 10px;
  }
  .site-header.is-stuck .wrap {
    width: auto; max-width: calc(var(--measure) - 2rem);
    margin-inline: max(clamp(.75rem, 1.6vw, 1.5rem), calc((100% - var(--measure)) / 2 + 1rem));
    padding-inline: clamp(.9rem, 1.4vw, 1.5rem); min-height: 64px; border-radius: 22px;
    background: rgba(255,255,255,.86); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
    border: 1px solid rgba(220,214,242,.9);
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 20px 44px -24px rgba(13,16,55,.45);
  }
  .site-header.is-stuck .brand img { width: 48px; height: 48px; }

  /* "Our Work" programmes panel */
  .has-sub.is-open .submenu, .has-sub:focus-within .submenu { display: grid; }
  .has-sub:hover .submenu { display: grid; }
  .submenu {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem; min-width: 590px; padding: .7rem .7rem .8rem;
    border: 1px solid rgba(220,214,242,.9); border-radius: 22px;
    box-shadow: 0 30px 70px -30px rgba(13,16,55,.5); animation: menu-in .22s ease both;
  }
  .submenu::before {
    content: "Our programmes"; grid-column: 1 / -1; padding: .35rem .7rem .55rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line);
    font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  }
  .submenu > li > a {
    --tile: #f0ebff; position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: .85rem; align-items: center;
    padding: .7rem 2.2rem .7rem .7rem; border-radius: 15px; transition: background .2s ease;
  }
  .submenu > li > a::before {
    content: ""; grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 14px;
    background: var(--tile) var(--icon) center / 24px 24px no-repeat; transition: transform .3s ease;
  }
  .submenu > li > a small { grid-column: 2; margin-top: .1rem; }
  .submenu > li > a::after {
    content: "→"; position: absolute; right: .9rem; top: 50%; transform: translate(-6px, -50%); opacity: 0;
    color: var(--magenta-dark); font-weight: 700; transition: opacity .2s ease, transform .25s ease;
  }
  .submenu > li > a:hover, .submenu > li > a[aria-current="page"] { background: var(--lilac); color: var(--ink); }
  .submenu > li > a:hover::before { transform: rotate(-6deg) scale(1.06); }
  .submenu > li > a:hover::after, .submenu > li > a[aria-current="page"]::after { opacity: 1; transform: translate(0, -50%); }
  .submenu > li:nth-child(4n+1) > a { --tile: #f0ebff; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b3ff2' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18h8'/%3E%3Cpath d='M3 22h18'/%3E%3Cpath d='M14 22a7 7 0 1 0 0-14h-1'/%3E%3Cpath d='M9 14h2'/%3E%3Cpath d='M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2z'/%3E%3Cpath d='M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3'/%3E%3C/svg%3E"); }
  .submenu > li:nth-child(4n+2) > a { --tile: #fde9fa; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c21bb1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M7 21h10'/%3E%3Cpath d='M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2'/%3E%3Cpath d='M16 16l3-8 3 8c-.9.7-1.9 1-3 1s-2.1-.3-3-1z'/%3E%3Cpath d='M2 16l3-8 3 8c-.9.7-1.9 1-3 1s-2.1-.3-3-1z'/%3E%3C/svg%3E"); }
  .submenu > li:nth-child(4n+3) > a { --tile: #fff2d9; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b87400' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10L12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3Cpath d='M22 10v6'/%3E%3C/svg%3E"); }
  .submenu > li:nth-child(4n+4) > a { --tile: #e8ebff; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3ee0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
}
@keyframes menu-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Donate: heart icon and a soft glow */
.nav-actions .btn--primary::before {
  content: ""; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s ease;
}
.nav-actions .btn--primary { box-shadow: 0 10px 24px -12px rgba(224,43,196,.9); }
.nav-actions .btn--primary:hover::before { transform: scale(1.2); }
@media (prefers-reduced-motion: reduce) { .site-header .wrap, .submenu { transition: none; animation: none; } }

/* ---------- Footer, final pass (every page) ----------
   Same compact layout; adds colour-coded contact pills, brand-coloured social
   icons, an hours card, gradient dividers, a crisper sunken wordmark and a
   round back-to-top button. */
.site-footer::after {                      /* soft glow behind the contact row */
  content: ""; position: absolute; z-index: 0; top: -10rem; right: 8%; width: 34rem; height: 20rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(210,31,192,.22), transparent); pointer-events: none;
}
.footer-top { border-bottom: 0; }
.footer-top::after, .footer-base::before {
  content: ""; position: absolute; left: clamp(1rem, 4vw, 4rem); right: clamp(1rem, 4vw, 4rem); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22) 20%, rgba(247,185,62,.45) 50%, rgba(255,255,255,.22) 80%, transparent);
}
.footer-top::after { bottom: 0; }
.footer-base::before { top: 0; }
.footer-base { border-top: 0; }

/* contact pills: one colour each, keyed by what the link does */
.site-footer .footer-tile { --tile: #e02bc4; --tile-rgb: 224, 43, 196; position: relative; transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.site-footer .footer-tile[href^="mailto:"] { --tile: #8b63ff; --tile-rgb: 139, 99, 255; }
.site-footer .footer-tile[href*="wa.me"], .site-footer .footer-tile[href*="whatsapp"] { --tile: #25d366; --tile-rgb: 37, 211, 102; }
.site-footer .footer-tile .ico { background: var(--tile); box-shadow: 0 10px 22px -10px rgba(var(--tile-rgb), .95); }
.site-footer .footer-tile[href*="wa.me"] .ico, .site-footer .footer-tile[href*="whatsapp"] .ico { color: #0b3d22; }
.site-footer .footer-tile:hover { background: rgba(var(--tile-rgb), .14); border-color: rgba(var(--tile-rgb), .6); box-shadow: 0 16px 34px -18px rgba(var(--tile-rgb), .9); }
.footer-tile small { color: color-mix(in srgb, var(--tile) 55%, #fff); }

/* brand */
.footer-brand img { box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 14px 30px -12px rgba(210,31,192,.6); }
.site-footer .footer-col h2::before { width: 22px; background: linear-gradient(90deg, var(--gold), var(--magenta)); }

/* socials: each turns its own brand colour */
.socials a { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); transition: background .25s, transform .25s, border-color .25s, color .25s; }
.socials a[aria-label="WhatsApp"]:hover { background: #25d366; border-color: #25d366; color: #0b3d22; }
.socials a[aria-label="Instagram"]:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-color: transparent; }
.socials a[aria-label="Facebook"]:hover { background: #1877f2; border-color: #1877f2; }
.socials a[aria-label="X (Twitter)"]:hover { background: #fff; border-color: #fff; color: #000; }

/* opening hours as a small card */
.site-footer .footer-grid > .footer-col:last-child .footer-place {
  padding: .8rem 1rem; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--gold);
}
.site-footer .footer-grid > .footer-col:last-child .footer-place .ico { display: none; }

/* the sunken wordmark: crisp outlined letters instead of a faint smudge */
.footer-wordmark {
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(139,99,255,.16) 0%, rgba(210,31,192,.07) 45%, rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text;
}

/* back to top as a round arrow button */
.site-footer .to-top { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; }
.site-footer .to-top:hover { text-decoration: none; }
.footer-bottom-links .to-top::after {
  content: "↑"; font-size: 1rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); transition: background .25s, transform .25s, border-color .25s;
}
.footer-bottom-links .to-top:hover::after { background: var(--grad-action); border-color: transparent; transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .socials a, .site-footer .footer-tile, .footer-bottom-links .to-top::after { transition: none; } }

/* ---------- Call-to-action band (every page) ----------
   A faint dot texture fading in from the left and soft concentric rings in the corner. */
.cta { isolation: isolate; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.3px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 75%); mask-image: linear-gradient(100deg, transparent 15%, #000 75%);
}
.cta::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -9rem; top: -9rem; width: 28rem; height: 28rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 0 0 3.2rem rgba(255,255,255,.025), 0 0 0 6.4rem rgba(255,255,255,.018), inset 0 0 120px rgba(210,31,192,.12);
}

/* ---------- Home: donate band ---------- */
.cta--donate { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(1.8rem, 1rem + 3vw, 4.5rem); align-items: center; }
.cta--donate .eyebrow { color: var(--gold-soft); margin: 0 0 1rem; }
.cta--donate .eyebrow::before { background: var(--gold); }
.cta--donate h2 em { color: var(--gold-soft); }
.cta-impact { list-style: none; margin: 1.7rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; max-width: 600px; }
.cta-impact li {
  display: flex; align-items: center; gap: .75rem; padding: .7rem .95rem .7rem .7rem; border-radius: 15px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; font-weight: 600; font-size: .96rem; line-height: 1.3;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.cta-impact li:hover { background: rgba(255,255,255,.1); border-color: rgba(247,185,62,.45); transform: translateY(-2px); }
.cta-impact-icon { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--gold-soft); background: rgba(247,185,62,.15); }
.cta-impact-icon svg { width: 19px; height: 19px; }

.cta-give {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .85rem; text-align: center;
  padding: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,.05) 100%);
  border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.18);
}
.cta-give-icon {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-action);
  box-shadow: 0 0 0 8px rgba(224,43,196,.16), 0 18px 34px -12px rgba(224,43,196,.85);
  animation: give-pulse 2.8s ease-in-out infinite;
}
.cta-give-icon svg { width: 30px; height: 30px; }
@keyframes give-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(224,43,196,.16), 0 18px 34px -12px rgba(224,43,196,.85); }
  50% { box-shadow: 0 0 0 15px rgba(224,43,196,.05), 0 18px 34px -12px rgba(224,43,196,.85); }
}
.cta-give h3 { color: #fff; font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); margin-top: .3rem; }
.cta-give > p { margin: 0; color: var(--on-dark-muted); font-size: 1rem; max-width: 30ch; }
.cta-give .btn-row { flex-direction: column; align-items: stretch; width: 100%; gap: .75rem; margin-top: .7rem; }
.cta-give .btn { width: 100%; justify-content: center; padding-block: 1rem; font-size: 1.04rem; }
.cta-give .btn--primary { box-shadow: 0 18px 36px -16px rgba(224,43,196,.9); }
.cta-give p.cta-or {
  display: flex; align-items: center; gap: .8rem; width: 100%; margin: .1rem 0; max-width: none;
  color: var(--on-dark-muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
}
.cta-or::before, .cta-or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.18); }
@media (max-width: 900px) { .cta--donate { grid-template-columns: 1fr; } .cta-give { max-width: 460px; width: 100%; justify-self: center; } }
@media (max-width: 480px) { .cta-impact { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cta-give-icon { animation: none; } .cta-impact li { transition: none; } }

/* ---------- Partners wall ----------
   Logo tiles on a dotted lilac panel. Logos always show in their own colours;
   on hover the logo zooms gently, the tile lifts with a gradient edge and the name turns violet. */
.partners {
  position: relative; gap: clamp(.8rem, .5rem + .8vw, 1.3rem);
  padding: clamp(1.1rem, .8rem + 1.4vw, 2.2rem); border-radius: 30px;
  background:
    radial-gradient(rgba(107,63,242,.13) 1.2px, transparent 1.4px) 0 0 / 20px 20px,
    radial-gradient(40rem 18rem at 100% 0%, rgba(210,31,192,.10), transparent 60%),
    radial-gradient(36rem 18rem at 0% 100%, rgba(43,62,224,.10), transparent 60%),
    linear-gradient(180deg, #f7f5ff, #f1edfd);
  border: 1px solid #e6e0f8;
}
.partners li {
  position: relative; isolation: isolate; min-height: 168px; padding: 1.4rem 1rem 1.1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .95rem;
  background: #fff; border: 1px solid transparent; border-radius: 20px; text-align: center;
  box-shadow: 0 1px 0 rgba(220,214,242,.9), 0 16px 34px -26px rgba(13,16,55,.45);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.partners li::before {           /* gradient edge, faded in on hover */
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--violet), var(--magenta), var(--gold));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s ease;
}
.partners img {
  max-height: 72px; max-width: 100%; width: auto; object-fit: contain;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.partner-name {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35;
  color: var(--muted); max-width: 18ch; transition: color .35s ease;
}
.partners li:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(220,214,242,.9), 0 26px 46px -26px rgba(107,63,242,.45); }
.partners li:hover::before { opacity: 1; }
.partners li:hover img { transform: scale(1.12); }
.partners li:hover .partner-name { color: var(--violet); }
@media (max-width: 900px) { .partners li { min-height: 150px; } }
@media (max-width: 480px) { .partners li { min-height: 136px; padding: 1.1rem .7rem .9rem; } .partners img { max-height: 58px; } }
@media (prefers-reduced-motion: reduce) { .partners li, .partners img { transition: none; } .partners li:hover { transform: none; } }

/* The "no open positions" message steps aside while any job posting is shown */
html:not([data-cms-edit]) .jobs:has(> .job:not([data-off])) > .job-empty { display: none; }

/* Content staff have deactivated stays in the page but is not shown to visitors */
html:not([data-cms-edit]) [data-off] { display: none !important; }

@media (min-width: 1200px) { .grid--3 > .person img { aspect-ratio: 4 / 3; } .grid--3:has(> .person:nth-child(5):last-child) > .person img { aspect-ratio: 1; } }
