:root {
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --text: #222222;
  --muted: #666666;
  --accent: #0d47a1;
  --accent-soft: #e3edff;
  --accent-dark: #062859;
  --border: #dde1ee;
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.06);
  --radius-lg: 16px;
  --radius-sm: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */

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

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.nav-brand a {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-dark);
  font-size: 0.9rem;
}

.nav-brand span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: none;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero */

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  color: var(--accent-dark);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-image-wrap {
  background: var(--bg-alt);
  padding: 0.6rem;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.hero-image {
  border-radius: 20px;
  width: 100%;
  height: auto;
  display: block;
}

.hero-caption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding: 2.5rem 0;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 0.3rem;
  color: var(--accent-dark);
}

.section-lead {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Cards & grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--accent-dark);
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Impact photos */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.impact-photo {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

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

.impact-photo-body {
  padding: 0.8rem 1rem 1rem;
}

.impact-photo-body h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  color: var(--accent-dark);
}

.impact-photo-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Simple lists */

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.8rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Forms */

.form {
  max-width: 520px;
}

.form-row {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-family: inherit;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* Footer */

.site-footer {
  margin-top: auto;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--accent-dark);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Utility */

.text-center {
  text-align: center;
}

.muted {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 768px) {
  .hero {
    padding-top: 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 1.5rem 1rem;
    gap: 0.6rem;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}
