/* GIFTEd — home page styles. Shared tokens/components live in design-system.css. */

/* ── NAV: single row ── */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.2s ease, box-shadow 0.3s ease;
  opacity: 0;
}

.site-nav.dropdown-open {
  background: rgba(20, 60, 75, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-nav.scrolled {
  background: rgba(20,60,75,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
body.hero-loaded .site-nav {
  opacity: 1;
  transition: opacity 0.5s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Hide utility bar entirely */

/* Single bar layout */

/* Logo lockup: wordmark stacked over the full name */
.nav-logo-img {
  display: block;
  height: 34px;
  width: auto;
  /* Before scroll the nav is transparent over the hero photo, so the
     white mark needs its own contrast rather than relying on a solid
     backing. Matches the shadow already used on the hero text. */
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55));
}
/* Kept in the markup for the old inline lockup; the stacked version
   needs no separator between the two lines. */

/* The stacked lockup is 268px wide and the right-hand nav group is 708px,
   so below ~1072px the two collide. 1100px leaves a little slack. (The old
   single-row lockup needed 1440px, so this is still a real gain.) */
@media (max-width: 1100px) {
  .nav-logo-wordmark-sub { display: none; }
}

/* Right group: links + donate */
.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 0; /* shared.css gives inner pages 40px; the homepage nav has no logo collision */
}

/* Override design-system nav-links (had flex:1 + centering) */
.nav-links {
  /* 'flex: 0' means basis 0% with shrink on, so the list collapses toward
     zero width and the links break onto a second row. Size to content. */
  flex: 0 0 auto;
  flex-wrap: nowrap;
  display: flex;
  align-items: center;
  gap: 36px;
}

/* Override link size */

/* ── Dropdowns ── */
/* The nav bar is 90px tall but the links were only as tall as their text,
   leaving a ~35px dead strip between the link and the panel at top:90px.
   Crossing it dropped :hover and closed the menu. Stretching the items to
   the full bar height makes the two touch, so the cursor never leaves. */
/* every li, not just .nav-item, "Team" and "Contact" are bare <li> and
   were left top-aligned inside the stretched row */
.nav-links > li {
  position: static;
  display: flex;
  align-items: center;
  /* explicit, not stretch: .nav-links sits inside centred parents, so
     stretching only fills the text-height line box. A 90px box centred in
     the 90px bar spans it exactly, reaching the panel at top:90px. */
  height: 90px;
}

.nav-links {
  position: static;
  align-items: stretch;
}

/* Donate separated from links */

/* Hamburger */

/* Mobile overlay */

/* ── HERO ── */

.hero {
  align-items: flex-end;
  padding-bottom: 80px;
  padding-left: 64px;
  padding-right: 64px;
}
/* Hero background video */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Top vignette so nav text pops against photo */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
  pointer-events: none;
}
.hero-bg::after {
  background: linear-gradient(
    to right,
    rgba(13,13,13,0.80) 0%,
    rgba(13,13,13,0.50) 45%,
    rgba(13,13,13,0.05) 100%
  );
}

/* Mobile Safari sometimes refuses to autoplay the background video and
   falls back to showing its native play button over the poster frame,
   which reads as a broken/clickable video sitting in the hero. Since this
   video is decorative (aria-hidden, no audio, nothing to "play"), mobile
   gets the poster image as a plain background instead — never a video
   element that can fail into that state. */
@media (max-width: 768px) {
  .hero-bg-video { display: none; }
  .hero-bg {
    background-image: url('../assets/images/hero-poster.jpg');
    background-size: cover;
    background-position: center;
  }
}
.hero-content {
  box-sizing: border-box;
  max-width: 550px;
  padding-left: 80px;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 28px;
  border-left: 4px solid #4AADBB;
  padding-left: 20px;
}
.hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  color: inherit;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 40px;
}

/* Goal chip */
.hero-goal {
  margin-top: 40px;
  max-width: 100%;   /* never run under the donate card */
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 12px 24px;
}
.hero-goal-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #4AADBB;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.hero-goal-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.hero-goal-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.88);
  white-space: normal;
}

/* ── HERO LOAD ANIMATIONS ── */

.hero-title,
.hero-subtitle,
.hero-actions {
  opacity: 0;
  transform: translateY(24px);
}

body.hero-loaded .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}
body.hero-loaded .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease 1s, transform 0.7s ease 1s;
}
body.hero-loaded .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease 1.3s, transform 0.7s ease 1.3s;
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .nav-main { padding: 0 24px; }
  .nav-right .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-hamburger { display: flex; }

  .hero {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 80px;
  }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; min-height: 44px; }
}

/* ── CURRENT GOAL SECTION ── */

.goal-section {
  background: #FDFAF6;
  padding: 120px 80px 120px 160px;
}

.goal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.goal-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #D4622A;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.goal-divider {
  width: 48px;
  height: 2px;
  background: #D4622A;
  margin: 16px 0;
}

.goal-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #0D0D0D;
  line-height: 1.2;
  max-width: 480px;
}

.goal-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #6B6B6B;
  line-height: 1.7;
  margin-top: 16px;
}

.goal-right {
  display: flex;
  justify-content: center;
}

/* Peephole box reveal */
.box-reveal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* Full sentence, so readability beats eyebrow styling: uppercase + wide
   tracking + 35% opacity made this hard to read at any size. */
.box-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #1A5C6B;
  background: rgba(26,92,107,0.08);
  border-radius: 999px;
  padding: 9px 18px;
  line-height: 1.4;
}
.box-hint svg { flex-shrink: 0; }
@media (max-width: 768px) { .box-hint { font-size: 0.92rem; } }

.box-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  cursor: none;
  border-radius: 12px;
  overflow: hidden;
  background: #F0EDE8;
}

.box-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  margin: 0;
}

.box-img--open   { z-index: 1 !important; }
.box-img--closed { z-index: 2 !important; }

.peephole-ring { display: none; }

.box-price {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #6B6B6B;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .goal-section { padding: 64px 24px; }
  .goal-grid { grid-template-columns: 1fr; gap: 48px; }
  .goal-heading { font-size: 2rem; }
  /* The peephole needs a cursor; on touch it just reads as a static
     image, so show the open box and drop the hover prompt. */
  .box-stage { cursor: default; min-height: 340px; }
  .box-img--closed { display: none; }
  .box-hint { display: none; }
}

/* ── STATS: reflow ── */
@media (max-width: 900px) {
  .wwd-stats { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  /* Divider only between columns within a row, never at a row start */
  .wwd-stat + .wwd-stat::before { display: none; }
  .wwd-stat:nth-child(even)::before { display: block; }
}
@media (max-width: 520px) {
  .wwd-stats { grid-template-columns: 1fr; gap: 32px; }
  .wwd-stat:nth-child(even)::before { display: none; }
  .what-we-do-section { padding: 72px 24px; min-height: 0; }
}

/* ── REDUCED MOTION ── */

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .hero-title,
  .hero-subtitle,
  .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* ── What We Do / Stats ── */
/* ── Our Approach section ── */
.what-we-do-section {
  position: relative;
  background: #1A5C6B;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  text-align: center;
  overflow: hidden;
}

.wwd-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.wwd-deco--tr  { width: 500px; height: 500px; top: -100px; right: -100px; background: rgba(74,173,187,0.07); }
.wwd-deco--bl  { width: 300px; height: 300px; bottom: -60px; left: -60px; background: rgba(74,173,187,0.06); }
.wwd-deco--cr  { width: 200px; height: 200px; top: 50%; right: 80px; transform: translateY(-50%); background: rgba(212,98,42,0.05); }
.wwd-deco--tl  { width: 150px; height: 150px; top: 40px; left: 60px; background: rgba(255,255,255,0.03); }

.wwd-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4AADBB;
  margin: 0;
  position: relative;
}

.wwd-eyebrow-line {
  display: block;
  width: 60px;
  height: 2px;
  background: #D4622A;
  margin: 14px auto 0;
}

/* Grid, not flex: four stats need to reflow on narrow screens.
   The old min-width:200px per number forced horizontal overflow. */
.wwd-stats {
  display: grid;
  /* auto-fit so a hidden stat (one with no trustworthy number yet)
     closes the gap instead of leaving an empty column */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 24px;
  align-items: start;
  max-width: 1040px;
  margin: 64px auto 0;
  position: relative;
}

.wwd-stat {
  padding: 0 12px;
  position: relative;
}
/* Divider as a pseudo-element so it disappears automatically when the
   grid reflows, instead of leaving stray 1px columns. */
.wwd-stat + .wwd-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.wwd-stat-num {
  display: block;
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: clamp(2.8rem, 5.4vw, 4.4rem);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.wwd-stat-label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: #4AADBB;
  margin: 8px 0 0;
}

/* ── Events section ── */
.events-section {
  background: #F7F4F0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
}

.events-grid {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.events-img-col {
  flex: 1;
}

.events-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  display: block;
}

.events-content-col {
  flex: 1;
}

.events-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4622A;
  margin: 0;
}

.events-divider {
  display: block;
  width: 48px;
  height: 2px;
  background: #D4622A;
  margin: 12px 0;
}

.events-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #4AADBB;
  margin: 0 0 16px;
}

.events-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #0D0D0D;
  margin: 0;
  line-height: 1.2;
}

.events-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #6B6B6B;
  line-height: 1.7;
  margin: 16px 0 0;
}

.events-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #1C1C1C;
  margin: 24px 0 0;
}

.events-location svg {
  flex-shrink: 0;
}

.events-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* ── HERO DONATE CARD ── */
/* Columns keep their natural heights and sit centred against each other. */
.hero {
  justify-content: space-between;
  align-items: center;
  gap: 56px;
  height: auto;
  min-height: 100vh;
  padding-top: 112px;
  padding-bottom: 40px;
}
.hero-content {
  position: relative;
  z-index: 2;
}

/* Glassmorphic, matching the Current Goal pill treatment */
.hero-give {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 390px;
  flex-shrink: 0;
  /* nudge 40px left; margin not transform, the reveal animation already
     uses transform on this element */
  margin-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(24px);
}
body.hero-loaded .hero-give {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease 1.1s, transform 0.7s ease 1.1s;
}

.hero-give-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.hero-give-sub {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin: 6px 0 11px;
}
.hero-give-sub strong { color: #fff; font-weight: 600; }

.hero-give-freq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 8px;
}
.hero-give-freq-btn {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 8px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  min-height: 38px;
  transition: background 0.2s ease, color 0.2s ease;
}
.hero-give-freq-btn:hover { color: #fff; }
.hero-give-freq-btn.is-active {
  background: rgba(255,255,255,0.95);
  color: #0D0D0D;
  font-weight: 600;
}

.hero-give-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.hero-give-amt {
  appearance: none;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  padding: 10px 4px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  min-height: 38px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.hero-give-amt:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.12); }
.hero-give-amt.is-active {
  border-color: #4AADBB;
  border-width: 2px;
  background: rgba(74,173,187,0.26);
  font-weight: 600;
}

.hero-give-other-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 5px;
}
.hero-give-other {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  padding: 0 14px;
  margin-bottom: 11px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.hero-give-other:focus-within {
  border-color: #4AADBB;
  box-shadow: 0 0 0 3px rgba(74,173,187,0.22);
}
.hero-give-other span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
}
.hero-give-other input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  padding: 10px 0;
  min-height: 38px;
  -moz-appearance: textfield;
}
.hero-give-other input::placeholder { color: rgba(255,255,255,0.45); }
.hero-give-other input::-webkit-outer-spin-button,
.hero-give-other input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.hero-give-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: #D4622A;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 20px;
  min-height: 44px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.hero-give-btn:hover {
  background: #E8803A;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(212,98,42,0.42);
}
.hero-give-note {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin: 7px 0 0;
}

.hero-give-progress {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-give-progress-top {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4AADBB;
  margin: 0 0 7px;
}
.hero-give-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}
.hero-give-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(to right, #4AADBB, #8BD6E0);
  transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-give-progress-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin: 6px 0 0;
}
.hero-give-progress-bottom strong { color: #fff; }
.hero-give-pct { color: #4AADBB; font-weight: 600; }

@media (max-width: 1080px) {
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .hero-content { max-width: 100%; padding-left: 0; }
  .hero-give { max-width: 100%; margin-top: 8px; }
}
@media (max-width: 768px) {
  .hero { padding-top: 120px; height: auto; min-height: 100vh; }
  .hero-give { padding: 28px 22px 26px; border-radius: 16px; }
  .hero-give-title { font-size: 1.45rem; }
  .hero-give-amounts { grid-template-columns: repeat(3, 1fr); }
  .hero-give-amt,
  .hero-give-freq-btn { min-height: 44px; }
  .hero-goal { display: none; }
}

/* ── Monthly confirmation modal ── */
.recur-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.recur-modal[hidden] { display: none; }
.recur-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.recur-modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #FDFAF6;
  border-radius: 18px;
  padding: 32px 30px 26px;
  box-shadow: 0 32px 90px rgba(0,0,0,0.42);
}
.recur-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0D0D0D;
  line-height: 1.2;
  margin: 0 0 12px;
}
.recur-modal-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #6B6B6B;
  line-height: 1.65;
  margin: 0 0 26px;
}
.recur-modal-body strong { color: #D4622A; font-weight: 600; }
.recur-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.recur-modal-btn {
  appearance: none;
  border-radius: 999px;
  padding: 13px 24px;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.recur-modal-btn--ghost {
  background: transparent;
  border: 1.5px solid #D9D4CE;
  color: #6B6B6B;
}
.recur-modal-btn--ghost:hover { border-color: #1A5C6B; color: #1A5C6B; }
.recur-modal-btn--go {
  background: #D4622A;
  border: 1.5px solid #D4622A;
  color: #fff;
}
.recur-modal-btn--go:hover { background: #E8803A; border-color: #E8803A; }

@media (max-width: 480px) {
  .recur-modal-actions { flex-direction: column-reverse; }
  .recur-modal-btn { width: 100%; }
}

/* ── Home donate section ── */
.home-donate-section {
  background: #FDFAF6;
  padding: 110px 80px 90px;
}
.home-donate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.home-donate-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4622A;
  margin: 0;
}
.home-donate-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: #D4622A;
  margin: 16px 0;
}
.home-donate-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  color: #0D0D0D;
  line-height: 1.2;
  margin: 0;
}
.home-donate-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #6B6B6B;
  line-height: 1.75;
  margin: 18px 0 0;
  max-width: 460px;
}
.home-donate-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #1A5C6B;
  margin: 18px 0 0;
}
.home-donate-more { margin-top: 30px; }

.home-donate-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  background: #E4E9EA;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-donate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.22);
}
.home-donate-card-img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.home-donate-card:hover .home-donate-card-img { transform: scale(1.05); }
.home-donate-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.90) 0%, rgba(13,13,13,0.35) 55%, rgba(13,13,13,0.05) 100%);
}
.home-donate-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-donate-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4AADBB;
  margin-bottom: 8px;
}
.home-donate-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.home-donate-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  background: #D4622A;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-radius: 999px;
  padding: 14px 28px;
  transition: background 0.2s ease;
}
.home-donate-card:hover .home-donate-card-cta { background: #E8803A; }

@media (max-width: 900px) {
  .home-donate-section { padding: 72px 24px; }
  .home-donate-inner { grid-template-columns: 1fr; gap: 40px; }
  .home-donate-card { aspect-ratio: 3/2; }
}

/* ── Newsletter section ── */
.newsletter-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("../assets/images/students-studying.jpg");
  background-color: #123F4A;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(13,13,13,0.32), rgba(13,13,13,0.58));
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 80px 40px;
}

.newsletter-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4AADBB;
  margin: 0;
}

.newsletter-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 16px 0 0;
}

.newsletter-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 16px 0 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.newsletter-input {
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 280px;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-input:focus {
  border-color: #4AADBB;
}

.newsletter-note {
  max-width: 460px;
  margin: 14px auto 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #fff;
  background: rgba(74,173,187,0.22);
  border: 1px solid rgba(74,173,187,0.55);
  border-radius: 12px;
  padding: 12px 16px;
}
.newsletter-privacy {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.4);
  margin: 16px 0 0;
}

/* ── Plum CTA section ── */

/* Social row: brand glyphs instead of words. Laid out as a row of round
   targets, so it reads as a set rather than three more text links. */

/* ── MOBILE FIXES (after the base rules so they actually win) ──
   The earlier .wwd-stats media queries sat BEFORE the base rule, so the
   base 3x200px grid won, stretched the page to ~540px on a 375px phone,
   and left only one stat visible per screen. */
@media (max-width: 900px) {
  .wwd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }
  .wwd-stat + .wwd-stat::before { display: none; }
  .wwd-stat:nth-child(even)::before { display: block; }
  .wwd-deco { max-width: 60vw; }
  .plum-section { grid-template-columns: 1fr; padding: 56px 24px; gap: 40px; }
}
@media (max-width: 520px) {
  .wwd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 8px; margin-top: 40px; }
  .wwd-stat { padding: 0 6px; }
  .wwd-stat:nth-child(even)::before { display: block; }
  .wwd-stat-num { font-size: clamp(1.9rem, 9.5vw, 2.6rem); }
  .wwd-stat-label { font-size: 0.85rem; text-align: center; }
  .what-we-do-section { padding: 56px 20px; min-height: 0; overflow: hidden; }
  .plum-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

/* Events: the base rule is a side-by-side flex row with 80px padding/gap and
   no mobile layout, so on a phone the image collapsed and text was pushed
   off to the right. Stack it. */
@media (max-width: 900px) {
  .events-section { min-height: 0; padding: 56px 24px; }
  .events-grid { flex-direction: column; align-items: stretch; gap: 32px; }
  .events-img-col, .events-content-col { flex: none; width: 100%; min-width: 0; }
  .events-img { width: 100%; max-height: 70vh; }
  .events-heading { overflow-wrap: anywhere; }
  .events-actions { flex-wrap: wrap; }
}

/* ── About / FAQ block (plain-text facts for search engines and readers) ── */
.about-faq { background: #FBF6EE; padding: 72px 24px; }
.about-faq-inner { max-width: 820px; margin: 0 auto; color: #2B1B27; line-height: 1.65; }
.about-faq h2 { font-size: 2rem; margin: 0 0 16px; }
.about-faq h3 { margin: 28px 0 8px; }
