:root {
  --brand: #1F8B3A;
  --brand-dark: #0E5524;
  --bg: #FFFFFF;
  --text: #1A2A1F;
  --muted: #5B6B61;
  --line: #E6ECE8;
  --card-bg: #F4F8F5;
  --max: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

em { font-style: italic; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand { display: inline-flex; align-items: center; }
.nav-brand img { display: block; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: url("assets/banner.jpg") center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.hero-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) 24px;
  color: #FFFFFF;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 16em;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 22px);
  margin: 0;
  max-width: 38em;
  color: rgba(255, 255, 255, 0.92);
}

/* Sections */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-alt { background: var(--card-bg); }
.section h2 {
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 28px;
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  max-width: 50em;
  margin: 0;
  color: var(--text);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}
.section-alt .card { background: var(--bg); }
.card h3 {
  font-weight: 700;
  font-size: 22px;
  color: var(--brand-dark);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.card p { margin: 0; color: var(--text); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.portrait {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 38%, #DCEEE2, #BFE0CA);
}
.team-card h3 {
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 4px;
}
.role {
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 12px;
  font-size: 15px;
}
.bio { color: var(--text); margin: 0 0 12px; }
.bio a,
.team-links a,
.backed-by a,
.footer a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.bio a:hover,
.team-links a:hover,
.backed-by a:hover,
.footer a:hover { color: var(--brand-dark); }
.highlight {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}
.team-links {
  margin: 0;
  margin-top: auto;
  padding-top: 16px;
  font-size: 15px;
}
.team-link-soon { color: var(--text); }
.muted-note { color: var(--muted); }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Backed-by strip */
.backed-by {
  background: var(--card-bg);
  padding: 24px;
  text-align: center;
}
.backed-by p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Buttons (if any) */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: background 200ms ease;
}
.btn:hover { background: var(--brand-dark); color: #FFFFFF; }

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding-top: 12px;
  }
  .nav-inner { flex-wrap: wrap; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 0; }

  .cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .portrait { width: 128px; height: 128px; }
  .hero { min-height: 60vh; }
}
