:root {
  --navy: #0a1628;
  --navy-mid: #1a2d4a;
  --navy-light: #2a4066;
  --gold: #c9a227;
  --gold-light: #e8c84a;
  --gold-dark: #9a7b1a;
  --cream: #faf8f3;
  --white: #ffffff;
  --text: #2c3e50;
  --text-muted: #5a6a7a;
  --border: #e2ddd2;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.1);
  --radius: 8px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-link img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.25rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius);
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--navy);
  color: var(--gold-light);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-content h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-logo {
  width: 240px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--white);
}

/* Sections */
section { padding: 4.5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.15);
}

.card-body { padding: 1.75rem; }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p { color: var(--text-muted); font-size: 0.95rem; }

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-img-tall { height: 220px; }

/* Charity gallery & impact imagery */
.impact-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.88));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-item.span-7 { grid-column: span 7; height: 360px; }
.gallery-item.span-5 { grid-column: span 5; height: 360px; }
.gallery-item.span-4 { grid-column: span 4; height: 260px; }

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--gold);
}

.feature-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.page-header.has-image {
  position: relative;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
}

.page-header.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.88), rgba(26, 45, 74, 0.78));
}

.page-header.has-image .container {
  position: relative;
  z-index: 1;
}

.prose .inline-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.prose .inline-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.prose .inline-image figcaption {
  padding: 0.75rem 1rem;
  background: var(--white);
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 2px solid var(--gold);
}

.blog-card .card-img { height: 180px; }

.blog-post-featured {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.blog-post-featured img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.donate-banner {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.donate-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .gallery-item.span-7,
  .gallery-item.span-5,
  .gallery-item.span-4 {
    grid-column: span 12;
    height: 240px;
  }
  .split-feature { grid-template-columns: 1fr; }
  .feature-image img { height: 280px; }
  .blog-post-featured img { height: 260px; }
}

.stats-bar {
  background: var(--navy);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item .number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
}

.stat-item .label {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Page header */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* Content */
.content-section { padding: 4rem 0; }

.content-narrow { max-width: 800px; margin: 0 auto; }

.prose h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.prose h3 { margin: 1.5rem 0 0.75rem; font-size: 1.2rem; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card .card-meta {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card .read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.blog-post-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.blog-post-header .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Leadership */
.leader-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.leader-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
  border: 3px solid var(--gold);
}

.leader-info h3 { margin-bottom: 0.25rem; }
.leader-info .title { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.75rem; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Donate tiers */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.tier-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s;
}

.tier-card.featured {
  border-color: var(--gold);
  position: relative;
}

.tier-card.featured::before {
  content: "Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
}

.tier-card .amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--navy);
  margin: 0.5rem 0;
}

.tier-card .amount span { font-size: 1rem; color: var(--text-muted); }

/* Membership */
.benefits-list {
  list-style: none;
  margin: 0;
}

.benefits-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.benefits-list li::before {
  content: "♪";
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Info box */
.info-box {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.info-box.warning {
  border-left-color: var(--navy);
  background: #f0f4f8;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  width: 72px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  padding: 3rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--navy-mid);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-logo { width: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--gold);
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; }

  .main-nav a { padding: 0.75rem 1rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .leader-card { flex-direction: column; align-items: center; text-align: center; }
}
