:root {
  --ink: #141c16;
  --ink-soft: #2a352c;
  --muted: #5a6a5e;
  --juniper: #2f5d4a;
  --juniper-deep: #1d3f32;
  --lime-soft: #a8c46c;
  --fog: #e7eee8;
  --fog-deep: #d3ddd4;
  --line: rgba(20, 28, 22, 0.12);
  --max: 68rem;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Sora", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(168, 196, 108, 0.18), transparent 42%),
    radial-gradient(ellipse at 5% 30%, rgba(47, 93, 74, 0.1), transparent 40%),
    linear-gradient(180deg, var(--fog) 0%, var(--fog-deep) 100%);
  line-height: 1.55;
}

a {
  color: var(--juniper-deep);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(231, 238, 232, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand-mark {
  text-decoration: none;
  color: var(--ink);
  display: grid;
  line-height: 1.05;
}

.brand-mark-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

.brand-mark-sub {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav-links {
  display: none;
  gap: 1.25rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: var(--juniper);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--juniper);
  border-radius: 0.2rem;
  background: var(--juniper);
  color: #f4faf6;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--juniper-deep);
  border-color: var(--juniper-deep);
}

.btn-ghost {
  background: transparent;
  color: #f4faf6;
  border-color: rgba(244, 250, 246, 0.65);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(244, 250, 246, 0.12);
  border-color: #f4faf6;
}

.btn-nav {
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  min-height: min(92vh, 46rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f4faf6;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(20, 28, 22, 0.25), transparent 45%),
    url("https://images.unsplash.com/photo-1558904541-efa843a96f01?auto=format&fit=crop&w=1800&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 22s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 28, 22, 0.22) 0%, rgba(20, 28, 22, 0.82) 100%),
    radial-gradient(ellipse at 75% 15%, rgba(47, 93, 74, 0.4), transparent 48%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 3.25rem;
  animation: rise-in 0.9s ease both;
}

.brand-hero {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
  max-width: 12ch;
}

.hero h1 {
  margin: 0;
  max-width: 26ch;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(244, 250, 246, 0.92);
}

.lede,
.section-lede {
  max-width: 34rem;
  color: rgba(244, 250, 246, 0.82);
  font-size: 1.05rem;
}

.lede {
  margin: 1rem 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.section {
  padding: 4rem 0;
}

.eyebrow {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--juniper-deep);
  font-weight: 700;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.section-lede {
  color: var(--muted);
  margin: 0;
}

.pillars {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: pillar;
}

.pillars li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  animation: rise-in 0.7s ease both;
}

.pillars li:nth-child(2) {
  animation-delay: 0.08s;
}

.pillars li:nth-child(3) {
  animation-delay: 0.16s;
}

.pillars h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  counter-increment: pillar;
}

.pillars h3::before {
  content: counter(pillar, decimal-leading-zero) " / ";
  color: var(--juniper);
  font-size: 0.85em;
}

.pillars p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.section-field {
  background:
    linear-gradient(180deg, rgba(47, 93, 74, 0.1) 0%, rgba(168, 196, 108, 0.16) 100%);
  border-block: 1px solid var(--line);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.about-grid p,
.contact-grid > div > p {
  color: var(--ink-soft);
  max-width: 38rem;
}

.muted {
  color: var(--muted) !important;
}

.callout {
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--juniper);
}

.callout-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
}

.county-list {
  list-style: none;
  margin: 0.85rem 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.callout-phone {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.callout-phone a {
  color: var(--ink);
  text-decoration: none;
}

.phone-line {
  margin: 1.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.phone-line a {
  color: var(--ink);
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

.footer {
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(244, 250, 246, 0.78);
}

.footer a {
  color: var(--lime-soft);
}

.footer-inner p {
  margin: 0.35rem 0;
  font-size: 0.92rem;
}

.footer .muted {
  color: rgba(244, 250, 246, 0.55) !important;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.4%, -1%, 0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .pillars li {
    border-top: none;
    border-left: 1px solid var(--line);
    padding: 0 0 0 1.25rem;
  }

  .pillars li:first-child {
    border-left: none;
    padding-left: 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
    gap: 3rem;
  }

  .callout {
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-top: 2px solid var(--juniper);
    background: rgba(255, 255, 255, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-copy,
  .pillars li {
    animation: none;
  }

  .hero-media {
    transform: none;
  }
}
