:root {
  --ink: #f5f1e8;
  --muted: #c7c0ae;
  --soft: #9d9a87;
  --bg: #07110d;
  --bg-deep: #030604;
  --panel: #101a14;
  --panel-soft: #162118;
  --line: rgba(226, 217, 191, 0.16);
  --line-strong: rgba(226, 217, 191, 0.28);
  --green: #7f9b63;
  --green-deep: #284231;
  --cream: #efe4c8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 17, 13, 0.9), rgba(3, 6, 4, 0.96) 46%, rgba(3, 6, 4, 0.99) 100%),
    linear-gradient(90deg, rgba(3, 6, 4, 0.94), rgba(3, 6, 4, 0.7), rgba(3, 6, 4, 0.92)),
    url("assets/sprout-hero.png") center / cover no-repeat;
  filter: saturate(0.78) contrast(1.04);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 88% 8%, rgba(127, 155, 99, 0.13), transparent 32%);
}

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

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--cream);
  color: #08110d;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 217, 191, 0.12);
  background: rgba(3, 6, 4, 0.74);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 228, 200, 0.24);
  border-radius: 50%;
  background: rgba(239, 228, 200, 0.035);
  box-shadow: inset 0 0 16px rgba(127, 155, 99, 0.12);
}

.brand-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  object-position: center;
  opacity: 0.96;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.91rem;
}

.nav-links a,
.site-footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--cream);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-cta {
  padding: 0 18px;
  border: 1px solid rgba(239, 228, 200, 0.22);
  color: var(--cream);
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--cream);
  color: #07110d;
}

.button-secondary {
  border-color: rgba(239, 228, 200, 0.28);
  color: var(--cream);
  background: rgba(239, 228, 200, 0.04);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  background-image: url("assets/sprout-hero.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 4, 0.97) 0%, rgba(3, 6, 4, 0.82) 36%, rgba(3, 6, 4, 0.45) 72%, rgba(3, 6, 4, 0.74) 100%),
    linear-gradient(180deg, rgba(3, 6, 4, 0.18) 0%, rgba(3, 6, 4, 0.92) 100%);
}

.hero-content {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 142px 0 116px;
  transform: translateX(calc((min(var(--max), calc(100vw - 32px)) - min(760px, calc(100vw - 32px))) / -2));
}

.hero-logo-tile {
  width: min(390px, 78vw);
  margin: 0 0 34px;
}

.hero-logo {
  display: block;
  width: 100%;
  opacity: 0.94;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.3));
}

.eyebrow,
.card-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 5.8vw, 5.55rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.6vw, 4.35rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  position: absolute;
  right: max(16px, calc((100vw - var(--max)) / 2));
  bottom: 36px;
  width: min(398px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 17, 12, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel p {
  margin-bottom: 18px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mini-metrics span,
.leak-list span {
  border: 1px solid rgba(239, 228, 200, 0.16);
  border-radius: var(--radius);
  background: rgba(239, 228, 200, 0.045);
  color: var(--muted);
}

.mini-metrics span {
  padding: 10px 11px;
  font-size: 0.84rem;
}

.section {
  padding: 108px 0;
}

.section-inner,
.cta-inner,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.body-copy,
.section-note {
  color: var(--muted);
  font-size: 1.07rem;
}

.body-copy p:last-child,
.section-note {
  margin-bottom: 0;
}

.problem-section {
  background: linear-gradient(180deg, rgba(7, 17, 13, 0.86), rgba(12, 22, 16, 0.82));
}

.leaks-section,
.services-section,
.why-section {
  background: rgba(239, 228, 200, 0.035);
  border-block: 1px solid rgba(239, 228, 200, 0.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.leak-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.leak-list span {
  padding: 12px 14px;
}

.fix-grid,
.service-grid,
.process-steps,
.why-grid {
  display: grid;
  gap: 16px;
}

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

.fix-grid article,
.service-card,
.process-steps article,
.why-grid article,
.contact-card,
.contact-actions {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 26, 20, 0.72);
}

.fix-grid article {
  min-height: 214px;
  padding: 26px;
}

.icon-dot {
  width: 10px;
  height: 10px;
  display: block;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(127, 155, 99, 0.09);
}

.fix-grid p,
.service-card p,
.process-steps p,
.why-grid p,
.check-list,
.contact-card,
.contact-actions {
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.service-card {
  padding: 24px;
}

.featured-card {
  background:
    linear-gradient(180deg, rgba(127, 155, 99, 0.16), rgba(16, 26, 20, 0.72)),
    rgba(16, 26, 20, 0.72);
  border-color: rgba(127, 155, 99, 0.34);
}

.service-card ul,
.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.check-list li {
  position: relative;
  padding-left: 22px;
  margin-top: 11px;
}

.service-card li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 1px;
  content: "";
  background: var(--green);
}

.process-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: process;
}

.process-steps article {
  min-height: 250px;
  padding: 26px;
}

.process-steps span {
  display: inline-block;
  margin-bottom: 46px;
  color: rgba(239, 228, 200, 0.46);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1;
}

.fit-section {
  background:
    linear-gradient(90deg, rgba(40, 66, 49, 0.24), transparent 48%),
    rgba(7, 17, 13, 0.72);
}

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

.why-grid article {
  padding: 28px;
}

.cta-band {
  padding: 96px 0;
  background:
    linear-gradient(135deg, rgba(127, 155, 99, 0.22), rgba(239, 228, 200, 0.04)),
    rgba(10, 18, 13, 0.84);
  border-block: 1px solid rgba(239, 228, 200, 0.12);
}

.cta-inner {
  max-width: 830px;
  margin-left: max(16px, calc((100vw - var(--max)) / 2));
}

.cta-inner p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 8px;
  max-width: 430px;
  margin-top: 34px;
  padding: 6px 0 0;
  justify-items: center;
  text-align: center;
  font-style: normal;
  border: 0;
  background: transparent;
}

.contact-logo-tile {
  width: min(260px, 100%);
  margin-bottom: 12px;
}

.contact-logo-tile img {
  display: block;
  width: 100%;
  opacity: 0.92;
}

.contact-card strong {
  color: var(--ink);
}

.contact-card a {
  color: var(--cream);
  overflow-wrap: anywhere;
}

.contact-actions {
  display: grid;
  align-content: center;
  gap: 28px;
  min-height: 390px;
  padding: 34px;
}

.contact-actions h3 {
  max-width: 500px;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  font-weight: 500;
}

.contact-actions p:not(.eyebrow) {
  max-width: 510px;
  margin-bottom: 0;
}

.action-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0 42px;
  color: var(--soft);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    transform: none;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -72px auto 42px;
  }

  .fix-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: 68px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-content {
    padding: 112px 0 118px;
  }

  h1 {
    font-size: 2.78rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 74px 0;
  }

  .two-column,
  .contact-layout,
  .fix-grid,
  .service-grid,
  .process-steps,
  .why-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .two-column,
  .contact-layout {
    gap: 34px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .fix-grid article,
  .process-steps article {
    min-height: auto;
  }

  .process-steps span {
    margin-bottom: 28px;
  }

  .cta-band {
    padding: 76px 0;
  }

  .cta-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.32rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    padding: 18px;
  }

  .action-buttons {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
