:root {
  --bg: #fbfaf6;
  --bg-alt: #f2efe4;
  --dark: #303d38;
  --dark-soft: #3a4a42;
  --green: #1e8449;
  --green-hover: #176b3a;
  --green-bright: #3fbe7a;
  --green-tint: #e8f5ee;
  --cream: #e1dfc5;
  --text: #1c231f;
  --text-soft: #5b665e;
  --border: rgba(28, 35, 31, 0.08);
  --border-dark: rgba(225, 223, 197, 0.14);
  --shadow-sm: 0 1px 2px rgba(20, 26, 22, 0.04);
  --shadow-md: 0 12px 32px rgba(20, 26, 22, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 26, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

a {
  color: var(--green);
}

img {
  max-width: 100%;
  display: block;
}

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

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
header {
  background: rgba(251, 250, 246, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 20;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 34px;
}

.brand strong {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--dark);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

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

nav a.nav-cta {
  background: var(--green);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

nav a.nav-cta:hover {
  background: var(--green-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: var(--dark);
  cursor: pointer;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hero */
.hero {
  background: radial-gradient(120% 140% at 15% -10%, #435a4f 0%, var(--dark) 55%, #24302a 100%);
  color: var(--cream);
  padding: 120px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(63, 190, 122, 0.14);
  border: 1px solid rgba(63, 190, 122, 0.35);
  color: var(--green-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin: 0 0 20px;
  color: #fff;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero p.lead {
  max-width: 580px;
  margin: 0 auto 40px;
  color: var(--cream);
  opacity: 0.82;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: 46%;
  max-width: 620px;
  min-width: 320px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .hero-watermark {
    width: 80%;
    right: -20%;
    opacity: 0.05;
  }
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 44px;
  border-top: 1px solid rgba(225, 223, 197, 0.16);
  max-width: 640px;
  margin: 0 auto;
}

.stat-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--cream);
  opacity: 0.75;
  margin-top: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border: 1px solid var(--green);
  border-radius: 999px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 132, 73, 0.28);
}

.btn-primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 132, 73, 0.34);
}

.btn-ghost {
  border-color: rgba(225, 223, 197, 0.4);
  color: var(--cream);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(225, 223, 197, 0.08);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 96px 24px;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 20px;
  color: var(--dark);
}

.section-intro {
  max-width: 620px;
}

.section-intro p {
  color: var(--text-soft);
  font-size: 1.02rem;
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--dark);
}

.card p {
  color: var(--text-soft);
  margin: 0;
  font-size: 0.95rem;
}

.card a {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--green);
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--green);
}

.icon-circle svg {
  width: 22px;
  height: 22px;
}

/* Topic list (area sections) */
.topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.topic-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.topic-list .icon-circle {
  margin-bottom: 0;
  flex-shrink: 0;
}

.topic-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: var(--dark);
}

.topic-list span {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.area-block {
  margin-bottom: 52px;
}

.area-block:last-child {
  margin-bottom: 0;
}

.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.area-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--dark) 0%, #263229 100%);
  color: var(--cream);
}

.cta-band h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  margin-bottom: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item .icon-circle {
  background: rgba(63, 190, 122, 0.14);
  color: var(--green-bright);
  margin-bottom: 0;
}

.contact-item div span {
  display: block;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  opacity: 0.6;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item div {
  color: var(--cream);
}

.contact-item a {
  text-decoration: none;
  font-weight: 600;
}

.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
  max-width: 640px;
}

.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  object-fit: cover;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  overflow: hidden;
}

.team-photo svg {
  width: 34px;
  height: 34px;
}

.team-name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.05rem;
}

.team-role {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-top: 2px;
}

.team-oab {
  display: inline-block;
  margin-top: 12px;
  background: var(--green-tint);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
}

/* Blog / page header */
.hero-compact {
  padding: 84px 24px 72px;
}

.blog-empty {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 56px 32px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.blog-empty .icon-circle {
  margin: 0 auto 20px;
  width: 56px;
  height: 56px;
}

.blog-empty .icon-circle svg {
  width: 26px;
  height: 26px;
}

.blog-empty h3 {
  color: var(--dark);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.blog-empty p {
  color: var(--text-soft);
  margin: 0;
}

/* Footer */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
  padding: 36px 24px;
  color: var(--cream);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer-brand img {
  width: 24px;
}

.footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-sitemap a {
  color: var(--cream);
  opacity: 0.75;
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-sitemap a:hover {
  opacity: 1;
  color: var(--green-bright);
}

.footer-bottom {
  padding-top: 20px;
  opacity: 0.65;
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav#site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav#site-nav.open {
    max-height: 420px;
  }

  nav#site-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }

  nav#site-nav a.nav-cta {
    margin: 16px 24px;
    text-align: center;
    border-bottom: none;
  }

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

  .hero {
    padding: 90px 20px 64px;
  }

  section {
    padding: 64px 20px;
  }

  .stats-row {
    gap: 32px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
