:root {
  --ink: #10241c;
  --ink-soft: #2a4036;
  --leaf: #2f6b45;
  --leaf-bright: #3f8f5a;
  --mist: #e8f0ea;
  --paper: #f4f7f5;
  --white: #ffffff;
  --line: rgba(16, 36, 28, 0.12);
  --shadow: 0 24px 60px rgba(16, 36, 28, 0.18);
  --radius: 1.25rem;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 70rem;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(63, 143, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(16, 36, 28, 0.06), transparent 50%),
    linear-gradient(180deg, #f7faf8 0%, var(--paper) 40%, #eef4f0 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.brand-hero,
.logo-text,
.footer-brand,
.phone-link {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 800;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  max-width: 20ch;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 245, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 247, 245, 0.94);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background:
    linear-gradient(145deg, var(--leaf-bright), var(--ink)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 4px,
      rgba(255, 255, 255, 0.12) 4px,
      rgba(255, 255, 255, 0.12) 5px
    );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.logo-text {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
}

.logo-text em {
  font-style: normal;
  color: var(--leaf);
}

.nav {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.header-call {
  margin-left: auto;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--leaf);
  white-space: nowrap;
}

@media (min-width: 800px) {
  .nav {
    display: flex;
  }

  .header-call {
    margin-left: 0;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
  }

  .header-call:hover {
    background: var(--leaf);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 36, 28, 0.35) 0%, rgba(16, 36, 28, 0.55) 45%, rgba(16, 36, 28, 0.88) 100%),
    linear-gradient(90deg, rgba(16, 36, 28, 0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.25rem 3.5rem;
}

.brand-hero {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: #c8e6d2;
}

.hero h1 {
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-lede {
  max-width: 34rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--leaf-bright);
  color: var(--white);
}

.btn-primary:hover {
  background: #4aa56a;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
}

.section-lede {
  max-width: 40rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.about-copy p {
  color: var(--ink-soft);
}

.about-copy .note {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

.about-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-groups {
  display: grid;
  gap: 2rem 3rem;
}

@media (min-width: 760px) {
  .service-groups {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-group {
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.service-group h3 {
  margin-bottom: 1rem;
}

.service-group li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.service-group li:last-child {
  border-bottom: 0;
}

.special-callout {
  margin-top: 3rem;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #163528, #24553a 60%, #2f6b45);
  color: var(--white);
  border-radius: var(--radius);
}

.special-callout h3 {
  margin-bottom: 0.4rem;
}

.special-callout p {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.86);
}

.special-callout .btn-primary {
  background: var(--white);
  color: var(--ink);
  flex-shrink: 0;
}

.special-callout .btn-primary:hover {
  background: var(--mist);
}

.feature-band {
  position: relative;
  min-height: 28rem;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: clip;
}

.feature-band-media {
  position: absolute;
  inset: 0;
}

.feature-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.feature-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 36, 28, 0.88) 0%, rgba(16, 36, 28, 0.55) 55%, rgba(16, 36, 28, 0.35) 100%);
}

.feature-band-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.feature-band-copy h2 {
  max-width: 16ch;
}

.feature-band-copy p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

.areas {
  padding-bottom: 3rem;
}

.contact {
  padding-top: 2rem;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 1.25rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 36, 28, 0.06);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    padding: 3rem;
    align-items: start;
  }
}

.contact-intro .hours {
  margin-top: 2rem;
}

.phone-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--leaf);
  text-decoration: none;
}

.phone-link:hover {
  color: var(--ink);
}

.hours h3 {
  margin-bottom: 1rem;
}

.hours dl {
  margin: 0;
}

.hours dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.hours dt {
  font-weight: 600;
}

.hours dd {
  margin: 0;
  color: var(--ink-soft);
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.92rem;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--ink-soft);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--leaf-bright);
  box-shadow: 0 0 0 3px rgba(63, 143, 90, 0.2);
}

.quote-form textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.btn-block {
  width: 100%;
}

.btn-soft {
  background: var(--mist);
  color: var(--ink);
  border: 1px solid transparent;
}

.btn-soft:hover {
  background: #dce8e0;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status,
.share-feedback {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-status[data-tone="success"],
.share-feedback[data-tone="success"] {
  color: var(--leaf);
}

.form-status[data-tone="error"],
.share-feedback[data-tone="error"] {
  color: #9b2c2c;
}

.form-status[data-tone="info"],
.share-feedback[data-tone="info"] {
  color: var(--ink-soft);
}

.share {
  padding-top: 1rem;
}

.share-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 760px) {
  .share-layout {
    grid-template-columns: 1.4fr auto;
    gap: 3rem;
  }
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.share-qr {
  margin: 0;
  justify-self: start;
  text-align: center;
}

.share-qr img {
  width: 180px;
  height: 180px;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.share-qr figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 3rem 1.25rem 4rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.hero-content[data-reveal] {
  transition-delay: 0.08s;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-media img {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
