/* =====================================================================
   Gather + Give
   Mobile-first. Plain CSS, no build step.

    1  Tokens            8  What We Do         15  Inner pages
    2  Base              9  Gallery + viewer   16  Motion
    3  Layout / bands   10  Directors          17  Utilities
    4  Components       11  Ways to Give
    5  Header / nav     12  Contact
    6  Hero             13  Footer
    7  About            14  Responsive helpers
   ===================================================================== */

/* ---------- 1. Tokens ------------------------------------------------ */
:root {
  color-scheme: light;               /* the design is a warm light theme; keeps browsers from auto-darkening it */

  /* Brand palette (from the logo) */
  --yellow: #F7CF3C;
  --charcoal: #575757;
  --sky: #8DD9FB;
  --pink: #F55788;
  --green: #00B572;

  /* Accessible shades.
     White text on the brand green is only 2.7:1 and on the brand pink 3.2:1, so buttons and any small
     colored text use these darker shades instead (cream text on --green-deep is 5.1:1, --pink-deep on cream is 5.0:1).
     The bright brand colors are kept for shapes and decoration. */
  --green-deep: #007A4D;
  --green-deeper: #00633F;
  --pink-deep: #C42A5D;
  --plus: #8DD8FA;                 /* the "+" in headings and the logo name (grey on blue or yellow sections) */
  --charcoal-deep: #3F3F3F;        /* small text on yellow / sky (7:1) */

  /* Eggshell + cream surfaces. There is no pure white anywhere on the site. */
  --cream: #FBF4E4;                /* page background */
  --sand: #F5EAD0;                 /* alternate band */
  --paper: #FFF9EB;                /* raised cards (the lightest surface) */

  /* Soft tints of the brand colors */
  --yellow-tint: #F9E6A4;
  --sky-tint: #CDE9EE;
  --pink-tint: #FAD5D2;
  --green-tint: #C9E7CD;

  --line: rgba(87, 87, 87, 0.18);
  --shadow-sm: 0 1px 2px rgba(87, 87, 87, .08), 0 6px 16px rgba(87, 87, 87, .08);
  --shadow-md: 0 2px 4px rgba(87, 87, 87, .08), 0 16px 36px rgba(87, 87, 87, .14);
  --shadow-lg: 0 4px 8px rgba(87, 87, 87, .10), 0 30px 64px rgba(87, 87, 87, .20);

  --font: "Merriweather Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 40px);
  --maxw: 1180px;
  --header-h: 64px;
  --arch: clamp(26px, 5.5vw, 80px);                  /* how much the curved section tops dip */
  --section-pad: clamp(44px, 7vw, 96px);
  --radius: 22px;
  --radius-lg: 30px;
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
}

/* ---------- 2. Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--green-deep); text-underline-offset: .22em; }
a:hover { color: var(--green-deeper); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--yellow); color: var(--charcoal-deep); }

/* Visible focus on every interactive element */
:focus-visible {
  outline: 3px solid var(--charcoal-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
/* Sections/main receive focus only after an anchor jump (for screen readers); no ring needed there */
[tabindex="-1"]:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.icon--stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 300;
  padding: .75em 1.25em; border-radius: 999px;
  background: var(--charcoal-deep); color: var(--paper); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout / bands ---------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* Each section is a "sheet" with a gently arched top (an echo of the logo's arc) that
   slides over the one before it. It is what gives the page its layered depth. */
.band {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--arch) * -1);
  padding-block: calc(var(--arch) + var(--section-pad)) calc(var(--arch) + var(--section-pad));
  border-radius: 50% 50% 0 0 / var(--arch) var(--arch) 0 0;
  overflow: hidden;
  overflow: clip;
  scroll-margin-top: calc(var(--section-pad) * -.55);
}
.band--paper  { background: var(--paper); }
.band--sky    { background: var(--sky); color: var(--charcoal-deep); }
.band--cream  { background: var(--cream); }
.band--sand   { background: var(--sand); }
.band--yellow { background: var(--yellow); color: var(--charcoal-deep); }
.band--footer { background: var(--sand); padding-bottom: clamp(32px, 5vw, 56px); }

.band--sky .eyebrow, .band--yellow .eyebrow,
.band--sky .section-sub, .band--yellow .section-sub { color: var(--charcoal-deep); }
.band--yellow .plus, .band--sky .plus { color: var(--charcoal-deep); }

.section-head { max-width: 720px; margin: 0 0 clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2.2rem, 1.5rem + 3.1vw, 3.6rem); margin-bottom: .3em; }
.section-sub { margin: 0; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); font-weight: 500; text-wrap: balance; }

/* ---------- 4. Components -------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0 0 1rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--charcoal-deep);
}
.plus { color: var(--plus); font-weight: 800; }

.btn {
  --btn-bg: var(--green-deep);
  --btn-fg: var(--paper);
  --btn-edge: var(--green-deeper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.6em;
  border: 2px solid var(--btn-bg); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1rem; font-weight: 700; line-height: 1.15; letter-spacing: .01em; text-align: center; text-decoration: none;
  box-shadow: 0 4px 0 var(--btn-edge), 0 12px 24px rgba(0, 99, 63, .2);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--btn-edge), 0 16px 28px rgba(0, 99, 63, .24); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-edge), 0 4px 10px rgba(0, 99, 63, .2); }
.btn--primary:hover { --btn-bg: var(--green-deeper); --btn-edge: #00492F; color: var(--btn-fg); }

.btn--outline {
  --btn-edge: var(--charcoal-deep);
  background: transparent; color: var(--charcoal-deep); border-color: var(--charcoal-deep);
  box-shadow: 0 4px 0 var(--btn-edge);
}
.btn--outline:hover { background: var(--yellow); color: var(--charcoal-deep); box-shadow: 0 6px 0 var(--btn-edge); }
.btn--outline:active { box-shadow: 0 1px 0 var(--btn-edge); }

.btn--sm { min-height: 44px; padding: .55em 1.3em; font-size: .95rem; box-shadow: 0 3px 0 var(--btn-edge), 0 8px 16px rgba(0, 99, 63, .18); }
.btn--lg { min-height: 56px; padding: .95em 2em; font-size: 1.0625rem; }
.btn .icon { width: 1.2em; height: 1.2em; }

.link-btn {
  padding: 0; border: 0; background: none;
  color: var(--green-deep); font-weight: 700; text-decoration: underline; text-underline-offset: .22em;
}
.link-btn:hover { color: var(--green-deeper); }

/* ---------- 5. Header / nav ------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 244, 228, .92);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 28px rgba(87, 87, 87, .08); }

.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--charcoal); font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; text-decoration: none;
}
.brand:hover { color: var(--charcoal); }
.brand__mark { width: auto; height: 42px; }
.brand__name .plus { color: var(--plus); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 2px solid var(--charcoal-deep); border-radius: 14px; background: var(--paper);
}
.js .nav-toggle { display: inline-flex; }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--charcoal-deep);
  transition: transform .2s ease, top .2s ease, background-color .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* Without JavaScript the menu is simply always visible */
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-bottom: 10px; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.site-nav__list a {
  display: block; padding: .5em .25em;
  color: var(--charcoal-deep); font-weight: 600; text-decoration: none;
}

/* With JavaScript: a dropdown panel on phones/tablets */
.js .site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column; align-items: stretch; gap: 8px;
  padding: 8px var(--gutter) 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line); border-radius: 0 0 28px 28px;
  box-shadow: 0 28px 44px rgba(87, 87, 87, .16);
}
.js .site-nav.is-open { display: flex; animation: nav-in .22s ease-out; }
.js .site-nav__list { flex-direction: column; gap: 0; }
.js .site-nav__list li + li { border-top: 1px solid var(--line); }
.js .site-nav__list a { padding: .95em .25em; font-size: 1.125rem; }
.js .site-nav .btn { margin-top: 12px; }
.site-nav__list a[aria-current="true"] { color: var(--green-deep); }

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

@media (min-width: 960px) {
  .site-header__inner { flex-wrap: nowrap; }
  .site-nav { padding-bottom: 0; }
  .js .nav-toggle { display: none; }
  .js .site-nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 28px;
    padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; animation: none;
  }
  .js .site-nav .btn { margin-top: 0; }
  .js .site-nav__list { flex-direction: row; gap: 4px; }
  .js .site-nav__list li + li { border-top: 0; }
  .site-nav__list a, .js .site-nav__list a {
    position: relative; padding: .5em .85em; border-radius: 999px; font-size: .98rem;
    transition: background-color .15s ease;
  }
  .site-nav__list a:hover { background: var(--sand); color: var(--charcoal-deep); }
  .site-nav__list a[aria-current="true"] { background: var(--yellow-tint); color: var(--charcoal-deep); }
}

/* ---------- 6. Hero -------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(28px, 5vw, 64px) calc(var(--arch) + clamp(36px, 5vw, 56px));
  scroll-margin-top: 0;
}
/* big soft shape bottom-left; the matching sky disc is anchored to the photo (.hero__visual::before) */
.hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  width: clamp(200px, 26vw, 360px); aspect-ratio: 1;
  left: -9%; bottom: 4%;
  background: var(--yellow-tint);
}

.hero__grid { display: grid; gap: clamp(28px, 5vw, 48px); align-items: center; }

.hero__title {
  margin: 0 0 .3em;
  font-size: clamp(3.4rem, 9.4vw, 6.9rem);
  line-height: .95; letter-spacing: -.035em;
  color: var(--charcoal);
}
.hero__line { display: block; }
.hero__title .plus { color: var(--plus); }
.hl {
  padding: 0 .06em; margin: 0 -.06em;
  background: linear-gradient(to bottom, transparent 64%, var(--yellow) 64%, var(--yellow) 91%, transparent 91%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__lede {
  max-width: 31ch; margin: 0;
  font-size: clamp(1.1rem, 1rem + .7vw, 1.4rem); line-height: 1.55; font-weight: 500;
}
.hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(24px, 4vw, 36px); max-width: 420px; }
.hero__actions .btn { padding-inline: 1em; }
@media (min-width: 900px) {
  .hero__actions { display: flex; flex-wrap: wrap; gap: 16px; max-width: none; }
  .hero__actions .btn { padding-inline: 2em; }
}

.hero__visual {
  --gap: clamp(16px, 4vw, 34px);
  --arc-w: clamp(8px, 1.5vw, 14px);
  position: relative;
  width: min(100%, 500px); margin-inline: auto;
  padding: var(--gap);
}
.hero__visual::before {                      /* soft sky disc behind the photo */
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  width: 155%; aspect-ratio: 1; right: -48%; top: -26%;
  background: var(--sky-tint);
}
.hero__frame { position: relative; aspect-ratio: 4 / 5; }
.hero__arc {
  position: absolute; z-index: 0;
  left: calc(var(--gap) * -1); right: calc(var(--gap) * -1); top: calc(var(--gap) * -1);
  height: 64%;
  border: var(--arc-w) solid var(--sky); border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.hero__backing {
  position: absolute; z-index: 0; inset: 0;
  transform: translate(calc(var(--gap) * .55), calc(var(--gap) * .55));
  background: var(--yellow);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
.hero__photo {
  position: absolute; z-index: 1; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--sand);
}
.hero__dot { position: absolute; z-index: 3; border-radius: 50%; }
.hero__dot--pink  { width: clamp(16px, 3vw, 26px); aspect-ratio: 1; right: 6%; top: 1%; background: var(--pink); }
.hero__dot--green { width: clamp(12px, 2.2vw, 18px); aspect-ratio: 1; left: 3%; top: 38%; background: var(--green); }

.hero__badge {
  position: absolute; z-index: 4; left: 0; bottom: calc(var(--gap) * .1);
  width: clamp(104px, 29%, 150px);
  padding: 10px 10px 8px;
  background: var(--paper); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
}
.hero__date {
  position: absolute; z-index: 4; right: 0; top: 31%;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .6em 1.05em .6em .85em; border-radius: 999px;
  background: var(--yellow); color: var(--charcoal-deep);
  font-size: .8125rem; font-weight: 700; line-height: 1.2; text-decoration: none;
  box-shadow: var(--shadow-md);
  transform: rotate(3deg);
  transition: transform .2s ease;
}
.hero__date:hover { color: var(--charcoal-deep); transform: rotate(0deg) translateY(-2px); }
.hero__date .icon { width: 1.5em; height: 1.5em; }
.hero__date-label { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }

@media (min-width: 720px) {
  .hero__grid { grid-template-columns: 1.02fr .98fr; gap: 32px; }
}
@media (min-width: 900px) {
  .hero__grid { gap: 40px; }
}

/* ---------- 7. About ------------------------------------------------- */
.about { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.about__copy p { max-width: 62ch; }
.lead { font-size: clamp(1.2rem, 1.02rem + .85vw, 1.55rem); line-height: 1.5; font-weight: 600; }
.about__close {
  margin-top: 1.4em;
  padding-left: 1.1rem; border-left: 6px solid var(--yellow);
  color: var(--charcoal-deep); font-weight: 700;
}

.collage { position: relative; width: min(100%, 520px); margin-inline: auto; padding-bottom: 30%; }
.polaroid {
  margin: 0; padding: 9px;
  background: var(--cream); border-radius: 18px; box-shadow: var(--shadow-md);
}
.polaroid img { width: 100%; border-radius: 11px; background: var(--sand); }
.polaroid--a { position: relative; z-index: 1; width: 64%; margin-left: auto; transform: rotate(3deg); }
.polaroid--b { position: absolute; z-index: 2; left: 0; bottom: 0; width: 76%; transform: rotate(-3.5deg); }
.collage::before {
  content: ""; position: absolute; z-index: 0; inset: 6% 8% 18% -4%;
  border-radius: 50%; background: var(--yellow-tint);
}
.collage__dot { position: absolute; z-index: 3; right: 1%; bottom: 8%; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); }

.statements { display: grid; gap: 20px; margin-top: clamp(48px, 7vw, 88px); }
.statement {
  position: relative; overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.statement > * { position: relative; z-index: 1; }
.statement::after { content: ""; position: absolute; z-index: 0; right: -54px; bottom: -64px; width: 190px; height: 190px; border-radius: 50%; }
.statement--mission { background: var(--yellow-tint); }
.statement--mission::after { background: var(--yellow); opacity: .6; }
.statement--vision { background: var(--sky-tint); }
.statement--vision::after { background: var(--sky); opacity: .7; }
.statement p { margin: 0; font-size: 1.1rem; line-height: 1.65; }
.statement__label {
  margin: 0 0 .9rem;
  font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal-deep);
}
.statement__label .plus { color: var(--charcoal-deep); }

@media (min-width: 900px) {
  .about { grid-template-columns: 1.12fr .88fr; }
}
@media (min-width: 800px) {
  .statements { grid-template-columns: 1fr 1.45fr; gap: 28px; }
}

/* ---------- 8. What We Do -------------------------------------------- */
.banner {
  position: relative; z-index: 0;
  margin: 0; aspect-ratio: 16 / 10; overflow: hidden;
  padding: 10px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  background: var(--cream);
}
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; border-radius: calc(var(--radius-lg) - 10px); background: var(--sky-tint); }

.stats { position: relative; z-index: 1; display: grid; gap: 18px; margin-top: -34px; padding-inline: clamp(8px, 3vw, 28px); }
.stat {
  position: relative; overflow: hidden;
  padding: 26px 26px 30px;
  background: var(--paper); color: var(--charcoal);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.stat::before {
  content: ""; position: absolute; top: -52px; right: -52px; width: 138px; height: 138px;
  border-radius: 50%; background: var(--stat-accent);
}
.stat--yellow { --stat-accent: var(--yellow); }
.stat--pink   { --stat-accent: var(--pink); }
.stat--green  { --stat-accent: var(--green); }
.stat__num {
  position: relative; margin: 0;
  font-size: clamp(3.8rem, 2.4rem + 5vw, 5.6rem); font-weight: 800; line-height: .95; letter-spacing: -.035em;
  font-variant-numeric: lining-nums; color: var(--charcoal-deep);
}
.stat__label { margin: .2em 0 .75em; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; color: var(--charcoal-deep); }
.stat__text { margin: 0; font-size: .98rem; line-height: 1.55; }

.timeline { margin-top: 0; }
.timeline__event {
  margin: 0 0 .5rem; text-align: center; color: var(--charcoal-deep);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 800; letter-spacing: -.01em;
}
.timeline__cta { margin: clamp(28px, 4vw, 44px) 0 0; text-align: center; }
.btn--white { --btn-edge: var(--charcoal-deep); background: #fff; color: var(--charcoal-deep); border-color: #fff; }
.btn--white:hover, .btn--white:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--charcoal-deep); }
.banner + .timeline { margin-top: clamp(44px, 7vw, 72px); }
.timeline__title {
  margin: 0 0 1.2rem; text-align: center;
  font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal-deep);
}
.timeline__list { position: relative; display: grid; gap: 18px; padding-left: 38px; }
.timeline__list::before {
  content: ""; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 4px; border-radius: 4px;
  background: var(--charcoal-deep); opacity: .28;
}
.step {
  position: relative;
  padding: 22px 24px 24px;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.step::before {
  content: ""; position: absolute; left: -36px; top: 26px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--step-accent); box-shadow: 0 0 0 4px var(--sky);
}
.step--yellow { --step-accent: var(--yellow); }
.step--pink   { --step-accent: var(--pink); }
.step--green  { --step-accent: var(--green); }
.step__time {
  display: inline-block; margin-bottom: .7em; padding: .2em .85em; border-radius: 999px;
  background: var(--yellow); color: var(--charcoal-deep); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em;
}
.step--pink .step__time  { background: var(--pink-tint); }
.step--green .step__time { background: var(--green-tint); }
.step__title { margin: 0 0 .4em; font-size: 1.35rem; }
.step__where { display: flex; gap: .55em; align-items: flex-start; margin: 0 0 .35em; font-size: .98rem; line-height: 1.5; }
.step__where:last-child { margin-bottom: 0; }
.step__where .icon { width: 1.15em; height: 1.15em; margin-top: .22em; color: var(--charcoal-deep); }

@media (min-width: 700px) {
  .banner { aspect-ratio: 21 / 9; }
}
/* Tablets: each stat becomes a roomy row (number left, words right) */
@media (min-width: 600px) and (max-width: 799px) {
  .stat { display: grid; grid-template-columns: 210px 1fr; column-gap: 24px; align-items: center; padding-block: 24px; }
  .stat__num { grid-row: 1 / span 2; font-size: clamp(3.4rem, 8vw, 4.4rem); }
  .stat__label { align-self: end; margin: 0 0 .2em; }
  .stat__text { align-self: start; }
}
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -76px; }
}
@media (min-width: 900px) {
  .timeline__list { grid-template-columns: 1fr 1fr 1.45fr; gap: 24px; padding: 40px 0 0; }
  .timeline__list::before { left: 0; right: 0; top: 14px; bottom: auto; width: auto; height: 4px; }
  .step::before { left: 26px; top: -38px; }
}

/* ---------- 9. Gallery + photo viewer -------------------------------- */
.gallery-wrap { position: relative; }
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  padding: 10px; margin: -10px;
}
.tile {
  position: relative; margin: 0; aspect-ratio: 3 / 4;
  border-radius: 20px; overflow: hidden;
  background: var(--sand); box-shadow: var(--shadow-sm);
}
.tile--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.tile__link { position: absolute; inset: 0; display: block; cursor: zoom-in; border-radius: inherit; }
.tile__link:focus-visible { outline-offset: -6px; outline-color: var(--paper); box-shadow: inset 0 0 0 9px var(--charcoal-deep); }
.tile img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.tile:hover img { transform: scale(1.05); }

.hide-kids [data-kids] { display: none; }

/* "Peek" state: only the first couple of rows show, with a fade and a Show all button */
.gallery-wrap.is-collapsed .gallery { max-height: var(--peek, 640px); overflow: hidden; }
.gallery-wrap.is-collapsed::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 230px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(251, 244, 228, 0), var(--cream) 80%);
}
.gallery__more { position: absolute; z-index: 2; left: 0; right: 0; bottom: 6px; margin-inline: auto; width: max-content; background: var(--paper); }
.gallery__more[hidden] { display: none; }
.gallery-wrap:not(.is-collapsed) .gallery__more { position: relative; bottom: auto; margin-top: 36px; }

@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tile--wide { aspect-ratio: auto; }       /* fills the row height set by its portrait neighbours */
  .gallery-wrap { --peek: 700px; }
}
@media (min-width: 1100px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .gallery-wrap { --peek: 860px; }
}
@media (max-width: 699px) {
  .gallery-wrap { --peek: 610px; }
}

/* Photo viewer */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: transparent; color: var(--paper);
}
.lightbox::backdrop { background: rgba(38, 38, 38, .93); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__inner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 14px 22px; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lightbox__img {
  width: auto; height: auto; max-width: min(100%, 1100px); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px);
  border-radius: 16px; background: var(--sand); box-shadow: var(--shadow-lg); object-fit: contain;
}
.lightbox__count { font-size: .9rem; font-weight: 600; letter-spacing: .1em; color: var(--paper); }
.lightbox__btn {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px;
  border: 0; border-radius: 50%; background: var(--paper); color: var(--charcoal-deep);
  box-shadow: var(--shadow-md); transition: transform .15s ease, background-color .15s ease;
}
.lightbox__btn:hover { background: var(--yellow); transform: scale(1.07); }
.lightbox__btn:focus-visible { outline-color: var(--paper); }
.lightbox__close { top: 10px; right: 12px; }
.lightbox__prev  { left: 10px; top: 50%; margin-top: -25px; }
.lightbox__next  { right: 10px; top: 50%; margin-top: -25px; }
html.lb-open { overflow: hidden; }

/* ---------- 10. Directors -------------------------------------------- */
.directors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.director {
  padding: 28px 14px 24px; text-align: center;
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.director:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.director__photo {
  --ring: var(--sky);
  display: grid; place-items: center;
  width: min(100%, 168px); aspect-ratio: 1; margin: 0 auto 22px;
  border-radius: 50%; object-fit: cover;
  background: var(--sky-tint); color: var(--charcoal-deep);
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 10px var(--ring);
}
.director__photo--yellow { --ring: var(--yellow); background: var(--yellow-tint); }
.director__photo--pink   { --ring: var(--pink);   background: var(--pink-tint); }
.director__photo--green  { --ring: var(--green);  background: var(--green-tint); }
.director__name { margin: 0 0 .15em; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); }
.director__role { margin: 0; font-size: .92rem; font-weight: 500; }

/* Phones: one compact row per director (photo left, name right) so names never wrap awkwardly */
@media (max-width: 559px) {
  .directors { grid-template-columns: 1fr; gap: 14px; }
  .director { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 4px 20px; padding: 16px 20px 16px 22px; text-align: left; }
  .director:hover { transform: none; }
  .director__photo { grid-row: 1 / span 2; width: 84px; margin: 0; font-size: 1.5rem; box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--ring); }
  .director__name { align-self: end; margin: 0; }
  .director__role { align-self: start; }
}

@media (min-width: 900px) {
  .directors { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* Couples: one card, two photo placeholders side by side */
.directors:has(.director--pair) { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
.director__photos { display: flex; justify-content: center; gap: 30px; margin: 6px auto 24px; }
.director__photos .director__photo { width: min(38%, 136px); margin: 0; }
@media (max-width: 559px) {
  .director--pair { display: block; padding: 24px 18px 22px; text-align: center; }
  .director__photos { gap: 18px; margin-bottom: 18px; }
  .director__photos .director__photo { width: 96px; }
  .director--pair .director__name { margin-bottom: .2em; }
}
@media (min-width: 560px) {
  .directors:has(.director--pair) { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* Couples: one shared portrait, then a short quote */
.director__portrait {
  --ring: var(--sky);
  display: block; width: min(100%, 280px); height: auto; aspect-ratio: 5 / 6; margin: 8px auto 26px;
  object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-lg);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 10px var(--ring);
}
.director__portrait--pink { --ring: var(--pink); }
.director__quote { max-width: 36ch; margin: 18px auto 0; font-style: italic; color: var(--charcoal); }
.director__quote p { margin: 0; }
@media (max-width: 559px) {
  .director__portrait { width: min(100%, 240px); margin-bottom: 20px; }
}

/* "Read more": the rest of a quote stays hidden until asked (fully shown when JavaScript is off) */
.more__rest > p { margin: .8em 0 0; }
.more__btn { margin-top: 10px; padding: .45em 0; font-size: .95rem; }

/* ---------- 11. Ways to Give ----------------------------------------- */
.give { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
.give__intro .section-sub { max-width: 22ch; }

.card {
  position: relative;
  padding: clamp(24px, 3.5vw, 38px);
  background: var(--paper); color: var(--charcoal);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.card--main { box-shadow: var(--shadow-lg); }
.card__heart { position: absolute; top: clamp(22px, 3vw, 32px); right: clamp(22px, 3vw, 32px); width: 44px; height: 44px; color: var(--pink); }
.card__title { margin: 0 0 .4em; font-size: clamp(1.7rem, 1.35rem + 1.3vw, 2.2rem); }
.card__title--sm { margin-bottom: .2em; font-size: 1.3rem; }
.card--main p:not(.card__note) { max-width: 30ch; }
.card--main .btn { margin-top: .4rem; }
.card__note { max-width: 46ch; margin: 1.3rem 0 0; font-size: .92rem; line-height: 1.55; text-wrap: balance; }

.give__other-title {
  margin: 0 0 14px; padding-left: 4px;
  font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal-deep);
}
.give__other { margin-top: 4px; }
.card--row { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.card--row + .card--row { margin-top: 16px; }
.card--row p { margin: 0 0 .5em; font-size: .98rem; }
.card__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px;
  background: var(--sky-tint); color: var(--charcoal-deep);
}
.card--row + .card--row .card__icon { background: var(--pink-tint); }
.card__icon .icon { width: 1.5rem; height: 1.5rem; }

.copyline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; }
.copyline + .copyline { margin-top: 10px; }
.copyline__value { font-size: 1.1rem; font-weight: 700; color: var(--charcoal-deep); overflow-wrap: anywhere; }
.copy-btn {
  display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: .3em 1em;
  border: 2px solid var(--charcoal-deep); border-radius: 999px; background: transparent;
  color: var(--charcoal-deep); font-size: .9rem; font-weight: 700;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.copy-btn:hover { background: var(--yellow-tint); }
.copy-btn.is-copied { background: var(--green-deep); border-color: var(--green-deep); color: var(--paper); }
.copy-btn .icon { width: 1.1em; height: 1.1em; }
.address { margin: 0; font-style: normal; font-weight: 600; line-height: 1.6; color: var(--charcoal-deep); }

@media (min-width: 900px) {
  .give { grid-template-columns: .78fr 1.22fr; }
  .give__cards { display: grid; grid-template-columns: 1fr; gap: 28px; }
  /* keeps the heading in view while the cards scroll past */
  .give__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- 11b. Donor thanks ---------------------------------------- */
.donors { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1080px; }
.donor {
  --ring: var(--sky); --tint: var(--sky-tint);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30px 22px 26px; background: var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.donor--pink  { --ring: var(--pink);  --tint: var(--pink-tint); }
.donor--green { --ring: var(--green); --tint: var(--green-tint); }
.donor__photo {
  display: grid; place-items: center; width: 144px; aspect-ratio: 1; margin: 4px 0 24px;
  border-radius: 50%; object-fit: cover; background: var(--tint); color: var(--charcoal-deep);
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 9px var(--ring);
}
.donor__quote { margin: 0 0 16px; font-size: 1.02rem; font-style: italic; color: var(--charcoal); }
.donor__quote p { margin: 0; }
.donor__name { margin: auto 0 0; font-weight: 800; font-size: 1.1rem; color: var(--charcoal-deep); }
@media (min-width: 760px) { .donors { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- 12. Contact ---------------------------------------------- */
.contact { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact__photo {
  width: clamp(150px, 24vw, 230px); aspect-ratio: 1; margin: 0 0 32px 24px; overflow: hidden;   /* 24px = width of the rings, keeps them inside the gutter */
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--cream), 0 0 0 14px var(--sky), 0 0 0 21px var(--cream), 0 0 0 24px var(--yellow), var(--shadow-md);
}
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.contact__intro .section-sub { max-width: 28ch; }

.contact__card {
  padding: clamp(22px, 4vw, 44px);
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.form { display: grid; gap: 18px; }
.field label { display: block; margin-bottom: .4em; font-size: .95rem; font-weight: 700; color: var(--charcoal-deep); }
.optional { font-weight: 500; color: var(--charcoal); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: .75em 1em;
  border: 2px solid #8A8A8A; border-radius: 14px;
  background: var(--cream); color: var(--charcoal-deep); font-size: 1rem;
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.8em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F3F3F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center; background-size: 1em;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--charcoal-deep); outline-offset: 2px;
  border-color: var(--charcoal-deep); background-color: var(--paper);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--pink-deep); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form__status { flex: 1 1 200px; margin: 0; font-weight: 600; }
.form__status.is-error { color: var(--pink-deep); }

.thanks { padding: 28px 8px; text-align: center; }
.thanks__icon { width: 68px; height: 68px; margin: 0 auto 14px; color: var(--pink); animation: pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.thanks__title { margin-bottom: .3em; font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); }
.thanks p { max-width: 32ch; margin-inline: auto; }
.thanks[hidden], .form[hidden] { display: none; }

@keyframes pop {
  from { opacity: 0; transform: scale(.4); }
  to   { opacity: 1; transform: none; }
}

@media (min-width: 600px) {
  .form { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .contact { grid-template-columns: .82fr 1.18fr; }
}

/* ---------- 13. Footer ----------------------------------------------- */
.footer { display: grid; gap: 22px; justify-items: center; text-align: center; }
.footer__logo img { width: 96px; height: auto; }
.footer__info p, .footer__copy { margin: 0; font-size: .92rem; line-height: 1.7; }
.footer__info p { font-weight: 600; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--charcoal-deep); font-size: .92rem; font-weight: 600; }
.footer__links a:hover { color: var(--green-deeper); }

@media (min-width: 860px) {
  .footer { grid-template-columns: auto 1fr auto; grid-template-areas: "logo info links" "logo copy copy"; gap: 6px 48px; justify-items: start; text-align: left; align-items: center; }
  .footer__logo { grid-area: logo; }
  .footer__info { grid-area: info; }
  .footer__links { grid-area: links; justify-self: end; }
  .footer__copy { grid-area: copy; }
}

/* ---------- 15. Inner pages (privacy, terms, thank-you) -------------- */
.page-main { padding-block: clamp(36px, 6vw, 72px) calc(var(--arch) + clamp(40px, 6vw, 72px)); }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2.3rem, 1.6rem + 3.2vw, 3.6rem); margin-bottom: .25em; }
.prose h2 { margin: 2em 0 .5em; font-size: 1.4rem; }
.prose .meta { margin-bottom: 2rem; font-weight: 600; }
.prose .notice {
  margin: 0 0 2rem; padding: 1rem 1.25rem;
  background: var(--yellow-tint); border-left: 6px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--charcoal-deep); font-weight: 600;
}
.prose ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: .4em; }

.thankyou {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  display: grid; place-items: center; text-align: center;
  min-height: calc(100vh - var(--header-h) - 120px);
  padding-block: clamp(24px, 4vw, 48px) calc(var(--arch) + clamp(32px, 5vw, 64px));
}
.thankyou__inner { position: relative; z-index: 1; max-width: 700px; }
.thankyou__logo { width: clamp(104px, 15vw, 150px); height: auto; margin: 0 auto clamp(12px, 2vw, 20px); }
.thankyou h1 { font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.2rem); line-height: 1; margin-bottom: .3em; }
.thankyou p { margin-bottom: .8em; font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); font-weight: 500; }
.thankyou .btn { margin-top: 8px; }
.confetti { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.confetti span { position: absolute; display: block; border-radius: 50%; animation: float 7s ease-in-out infinite; }
.confetti span:nth-child(1) { left: 8%;  top: 14%; width: 38px; height: 38px; background: var(--yellow); }
.confetti span:nth-child(2) { right: 10%; top: 20%; width: 64px; height: 64px; background: var(--sky); animation-delay: -2s; }
.confetti span:nth-child(3) { left: 14%; bottom: 20%; width: 26px; height: 26px; background: var(--pink); animation-delay: -4s; }
.confetti span:nth-child(4) { right: 16%; bottom: 14%; width: 44px; height: 44px; background: var(--green); animation-delay: -1s; }
.confetti span:nth-child(5) { left: 46%; top: 6%; width: 18px; height: 18px; background: var(--pink); animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* ---------- 16. Motion ----------------------------------------------- */
/* Fade-up on scroll. Only active when main.js adds .js-reveal (never for reduced-motion users). */
.js-reveal .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .stats .reveal:nth-child(2), .js-reveal .directors .reveal:nth-child(2) { transition-delay: .08s; }
.js-reveal .stats .reveal:nth-child(3), .js-reveal .directors .reveal:nth-child(3) { transition-delay: .16s; }
.js-reveal .directors .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .btn:hover, .btn:active, .director:hover, .tile:hover img, .hero__date:hover { transform: none; }
  .hero__date { transform: rotate(3deg); }
}

/* ---------- 17. Utilities -------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
