:root {
  --bg-light: #F4E9D4;
  --bg-muted: #E7D5B5;
  --text-primary: #3E2E1F;
  --text-secondary: #5C4A36;
  --accent-primary: #7F6240;
  --accent-primary-dark: #5E462C;
  --accent-gold: #CBA968;
  --accent-gold-dark: #A98645;
  --highlight: #FFF6E5;
  --olive: #A6A089;
  --deep-bg: #2C1F12;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 6px 14px rgba(62, 46, 31, 0.15);
  --shadow-md: 0 12px 30px rgba(62, 46, 31, 0.18);
  --shadow-lg: 0 24px 60px rgba(44, 31, 18, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-primary);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-primary); text-decoration: none; }
a:hover { color: var(--accent-primary-dark); }

.container { width: min(1100px, 92%); margin: 0 auto; }
.section { padding: 72px 0; }
.section-alt { background: linear-gradient(180deg, rgba(231,213,181,0.35), rgba(231,213,181,0.15)); }
.section-header { text-align: center; margin-bottom: 28px; }
.section h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin: 0 0 10px; }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 1000; }
.skip-link:focus { left: 8px; box-shadow: var(--shadow-sm); border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(6px);
  background: rgba(44,31,18,0.9);
  border-bottom: 1px solid rgba(203,169,104,0.45);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: #f7f0e3; }
.brand-logo { filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.brand-name { letter-spacing: 0.6px; font-size: 1.2rem; }
.site-nav ul { display: flex; list-style: none; gap: 18px; padding: 0; margin: 0; }
.site-nav a { color: #f7f0e3; padding: 8px 10px; border-radius: 8px; }
.site-nav a:hover { background: rgba(203,169,104,0.22); color: #fff; }
.header-donate { display: none; }
@media (min-width: 840px){ .header-donate { display: inline-flex; } }
.header-donate.btn-donate { border: 2px solid rgba(255,255,255,0.7); box-shadow: 0 12px 34px rgba(203,169,104,.55), inset 0 0 0 1px rgba(255,255,255,0.5); }

/* Hero with parallax */
.hero { position: relative; min-height: 70vh; display: grid; place-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(44,31,18,0.55), rgba(44,31,18,0.35)),
  url('../photos/PA294556-signed.JPG') center/cover no-repeat; transform: translateZ(0); will-change: transform; }
.hero-content { position: relative; color: #fff; text-align: center; padding: 100px 0 80px; }
.overline { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-primary); background: rgba(255,246,229,0.92); padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(203,169,104,.6); box-shadow: var(--shadow-sm); }
.leaf { filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.hero h1 { text-transform: uppercase; letter-spacing: .6px; font-size: clamp(2.4rem, 2rem + 2.2vw, 3.6rem); margin: 14px 0 10px; }
.hero p { margin: 10px auto 24px; max-width: 740px; color: #fff; opacity: .98; }
.hero-ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Divider */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: rgba(62,46,31,0.15); }
.divider img { width: 22px; height: 22px; opacity: .9; }

/* Utils */
.text-center { text-align: center; }

/* Cards, grid */
.grid-2 { display: grid; gap: 22px; align-items: start; }
@media (min-width: 860px){ .grid-2 { grid-template-columns: 1.2fr 1fr; gap: 28px; } }
.card { background: #fff; border: 1px solid rgba(62,46,31,0.08); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.card-title { margin: 0 0 8px; font-size: 1.2rem; color: var(--text-secondary); }
.highlight { background: linear-gradient(180deg, #FFF6E5, #fff); border-color: rgba(203,169,104,0.35); }

/* Issues */
.issue { display: grid; gap: 18px; }
.issue .meta { display: flex; gap: 14px; padding: 0; margin: 8px 0; list-style: none; color: var(--text-secondary); font-size: .95rem; }
.issue .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.issue-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.featured { grid-template-columns: 1fr; align-items: center; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-md); border: 1px solid rgba(62,46,31,0.08); }
@media (min-width: 900px){ .featured { grid-template-columns: 1.1fr 1fr; padding: 24px; } }
.vibrant { background: linear-gradient(180deg, rgba(255,246,229,0.9), #fff); border: 1px solid rgba(203,169,104,0.6); box-shadow: 0 18px 40px rgba(203,169,104,0.25); }
.issue-title { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.8rem); line-height: 1.1; letter-spacing: .4px; color: var(--text-primary); margin: 6px 0 8px; }
.issues-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 22px; }

/* Orgs */
.orgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.org-media { display: grid; place-items: center; background: #fff; border-radius: var(--radius-sm); border: 1px solid rgba(62,46,31,0.08); padding: 10px; }
.org-media img { max-height: 62px; width: auto; }
.org-body h3 { margin: 10px 0 6px; }
.org-dark { background: var(--deep-bg); border-color: rgba(255,255,255,0.08); }

/* Donate banner */
.donate { position: relative; background:
  radial-gradient(1200px 400px at 50% -10%, rgba(203,169,104,0.35), transparent 60%),
  linear-gradient(180deg, rgba(231,213,181,0.45), rgba(231,213,181,0.2));
}
.don-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; justify-content: center; }

/* Buttons */
.btn { --btn-bg: #fff; --btn-fg: var(--text-primary);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px; border-radius: 999px; font-weight: 500; border: 1px solid transparent;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(62,46,31,0.18); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-primary { background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark)); color: #2c1f12; border-color: rgba(167,134,69,.45); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--accent-primary); border-color: rgba(62,46,31,0.15); }
.btn-ghost:hover { background: rgba(203,169,104,0.15); color: var(--text-primary); }
.btn-donate { background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark)); color: #2c1f12; border: none; position: relative; overflow: hidden; }
.btn-outline { background: #fff; color: var(--accent-primary); border: 2px solid var(--accent-gold); }
.btn-xl { padding: 14px 22px; font-size: 1.05rem; }

/* Pop + pulse animation */
.btn-pop { animation: popIn .8s cubic-bezier(.2,.7,.2,1) .2s both; }
@keyframes popIn { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.btn-pulse { animation: pulseGlow 1.8s ease-in-out infinite; }
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 10px 26px rgba(203,169,104,0.45), inset 0 0 0 1px rgba(255,255,255,0.5); }
  50% { box-shadow: 0 14px 34px rgba(203,169,104,0.65), inset 0 0 0 2px rgba(255,255,255,0.65); }
}
.btn-donate::after {
  content: ""; position: absolute; inset: -2px; border-radius: 999px;
  background: radial-gradient(120px 40px at var(--mx, 30%) -10%, rgba(255,255,255,.45), transparent 40%);
  transition: opacity .2s ease;
}
.btn-donate:hover::after { opacity: .9; }
.btn-donate { box-shadow: 0 10px 30px rgba(203,169,104,0.45), inset 0 0 0 1px rgba(255,255,255,0.5); }

/* Bullets */
.bullets { line-height: 1.7; }
.bullets li { margin-bottom: 4px; }

/* Footer */
.site-footer { background: var(--deep-bg); color: #f7f0e3; padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: inline-flex; gap: 8px; align-items: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(10px); will-change: transform, opacity; }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

/* Accessibility tweaks */
:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; border-radius: 6px; }
