/* =========================================================
   GreeHouse Foundation — main stylesheet
   ========================================================= */

:root {
  --brand: #02a95c;
  --brand-dark: #027d45;
  --brand-darker: #015c33;
  --brand-deep: #034b27;
  --brand-mid: #6fb137;
  --brand-leaf: #a8d558;
  --brand-leaf-soft: #d4ecaa;
  --brand-soft: #e6f7ee;
  --brand-tint: #f2fbf6;
  --navy: #0a2540;
  --navy-soft: #1f3a57;
  --ink: #1f2327;
  --ink-soft: #3d434a;
  --muted: #6b7680;
  --line: #e4e6e8;
  --line-soft: #f1f2f4;
  --bg: #ffffff;
  --bg-soft: #f5f6f7;
  --bg-warm: #f2fbf6;
  --success: #02a95c;
  --danger: #d6342a;
  --info: #1677ff;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 2px 10px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 10px 32px rgba(10, 37, 64, 0.12);
  --container: 1200px;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: 160ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.0625rem; }

p { color: var(--muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head p { font-size: 1.0625rem; margin-top: 16px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: none; }

.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.btn-secondary { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.btn-secondary:hover { background: var(--brand-darker); color: #fff; border-color: var(--brand-darker); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }

.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
}
.brand-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.brand-icon-fill { fill: var(--brand-leaf); }
.brand-icon-stroke { stroke: var(--brand-deep); }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.brand-name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
  white-space: nowrap;
}
.brand-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-mid);
  white-space: nowrap;
}
.footer-brand .brand-icon-stroke { stroke: #fff; }
.footer-brand .brand-icon-fill { fill: rgba(255, 255, 255, 0.12); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: var(--brand-leaf); }

.nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 12px 18px;
  background: #fff;
  flex-direction: column;
  list-style: none;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  z-index: 100;
  gap: 0;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.nav-links.open { display: flex; }
.nav-links li { width: 100%; }
.nav-links a {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--navy); }
.nav-links a.active { color: var(--brand-dark); font-weight: 600; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.menu-toggle:hover { background: var(--bg-soft); }
.menu-toggle svg { width: 24px; height: 24px; }

.nav-spacer { width: 42px; height: 42px; flex-shrink: 0; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 72px 0 90px;
  background:
    radial-gradient(circle at 85% 15%, rgba(245, 184, 46, 0.12), transparent 55%),
    radial-gradient(circle at 12% 85%, rgba(15, 38, 64, 0.05), transparent 50%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}
.hero h1 .accent {
  position: relative;
  color: var(--brand-dark);
  font-style: normal;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  bottom: 0.04em;
  height: 0.35em;
  background: var(--brand);
  opacity: 0.22;
  z-index: -1;
  border-radius: 4px;
}
.hero .lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.avatar-stack { display: flex; }
.avatar-stack img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  object-fit: cover;
  margin-left: -10px;
  box-shadow: var(--shadow-sm);
}
.avatar-stack img:first-child { margin-left: 0; }

.hero-stat { font-weight: 600; color: var(--navy); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  margin-left: auto;
}
.hero-visual .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-card {
  position: absolute;
  padding: 16px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-card-1 { top: 8%; left: -40px; }
.hero-card-2 { bottom: 10%; right: -32px; }
.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid; place-items: center;
}
.hero-card-icon svg { width: 22px; height: 22px; }
.hero-card-title { font-size: 0.875rem; color: var(--muted); }
.hero-card-value { font-weight: 700; color: var(--navy); font-size: 1.125rem; }

/* =========================================================
   Hero — clean variant (current home)
   ========================================================= */
.hero-clean {
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at 90% 10%, rgba(168, 213, 88, 0.18), transparent 55%),
    radial-gradient(circle at 5% 90%, rgba(3, 75, 39, 0.06), transparent 55%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-clean-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-clean-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-darker);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-clean-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero-clean-accent {
  display: inline-block;
  position: relative;
  color: var(--brand-darker);
}
.hero-clean-accent::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--brand-leaf);
  opacity: 0.45;
  z-index: -1;
  border-radius: 4px;
}
.hero-clean-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-clean-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-clean-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.hero-clean-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-clean-trust svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* Visual: photo in rounded blob frame + decorative elements */
.hero-clean-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}
.hero-photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 48% 52% 50% 50% / 50% 48% 52% 50%;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(3, 75, 39, 0.25),
    0 18px 36px -12px rgba(15, 38, 64, 0.18);
  background: linear-gradient(135deg, var(--brand-soft), #fff);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-leaf {
  position: absolute;
  pointer-events: none;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(3, 75, 39, 0.15));
}
.hero-leaf-1 {
  width: 70px;
  height: 70px;
  top: -8px;
  right: -10px;
  color: var(--brand-leaf);
  transform: rotate(-18deg);
}
.hero-leaf-2 {
  width: 38px;
  height: 38px;
  bottom: 12%;
  left: -18px;
  color: var(--brand-darker);
  opacity: 0.85;
  transform: rotate(28deg);
}
.hero-photo-badge {
  position: absolute;
  bottom: 18px;
  left: -10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(15, 38, 64, 0.18);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-darker);
}
.hero-photo-badge svg { color: var(--brand); flex-shrink: 0; }

/* 3-step variant */
.how-steps-3 { grid-template-columns: repeat(3, 1fr); }

/* About grid clean (single column) */
.about-grid-clean {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .hero-clean { padding: 32px 0 56px; }
  .hero-clean-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-clean-content {
    display: flex;
    flex-direction: column;
  }
  .hero-clean-eyebrow {
    align-self: flex-start;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    padding: 5px 11px;
    margin-bottom: 14px;
  }
  .hero-clean-title {
    font-size: 1.875rem;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .hero-clean-lead {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 22px;
    order: 3;
  }
  .hero-clean-visual {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 4px 0 0;
    order: 2;
  }
  .hero-photo-frame {
    border-radius: 28px;
  }
  .hero-clean-actions {
    margin-bottom: 22px;
    gap: 10px;
    order: 4;
  }
  .hero-clean-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    font-size: 0.9375rem;
  }
  .hero-clean-trust {
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    order: 5;
  }
  .hero-clean-trust li { font-size: 0.8125rem; }
  .hero-leaf-1, .hero-leaf-2 { display: none; }
  .hero-photo-badge {
    bottom: 14px;
    left: 14px;
    padding: 8px 14px;
    font-size: 0.8125rem;
  }
  .how-steps-3 { grid-template-columns: 1fr; }
}

/* =========================================================
   Stats Strip
   ========================================================= */
.stats-strip {
  padding: 40px 0;
  background: var(--navy);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}

/* =========================================================
   Campaign cards
   ========================================================= */
.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

.campaign-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.campaign-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.campaign-media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.campaign-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.campaign-card:hover .campaign-media img { transform: scale(1.04); }

.campaign-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  z-index: 2;
}
.campaign-heart svg { width: 17px; height: 17px; }

.campaign-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 11px;
  background: var(--brand);
  color: #fff;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  z-index: 2;
}

.campaign-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.campaign-title {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  font-family: var(--font-display);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.campaign-amount-line {
  font-size: 0.9375rem;
  line-height: 1.3;
}
.campaign-amount-line strong {
  color: var(--ink);
  font-weight: 700;
}
.campaign-amount-line span {
  color: var(--muted);
  margin-left: 4px;
}

.progress-bar {
  height: 8px;
  background: #ECEEF0;
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-leaf) 0%, var(--brand-mid) 50%, var(--brand-darker) 100%);
  border-radius: 999px;
  transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.campaign-supporters {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.mini-avatars {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.mini-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  border: 1.5px solid #fff;
  margin-left: -6px;
}
.mini-av:first-child { margin-left: 0; }

/* =========================================================
   How it works
   ========================================================= */
.how-it-works {
  background: var(--bg-warm);
  border-radius: 0;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.how-step {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--line);
}
.how-step-num {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.how-step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.how-step p { font-size: 0.9375rem; }

/* =========================================================
   Causes grid
   ========================================================= */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cause-card {
  padding: 28px 22px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cause-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; border-color: transparent; }
.cause-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--bg-warm);
  color: var(--brand-dark);
}
.cause-icon svg { width: 28px; height: 28px; }
.cause-card h4 { font-family: var(--font-display); color: var(--navy); font-size: 1.0625rem; }
.cause-card p { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }

/* =========================================================
   About block
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--navy);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  padding: 18px;
  box-shadow: var(--shadow-md);
}
.about-badge .big { font-size: 2.25rem; display: block; }
.about-badge .lbl { font-size: 0.75rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

.about-content h2 { margin-bottom: 20px; }
.about-content .lead { font-size: 1.0625rem; margin-bottom: 24px; }

.checklist { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--ink);
  font-weight: 500;
}
.checklist li svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  padding: 3px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  background: var(--brand-deep);
  color: #fff;
}
.testimonials .section-head h2 { color: #fff; }
.testimonials .section-head p { color: rgba(255, 255, 255, 0.75); }
.testimonials .eyebrow { color: var(--brand-leaf); }
.testimonials .eyebrow::before { background: var(--brand-leaf); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-quote {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
}
.testimonial-quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0;
  color: var(--brand-leaf);
  vertical-align: -0.25em;
  margin-right: 4px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-weight: 600; color: #fff; }
.testimonial-author .role { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }

/* =========================================================
   Prize banner
   ========================================================= */
.prize-banner {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 60%, var(--brand-leaf) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.prize-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.prize-banner h2 { margin-bottom: 16px; color: #fff; }
.prize-banner p { color: rgba(255, 255, 255, 0.88); font-size: 1.0625rem; margin-bottom: 24px; }
.prize-amount {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  color: #fff;
  text-align: right;
  font-weight: 700;
}
.prize-amount small { font-size: 0.25em; letter-spacing: 0.12em; text-transform: uppercase; display: block; font-family: var(--font-body); font-weight: 600; margin-top: 8px; }

/* =========================================================
   Final CTA
   ========================================================= */
.cta-final {
  text-align: center;
  padding: 100px 0;
  background:
    radial-gradient(circle at 70% 0%, rgba(168, 213, 88, 0.22), transparent 55%),
    var(--bg);
}
.cta-final h2 { max-width: 720px; margin: 0 auto 20px; font-size: clamp(2rem, 4.5vw, 3.5rem); }
.cta-final p { max-width: 560px; margin: 0 auto 32px; font-size: 1.0625rem; }
.cta-final .hero-actions { justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 80px 0 30px;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 0;
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 320px; color: rgba(255, 255, 255, 0.65); }

.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.75); }
.footer-col a:hover { color: var(--brand); }

.newsletter-form {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: 999px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter-form button {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--navy);
  border: 0;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.875rem;
}

.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid; place-items: center;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--brand); color: var(--navy); }
.social-links svg { width: 18px; height: 18px; }

.footer-locale {
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 9px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.footer-locale-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}
.footer-locale-flag {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.footer-locale-flag-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.footer-locale-sep {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 2px;
  font-weight: 400;
}
.footer-socials {
  display: flex;
  gap: 14px;
}
.footer-socials a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.footer-socials a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.footer-socials svg { width: 18px; height: 18px; }

/* Legal pages (Privacy, Terms, Cookies, Accessibility) */
.legal-section { padding: 32px 0 80px; }
.legal-page {
  max-width: 760px;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal-page .legal-meta {
  display: inline-block;
  margin: 0 0 28px;
  padding: 6px 14px;
  background: var(--bg-soft);
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.legal-page p { margin-bottom: 16px; }
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.legal-page h2:first-of-type { margin-top: 28px; }
.legal-page ul {
  margin: 0 0 18px 22px;
  padding: 0;
}
.legal-page ul li {
  margin-bottom: 8px;
  list-style: disc;
}
.legal-page strong { color: var(--ink); font-weight: 700; }
.legal-page a {
  color: var(--brand-darker);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:hover { color: var(--brand-dark); }

.footer-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--brand); }

/* =========================================================
   Forms / Inputs
   ========================================================= */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(245, 184, 46, 0.15); }

select.form-control { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6b7c' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center #fff; padding-right: 40px; }

textarea.form-control { resize: vertical; min-height: 120px; font-family: var(--font-body); }

/* =========================================================
   Modal
   ========================================================= */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 38, 64, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 160ms ease;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow: auto;
  animation: slideUp 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head h3 { font-size: 1.25rem; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 0;
  cursor: pointer;
  display: grid; place-items: center;
}
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 28px; }

.amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.amount-option {
  padding: 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
  text-align: center;
}
.amount-option:hover { border-color: var(--brand); }
.amount-option.selected { background: var(--brand); border-color: var(--brand); color: var(--navy); }

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  padding: 14px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 1001;
  max-width: 380px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* =========================================================
   Utility
   ========================================================= */
.text-center { text-align: center; }
.hidden { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.skeleton {
  background: linear-gradient(90deg, var(--bg-soft) 0%, #eee 50%, var(--bg-soft) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   Page header (for non-home pages)
   ========================================================= */
.page-hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(circle at 85% 15%, rgba(245, 184, 46, 0.12), transparent 55%),
    var(--bg-warm);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 16px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.0625rem; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--line); }

/* =========================================================
   Campaign listing page
   ========================================================= */
.filters-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px;
  background: var(--bg-warm);
  border-radius: var(--radius);
}
.filters-bar .search-input {
  flex: 1;
  min-width: 240px;
  padding: 12px 18px 12px 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235b6b7c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 16px center;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.9375rem;
  outline: none;
}
.filters-bar .search-input:focus { border-color: var(--brand); }

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.chip:hover { border-color: var(--brand); }
.chip.active { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty-state svg { width: 56px; height: 56px; margin-bottom: 20px; color: var(--line); }

/* =========================================================
   Campaign detail page (GoFundMe-inspired)
   ========================================================= */
.campaign-hero {
  padding: 28px 0 0;
  background: #fff;
}
.campaign-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
}
.campaign-breadcrumb {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.campaign-breadcrumb a { color: var(--muted); }
.campaign-breadcrumb a:hover { color: var(--brand-dark); text-decoration: underline; }

.campaign-title-top {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

.campaign-hero-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}
.campaign-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.campaign-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.campaign-meta-row .pin {
  display: inline-flex; align-items: center; gap: 6px;
}

.donation-sidebar {
  position: sticky;
  top: 90px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.donation-sidebar .raised {
  font-size: 1.75rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.donation-sidebar .goal-info {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 14px;
}
.donation-sidebar .goal-info strong { color: var(--ink); font-weight: 600; }
.donation-sidebar .progress-bar {
  height: 6px;
  margin-bottom: 14px;
  background: var(--line-soft);
}
.donation-sidebar .progress-fill { background: var(--brand); }
.donation-sidebar .supporter-count {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.donation-sidebar .supporter-count strong { color: var(--ink); font-weight: 600; }

.donation-sidebar .sidebar-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.donation-sidebar .btn-donate {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  padding: 14px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 1rem;
}
.donation-sidebar .btn-donate:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.donation-sidebar .btn-share {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: 12px;
  border-radius: 28px;
  font-weight: 600;
}
.donation-sidebar .btn-share:hover { border-color: var(--ink); background: var(--bg-soft); }

.donation-sidebar .protection-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  background: var(--brand-tint);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}
.donation-sidebar .protection-note svg { flex-shrink: 0; color: var(--brand); margin-top: 1px; }

.recent-donations {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.recent-donations h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
}
.donation-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 0.875rem;
  border-top: 1px solid var(--line-soft);
}
.donation-item:first-of-type { border-top: 0; }
.donation-item .donor-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
}
.donation-item .donor-info { flex: 1; min-width: 0; }
.donation-item .donor-name { color: var(--ink); font-weight: 600; }
.donation-item .donor-amount { color: var(--muted); font-size: 0.8125rem; }
.donation-item .top { font-size: 0.6875rem; color: var(--brand-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

.see-all-link {
  display: block;
  text-align: center;
  padding: 12px 0 4px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.see-all-link:hover { color: var(--brand-dark); }

.share-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.share-btn {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--ink);
  transition: all var(--transition);
}
.share-btn:hover { border-color: var(--brand); color: var(--brand-dark); }

.campaign-content {
  padding: 32px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  max-width: 1100px;
  align-items: start;
}

.organizer-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.organizer-row .organizer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.organizer-row .organizer-meta .name { font-size: 0.9375rem; color: var(--ink); font-weight: 600; }
.organizer-row .organizer-meta .sub { font-size: 0.8125rem; color: var(--muted); margin-top: 2px; }

.campaign-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.tab-btn {
  padding: 14px 18px;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}
.tab-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: transparent;
  transition: background var(--transition);
  border-radius: 2px 2px 0 0;
}
.tab-btn.active, .tab-btn:hover { color: var(--ink); }
.tab-btn.active::after { background: var(--brand); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.story-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}
.story-content p { margin-bottom: 16px; color: var(--ink); }

.update-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.update-item:last-child { border-bottom: 0; }
.update-item .date { font-size: 0.8125rem; color: var(--muted); }
.update-item h4 { font-size: 1.0625rem; margin: 8px 0 10px; color: var(--ink); }

.organizer-card {
  padding: 22px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.organizer-card h4 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.organizer-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.organizer-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.125rem;
}

/* =========================================================
   FAQ page
   ========================================================= */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-category {
  margin-bottom: 20px;
  color: var(--brand-dark);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-question {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}
.faq-question:hover { color: var(--brand-dark); }
.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--navy);
  display: grid; place-items: center;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon { background: var(--brand); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }

/* =========================================================
   About page
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
}
.value-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 { margin-bottom: 12px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  text-align: center;
  padding-bottom: 24px;
}
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.team-card h4 { margin: 20px 16px 4px; font-size: 1.125rem; }
.team-card .role { color: var(--muted); font-size: 0.875rem; padding: 0 16px; }

.timeline { max-width: 720px; margin: 0 auto; }
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--brand-dark);
  font-weight: 700;
}
.timeline-content h4 { margin-bottom: 8px; }

/* =========================================================
   404
   ========================================================= */
.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
}
.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0;
}
.not-found h1 { margin-bottom: 16px; }
.not-found p { margin-bottom: 28px; max-width: 420px; margin-left: auto; margin-right: auto; }

/* =========================================================
   Donate page
   ========================================================= */
.donate-page { padding: 32px 0 64px; background: var(--bg-soft); min-height: 70vh; }
.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  max-width: 1080px;
  align-items: start;
}

.donate-form-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px;
}

.donate-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.donate-back:hover { color: var(--brand-dark); }

.donate-heading {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}

.donate-section {
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}
.donate-section:first-of-type { border-top: 0; padding-top: 0; }

.donate-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.donate-helper {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.55;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.preset-btn {
  padding: 14px 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-family: var(--font-body);
}
.preset-btn:hover { border-color: var(--brand); }
.preset-btn.selected {
  background: var(--brand-tint);
  border-color: var(--brand);
  color: var(--brand-darker);
}

.custom-amount-wrap {
  position: relative;
  margin-top: 12px;
}
.currency-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 600;
  pointer-events: none;
}
.custom-amount-input {
  width: 100%;
  padding: 13px 16px 13px 32px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.9375rem;
  color: var(--ink);
  outline: none;
  font-family: var(--font-body);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.custom-amount-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(2, 169, 92, 0.15);
}
.custom-amount-input.hidden { display: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--ink);
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  margin-top: 1px;
  flex-shrink: 0;
}

.payment-methods {
  display: grid;
  gap: 10px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: #fff;
}
.payment-option:hover { border-color: var(--brand); }
.payment-option.selected {
  border-color: var(--brand);
  background: var(--brand-tint);
}
.payment-option input[type="radio"] { display: none; }
.payment-option .radio-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition);
}
.payment-option.selected .radio-dot { border-color: var(--brand); }
.payment-option.selected .radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--brand);
  border-radius: 50%;
}
.payment-option .payment-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9375rem;
  flex: 1;
}
.payment-icons { display: flex; gap: 6px; }
.card-chip {
  background: var(--bg-soft);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.card-fields {
  margin-top: 14px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.card-fields .form-group { margin-bottom: 12px; }
.card-fields .form-group:last-child { margin-bottom: 0; }

.donate-summary {
  margin-top: 24px;
  padding: 18px;
  background: var(--bg-soft);
  border-radius: 10px;
  display: grid;
  gap: 8px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.summary-row strong { color: var(--ink); font-weight: 600; }
.summary-row.total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  font-size: 1rem;
}
.summary-row.total strong { font-size: 1.125rem; font-weight: 700; color: var(--ink); }

.donate-submit {
  margin-top: 20px;
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px;
  border-radius: 28px;
}
.donate-submit:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.donate-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.donate-legal {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}
.donate-legal a { color: var(--ink); text-decoration: underline; }
.donate-legal a:hover { color: var(--brand-dark); }

/* Recap sidebar */
.donate-recap {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 16px;
}
.recap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.recap-media {
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
}
.recap-media img { width: 100%; height: 100%; object-fit: cover; }
.recap-body { padding: 18px; }
.recap-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.recap-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 14px;
}
.recap-organizer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.recap-organizer .organizer-avatar {
  width: 36px; height: 36px;
  font-size: 0.875rem;
}
.recap-name { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.recap-sub { font-size: 0.75rem; color: var(--muted); }

.recap-progress .progress-bar {
  height: 6px;
  background: var(--line-soft);
  margin-bottom: 10px;
}
.recap-progress .progress-fill { background: var(--brand); }
.recap-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink);
}
.recap-stats .muted { color: var(--muted); }

.protection-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--brand-tint);
  border: 1px solid var(--brand-soft);
  border-radius: var(--radius-md);
}
.protection-icon {
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 2px;
}
.protection-card h4 {
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.protection-card p {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.trust-list {
  list-style: none;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-list li svg { flex-shrink: 0; color: var(--brand); }

/* Thanks overlay */
.thanks-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 1000;
  animation: fadeIn 180ms ease;
}
.thanks-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: slideUp 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.thanks-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.thanks-icon svg { width: 34px; height: 34px; }
.thanks-card h2 { font-size: 1.375rem; margin-bottom: 10px; }
.thanks-card p { color: var(--ink-soft); margin-bottom: 8px; }
.thanks-card .receipt { font-size: 0.875rem; }
.thanks-card .receipt code {
  font-family: ui-monospace, monospace;
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: var(--ink);
}
.thanks-card .muted { color: var(--muted); font-size: 0.8125rem; margin-bottom: 22px; }
.thanks-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   Campaign detail page (cd-*)
   ========================================================= */
.page-campaign-detail { background: #f4f6f8; }

.cd-shell {
  max-width: 540px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.cd-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04), 0 6px 18px rgba(10, 37, 64, 0.06);
  margin-left: -16px;
  margin-right: -16px;
  margin-bottom: 16px;
}

.cd-skel { padding: 14px; }

.cd-hero {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #cdd2d8;
  overflow: hidden;
}
.cd-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cd-hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.92) 90%, rgba(0, 0, 0, 0.96) 100%);
}
.cd-author-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px 3px 3px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  max-width: calc(100% - 24px);
}
.cd-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-darker) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.cd-author-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cd-hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 20px 18px;
  color: #fff;
}
.cd-hero-title {
  color: #fff;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.45);
}
.cd-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.cd-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.cd-dot.active { background: #fff; width: 18px; border-radius: 999px; }

.cd-stats {
  padding: 18px 20px 20px;
}
.cd-stats-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cd-ring {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}
.cd-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.cd-ring-track {
  fill: none;
  stroke: #E4E8EC;
  stroke-width: 3;
}
.cd-ring-arc {
  fill: none;
  stroke: url(#cd-ring-grad);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 0.6s ease;
}
.cd-ring-pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}
.cd-stats-amounts { line-height: 1.2; }
.cd-raised {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.cd-goal {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 2px;
}
.cd-goal strong { color: var(--ink); font-weight: 600; }

.cd-donor-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-darker);
  text-decoration: none;
}
.cd-donor-link:hover { color: var(--brand-deep); }

.cd-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 22px;
}
.cd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}
.cd-btn:active { transform: scale(0.98); }
.cd-btn-donate {
  background: var(--brand-leaf);
  color: var(--brand-deep);
  box-shadow: 0 1px 2px rgba(3, 75, 39, 0.12);
}
.cd-btn-donate:hover { background: var(--brand-mid); color: #fff; }
.cd-btn-share {
  background: var(--brand-deep);
  color: #fff;
  width: 50px;
  padding: 0;
  flex-shrink: 0;
}
.cd-btn-share:hover { background: var(--brand-darker); }
.cd-btn-share svg { width: 18px; height: 18px; }
.cd-btn-share span { display: none; }

/* Stacked raised line "$X / of $Y" */
.cd-raised-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}
.cd-raised-amt {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.cd-raised-suffix {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}
@media (min-width: 720px) {
  .cd-raised-amt { font-size: 1.75rem; }
  .cd-raised-suffix { font-size: 0.875rem; }
}

/* Donor highlight lines (subtle dark, replaces the bright purple link) */
.cd-donor-lines {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cd-donor-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  width: fit-content;
}
.cd-donor-line:hover { color: var(--ink-soft); }
.cd-donor-line svg { color: var(--muted); }

/* Story collapse + read more */
.cd-story-body { position: relative; }
.cd-story-body.collapsed {
  max-height: 280px;
  overflow: hidden;
}
.cd-story-body.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 80%);
  pointer-events: none;
}
.cd-read-more {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.cd-read-more:hover { color: var(--brand-darker); }

/* Donations head + count badge + see top */
.cd-donations-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.cd-donations-head .cd-block-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
}
.cd-count-badge {
  background: #E8EAEC;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.cd-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.cd-pill-btn:hover { background: var(--bg-soft); }
.cd-pill-btn svg { width: 14px; height: 14px; }

/* Recent donations highlight row */
.cd-recent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-darker);
}
.cd-recent-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-darker);
  flex-shrink: 0;
}
.cd-recent-row strong { font-weight: 700; }

/* See all donor list button */
.cd-see-all-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
}
.cd-see-all-btn:hover { background: var(--bg-soft); }

/* Plain block title (used on Organizer) */
.cd-block-title-plain { margin-top: 0; font-size: 1.25rem; }

/* Organizer */
.cd-organizer-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  margin-top: 10px;
}
.cd-organizer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #E8EAEC;
  color: #1F2327;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.cd-organizer-name { font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.cd-organizer-role { font-size: 0.875rem; color: var(--ink-soft); margin-top: 3px; }
.cd-organizer-loc { font-size: 0.875rem; color: var(--muted); margin-top: 2px; }
.cd-contact-btn {
  display: inline-block;
  width: auto;
  padding: 10px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
}
.cd-contact-btn:hover { background: var(--bg-soft); }

/* Meta strip */
.cd-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--muted);
}
.cd-meta-strip .cd-sep { color: var(--muted); opacity: 0.6; }
.cd-meta-strip > span:not(.cd-protected-chip) { font-weight: 500; }
.cd-meta-strip a, .cd-meta-strip span:not(.cd-sep):not(.cd-protected-chip) {
  color: var(--ink-soft);
  text-decoration: underline;
}
.cd-meta-strip > span:first-child {
  text-decoration: none;
  color: var(--muted);
}
.cd-protected-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-soft);
  color: var(--brand-darker);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none !important;
}
.cd-protected-chip svg { width: 14px; height: 14px; }

.cd-section {
  background: #fff;
  border-radius: 0;
  padding: 22px;
  margin: 0 -16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04), 0 6px 18px rgba(10, 37, 64, 0.06);
}
.cd-story-body p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.cd-story-body p.cd-story-lead {
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
}
.cd-story-body p:last-child { margin-bottom: 0; }

.cd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.cd-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cd-meta-row svg { width: 16px; height: 16px; }

.cd-block-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 12px;
}
.cd-update {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.cd-update:first-of-type { border-top: none; padding-top: 0; }
.cd-update-date { font-size: 0.8125rem; color: var(--muted); margin-bottom: 4px; }
.cd-update h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cd-update p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.55; }

.cd-donor-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.cd-donor-row:first-of-type { border-top: none; }
.cd-donor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #EDEFF1;
  color: #1F2327;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.9375rem;
  flex-shrink: 0;
}
.cd-donor-name { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.cd-donor-amount { font-size: 0.8125rem; color: var(--muted); }

.cd-bottom-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.cd-related-section { padding: 22px; }
.cd-related-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.cd-related-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.cd-related-grid .campaign-card {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: none;
}

@media (min-width: 720px) {
  .cd-shell { max-width: 580px; padding: 28px 20px 80px; }
  .cd-hero-title { font-size: 1.625rem; }
  .cd-raised { font-size: 1.875rem; }
}
