/* Backwoods website. Same brand as the app (src/styles/tokens.css): forest green, cream, amber,
   Bricolage Grotesque headings, Inter body text. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --green: #1e3b2f;
  --green-mid: #2c5a43;
  --cream: #f4f1ea;
  --cream-1: #faf8f3;
  --cream-2: #ece8df;
  --white: #ffffff;
  --ink: #1b2a22;
  --muted: #5b665f;
  --border: #d5ddd7;
  --control-border: #8a958e;
  --amber: #e39b2b;
  --amber-dark: #8a5208;
  --on-green: #ffffff;
  --on-green-muted: #c4d3c9;
  --error: #b00020;
  --error-tint: #fbe9ec;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --radius-card: 20px;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgb(15 34 25 / 0.05), 0 10px 30px rgb(15 34 25 / 0.08);
  --shadow-cta: 0 6px 18px rgb(227 155 43 / 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  max-width: 16ch;
}
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
  height: auto;
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.wrap {
  width: min(1100px, 100% - 40px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
}

/* Green band: the footer */
.band {
  background: var(--green);
  color: var(--on-green);
}
.brand img {
  display: block;
  height: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font: 700 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
}
.btn:hover {
  filter: brightness(1.05);
}
.btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* Sections */
.section {
  padding: 72px 0;
}
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px;
}
.card p:last-child {
  margin-bottom: 0;
}
.about {
  background: var(--cream-2);
  padding: 72px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* Estimate form */
.estimate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: start;
}
.form {
  display: grid;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  font-weight: 600;
  font-size: 0.95rem;
}
.req {
  color: var(--error);
}
input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--control-border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
textarea {
  resize: vertical;
}
[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-tint);
}
.hint {
  margin: -6px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.form .btn {
  justify-self: start;
}
.form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--error-tint);
  color: var(--error);
  font-weight: 600;
}
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.thanks {
  border-left: 6px solid var(--green-mid);
}
.thanks:focus {
  outline: none;
}
.contact-lines a {
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 40px 0;
}

/* Content still to be written. Open the site with ?review at the end of the address to outline every piece
   still to fill in; remove the "todo" class (and data-todo) once the real words are in. */
.review .todo {
  outline: 2px dashed var(--amber);
  outline-offset: 4px;
  position: relative;
}
.review .todo::before {
  content: "To fill in: " attr(data-todo);
  display: block;
  font: 700 0.75rem/1.3 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--amber-dark);
  background: #fcefd8;
  border-radius: 6px;
  padding: 3px 8px;
  margin-bottom: 8px;
  width: fit-content;
}

@media (max-width: 800px) {
  .section,
  .about {
    padding: 48px 0;
  }
  .about-grid,
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ---- Top navigation: logo left, links spread across, quiet until hovered ---- */
/* Floating pill header: a frosted card hovering over the page. It slides away while scrolling down and comes
   back on any scroll up (site.js toggles .is-hidden), so it never covers what the visitor is reading. */
.top {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  width: min(1240px, 100% - 28px);
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid rgb(27 42 34 / 0.07);
  box-shadow:
    0 1px 2px rgb(15 34 25 / 0.05),
    0 12px 32px rgb(15 34 25 / 0.1);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.3s ease;
}
.top.is-hidden {
  transform: translate(-50%, calc(-100% - 28px));
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .top {
    transition: none;
  }
}
.top-nav {
  display: grid;
  /* Logo left, the three links grouped in the middle, the button right. */
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  column-gap: clamp(36px, 5.6vw, 84px);
  padding: 9px 9px 9px 26px;
}
.top-nav .brand {
  justify-self: start; /* only the logo is clickable, not the whole left column */
}
.top-nav .brand img {
  width: 200px;
}
.top-nav a:not(.brand) {
  justify-self: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 6px 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.25s ease;
}
.top-nav a:not(.brand):hover,
.top-nav a:not(.brand):focus-visible {
  background-size: 100% 1.5px;
}
/* "Free estimate": the one green action button in the bar. */
.top-nav a.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--green);
  color: var(--on-green);
  box-shadow: 0 6px 16px rgb(30 59 47 / 0.25);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.top-nav a.nav-cta:hover,
.top-nav a.nav-cta:focus-visible {
  background: var(--green-mid);
  background-size: auto;
  transform: translateY(-1px);
}

/* ---- Hero ---- */
.hero {
  /* Room for the floating header above the content. */
  padding: calc(clamp(28px, 5.5vw, 84px) + 84px) 0 0;
  text-align: center;
}
.hero-title {
  width: min(1400px, 100% - 32px);
  max-width: none;
  margin: 0 auto;
  /* Two lines, one sentence each: the size follows the screen width so neither line wraps. */
  font-size: clamp(2rem, 9.4vw, 6.4rem);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  color: #000;
}
.hero-title em {
  /* Same type as the rest of the heading; the amber highlight alone marks the key words. */
  font-style: normal;
  font-weight: inherit;
  color: #000;
  letter-spacing: inherit;
  padding: 0 0.04em;
  position: relative;
  isolation: isolate;
}
/* "Muskoka Lakes" sits on water: two layered waves in lake blues behind the lower part of the letters. */
.hero-title em::after,
.svc-title em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.44em;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='14' viewBox='0 0 44 14'%3E%3Cpath d='M0 8 Q11 3 22 8 T44 8 V14 H0Z' fill='%232f6f8c'/%3E%3C/svg%3E")
      0 100% / 0.62em 0.3em repeat-x,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='14' viewBox='0 0 60 14'%3E%3Cpath d='M0 7 Q15 1 30 7 T60 7 V14 H0Z' fill='%2393c4d8'/%3E%3C/svg%3E")
      0 100% / 0.9em 0.42em repeat-x;
  border-radius: 0 0 0.06em 0.06em;
}

/* ---- Hero entrance: the words rise in, the highlights draw, the photos open up. Motion only for visitors
   who have not asked for less of it; without JavaScript everything simply shows. ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.45em);
    animation: rise 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
    animation-delay: calc(0.12s + var(--i) * 0.055s);
  }
  /* The water fills in from the left after the heading arrives, then keeps flowing gently. */
  .js .hero-title em::after {
    clip-path: inset(0 100% 0 0);
    animation:
      fill-in 0.9s cubic-bezier(0.6, 0, 0.2, 1) 1.15s forwards,
      flow 7s linear infinite;
  }
  .hero-title em::after {
    animation: flow 7s linear infinite;
  }
  .js .hero-actions {
    opacity: 0;
    animation: fade 0.8s ease forwards;
  }
  .js .hero-actions {
    animation-delay: 0.85s;
  }
  .js .shot {
    clip-path: inset(100% 0 0 0);
    animation: open-up 1.1s cubic-bezier(0.7, 0, 0.2, 1) forwards;
    animation-delay: calc(0.85s + var(--i) * 0.09s);
  }
  .js .shot img {
    transform: scale(1.12);
    animation: settle 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
    animation-delay: calc(0.85s + var(--i) * 0.09s);
  }
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
@keyframes open-up {
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes settle {
  to {
    transform: scale(1);
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: clamp(22px, 2.6vw, 30px) 0 clamp(44px, 5.5vw, 84px);
}
.btn-quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--control-border);
}

/* The meta line above the photos, then the full-bleed strip of project photos. */
.strip-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px;
  padding: 0 clamp(12px, 1vw, 16px) 10px;
  font-size: 0.8rem;
  text-align: left;
}
.strip {
  display: flex;
  gap: 12px;
  height: clamp(260px, 30vw, 520px);
}
.shot {
  margin: 0;
  border-radius: 18px; /* same rounding as the service card photos */
  overflow: hidden;
  min-width: 0;
  background: var(--cream-2);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.shot:hover img {
  transform: scale(1.04);
}
.s1 {
  flex: 1.38;
}

.s2 {
  flex: 1.48;
}
.s3 {
  flex: 1.48;
}
.s4 {
  flex: 0.98;
}
.s5 {
  flex: 1.38;
}
.s6 {
  flex: 0.98;
}
.s7 {
  flex: 1.38;
}
@media (prefers-reduced-motion: reduce) {
  .shot img {
    transition: none;
  }
  .shot:hover img {
    transform: none;
  }
}

@media (max-width: 900px) {
  .top-nav {
    grid-template-columns: 1fr auto;
  }
  .top-nav a:not(.brand):not(.nav-cta) {
    display: none;
  }
  .top-nav .brand img {
    width: 158px;
  }
  .top {
    top: 10px;
    width: calc(100% - 20px);
  }
  .top-nav {
    padding: 7px 7px 7px 16px;
  }
  .hero-title {
    letter-spacing: -0.035em;
  }
  /* Phones: a swipeable row of photos instead of five thin slivers. */
  .strip {
    height: 420px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 12px;
    scrollbar-width: none;
  }
  .strip::-webkit-scrollbar {
    display: none;
  }
  .shot {
    flex: 0 0 78%;
    scroll-snap-align: center;
    border-radius: 6px;
  }
}

/* Hero headline lines: each sentence on one line from tablets up; phones let them wrap to stay readable. */
/* Two rows at every width: one half per row, never wrapping (sized above so the longer half always fits). */
.hero-title .line {
  display: block;
  white-space: nowrap;
}

/* Green action button (matches "Free estimate" in the top bar). */
.btn-green {
  background: var(--green);
  color: var(--on-green);
  box-shadow: 0 8px 22px rgb(30 59 47 / 0.28);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.btn-green:hover,
.btn-green:focus-visible {
  background: var(--green-mid);
  filter: none;
  transform: translateY(-1px);
}

/* Small line above the headline: what Backwoods does. */
.kicker {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px clamp(18px, 2.6vw, 34px);
  margin: 0 auto clamp(20px, 2.4vw, 28px);
  padding: 0 16px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.kicker li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* Fine-line tool icons in brand green. */
.kicker svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Trust badges under the button. */
.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: clamp(22px, 2.6vw, 32px) auto 0;
  padding: 0 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--green)
    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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* Project captions: slide up on hover; always shown on touch screens. */
.shot {
  position: relative;
}
.shot img {
  height: 114%;
  margin-top: -7%;
}
.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgb(10 20 14 / 0.62));
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.shot:hover figcaption,
.shot:focus-within figcaption {
  transform: none;
}
@media (hover: none) {
  .shot figcaption {
    transform: none;
  }
}

/* Entrance timing for the new pieces. */
@media (prefers-reduced-motion: no-preference) {
  .js .kicker,
  .js .trust {
    opacity: 0;
    animation: fade 0.8s ease forwards;
  }
  .js .kicker {
    animation-delay: 0.05s;
  }
  .js .trust {
    animation-delay: 0.7s;
  }
}
@keyframes fill-in {
  to {
    clip-path: inset(0 0 0 0);
  }
}
/* Each layer moves exactly one wave per cycle, in opposite directions, so the loop is seamless. */
@keyframes flow {
  to {
    background-position:
      -0.62em 100%,
      0.9em 100%;
  }
}

/* ---- Slow, endless scrolling bands (set up by site.js, which repeats the content once so the loop is seamless).
   Visitors who prefer less motion get still bands; the photos can still be swiped sideways. ---- */
.marquee-track {
  display: flex;
  width: max-content;
}
.strip.is-marquee {
  display: block;
  overflow: hidden;
}
.strip.is-marquee .marquee-track {
  height: 100%;
}
/* Space after every photo (not a flex gap), so the two copies are identical and the loop at -50% is seamless. */
.strip.is-marquee .shot {
  flex: none;
  height: 100%;
  margin-right: 12px;
}
/* Slot widths keep the same rhythm as before (wide, wide, wide, narrow, wide). */
.strip.is-marquee .s1,
.strip.is-marquee .s5,
.strip.is-marquee .s7 {
  width: clamp(240px, 24vw, 460px);
}
.strip.is-marquee .s2,
.strip.is-marquee .s3 {
  width: clamp(260px, 26vw, 500px);
}
.strip.is-marquee .s4,
.strip.is-marquee .s6 {
  width: clamp(180px, 17vw, 330px);
}
@media (prefers-reduced-motion: no-preference) {
  .strip.is-marquee .marquee-track {
    animation: marquee 70s linear infinite;
  }
  .strip.is-marquee:hover .marquee-track,
  .strip.is-marquee:focus-within .marquee-track {
    animation-play-state: paused;
  }
}
@media (prefers-reduced-motion: reduce) {
  .strip.is-marquee {
    overflow-x: auto;
    scrollbar-width: none;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 900px) {
  .strip.is-marquee {
    padding: 0;
    overflow: hidden;
  }
  .strip.is-marquee .shot {
    width: 72vw;
    border-radius: 6px;
  }
}

/* Phones: trust badges stack in one left-aligned column (ticks lined up), the column itself centred. */
@media (max-width: 640px) {
  .trust {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin-inline: auto;
    gap: 10px;
    text-align: left;
  }
}
/* Phones: a quieter, single row (smaller grey type, smaller icons). */
@media (max-width: 640px) {
  .kicker {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0 10px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--muted);
  }
  .kicker li {
    gap: 5px;
  }
  .kicker svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.7;
  }
}

/* ---- Outline header pill (and the raised green button) ----
   A clean white face sitting on a solid forest-green edge (like a thick slab seen slightly from above), plus a
   soft contact shadow. The green button is built the same way and sinks a little when pressed or hovered. */
.top {
  /* Frosted glass tinted the same cream as the page: on the page it reads as just a thin outline; over the
     photos it frosts them so the links stay crisp. */
  background: rgb(244 241 234 / 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgb(27 42 34 / 0.14);
  box-shadow: none;
}
.top.is-hidden {
  box-shadow: none;
}
/* "Free estimate": a flat forest-green button. */
.top-nav a.nav-cta {
  background: var(--green);
  color: var(--on-green);
  border: none;
  box-shadow: none;
  transition: background-color 0.2s ease;
}
.top-nav a.nav-cta:hover,
.top-nav a.nav-cta:focus-visible {
  background: var(--green-mid);
  transform: none;
  box-shadow: none;
}

/* ---- Services ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.services {
  padding: clamp(72px, 9vw, 140px) 0 clamp(64px, 8vw, 120px);
}
.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px clamp(32px, 6vw, 96px);
  margin-bottom: clamp(36px, 4.5vw, 60px);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
}
.section-label::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
}
.services-head h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #000;
}
.services-intro p {
  margin: 0 0 16px;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: var(--muted);
  max-width: 34em;
}
.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}
.text-arrow span[aria-hidden] {
  transition: transform 0.2s ease;
}
.text-arrow:hover span[aria-hidden],
.text-arrow:focus-visible span[aria-hidden] {
  transform: translateX(4px);
}
.text-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream-2);
  margin-bottom: 18px;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.service-photo::after {
  /* a soft darkening at the top so the number and icon always read */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 20 14 / 0.35), transparent 32%);
  pointer-events: none;
}
.service:hover .service-photo img,
.service:focus-within .service-photo img {
  transform: scale(1.05);
}
.service-num {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 18px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.service-icon {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.service-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.service p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
/* "Learn more" on each service card: an outlined pill button that fills green on hover. */
.service .text-arrow {
  align-self: flex-start;
  margin-top: auto;
  min-height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  font-size: 0.95rem;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.service .text-arrow:hover,
.service .text-arrow:focus-visible {
  background: var(--green);
  color: var(--on-green);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Cards rise in as they scroll into view (site.js adds .in-view); still for reduced motion / no JS. */
@media (prefers-reduced-motion: no-preference) {
  .js .service,
  .js .review {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.8s ease,
      transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 0.09s);
  }
  .js .service.in-view,
  .js .review.in-view {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
}
@media (max-width: 760px) {
  .services-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
/* Phones: swipe through the services. */
@media (max-width: 560px) {
  .service-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
    width: 100%;
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }
  .service-grid::-webkit-scrollbar {
    display: none;
  }
  .service {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}
/* Services line up with the floating header's edges. */
.services .wrap {
  width: min(1240px, 100% - 40px);
}
@media (max-width: 560px) {
  .services .service-grid {
    width: 100%;
  }
}

/* ---- About: a deep forest-green band ---- */
.about {
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(44 90 67 / 0.55), transparent 60%), var(--green);
  color: var(--on-green);
  padding: clamp(80px, 10vw, 150px) 0;
  overflow: hidden;
}
.about .wrap {
  width: min(1240px, 100% - 40px);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
/* Photo collage: a tall main photo, a smaller inset in a cream frame, and a slowly turning badge. */
.about-media {
  position: relative;
  padding: 0 14% 12% 0;
}
.about-main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.28);
}
.about-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 8px solid var(--cream);
  box-shadow: 0 24px 50px rgb(0 0 0 / 0.3);
}
.about-badge {
  position: absolute;
  top: 6%;
  right: 3%;
  width: clamp(96px, 10vw, 132px);
  height: auto;
}
.about-badge circle {
  fill: var(--cream);
}
.about-badge text {
  font: 700 8.4px/1 var(--font-body);
  letter-spacing: 0.1em;
  fill: var(--green);
}

@media (prefers-reduced-motion: no-preference) {
  .about-badge text {
    transform-origin: 60px 60px;
    animation: spin 26s linear infinite;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.about-text .section-label {
  color: var(--amber-light, #e9b867);
}
.about-text h2 {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
}
.about-lead {
  margin: 0 0 34px;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.6;
  color: var(--on-green-muted);
  max-width: 34em;
}
.values {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  gap: 22px;
}
.values li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.values svg {
  width: 22px;
  height: 22px;
  padding: 11px;
  box-sizing: content-box;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.08);
  fill: none;
  stroke: var(--amber-light, #e9b867);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.values h3 {
  margin: 2px 0 4px;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.values p {
  margin: 0;
  color: var(--on-green-muted);
  font-size: 0.98rem;
}
.about .text-arrow {
  color: var(--amber-light, #e9b867);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-media {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Meet the owner: a personal note card on the green band. */
.owner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "photo quote"
    "photo name";
  gap: 6px 20px;
  align-items: center;
  margin: 0 0 36px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
}
/* A portrait-shaped photo that runs the full height of the card. */
.owner-photo {
  grid-area: photo;
  width: clamp(96px, 9vw, 116px);
  height: 100%;
  min-height: 136px;
  border-radius: 14px;
  object-fit: cover;
  border: 3px solid var(--cream);
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.25);
  align-self: stretch;
}
.owner blockquote {
  grid-area: quote;
  margin: 0;
}
.owner blockquote p {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.55;
  font-style: italic;
}
.owner figcaption {
  grid-area: name;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 6px;
}
.owner-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--amber-light, #e9b867);
}
.owner-role {
  font-size: 0.88rem;
  color: var(--on-green-muted);
}
@media (max-width: 520px) {
  .owner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "quote"
      "name";
    gap: 14px;
  }
  .owner-photo {
    width: 104px;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
}

/* ---- Estimate: one large rounded card, green guidance panel + form ---- */
.estimate-section {
  padding: clamp(72px, 9vw, 140px) 0;
}
.estimate-card {
  width: min(1240px, 100% - 40px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 1px 2px rgb(15 34 25 / 0.05),
    0 30px 70px rgb(15 34 25 / 0.12);
}
.estimate-aside {
  position: relative;
  padding: clamp(32px, 4.5vw, 60px);
  background:
    radial-gradient(120% 70% at 0% 0%, rgb(44 90 67 / 0.6), transparent 60%), var(--green);
  color: var(--on-green);
  display: flex;
  flex-direction: column;
}
.estimate-aside .section-label {
  color: #e9b867;
}
.estimate-aside h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: #fff;
}
.estimate-sub {
  margin: 0 0 34px;
  color: var(--on-green-muted);
  font-size: 1.02rem;
}
.steps {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  gap: 0;
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 22px;
}
/* a thin line linking the steps */
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 16.5px;
  top: 36px;
  bottom: 2px;
  width: 1px;
  background: rgb(255 255 255 / 0.18);
}
.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #e9b867;
  color: #e9b867;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.steps h3 {
  margin: 5px 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}
.steps p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--on-green-muted);
}
.reply-from {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(255 255 255 / 0.12);
}
.reply-from img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  flex: none;
}
.reply-from p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--on-green-muted);
}
.reply-from b {
  color: #fff;
}
.estimate-aside .contact-lines {
  margin: 18px 0 0;
}
.estimate-aside .contact-lines a {
  color: #fff;
}

.estimate-main {
  padding: clamp(28px, 4.5vw, 60px);
}
.estimate-main .form {
  display: grid;
  gap: 18px;
}
/* Fields: soft cream wells that turn white with a green glow when focused. */
.estimate-main input,
.estimate-main textarea {
  border: 1.5px solid transparent;
  background: var(--cream-1);
  border-radius: 14px;
  min-height: 52px;
  padding: 12px 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.estimate-main input:hover,
.estimate-main textarea:hover {
  border-color: var(--border);
}
.estimate-main input:focus,
.estimate-main textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px rgb(44 90 67 / 0.14);
}
.estimate-main [aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-tint);
}
.estimate-main label,
.chips legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.opt {
  font-weight: 400;
  color: var(--muted);
}
/* Service pills (radio buttons). */
.chips {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips legend {
  padding: 0;
  margin-bottom: 10px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.chip svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chip:hover span {
  border-color: var(--green-mid);
}
.chip input:focus-visible + span {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
.chip input:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.chip input:checked + span svg {
  stroke: #fff;
}
.btn-send {
  justify-self: stretch;
  min-height: 56px;
  font-size: 1.02rem;
  gap: 10px;
}
.btn-send span {
  transition: transform 0.2s ease;
}
.btn-send:hover span {
  transform: translateX(4px);
}
.hint.fine {
  margin: -4px 0 0;
  text-align: center;
}
/* Thank-you state */
.estimate-main .thanks {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: clamp(40px, 6vw, 80px) 10px;
  border: 0;
}
.estimate-main .thanks[hidden] {
  display: none;
}
.thanks-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  margin-bottom: 10px;
}
.thanks-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.estimate-main .thanks h3 {
  font-size: 1.6rem;
  margin: 0;
}
.estimate-main .thanks p {
  color: var(--muted);
  max-width: 26em;
}

@media (max-width: 900px) {
  .estimate-card {
    grid-template-columns: 1fr;
  }
  .reply-from {
    margin-top: 0;
  }
}
@media (max-width: 520px) {
  .estimate-card {
    width: 100%;
    border-radius: 0;
  }
  .estimate-section {
    padding: 48px 0 0;
  }
}

/* ---- Hamburger + slide-out menu (phones and tablets) ---- */
.menu-btn {
  display: none;
}
@media (max-width: 900px) {
  .top-nav {
    grid-template-columns: 1fr auto auto;
    column-gap: 8px;
  }
  .top-nav a.nav-cta {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.92rem;
  }
  .menu-btn {
    display: inline-grid;
    place-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    color: var(--ink);
  }
  .menu-btn:hover {
    background: rgb(27 42 34 / 0.06);
  }
  .menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .menu-btn span:nth-child(2) {
    width: 14px;
    justify-self: end;
  }
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(15 34 25 / 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.drawer {
  position: fixed;
  z-index: 50;
  top: 10px;
  right: 10px;
  bottom: 10px;
  width: min(380px, calc(100% - 20px));
  display: flex;
  flex-direction: column;
  padding: 18px 22px 24px;
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.3);
  transform: translateX(calc(100% + 20px));
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
  overflow-y: auto;
}
.menu-open .drawer {
  transform: none;
}
.menu-open .drawer-backdrop {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .drawer,
  .drawer-backdrop {
    transition: none;
  }
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.drawer-head img {
  width: 200px;
  height: auto;
}
.drawer-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(15 34 25 / 0.08);
}
.drawer-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
}
.drawer-nav {
  display: grid;
  padding: 18px 0;
}
.drawer-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.drawer-nav a:hover {
  color: var(--green-mid);
}
.drawer-num {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green-mid);
}
/* Links slide in one after another as the menu opens. */
@media (prefers-reduced-motion: no-preference) {
  .drawer-nav a {
    opacity: 0;
    transform: translateX(24px);
    transition:
      opacity 0.4s ease,
      transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1);
  }
  .menu-open .drawer-nav a {
    opacity: 1;
    transform: none;
  }
  .menu-open .drawer-nav a:nth-child(1) {
    transition-delay: 0.12s;
  }
  .menu-open .drawer-nav a:nth-child(2) {
    transition-delay: 0.17s;
  }
  .menu-open .drawer-nav a:nth-child(3) {
    transition-delay: 0.22s;
  }
  .menu-open .drawer-nav a:nth-child(4) {
    transition-delay: 0.27s;
  }
}
.drawer-foot {
  margin-top: auto;
  display: grid;
  gap: 14px;
}
.drawer-cta {
  width: 100%;
  min-height: 54px;
}
.drawer-foot .contact-lines {
  margin: 0;
  text-align: center;
}
.drawer-place {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
/* Never show the drawer on wide screens, even if it was left open. */
@media (min-width: 901px) {
  .drawer,
  .drawer-backdrop {
    display: none !important;
  }
}

/* ---- Footer: closing call to action, link columns, bottom bar, faint wordmark ---- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: radial-gradient(90% 60% at 50% 0%, rgb(44 90 67 / 0.55), transparent 70%), #142a20;
  color: var(--on-green-muted);
  padding-top: clamp(72px, 9vw, 130px);
}
.site-footer .wrap {
  width: min(1240px, 100% - 40px);
}
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.footer-cta h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
}
.footer-btn {
  background: var(--cream);
  color: var(--green);
  box-shadow: none;
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.02rem;
}
.footer-btn:hover,
.footer-btn:focus-visible {
  background: #fff;
  filter: none;
}
.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px clamp(24px, 4vw, 64px);
  padding: clamp(48px, 6vw, 72px) 0;
}
.footer-brand img {
  width: 220px;
  height: auto;
  margin-bottom: 18px;
}
.footer-brand p {
  margin: 0;
  max-width: 30em;
  line-height: 1.6;
}
.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-links h3 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e9b867;
}
.footer-links a {
  width: fit-content;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-links p {
  margin: 0;
}
/* phone and email stacked (the " · " between them is hidden) */
.footer-contact {
  font-size: 0;
  display: grid;
  gap: 10px;
}
.footer-contact a {
  font-size: 1rem;
}
.footer-place {
  font-size: 0.92rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.88rem;
}
.footer-bottom p {
  margin: 0;
}
.to-top {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.to-top:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* The big faint wordmark that closes the page: the real logo lettering (backwoods-wordmark.svg) used as a
   mask over a soft white-to-transparent gradient, so it reads like the logo pressed into the green. */
.footer-mark {
  /* Same width as the footer columns above it. */
  width: min(1240px, 100% - 40px);
  margin: 8px auto 0;
  aspect-ratio: 1533 / 147;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.16) 0%, rgb(255 255 255 / 0.03) 100%);
  -webkit-mask: url("assets/backwoods-wordmark.svg") center / contain no-repeat;
  mask: url("assets/backwoods-wordmark.svg") center / contain no-repeat;
  pointer-events: none;
  transform: translateY(14%);
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-cta .footer-btn {
    width: 100%;
  }
}

/* The send button spans the form (the older ".form .btn" rule would otherwise pin it left). */
.estimate-main .form .btn-send {
  justify-self: stretch;
}

/* ---- thanks.html (after a form sent without JavaScript) ---- */
.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.top-nav.simple {
  grid-template-columns: 1fr auto;
}
.thanks-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 140px 20px 80px;
}
.thanks-card {
  width: min(560px, 100%);
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 1px 2px rgb(15 34 25 / 0.05),
    0 30px 70px rgb(15 34 25 / 0.12);
}
.thanks-card h1 {
  max-width: none;
  margin: 6px 0 0;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.thanks-card p {
  margin: 0 0 18px;
  color: var(--muted);
}
.thanks-card .thanks-icon.problem {
  background: var(--error);
}
.thanks-footer {
  padding-top: 0;
}

/* Service pills sit in one row: compact enough to fit beside each other on wider screens; on phones the row
   scrolls sideways instead of wrapping. */
.chips {
  display: block;
  min-width: 0;
}
.chip-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 4px;
  margin: -2px -2px 0;
}
.chip-row::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
}
.chip span {
  padding: 0 15px;
  gap: 7px;
  white-space: nowrap;
}
@media (max-width: 560px) {
  /* let the row run to the card's edge so it reads as swipeable */
  .chip-row {
    margin-right: calc(-1 * clamp(28px, 4.5vw, 60px));
    padding-right: clamp(28px, 4.5vw, 60px);
  }
}

/* Footer bottom bar: © left, a tiny "Admin" link centred, "Back to top" right. */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.footer-bottom > :last-child {
  justify-self: end;
}
.admin-link {
  justify-self: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgb(255 255 255 / 0.45);
  text-decoration: none;
}
.admin-link:hover,
.admin-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 560px) {
  .footer-bottom {
    grid-template-columns: 1fr auto;
  }
  .footer-bottom p {
    grid-column: 1 / -1;
  }
  .footer-bottom .admin-link {
    justify-self: start;
  }
}
.thanks-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
}

/* "your project?" always together on the second line. */
.footer-cta h2 {
  max-width: none;
}
.footer-cta h2 .line-2 {
  display: block;
  white-space: nowrap;
}

/* ---- Service pages (decks.html, fences.html, renovations.html, repairs.html) ---- */
.service-page .wrap {
  width: min(1240px, 100% - 40px);
}
.svc-hero {
  padding: calc(clamp(28px, 5vw, 72px) + 84px) 0 clamp(48px, 6vw, 90px);
}
.svc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 0.88rem;
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.crumbs [aria-current] {
  color: var(--ink);
  font-weight: 600;
}
.svc-label-icon svg {
  width: 16px;
  height: 16px;
  margin-right: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
}
.svc-hero h1 {
  max-width: 12ch;
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #000;
}
.svc-lead {
  margin: 0 0 30px;
  max-width: 34em;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}
.svc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin: 0;
}
.svc-hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgb(15 34 25 / 0.18);
}

/* Service hero "wow": a layered photo (main shot, a smaller inset shot, the spinning Backwoods badge), the key
   words underlined with an amber brush stroke, and the service name as a huge faint watermark behind it all. */
.svc-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.svc-hero-media {
  position: relative;
}
.svc-hero-media .svc-hero-photo {
  display: block;
  max-height: max(440px, 100vh - 170px);
}
.svc-hero-text {
  padding-top: clamp(0px, 1.5vw, 20px);
}
/* Three small project photos under the buttons. */
.svc-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  max-width: 520px;
  margin-top: clamp(32px, 4vw, 52px);
}
.svc-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgb(15 34 25 / 0.16);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.svc-thumbs img:hover {
  transform: translateY(-4px) rotate(-1deg);
}
.svc-badge {
  top: 16%;
  right: auto;
  left: clamp(-66px, -5vw, -20px);
  filter: drop-shadow(0 14px 24px rgb(15 34 25 / 0.2));
}
.svc-title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  isolation: isolate;
}
.svc-hero-media {
  container-type: inline-size;
}
/* The service name, faint and huge, sitting along the bottom of the main photo (clipped to its corners). */
.svc-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(to top, rgb(15 34 25 / 0.42), rgb(15 34 25 / 0) 38%);
  pointer-events: none;
  user-select: none;
}
.svc-watermark::before {
  content: attr(data-word);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25cqw;
  line-height: 0.74;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: rgb(255 255 255 / 0.4);
}
.svc-watermark[data-len="long"]::before {
  font-size: 18cqw;
}

@media (prefers-reduced-motion: no-preference) {
  .js .svc-title .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.45em);
    animation: rise 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
    animation-delay: calc(0.1s + var(--i) * 0.06s);
  }
  .js .svc-title em::after {
    clip-path: inset(0 100% 0 0);
    animation:
      fill-in 0.9s cubic-bezier(0.6, 0, 0.2, 1) 0.9s forwards,
      flow 7s linear infinite;
  }
  .svc-title em::after {
    animation: flow 7s linear infinite;
  }
  .js .svc-lead,
  .js .svc-actions {
    opacity: 0;
    animation: fade 0.8s ease 0.55s forwards;
  }
  .js .svc-actions {
    animation-delay: 0.7s;
  }
  .js .svc-hero-photo {
    clip-path: inset(100% 0 0 0 round 24px);
    animation: open-up 1.1s cubic-bezier(0.7, 0, 0.2, 1) 0.2s forwards;
  }
  .js .svc-thumbs img {
    opacity: 0;
    transform: translateY(24px);
    animation: rise 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
  }
  .js .svc-thumbs .t1 {
    animation-delay: 0.9s;
  }
  .js .svc-thumbs .t2 {
    animation-delay: 1s;
  }
  .js .svc-thumbs .t3 {
    animation-delay: 1.1s;
  }
  .js .svc-badge {
    opacity: 0;
    transform: scale(0.6) rotate(-40deg);
    animation: rise 0.9s cubic-bezier(0.3, 1.4, 0.4, 1) 1.15s forwards;
  }
  .js .svc-watermark {
    opacity: 0;
    animation: fade 1.4s ease 1s forwards;
  }
}

.svc-section {
  padding: clamp(56px, 7vw, 110px) 0;
}
.svc-section > h2,
.svc-how h2,
.svc-faq-wrap h2,
.svc-others h2 {
  margin: 0 0 clamp(28px, 3.5vw, 44px);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #000;
}
.includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.includes li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 34 25 / 0.05);
}
.includes svg {
  width: 18px;
  height: 18px;
  padding: 8px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--green);
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.includes h3 {
  margin: 4px 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
}
.includes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* "How it works" on a green band, reusing the estimate card's steps. */
.svc-band {
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(44 90 67 / 0.55), transparent 60%), var(--green);
  color: var(--on-green);
  padding: clamp(64px, 8vw, 120px) 0;
}
.svc-how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.svc-band .section-label {
  color: #e9b867;
}
.svc-band h2 {
  color: #fff !important;
}

.svc-gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}
.svc-gallery img {
  width: 100%;
  height: clamp(220px, 28vw, 420px);
  object-fit: cover;
  border-radius: 18px;
}

.svc-faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: start;
  padding-top: 0;
}
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 34 25 / 0.05);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-1);
  color: var(--green);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.6;
}

.svc-others {
  background: var(--cream-2);
  padding: clamp(64px, 8vw, 110px) 0;
}
.service-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.svc-others a.service-photo {
  display: block;
}

@media (max-width: 900px) {
  .svc-hero-grid,
  .svc-how,
  .svc-faq-wrap {
    grid-template-columns: 1fr;
  }
  .svc-hero-photo {
    aspect-ratio: 4 / 3;
  }
  .svc-hero-media {
    margin: 8px 0 40px;
  }
  .svc-badge {
    top: -30px;
    left: auto;
    right: 14px;
    width: 92px;
  }
  .includes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .includes {
    grid-template-columns: 1fr;
  }
  .svc-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .svc-gallery img:first-child {
    grid-column: 1 / -1;
  }
  .service-grid.three .service {
    flex-basis: 70%;
  }
}
/* "the first call." kept together on its own line (service pages). */
.svc-how h2 .line-2 {
  display: block;
  white-space: nowrap;
}
/* "How it works" band: less space below the steps. */
.svc-band {
  padding-bottom: clamp(52px, 6.5vw, 96px);
}
.svc-band .steps {
  margin-bottom: 0;
}
.svc-band .steps li:last-child {
  padding-bottom: 0;
}

/* ---- Estimate form: photo picker (site.js shrinks each photo and shows it here before sending) ---- */
.photo-input {
  /* Visually hidden but still focusable and usable by keyboard and screen readers via its label. */
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}
.photo-drop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px dashed var(--control-border);
  border-radius: var(--radius);
  background: var(--cream-1);
  font-weight: 400;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.photo-drop svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: var(--green);
  fill: none;
  stroke: var(--on-green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photo-drop b {
  font-weight: 700;
  color: var(--green);
}
.photo-drop-sub {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
}
.photo-drop:hover,
.photo-drop.is-over {
  border-color: var(--green);
  background: #f0f4f1;
}
.photo-input:focus-visible + .photo-drop {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
.photo-field.is-full .photo-drop {
  opacity: 0.55;
  cursor: not-allowed;
}
.photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.photo-list li {
  position: relative;
  width: 76px;
  height: 76px;
}
.photo-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgb(15 34 25 / 0.14);
}
.photo-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font: 700 1rem/1 var(--font-body);
  cursor: pointer;
}
.photo-remove:hover,
.photo-remove:focus-visible {
  background: var(--error);
}
.photo-status {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.photo-status:empty {
  display: none;
}
.photo-status.is-problem {
  color: var(--error);
  font-weight: 600;
}

/* ---- About: a still topographic map behind the section, an entrance as it scrolls into view. As it scrolls past,
   the photos drift and the badge turns (site.js). ---- */
.about {
  position: relative;
  isolation: isolate;
}
.about::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/contours.svg") 0 0 / 1200px 900px repeat;
  opacity: 0.1;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .about .about-main {
    clip-path: inset(100% 0 0 0 round 22px);
  }
  .js .about .about-inset,
  .js .about .about-badge,
  .js .about .split-title .w,
  .js .about .about-lead,
  .js .about .owner,
  .js .about .values li,
  .js .about .about-btn {
    opacity: 0;
  }
  .js .about .split-title .w {
    display: inline-block;
    transform: translateY(0.45em);
  }
  .js .about .about-inset {
    transform: translateY(40px) scale(0.94);
  }
  .js .about .about-badge {
    transform: scale(0.5) rotate(-60deg);
  }
  .js .about .about-lead,
  .js .about .owner,
  .js .about .about-btn {
    transform: translateY(24px);
  }
  .js .about .values li {
    transform: translateX(28px);
  }
  .about.in-view .about-main {
    animation: open-up 1.2s cubic-bezier(0.7, 0, 0.2, 1) 0.1s forwards;
  }
  .about.in-view .about-inset {
    animation: rise 1s cubic-bezier(0.2, 0.75, 0.2, 1) 0.75s forwards;
  }
  .about.in-view .about-badge {
    animation: rise 1s cubic-bezier(0.3, 1.4, 0.4, 1) 1.05s forwards;
  }
  .about.in-view .split-title .w {
    animation: rise 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
    animation-delay: calc(0.25s + var(--i) * 0.07s);
  }
  .about.in-view .about-lead {
    animation: rise 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) 0.65s forwards;
  }
  .about.in-view .owner {
    animation: rise 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) 0.8s forwards;
  }
  .about.in-view .values li {
    animation: rise 0.8s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
  }
  .about.in-view .values li:nth-child(1) {
    animation-delay: 0.95s;
  }
  .about.in-view .values li:nth-child(2) {
    animation-delay: 1.07s;
  }
  .about.in-view .values li:nth-child(3) {
    animation-delay: 1.19s;
  }
  .about.in-view .about-btn {
    animation: rise 0.8s cubic-bezier(0.2, 0.75, 0.2, 1) 1.3s forwards;
  }
}

/* About: the amber "Request a free estimate" button, with its arrow nudging on hover. */
.about-btn {
  gap: 10px;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.about-btn span[aria-hidden] {
  transition: transform 0.2s ease;
}
.about-btn:hover,
.about-btn:focus-visible {
  transform: translateY(-1px);
}
.about-btn:hover span[aria-hidden],
.about-btn:focus-visible span[aria-hidden] {
  transform: translateX(4px);
}

/* ---- Estimate form card: a little more depth, and a gentle lift while the pointer is over it. ---- */
.estimate-card {
  box-shadow:
    0 1px 2px rgb(15 34 25 / 0.06),
    0 10px 24px rgb(15 34 25 / 0.07),
    0 34px 80px rgb(15 34 25 / 0.14);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.estimate-card:hover,
.estimate-card:focus-within {
  box-shadow:
    0 2px 4px rgb(15 34 25 / 0.07),
    0 16px 34px rgb(15 34 25 / 0.09),
    0 48px 100px rgb(15 34 25 / 0.18);
}
@media (prefers-reduced-motion: no-preference) {
  .estimate-card:hover {
    transform: translateY(-4px);
  }
}

/* About: the inset is a drawn deck plan on grid paper, taped on and turned slightly like a pinned shop drawing. */
.about-plan {
  overflow: visible;
  rotate: -3deg;
  background: #faf8f3;
}
.about-plan text {
  font-family: var(--font-body);
  fill: var(--green);
}
.about-plan .plan-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.about-plan .plan-sub,
.about-plan .plan-note {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: rgb(30 59 47 / 0.7);
}
.about-plan .plan-dim {
  font-size: 11px;
  font-weight: 700;
  fill: var(--amber-dark);
}
.about-plan .plan-tape {
  fill: rgb(227 155 43 / 0.55);
}

/* Keep a short phrase on one line (e.g. "the lake." in the services heading). */
.nowrap {
  white-space: nowrap;
}

/* Hero kicker: "Renovations" is shortened to "Renos" on phones; screen readers still hear the full word. */
.kicker-short {
  display: none;
}
@media (max-width: 560px) {
  .kicker-short {
    display: inline;
  }
  .kicker-full {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---- Reviews: a featured quote on forest green beside two cream-white cards. Real customer words only. ---- */
.reviews {
  padding: clamp(80px, 10vw, 150px) 0 0;
}
.reviews .wrap {
  width: min(1240px, 100% - 40px);
}
.reviews-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 4.5vw, 60px);
}
.reviews-head h2 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #000;
}
.reviews-sub {
  margin: 0;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
}
.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(16px, 2vw, 24px);
}
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgb(30 59 47 / 0.08);
  box-shadow:
    0 1px 2px rgb(15 34 25 / 0.05),
    0 18px 44px rgb(15 34 25 / 0.08);
  overflow: hidden;
}
.review blockquote {
  position: relative;
  margin: 0;
  flex: 1;
}
.review blockquote p {
  margin: 0;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
}
.review-mark {
  display: block;
  height: 0.5em;
  margin-bottom: -6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--amber);
  pointer-events: none;
}
.review figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.review-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: var(--on-green);
  font: 700 1.1rem/1 var(--font-display);
}
.review-who {
  display: grid;
  gap: 2px;
  margin-right: auto;
}
.review-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
}
.review-place {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--muted);
}
.review-place svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.review-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
}

/* The featured review: forest green, larger type, spanning both rows. */
.review-feature {
  grid-row: 1 / span 2;
  justify-content: space-between;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(44 90 67 / 0.7), transparent 60%), var(--green);
  border: 0;
  box-shadow:
    0 2px 4px rgb(15 34 25 / 0.08),
    0 30px 70px rgb(15 34 25 / 0.2);
}
.review-feature > * {
  position: relative;
}
.review-feature blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.9vw, 2.5rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #fff;
}
.review-feature .review-mark {
  font-size: clamp(5.5rem, 8vw, 7rem);
}
.review-feature figcaption {
  border-top-color: rgb(255 255 255 / 0.16);
}
.review-feature .review-avatar {
  background: var(--amber);
  color: var(--ink);
}
.review-feature .review-name {
  color: #fff;
}
.review-feature .review-place {
  color: var(--on-green-muted);
}
.review-feature .review-tag {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}
@media (max-width: 900px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
  .review-feature {
    grid-row: auto;
  }
}

/* Reviews -> estimate: room below the reviews, then the estimate on a deeper sand band with a soft top edge, so
   the two read as separate sections and the white form card stands out. */
.reviews {
  padding-bottom: clamp(80px, 10vw, 140px);
}
.estimate-section {
  background: linear-gradient(180deg, var(--cream-2) 0%, #f0ece3 100%);
  border-top: 1px solid rgb(30 59 47 / 0.08);
}
