:root {
  --green-dark: #0b3d24;
  --green: #177a44;
  --green-bright: #2ea862;
  --maize: #ffcb05;
  --blue-dark: #00274c;
  --ink: #1a1f1c;
  --ink-soft: #4a534d;
  --paper: #ffffff;
  --paper-alt: #f4f8f5;
  --border: #e1e8e3;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 61, 36, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--border);
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--green); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  color: var(--blue-dark) !important;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-dark);
  margin: 0 auto;
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.09) 1.5px, transparent 0) 0 0/28px 28px,
    linear-gradient(160deg, var(--green-dark) 0%, var(--green) 55%, var(--green-bright) 100%);
  color: white;
  padding: 88px 0 72px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-copy { max-width: 640px; min-width: 0; }

.hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 50%;
  background: white;
  padding: 10px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28), 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-cue span {
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: translateY(-2px) rotate(45deg);
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(-2px) rotate(45deg); }
  50% { transform: translateY(2px) rotate(45deg); }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--maize);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--maize);
  color: var(--blue-dark);
  box-shadow: 0 8px 20px rgba(255, 203, 5, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Stats */
.stats {
  background: var(--blue-dark);
  color: white;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--maize);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--paper-alt);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--green-dark);
}

.section-lead {
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 40px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-copy p { margin-bottom: 18px; color: var(--ink-soft); }

.mission-quote {
  margin: 24px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--green);
  background: var(--paper-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
  font-size: 1.02rem;
}

.about-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  color: var(--green-dark);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.detail-list div:last-child { border-bottom: none; }

.detail-list dt {
  color: var(--ink-soft);
  font-weight: 600;
  flex: 0 0 40%;
}

.detail-list dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
}

/* Table */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.styled-table th, .styled-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.92rem;
}

.styled-table thead th {
  background: var(--green-dark);
  color: white;
  font-weight: 700;
}

.styled-table tbody tr:nth-child(even) { background: var(--paper-alt); }

.styled-table tbody td:first-child {
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}

/* Condition cards */
.condition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.condition-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
}

.condition-card h4 { font-size: 1rem; margin-bottom: 8px; }
.condition-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.condition-good { border-top: 4px solid var(--green-bright); }
.condition-fair { border-top: 4px solid var(--maize); }
.condition-poor { border-top: 4px solid #c94f4f; }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 3px solid var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -47px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item-bridge .timeline-marker {
  background: var(--paper-alt);
  color: var(--ink-soft);
  border: 2px solid var(--border);
}

.timeline-period {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  margin-bottom: 6px;
}

.timeline-item-bridge .timeline-period { color: var(--ink-soft); }

.timeline-content h3 { font-size: 1.15rem; color: var(--ink); }
.timeline-content p { margin: 0; color: var(--ink-soft); max-width: 640px; }

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

.involved-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.involved-card h3 { color: var(--green-dark); }
.involved-card p { color: var(--ink-soft); flex-grow: 1; margin-bottom: 20px; }

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

.team-card {
  text-align: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--maize);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card h3 { margin-bottom: 4px; }
.team-role { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

.roles-note {
  background: var(--paper-alt);
  border-radius: var(--radius);
  padding: 22px 28px;
}

.roles-note p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-card p { margin: 0 0 12px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { color: var(--green); font-weight: 700; text-decoration: none; }

/* Google Form embed */
.gform-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.gform-frame {
  width: 100%;
  height: 900px;
  border: none;
  display: block;
}

.gform-fallback {
  margin: 10px 4px 4px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

.gform-fallback a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 32px 0;
  text-align: center;
}

.footer-inner p { margin: 4px 0; font-size: 0.9rem; }
.footer-tagline { color: var(--maize); font-weight: 600; }

/* Responsive */
@media (max-width: 860px) {
  .about-grid, .involved-grid, .team-grid, .condition-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy { max-width: 100%; }
  .hero-visual { order: -1; }
  .hero-logo { max-width: 160px; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 420px) {
  .logo-text { display: none; }
  .nav-cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
}
