/* Future Foundation — Static site theme */
:root {
  --ink: #1a1410;
  --ink-85: rgba(26,20,16,.85);
  --ink-70: rgba(26,20,16,.7);
  --ink-40: rgba(26,20,16,.4);
  --clay: #b8623a;
  --primary: #d97757;
  --primary-foreground: #fbf7f2;
  --sage: #7a8b6f;
  --background: #faf6f1;
  --card: #ffffff;
  --border: #e8e0d4;
  --muted-fg: #6b6259;
  --foreground: #231b14;
  --secondary: #f3ece1;
  --destructive: #c0392b;
  --shadow-card: 0 6px 24px -8px rgba(26,20,16,.10);
  --shadow-soft: 0 16px 50px -18px rgba(26,20,16,.25);
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.font-display { font-family: 'Fraunces', Georgia, serif; font-weight: 300; letter-spacing: -0.01em; }
.italic-em { font-style: italic; color: rgba(217,119,87,.95); }
.eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--clay); font-weight: 500;
}
.text-muted { color: var(--muted-fg); }
.text-balance { text-wrap: balance; }
.container-x { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-lg { padding: 7rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } .section-lg { padding: 9rem 0; } }

/* Buttons */
.btn-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.65rem; border-radius: 999px;
  font-size: .875rem; font-weight: 500;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-primary-pill { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-soft); }
.btn-primary-pill:hover { background: #c66648; color: var(--primary-foreground); }
.btn-outline-light { border-color: rgba(251,247,242,.3); color: var(--primary-foreground); }
.btn-outline-light:hover { background: rgba(251,247,242,.1); }
.btn-outline-dark { border-color: var(--border); color: var(--foreground); background: var(--card); }
.btn-outline-dark:hover { background: var(--secondary); }

.btn-donate-top{
    white-space: nowrap;
}

/* Header / Nav */
.site-header {
  width: 100%;
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
}
.site-header.on-dark { color: var(--primary-foreground); }
.nav-inner {
  padding: 18px 40px;gap: 30px;
  display: flex; align-items: center; justify-content: space-between;
   max-width: 1200px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; }
.brand-mark {
  height: 36px; width: 36px; border-radius: 999px;
  background: var(--primary); color: var(--primary-foreground);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 1.1rem;
}
.brand-name { font-family: 'Fraunces', serif; font-size: 1.1rem; letter-spacing: -.01em; }
.nav-links { display: none; gap: 2rem; font-size: .9rem; }
.nav-links a { opacity: .9; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { text-decoration: underline; text-decoration-color: rgba(217,119,87,.6); text-underline-offset: 4px; font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.btn-donate-top {
  display: none; align-items: center; gap: .4rem;
  background: rgba(251,247,242,.95); color: var(--primary);
  padding: .6rem 1.2rem; border-radius: 999px; font-size: .875rem; font-weight: 500;
  box-shadow: var(--shadow-card); transition: background .2s;
}
.btn-donate-top:hover { background: #fff; }
.nav-toggle {
  height: 40px; width: 40px; border-radius: 999px;
  border: 1px solid rgba(251,247,242,.3); background: transparent;
  color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle:hover { background: rgba(251,247,242,.1); }
.site-header.on-light .nav-toggle { border-color: rgba(26,20,16,.2); }
.site-header.on-light .nav-toggle:hover { background: rgba(26,20,16,.05); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .btn-donate-top { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-drawer {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .3s ease, opacity .3s ease;
}
.mobile-drawer.open { max-height: 600px; opacity: 1; }
.mobile-drawer .panel {
  margin: 0 1.5rem 1rem; padding: 1rem;
  border-radius: 1.25rem; background: rgba(26,20,16,.92);
  border: 1px solid rgba(251,247,242,.15);
  backdrop-filter: blur(10px);
}
.mobile-drawer a {
  display: block; padding: .85rem 1rem; border-radius: .6rem;
  color: rgba(251,247,242,.92); font-size: 1rem;
}
.mobile-drawer a:hover, .mobile-drawer a.active { background: rgba(251,247,242,.08); color: #fff; }
.mobile-drawer .divider { height: 1px; background: rgba(251,247,242,.15); margin: .6rem 0; }
.mobile-drawer .btn-donate-mobile {
  display: flex; justify-content: center; align-items: center; gap: .4rem;
  background: var(--primary); color: var(--primary-foreground);
  padding: .85rem 1.25rem; border-radius: 999px; font-weight: 500; font-size: .9rem;
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero.short { min-height: 65svh; }
.hero-bg { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,.88), rgba(26,20,16,.42) 60%, rgba(26,20,16,.3));
}
.hero-overlay.warm {
  background: linear-gradient(135deg, rgba(184,98,58,.7), var(--ink) 60%, var(--ink));
}
.hero-inner { position: relative; padding: 10rem 1.5rem 5rem; max-width: 1200px; margin: 0 auto; width: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem 1rem; border-radius: 999px;
  background: rgba(251,247,242,.1); backdrop-filter: blur(8px);
  color: rgba(251,247,242,.9); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid rgba(251,247,242,.2);
}
.chip .dot { height: 6px; width: 6px; border-radius: 999px; background: var(--primary); display: inline-block; }
.hero h1 { font-family: 'Fraunces', serif; font-weight: 300; color: var(--primary-foreground);
  font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: .95; margin: 1.5rem 0 0; max-width: 55rem; }
.hero p.lead { color: rgba(251,247,242,.85); font-size: 1.1rem; max-width: 36rem; margin-top: 1.5rem; line-height: 1.6; }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.grain { position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 3px 3px; pointer-events: none; }

/* Cards / sections */
.card-soft {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-card); transition: transform .3s, box-shadow .3s;
}
.card-soft:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.icon-square {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; width: 48px; border-radius: 1rem;
  background: rgba(217,119,87,.12); color: var(--clay);
}
.icon-square svg { height: 22px; width: 22px; }

h2.display, h3.display { font-family: 'Fraunces', serif; font-weight: 300; letter-spacing: -.01em; }
h2.display { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; }
h3.display { font-size: clamp(1.5rem, 3vw, 2.2rem); }

.grid-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
.grid-cards-5 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-cards-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-cards-5 { grid-template-columns: repeat(3, 1fr); } }

/* Two-col split */
.split { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .split { grid-template-columns: 5fr 7fr; } }
.split.reverse > :nth-child(1) { order: 2; }
@media (min-width: 768px) { .split.reverse > :nth-child(1) { order: 0; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

/* Stats */
.stats-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
.stat { border-top: 1px solid var(--border); padding-top: 1.25rem; }
.stat .num { font-family: 'Fraunces', serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--clay); }
.stat .lbl { margin-top: .4rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted-fg); }

/* Dark section */
.section-dark { background: var(--ink); color: var(--primary-foreground); position: relative; overflow: hidden; }
.section-dark .eyebrow { color: rgba(217,119,87,.95); }
.section-dark .text-muted { color: rgba(251,247,242,.75); }

/* CTA banner */
.cta-banner {
  position: relative; border-radius: 2.5rem; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.cta-banner img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.cta-banner .overlay { position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,20,16,.92), rgba(26,20,16,.7) 60%, rgba(26,20,16,.3)); }
.cta-banner .inner { position: relative; padding: 4rem 2rem; max-width: 36rem; }
@media (min-width: 768px) { .cta-banner .inner { padding: 6rem 4rem; } }
.cta-banner h2 { color: var(--primary-foreground); }
.cta-banner p { color: rgba(251,247,242,.85); margin-top: 1.25rem; }

/* Accordion */
.accord {
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: rgba(255,255,255,.6); margin-bottom: .75rem; overflow: hidden;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.accord.open { background: var(--card); border-color: rgba(184,98,58,.4); box-shadow: var(--shadow-card); }
.accord-head {
  width: 100%; display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem; text-align: left; background: transparent; border: 0; cursor: pointer; color: inherit;
}
.accord-head .title { flex: 1; min-width: 0; }
.accord-head .title h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.35rem; margin: 0; }
.accord-head .title p { margin: .25rem 0 0; color: var(--muted-fg); font-size: .9rem; }
.accord-head .chev { transition: transform .3s; color: var(--clay); }
.accord.open .accord-head .chev { transform: rotate(180deg); }
.accord-body {
  display: none;
  padding: 0 1.5rem 2rem 5.25rem;
}
.accord.open .accord-body { display: block; animation: fadeup .35s ease both; }
.accord-body ul { list-style: none; padding: 0; margin: 0;
  display: grid; gap: .6rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .accord-body ul { grid-template-columns: repeat(2, 1fr); } }
.accord-body li { display: flex; gap: .75rem; color: var(--muted-fg); }
.accord-body li::before {
  content: ""; height: 6px; width: 6px; border-radius: 999px; background: var(--clay);
  margin-top: .55rem; flex-shrink: 0;
}
.quote-bar { border-left: 2px solid var(--clay); padding-left: 1.25rem; margin-top: 1.75rem;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 1.15rem; color: rgba(35,27,20,.8); }

/* Forms */
.form-field { display: block; }
.form-field > span { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-fg); }
.form-field input, .form-field textarea {
  width: 100%; margin-top: .5rem; padding: .85rem 1rem;
  background: var(--card); border: 1px solid var(--border); border-radius: .85rem;
  font: inherit; color: var(--foreground);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(184,98,58,.18); }
.form-field.invalid input, .form-field.invalid textarea { border-color: var(--destructive); box-shadow: 0 0 0 3px rgba(192,57,43,.15); }
.field-error { display: none; align-items: center; gap: .35rem; margin-top: .4rem; color: var(--destructive); font-size: .75rem; }
.form-field.invalid .field-error { display: inline-flex; }
.form-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Donate panel */
.donate-panel {
  background: var(--ink); color: var(--primary-foreground);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
}
@media (min-width: 768px) { .donate-panel { padding: 2.5rem; position: sticky; top: 6rem; } }
.bank-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(251,247,242,.05); border: 1px solid rgba(251,247,242,.1);
  padding: .75rem 1rem; border-radius: .85rem; margin-bottom: .5rem;
}
.bank-row dt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(251,247,242,.6); margin: 0; }
.bank-row dd { margin: .2rem 0 0; font-weight: 500; }
.copy-btn {
  height: 34px; width: 34px; border-radius: .55rem; background: rgba(251,247,242,.1);
  color: var(--primary-foreground); border: 0; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.copy-btn:hover { background: rgba(251,247,242,.2); }
.copy-btn.copied { color: var(--sage); }

/* Impact cards */
.impact-card { position: relative; overflow: hidden; }
.impact-card .glow {
  position: absolute; top: -64px; right: -64px; height: 180px; width: 180px;
  border-radius: 999px; filter: blur(40px); opacity: .65; transition: all .6s;
  background: radial-gradient(circle, rgba(184,98,58,.4), transparent 70%);
}
.impact-card:hover .glow { transform: scale(1.25); opacity: 1; }
.impact-card .emoji {
  display: inline-flex; align-items: center; justify-content: center;
  height: 60px; width: 60px; border-radius: 1rem; background: rgba(217,119,87,.12);
  font-size: 1.8rem;
}
.impact-card .num {
  font-family: 'Fraunces', serif; font-size: clamp(2.6rem, 5vw, 3.5rem);
  color: var(--clay); margin: 1.25rem 0 .25rem; line-height: 1;
}
.impact-card .lbl { font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.impact-card .qt { margin-top: 1.25rem; font-style: italic; color: var(--muted-fg); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: rgba(243,236,225,.5); }
.site-footer .inner { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.site-footer .links { display: flex; gap: 1.5rem; font-size: .875rem; }
.site-footer .links a { color: var(--muted-fg); }
.site-footer .links a:hover { color: var(--foreground); }

/* Animations */
@keyframes fadeup {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeup { animation: fadeup .8s ease both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .36s; }

/* SVG icon helper */
.icon { width: 1em; height: 1em; vertical-align: -2px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* Scroll-to-top button */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fg, #1a1a1a);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  z-index: 999;
}
#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#scroll-top:hover {
  background: #D97757; /* your brand orange */
}
#scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-link2 {
    white-space: nowrap;
}