/* Big Kev's Trees — "Clean / Minimal / Modern" variant
   Ultra-minimal: airy whitespace, hairline dividers, one restrained green accent. */

:root {
  --green: #2f6b53;
  --green-soft: #2f6b5314;
  --ink: #1a1d1b;
  --muted: #6b7370;
  --hair: #e6e8e7;
  --bg: #ffffff;
  --bg-alt: #fbfcfb;
  --maxw: 1080px;
  --space: clamp(4.5rem, 11vw, 9rem);
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* Accessibility: skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 1.02rem;
}
.wordmark svg { width: 20px; height: 20px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}
.nav a { color: var(--muted); font-size: 0.93rem; transition: color 0.2s ease; }
.nav a:hover { color: var(--ink); }
.nav .nav-links { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); }
.nav .call {
  color: var(--green);
  font-weight: 500;
}
@media (max-width: 680px) {
  .nav .nav-links { display: none; }
}

/* ---------- Sections ---------- */
section { padding: var(--space) 0; }
.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 1.4rem;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(5rem, 12vw, 9rem);
  padding-bottom: var(--space);
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  max-width: 16ch;
}
.hero .lede {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 46ch;
  font-weight: 300;
}
.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }

.text-link {
  color: var(--ink);
  font-size: 0.96rem;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: var(--green); }

.hero-meta {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
  display: flex;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-meta strong { color: var(--ink); font-weight: 500; display: block; }

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.services .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.services h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 18ch; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair);
}
.service {
  padding: 2.2rem 1.8rem 2.2rem 0;
  border-bottom: 1px solid var(--hair);
  border-right: 1px solid var(--hair);
}
.service:nth-child(3n) { border-right: none; padding-right: 0; }
.service .icon {
  width: 26px;
  height: 26px;
  color: var(--green);
  margin-bottom: 1.1rem;
}
.service h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 0.5rem; }
.service p { color: var(--muted); font-size: 0.93rem; }

@media (max-width: 820px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3n) { border-right: 1px solid var(--hair); padding-right: 1.8rem; }
  .service:nth-child(2n) { border-right: none; padding-right: 0; }
}
@media (max-width: 540px) {
  .service-grid { grid-template-columns: 1fr; }
  .service { border-right: none !important; padding-right: 0 !important; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.4rem; max-width: 16ch; }
.about p { color: var(--muted); margin-bottom: 1.1rem; }
.about p strong { color: var(--ink); font-weight: 500; }

.check-list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hair);
  font-size: 0.96rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }

.photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 1rem;
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .photo { aspect-ratio: 16 / 11; order: -1; }
}

/* ---------- Service areas ---------- */
.areas { background: var(--bg-alt); }
.areas h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 16ch; margin-bottom: 0.9rem; }
.areas .sub { color: var(--muted); max-width: 50ch; margin-bottom: 2.2rem; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip {
  border: 1px solid var(--hair);
  background: var(--bg);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--green); color: var(--green); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
}
.contact h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.4rem; max-width: 14ch; }
.contact .sub { color: var(--muted); margin-bottom: 2.4rem; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-top: 1px solid var(--hair);
}
.contact-list li:last-child { border-bottom: 1px solid var(--hair); }
.contact-list svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }
.contact-list .k { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-list .v { font-size: 1.05rem; }
.contact-list a.v:hover { color: var(--green); }

/* Minimal underlined form */
.quote-form { display: grid; gap: 1.8rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hair);
  padding: 0.55rem 0;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--green);
}
.field textarea { resize: vertical; min-height: 90px; }
.quote-form .btn { justify-content: center; width: fit-content; }
.form-note { font-size: 0.82rem; color: var(--muted); }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hair);
  padding: 2.6rem 0;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
}
.site-footer .wordmark { color: var(--ink); }
.site-footer a:hover { color: var(--green); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
