:root {
  --sage: #7a8c68;
  --sage-dark: #5f7050;
  --forest: #2f3a2b;
  --forest-2: #3b4836;
  --cream: #faf9f7;
  --sand: #f1efe9;
  --stone: #e4e1d8;
  --ink: #232720;
  --muted: #6b6f66;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --radius: 4px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 6vw, 4.9rem); }
h1 em, h2 em { font-style: italic; color: var(--sage-dark); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.2em; }

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

.eyebrow {
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 500;
  margin-bottom: 1.2em;
}
.eyebrow--light { color: #c9d3bd; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; font-weight: 300; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.5em;
  font: 500 .92rem/1 var(--sans);
  letter-spacing: .06em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--lg { padding: 1.05em 1.9em; font-size: .98rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--sage); color: var(--white); }
.btn--primary:hover { background: var(--sage-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: var(--white); }

/* Top bar */
.topbar { background: var(--forest); color: #dfe5d7; font-size: .82rem; letter-spacing: .04em; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--white); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 247, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--stone); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.6rem; color: var(--sage-dark); font-weight: 500; }
.brand__tag { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--sage-dark); margin-top: 4px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .92rem; color: var(--ink); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: var(--sage); transition: width .25s; }
.nav__links a:hover::after { width: 100%; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 24px; }
.nav.open .nav__toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.open .nav__toggle span:last-child { top: 20px; transform: rotate(-45deg); }
.nav__mobile { display: none; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2em 0 2.2em; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .92rem; color: var(--muted); }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.hero__media { position: relative; }
.hero__frame { overflow: hidden; border-radius: var(--radius); }
.hero__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; }
.hero__badge {
  position: absolute; left: -28px; bottom: 36px;
  display: flex; align-items: center; gap: 12px;
  background: var(--cream); padding: 14px 20px 14px 14px; border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(35, 39, 32, .14);
  font-size: .85rem; line-height: 1.35; color: var(--muted);
}
.hero__badge strong { color: var(--ink); font-weight: 500; }
.hero__badge img { width: 40px; height: 40px; object-fit: contain; }

/* Services */
.services { padding: 0 0 110px; }
.services__panel {
  background: var(--forest); color: #eef1ea; border-radius: 6px;
  padding: 72px 64px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px;
}
.services__intro h2 { color: var(--white); margin-bottom: 1em; }
.services__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; }
.services__list li { display: flex; gap: 16px; }
.services__list .num { font-size: .8rem; color: #b9c6aa; padding-top: .55em; letter-spacing: .05em; flex-shrink: 0; }
.services__list h3 { color: var(--white); font-size: 1.55rem; margin-bottom: .35em; }
.services__list p { color: #c8cfc0; font-size: .95rem; font-weight: 300; margin: 0; }

/* Before & After */
.results { padding: 0 0 110px; }
.results .section-head .muted { margin: 0; font-weight: 300; }
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-card { margin: 0; }
.ba-card figcaption { margin-top: 14px; font-size: .95rem; font-weight: 300; color: var(--muted); }
.ba-card figcaption strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.ba {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: var(--stone); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 12px; padding: 5px 11px; border-radius: var(--radius); pointer-events: none;
  font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.ba__tag--before { left: 12px; background: rgba(35, 39, 32, .78); color: var(--white); }
.ba__tag--after { right: 12px; background: var(--sage-dark); color: var(--white); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 8px rgba(0, 0, 0, .35); pointer-events: none; }
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; box-shadow: 0 3px 14px rgba(0, 0, 0, .3);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7050' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) .ba__handle::after { outline: 3px solid var(--sage); outline-offset: 2px; }

/* Work */
.work { padding: 0 0 110px; }
.work__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.work__img { margin: 0; overflow: hidden; border-radius: var(--radius); }
.work__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.1) translateY(var(--py, 0)); }
.work__copy > p { color: var(--muted); font-weight: 300; font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 1.6em 0 2.2em; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--stone); }
.checks li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Process */
.process { background: var(--sand); padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--cream); padding: 40px 34px; border-radius: var(--radius); border: 1px solid var(--stone); }
.step__num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--sage); color: var(--sage-dark); font-family: var(--serif); font-size: 1.6rem; margin-bottom: 22px;
}
.step p { color: var(--muted); font-weight: 300; margin: 0; }

/* Areas */
.areas { padding: 110px 0; }
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.areas__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--stone); }
.areas__list li {
  padding: 18px 0; border-bottom: 1px solid var(--stone);
  font-family: var(--serif); font-size: 1.45rem; display: flex; align-items: center; gap: 12px;
}
.areas__list li::before {
  content: ""; width: 14px; height: 14px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8c68' stroke-width='1.8'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Estimate */
.estimate { background: var(--forest); color: #e7ebe2; padding: 100px 0; }
.estimate__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.estimate h2 { color: var(--white); }
.estimate__copy > p { color: #c8cfc0; font-weight: 300; }
.estimate__phone { display: inline-block; font-family: var(--serif); font-size: 2.3rem; color: var(--white); text-decoration: none; border-bottom: 1px solid #8fa07d; margin-bottom: 40px; }
.estimate__logo { width: 220px; opacity: .9; filter: brightness(0) invert(1) opacity(.55); }
.form { background: var(--cream); color: var(--ink); padding: 40px; border-radius: 6px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; letter-spacing: .02em; }
.form .opt { font-weight: 300; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 400 1rem var(--sans); color: var(--ink);
  padding: 12px 14px; border: 1px solid #d6d2c6; border-radius: var(--radius); background: var(--white);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(122, 140, 104, .18); }
.form .invalid { border-color: #b4553f; }
.form__status { margin: 0; font-size: .92rem; min-height: 1.4em; text-align: center; }
.form__status.ok { color: var(--sage-dark); }
.form__status.err { color: #b4553f; }
.hp { display: none; }

/* Footer */
.footer { background: var(--sand); padding: 56px 0 28px; font-size: .92rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--stone); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 48px; height: 48px; object-fit: contain; }
.footer__brand strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.footer__brand span { color: var(--muted); }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--sage-dark); }
.footer__bottom { padding-top: 24px; color: var(--muted); font-size: .82rem; }

/* Mobile call bar */
.callbar { display: none; }

/* Decorative leaves */
.hero, .results, .process, .areas, .estimate { position: relative; overflow: clip; }
.services__panel { position: relative; overflow: hidden; }
.hero > .container, .results > .container, .process > .container, .areas > .container, .estimate > .container { position: relative; z-index: 1; }
.services__intro, .services__list { position: relative; z-index: 1; }
.deco {
  position: absolute; pointer-events: none; overflow: visible;
  fill: none; stroke: var(--sage); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round;
  transform-origin: 50% 100%;
  animation: sway 7s ease-in-out infinite alternate;
}
.deco--branch { width: 200px; height: 280px; }
.deco--leaf { width: 42px; height: 102px; }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.deco--hero-branch { left: -18px; bottom: 6px; width: 170px; height: 238px; opacity: .55; }
.deco--hero-leaf { right: 2.5%; top: 34px; rotate: 28deg; opacity: .6; animation-delay: -2s; }
.deco--services-branch { left: 270px; bottom: -8px; width: 120px; height: 168px; stroke: #b9c6aa; opacity: .55; }
.deco--results-left { left: 9%; top: 6px; rotate: -38deg; opacity: .65; animation-delay: -3s; }
.deco--results-right { right: 10%; top: 42px; width: 34px; height: 82px; rotate: 44deg; opacity: .65; animation-delay: -5s; }
.deco--process-branch { right: -14px; top: 18px; width: 170px; height: 238px; scale: -1 1; opacity: .55; animation-delay: -1s; }
.deco--areas-branch { left: -12px; bottom: 14px; width: 150px; height: 210px; opacity: .5; animation-delay: -4s; }
.deco--estimate-leaf { left: 38%; top: 22px; rotate: 22deg; stroke: #b9c6aa; opacity: .5; animation-delay: -2s; }
.deco--estimate-branch { right: -10px; bottom: 8px; width: 180px; height: 252px; stroke: #b9c6aa; opacity: .35; scale: -1 1; animation-delay: -6s; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
/* Clip the image, not the observed figure: a fully clipped target never reports as intersecting */
.reveal--clip img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.65, 0, .2, 1) var(--d, 0ms); }
.reveal--clip.in img { clip-path: inset(0 0 0 0); }

/* Hero entrance */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes frameIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes badgeIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
.hero__copy > * { animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: .12s; }
.hero__copy > :nth-child(3) { animation-delay: .26s; }
.hero__copy > :nth-child(4) { animation-delay: .4s; }
.hero__copy > :nth-child(5) { animation-delay: .54s; }
.hero__frame { animation: frameIn 1.2s cubic-bezier(.65, 0, .2, 1) .1s both; }
.hero__frame img { animation: settle 2s cubic-bezier(.2, .7, .2, 1) .1s both; }
.hero__badge { animation: badgeIn .7s ease 1s both, float 5s ease-in-out 1.7s infinite; }

/* Nav on scroll */
.nav__inner { transition: height .3s ease; }
.nav { transition: box-shadow .3s ease; }
.brand img { transition: transform .4s ease; }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.nav.scrolled { box-shadow: 0 6px 24px rgba(35, 39, 32, .07); }
.nav.scrolled .nav__inner { height: 62px; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sage); transform: scaleX(0); transform-origin: left; }

/* Hover details */
.btn { position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(35, 39, 32, .14); }
.btn:active { transform: none; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transition: left .6s ease;
}
.btn--primary:hover::after { left: 120%; }
.step { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.step:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(35, 39, 32, .09); border-color: var(--sage); }
.step__num { transition: background .3s ease, color .3s ease; }
.step:hover .step__num { background: var(--sage); color: var(--white); }
.services__list h3 { transition: transform .3s ease; }
.services__list li:hover h3 { transform: translateX(5px); }
.areas__list li { transition: padding-left .25s ease, color .25s ease; }
.areas__list li:hover { padding-left: 8px; color: var(--sage-dark); }
.footer__links a { transition: color .2s ease; }
.estimate__phone { transition: border-color .25s ease, letter-spacing .25s ease; }
.estimate__phone:hover { border-color: var(--white); letter-spacing: .01em; }
.form__status:not(:empty) { animation: fadeUp .4s ease both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal--clip img { clip-path: none; }
  .progress { display: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__mobile { display: grid; gap: 4px; padding: 8px 24px 24px; border-top: 1px solid var(--stone); }
  .nav__mobile a { text-decoration: none; padding: 12px 0; font-size: 1.05rem; }
  .nav__mobile .btn { margin-top: 8px; padding: 1em; }
  .hero { padding: 40px 0 72px; }
  .hero__grid, .work__grid, .areas__grid, .estimate__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { max-width: 520px; }
  .hero__badge { left: 16px; bottom: 16px; }
  .services__panel { grid-template-columns: 1fr; padding: 56px 32px; gap: 44px; }
  .process__grid { grid-template-columns: 1fr; }
  .results { padding-bottom: 80px; }
  .results__grid { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin: 0 auto; }
  .estimate__logo { display: none; }
  .deco--hero-leaf, .deco--results-left, .deco--results-right, .deco--estimate-leaf { display: none; }
  .deco--hero-branch, .deco--process-branch, .deco--areas-branch, .deco--estimate-branch { width: 110px; height: 154px; opacity: .35; }
  .deco--services-branch { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .topbar__inner > span { display: none; }
  .topbar__inner { justify-content: center; }
  .services__list, .form__row, .areas__list { grid-template-columns: 1fr; }
  .services__panel { padding: 44px 22px; }
  .form { padding: 24px 18px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .callbar {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; bottom: 0; left: 0; width: 50%; height: 60px; z-index: 60;
    background: var(--forest); color: var(--white); text-decoration: none; font-weight: 500; letter-spacing: .04em;
  }
  .callbar { animation: slideUp .5s ease .8s both; }
  .callbar--alt { left: 50%; background: var(--sage); }
}
