:root {
  color-scheme: light;
  --ink: #14211d;
  --muted: #5a6862;
  --soft: #eef2ef;
  --line: #d9e1dc;
  --paper: #fbfcfa;
  --green: #1f6b4c;
  --green-dark: #123f31;
  --amber: #b56a18;
  --sky: #50778f;
  --shadow: 0 22px 60px rgba(16, 35, 29, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(31, 107, 76, 0.1), transparent 36%),
    linear-gradient(220deg, rgba(80, 119, 143, 0.16), transparent 34%),
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand,
.nav-links,
.hero-actions,
.card-footer,
.map-item,
.panel-topline {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(20, 33, 29, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--green-dark);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  min-height: calc(86svh - 78px);
  padding: 18px 0 48px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.project-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 740;
  text-decoration: none;
}

.button.primary {
  background: var(--green-dark);
  color: #ffffff;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--green-dark);
}

.button:hover,
.project-card a:hover {
  transform: translateY(-1px);
}

.status-panel {
  border: 1px solid rgba(20, 33, 29, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-topline {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.map-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.map-item {
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 15px;
  text-decoration: none;
}

.map-item.active {
  border-color: rgba(31, 107, 76, 0.34);
}

.map-item.muted {
  color: var(--muted);
}

.map-item strong,
.map-item small {
  display: block;
}

.map-item strong {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
}

.map-item small {
  margin-top: 3px;
  color: var(--muted);
}

.dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
}

.dot.amber {
  background: var(--amber);
}

.dot.slate {
  background: var(--sky);
}

.projects {
  padding: 0 0 96px;
}

.section-heading {
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: 0;
}

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

.project-card {
  display: flex;
  min-height: 284px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(20, 33, 29, 0.13);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(20px, 4vw, 30px);
  box-shadow: 0 16px 42px rgba(16, 35, 29, 0.08);
}

.project-card.subdued {
  background: rgba(255, 255, 255, 0.58);
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: 0;
}

.project-card p:not(.project-kicker) {
  color: var(--muted);
  line-height: 1.6;
}

.card-footer {
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}

.status-pill {
  border-radius: 999px;
  background: var(--soft);
  padding: 8px 11px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 740;
}

.project-card a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 780px) {
  .site-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 30px 0 42px;
  }

  h1 {
    font-size: clamp(2.85rem, 16vw, 4.6rem);
  }

  .status-panel {
    display: none;
  }

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

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

@media (max-width: 460px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a,
  .button {
    font-size: 0.92rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
