:root {
  --primary: #4b1f66;
  --primary-dark: #37154a;
  --primary-light: #6b3d88;
  --accent: #e8c84a;
  --accent-soft: #f3d66b;
  --dark: #16141a;
  --muted: #5c5668;
  --bg: #f4f5f8;
  --bg-elevated: #ffffff;
  --border: #e6e3ee;
  --shadow: 0 4px 24px rgba(27, 22, 40, 0.08);
  --shadow-sm: 0 2px 12px rgba(27, 22, 40, 0.06);
  --radius: 12px;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ——— Header ——— */
.site-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: #fff;
  padding: 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  width: min(var(--max), 94%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 12px;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(100%, 420px);
}

.brand h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.brand p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  line-height: 1.35;
}

.logo-frame {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.35);
  background: #fff;
  flex-shrink: 0;
}

.site-logo {
  width: 100%;
  height: 100%;
  display: block;
}

.zoomed-logo {
  object-fit: cover;
  transform: scale(1.35);
  transform-origin: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}

.top-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.top-nav a:hover,
.top-nav a.active {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .top-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
  }

  .top-nav.nav-open {
    display: flex;
  }

  .top-nav a {
    padding: 12px 14px;
    border-radius: 8px;
  }
}

/* ——— Layout ——— */
.page {
  width: min(var(--max), 94%);
  margin: 24px auto 40px;
}

.no-scroll-page {
  min-height: calc(100vh - 320px);
}

/* ——— Hero ——— */
.hero-panel {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.35) 100%), url('images/banner.jpeg');
  background-size: cover;
  background-position: center left;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.hero-panel h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--dark);
  max-width: 18ch;
}

.hero-panel > p.lead {
  margin: 0 0 20px;
  max-width: 52ch;
  font-size: 1.05rem;
  color: #3a3545;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(75, 31, 102, 0.35);
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn.secondary {
  background: var(--accent-soft);
  color: var(--dark);
  box-shadow: 0 2px 10px rgba(232, 200, 74, 0.35);
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.btn.ghost:hover {
  background: rgba(75, 31, 102, 0.06);
}

/* ——— Sections ——— */
.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.section-block {
  margin-bottom: 40px;
}

.hero-image {
  margin-bottom: 40px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--primary);
  line-height: 1.2;
}

.stat-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: #dcd6e8;
}

.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary);
}

.card p:last-child {
  margin-bottom: 0;
}

.card p {
  margin: 0 0 10px;
  color: #2f2a3d;
  font-size: 0.95rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  background: #efe8f5;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}

/* ——— Inner pages ——— */
.inner-page {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
}

.inner-page > h2:first-of-type {
  margin-top: 0;
}

.inner-page h2 {
  margin: 24px 0 12px;
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.55rem;
}

.inner-page h3 {
  margin: 20px 0 8px;
  font-size: 1.1rem;
  color: var(--dark);
}

.inner-page p,
.inner-page li {
  color: #2f2a3d;
}

.inner-page ul {
  padding-left: 1.2rem;
}

.inner-page li {
  margin-bottom: 6px;
}

.inner-page a {
  color: var(--primary);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.inner-page a:hover {
  color: var(--primary-dark);
}

.donate-panel a {
  color: var(--accent-soft);
  font-weight: 600;
  text-decoration: none;
}

.donate-panel a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-lead {
  font-size: 1.08rem;
  color: #3a3545;
  max-width: 65ch;
}

.two-col {
  columns: 2;
  column-gap: 28px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
  border: none;
}

/* ——— Team ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.team-card:hover {
  box-shadow: var(--shadow);
}

.team-photo {
  margin: 0;
  aspect-ratio: 6 / 7;
  overflow: hidden;
  background: #ece8f1;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-body {
  padding: 20px;
}

.team-body h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--primary);
}

.team-role {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-body p {
  margin: 0;
  font-size: 0.92rem;
  color: #3a3545;
}

.team-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 20px;
  padding: 14px 16px;
  background: #f7f5fa;
  border-radius: 8px;
  border: 1px dashed var(--border);
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.contact-card {
  background: #f7f5fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.contact-card strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card p {
  margin: 0;
}

/* ——— FAQ ——— */
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 1rem;
}

/* ——— Gallery placeholder grid ——— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.gallery-cell {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8e0f2, #f5f2fa);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
}

/* ——— Donate ——— */
.donate-panel {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 16px;
}

.donate-panel p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 16px;
  max-width: 55ch;
}

.donate-panel .btn.secondary {
  color: var(--dark);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  margin-top: auto;
  padding: 36px 0 24px;
}

.footer-inner {
  width: min(var(--max), 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 8px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-soft);
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--accent-soft);
}

.footer-bottom {
  width: min(var(--max), 94%);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
}

@media (max-width: 900px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .grid-4,
  .team-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    columns: 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}
