/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Nav ──────────────────────────────────────────────────── */
#nav {
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 90, 61, 0.08);
}
#nav.scrolled {
  box-shadow: 0 1px 20px rgba(45, 90, 61, 0.08);
}

/* ── Mobile menu ──────────────────────────────────────────── */
#mobileMenu.open { opacity: 1; pointer-events: auto; }
#mobileMenu.closed { opacity: 0; pointer-events: none; }

/* ── Hero blobs ───────────────────────────────────────────── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(137,177,143,0.6) 0%, transparent 70%);
  top: -10%; right: 5%;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(212,228,215,0.5) 0%, transparent 70%);
  bottom: 5%; left: 10%;
  animation-delay: -3s;
}
.hero-blob-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(165,214,167,0.4) 0%, transparent 70%);
  top: 40%; right: 30%;
  animation-delay: -5s;
}
@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.05); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Service cards ────────────────────────────────────────── */
.service-card { cursor: default; }

/* ── Scroll reveal (progressive enhancement) ──────────────── */
.js-supported .reveal,
.js-supported .reveal-left,
.js-supported .reveal-right {
  /* default state is visible — JS adds .visible class */
}

/* ── Utility ──────────────────────────────────────────────── */
.no-underline { text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #89b18f;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Select dropdown arrow ────────────────────────────────── */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232D5A3D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ── Responsive tweaks ────────────────────────────────────── */
@media (max-width: 640px) {
  .font-serif { line-height: 1.15; }
}
