:root {
  --cream: #f4f4ea;
  --cream-2: #e9ecdf;
  --forest: #1f352b;
  --forest-soft: #2c4638;
  --muted: #507867;
  --green: #7fac54;
  --teal: #449faf;
  --line: #d8dccb;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(31, 53, 43, 0.10);
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--forest);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

code {
  background: rgba(80, 120, 103, 0.14);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.eyebrow {
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(2rem, calc((100vw - 1080px) / 2));
  height: 72px;
  background: rgba(244, 244, 234, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 244, 234, 0.96);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest);
  text-decoration: none;
}

.nav-logo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--green), var(--forest));
  box-shadow: inset 0 0 0 4px var(--forest);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(31, 53, 43, 0.25);
}

.btn-primary:hover {
  background: var(--forest-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}

.btn-ghost:hover {
  background: rgba(31, 53, 43, 0.06);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(244, 244, 234, 0.55) 0%,
    rgba(244, 244, 234, 0.85) 55%,
    var(--cream) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 120px max(2rem, calc((100vw - 1080px) / 2)) 80px;
}

.hero-eyebrow {
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-title span {
  color: var(--green);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 24px;
  height: 38px;
  border: 2px solid var(--muted);
  border-radius: 14px;
  z-index: 2;
}

.hero-scroll::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--muted);
  animation: scroll-dot 1.6s infinite;
}

@keyframes scroll-dot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-art {
  position: relative;
}

.network-canvas {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--cream-2);
  box-shadow: var(--shadow);
}

.about-copy h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 18px;
}

.about-copy > p {
  color: var(--muted);
  margin-bottom: 20px;
}

.about-points {
  list-style: none;
  margin-top: 8px;
}

.about-points li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--forest);
  font-weight: 500;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Team */
.team {
  background: var(--cream-2);
  border-block: 1px solid var(--line);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.member-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.member-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--cream);
}

.member-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.member-role {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.member-bio {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Contact */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 56px 40px;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-soft);
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--forest);
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(127, 172, 84, 0.18);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 4px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 600;
  min-height: 1.4em;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--cream);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--teal);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: var(--cream);
    padding: 16px 24px 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-card {
    padding: 40px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
