:root {
  --bg:        #fbfaf7;
  --bg-alt:    #f2efe9;
  --ink:       #111613;
  --muted:     #5c6660;
  --accent:    #1c5c46;
  --accent-2:  #17493a;
  --line:      #e4dfd6;
  --radius:    14px;
  --max:       1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Iowan Old Style, Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; font-family: inherit; font-weight: 650; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-mark { width: 26px; height: 26px; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 26px; }

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .94rem;
  transition: color .18s ease;
}

.nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--bg) !important;
  background: var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 550;
}

.nav-cta:hover { background: var(--accent); }

/* ---------- hero ---------- */

.hero { padding: clamp(64px, 11vw, 130px) 0 clamp(56px, 8vw, 96px); }

.eyebrow {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 22px;
}

.lede {
  max-width: 60ch;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  margin-top: 6px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid var(--accent);
  transition: background .18s ease, transform .18s ease;
}

.btn:hover { background: var(--accent-2); transform: translateY(-1px); }

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

.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }

/* ---------- sections ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin: 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px 44px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(17, 22, 19, .07);
}

.card h3 { margin: 18px 0 8px; }
.card p { font-size: .95rem; margin-bottom: 14px; }

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

.tag {
  display: inline-block;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 650;
}

.thumb {
  height: 168px;
  border-radius: 9px;
  border: 1px solid rgba(0,0,0,.04);
}

.thumb-a { background: linear-gradient(135deg, #cfe3d8 0%, #8fb9a6 45%, #1c5c46 100%); }
.thumb-b { background: linear-gradient(135deg, #f0e4d4 0%, #d9bf9c 50%, #8a6b45 100%); }
.thumb-c { background: linear-gradient(135deg, #dde3ee 0%, #a8b6cc 48%, #3d4f6b 100%); }

.service h3 { margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: 56px;
  align-items: start;
}

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

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 30px;
  margin: 0;
}

.stats dt {
  font-family: Iowan Old Style, Palatino, Georgia, serif;
  font-size: 1.9rem;
  color: var(--accent);
}

.stats dd {
  margin: 2px 0 0;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- contact ---------- */

.contact { max-width: 620px; }
.contact p { color: var(--muted); margin-bottom: 26px; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .86rem;
  color: var(--muted);
}

/* ---------- mobile ---------- */

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; gap: 38px; }
  .nav { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }
  body { font-size: 16px; }
}
