/* Fieldwork Lawn — olive and sand, horizontal bands */

:root {
  --olive: #555c2f;
  --olive-dark: #3d4321;
  --olive-light: #c9cc9f;
  --sand: #e9e0c9;
  --sand-light: #f5f0e3;
  --soil: #2c2a20;
  --muted: #5e5b4c;
  --line: #cfc5aa;
  --max: 1240px;
  --font: "Gill Sans", "Gill Sans MT", "Trebuchet MS", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--soil);
  background: var(--sand-light);
}

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

a {
  color: var(--olive-dark);
}

:focus-visible {
  outline: 3px solid #a9781e;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 1rem;
  background: var(--olive-dark);
  color: var(--sand-light);
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.concept-strip {
  padding: 0.4rem 1.25rem;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--olive-light);
  background: var(--olive-dark);
}

.concept-strip a {
  color: var(--sand-light);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.8rem clamp(1.25rem, 4vw, 3rem);
  background: var(--sand-light);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--olive-dark);
  text-decoration: none;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.site-header nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--soil);
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: 2px;
  background: var(--olive);
  color: var(--sand-light);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--olive-dark);
}

.button-small {
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

/* Hero: wide horizontal split */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: min(70vh, 620px);
  background: var(--olive-dark);
  color: var(--sand-light);
}

.hero-copy {
  align-self: center;
  max-width: 40rem;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
}

.hero-copy p {
  margin: 0 0 2rem;
  max-width: 32rem;
  color: var(--olive-light);
}

.hero .button {
  background: var(--sand);
  color: var(--olive-dark);
}

.hero .button:hover {
  background: var(--sand-light);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

/* Bands: label column + content row */
.band {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.band-label h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.band-label p {
  margin: 0;
  color: var(--muted);
}

.tag {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.band-sand {
  background: var(--sand);
}

.band-olive {
  background: var(--olive);
  color: var(--sand-light);
  border-bottom: 0;
}

.band-olive .band-label p {
  color: var(--olive-light);
}

/* Each visit */
.visit-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: visit;
}

.visit-steps li {
  counter-increment: visit;
  padding: 0 1.5rem;
  border-left: 1px solid var(--line);
}

.visit-steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.visit-steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--olive-dark);
}

.visit-steps h3::before {
  content: counter(visit) " — ";
  color: var(--muted);
  font-weight: 400;
}

.visit-steps p {
  margin: 0;
  color: var(--muted);
}

/* Schedule */
.schedule-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.schedule-option {
  padding: 1.5rem;
  background: var(--sand-light);
}

.schedule-option h3 {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
}

.schedule-option p {
  margin: 0;
  color: var(--muted);
}

.season-note {
  grid-column: 2;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Area */
.area-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.area-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.area-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.area-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}

.area-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  font-weight: 600;
}

.small {
  font-size: 0.9375rem;
}

/* Pricing */
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.factors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0;
}

.factors dt {
  font-weight: 700;
}

.factors dd {
  margin: 0.25rem 0 0;
  color: var(--olive-light);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sand-light);
  color: var(--soil);
}

.price-table caption {
  padding: 0 0 0.6rem;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}

.price-table th,
.price-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.price-table thead th {
  background: var(--sand);
  font-size: 0.9375rem;
}

.price-table tbody th {
  font-weight: 400;
}

.price-table td {
  font-weight: 700;
}

/* Estimate */
.estimate {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}

.estimate-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.estimate-copy p {
  margin: 0;
  color: var(--muted);
}

.estimate-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1.25rem;
  align-items: end;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #a59b80;
  border-radius: 2px;
  background: #fffdf6;
  color: var(--soil);
  font: inherit;
}

.form-output {
  grid-column: 1 / -1;
  display: block;
  color: var(--olive-dark);
}

.form-output:empty {
  display: none;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem);
  font-size: 0.8125rem;
  color: var(--olive-light);
  background: var(--olive-dark);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--sand-light);
}

/* Responsive */
@media (max-width: 1000px) {
  .band,
  .estimate {
    grid-template-columns: 1fr;
  }

  .season-note {
    grid-column: 1;
  }

  .pricing-layout,
  .area-layout {
    grid-template-columns: 1fr;
  }

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

  .estimate-form .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 0.15rem 1rem;
    padding-bottom: 0.25rem;
  }

  .nav-list a {
    display: inline-block;
    white-space: nowrap;
    padding: 0.35rem 0;
  }

  .site-header .button-small {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 60vw;
    min-height: 260px;
    order: -1;
  }

  .visit-steps,
  .schedule-row,
  .factors,
  .estimate-form {
    grid-template-columns: 1fr;
  }

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

  .visit-steps li:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
