/* ==========================================================================
   Rising Lions First Responder Ministry — Design Tokens & Components
   Concept: the ministry's own emblem — two crimson lions rising beneath a
   sunburst. Bold, resolute, faith-grounded. Red is the single hero accent;
   near-black "ink" bands echo the emblem's badge shape; amber sun-rays are
   used sparingly as a secondary highlight.
   ========================================================================== */

:root,
[data-theme='light'] {
  /* Surfaces — warm off-white, letting red/black carry the brand */
  --color-bg: #fbf8f4;
  --color-surface: #ffffff;
  --color-surface-2: #ffffff;
  --color-surface-offset: #f4efe6;
  --color-surface-offset-2: #ece3d3;
  --color-surface-dynamic: #e0d3ba;
  --color-divider: #e2d6c1;
  --color-border: #d8c9a9;

  /* Text — warm near-black */
  --color-text: #1c1512;
  --color-text-muted: #6b5f52;
  --color-text-faint: #a79a85;
  --color-text-inverse: #fbf6ee;

  /* Primary Accent — Rising Lions crimson */
  --color-primary: #b8281d;
  --color-primary-hover: #96201a;
  --color-primary-active: #741913;
  --color-primary-highlight: #f2d9d2;

  /* Ink — the emblem's black badge band */
  --color-ember: #1a130f;
  --color-ember-hover: #241b14;
  --color-ember-highlight: #e3ddd3;

  /* Amber sun-ray — secondary highlight, used sparingly */
  --color-accent: #d97a1f;
  --color-accent-highlight: #f6e3c4;

  /* Warning / Error / Success — muted, tone-matched */
  --color-warning: #a25a12;
  --color-warning-hover: #7f450d;
  --color-warning-highlight: #eddab9;
  --color-error: #a12b28;
  --color-error-hover: #7e201e;
  --color-error-highlight: #edd2cf;
  --color-success: #4d6b2a;
  --color-success-hover: #3a521f;
  --color-success-highlight: #dbe6c9;

  /* Radius */
  --radius-sm: 0.3rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.85rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.03 60 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.2 0.03 60 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.2 0.03 60 / 0.16);

  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1220px;
  --content-full: 100%;

  --font-display: 'Erode', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Satoshi', 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #120d0a;
  --color-surface: #18120d;
  --color-surface-2: #1c1510;
  --color-surface-offset: #211812;
  --color-surface-offset-2: #281d15;
  --color-surface-dynamic: #34251a;
  --color-divider: #33251b;
  --color-border: #423020;

  --color-text: #f3e9db;
  --color-text-muted: #baa88e;
  --color-text-faint: #7c6a54;
  --color-text-inverse: #1c1512;

  --color-primary: #e6564a;
  --color-primary-hover: #ec6f64;
  --color-primary-active: #f2897e;
  --color-primary-highlight: #3d1e1a;

  --color-ember: #0c0906;
  --color-ember-hover: #171310;
  --color-ember-highlight: #3a2c1e;

  --color-accent: #ef9d4c;
  --color-accent-highlight: #3c2c15;

  --color-warning: #e0a05a;
  --color-warning-hover: #e8b174;
  --color-warning-highlight: #3d2e1a;
  --color-error: #dd8a86;
  --color-error-hover: #e59d99;
  --color-error-highlight: #3a2426;
  --color-success: #9fb076;
  --color-success-hover: #b0bf8c;
  --color-success-highlight: #2c331c;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --color-bg: #120d0a;
    --color-surface: #18120d;
    --color-surface-2: #1c1510;
    --color-surface-offset: #211812;
    --color-surface-offset-2: #281d15;
    --color-surface-dynamic: #34251a;
    --color-divider: #33251b;
    --color-border: #423020;
    --color-text: #f3e9db;
    --color-text-muted: #baa88e;
    --color-text-faint: #7c6a54;
    --color-text-inverse: #1c1512;
    --color-primary: #e6564a;
    --color-primary-hover: #ec6f64;
    --color-primary-active: #f2897e;
    --color-primary-highlight: #3d1e1a;
    --color-ember: #0c0906;
    --color-ember-hover: #171310;
    --color-ember-highlight: #3a2c1e;
    --color-accent: #ef9d4c;
    --color-accent-highlight: #3c2c15;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 6px 16px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
  }
}

/* ---------------- Type Scale ---------------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.4rem, 1rem + 4vw, 4.5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6.5vw, 6.75rem);
}

/* ---------------- Spacing ---------------- */
:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ==========================================================================
   Base Typography
   ========================================================================== */

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 62ch;
  line-height: 1.55;
}

.prose p {
  max-width: 68ch;
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose strong {
  color: var(--color-text);
}

/* ==========================================================================
   Layout Primitives
   ========================================================================== */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-10));
}
.container--default {
  max-width: var(--content-default);
}
.container--narrow {
  max-width: var(--content-narrow);
}

main {
  overflow-x: hidden;
}

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section--tight {
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}
.section--offset {
  background: var(--color-surface-offset);
}

.grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hr {
  border: none;
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.12);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.32);
}
.brand-mark--lg {
  width: 52px;
  height: 52px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .brand-name small {
    display: none;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding-block: var(--space-1);
  border-bottom: 1px solid transparent;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--color-text);
  border-bottom-color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.icon-btn:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text);
}
@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.08);
  background: var(--color-bg);
}
.mobile-nav.is-open {
  display: block;
}
@media (min-width: 900px) {
  .mobile-nav {
    display: none !important;
  }
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) clamp(var(--space-4), 5vw, var(--space-10)) var(--space-6);
  gap: var(--space-1);
}
.mobile-nav a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  min-height: 44px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
[data-theme='dark'] .btn-primary,
@media (prefers-color-scheme: dark) {
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.22);
}
.btn-outline:hover {
  background: var(--color-surface-offset);
  border-color: oklch(from var(--color-text) l c h / 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
}
.btn-ghost:hover {
  color: var(--color-text);
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-text-inverse);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(0.14 0.03 50 / 0.35) 0%,
    oklch(0.12 0.03 50 / 0.45) 45%,
    oklch(0.08 0.02 50 / 0.92) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-12) clamp(var(--space-16), 8vw, var(--space-24));
  width: 100%;
}
.hero .eyebrow {
  color: #f0cf98;
}
.hero h1 {
  font-size: var(--text-hero);
  color: #fff9ee;
  margin-block: var(--space-4) var(--space-6);
  max-width: 16ch;
}
.hero .lede {
  color: #ecdfc7;
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.hero-actions .btn-outline {
  color: #fff9ee;
  border-color: oklch(1 0 0 / 0.35);
}
.hero-actions .btn-outline:hover {
  background: oklch(1 0 0 / 0.1);
}

.page-header {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24)) clamp(var(--space-10), 6vw, var(--space-16));
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
}
.page-header h1 {
  font-size: var(--text-2xl);
  margin-top: var(--space-3);
}
.page-header .lede {
  margin-top: var(--space-5);
}
.page-header .btn {
  margin-top: var(--space-6);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.09);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  box-shadow: var(--shadow-md);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
}

.icon-tile {
  width: 44px;
  height: 44px;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.icon-tile svg {
  width: 100%;
  height: 100%;
}

/* Serving cards — who we serve */
.serve-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 1px;
  background: oklch(from var(--color-text) l c h / 0.1);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.serve-item {
  background: var(--color-surface);
  padding: var(--space-6);
}
.serve-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.serve-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Scripture callout */
.callout {
  position: relative;
  padding: clamp(var(--space-8), 6vw, var(--space-12));
  background: var(--color-ember);
  color: #f5ede2;
  border-radius: var(--radius-xl);
  border: 1px solid oklch(1 0 0 / 0.06);
}
.callout blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.35;
  max-width: 44ch;
}
.callout cite {
  display: block;
  margin-top: var(--space-4);
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Full-bleed image */
.bleed {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Two-col feature */
.feature {
  display: grid;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}
@media (min-width: 860px) {
  .feature {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .feature--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .feature--reverse .feature-media {
    order: 2;
  }
}
.feature-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.feature-media--portrait img {
  aspect-ratio: 3/4;
}
.founder-caption {
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}
.founder-caption strong {
  color: var(--color-text);
}

/* Leadership team grid (directors alongside the founder) */
.leadership-grid {
  margin-top: var(--space-10);
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.leader-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .leader-card {
    flex-direction: row;
    align-items: flex-start;
  }
}
.leader-photo {
  flex: none;
  width: 9.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.leader-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}
.leader-role {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.leader-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.feature h2 {
  font-size: var(--text-xl);
  margin-block: var(--space-3) var(--space-4);
}
.feature ul {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.feature li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.feature li svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Section heading pattern */
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-12));
  max-width: 60ch;
}
.section-head h2 {
  font-size: var(--text-xl);
}
.section-head--wide {
  max-width: none;
}

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-8);
}
.stat {
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.14);
  padding-top: var(--space-4);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
}
.stat span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Program / resource cards */
.offer-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.offer-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
}
.offer-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.offer-card .tag {
  align-self: flex-start;
  margin-bottom: var(--space-2);
}
.offer-card .btn {
  align-self: flex-start;
  margin-top: var(--space-3);
}

/* External / crisis support resources */
.support-note {
  background: var(--color-surface-offset);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
}
.support-note strong {
  color: var(--color-text);
}
.support-category {
  margin-bottom: var(--space-10);
}
.support-category:last-child {
  margin-bottom: 0;
}
.support-category h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}
.support-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .support-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.support-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.09);
  border-radius: var(--radius-lg);
}
.support-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
}
.support-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.support-item a.support-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  align-self: flex-start;
}

/* Chapters map + chapter contact cards */
.chapter-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid oklch(from var(--color-text) l c h / 0.09);
  box-shadow: var(--shadow-sm);
}
.chapter-map {
  width: 100%;
  height: 420px;
}
.chapter-map-marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-surface);
  box-shadow: 0 0 0 4px oklch(from var(--color-primary) l c h / 0.25);
  cursor: pointer;
}
.maplibregl-popup-content {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
}

.chapter-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .chapter-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.chapter-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.chapter-card--cta {
  background: var(--color-surface-offset);
  border-style: dashed;
  justify-content: center;
}
.chapter-card--cta .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}
.tag--accent {
  background: oklch(from var(--color-accent) l c h / 0.15);
  color: var(--color-accent);
}
.chapter-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-1);
}
.chapter-contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.chapter-contact-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-primary);
}
.chapter-contact-list a {
  color: var(--color-text);
  font-weight: 600;
}

/* Timeline-ish list for programs */
.offer-list {
  display: flex;
  flex-direction: column;
}
.offer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-block: var(--space-8);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.1);
}
.offer-row:first-child {
  border-top: none;
}
@media (min-width: 760px) {
  .offer-row {
    grid-template-columns: 220px 1fr;
    gap: var(--space-10);
  }
}
.offer-row h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  font-family: var(--font-body);
}
.offer-row .offer-meta {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-primary);
}
.offer-row p {
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  max-width: 60ch;
}

/* CTA band */
.cta-band {
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 7vw, var(--space-16));
  background: var(--color-surface-offset);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: flex-start;
}
@media (min-width: 760px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cta-band h2 {
  font-size: var(--text-xl);
  max-width: 24ch;
}
.cta-band-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Form */
.form-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: var(--space-5);
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-base);
  min-height: 44px;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.field-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.form-success {
  display: none;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-success-highlight);
  color: var(--color-text);
}
.form-success.is-visible {
  display: flex;
}
.form-success svg {
  width: 22px;
  height: 22px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Contact info list */
.info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.info-item {
  display: flex;
  gap: var(--space-4);
}
.info-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.info-item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
}
.info-item p,
.info-item a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.info-item a:hover {
  color: var(--color-primary);
}

/* Give / support blocks */
.give-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.give-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.09);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.give-card .amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--color-ember);
  color: #f2ebe0;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-10);
}
.footer a {
  color: inherit;
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-brand span {
  font-family: var(--font-display);
  font-size: var(--text-lg);
}
.footer p {
  color: #cbbbaa;
  font-size: var(--text-sm);
  max-width: 40ch;
}
.footer h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer ul a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: #ddccbb;
}
.footer ul a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  border-top: 1px solid oklch(1 0 0 / 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #9c8b78;
}

/* ==========================================================================
   Empty states (events, videos, and other "coming soon" content)
   ========================================================================== */
.empty-state {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  padding: var(--space-12) var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.09);
}
.empty-state-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
.empty-state-icon svg {
  width: 26px;
  height: 26px;
}
.empty-state h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.empty-state p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 46ch;
  margin-inline: auto;
}
.empty-state-actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* Events list (empty state today; .event-card is ready for future entries) */
.events-list {
  display: grid;
  gap: var(--space-6);
}
.event-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--space-5);
  align-items: start;
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-ember);
  color: var(--color-text-inverse);
}
.event-date-month {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}
.event-date-day {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
}
.event-details h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-block: var(--space-2) var(--space-2);
}
.event-details p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.event-meta svg {
  width: 15px;
  height: 15px;
  color: var(--color-primary);
  vertical-align: -2px;
  margin-right: var(--space-1);
}

/* Video grid (ready for future embeds; shows an empty state until videos are added) */
.video-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .video-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.09);
}
.video-card iframe,
.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}
.video-card-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
}
.video-card-body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
}

/* ==========================================================================
   Skip link
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  z-index: 100;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--space-4);
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
