/* ==========================================================================
   Excel At Work - global stylesheet
   Palette: Crimson #C8232C | Charcoal #2D2D2D | White #FFFFFF
   No frameworks and no external font requests, so the site stays fast,
   offline-friendly and free of third-party tracking.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  --crimson: #c8232c;
  --crimson-dark: #9d1a22;
  --crimson-tint: #fbeaea;
  --charcoal: #2d2d2d;
  --charcoal-soft: #3b3b3b;
  --white: #ffffff;
  --grey-050: #f7f7f8;
  --grey-100: #efeff1;
  --grey-300: #d8d8dc;
  --muted: #5c5c63;

  --font-heading: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1160px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(45, 45, 45, 0.08);
  --shadow: 0 10px 30px rgba(45, 45, 45, 0.12);
  --header-h: 84px;
}

/* ---------------------------------------------------------------- 2. Reset */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--crimson); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--crimson-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 999;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- 3. Layout */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--grey { background: var(--grey-050); }
.section--crimson { background: var(--crimson); color: var(--white); }
/* Dark band variant, kept for future sections (pair it with .btn--white). */
.section--charcoal { background: var(--charcoal); color: var(--white); }

.section--crimson h1,
.section--crimson h2,
.section--crimson h3,
.section--charcoal h1,
.section--charcoal h2,
.section--charcoal h3 { color: var(--white); }

.section--crimson a,
.section--charcoal a { color: var(--white); }

.lede { font-size: 1.125rem; max-width: 62ch; }
.section--crimson .lede,
.section--charcoal .lede { color: rgba(255, 255, 255, 0.92); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.section--crimson .eyebrow,
.section--charcoal .eyebrow { color: rgba(255, 255, 255, 0.88); }

.section-head { max-width: 68ch; margin-bottom: 2.25rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Two-column split used across the blueprint (art + copy). */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
/* min-width:0 stops a long word or URL from blowing out a 1fr grid column. */
.split__content { min-width: 0; }

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
/* Top-aligns a column next to a taller neighbour (e.g. form + contact card). */
.split--top { align-items: start; }

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.05fr 0.95fr; }
  .split--media-right .split__media { order: 2; }
}

/* Full-bleed crimson card wrapper (blueprint: section 2 of Donations). */
.panel {
  background: var(--crimson);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.panel--charcoal { background: var(--charcoal); }
.panel h2, .panel h3 { color: var(--white); }
.panel a { color: var(--white); }
/* Captions and secondary text sitting on a coloured panel need light text. */
.panel .credit,
.panel .figure figcaption { color: rgba(255, 255, 255, 0.75); }
.panel .muted { color: rgba(255, 255, 255, 0.8); }

/* --------------------------------------------------------------- 4. Header */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand img { width: 160px; height: auto; }
.brand__tag {
  display: none;
  border-left: 1px solid var(--grey-300);
  padding-left: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  max-width: 16ch;
  text-decoration: none;
}
@media (min-width: 1180px) { .brand__tag { display: block; } }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
}
.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before,
.nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -6px; }
.nav__toggle-bars::after { top: 6px; }

/* The chevron button is only needed in the stacked mobile layout. On desktop
   the submenu opens on hover and on keyboard focus (see :focus-within below). */
.nav__submenu-toggle { display: none; }
.nav__item--has-submenu { display: flex; flex-wrap: wrap; align-items: center; }
.nav__item--has-submenu > .nav__link { width: auto; }
@media (max-width: 999px) {
  .nav__submenu-toggle {
    display: flex;
    width: auto;
    padding: 0.7rem 0.8rem;
    margin-left: -0.4rem;
  }
  .nav__item--has-submenu > .nav__link { flex: 1 1 auto; }
  .nav__submenu { flex: 1 1 100%; }
}

@media (max-width: 999px) {
  .nav {
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-top: 1px solid var(--grey-100);
    box-shadow: var(--shadow);
    display: none;
    padding: 0.5rem 1.25rem 1.25rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav[data-open="true"] { display: block; }
}
@media (min-width: 1000px) { .nav__toggle { display: none; } }

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
@media (min-width: 1000px) {
  .nav__list { flex-direction: row; align-items: center; gap: 0.3rem; }
}

.nav__item { position: relative; margin: 0; }
.nav__link,
.nav__submenu-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
}
.nav__link:hover,
.nav__submenu-toggle:hover { background: var(--grey-050); color: var(--crimson); }
.nav__link[aria-current="page"] { color: var(--crimson); }
@media (min-width: 1000px) {
  /* Underline the top-level items only; dropdown items get a tinted background
     instead, so the two "current" states never look like the same control. */
  .nav__list > .nav__item > .nav__link[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--crimson);
    border-radius: 0;
  }
}
.nav__submenu .nav__link[aria-current="page"] {
  background: var(--crimson-tint);
  box-shadow: none;
}

.nav__submenu-toggle::after {
  content: "";
  width: 0.45em; height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 150ms ease;
}
.nav__item[data-open="true"] .nav__submenu-toggle::after { transform: rotate(225deg) translateY(-2px); }

.nav__submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.35rem 0.85rem;
  border-left: 2px solid var(--grey-100);
  display: none;
}
.nav__item[data-open="true"] .nav__submenu { display: block; }

@media (min-width: 1000px) {
  .nav__submenu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 250px;
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.4rem;
    z-index: 70;
  }
  .nav__item--has-submenu:hover .nav__submenu,
  .nav__item--has-submenu:focus-within .nav__submenu,
  .nav__item--has-submenu[data-open="true"] .nav__submenu { display: block; }
  .nav__submenu .nav__link { border-radius: calc(var(--radius) - 3px); }
}

.nav__cta { margin-top: 0.6rem; }
@media (min-width: 1000px) { .nav__cta { margin: 0 0 0 0.5rem; } }

/* -------------------------------------------------------------- 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn--crimson { background: var(--crimson); color: var(--white); }
.btn--crimson:hover { background: var(--crimson-dark); color: var(--white); }
.btn--white { background: var(--white); color: var(--crimson); }
.btn--white:hover { background: var(--crimson-tint); color: var(--crimson-dark); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.85); }
.btn--outline-white:hover { background: var(--white); color: var(--crimson); border-color: var(--white); }
.btn--charcoal { background: var(--charcoal); color: var(--white); }
.btn--charcoal:hover { background: #1f1f1f; color: var(--white); }
.btn--ghost { background: transparent; color: var(--crimson); border-color: var(--crimson); }
.btn--ghost:hover { background: var(--crimson-tint); color: var(--crimson-dark); }
.btn--block { width: 100%; }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn-row--center { justify-content: center; }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }

/* ---------------------------------------------------------- 6. Page hero */
.page-hero {
  background: var(--crimson);
  color: var(--white);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.page-hero h1 { margin-bottom: 0.4em; }
.page-hero p { margin-inline: auto; max-width: 70ch; }

/* Contact hero: address and email as a definition list, then one wide CTA. */
.hero-details {
  display: grid;
  gap: 1.25rem;
  justify-content: center;
  margin: 2rem auto 1.75rem;
  max-width: 46rem;
}
@media (min-width: 700px) {
  .hero-details { grid-template-columns: 1fr 1fr; text-align: left; }
}
.hero-details dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.85);
}
.hero-details dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.45;
}
.hero-cta { max-width: 26rem; margin-inline: auto; }

/* Home banner: crimson copy block plus a full-bleed photo strip. */
.banner { text-align: center; }
.banner__pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}
/* Chips rather than "·" separators, so wrapped rows never leave a stray dot. */
.banner__pillars li {
  margin: 0;
  padding: 0.4rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 1.6vw, 1.2rem);
  line-height: 1.3;
}
.hero-media { display: block; width: 100%; }
.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  /* Sources are ~2.4:1, so a 3:1 band trims a little top and bottom; biasing the
     crop upward keeps faces in frame on the tall hero shots. */
  object-position: center 40%;
}
.hero-media--home img {
  aspect-ratio: 2 / 1;
  object-position: center 45%;
}

/* ------------------------------------------------- 7. Cards and card grids */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card__media img {
  width: 100%;
  /* Matches the 900x640 card slot in scripts/seed-images.mjs and the width/height
     attributes in the markup, so a live Pexels crop lands exactly in this box. */
  aspect-ratio: 900 / 640;
  object-fit: cover;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.4rem;
  flex: 1;
}
.card__body > .btn { margin-top: auto; align-self: flex-start; }
.card__title { margin-bottom: 0; }
.card__meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--crimson);
}
.card p { color: var(--muted); }

/* Charcoal variant - the blueprint's dark "program card blocks". Use it on a
   single card (.card--charcoal) or across a whole grid (.card-grid--charcoal). */
.card--charcoal,
.card-grid--charcoal .card {
  background: var(--charcoal);
  border-color: transparent;
  color: var(--white);
}
.card--charcoal .card__title,
.card-grid--charcoal .card .card__title { color: var(--white); }
.card--charcoal p,
.card-grid--charcoal .card p { color: rgba(255, 255, 255, 0.85); }
.card--charcoal .card__meta,
.card-grid--charcoal .card .card__meta { color: rgba(255, 255, 255, 0.78); }
/* Lift the dark cards off the light grey section behind them. */
.card-grid--charcoal .card { box-shadow: 0 12px 26px rgba(45, 45, 45, 0.18); }

/* Compact info tiles (facts, contact details, board members). */
.tile {
  background: var(--grey-050);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.tile h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.tile p { margin: 0; color: var(--muted); }

.credit {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.section--crimson .credit,
.section--charcoal .credit { color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------- 8. Steps, lists, callouts */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.steps__item {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.steps__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.steps__body { padding: 1.4rem; }
.steps__body h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
/* Numbered badge inlined with the step title, so it reads as one unit. */
.steps__body h3::before {
  content: counter(step);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}
.steps__body p { margin: 0; color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.6rem;
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--crimson-tint);
  color: var(--crimson);
  font-size: 0.7rem;
  font-weight: 700;
}
.section--crimson .checklist li::before,
.section--charcoal .checklist li::before {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.note {
  border-left: 4px solid var(--crimson);
  background: var(--grey-050);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}
.section--crimson .note,
.section--charcoal .note {
  background: rgba(0, 0, 0, 0.18);
  border-left-color: var(--white);
}

.facilitator {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin-bottom: 1.25rem;
}
.facilitator__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--crimson);
}
.section--crimson .facilitator__label { color: rgba(255, 255, 255, 0.85); }
.facilitator__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.figure { margin: 0; }
.figure figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.section--crimson .figure figcaption,
.section--charcoal .figure figcaption { color: rgba(255, 255, 255, 0.75); }

/* -------------------------------------------------------- 9. Gallery carousel */
.carousel {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
}
.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--charcoal);
}
.carousel__track {
  display: flex;
  transition: transform 350ms ease;
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 100%;
  margin: 0;
}
.carousel__slide img {
  width: 100%;
  /* 4:3, matching the 900x675 gallery slots and their width/height attributes. */
  aspect-ratio: 900 / 675;
  object-fit: cover;
}
.carousel__slide figcaption {
  padding: 0.75rem 1rem;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.9rem;
  height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--charcoal);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.carousel__btn:hover { background: var(--crimson); color: var(--white); }
.carousel__btn--prev { left: 0.75rem; }
.carousel__btn--next { right: 0.75rem; }
.carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.15rem;
}
.carousel__dot {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--grey-300);
  cursor: pointer;
}
.carousel__dot[aria-current="true"] { background: var(--crimson); }
.carousel__footer {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ 10. Forms */
.form { margin: 0; }
.form__grid {
  display: grid;
  gap: 1.1rem 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .form__grid--2 { grid-template-columns: 1fr 1fr; }
  .form__field--full { grid-column: 1 / -1; }
}

.form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.form__field label {
  font-weight: 600;
  font-size: 0.95rem;
}
.form__req { color: var(--crimson); }
.form__hint {
  font-size: 0.82rem;
  color: var(--muted);
}

.form__field input[type="text"],
.form__field input[type="email"],
.form__field input[type="tel"],
.form__field input[type="number"],
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  font: inherit;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius);
}
.form__field input:hover,
.form__field select:hover,
.form__field textarea:hover { border-color: #b9b9c0; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(200, 35, 44, 0.18);
}
.form__field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.form__check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.form__check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--crimson);
}

.form__actions { margin-top: 1.4rem; }

/* Feedback states written by assets/js/main.js */
.form__feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  border-left: 4px solid var(--muted);
  background: var(--grey-050);
}
.form__feedback[data-state="success"] { border-left-color: #1f8b4c; background: #ebf7f0; }
.form__feedback[data-state="warn"] { border-left-color: #b26a00; background: #fdf5e6; }
.form__feedback[data-state="info"] { border-left-color: var(--crimson); background: var(--crimson-tint); }

/* Inline form sitting inside a crimson panel (e.g. Donations). */
.panel .form__field input,
.panel .form__field select { border-color: transparent; }

/* --------------------------------------------------------------- 11. Tables */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
caption {
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
th, td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--grey-100);
}
thead th {
  background: var(--grey-050);
  font-family: var(--font-heading);
  font-size: 1rem;
}
tbody tr:last-child td { border-bottom: 0; }

/* ----------------------------------------------------------- 12. Utilities */
.grid-2,
.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.stack-sm > * + * { margin-top: 0.75rem; }
.stack > * + * { margin-top: 1.25rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.text-white { color: var(--white); }
.muted { color: var(--muted); }
.section--crimson .muted,
.section--charcoal .muted { color: rgba(255, 255, 255, 0.8); }

.narrow { max-width: 74ch; }
.narrow--center { margin-inline: auto; }

/* --------------------------------------------------------------- 13. Footer */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 1.5rem;
  font-size: 0.95rem;
}
.footer a { color: rgba(255, 255, 255, 0.92); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer h2,
.footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer__brand { max-width: 34ch; }
/* logo-white.png is the white-on-transparent wordmark, so it sits directly on
   the charcoal footer with no chip behind it. */
.footer__logo { display: inline-block; margin-bottom: 1rem; }
.footer__logo img { width: 150px; height: auto; }

.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 0.45rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer__bottom p { margin: 0; }

/* ------------------------------------------------- 14. Motion and printing */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .header, .footer, .carousel__btn, .carousel__dots, .skip-link { display: none !important; }
  body { color: #000; }
  .section { padding: 1rem 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .panel, .section--crimson, .section--charcoal { background: #fff !important; color: #000 !important; }
  .panel h2, .panel h3, .section--crimson h1, .section--crimson h2 { color: #000 !important; }
}






