:root {
  --forest: #1f3d30;
  --forest-dark: #142a21;
  --granite: #3b4046;
  --granite-light: #6b7278;
  --amber: #b9812f;
  --amber-light: #d99f4f;
  --bg: #f7f6f2;
  --bg-alt: #eeece3;
  --card-bg: #ffffff;
  --text: #21262a;
  --text-muted: #565f63;
  --border: #e1ddd0;
  --radius: 10px;
  --max-width: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--amber);
  margin: 0 0 .6em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #1a1a1a; }
.btn-primary:hover { background: var(--amber-light); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, .92);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--forest);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-text em { color: var(--amber); font-style: normal; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--granite);
}
.primary-nav a:hover { color: var(--forest); }
.nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--forest-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: var(--forest-dark);
  background-image:
    repeating-radial-gradient(circle at 15% 25%, rgba(255,255,255,.05) 0px, rgba(255,255,255,.05) 1px, transparent 2px, transparent 24px),
    repeating-radial-gradient(circle at 85% 75%, rgba(255,255,255,.05) 0px, rgba(255,255,255,.05) 1px, transparent 2px, transparent 30px),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-dark) 65%);
  color: #fff;
  padding: 110px 0 100px;
}
.hero-inner { max-width: 760px; }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: .5em;
}
.hero-lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 1.8em; flex-wrap: wrap; }

/* Section shells */
section { padding: 88px 0; scroll-margin-top: 68px; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-lede { font-size: 1.05rem; }

.services { background: var(--bg); }

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.service-card:hover {
  box-shadow: 0 10px 28px rgba(31, 61, 48, .08);
  transform: translateY(-2px);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--bg-alt);
  margin-bottom: 18px;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--forest);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { font-size: 1.12rem; color: var(--forest); }
.service-card p { font-size: .95rem; margin-bottom: 0; }

/* Projects */
.projects { background: var(--bg-alt); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  padding: 20px 22px;
}
.project-card h3 { font-size: 1rem; color: var(--forest); margin-bottom: .35em; }
.project-card p { font-size: .92rem; margin-bottom: 0; }
.project-card a { color: var(--amber); font-weight: 600; text-decoration: none; }
.project-card a:hover { text-decoration: underline; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.about h2 { color: var(--forest); }
.stat-row {
  display: flex;
  gap: 36px;
  margin-top: 1.6em;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.7rem; font-weight: 800; color: var(--amber); }
.stat-label { font-size: .82rem; color: var(--text-muted); }

.about-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-tools {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.about-tools h3 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--granite);
  margin-bottom: 1em;
}
.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-list li {
  font-size: .85rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}

/* Contact */
.contact { background: var(--forest); color: #fff; text-align: center; }
.contact .eyebrow { color: var(--amber-light); }
.contact h2 { color: #fff; }
.contact .section-lede { color: rgba(255,255,255,.8); margin-left: auto; margin-right: auto; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 40px;
  text-align: left;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-decoration: none;
  color: #fff;
  transition: background-color .15s ease;
}
.contact-card:hover { background: rgba(255,255,255,.12); }
.contact-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--amber-light);
}
.contact-value { font-size: 1.05rem; font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,.65);
  font-size: .85rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
}

/* Responsive */
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .site-header.nav-open .primary-nav { max-height: 320px; }
  .primary-nav a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta { border-radius: 0; text-align: center; }
  .hero { padding: 80px 0 64px; }
  section { padding: 64px 0; }
}
