/* ============================================================
   The Charlene Stuart Foundation, #BreakTheStigma
   Stylesheet. No frameworks, no external fonts. Edit the
   colour tokens below to re-brand the whole site at once.
   ============================================================ */

/* ---- 1. Brand tokens ---------------------------------------
   Change a value here and it updates everywhere on the site. */
:root {
  /* Colours */
  --brand-teal:        #1F6F6B;  /* primary, calming deep teal */
  --brand-teal-dark:   #12504C;  /* headings, links, hovers */
  --brand-sage:        #8CBBA3;  /* soft supportive green */
  --brand-sage-tint:   #EAF3EE;  /* pale section wash */
  --accent-amber:      #E39A44;  /* warm, hopeful accent (Donate) */
  --accent-amber-dark: #B96F27;
  --crisis-bg:         #7A3B2E;  /* helpline bar, grounded, not alarming */
  --crisis-fg:         #FFF7F2;
  --forest:            #123A32;  /* immersive dark hero + header (Farm Africa style) */
  --forest-ink:        #FBF7EE;  /* cream text on the forest */
  --ink:               #1C2B2A;  /* body text */
  --ink-muted:         #4A5A58;  /* secondary text */
  --surface:           #FBFAF6;  /* warm off-white page */
  --surface-alt:       #F1F6F2;  /* alternating section */
  --surface-card:      #FFFFFF;
  --border:            #DCE5E0;

  /* Type scale (fluid, grows with the screen) */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1.02rem, 0.98rem + 0.22vw, 1.15rem);
  --step-1:  clamp(1.22rem, 1.13rem + 0.45vw, 1.55rem);
  --step-2:  clamp(1.5rem,  1.32rem + 0.9vw,  2.1rem);
  --step-3:  clamp(1.85rem, 1.55rem + 1.5vw,  2.9rem);
  --step-4:  clamp(2.3rem,  1.8rem + 2.5vw,   3.9rem);

  /* Fonts */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, "Helvetica Neue", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
                "Times New Roman", serif;

  /* Layout */
  --container: 74rem;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(18, 80, 76, 0.22);
  --shadow-sm: 0 4px 14px -8px rgba(18, 80, 76, 0.28);
  --topbar-h: 76px;
}

/* ---- 2. Reset & base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--topbar-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
img { background: var(--brand-sage-tint); } /* soft tint if a photo is missing */

a { color: var(--brand-teal-dark); }

h1, h2, h3 { line-height: 1.15; font-weight: 700; color: var(--brand-teal-dark); }
h1 { font-size: var(--step-4); letter-spacing: -0.5px; }
h2 { font-size: var(--step-3); letter-spacing: -0.3px; }
h3 { font-size: var(--step-1); }

p { max-width: 62ch; }

:focus-visible {
  outline: 3px solid var(--accent-amber-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- 3. Layout helpers ------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 3rem);
}

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--alt { background: var(--surface-alt); }
.section--sage { background: var(--brand-sage-tint); }

.section-head { max-width: 46rem; margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-muted); font-size: var(--step-1); margin-top: 0.6rem; }
.section-head.center p { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 0.7rem;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--brand-teal-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---- 4. Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

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

.btn--donate { background: var(--accent-amber); color: #2a1c07; box-shadow: var(--shadow-sm); }
.btn--donate:hover { background: var(--accent-amber-dark); color: #fff; }

.btn--help { background: var(--crisis-bg); color: var(--crisis-fg); }
.btn--help:hover { background: #632f24; }

.btn--ghost { background: transparent; color: var(--brand-teal-dark); border-color: var(--brand-sage); }
.btn--ghost:hover { background: var(--brand-sage-tint); }

.btn--light { background: #fff; color: var(--brand-teal-dark); }
.btn--light:hover { background: var(--brand-sage-tint); }

.btn--lg { padding: 1rem 1.7rem; font-size: var(--step-0); }

/* Hashtag chip */
.hashtag { color: var(--brand-teal); font-weight: 700; }
.chip {
  display: inline-block;
  background: var(--brand-sage-tint);
  color: var(--brand-teal-dark);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: var(--step--1);
  font-weight: 600;
}

/* ---- 5. Fixed topbar: header floats over the hero ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }

.crisis-banner {
  background: var(--crisis-bg);
  color: var(--crisis-fg);
}
.crisis-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
  padding-block: 0.55rem;
  text-align: center;
  font-size: var(--step--1);
}
.crisis-banner strong { font-size: var(--step-0); }
.crisis-banner a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crisis-banner .call-pill {
  background: rgba(255,255,255,0.16);
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
}

.site-header {
  background: transparent; /* floats over the hero, no band or line */
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { /* becomes solid once you scroll (nav stays readable) */
  background: var(--forest);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--forest-ink);
  margin-right: auto;
  min-width: 0; /* allow the name to flex so the menu button keeps its space */
}
.brand img { width: 40px; height: 40px; background: none; flex-shrink: 0; }
.brand-name { font-weight: 800; font-size: var(--step-0); line-height: 1.1; color: #fff; }
.brand-name span { display: block; font-size: var(--step--1); font-weight: 600; color: var(--brand-sage); }

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: var(--step--1);
}
.nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nav a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, 0.16); }

.header-cta { display: flex; align-items: center; gap: 0.5rem; }
.header-cta .btn { padding: 0.6rem 1.05rem; font-size: var(--step--1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 42px;
  flex-shrink: 0; /* never let the menu button collapse on mobile */
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2.5px; width: 22px; margin-inline: auto; background: #fff; border-radius: 2px; }

/* ---- 6. Hero (immersive dark botanical, Farm Africa style) ---- */
.hero {
  position: relative;
  background-color: var(--forest);
  color: var(--forest-ink);
  overflow: hidden;
}
.hero::before { /* slowly drifting leaf pattern */
  content: "";
  position: absolute;
  inset: -560px;
  background-image: url("../images/hero-leaves.svg");
  background-size: 520px;
  z-index: 0;
  animation: leaf-drift 90s linear infinite;
  will-change: transform;
}
.hero::after { /* soft vignette so the centred text pops */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(18,58,50,0) 30%, rgba(9,32,27,0.55) 100%);
  pointer-events: none;
}
/* Floating leaves drifting gently upward behind the text */
.hero-leaves { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-leaves span {
  position: absolute;
  bottom: -140px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  animation: leaf-float linear infinite;
  will-change: transform, opacity;
}
/* each floating symbol is a Guyanese cultural emblem */
.hero-leaves span:nth-child(1) { left: 8%;  width: 62px; height: 62px; background-image: url("../images/sym-arrowhead.svg"); animation-duration: 26s; animation-delay: 0s; }
.hero-leaves span:nth-child(2) { left: 24%; width: 40px; height: 40px; background-image: url("../images/sym-star.svg");      animation-duration: 34s; animation-delay: 6s; }
.hero-leaves span:nth-child(3) { left: 45%; width: 88px; height: 88px; background-image: url("../images/sym-lily.svg");      animation-duration: 42s; animation-delay: 2s; }
.hero-leaves span:nth-child(4) { left: 63%; width: 54px; height: 54px; background-image: url("../images/sym-paw.svg");       animation-duration: 30s; animation-delay: 9s; }
.hero-leaves span:nth-child(5) { left: 80%; width: 74px; height: 74px; background-image: url("../images/sym-bird.svg");      animation-duration: 36s; animation-delay: 4s; }
.hero-leaves span:nth-child(6) { left: 92%; width: 46px; height: 46px; background-image: url("../images/sym-steelpan.svg");  animation-duration: 24s; animation-delay: 12s; }

@keyframes leaf-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(520px, 520px, 0); }
}
@keyframes leaf-float {
  0%   { transform: translateY(0) translateX(0) rotate(-6deg); opacity: 0; }
  12%  { opacity: 0.42; }
  50%  { transform: translateY(-52vh) translateX(22px) rotate(8deg); opacity: 0.42; }
  88%  { opacity: 0.42; }
  100% { transform: translateY(-104vh) translateX(-8px) rotate(-4deg); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: min(82vh, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--topbar-h) + clamp(2rem, 6vh, 4rem));
  padding-bottom: clamp(3rem, 9vh, 6rem);
}
.hero-kicker {
  color: var(--brand-sage);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: var(--step--1);
  margin-bottom: 1.3rem;
}
.hashtag-light { color: #fff; }
.hero-q {
  color: var(--forest-ink);
  font-size: clamp(2.15rem, 1rem + 5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -1px;
  max-width: 17ch;
  margin: 0 auto;
  text-wrap: balance;
}
.hero-q .accent { color: var(--accent-amber); }
.hero-memo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.7rem;
  color: rgba(251, 247, 238, 0.9);
  font-size: var(--step-0);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border-radius: 999px;
}
.hero-memo-photo {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-sage);
  flex-shrink: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; justify-content: center; }
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-amber-dark);
  display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  animation: bob 2.4s ease-in-out infinite;
}
.hero-scroll:hover { background: #fff; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
/* On short viewports the buttons sit near the bottom; hide the scroll cue so it
   never crowds them. (It's only a nice-to-have hint, not a control.) */
@media (max-height: 760px) { .hero-scroll { display: none; } }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); }

/* ---- 7. Reassurance strip ---------------------------------- */
.reassure {
  background: var(--brand-teal);
  color: #fff;
  text-align: center;
}
.reassure .container { padding-block: clamp(2.2rem, 5vw, 3.2rem); }
.reassure h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.reassure p { color: rgba(255,255,255,0.9); margin: 0.8rem auto 0; font-size: var(--step-1); }

/* ---- 8. Generic card grid --------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Primary donate call-to-action (GoFundMe widget in a highlighted card) */
.donate-cta {
  margin: 1.8rem auto 0; display: flex; flex-direction: column; align-items: center; gap: .9rem;
  max-width: 720px; background: var(--brand-sage-tint);
  border: 2px solid color-mix(in srgb, var(--brand-teal) 30%, transparent);
  border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow);
}
.donate-note { font-size: var(--step--1); color: var(--ink-muted); max-width: 52ch; }
.donate-cta .gfm-embed { width: 100%; max-width: 620px; margin: 0 auto; }
.donate-cta .gfm-embed iframe { width: 100% !important; max-width: 100%; }
.donate-fallback { font-weight: 700; color: var(--brand-teal-dark); text-decoration: none; font-size: var(--step--1); }
.donate-fallback:hover { text-decoration: underline; }

/* Payment-method badges (Zelle / Cash App) */
.pay-strip { text-align: center; margin: 0 auto clamp(1.6rem, 4vw, 2.4rem); }
.pay-strip-label {
  display: block; font-size: var(--step--1); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: .8rem;
}
.pay-badges { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.pay-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: 999px; padding: .45rem 1.1rem .45rem .5rem;
  font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm);
}
.pay-badge svg { width: 34px; height: 34px; display: block; }

/* ---- Charlene's Day of Hope campaign ---- */
/* Animated "Join the campaign" badge in the hero */
.hero-badge {
  align-self: center;
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0 auto 1.25rem; padding: 0.5rem 0.85rem;
  border-radius: 999px; text-decoration: none;
  font-size: var(--step--1); font-weight: 700; letter-spacing: 0.01em;
  color: #3B2408; white-space: nowrap;
  background: linear-gradient(100deg, #F4B95F, #E39A44 55%, #EEA954);
  box-shadow: 0 10px 24px -10px rgba(227,154,68,0.85), inset 0 0 0 1px rgba(255,255,255,0.28);
  position: relative; overflow: hidden;
  animation: heroBadgePulse 2.6s ease-in-out infinite;
}
.hero-badge::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,0.55) 50%, transparent 66%);
  transform: translateX(-130%);
  animation: heroBadgeShimmer 3s ease-in-out infinite;
}
.hero-badge-text, .hero-badge-icon, .hero-badge-arrow { position: relative; z-index: 1; }
.hero-badge-icon { font-size: 1.05rem; }
.hero-badge-arrow { transition: transform 0.2s ease; }
.hero-badge:hover { filter: brightness(1.04); }
.hero-badge:hover .hero-badge-arrow { transform: translateX(3px); }
@keyframes heroBadgePulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 10px 24px -10px rgba(227,154,68,0.7),  inset 0 0 0 1px rgba(255,255,255,0.28); }
  50%      { transform: scale(1.045); box-shadow: 0 16px 34px -10px rgba(227,154,68,0.95), inset 0 0 0 1px rgba(255,255,255,0.4); }
}
@keyframes heroBadgeShimmer { 0% { transform: translateX(-130%); } 55%, 100% { transform: translateX(130%); } }

.dayhope { background: linear-gradient(180deg, var(--brand-sage-tint), var(--surface) 62%); }
/* Even 3-per-row activity grid + card animations */
.dayhope-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .dayhope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dayhope-grid { grid-template-columns: 1fr; } }
.dayhope .card { transition: box-shadow 0.18s ease; }
.dayhope .card:hover { box-shadow: 0 18px 38px -18px rgba(18,80,76,0.42); }
.dayhope .card-icon { transition: transform 0.2s ease; }
.dayhope .card:hover .card-icon { transform: scale(1.1) rotate(-3deg); }
.dayhope-grid.reveal-ready .card { opacity: 0; transform: translateY(16px); }
.dayhope-grid.reveal-ready .card.in {
  opacity: 1; transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.18s ease;
}
.dayhope-tagline { font-size: var(--step-1); color: var(--brand-teal-dark); font-weight: 600; max-width: 42ch; margin: 0.4rem auto 0; }
.dayhope-meta { color: var(--ink-muted); margin-top: 0.6rem; }
.dayhope-meta a { color: var(--brand-teal-dark); font-weight: 700; text-decoration: none; }
.dayhope-meta a:hover { text-decoration: underline; }
.dayhope-sub { margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.dayhope-touch {
  max-width: 58ch; margin: clamp(1.6rem, 4vw, 2.4rem) auto 0; text-align: center;
  font-family: var(--font-serif); font-style: italic; font-size: var(--step-1);
  color: var(--brand-teal-dark); border: 0; padding: 0;
}
/* Padlet embed / placeholder */
.padlet-wrap { margin-top: 1.4rem; }
.padlet-embed { width: 100%; height: 640px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.padlet-note { font-size: var(--step--1); color: var(--ink-muted); max-width: 62ch; margin: 1rem auto 0; text-align: center; }
.padlet-placeholder {
  text-align: center; background: var(--surface-card); border: 1px dashed var(--brand-sage);
  border-radius: var(--radius); padding: clamp(2rem, 6vw, 3.5rem) 1.5rem; box-shadow: var(--shadow-sm);
}
.padlet-emoji { font-size: 2.4rem; }
.padlet-illus { display: flex; gap: 0.9rem; justify-content: center; margin-bottom: 0.5rem; }
.padlet-illus img { width: 78px; height: 78px; object-fit: contain; }
/* illustrated activity-card icons (Day of Hope) */
.dayhope .card-icon { width: 60px; height: 60px; }
.dayhope .card-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.padlet-placeholder h4 { font-size: var(--step-1); margin: 0.5rem 0 0.4rem; color: var(--brand-teal-dark); }
.padlet-placeholder p { color: var(--ink-muted); max-width: 46ch; margin: 0 auto 1.1rem; }
/* Hope Pledge */
.pledge { max-width: 40rem; margin: clamp(2.4rem, 5vw, 3.6rem) auto 0; }
.pledge > h3 { margin: 0.2rem 0 0.8rem; }
.pledge-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.pledge-item label {
  display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer;
  padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.pledge-item input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--brand-teal); flex: none; }
.pledge-item.is-checked label { background: var(--brand-sage-tint); border-color: var(--brand-sage); }
.pledge-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.1rem; flex-wrap: wrap; }
.pledge-count { color: var(--ink-muted); font-size: var(--step--1); }
.pledge-signup { margin-top: 1.4rem; border-top: 1px solid var(--border); padding-top: 1.2rem; }
.pledge-signup label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--ink); }
.signup-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.signup-row input {
  flex: 1 1 12rem; padding: 0.7rem 0.9rem; border: 1px solid var(--border);
  border-radius: 999px; font: inherit; background: var(--surface); color: var(--ink);
}
.signup-row input:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 1px; }
/* Resources + close + share */
.dayhope-resources { text-align: center; margin: clamp(2.4rem, 5vw, 3.4rem) auto 0; max-width: 46ch; }
.dayhope-resources p { color: var(--ink-muted); margin-bottom: 1rem; }
.share-bar { display: flex; gap: 0.6rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 1rem; }
.share-btn { display: inline-flex; padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--brand-teal); color: #fff; }
.share-btn:hover { background: var(--brand-teal-dark); }
.share-note { color: var(--ink-muted); font-size: var(--step--1); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-muted); font-size: var(--step-0); }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--brand-sage-tint);
  color: var(--brand-teal-dark);
  border-radius: 14px;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

/* ---- 9. Memory / founder feature -------------------------- */
.memory .container { display: block; }
.story-intro { max-width: 62ch; margin-inline: auto; text-align: center; }
.story-intro blockquote { margin-inline: auto; display: inline-block; text-align: left; }
.memory-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}
.memory-figure img { width: 100%; height: 100%; object-fit: cover; }
.memory blockquote {
  border-left: 4px solid var(--brand-sage);
  padding-left: 1.1rem;
  margin: 1.4rem 0;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  font-style: italic;
  color: var(--brand-teal-dark);
}
.memory-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.memory-gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ---- Interactive Caribbean resources map ------------------- */
.cmap-head { margin-top: clamp(2.2rem, 5vw, 3.5rem); }
.memory { overflow-x: clip; }              /* contain the full-bleed map */
.cmap { display: block; margin-top: 1.4rem; }
.cmap-map {                                 /* edge-to-edge, full viewport width */
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--forest);
  padding: clamp(0.4rem, 1.5vw, 0.9rem);
  box-shadow: var(--shadow);
  height: clamp(320px, 58vw, 640px);
}
.cmap-svg { width: 100%; height: 100%; display: block; touch-action: manipulation; }
.cmap-tip {                                 /* floating country-name label on hover */
  position: absolute;
  transform: translate(-50%, -140%);
  background: var(--surface-card);
  color: var(--brand-teal-dark);
  font-size: var(--step--1);
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
}
.cmap-tip[hidden] { display: none; }
.cmap-context { fill: #1c4b43; stroke: #0f2f2a; stroke-width: 0.5; }
.cmap-country {
  fill: var(--brand-sage);
  stroke: var(--forest); stroke-width: 0.6;
  cursor: pointer;
  transform-box: fill-box;          /* scale from the shape's own centre */
  transform-origin: center;
  transition: fill .15s ease, transform .18s ease;
}
.cmap-country:hover, .cmap-country:focus-visible { fill: var(--accent-amber); transform: scale(1.12); }
.cmap-country:focus-visible, .cmap-pin:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.cmap-country.is-active { fill: var(--accent-amber); stroke: #fff; stroke-width: 1; }
.cmap-pin { cursor: pointer; }
.cmap-pin circle {
  fill: var(--accent-amber); stroke: #fff; stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  transition: fill .15s ease, transform .18s ease;
}
.cmap-pin:hover circle, .cmap-pin:focus-visible circle { fill: #fff; transform: scale(1.6); }
.cmap-pin.is-active circle { fill: #fff; stroke: var(--accent-amber); stroke-width: 2; }

.cmap-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  margin-top: clamp(1.2rem, 3vw, 1.8rem);
}
.cmap-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cmap-chip {
  font: inherit; font-size: var(--step--1); font-weight: 600;
  background: var(--surface-card);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.cmap-chip:hover { border-color: var(--brand-sage); }
.cmap-chip.is-active { background: var(--brand-teal); border-color: var(--brand-teal); color: #fff; }
.cmap-panel { min-height: 8.5rem; }
.cmap-panel h3 { color: var(--brand-teal-dark); margin-bottom: 0.6rem; outline: none; }
.cmap-lines { display: flex; flex-direction: column; gap: 0.7rem; margin: 0.4rem 0 1rem; }
/* light-panel overrides for the reused help-line / help-note pieces */
.cmap-panel .help-line { background: var(--surface-alt); border: 1px solid var(--border); }
.cmap-panel .help-line .num { font-size: var(--step-0); color: var(--brand-teal-dark); }
.cmap-panel .help-line .num a, .cmap-panel .help-line a { color: var(--brand-teal-dark); }
.cmap-panel .help-note { color: var(--ink-muted); }
.cmap-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cmap-links a.chip { text-decoration: none; }

@media (max-width: 760px) {
  .cmap-side { grid-template-columns: 1fr; }
}

/* ---- 10. Impact stats -------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.stat {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
}
.stat .num { font-size: var(--step-3); font-weight: 800; color: var(--brand-teal); line-height: 1; }
.stat .label { color: var(--ink-muted); font-size: var(--step--1); margin-top: 0.4rem; }

.where {
  margin-top: 1.8rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.where h3 { margin-bottom: 0.9rem; }
.where-bar { display: flex; height: 20px; border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.where-bar span { display: block; }
.where-legend { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; margin-top: 0.9rem; font-size: var(--step--1); color: var(--ink-muted); }
.where-legend b { color: var(--ink); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 0.4rem; vertical-align: middle; }

/* ---- 11. Stories ------------------------------------------- */
.story { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.story img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.story-body { padding: 1.3rem 1.4rem 1.5rem; }
.story-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.story-body h3 { margin-bottom: 0.5rem; }
.story-body p { color: var(--ink-muted); font-size: var(--step-0); }

/* ---- 12. Donate / ways to give ---------------------------- */
.give-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.give-card .card-icon { margin-inline: auto; }
.give-card .btn { margin-top: auto; }
.give-detail { font-weight: 700; color: var(--brand-teal-dark); margin: 0.3rem 0 1rem; word-break: break-word; }

/* ---- 13. Get Help ------------------------------------------ */
.help-panel {
  background: linear-gradient(135deg, var(--brand-teal-dark), var(--brand-teal));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.help-panel h2 { color: #fff; }
.help-panel .help-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 1.4rem 0; }
.help-line { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); padding: 1.1rem; }
.help-line .num { font-size: var(--step-2); font-weight: 800; }
.help-line a { color: #fff; }
.help-note { font-size: var(--step--1); color: rgba(255,255,255,0.85); }
.help-support { margin-top: 1.4rem; }
.help-support ul { padding-left: 1.1rem; color: rgba(255,255,255,0.92); }
.help-support li { margin-bottom: 0.35rem; }

/* ---- 14. Contact ------------------------------------------- */
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-list .card-icon { margin: 0; flex: 0 0 auto; width: 44px; height: 44px; font-size: 1.3rem; }
.contact-list a { font-weight: 600; }
.socials { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.4rem; }

/* ---- 14b. Rooted in Guyana (celebration band) ------------- */
.celebrate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(0.7rem, 2vw, 1.1rem);
}
.celebrate-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.celebrate-tile img { width: 100%; height: 100%; object-fit: cover; }
.celebrate-tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.9rem;
  color: #fff;
  font-weight: 700;
  font-size: var(--step-0);
  background: linear-gradient(180deg, transparent, rgba(18,80,76,0.82));
}

/* ---- 15. Footer -------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--brand-teal-dark);
  color: rgba(255,255,255,0.85);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/leaf-pattern.svg") repeat;
  background-size: 240px;
  opacity: 0.45;
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer .container { padding-block: clamp(2.4rem, 5vw, 3.4rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: var(--step-0); margin-bottom: 0.8rem; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.footer-brand p { color: rgba(255,255,255,0.75); font-size: var(--step--1); margin-top: 0.7rem; }
.footer-crisis {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.8rem;
  text-align: center;
}
.footer-crisis a { color: #fff; font-weight: 800; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 2rem; padding-top: 1.3rem;
  padding-bottom: clamp(3.25rem, 8vw, 4.5rem); /* clearance for the floating Get help button */
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between;
  font-size: var(--step--1); color: rgba(255,255,255,0.7);
}
.footer-memorial { font-family: var(--font-serif); font-style: italic; }

/* ---- 16. Responsive --------------------------------------- */
@media (max-width: 860px) {
  :root { --topbar-h: 66px; }
  .hero .container,
  .memory .container,
  .contact .container { grid-template-columns: 1fr; }
  .hero-figure { aspect-ratio: 16 / 11; order: -1; }
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }

  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile drawer */
  .site-nav.open { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--forest);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    padding: 1rem clamp(1.1rem, 4vw, 3rem) 1.4rem;
  }
  .site-nav.open .nav,
  .site-nav.open .header-cta { display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .site-nav.open .nav a { padding: 0.7rem 0.8rem; font-size: var(--step-0); }
  .site-nav.open .header-cta { margin-top: 0.8rem; }
  .site-nav.open .header-cta .btn { justify-content: center; padding: 0.8rem 1rem; font-size: var(--step-0); }
  .site-header .container { position: relative; }
}

@media (min-width: 861px) {
  .site-nav { display: flex !important; align-items: center; gap: 1rem; }
  .nav-toggle { display: none; }
}

@media (max-width: 560px) {
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 0.98rem; }
  .brand-name span { font-size: 0.72rem; }
}

@media (max-width: 520px) {
  .memory-gallery { grid-template-columns: repeat(3, 1fr); }
  .hero-actions .btn, .hero-actions { width: 100%; }
  .hero-actions .btn { justify-content: center; }
}

/* ---- 17. Reduced motion ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   18. Centred "Menu" button + full-screen overlay (Farm Africa)
   ============================================================ */
.menu-toggle {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
}
.menu-garland { width: 118px; height: auto; margin-bottom: -4px; pointer-events: none; background: none; }
.menu-label {
  color: var(--forest-ink);
  font-weight: 800;
  font-size: var(--step-0);
  letter-spacing: 0.5px;
  line-height: 1;
}
.menu-toggle:hover .menu-label { color: var(--accent-amber); }
.header-donate { flex-shrink: 0; }
.brand { z-index: 1; } /* keep brand above the absolutely-centred menu hit area */
.header-donate { z-index: 1; }

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: var(--forest);
  background-image: url("../images/hero-leaves.svg");
  background-size: 520px;
  color: var(--forest-ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
body.menu-open { overflow: hidden; }

.menu-overlay-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: 100%;
  padding-top: calc(var(--topbar-h) + clamp(1.5rem, 4vh, 3rem));
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}

.menu-links { display: flex; flex-direction: column; gap: 0.15rem; }
.menu-links a {
  color: var(--forest-ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.18;
  font-size: clamp(1.8rem, 1rem + 3.2vw, 3.4rem);
  padding: 0.1rem 0;
  width: max-content;
  max-width: 100%;
  transition: color 0.15s ease, transform 0.15s ease;
}
.menu-links a:hover,
.menu-links a[aria-current] { color: var(--accent-amber); transform: translateX(8px); }

/* Right column */
.menu-side { display: flex; flex-direction: column; gap: 1rem; }
.menu-support {
  background: #FBF7EE;
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
  box-shadow: var(--shadow);
}
.menu-support img { margin: 0 auto 0.6rem; width: 46px; height: 46px; background: none; }
.menu-support .menu-support-title { color: var(--brand-teal-dark); font-size: var(--step-2); font-weight: 700; font-family: var(--font-serif); margin: 0 0 0.5rem; }
.menu-support p { color: var(--ink-muted); font-size: var(--step-0); margin: 0 auto 1.2rem; }

.menu-crisis {
  display: flex; flex-direction: column;
  background: var(--crisis-bg);
  color: var(--crisis-fg);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  text-decoration: none;
}
.menu-crisis strong { font-size: var(--step-0); }
.menu-crisis b { color: #fff; }

.menu-socials { color: rgba(251, 247, 238, 0.85); font-size: var(--step--1); }
.menu-social-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.menu-social-links a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 600;
}
.menu-social-links a:hover { background: rgba(255,255,255,0.12); }

@media (max-width: 860px) {
  .menu-overlay-inner { grid-template-columns: 1fr; align-items: start; gap: 1.6rem; }
  .menu-support { text-align: left; }
  .menu-support img { margin-left: 0; }
}
@media (max-width: 560px) {
  .brand-name { display: none; } /* logo only, so the centred Menu has room */
  .menu-garland { width: 96px; }
  .header-donate { padding: 0.55rem 1rem; font-size: var(--step--1); }
}

/* ---- 19. Floating crisis button (always available, no top band) ---- */
.crisis-fab {
  position: fixed;
  z-index: 80;
  right: clamp(0.9rem, 3vw, 1.6rem);
  bottom: clamp(0.9rem, 3vw, 1.6rem);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--crisis-bg);
  color: var(--crisis-fg);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.2s ease, visibility 0.2s ease;
}
.crisis-fab:hover { background: #632f24; transform: translateY(-2px); }
/* Hide the floating button while the Get Help section / footer is on screen,
   so it never sits on top of that content (toggled by js/main.js). */
.crisis-fab.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
