
:root {
  --bg: #f5f4ef;
  --surface: #ffffff;
  --text: #18221a;
  --muted: #667069;
  --forest: #274f35;
  --forest-dark: #163421;
  --line: #dfe4df;
  --warm: #b88955;
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(245,244,239,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(39,79,53,.08);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .08em; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 10px; background: var(--forest); color: white; font-weight: 900;
}
.main-nav { display: flex; gap: 26px; color: var(--muted); font-size: .95rem; }
.main-nav a:hover { color: var(--forest-dark); }
.menu-button { display: none; }

main { overflow: hidden; }
.hero, .section, footer {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}
.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  align-items: center;
  gap: 72px;
  padding: 86px 0 72px;
}
.eyebrow { margin: 0 0 10px; color: var(--forest); font-weight: 800; font-size: .78rem; letter-spacing: .16em; }
h1, h2, h3 { line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: -.06em; margin-bottom: 26px; }
h2 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.045em; margin-bottom: 34px; }
h3 { font-size: 1.25rem; }
.lead { max-width: 720px; color: var(--muted); font-size: 1.2rem; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.button { padding: 13px 19px; border-radius: 999px; font-weight: 750; }
.button.primary { background: var(--forest); color: white; }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.hero-panel {
  display: grid; gap: 12px; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 18px 55px rgba(22,52,33,.08);
}
.hero-panel strong { margin-top: 18px; font-size: 1.45rem; }
.hero-panel small { color: var(--muted); }
.status-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #2f9c55;
  box-shadow: 0 0 0 6px rgba(47,156,85,.12);
}
.section { padding: 86px 0; }
.section-heading { max-width: 820px; }
.cards, .project-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.card, .project {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card p, .project p { color: var(--muted); margin-bottom: 0; }
.alt {
  position: relative;
}
.alt::before {
  content: ""; position: absolute; inset: 28px -100vw;
  background: #edf0ea; z-index: -1;
}
.project-grid { grid-template-columns: repeat(2, 1fr); }
.project span { color: var(--warm); font-size: .8rem; font-weight: 800; letter-spacing: .1em; }
.feature-line {
  display: grid; grid-template-columns: 110px 1fr; gap: 30px;
  border-top: 1px solid var(--line); padding: 24px 0;
}
.feature-line span { color: var(--muted); }
.contact {
  margin-bottom: 80px;
  padding: 52px;
  background: var(--forest-dark);
  color: white;
  border-radius: 28px;
}
.contact .eyebrow { color: #c9e2cf; }
.contact p:last-child { color: #d3ded6; max-width: 700px; }
footer {
  display: flex; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--line); padding: 26px 0 42px; color: var(--muted); font-size: .9rem;
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding-top: 60px; }
  .cards, .project-grid { grid-template-columns: 1fr; }
  .menu-button {
    display: inline-flex; border: 1px solid var(--line); background: white;
    padding: 9px 13px; border-radius: 999px; font: inherit;
  }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 20px; right: 20px;
    flex-direction: column; background: white; padding: 20px; border-radius: 16px;
    border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .contact { padding: 34px 26px; }
}
