:root {
  --bg: #f7f8f5;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fbfcf9;
  --text: #2f3e34;
  --muted: #5f7165;
  --accent: #7fb08c;
  --accent-deep: #4f8f68;
  --line: rgba(47, 62, 52, 0.1);
  --shadow: 0 24px 60px rgba(79, 143, 104, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(127, 176, 140, 0.18), transparent 32%),
    radial-gradient(circle at right center, rgba(79, 143, 104, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfcf8 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(79, 143, 104, 0.4);
  outline-offset: 4px;
}

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.topbar,
.hero-panel,
.service-card,
.timeline-step,
.highlight-panel,
.contact-card {
  backdrop-filter: blur(18px);
}

.hero {
  padding: 1rem 0 3rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3f7455, var(--accent-deep), var(--accent));
  color: #fff;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.brand-name,
.brand-tag,
.eyebrow,
.stat-label,
.card-index {
  margin: 0;
}

.brand-name {
  font-weight: 700;
}

.brand-tag,
.nav-links a,
.lead,
.service-card p,
.timeline-step p,
.highlight-copy p,
.contact-card p,
.signal-card li,
.stat-label {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.highlight,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 4rem;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 248, 245, 0.86)),
    linear-gradient(180deg, rgba(127, 176, 140, 0.16), transparent);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -6% -18% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 143, 104, 0.16), transparent 62%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.77rem;
  color: var(--accent-deep);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}

h1,
h2 {
  font-family: "Iowan Old Style", Georgia, serif;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  max-width: 10ch;
  margin: 1rem 0 1.2rem;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  max-width: 12ch;
  margin-top: 0.5rem;
}

.lead {
  max-width: 56ch;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent-deep);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.hero-panel {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(79, 143, 104, 0.96), rgba(63, 116, 85, 0.94));
  color: #fff;
}

.signal-card,
.stat-card,
.service-card,
.timeline-step,
.highlight-panel,
.contact-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 8px);
}

.signal-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
}

.signal-card p,
.signal-card ul {
  margin: 0;
}

.signal-card p {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}

.signal-card ul {
  padding-left: 1rem;
  display: grid;
  gap: 0.9rem;
}

.signal-card li {
  color: rgba(255, 255, 255, 0.88);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
}

main section {
  margin-top: 5.5rem;
}

.section-heading {
  margin-bottom: 1.8rem;
}

.card-grid,
.timeline {
  display: grid;
  gap: 1.25rem;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.timeline {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.timeline-step,
.highlight-panel,
.contact-card {
  padding: 1.7rem;
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 260px;
}

.card-index {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 2rem;
}

.service-card h3,
.timeline-step h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.service-card p,
.timeline-step p,
.highlight-copy p,
.contact-card p {
  line-height: 1.7;
  font-size: 1rem;
}

.highlight {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(79, 143, 104, 0.96), rgba(127, 176, 140, 0.88));
  color: #fff;
}

.highlight-copy {
  padding: 1.2rem;
}

.highlight-copy .eyebrow,
.highlight-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.quote {
  margin: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--text);
}

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 0;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .topbar,
  .hero-grid,
  .card-grid,
  .timeline,
  .highlight,
  .contact-card,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .topbar {
    border-radius: 28px;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-copy {
    padding: 2rem;
    min-height: auto;
  }

  .contact-card {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 1rem, 100%);
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
