/* Upstate Stump Grinding */
:root {
  --green: #17803a;      /* field green: main brand surface */
  --pine: #0d4a22;       /* deep green: text on light, dark surfaces */
  --lime: #c9ea62;       /* action colour */
  --lime-hover: #b9df3f;
  --wood: #c4955a;       /* stump rings */
  --paper: #f4f6ef;      /* light section background */
  --ink: #15241a;        /* body text */
  --muted: #4b5d50;
  --line: #d8dfd0;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 118;           /* display width axis */

  --radius-lg: 28px;
  --radius: 14px;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-variation-settings: "wdth" var(--wide); }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--pine); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.section :focus-visible, .header :focus-visible, .what :focus-visible { outline-color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--pine); }
.btn--lime:hover { background: var(--lime-hover); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Top bar */
.topbar { background: var(--pine); color: #e3ecd8; font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pine); }
.brand__name {
  display: flex; flex-direction: column; line-height: .95;
  font-weight: 800; font-size: 1.05rem; font-variation-settings: "wdth" 125; letter-spacing: .01em;
}
.brand__name span { font-weight: 900; font-size: 1.4rem; letter-spacing: -.01em; color: var(--green); font-variation-settings: "wdth" 125; margin-top: 2px; white-space: nowrap; }
.brand--light { color: #fff; }
.brand--light .brand__name span { color: var(--lime); }

.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 550; font-size: .975rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--lime); }

.header__call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; color: var(--pine); }
.header__call svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--lime); fill: var(--pine); }
.header__call span { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.05rem; }
.header__call small { font-weight: 500; font-size: .75rem; color: var(--muted); }
.header__cta { display: none; }

/* Hero */
.hero { background: var(--green); color: #fff; overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px);
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 850; letter-spacing: -.02em;
  font-variation-settings: "wdth" 112; max-width: 11ch;
}
.hero__lede { margin-top: 22px; font-size: 1.15rem; max-width: 52ch; color: #e6f1de; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 8px; color: #e6f1de; font-size: .975rem; }
.hero__facts li { display: flex; gap: 10px; align-items: center; }
.hero__facts li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%230d4a22' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.hero__media { position: relative; margin: 0; }
.hero__media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: 72% 50%;
  border-radius: var(--radius-lg);
}
.rings { fill: none; stroke: var(--lime); stroke-width: 2; }
.rings--hero {
  position: absolute; z-index: 0; width: 135%; left: -18%; top: 50%; translate: 0 -50%;
  opacity: .45; pointer-events: none;
}

/* Ribbon */
.ribbon { border-top: 1px solid rgba(255,255,255,.18); padding-block: 18px; overflow: hidden; }
.ribbon__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: ribbon 48s linear infinite; }
.ribbon span {
  font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; font-variation-settings: "wdth" 125;
  color: transparent; -webkit-text-stroke: 1.5px rgba(201,234,98,.85); white-space: nowrap;
}
.ribbon i { font-style: normal; color: var(--lime); font-size: 1.6rem; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 820; color: var(--pine); letter-spacing: -.015em; }
.section h2 { color: var(--pine); }

/* What we do */
.what__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.what__media { position: sticky; top: 110px; }
.what__img { border-radius: var(--radius-lg); object-fit: cover; width: 100%; aspect-ratio: 4 / 4.4; object-position: 62% 50%; }
.what__copy h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 820; letter-spacing: -.015em; max-width: 14ch; }
.what__copy > p { margin-top: 20px; color: var(--muted); max-width: 60ch; }
.what__copy h3 { margin-top: 36px; font-size: 1.25rem; font-weight: 760; color: var(--pine); font-variation-settings: "wdth" 110; }

.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px #dcefc0; translate: 0 -1px;
}

/* Steps */
.steps { background: var(--paper); }
.steps__list {
  list-style: none; padding: 0; margin: 48px 0 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 3px solid var(--pine);
}
.steps__list li { counter-increment: step; padding: 28px 28px 0 0; position: relative; }
.steps__list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps__list li::before {
  content: counter(step);
  display: block; font-size: 3.5rem; line-height: 1; font-weight: 850; color: var(--green);
  font-variation-settings: "wdth" 125; margin-bottom: 18px;
}
.steps__list h3 { font-size: 1.2rem; font-weight: 760; color: var(--pine); font-variation-settings: "wdth" 108; }
.steps__list p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

/* Service area */
.area { background: var(--pine); color: #e3ecd8; }
.area__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.area h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 820; letter-spacing: -.015em; max-width: 14ch; }
.area__copy p { margin: 20px 0 28px; max-width: 46ch; }
.area__towns {
  list-style: none; margin: 0; padding: 0;
  columns: 3; column-gap: 32px;
  font-size: 1.15rem; font-weight: 600; color: #fff; font-variation-settings: "wdth" 108;
}
.area__towns li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); break-inside: avoid; }

/* Reviews */
.btn--outline { border-color: var(--pine); color: var(--pine); }
.btn--outline:hover { background: var(--pine); color: #fff; }
.reviews { background: var(--paper); }
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 20px 32px; flex-wrap: wrap; }
.reviews__head .section__title { max-width: 14ch; }
.reviews__list {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px;
  border-top: 3px solid var(--pine);
}
.review { margin: 0; padding: 28px 32px 8px 0; display: flex; flex-direction: column; }
.review + .review { padding-left: 32px; border-left: 1px solid var(--line); }
.review__stars { color: #e0a526; font-size: 1.15rem; letter-spacing: .12em; }
.review blockquote { margin: 14px 0 0; flex: 1; }
.review blockquote p { font-size: 1.15rem; line-height: 1.55; color: var(--ink); }
.review figcaption { margin-top: 22px; display: flex; flex-direction: column; font-size: .95rem; }
.review figcaption strong { color: var(--pine); font-weight: 700; }
.review figcaption span { color: var(--muted); }

/* FAQ */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq .section__title { max-width: 10ch; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 700; font-size: 1.15rem; color: var(--pine);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 9v12M9 15h12' stroke='%230d4a22' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 64ch; }

/* Quote */
.quote { background: var(--green); color: #fff; }
.quote__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sizer h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 850; letter-spacing: -.02em; }
.sizer__intro { margin-top: 14px; color: #e6f1de; max-width: 44ch; }
.sizer__viz { margin: 28px 0 8px; display: flex; justify-content: center; }
.sizer__viz svg { display: block; height: clamp(220px, 28vw, 320px); width: auto; aspect-ratio: 1; max-width: 100%; }
.sizer__label { display: block; font-weight: 700; margin-top: 8px; }
.sizer__control { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.sizer__control output {
  flex: none; min-width: 6.5em; font-weight: 800; font-size: 1.35rem; color: var(--lime);
  font-variation-settings: "wdth" 115;
}
.sizer__hint { margin-top: 6px; color: #d4e6c8; font-size: .95rem; min-height: 1.6em; }

input[type="range"] { flex: 1; appearance: none; -webkit-appearance: none; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); border: 4px solid var(--pine); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 4px solid var(--pine); }

.sizer__count { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); font-weight: 700; }
.stepper { display: inline-flex; align-items: center; border: 2px solid rgba(255,255,255,.4); border-radius: 999px; }
.stepper button {
  width: 44px; height: 44px; border: 0; background: none; color: #fff; font: inherit; font-size: 1.4rem; cursor: pointer; border-radius: 50%;
}
.stepper button:hover { background: rgba(255,255,255,.1); }
.stepper output { min-width: 2.2em; text-align: center; font-weight: 800; font-size: 1.2rem; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); }
.form__row { display: grid; gap: 6px; margin-bottom: 18px; }
.form__row--half { grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--half > div { display: grid; gap: 6px; }
.form label { font-weight: 650; font-size: .95rem; color: var(--pine); }
.opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcf8;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,128,58,.18); background: #fff; }
.form textarea { resize: vertical; }
.form .btn { margin-top: 6px; }
.form__label { font-weight: 650; font-size: .95rem; color: var(--pine); }
.drop {
  display: grid; justify-items: center; gap: 4px; text-align: center; cursor: pointer;
  padding: 22px 18px; border: 2px dashed #b9c8ad; border-radius: 12px; background: #fbfcf8;
  color: var(--muted); font-weight: 400; font-size: .95rem;
  transition: border-color .15s, background-color .15s;
}
.drop svg { width: 30px; height: 30px; color: var(--green); margin-bottom: 4px; }
.drop strong { color: var(--green); font-weight: 750; }
.drop small { font-size: .85rem; max-width: 38ch; }
.drop:hover, .drop.is-over { border-color: var(--green); background: #f1f8e6; }
.form__row:has(.drop__input:focus-visible) .drop { outline: 3px solid var(--green); outline-offset: 2px; }
.drop.is-full { display: none; }
.form .drop__input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; }
.form__row { position: relative; }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.thumbs button {
  position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(13,74,34,.88); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.thumbs button:hover { background: var(--pine); }
.thumbs__add {
  display: grid; place-items: center; aspect-ratio: 1; border: 2px dashed #b9c8ad; border-radius: 10px;
  color: var(--green); font-weight: 700; font-size: .9rem; cursor: pointer; text-align: center; padding: 6px;
}
.thumbs__add:hover { border-color: var(--green); background: #f1f8e6; }
.form__alt { margin-top: 14px; text-align: center; font-size: .95rem; color: var(--muted); }
.form__alt a { color: var(--green); font-weight: 700; }
.form__status { margin-top: 14px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form__status.is-ok { background: #e7f5d3; color: var(--pine); }
.form__status.is-err { background: #fdecea; color: #8a1f12; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--pine); color: #d5e2cc; padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 16px; max-width: 34ch; }
.footer__h { font-size: 1rem; font-weight: 750; color: #fff; margin-bottom: 14px; font-variation-settings: "wdth" 110; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer__base { margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem; }

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

/* Responsive */
@media (max-width: 1040px) {
  .nav { display: none; }
  .header__call { margin-left: auto; }
  .steps__list { grid-template-columns: 1fr 1fr; border-top: 0; gap: 32px 0; }
  .steps__list li { border-top: 3px solid var(--pine); padding-right: 24px; }
  .steps__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  .hero__inner, .what__inner, .area__inner, .faq__inner, .quote__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 560px; }
  .hero__media img { aspect-ratio: 16 / 11; }
  .rings--hero { width: 120%; left: -10%; }
  .what__media { max-width: 560px; position: static; }
  .what__img { aspect-ratio: 4 / 3; }
  .area__towns { columns: 2; }
  .reviews__list { grid-template-columns: 1fr; }
  .review { padding: 24px 0; }
  .review + .review { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .header__call span { display: none; }
  .header__call svg { width: 44px; height: 44px; }
  .header__inner { gap: 12px; min-height: 66px; }
  .brand img { width: 38px; height: 38px; }
  .brand__name { font-size: .9rem; }
  .brand__name span { font-size: 1.12rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__list li, .steps__list li + li { padding-left: 0; border-left: 0; padding-right: 0; }
  .form__row--half { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  body { padding-bottom: 72px; }
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--pine);
  }
  .mobilebar a {
    display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px;
    font-weight: 750; text-decoration: none; color: #fff; border: 2px solid rgba(255,255,255,.5);
  }
  .mobilebar .mobilebar__quote { background: var(--lime); color: var(--pine); border-color: var(--lime); }
}

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