/* ==========================================================
   Beena Lawn Care
   Tokens come from the logo: deep forest leaf + lime leaf.
   ========================================================== */

:root {
  --forest-950: #0B2213;
  --forest-900: #10301B;
  --forest-800: #164024;
  --forest-700: #1D5A2E;
  --leaf-600: #2F7D32;
  --lime-400: #A8D531;
  --lime-300: #C3E46A;
  --paper: #F3F6EE;
  --surface: #FFFFFF;
  --ink: #132017;
  --ink-soft: #3D4B41;
  --line: #D6E0D0;
  --error: #B42318;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-3: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.5rem + 3.2vw, 4.25rem);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgb(16 48 27 / 0.06), 0 12px 32px -12px rgb(16 48 27 / 0.22);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 900ms;

  --header-h: 72px;
  --gutter: 16px;

  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-family: var(--font-body); font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--lime-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lime-400);
  color: var(--forest-950);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: none; }

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

.section { padding-block: clamp(72px, 9vw, 128px); }

.section-lede {
  margin-top: 16px;
  max-width: 54ch;
  font-size: var(--step-1);
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 54px; padding-inline: 28px; font-size: var(--step-1); }
.btn-block { width: 100%; }

.btn-lime { background: var(--lime-400); color: var(--forest-950); }
.btn-lime:hover { background: var(--lime-300); }

.btn-forest { background: var(--forest-700); color: #fff; }
.btn-forest:hover { background: var(--forest-800); }

.btn-ghost { border-color: rgb(255 255 255 / 0.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / 0.08); }

.btn-ghost-dark { border-color: rgb(255 255 255 / 0.35); color: #fff; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--forest-900);
  cursor: pointer;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.icon-btn:hover { border-color: var(--forest-700); }
.icon-btn:disabled { opacity: 0.4; cursor: default; }
.icon-btn svg { width: 20px; height: 20px; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  color: #fff;
  transition: background-color var(--dur) ease, box-shadow var(--dur) ease;
}
.site-header.is-scrolled {
  background: rgb(11 34 19 / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand img { width: 34px; height: auto; }

.primary-nav ul { list-style: none; display: flex; gap: 4px; }
.primary-nav a:not(.btn) {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  color: rgb(255 255 255 / 0.86);
  transition: color var(--dur-fast) ease;
}
.primary-nav a:not(.btn):hover { color: #fff; }

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--lime-400); }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-right: -8px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu sheet */
@media (max-width: 959px) {
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    padding: 12px var(--gutter) 24px;
    background: var(--forest-950);
    box-shadow: 0 24px 40px -16px rgb(0 0 0 / 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  }
  .primary-nav ul { flex-direction: column; }
  .primary-nav a:not(.btn) { padding: 14px 4px; font-size: var(--step-1); border-bottom: 1px solid rgb(255 255 255 / 0.08); border-radius: 0; }
  .nav-cta { width: 100%; margin-top: 16px; }
  .site-header.menu-open { background: var(--forest-950); }
}

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 12px; }
  .primary-nav ul { gap: 0; }
  .primary-nav a { white-space: nowrap; }
  .brand { white-space: nowrap; }
  .nav-cta { min-height: 44px; padding: 8px 20px; }
}
@media (min-width: 1180px) {
  .primary-nav { gap: 16px; }
  .primary-nav ul { gap: 4px; }
  .header-phone { display: inline-flex; order: 3; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(100svh, 880px);
  padding: calc(var(--header-h) + 56px) 0 148px;
  background: var(--forest-900);
  color: #fff;
}

/* Layers, back to front: photo, shade, light + grain, stripe curtain, copy */
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
  animation: settle 2800ms var(--ease-out) both;
}
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgb(11 34 19 / 0.7) 0%, rgb(11 34 19 / 0.72) 40%, rgb(11 34 19 / 0.92) 100%);
}
@media (min-width: 768px) {
  .hero-shade {
    background:
      linear-gradient(90deg, rgb(11 34 19 / 0.92) 0%, rgb(11 34 19 / 0.8) 30%, rgb(11 34 19 / 0.38) 62%, rgb(11 34 19 / 0.12) 100%),
      linear-gradient(180deg, rgb(11 34 19 / 0.55) 0%, transparent 26%, transparent 68%, rgb(11 34 19 / 0.5) 100%);
  }
}

/* Mow-stripe curtain: alternating forest bands part to reveal the lawn, like passes of a mower */
.hero-stripes {
  position: absolute;
  inset: -10% -20%;
  z-index: -1;
  display: flex;
  transform: skewX(-8deg);
  pointer-events: none;
}
.hero-stripes span {
  flex: 1;
  background: var(--forest-800);
  transform-origin: bottom;
  animation: mow-away 1000ms cubic-bezier(0.7, 0, 0.2, 1) both;
}
.hero-stripes span:nth-child(even) { background: var(--forest-900); transform-origin: top; }
.hero-stripes span:nth-child(1) { animation-delay: 150ms; }
.hero-stripes span:nth-child(2) { animation-delay: 210ms; }
.hero-stripes span:nth-child(3) { animation-delay: 270ms; }
.hero-stripes span:nth-child(4) { animation-delay: 330ms; }
.hero-stripes span:nth-child(5) { animation-delay: 390ms; }
.hero-stripes span:nth-child(6) { animation-delay: 450ms; }
.hero-stripes span:nth-child(7) { animation-delay: 510ms; }
.hero-stripes span:nth-child(8) { animation-delay: 570ms; }
.hero-stripes span:nth-child(9) { animation-delay: 630ms; }
.hero-stripes span:nth-child(10) { animation-delay: 690ms; }
@keyframes mow-away { from { transform: scaleY(1); } to { transform: scaleY(0); } }

.hero-inner { position: relative; }

/* Signed locally: leaf mark, fine divider, italic serif line */
.signed {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--step-1);
  color: rgb(255 255 255 / 0.9);
  animation: rise-small 700ms var(--ease-out) 700ms both;
}
.signed img { width: 30px; height: auto; }
.signed-rule { width: 1px; height: 30px; background: rgb(255 255 255 / 0.3); }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.1rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--lime-300); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: block; animation: rise 1000ms var(--ease-out) both; }
.hero h1 .line:nth-child(1) > span { animation-delay: 820ms; }
.hero h1 .line:nth-child(2) > span { animation-delay: 940ms; }

.hero-lede {
  margin-top: 24px;
  max-width: 48ch;
  font-size: var(--step-1);
  color: rgb(255 255 255 / 0.86);
  animation: rise-small 800ms var(--ease-out) 1120ms both;
}

.hero-actions {
  margin-top: 36px;
  animation: rise-small 800ms var(--ease-out) 1220ms both;
}

/* One frosted capsule holding both actions */
.hero-capsule {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.18);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.6);
}
.capsule-primary,
.capsule-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  touch-action: manipulation;
}
.capsule-primary {
  gap: 10px;
  padding: 0 24px;
  background: var(--lime-400);
  color: var(--forest-950);
  font-weight: 600;
  font-size: var(--step-1);
  transition: background-color 250ms ease, padding 400ms var(--ease-out), transform var(--dur-fast) ease;
}
.capsule-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--forest-900);
  transition: transform 400ms var(--ease-out);
}
.capsule-primary:hover { background: var(--lime-300); padding-right: 28px; }
.capsule-primary:hover .capsule-dot { transform: scale(1.6); }
.capsule-secondary {
  gap: 8px;
  padding: 0 20px;
  color: #fff;
  font-weight: 500;
  font-size: var(--step-1);
  transition: background-color 250ms ease, transform var(--dur-fast) ease;
}
.capsule-secondary svg { width: 17px; height: 17px; opacity: 0.7; transition: transform 400ms var(--ease-out), opacity 250ms ease; }
.capsule-secondary:hover { background: rgb(255 255 255 / 0.1); }
.capsule-secondary:hover svg { transform: translateX(3px); opacity: 1; }
.capsule-primary:active, .capsule-secondary:active { transform: scale(0.97); }

.hero-call { margin-top: 16px; font-size: var(--step--1); color: rgb(255 255 255 / 0.74); }
.hero-call a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 0.35); padding-block: 6px; transition: border-color 200ms ease; }
.hero-call a:hover { border-color: var(--lime-300); }

@media (max-width: 400px) {
  .capsule-primary { padding: 0 18px; font-size: var(--step-0); }
  .capsule-secondary { padding: 0 14px; font-size: var(--step-0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(110%); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-small {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.stars { color: #F6C445; letter-spacing: 2px; white-space: nowrap; flex: none; }

/* ---------- Trust card (overlaps the bottom of the hero) ---------- */

.trust {
  position: relative;
  z-index: 2;
  margin-top: -84px;
}
.trust-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(16 48 27 / 0.06), 0 32px 64px -28px rgb(11 34 19 / 0.45);
  animation: rise-small 900ms var(--ease-out) 1350ms both;
}
@media (min-width: 900px) {
  .trust-list { padding: 28px 36px; }
}
@media (max-width: 599px) {
  .trust .trust-list li { flex-direction: column; align-items: flex-start; gap: 10px; }
}
.trust-list li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--step--1); color: var(--ink-soft); line-height: 1.4; }
.trust-list strong { display: block; color: var(--ink); font-size: var(--step-0); }
.trust-list svg { flex: none; width: 24px; height: 24px; color: var(--leaf-600); margin-top: 2px; }

@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ---------- Services ---------- */

.services-grid { display: grid; gap: 40px; }

.services-photo { display: none; }

.service-list { list-style: none; display: grid; gap: 12px; }

.service {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.service-thumb {
  width: 84px; height: 84px;
  border-radius: 12px;
  object-fit: cover;
}
.service h3 { font-size: var(--step-1); font-weight: 650; }
.service p { margin-top: 4px; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.5; }

@media (min-width: 960px) {
  .services-grid { grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: start; }
  .services-intro { align-self: stretch; }

  /* Only the photo sticks, so a tall portrait frame still fits the screen */
  .services-photo {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    margin-top: 36px;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - var(--header-h) - 48px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--forest-800);
  }
  /* Photos change with a top-down wipe, the same "mower pass" as the hero stripes */
  .services-photo img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    clip-path: inset(0 0 100% 0);
    transform: scale(1.08);
    transition: clip-path 850ms var(--ease-out), transform 1400ms var(--ease-out);
  }
  .services-photo img.is-leaving { z-index: 1; clip-path: inset(0); transform: none; transition: none; }
  .services-photo img.is-active { z-index: 2; clip-path: inset(0); transform: none; }

  .service-list { gap: 0; border-top: 1px solid var(--line); }
  .service {
    position: relative;
    display: block;
    padding: 28px 8px 28px 32px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
    cursor: default;
  }
  .service::before {
    content: "";
    position: absolute;
    left: 0; top: 28px; bottom: 28px;
    width: 4px;
    border-radius: 4px;
    background: var(--lime-400);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--dur) var(--ease-out);
  }
  .service.is-active::before { transform: scaleY(1); }
  .service-thumb { display: none; }
  .service h3 { font-size: var(--step-2); transition: color var(--dur-fast) ease; }
  .service.is-active h3 { color: var(--forest-700); }
  .service p { font-size: var(--step-0); max-width: 46ch; }
}

/* ---------- Before / after ---------- */

.work { background: var(--surface); }
.work-grid { display: grid; gap: 40px; align-items: center; }

.ba-frame {
  position: relative;
  aspect-ratio: var(--ba-ratio, 3 / 4);
  transition: aspect-ratio 500ms var(--ease-out);
  max-height: 78vh;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--forest-800);
  box-shadow: var(--shadow);
  --pos: 50%;
  user-select: none;
  -webkit-user-select: none;
}
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-frame.is-swapping img { opacity: 0; }
.ba-frame img { transition: opacity 350ms ease; }

.ba-label {
  position: absolute;
  top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(11 34 19 / 0.72);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  pointer-events: none;
}
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; background: var(--lime-400); color: var(--forest-950); }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08);
}
.ba-handle svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 48px; height: 48px;
  padding: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  color: var(--forest-900);
  box-shadow: 0 8px 24px -6px rgb(0 0 0 / 0.4);
  transition: transform var(--dur-fast) ease;
}
.ba-frame:active .ba-handle svg { transform: translate(-50%, -50%) scale(0.92); }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; }
.ba-range::-moz-range-thumb { width: 56px; height: 100vh; border: 0; }
.ba-frame:has(.ba-range:focus-visible) { outline: 3px solid var(--lime-400); outline-offset: 4px; }

.ba-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.ba-tabs button {
  min-height: 44px;
  padding: 8px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.ba-tabs button:hover { border-color: var(--forest-700); }
.ba-tabs button[aria-selected="true"] { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }

.ba-caption { margin: 20px 0 28px; max-width: 46ch; color: var(--ink-soft); min-height: 4.8em; }

@media (max-width: 959px) {
  .work-copy { order: -1; }
  .work-copy .btn { display: none; }
  .ba-caption { margin-bottom: 0; min-height: 0; }
}

@media (min-width: 960px) {
  .work-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .ba-frame { width: min(100%, 520px); }
}

/* ---------- Reviews ---------- */

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.reviews-controls { display: none; gap: 8px; }

.review-track {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86%, 380px);
  gap: 16px;
  margin: 40px calc(var(--gutter) * -1) 0;
  padding: 4px var(--gutter) 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.review-track::-webkit-scrollbar { display: none; }

.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  scroll-snap-align: start;
}
.review blockquote { margin: 0; flex: 1; font-size: var(--step-1); line-height: 1.55; }
.review-who { font-weight: 600; }
.review-who span { font-weight: 400; color: var(--ink-soft); }

.text-link {
  display: inline-block;
  margin-top: 16px;
  padding-block: 8px;
  font-weight: 600;
  color: var(--forest-700);
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--forest-900); }

@media (min-width: 768px) {
  .reviews-controls { display: flex; }
}

/* ---------- About ---------- */

.about { background: var(--forest-900); color: #fff; }
.about .section-lede { color: rgb(255 255 255 / 0.84); }
.about-grid { display: grid; gap: 48px; align-items: center; }

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  background: var(--forest-800);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-points { list-style: none; display: grid; gap: 14px; margin-top: 32px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step-1); }
.about-points svg { flex: none; width: 24px; height: 24px; margin-top: 3px; color: var(--lime-400); stroke-width: 2.5; }

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 88px; }
}

/* Scroll reveal for large photos only: a single wipe, matching the hero */
.reveal { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js .reveal:not(.is-visible) { clip-path: inset(100% 0 0 0 round var(--radius-lg)); }
.js .reveal { transition: clip-path 1100ms var(--ease-out); }

/* ---------- Quote + area ---------- */

.quote-grid { display: grid; gap: 48px; }

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 28px 0 36px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  color: var(--ink-soft);
}
.steps li strong { color: var(--ink); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--lime-400);
  color: var(--forest-950);
  font-weight: 700;
  font-size: var(--step--1);
}

.quote-form {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 600; padding: 0; }
.field label span[aria-hidden] { color: var(--error); }
.optional { font-weight: 400; color: var(--ink-soft); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid #B9C6B2;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--forest-700);
  box-shadow: 0 0 0 3px rgb(168 213 49 / 0.55);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: var(--step--1); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.chip:hover span { border-color: var(--forest-700); }
.chip input:checked + span { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; color: var(--lime-400); }
.chip input:focus-visible + span { outline: 3px solid var(--lime-400); outline-offset: 2px; }

.form-error-summary {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--error);
  background: #FEF3F2;
}
.form-error-summary p { font-weight: 600; }
.form-error-summary ul { margin: 6px 0 0 18px; }
.form-error-summary a { color: var(--error); }

.form-status { font-weight: 600; min-height: 1.6em; }
.form-status.is-success { color: var(--leaf-600); }
.form-status.is-error { color: var(--error); }

.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.area-card {
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  color: #fff;
}
.area-card > p { margin-top: 10px; color: rgb(255 255 255 / 0.82); }
.suburbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.suburbs li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  font-size: var(--step--1);
}
.area-note { font-size: var(--step--1); }

.map {
  margin-top: 22px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--forest-800);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-lines { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.contact-lines li { display: flex; align-items: center; gap: 10px; }
.contact-lines svg { width: 20px; height: 20px; color: var(--lime-400); flex: none; }
.contact-lines a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; padding-block: 6px; }
.contact-lines a:hover { text-decoration: underline; }

@media (min-width: 960px) {
  .quote-grid { grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: start; }
  .area { position: sticky; top: calc(var(--header-h) + 32px); margin-top: 8px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest-950);
  color: rgb(255 255 255 / 0.78);
  padding-top: 64px;
}
.footer-grid { display: grid; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 32ch; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.18);
  color: #fff;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.socials a:hover { background: rgb(255 255 255 / 0.08); border-color: var(--lime-400); }
.socials svg { width: 18px; height: 18px; }

.footer-col h3 { font-size: var(--step-0); color: #fff; font-weight: 650; }
.footer-col ul { list-style: none; display: grid; gap: 4px; margin-top: 12px; }
.footer-col a { text-decoration: none; display: inline-block; padding-block: 6px; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--lime-400); }

.footer-base {
  margin-top: 48px;
  padding-block: 24px 96px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: var(--step--1);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .footer-base { padding-bottom: 28px; }
}

/* ---------- Mobile quick-contact bar (always on screen) ---------- */

.mobile-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(11 34 19 / 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: rise-small 600ms var(--ease-out) 1400ms both;
}
.btn-call-now svg { width: 18px; height: 18px; }
@media (max-width: 959px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .footer-base { padding-bottom: 24px; }
}
@media (min-width: 960px) { .mobile-bar { display: none; } }

/* ---------- Floating call button (desktop, always on screen) ---------- */

.call-fab { display: none; }
@media (min-width: 960px) {
  .call-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 22px 7px 7px;
    border-radius: 999px;
    background: var(--forest-900);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08), 0 20px 44px -14px rgb(0 0 0 / 0.55);
    transition: transform 400ms var(--ease-out), box-shadow 400ms ease, background-color var(--dur-fast) ease;
    animation: rise-small 700ms var(--ease-out) 1500ms both;
  }
  .call-fab:hover { transform: translateY(-3px); background: var(--forest-800); box-shadow: 0 0 0 1px rgb(168 213 49 / 0.35), 0 26px 50px -14px rgb(0 0 0 / 0.6); }
  .call-fab:active { transform: scale(0.97); }
}
.call-fab-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--lime-400);
  color: var(--forest-950);
}
.call-fab-icon svg { width: 20px; height: 20px; stroke-width: 2.25; }
/* A slow ring pulse, so it reads as "live" without nagging */
.call-fab-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--lime-400);
  animation: call-pulse 3.2s var(--ease-out) 2.4s infinite;
  pointer-events: none;
}
@keyframes call-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  45%, 100% { transform: scale(1.7); opacity: 0; }
}
.call-fab:hover .call-fab-icon svg { animation: ring 900ms ease both; }
.call-fab-text { display: grid; line-height: 1.2; }
.call-fab-text strong { font-size: 0.95rem; font-weight: 600; }
.call-fab-text span { font-size: 0.82rem; color: rgb(255 255 255 / 0.72); font-variant-numeric: tabular-nums; }

/* ==========================================================
   Micro-interactions
   ========================================================== */

/* Hero light + grain */
.hero-sheen {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 68%) var(--my, 28%), rgb(195 228 106 / 0.11), transparent 62%);
  opacity: 0;
  transition: opacity 900ms ease;
  pointer-events: none;
}
.hero.is-lit .hero-sheen { opacity: 1; }

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.09;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Depth: the lawn drifts a few pixels against the pointer, so the copy seems to float above it */
.hero-bg { inset: -18px; }
.hero-bg img {
  translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px);
  transition: translate 1400ms var(--ease-out);
}

/* Buttons: a light glint, a gentle magnetic pull, a ringing phone */
.btn { position: relative; isolation: isolate; overflow: hidden; translate: var(--bx, 0) var(--by, 0); transition-property: background-color, color, border-color, transform, translate; transition-duration: var(--dur-fast), var(--dur-fast), var(--dur-fast), var(--dur-fast), 500ms; transition-timing-function: ease, ease, ease, ease, var(--ease-out); }
.btn-label { display: inline-block; translate: calc(var(--bx, 0) * 0.35) calc(var(--by, 0) * 0.35); transition: translate 500ms var(--ease-out); }
.btn-lime::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0s;
}
.btn-lime:hover::after { transform: translateX(130%); transition: transform 750ms var(--ease-out); }

.btn-call svg { width: 18px; height: 18px; transform-origin: 60% 40%; }
.btn-call:hover svg { animation: ring 900ms ease both; }
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-14deg); }
  30% { transform: rotate(12deg); }
  45% { transform: rotate(-9deg); }
  60% { transform: rotate(6deg); }
  75% { transform: rotate(-3deg); }
}
.btn-ghost:hover { border-color: var(--lime-300); }

.header-phone:hover svg { animation: ring 900ms ease both; }

/* Nav: one lime underline glides between links */
.nav-indicator { display: none; }
@media (min-width: 960px) {
  .primary-nav ul { position: relative; }
  .nav-indicator {
    display: block;
    position: absolute;
    left: 0;
    bottom: 3px;
    height: 2px;
    width: var(--w, 0px);
    border-radius: 2px;
    background: var(--lime-400);
    transform: translateX(var(--x, 0px));
    opacity: 0;
    transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), opacity 220ms ease;
    pointer-events: none;
  }
  .nav-indicator.is-on { opacity: 1; }
  .primary-nav a:not(.btn).is-current { color: #fff; }
}

/* Trust strip: icons sketch themselves in, then lift on hover */
.trust-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgb(168 213 49 / 0.2);
  color: var(--forest-700);
  transition: background-color 300ms ease, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.trust-list .trust-icon svg { width: 22px; height: 22px; margin: 0; color: inherit; }
.trust-list li:hover .trust-icon { background: var(--lime-400); transform: translateY(-2px) rotate(-6deg); }
.trust-icon svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .trust:not(.is-drawn) .trust-icon svg * { stroke-dashoffset: 1; }
.js .trust .trust-icon svg * { transition: stroke-dashoffset 1100ms var(--ease-out); }
.js .trust li:nth-child(2) .trust-icon svg * { transition-delay: 120ms; }
.js .trust li:nth-child(3) .trust-icon svg * { transition-delay: 240ms; }
.js .trust li:nth-child(4) .trust-icon svg * { transition-delay: 360ms; }
.trust-list li { align-items: center; }
@media (min-width: 900px) {
  .trust-list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
}

/* Services: caption chip on the photo, quieter inactive rows */
.services-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  overflow: hidden;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(11 34 19 / 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
}
.services-caption span { display: block; }
.services-caption span.is-in { animation: caption-in 520ms var(--ease-out) both; }
@keyframes caption-in {
  from { opacity: 0; transform: translateY(110%); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 960px) {
  .service h3 { transition: color var(--dur-fast) ease, transform 500ms var(--ease-out); }
  .service p { transition: color 400ms ease; }
  .service-list:has(.is-active) .service:not(.is-active) p { color: #5E6B61; }
  .service.is-active h3 { transform: translateX(4px); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal:not(.is-visible) { clip-path: none; }
  .call-fab-icon::before { animation: none; opacity: 0; }
}
