:root {
  --bg: #f7f9fc;
  --bg-soft: #eef5ff;
  --surface: #ffffff;
  --ink: #102a43;
  --muted: #486581;
  --line: #d9e2ec;
  --brand: #0f766e;
  --brand-strong: #115e59;
  --accent: #f59e0b;
  --shadow: 0 18px 44px -30px rgba(16, 42, 67, 0.45);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

h1,
h2,
h3 {
  color: var(--ink);
  margin-top: 0;
  line-height: 1.25;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

a {
  color: var(--brand-strong);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 9% 8%, rgba(15, 118, 110, 0.15), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(245, 158, 11, 0.18), transparent 31%),
    linear-gradient(145deg, var(--bg), var(--bg-soft));
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 226, 236, 0.8);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

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

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

.hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4.5rem 0 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--brand-strong);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  max-width: 64ch;
  font-size: 1.04rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 24px -20px rgba(17, 94, 89, 0.75);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #ffffff;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.meta-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: min(360px, 90%);
  border-radius: 26px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  box-shadow: var(--shadow);
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem auto 0;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.stat-card h2 {
  margin: 0;
  font-size: 1.65rem;
  color: var(--brand-strong);
}

.stat-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  margin: 4rem auto 0;
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.about-grid,
.list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.panel p:last-child,
.panel ul:last-child {
  margin-bottom: 0;
}

.panel-highlight {
  background: linear-gradient(140deg, #ffffff 35%, #f0fdf9 100%);
}

.panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.impact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.impact-card h3 {
  margin-bottom: 0.5rem;
}

.impact-card p {
  color: var(--muted);
}

.impact-result {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 0.85rem;
}

.timeline-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.1rem;
  align-items: start;
  box-shadow: var(--shadow);
}

.timeline-date {
  font-weight: 700;
  color: var(--brand-strong);
}

.timeline-item h3 {
  margin-bottom: 0.35rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

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

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.project-card > div {
  padding: 1rem;
}

.project-card h3 {
  font-size: 1.14rem;
  margin-bottom: 0.4rem;
}

.project-card p {
  color: var(--muted);
  margin-top: 0;
}

.project-card a {
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-strong);
}

.project-card a:hover {
  text-decoration: underline;
}

.contact {
  margin-bottom: 3.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-grid a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  padding: 0.9rem 1rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.contact-grid a i {
  color: var(--brand-strong);
  margin-right: 0.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.site-footer p {
  margin: 0;
  padding: 1.4rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }

  .hero-photo-wrap {
    justify-content: flex-start;
  }

  .about-grid,
  .list-grid,
  .impact-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 0.8rem;
  }
}

@media (max-width: 640px) {
  .projects-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    padding: 0.65rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    position: static;
  }
}
