:root {
  --bg: #eef4ef;
  --bg-2: #e1efe7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #17211e;
  --muted: #4f615a;
  --brand: #0f3d32;
  --brand-2: #2f7d5d;
  --accent: #94c93d;
  --border: rgba(15, 61, 50, 0.12);
  --shadow: 0 22px 60px rgba(17, 42, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(148, 201, 61, 0.24), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(47, 125, 93, 0.18), transparent 24%),
    radial-gradient(circle at 82% 82%, rgba(15, 61, 50, 0.12), transparent 30%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0 1rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 61, 50, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.site-nav a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--brand-2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.brand-mark {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--brand-2));
  box-shadow: 0 0 0 6px rgba(148, 201, 61, 0.15);
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #1f5f4a 100%);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(15, 61, 50, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.login-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 16px 30px rgba(15, 61, 50, 0.24);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
  padding-top: 1rem;
}

.hero-copy,
.hero-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 61, 50, 0.12);
  color: var(--brand-2);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--brand);
}

.hero-copy > p {
  margin: 1.2rem 0 0;
  max-width: 56ch;
  font-size: clamp(1rem, 1.65vw, 1.15rem);
  line-height: 1.72;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand) 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(47, 125, 93, 0.24);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 61, 50, 0.12);
}

.metrics {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.metrics article {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 61, 50, 0.1);
  border-radius: 20px;
  padding: 1rem;
}

.metrics strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brand);
  font-size: 1.05rem;
}

.metrics span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  background:
    linear-gradient(165deg, rgba(14, 58, 47, 0.98) 0%, rgba(31, 95, 74, 0.96) 100%);
  color: #eef8f4;
}

.content-section {
  margin-top: 1.25rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 60rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 61, 50, 0.12);
  color: var(--brand-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--brand);
}

.about-grid,
.projects-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.people-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
}

.people-header h3 {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--brand);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.projects-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.content-card,
.project-card {
  border-radius: 24px;
  border: 1px solid rgba(15, 61, 50, 0.12);
  background: rgba(255, 255, 255, 0.88);
  padding: 1.25rem;
}

.person-card {
  border-radius: 24px;
  border: 1px solid rgba(15, 61, 50, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 241, 0.92));
  padding: 1.25rem;
}

.person-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.person-top h3 {
  margin: 0.2rem 0 0;
  font-size: 1.18rem;
  line-height: 1.15;
  color: var(--brand);
}

.person-role {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 61, 50, 0.08);
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.person-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 61, 50, 0.08);
  color: var(--brand);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.person-badge:hover {
  background: rgba(15, 61, 50, 0.12);
}

.person-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.person-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--brand-2);
  font-weight: 700;
  text-decoration: none;
}

.person-link:hover {
  text-decoration: underline;
}

.content-card h3,
.project-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--brand);
}

.content-card p,
.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-featured {
  background: linear-gradient(180deg, rgba(236, 246, 241, 0.95), rgba(255, 255, 255, 0.9));
}

.project-meta {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(15, 61, 50, 0.08);
  color: var(--brand-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--brand-2);
  font-weight: 700;
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.9;
}

.orb-a {
  width: 240px;
  height: 240px;
  top: -80px;
  right: -70px;
  background: radial-gradient(circle, rgba(148, 201, 61, 0.72) 0%, rgba(148, 201, 61, 0) 72%);
}

.orb-b {
  width: 210px;
  height: 210px;
  left: -70px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(196, 232, 140, 0.38) 0%, rgba(196, 232, 140, 0) 72%);
}

.card-content {
  position: relative;
  z-index: 1;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dff4eb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 1rem 0 0.8rem;
  max-width: 14ch;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-card p {
  margin: 0;
  max-width: 34ch;
  color: rgba(239, 249, 244, 0.88);
  line-height: 1.7;
}

.card-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.card-list > div {
  padding: 1rem 1rem 0.95rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.list-title {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
  color: #ffffff;
}

.list-text {
  color: rgba(239, 249, 244, 0.84);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .hero-card h2 {
    max-width: none;
  }

  .about-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-copy {
    padding: 1.3rem;
  }

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

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .secondary-btn,
  .login-link {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .people-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
