:root {
  --paper: #eef1ea;
  --paper-deep: #e1e7da;
  --surface: #ffffff;
  --ink: #1c2620;
  --ink-soft: #46534b;
  --pine: #2d5640;
  --pine-deep: #1f3d2d;
  --pine-tint: #d5e1d3;
  --on-pine: #f4f7f2;
  --on-pine-soft: #c9d8cc;
  --line: #c3cdbd;
  --star: #b07f12;
  --focus: #2b5876;

  /* material colors for the four landscape layers */
  --layer-soil: #6a5442;
  --layer-stone: #a6a598;
  --layer-leaf: #4c7650;
  --layer-light: #e3bd57;
  --on-dark-layer: #ffffff;
  --on-light-layer: #1c2620;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --wrap: 1140px;
  --font-sans: "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
.wrap > *, .hero .wrap > *, .contact-grid > *, .with-photo > *, .section-stack > * { min-width: 0; }

a { color: var(--pine); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* heading + its own subtext read as one unit */
.head-pair { display: grid; gap: 12px; }
.head-pair p { color: var(--ink-soft); max-width: 58ch; }

/* ---------- utility strip + nav ---------- */
.util {
  background: var(--pine-deep);
  color: var(--on-pine);
  font-size: 0.95rem;
}
.util .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
.util a.tel {
  color: var(--on-pine);
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.util a.tel:hover { text-decoration: underline; }
.util .where { color: var(--on-pine-soft); }

.nav {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}
.wordmark {
  text-decoration: none;
  color: var(--ink);
  display: grid;
  gap: 2px;
  line-height: 1.15;
}
.wordmark strong { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.wordmark span { font-size: 0.85rem; color: var(--ink-soft); }

.nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
}
.nav ul a:hover { background: var(--paper-deep); }
.nav ul a[aria-current="page"] { background: var(--pine-tint); color: var(--pine-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-solid { background: var(--pine); color: var(--on-pine); }
.btn-solid:hover { background: var(--pine-deep); }
.btn-line { border-color: var(--pine); color: var(--pine-deep); background: transparent; }
.btn-line:hover { background: var(--pine-tint); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */
section { padding-block: clamp(40px, 6vw, 60px); }

/* ---------- hero ---------- */
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy { display: grid; gap: 28px; }
.hero-copy .head-pair { gap: 16px; }
.hero-copy .head-pair p { font-size: 1.15rem; }
.hero h1 em { font-style: normal; color: var(--pine); }

.rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.rating .stars { color: var(--star); letter-spacing: 2px; font-size: 1.1rem; }
.rating strong { color: var(--ink); }

figure { margin: 0; }
.photo img {
  width: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
}
.hero .photo img { aspect-ratio: 4 / 5; }
.photo figcaption { margin-top: 10px; font-size: 0.95rem; color: var(--ink-soft); display: grid; gap: 2px; }
.photo .stock-note { font-size: 0.8rem; color: var(--ink-soft); opacity: 1; font-style: italic; }

/* ---------- about ---------- */
.about { background: var(--surface); }
.about .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.about-body { display: grid; gap: 18px; color: var(--ink-soft); }
.about-body p:first-child { color: var(--ink); font-size: 1.15rem; }

.facts {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.facts li span:first-child { color: var(--ink-soft); }
.facts a { font-weight: 650; }

/* ---------- layer cross-section (signature) ---------- */
.layers .wrap { display: grid; gap: 28px; }
.section-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}
.stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column-reverse; /* layer 1 sits at the bottom, like the ground */
  gap: 6px;
}
.stack li a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  text-decoration: none;
  min-height: 64px;
}
.stack .n { font-weight: 700; font-size: 1.3rem; }
.stack .t { font-weight: 650; font-size: 1.08rem; }
.stack .k { font-size: 0.9rem; }
.stack .l1 a { background: var(--layer-soil); color: var(--on-dark-layer); min-height: 92px; }
.stack .l2 a { background: var(--layer-stone); color: var(--on-light-layer); min-height: 80px; }
.stack .l3 a { background: var(--layer-leaf); color: var(--on-dark-layer); min-height: 72px; }
.stack .l4 a { background: var(--layer-light); color: var(--on-light-layer); }
.stack li a:hover { filter: brightness(1.06); }
.stack-key { display: grid; gap: 14px; color: var(--ink-soft); }
.stack-key p strong { color: var(--ink); }

/* ---------- services page ---------- */
.page-head { padding-bottom: 12px; }
.page-head .head-pair p { font-size: 1.12rem; }

.layer-detail {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: clamp(16px, 3vw, 32px);
  padding-block: 32px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.layer-detail:last-of-type { border-bottom: 1px solid var(--line); }
.swatch {
  width: 76px;
  height: 76px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.6rem;
}
.sw-1 { background: var(--layer-soil); color: var(--on-dark-layer); }
.sw-2 { background: var(--layer-stone); color: var(--on-light-layer); }
.sw-3 { background: var(--layer-leaf); color: var(--on-dark-layer); }
.sw-4 { background: var(--layer-light); color: var(--on-light-layer); }
.layer-body { display: grid; gap: 18px; }
.layer-body .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.layer-body ul { margin: 0; padding-left: 1.1em; color: var(--ink); }
.layer-body li { margin-bottom: 4px; }
.why {
  background: var(--surface);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.why strong { color: var(--ink); }
.with-photo { display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: start; }
.with-photo .photo img { aspect-ratio: 3 / 4; }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}
.call-card {
  background: var(--pine-deep);
  color: var(--on-pine);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  gap: 22px;
}
.call-card .head-pair p { color: var(--on-pine-soft); }
.call-card a.big {
  color: var(--on-pine);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
}
.call-card a.big:hover { text-decoration: underline; }
.call-card .meta { display: grid; gap: 6px; color: var(--on-pine-soft); font-size: 0.98rem; }
.call-card .meta strong { color: var(--on-pine); }

.bring { display: grid; gap: 12px; margin-top: 8px; }
.bring ol { margin: 0; padding-left: 1.2em; color: var(--ink); display: grid; gap: 6px; }

form { display: grid; gap: 16px; background: var(--surface); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 32px); }
.field { display: grid; gap: 6px; }
label { font-weight: 600; font-size: 0.95rem; }
input, textarea, select {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- closing call band ---------- */
.close-band { background: var(--pine); color: var(--on-pine); }
.close-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.close-band .head-pair p { color: var(--on-pine-soft); }
.close-band .btn-solid { background: var(--on-pine); color: var(--pine-deep); }
.close-band .btn-solid:hover { background: var(--pine-tint); }

/* ---------- footer ---------- */
footer { background: var(--pine-deep); color: var(--on-pine-soft); padding-block: 32px; font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
footer a { color: var(--on-pine); display: inline-flex; align-items: center; min-height: 40px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .about .wrap, .section-stack, .contact-grid { grid-template-columns: 1fr; }
  .hero .photo { max-width: 460px; }
  .with-photo { grid-template-columns: 1fr; }
  .with-photo .photo { max-width: 320px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .util .where { display: none; }
  .nav .wrap { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 10px; }
  .nav ul { margin-left: -14px; flex-wrap: wrap; }
  .nav { position: static; }
  .layer-detail { grid-template-columns: 1fr; gap: 14px; }
  .swatch { width: 56px; height: 56px; font-size: 1.3rem; }
  .layer-body .cols, .two { grid-template-columns: 1fr; }
  .stack li a { grid-template-columns: 30px 1fr; padding: 14px 16px; }
  .stack .k { grid-column: 2; }
  .facts li { flex-direction: column; gap: 2px; }
  .btn-row .btn { flex: 1 1 100%; }
}
