/* ===== Design tokens ===== */
:root {
  --bg: #eef4ec;
  --bg-alt: #e2ebe0;
  --ink: #1c2420;
  --ink-muted: #55605a;
  --green-900: #16342a;
  --green-800: #1f4636;
  --accent: #a8541a;
  --accent-dark: #8a4515;
  --white: #ffffff;
  --line: rgba(28, 36, 32, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.16);

  --radius-card: 16px;
  --radius-pill: 999px;

  --nav-height: 72px;
  --container: 1200px;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }

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

.eyebrow-loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow-loc img { width: 16px; height: 16px; }

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-head p {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 17px;
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost-dark {
  color: var(--white);
  border-color: var(--line-on-dark);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); }
.btn-ghost-light {
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost-light:hover { background: rgba(28,36,32,0.05); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(246, 247, 242, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px;
  height: 38px;
  flex-shrink: 0;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle img { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  body.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
  }
  body.menu-open .nav-links a { padding: 10px 0; width: 100%; }
}

/* ===== Hero ===== */
.hero {
  padding: 64px 0 72px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.mow-heading {
  position: relative;
}
.mow-word {
  display: inline-block;
  white-space: nowrap;
}
.mow-text .mow-letter {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  transform: translateY(10px);
}
.mow-text .mow-letter.is-shown {
  animation: mowLetterIn 0.4s ease forwards;
}
@keyframes mowLetterIn {
  to { opacity: 1; transform: translateY(0); }
}
.mow-figure {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(64px, 9vw, 96px);
  height: auto;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .mow-text .mow-letter { opacity: 1; transform: none; animation: none; }
  .mow-figure { display: none; }
}
.hero .lede {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 46ch;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-visual {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  position: relative;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/10; }
}

/* ===== Page hero (subpages) ===== */
.page-hero {
  padding: 56px 0 16px;
}
.page-hero .container {
  max-width: 760px;
}
.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.page-hero .lede {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 56ch;
}

/* ===== Contact ===== */
.contact-section { padding: 32px 0 96px; }
.contact-cards {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-cards-social {
  margin-top: 20px;
  grid-template-columns: repeat(2, 1fr);
}
.contact-cards-social .contact-card { padding: 32px; }
.contact-cards-social .contact-card a { font-size: 17px; font-weight: 600; word-break: break-word; }
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
}
.contact-card img { width: 28px; height: 28px; margin: 0 auto 14px; }
.contact-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.contact-card a, .contact-card span { color: var(--ink-muted); font-size: 15px; }
.contact-card a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ===== 404 ===== */
.not-found {
  padding: 96px 0 120px;
}
.not-found .container {
  max-width: 640px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.not-found-code {
  margin-top: 20px;
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.not-found h1 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.not-found .lede {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 46ch;
}
.not-found .hero-actions {
  justify-content: center;
}

/* ===== Trust strip ===== */
.trust {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border-left: 1px solid var(--line);
  font-weight: 600;
  font-size: 14.5px;
}
.trust-item:first-child { border-left: none; padding-left: 0; }
.trust-item img { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== Services (bento) ===== */
.services { padding: 96px 0; }
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.tile {
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 160px;
}
.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168,84,26,0.1);
}
.tile-icon img { width: 22px; height: 22px; }
.tile h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.tile p { margin-top: 6px; font-size: 14.5px; color: var(--ink-muted); }
.tile--light { background: var(--white); border: 1px solid var(--line); }
.tile--alt { background: var(--bg-alt); }
.tile--dark {
  background: linear-gradient(155deg, var(--green-900), var(--green-800));
  color: var(--white);
}
.tile--dark p { color: rgba(255,255,255,0.72); }
.tile--dark .tile-icon { background: rgba(255,255,255,0.12); }
.tile--wide { flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; }
.tile--wide .tile-icon { flex-shrink: 0; }

@media (min-width: 860px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 168px;
  }
  .tile--featured { grid-column: span 3; grid-row: span 2; }
  .tile--grass { grid-column: span 3; grid-row: span 1; }
  .tile--hedge { grid-column: span 3; grid-row: span 1; }
  .tile--weeding { grid-column: span 2; grid-row: span 1; }
  .tile--planting { grid-column: span 2; grid-row: span 1; }
  .tile--clearance { grid-column: span 2; grid-row: span 1; }
  .tile--woodwork { grid-column: span 6; grid-row: span 1; }
}

/* ===== Why choose us (split) ===== */
.why { padding: 96px 0; background: var(--bg-alt); }
.why .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.why-visual {
  order: -1;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: linear-gradient(155deg, var(--green-800), var(--green-900));
  overflow: hidden;
}
.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-reasons { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.why-reasons--flush { margin-top: 0; }
.why-reason { display: flex; gap: 14px; }
.why-reason img { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.why-reason h3 { font-size: 16.5px; font-weight: 700; }
.why-reason p { margin-top: 4px; font-size: 14.5px; color: var(--ink-muted); }

@media (max-width: 860px) {
  .why .container { grid-template-columns: 1fr; }
}

/* ===== How it works (steps) ===== */
.steps { padding: 96px 0; }
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step { position: relative; padding-top: 8px; }
.step-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.step h3 { font-size: 18px; font-weight: 700; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--ink-muted); }
@media (max-width: 760px) {
  .steps-row { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(155deg, var(--green-900), var(--green-800));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta-band p {
  margin: 14px auto 0;
  max-width: 52ch;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
}
.cta-band .btn { margin-top: 28px; }

/* ===== Footer ===== */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.72);
  padding: 56px 0 32px;
}
.footer .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer .brand { color: var(--white); }
.footer-desc { margin-top: 14px; font-size: 14.5px; max-width: 34ch; }
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14.5px; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--white); }
.social-links { display: flex; gap: 12px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-on-dark);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.social-link img { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 760px) {
  .footer .container { grid-template-columns: 1fr 1fr; gap: 32px; }
}
