/* Amber Community First Responders — EMS / CFR theme */
:root {
  /* Royal blue from official logo */
  --ems-royal: #1a56a8;
  --ems-royal-dark: #0c2d5c;
  --ems-royal-darker: #071a33;
  --ems-royal-light: #3b7dd6;
  --ems-glow: #7eb8ff;
  --navy-950: var(--ems-royal-darker);
  --navy-900: var(--ems-royal-dark);
  --navy-800: #123a6e;
  --navy-700: var(--ems-royal);
  /* Amber = organisation name accent */
  --amber-500: #e8a317;
  --amber-400: #f5c14a;
  --amber-600: #c8870a;
  --red-600: #c41e3a;
  --red-500: #e11d48;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 12px rgb(10 22 40 / 0.12);
  --shadow-lg: 0 12px 40px rgb(10 22 40 / 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-h: 64px;
  --max-w: 1200px;
  --transition: 0.2s ease;
  --ems-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='%231a56a8' fill-opacity='0.06'%3E%3Cpath d='M60 8l6.2 18.9H86l-16.2 11.8 6.2 18.9L60 45.8 43.9 57.6l6.2-18.9L34 26.9h19.8L60 8zm0 52l6.2 18.9H86l-16.2 11.8 6.2 18.9L60 97.8 43.9 109.6l6.2-18.9L34 78.9h19.8L60 60z'/%3E%3C/svg%3E");
  --text-primary: #0a2540;
  --text-body: #1e293b;
  --text-muted: #475569;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-body);
  background-color: #eef4fc;
  background-image: var(--ems-star);
  background-size: 140px 140px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--ems-royal-light);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.35rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

main {
  flex: 1;
  width: 100%;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--ems-royal-dark) 0%, var(--ems-royal) 100%);
  backdrop-filter: blur(12px);
  border-bottom: none;
  box-shadow: 0 4px 20px rgb(7 26 51 / 0.35);
}

.site-header::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--red-600) 0%,
    var(--red-600) 33%,
    var(--white) 33%,
    var(--white) 66%,
    var(--ems-glow) 66%,
    var(--ems-glow) 100%
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.brand:hover {
  opacity: 0.92;
}

.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.brand-logo--large {
  height: 110px;
  width: 110px;
  max-width: 110px;
  object-fit: contain;
}

.site-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
  max-width: 14rem;
}

.site-title:hover {
  color: var(--ems-glow);
}

@media (min-width: 768px) {
  .site-title {
    max-width: none;
  }
}

.brand--footer {
  display: inline-flex;
  margin-bottom: 1rem;
}

/* Legacy text brand (if used without image) */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.9);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.25);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ems-royal-dark);
  background: var(--white);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta a {
  background: var(--red-600);
  color: var(--white) !important;
}

.nav-cta a:hover {
  background: var(--red-500);
  color: var(--white) !important;
}

@media (max-width: 600px) {
  .brand-logo {
    height: 44px;
    max-width: 120px;
  }

  .brand-logo--large {
    height: 90px;
    width: 90px;
    max-width: 90px;
  }

  .hero-logo {
    width: clamp(150px, 40vw, 200px);
    height: clamp(150px, 40vw, 200px);
  }

  .hero--compact {
    min-height: 200px;
    padding: 2rem 0;
  }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-950);
    border-bottom: 1px solid rgb(255 255 255 / 0.1);
    padding: 1rem;
    display: none;
  }

  .main-nav.is-open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .main-nav a { padding: 0.75rem 1rem; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: clamp(420px, 70vh, 620px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ems-royal-darker);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgb(10 22 40 / 0.94) 0%, rgb(15 33 55 / 0.82) 45%, rgb(30 61 95 / 0.55) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    var(--ems-star),
    radial-gradient(ellipse 70% 55% at 75% 35%, rgb(126 184 255 / 0.2), transparent),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgb(232 163 23 / 0.12), transparent),
    linear-gradient(155deg, var(--ems-royal-darker), var(--ems-royal-dark) 45%, var(--ems-royal));
  background-size: 180px 180px, auto, auto, auto;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 5rem;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ems-glow);
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
}

.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--ems-glow);
  border-radius: 2px;
}

.hero h1 {
  color: var(--white);
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.25);
}

.hero-logo {
  width: clamp(180px, 34vw, 260px);
  height: clamp(180px, 34vw, 260px);
  margin: 0 auto 1.25rem;
  object-fit: contain;
}

.hero--home {
  min-height: clamp(380px, 65vh, 520px);
}

.hero-content--centered {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.hero-content--centered .hero-actions {
  justify-content: center;
}

.hero--home h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  text-transform: uppercase;
}

.section--tight {
  padding: 2.5rem 0 3rem;
}

.home-intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.home-intro-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 2rem;
}

.home-links a {
  font-weight: 700;
  color: var(--ems-royal);
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.home-links a:hover {
  color: var(--ems-royal-light);
  text-decoration: underline;
}

.donate-banner--inline {
  margin: 0;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.donate-banner--inline p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy-950);
}

.stats-grid--compact {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 600px) {
  .stats-grid--compact {
    grid-template-columns: 1fr;
  }
}

.footer-emergency {
  text-align: right;
}

/* —— Downloads page —— */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--ems-royal);
  border-radius: var(--radius);
}

.download-row h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
}

.download-row p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.download-row code {
  font-size: 0.85em;
  background: var(--slate-100);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.prose-wide {
  max-width: var(--max-w);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-emergency {
    text-align: center;
  }
}

.ems-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.85rem;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.95);
  max-width: fit-content;
}

.ems-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--red-600);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: 4px;
}

.ems-trust-bar strong {
  color: var(--white);
}

.hero-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 2rem;
  max-width: 560px;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero--compact {
  min-height: 220px;
  padding: 2.5rem 0;
  display: flex;
  align-items: center;
}

.hero--compact .hero-content {
  padding: 0;
}

.hero--compact h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.hero--compact .hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 0;
  color: #ffffff;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--white);
  color: var(--ems-royal-dark);
  border-color: var(--white);
}

.btn-primary:hover {
  background: var(--ems-glow);
  color: var(--ems-royal-darker);
  border-color: var(--ems-glow);
}

.btn-amber {
  background: var(--amber-500);
  color: var(--ems-royal-darker);
  border-color: var(--amber-500);
}

.btn-amber:hover {
  background: var(--amber-400);
  color: var(--ems-royal-darker);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgb(255 255 255 / 0.5);
}

.btn-outline:hover {
  background: rgb(255 255 255 / 0.1);
  color: var(--white);
}

.btn-danger {
  background: var(--red-600);
  color: var(--white);
  border-color: var(--red-600);
}

.btn-danger:hover {
  background: var(--red-500);
  color: var(--white);
}

/* —— Stats strip —— */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.stat-item {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--slate-100);
  border-top: 4px solid var(--ems-royal);
}

.stat-item:last-child { border-right: none; }

.stat-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ems-royal-dark);
  line-height: 1;
}

.stat-value span { color: var(--ems-royal-light); }

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ems-royal);
  margin-bottom: 0.5rem;
}

.section-eyebrow::before {
  content: "✦ ";
  color: var(--ems-royal-light);
}

/* —— Cards —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--ems-royal);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--ems-royal), var(--ems-royal-dark));
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgb(26 86 168 / 0.35);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.card-body { padding: 1.5rem; }

.card h3 { margin: 0 0 0.5rem; }

.card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-body);
}

/* —— Team —— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ems-royal), var(--ems-royal-dark));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  border: 3px solid var(--ems-glow);
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: 0;
}

.team-role {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ems-royal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
  margin: 0;
  color: var(--text-body);
}

/* —— Two column —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

.content-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.content-panel h2,
.content-panel h3 {
  margin-top: 0;
}

.highlight-box {
  background: linear-gradient(135deg, var(--ems-royal-dark), var(--ems-royal));
  color: #ffffff;
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.highlight-box h3 {
  color: var(--ems-glow);
  margin-top: 0;
}

.highlight-box p:last-child { margin-bottom: 0; }

.highlight-box p {
  color: rgb(255 255 255 / 0.95);
}

/* —— Skills list —— */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.skills-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--slate-50);
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-body);
}

.skills-grid li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--ems-royal);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

/* —— Locations —— */
.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.location-tags li {
  margin: 0;
  padding: 0.45rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
}

.map-placeholder {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  padding: 2rem;
  border: 2px dashed rgb(255 255 255 / 0.2);
}

.map-placeholder p {
  color: rgb(255 255 255 / 0.9);
  margin: 0.5rem 0 0;
}

.map-placeholder strong {
  color: var(--ems-glow);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

/* —— Gallery —— */
.gallery-section {
  margin-bottom: 3rem;
}

.gallery-section h3 {
  border-bottom: 3px solid var(--amber-500);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  background: var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.85rem;
  background: linear-gradient(transparent, rgb(10 22 40 / 0.92));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

/* —— Supporters —— */
.supporters-list {
  columns: 2;
  column-gap: 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-body);
}

@media (max-width: 600px) {
  .supporters-list { columns: 1; }
}

.supporters-list li {
  break-inside: avoid;
  margin-bottom: 0.4rem;
}

/* —— Recruitment checklist —— */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--slate-100);
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-800);
}

.checklist li::before {
  content: "?";
  width: 28px;
  height: 28px;
  background: var(--ems-royal);
  color: var(--white);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  flex-shrink: 0;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-row-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--navy-900);
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.info-row-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--ems-glow);
  fill: none;
  stroke-width: 2;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgb(30 61 95 / 0.15);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.prose p {
  color: var(--text-body);
  font-size: 1.1rem;
  line-height: 1.75;
}

/* —— Donate CTA —— */
.donate-banner {
  background: linear-gradient(135deg, var(--amber-600), var(--amber-500));
  color: var(--navy-950);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0 0;
}

.donate-banner h2 {
  color: var(--navy-950);
  margin: 0 0 0.5rem;
}

.donate-banner p {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--navy-950);
  font-weight: 500;
}

.donate-code {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--ems-royal-dark);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--ems-royal-darker);
  color: rgb(255 255 255 / 0.92);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.site-footer p {
  color: rgb(255 255 255 / 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.site-footer h4 {
  color: var(--ems-glow);
  font-size: 0.9rem;
  margin: 0 0 1rem;
  letter-spacing: 0.1em;
}

.site-footer a {
  color: rgb(255 255 255 / 0.85);
  text-decoration: none;
}

.site-footer a:hover { color: var(--ems-glow); }

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.08);
  display: grid;
  place-items: center;
  transition: background var(--transition);
}

.social-links a:hover {
  background: var(--ems-royal-light);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* —— Video embed —— */
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-900);
  margin: 2rem 0;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* —— Events —— */
.event-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.event-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 8px;
  padding: 0.5rem;
}

.event-date .day {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.event-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ems-glow);
}

.event-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  text-transform: none;
}

.event-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate-600);
}

/* —— Page prose —— */
.prose { max-width: 72ch; }
.prose-wide { max-width: none; }

.timeline {
  border-left: 3px solid var(--amber-500);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.timeline-item {
  margin-bottom: 1.5rem;
}

.timeline-item strong {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
