:root {
  --navy: #0d3158;
  --navy-2: #0b2441;
  --green: #5e7342;
  --green-dark: #3f552c;
  --tan: #c4a163;
  --cream: #f6f1e7;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #dce2d8;
  --ink: #17202a;
  --muted: #53615c;
  --shadow: 0 12px 28px rgba(13, 49, 88, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--tan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(13, 49, 88, 0.12);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.12;
}

.brand strong {
  max-width: 290px;
  font-size: 1.18rem;
  font-family: Georgia, "Times New Roman", serif;
}

.brand small {
  color: var(--green-dark);
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  flex: 1;
}

.main-nav a {
  position: relative;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 3px;
  background: transparent;
  content: "";
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  background: var(--green);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(13, 49, 88, 0.2);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 4.6vw, 4.9rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1rem;
}

p {
  margin: 12px 0 0;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  padding: clamp(42px, 6vw, 72px) clamp(22px, 5vw, 72px);
  background: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--cream);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.9) 32%, rgba(251, 250, 246, 0.28) 58%, rgba(251, 250, 246, 0.04) 100%),
    linear-gradient(0deg, rgba(251, 250, 246, 0.18), rgba(251, 250, 246, 0.18));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 350px;
  margin: 18px 0 8px;
}

.hero-rule::before,
.hero-rule::after {
  height: 1px;
  flex: 1;
  background: rgba(13, 49, 88, 0.36);
  content: "";
}

.hero-rule span {
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: var(--tan);
}

.lead {
  max-width: 560px;
  color: #263b35;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 500;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--navy);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(13, 49, 88, 0.45);
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-dark);
}

.button.full {
  width: 100%;
}

.section,
.page-hero,
.quote-section,
.contact-band {
  padding-inline: clamp(20px, 5vw, 72px);
}

.section {
  padding-block: clamp(34px, 5vw, 58px);
}

.page-hero {
  padding-block: clamp(58px, 8vw, 98px);
  background:
    linear-gradient(rgba(13, 49, 88, 0.78), rgba(13, 49, 88, 0.78)),
    url("assets/hero-groundworks.svg");
  background-size: cover;
  background-position: center;
}

.page-hero h1,
.page-hero .eyebrow {
  color: var(--white);
}

.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 980px;
  margin: 0 auto clamp(18px, 3vw, 28px);
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

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

.service-card,
.process-grid article,
.message-card {
  border: 1px solid rgba(13, 49, 88, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(13, 49, 88, 0.08);
}

.service-card {
  display: grid;
  place-items: center;
  align-content: start;
  min-height: 190px;
  padding: 20px 16px;
  text-align: center;
}

.service-card h2,
.service-card h3 {
  max-width: 220px;
  font-size: 0.98rem;
  line-height: 1.2;
}

.service-card p {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.38;
}

.service-icon {
  position: relative;
  display: block;
  width: 54px;
  height: 44px;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
}

.service-plan::before {
  inset: 5px 10px 3px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.service-plan::after {
  left: 20px;
  top: 12px;
  width: 14px;
  height: 22px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}

.service-drainage::before,
.service-water::before {
  left: 18px;
  top: 0;
  width: 18px;
  height: 28px;
  border: 3px solid var(--navy);
  border-radius: 50% 50% 55% 55%;
  transform: rotate(45deg);
}

.service-drainage::after,
.service-water::after {
  left: 8px;
  bottom: 0;
  width: 38px;
  height: 10px;
  border-bottom: 3px solid currentColor;
  border-radius: 50%;
}

.service-sod::before {
  left: 4px;
  right: 4px;
  bottom: 5px;
  height: 18px;
  background: repeating-linear-gradient(100deg, currentColor 0 4px, transparent 4px 8px);
  border-bottom: 4px solid currentColor;
}

.service-planting::before {
  left: 3px;
  right: 3px;
  bottom: 4px;
  height: 9px;
  background: currentColor;
}

.service-planting::after {
  left: 10px;
  bottom: 12px;
  width: 34px;
  height: 28px;
  background: radial-gradient(circle at 20% 60%, currentColor 0 5px, transparent 6px), radial-gradient(circle at 50% 38%, currentColor 0 5px, transparent 6px), radial-gradient(circle at 80% 60%, currentColor 0 5px, transparent 6px);
}

.service-cleanup::before {
  left: 11px;
  bottom: 6px;
  width: 32px;
  height: 17px;
  border-radius: 3px 3px 12px 12px;
  background: currentColor;
}

.service-cleanup::after {
  left: 28px;
  top: 2px;
  width: 4px;
  height: 36px;
  background: currentColor;
  transform: rotate(-35deg);
}

.service-wash::before {
  inset: 14px 7px 2px;
  border: 3px solid var(--navy);
  border-radius: 4px;
}

.service-wash::after {
  right: 2px;
  top: 0;
  width: 22px;
  height: 22px;
  border-top: 3px dotted currentColor;
  border-right: 3px dotted currentColor;
}

.secondary-service {
  background: #f8f8f3;
}

.scope-section {
  background: #eef3ea;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.scope-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(13, 49, 88, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(13, 49, 88, 0.08);
}

.scope-grid h3 {
  font-size: 1.02rem;
}

.conditions {
  background:
    linear-gradient(rgba(246, 241, 231, 0.94), rgba(246, 241, 231, 0.94)),
    repeating-linear-gradient(22deg, rgba(13, 49, 88, 0.05) 0 1px, transparent 1px 22px);
}

.conditions .section-heading {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  text-align: left;
}

.conditions p {
  margin-top: 0;
  color: #33423f;
}

.condition-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
}

.condition-grid div {
  min-height: 82px;
  padding: 0 14px;
  border-right: 1px solid rgba(13, 49, 88, 0.2);
  color: var(--navy);
  text-align: center;
}

.condition-grid div:last-child {
  border-right: 0;
}

.condition-grid span {
  display: block;
  min-height: 28px;
  margin-bottom: 8px;
  color: var(--tan);
  font-size: 0.78rem;
  font-weight: 900;
}

.condition-grid strong {
  display: block;
  line-height: 1.2;
}

.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.process-grid article {
  position: relative;
  padding: 0 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.process-grid article:not(:last-child)::after {
  position: absolute;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  top: 21px;
  border-top: 2px dotted rgba(63, 85, 44, 0.55);
  content: "";
}

.process-grid span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.process-grid h3 {
  font-size: 0.95rem;
}

.process-grid p {
  font-size: 0.92rem;
}

.service-area {
  background: #f1efe8;
  padding-block: 0;
}

.area-card {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  max-width: none;
  margin-inline: calc(clamp(20px, 5vw, 72px) * -1);
}

.map-panel {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background:
    linear-gradient(rgba(246, 241, 231, 0.72), rgba(246, 241, 231, 0.72)),
    url("assets/hero-groundworks.svg");
  background-position: center;
  background-size: cover;
}

.map-panel::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(160deg, rgba(13, 49, 88, 0.08) 0 1px, transparent 1px 34px);
  content: "";
}

.map-pin {
  position: absolute;
  z-index: 1;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 900;
}

.map-pin::before {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border: 3px solid var(--navy);
  border-radius: 50% 50% 50% 0;
  background: var(--white);
  transform: rotate(-45deg);
  content: "";
}

.liberty {
  left: 31%;
  top: 16%;
}

.georgetown {
  left: 66%;
  top: 17%;
}

.leander {
  left: 30%;
  top: 48%;
}

.cedar {
  left: 52%;
  top: 66%;
}

.lago {
  left: 22%;
  top: 78%;
}

.area-card > div:last-child {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(26px, 4vw, 46px);
  text-align: center;
}

.location-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
  margin-top: 18px;
}

.location-pills span {
  padding: 8px 22px;
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 900;
}

.about-preview {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 45%),
    var(--white);
}

.owner-placeholder {
  display: grid;
  min-height: 300px;
  place-items: center;
  border: 1px dashed rgba(13, 49, 88, 0.28);
  border-radius: 0;
  background:
    linear-gradient(rgba(246, 241, 231, 0.62), rgba(246, 241, 231, 0.62)),
    url("assets/hero-groundworks.svg");
  background-position: center;
  background-size: cover;
  color: var(--navy);
  font-weight: 900;
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid rgba(13, 49, 88, 0.12);
  border-radius: 0;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(13, 49, 88, 0.07);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 2.5;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 8px 10px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
  text-align: center;
}

.gallery-item strong {
  display: block;
  color: var(--navy);
}

.gallery-item span {
  display: block;
  margin-top: 3px;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1.28fr);
  gap: 0;
  align-items: stretch;
  padding-block: 0;
  background: var(--white);
}

.quote-section.standalone {
  background: var(--cream);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-block: clamp(52px, 7vw, 90px);
}

.quote-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 4vw, 46px);
  background: var(--navy);
}

.quote-copy h2,
.quote-section:not(.standalone) .eyebrow {
  color: var(--white);
}

.quote-section:not(.standalone) .quote-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.standalone .quote-copy {
  background: transparent;
  padding: 0;
}

.standalone .quote-copy h2 {
  color: var(--navy);
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  padding: clamp(18px, 3vw, 32px);
  border-radius: 0;
  background: var(--white);
}

.quote-form label {
  align-self: end;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #cbd0ca;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.quote-form textarea {
  min-height: 84px;
  resize: vertical;
}

.form-fieldset {
  display: grid;
  gap: 10px;
  margin: 4px 0;
  padding: 14px;
  border: 1px solid #cbd0ca;
  border-radius: 4px;
}

.form-fieldset legend {
  padding: 0 6px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.checkbox-list,
.radio-list {
  display: grid;
  gap: 8px;
}

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

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

.checkbox-list label,
.radio-list label,
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.checkbox-list input,
.radio-list input,
.consent-label input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
}

.quote-form label[for="service"],
.quote-form #service,
.quote-form label[for="location"],
.quote-form #location,
.quote-form label[for="project-size"],
.quote-form #project-size,
.quote-form label[for="timeframe"],
.quote-form #timeframe,
.quote-form label[for="hauling"],
.quote-form #hauling,
.quote-form .form-fieldset,
.quote-form .consent-label,
.quote-form label[for="details"],
.quote-form #details {
  grid-column: 1;
}

.quote-form .button {
  grid-column: 1;
  align-self: end;
}

.hidden {
  display: none;
}

.form-status {
  grid-column: 1;
  margin: 4px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--green-dark);
  background: #eef3ea;
  color: var(--ink);
  font-weight: 800;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(36px, 6vw, 58px);
  background: var(--green-dark);
}

.contact-band h2,
.contact-band .eyebrow {
  color: var(--white);
}

.contact-band p {
  color: rgba(255, 255, 255, 0.8);
}

.checklist {
  display: grid;
  max-width: 760px;
  gap: 12px;
  margin-bottom: 24px;
}

.checklist label {
  padding: 14px 16px;
  border: 1px solid rgba(13, 49, 88, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
}

.checklist input {
  margin-right: 10px;
}

.message-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--cream);
}

.message-card {
  max-width: 680px;
  padding: clamp(24px, 5vw, 44px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(160px, 0.5fr);
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 4px solid var(--green-dark);
  background: #09243d;
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  color: var(--white);
  text-decoration: none;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

@media (max-width: 1120px) {
  .service-grid,
  .process-grid,
  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .condition-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 0;
  }

  .condition-grid div:nth-child(4) {
    border-right: 0;
  }

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

  .process-grid article::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    max-width: 230px;
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 12px;
    border: 1px solid rgba(13, 49, 88, 0.12);
    border-radius: var(--radius);
    background: var(--white);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 48px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.88) 100%);
  }

  .conditions .section-heading,
  .area-card,
  .about-preview,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .area-card {
    margin-inline: calc(clamp(20px, 5vw, 72px) * -1);
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-form label[for],
  .quote-form input,
  .quote-form select,
  .quote-form textarea,
  .quote-form .button {
    grid-column: 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    gap: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    max-width: 190px;
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .button-row,
  .contact-band {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .process-grid,
  .condition-grid,
  .gallery-grid,
  .scope-grid,
  .service-grid.three {
    grid-template-columns: 1fr;
  }

  .checkbox-list,
  .radio-list {
    grid-template-columns: 1fr;
  }

  .condition-grid div,
  .condition-grid div:nth-child(4) {
    border-right: 0;
    border-bottom: 1px solid rgba(13, 49, 88, 0.16);
    padding-bottom: 16px;
  }

  .condition-grid div:last-child {
    border-bottom: 0;
  }

  .map-panel {
    min-height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
