/* =========================================================
   Gospel for Today's Generation — Design tokens
   Palette: dusk indigo sky, lantern gold, muted clay, parchment, deep field-green
   Type: Fraunces (display) / Inter (body) / JetBrains Mono (numerals, labels)
   ========================================================= */

:root{
  --dusk:        #141F38;
  --dusk-deep:   #0C1526;
  --gold:        #E8A93F;
  --gold-soft:   #F3CD82;
  --clay:        #B85B3C;
  --parchment:   #F7F2E7;
  --parchment-2: #EFE7D6;
  --field:       #2E4636;
  --ink:         #1B1A16;
  --ink-soft:    #514E45;
  --white:       #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --container: 1120px;
  --radius: 14px;
  --shadow-lg: 0 24px 60px -20px rgba(12,21,38,0.45);
  --shadow-sm: 0 8px 20px -10px rgba(12,21,38,0.25);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--parchment);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ font-family:var(--font-display); margin:0; line-height:1.05; font-weight:600; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }

.eyebrow{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold-soft);
  margin:0 0 14px;
}
.eyebrow--dark{ color:var(--clay); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:15px 28px;
  border-radius:999px;
  font-weight:600;
  font-size:0.98rem;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--gold{
  background:linear-gradient(180deg, var(--gold-soft), var(--gold));
  color:var(--dusk-deep);
  box-shadow:var(--shadow-sm);
}
.btn--gold:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.btn--ghost{
  color:var(--white);
  border-color:rgba(255,255,255,0.4);
}
.btn--ghost:hover{ border-color:var(--white); background:rgba(255,255,255,0.08); }
.btn--full{ width:100%; }

.text-link{
  display:inline-block;
  margin-top:22px;
  font-weight:600;
  color:var(--clay);
  border-bottom:1px solid currentColor;
  padding-bottom:2px;
}

/* ============ NAV ============ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(20,31,56,0.0);
  transition:background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.is-scrolled{
  background:rgba(12,21,38,0.85);
  backdrop-filter:blur(10px);
  box-shadow:0 6px 24px -10px rgba(0,0,0,0.4);
}
.nav__inner{
  max-width:var(--container); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 22px;
}
.nav__brand{ display:flex; align-items:center; gap:10px; }
.nav__logo{ width:36px; height:36px; border-radius:9px; object-fit:cover; background:var(--white); padding:2px; box-shadow:0 0 0 1px rgba(255,255,255,0.25); }
.nav__wordmark{
  font-family:var(--font-display); font-weight:600;
  color:var(--white); font-size:0.82rem; line-height:1.15;
}
.nav__links{
  display:flex; align-items:center; gap:28px;
  font-size:0.92rem; font-weight:500; color:rgba(255,255,255,0.85);
}
.nav__links a:hover{ color:var(--gold-soft); }
.nav__cta{
  background:var(--gold); color:var(--dusk-deep) !important;
  padding:9px 20px; border-radius:999px; font-weight:700;
}
.nav__toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px;
}
.nav__toggle span{ width:22px; height:2px; background:var(--white); border-radius:2px; }

/* ============ HERO ============ */
.hero{
  position:relative;
  min-height:100svh;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:120px 22px 90px;
  overflow:hidden;
}
.hero__media{ position:absolute; inset:0; z-index:0; }
.hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(0deg, var(--dusk-deep) 8%, rgba(12,21,38,0.55) 48%, rgba(12,21,38,0.35) 100%);
}
.hero__content{ position:relative; z-index:1; max-width:640px; }
.hero h1{
  color:var(--white);
  font-size:clamp(2.6rem, 9vw, 4.6rem);
  font-weight:500;
}
.hero h1 em{ font-style:italic; color:var(--gold-soft); font-weight:600; }
.hero__lede{
  color:rgba(255,255,255,0.82);
  font-size:1.02rem; line-height:1.6;
  margin:22px 0 32px;
  max-width:52ch;
}
.hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }

.hero__cross-signal{
  position:absolute; top:26px; right:26px; z-index:1;
  width:26px; height:36px; opacity:0.9;
}
.cross-icon{ width:100%; height:100%; fill:var(--gold-soft); filter:drop-shadow(0 0 10px rgba(232,169,63,0.8)); }

/* ============ IMPACT STRIP ============ */
.impact{ background:var(--dusk-deep); padding:52px 22px; }
.impact__inner{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:repeat(2,1fr); gap:32px 20px;
}
.impact__stat{ color:var(--white); }
.impact__num, .impact__suffix{
  font-family:var(--font-mono); font-weight:600;
  font-size:2.1rem; color:var(--gold-soft);
}
.impact__label{
  display:block; margin-top:6px;
  font-size:0.82rem; color:rgba(255,255,255,0.65);
  max-width:20ch;
}

/* ============ ABOUT ============ */
.about{ padding:86px 22px; background:var(--parchment); }
.about__grid{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:1fr; gap:40px;
}
.about h2{ font-size:clamp(1.8rem, 5vw, 2.5rem); color:var(--ink); margin-bottom:20px; }
.about__copy p{ color:var(--ink-soft); line-height:1.7; margin-bottom:16px; font-size:1.02rem; }
.about__figure img{ border-radius:var(--radius); box-shadow:var(--shadow-lg); }

/* ============ FULL-BLEED QUOTE BREAK ============ */
.quote-break{
  position:relative;
  min-height:64vh;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.quote-break__media{ position:absolute; inset:0; }
.quote-break__media img{ width:100%; height:100%; object-fit:cover; }
.quote-break__scrim{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(12,21,38,0.55), rgba(12,21,38,0.75));
}
.quote-break__text{
  position:relative; z-index:1; text-align:center; margin:0; padding:60px 24px;
}
.quote-break__text p{
  font-family:var(--font-display); font-style:italic; font-weight:500;
  color:var(--white); font-size:clamp(1.5rem, 6vw, 2.6rem); line-height:1.35;
  margin-bottom:18px;
}
.quote-break__text cite{
  font-family:var(--font-mono); font-style:normal; font-size:0.8rem;
  letter-spacing:0.12em; text-transform:uppercase; color:var(--gold-soft);
}

/* ============ EVANGELIST ============ */
.evangelist{
  background:var(--field); color:var(--parchment);
  padding:86px 22px;
  display:grid; grid-template-columns:1fr; gap:36px;
  max-width:var(--container); margin:0 auto;
  position:relative;
}
.evangelist__figure{ position:relative; }
.evangelist__figure img{ border-radius:var(--radius); box-shadow:var(--shadow-lg); }
.evangelist__figure-accent{
  display:none;
}
.evangelist h2{ font-size:clamp(1.8rem, 5vw, 2.5rem); color:var(--white); margin-bottom:18px; }
.evangelist__quote{
  font-family:var(--font-display); font-style:italic; font-weight:500;
  font-size:1.3rem; color:var(--gold-soft);
  border-left:3px solid var(--gold); padding-left:18px;
  margin-bottom:20px; line-height:1.4;
}
.evangelist__copy p:not(.evangelist__quote){ line-height:1.7; opacity:0.88; }

/* ============ GLOBAL PARTNERS ============ */
.partners{ padding:86px 22px; background:var(--parchment-2); }
.partners__grid{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:1fr; gap:36px; align-items:center;
}
.partners__figure img{ border-radius:var(--radius); box-shadow:var(--shadow-lg); }
.partners h2{ font-size:clamp(1.6rem, 4.6vw, 2.2rem); color:var(--ink); margin-bottom:16px; }
.partners__copy p{ color:var(--ink-soft); line-height:1.7; }

/* ============ HARVEST GALLERY ============ */
.harvest{ padding:86px 0 90px; background:var(--parchment); }
.harvest__head{ padding:0 22px; max-width:var(--container); margin:0 auto 8px; }
.harvest__head h2{ font-size:clamp(1.8rem, 5vw, 2.5rem); }
.harvest__hint{
  font-family:var(--font-mono); font-size:0.76rem; color:var(--ink-soft);
  margin-top:10px; opacity:0.7;
}
.harvest__scroller{
  display:flex; gap:16px; overflow-x:auto;
  padding:4px 22px 20px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.harvest__scroller::-webkit-scrollbar{ height:6px; }
.harvest__scroller::-webkit-scrollbar-thumb{ background:var(--clay); border-radius:6px; }
.harvest__scroller figure{
  flex:0 0 78%; max-width:340px; margin:0; scroll-snap-align:start;
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm);
  background:var(--white);
}
.harvest__scroller img{ height:230px; width:100%; object-fit:cover; }
.harvest__scroller figcaption{
  padding:12px 14px; font-size:0.85rem; color:var(--ink-soft); font-weight:500;
}
.harvest__scroller figure{ cursor:zoom-in; }
.harvest__scroller img{ transition:transform .4s ease; }
.harvest__scroller figure:hover img{ transform:scale(1.05); }

/* ============ TEAM ============ */
.team{ background:var(--dusk); padding:80px 22px; }
.team__inner{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:1fr; gap:32px; align-items:center;
}
.team__inner img{ border-radius:var(--radius); box-shadow:var(--shadow-lg); }
.team h2{ color:var(--white); font-size:clamp(1.6rem, 4.6vw, 2.2rem); margin-bottom:16px; }
.team__copy p{ color:rgba(255,255,255,0.75); line-height:1.7; }
.team .eyebrow{ color:var(--gold-soft); }

/* ============ LIGHTBOX ============ */
.lightbox{
  position:fixed; inset:0; z-index:300;
  background:rgba(12,21,38,0.94);
  display:flex; align-items:center; justify-content:center;
  padding:26px; opacity:0; pointer-events:none;
  transition:opacity .25s ease;
}
.lightbox.is-open{ opacity:1; pointer-events:auto; }
.lightbox img{
  max-width:100%; max-height:88vh; border-radius:10px;
  box-shadow:0 30px 80px -20px rgba(0,0,0,0.6);
}
.lightbox__close{
  position:absolute; top:20px; right:22px;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,0.12); color:var(--white);
  border:1px solid rgba(255,255,255,0.3); font-size:1.6rem; line-height:1;
}
.lightbox__close:hover{ background:rgba(255,255,255,0.22); }

/* ============ STICKY MOBILE GIVE BUTTON ============ */
.sticky-give{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:150;
  display:flex; align-items:center; justify-content:center;
  padding:16px; border-radius:999px;
  background:linear-gradient(180deg, var(--gold-soft), var(--gold));
  color:var(--dusk-deep); font-weight:700; font-size:1rem;
  box-shadow:0 14px 34px -8px rgba(232,169,63,0.55);
  opacity:0; transform:translateY(120%); pointer-events:none;
  transition:opacity .3s ease, transform .3s ease;
}
.sticky-give.is-visible{ opacity:1; transform:none; pointer-events:auto; }
@media (min-width:760px){ .sticky-give{ display:none; } }

/* ============ GIVE ============ */
.give{
  position:relative; padding:90px 22px 100px;
  background:var(--dusk-deep);
  background-image:radial-gradient(circle at 20% 0%, rgba(232,169,63,0.16), transparent 55%);
}
.give__inner{ position:relative; max-width:560px; margin:0 auto; text-align:left; }
.give h2{ color:var(--white); font-size:clamp(2rem, 6vw, 2.8rem); margin-bottom:16px; }
.give__lede{ color:rgba(255,255,255,0.75); line-height:1.65; margin-bottom:36px; display:block; }

.donate-card{
  background:var(--parchment);
  border-radius:20px;
  padding:26px;
  box-shadow:var(--shadow-lg);
}
.donate-card__currency{
  display:flex; gap:8px; margin-bottom:16px; background:var(--parchment-2);
  border-radius:12px; padding:4px;
}
.currency-chip{
  flex:1; padding:10px 10px; border-radius:9px; border:none;
  background:transparent; font-weight:700; font-family:var(--font-mono);
  font-size:0.85rem; letter-spacing:0.03em; color:var(--ink-soft); transition:all .15s ease;
}
.currency-chip.is-active{
  background:var(--dusk-deep); color:var(--gold-soft);
}
.donate-card__amounts{
  display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:18px;
}
.donate-card__amounts.is-hidden{ display:none; }
.amount-chip{
  padding:14px 10px; border-radius:12px; border:1.5px solid var(--parchment-2);
  background:var(--white); font-weight:600; font-family:var(--font-mono);
  font-size:0.92rem; color:var(--ink); transition:all .15s ease;
}
.amount-chip:hover{ border-color:var(--clay); }
.amount-chip.is-active{
  background:var(--dusk-deep); color:var(--gold-soft); border-color:var(--dusk-deep);
}
.field{ display:block; margin-bottom:14px; }
.field span{ display:block; font-size:0.78rem; font-weight:600; color:var(--ink-soft); margin-bottom:6px; }
.field input{
  width:100%; padding:13px 14px; border-radius:10px;
  border:1.5px solid var(--parchment-2); background:var(--white);
  font-size:1rem; font-family:var(--font-body); color:var(--ink);
}
.field input:focus{ border-color:var(--clay); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.donate-card__note{
  font-size:0.78rem; color:var(--ink-soft); text-align:center; margin-top:12px;
}
.btn--gold[disabled]{ opacity:0.6; pointer-events:none; }

/* ============ FOOTER ============ */
.footer{ background:var(--dusk-deep); padding:56px 22px 40px; text-align:center; }
.footer__inner{ max-width:520px; margin:0 auto; }
.footer__logo{ width:52px; height:52px; border-radius:14px; margin:0 auto 20px; object-fit:cover; background:var(--white); padding:6px; }
.footer__verse{
  font-family:var(--font-display); font-style:italic; color:var(--gold-soft);
  font-size:1.05rem; line-height:1.5; margin-bottom:16px;
}
.footer__meta{ color:rgba(255,255,255,0.65); font-size:0.85rem; margin-bottom:8px; }
.footer__meta--contact a{ color:var(--gold-soft); font-weight:600; font-family:var(--font-mono); letter-spacing:0.02em; }
.footer__meta--contact a:hover{ text-decoration:underline; }
.footer__copy{ color:rgba(255,255,255,0.4); font-size:0.78rem; }

.footer__social{
  display:flex; justify-content:center; gap:12px; margin:22px 0 26px;
}
.social-btn{
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14);
  color:rgba(255,255,255,0.85);
  transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.social-btn svg{ width:19px; height:19px; }
.social-btn:hover{
  transform:translateY(-3px);
  background:var(--gold); color:var(--dusk-deep); border-color:var(--gold);
}

/* ============ TOAST ============ */
.toast{
  position:fixed; left:50%; bottom:26px; transform:translate(-50%,120%);
  background:var(--dusk-deep); color:var(--white);
  padding:14px 22px; border-radius:999px; font-size:0.88rem;
  box-shadow:var(--shadow-lg); z-index:200;
  transition:transform .3s ease; max-width:90vw; text-align:center;
}
.toast.is-visible{ transform:translate(-50%,0); }
.toast.is-error{ background:#7A2E2E; }

/* ============ SCROLL REVEAL ============ */
.reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .8s ease, transform .8s ease;
}
.reveal.is-visible{ opacity:1; transform:none; }

/* ============ DESKTOP ENHANCEMENTS ============ */
@media (min-width:760px){
  .nav__toggle{ display:none; }
  .impact__inner{ grid-template-columns:repeat(4,1fr); }
  .about__grid{ grid-template-columns:1.05fr 0.95fr; align-items:center; }
  .about__figure img{ aspect-ratio:4/5; object-fit:cover; height:100%; }

  .evangelist{ grid-template-columns:0.85fr 1.15fr; align-items:center; }
  .evangelist__figure{ padding-right:36px; }
  .evangelist__figure img:first-child{ aspect-ratio:4/5; object-fit:cover; width:100%; }
  .evangelist__figure-accent{
    display:block; position:absolute; bottom:-30px; right:-10px;
    width:52%; aspect-ratio:4/3; object-fit:cover;
    border:6px solid var(--field); border-radius:12px;
    box-shadow:var(--shadow-lg);
  }

  .partners__grid{ grid-template-columns:1fr 1fr; }
  .partners__figure img{ aspect-ratio:4/3; object-fit:cover; width:100%; }

  .harvest__scroller figure{ flex-basis:31%; }

  .team__inner{ grid-template-columns:1.1fr 0.9fr; }
  .team__inner img{ aspect-ratio:16/10; object-fit:cover; width:100%; }
}

@media (max-width:640px){
  .nav__links{
    position:fixed; top:0; right:0; height:100svh; width:78vw; max-width:320px;
    background:var(--dusk-deep); flex-direction:column; align-items:flex-start;
    padding:100px 28px 40px; gap:26px; font-size:1.1rem;
    transform:translateX(100%); transition:transform .3s ease;
  }
  .nav__links.is-open{ transform:translateX(0); }
  .nav__toggle{ display:flex; }
  .field-row{ grid-template-columns:1fr; }
}
