/* 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; }

/* ---- 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; }

/* 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; } }
