/* Kampmeyer Solutions — commercial lawn care
   Layout: left-aligned, one 1120px column. The hero is a mowed field seen
   from the edge of the lot; everything below it sits quietly on pale ground. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;

  /* color */
  --turf: #1d4a2b;        /* mowed stripe, dark pass */
  --turf-light: #26602f;  /* mowed stripe, light pass */
  --turf-deep: #10291a;   /* shade under the tree line; footer */
  --paper: #f3f6f1;       /* page ground */
  --surface: #ffffff;     /* form and raised panels */
  --ink: #15231a;         /* text */
  --ink-soft: #4b5b50;    /* secondary text */
  --line: #cfd8cc;        /* rules */
  --field-line: #8fa093;  /* input borders */
  --sun: #f2b233;         /* the one warm accent: primary action */
  --sun-ink: #241a00;
  --error: #a3261c;

  /* type */
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.125rem;
  --step-1: 1.375rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --step-4: clamp(2.75rem, 1.6rem + 5.4vw, 5.25rem);

  /* space */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6rem);
  --measure: 62ch;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.55;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 0.94; letter-spacing: -0.005em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-weight: 600; line-height: 1.1; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  background: var(--sun);
  color: var(--sun-ink);
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  z-index: 10;
}
.skip:focus { top: 0.5rem; }

/* ---------- header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 0.9rem;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.005em;
}
.brand-line {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
  margin-left: auto;
}
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--turf-light); }
.header-phone {
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
}
.header-phone:hover { background: var(--ink); color: var(--paper); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--sun); color: var(--sun-ink); }
.btn-primary:hover { background: #ffc54d; }
.btn-on-turf { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-on-turf:hover { background: #fff; color: var(--turf-deep); border-color: #fff; }
.btn-dark { background: var(--turf); color: #fff; }
.btn-dark:hover { background: var(--turf-deep); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

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

/* ---------- turf: the mowed field ---------- */

.turf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--turf-deep);
  color: #fff;
}
/* the field: mower passes running away from the viewer, horizon above the top edge */
.turf::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: -170%;
  right: -170%;
  bottom: 0;
  height: 300rem;
  background: repeating-linear-gradient(90deg, var(--turf) 0 7rem, var(--turf-light) 7rem 14rem);
  transform: perspective(70rem) rotateX(50deg);
  transform-origin: 50% 100%;
}
/* shade toward the far edge of the lot, and behind the copy */
.turf::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 41, 26, 0.7) 0%, rgba(16, 41, 26, 0) 75%),
    linear-gradient(90deg, rgba(16, 41, 26, 0.6) 0%, rgba(16, 41, 26, 0.3) 45%, rgba(16, 41, 26, 0) 80%);
}

.hero .wrap {
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 11vw, 8.5rem);
  display: grid;
  gap: 1.5rem;
}
.hero h1 { max-width: 11ch; }
.hero .lead {
  max-width: 34rem;
  font-size: var(--step-1);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}
.hero .actions { margin-top: 0.5rem; }

.page-head .wrap {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  gap: 1rem;
}
.page-head h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.25rem); }
.page-head .lead { max-width: 36rem; font-size: var(--step-1); line-height: 1.4; color: rgba(255, 255, 255, 0.92); }

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 0.75rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head p { max-width: var(--measure); color: var(--ink-soft); }

/* what a visit covers */
.visit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(1.25rem, 3vw, 2.5rem);
}
.visit li { display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.visit li::before {
  content: "";
  height: 10px;
  margin-bottom: 0.6rem;
  background: repeating-linear-gradient(90deg, var(--turf) 0 14px, var(--turf-light) 14px 28px);
}
.visit p { color: var(--ink-soft); font-size: 1.0625rem; }

/* property types */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.split > * { min-width: 0; }
.split .section-head { margin-bottom: 0; }
.plain-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  border-top: 1px solid var(--line);
}
.plain-list li {
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

/* how a bid works: a real sequence, so it is numbered */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(1.25rem, 3vw, 2.5rem);
}
.steps li { counter-increment: step; display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 1;
  color: var(--turf-light);
}
.steps p { color: var(--ink-soft); font-size: 1.0625rem; }

/* services page */
.service-list { display: grid; border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 0.75rem clamp(2rem, 6vw, 5rem);
  padding-block: clamp(1.5rem, 3.5vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.service > * { min-width: 0; }
.service p { max-width: var(--measure); }
.service p + p { margin-top: 0.75rem; }
.service .note { color: var(--ink-soft); }

.prose { display: grid; gap: 1rem; max-width: var(--measure); }
.prose p { color: var(--ink-soft); }

/* closing band */
.band .wrap {
  padding-block: clamp(3rem, 7vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.band h2 { max-width: 18ch; }
.band::after {
  background: linear-gradient(90deg, rgba(16, 41, 26, 0.65) 0%, rgba(16, 41, 26, 0.35) 55%, rgba(16, 41, 26, 0.15) 100%);
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-grid > * { min-width: 0; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  display: grid;
  gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.field { display: grid; gap: 0.4rem; min-width: 0; align-content: start; }
.field label { font-weight: 600; font-size: 1rem; line-height: 1.35; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--field-line);
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
}
.field input, .field select { min-height: 3.125rem; }
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.45; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 1px;
  border-color: var(--ink);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: var(--step--1); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.form-foot p { font-size: var(--step--1); color: var(--ink-soft); }

.form-status {
  border-radius: 6px;
  padding: 0.9rem 1rem;
  font-weight: 500;
}
.form-status.is-error { background: #fbeae8; color: var(--error); border: 1px solid #e7b6b1; }

.sent { display: grid; gap: 0.9rem; justify-items: start; }
.sent h2 { font-size: var(--step-3); }
.sent p { color: var(--ink-soft); max-width: 40ch; }

.contact-details { display: grid; gap: 1.75rem; }
.contact-details h2 { font-size: var(--step-2); font-weight: 600; }
.detail { display: grid; gap: 0.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.detail dt { font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); }
.detail dd { margin: 0; font-weight: 500; }
.detail .big {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.1;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.detail .big:hover { text-decoration: underline; }
dl { margin: 0; display: grid; gap: 1.25rem; }
address { font-style: normal; }

/* ---------- footer ---------- */

.site-footer { background: var(--turf-deep); color: rgba(255, 255, 255, 0.86); font-size: 1rem; }
.site-footer .wrap {
  padding-block: clamp(2.5rem, 6vw, 3.5rem) 1.75rem;
  display: grid;
  gap: 2rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 2rem;
}
.footer-cols > * { min-width: 0; display: grid; gap: 0.35rem; align-content: start; }
.footer-name { font-family: var(--display); font-weight: 700; font-size: 1.75rem; color: #fff; line-height: 1; }
.footer-label { font-weight: 600; color: #fff; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.25rem;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- narrower screens ---------- */

@media (max-width: 60rem) {
  .visit, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .service, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 36rem) {
  body { font-size: 1.0625rem; }
  .visit, .steps, .plain-list, .form-row, .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 0.25rem 1.5rem; }
  .header-phone { margin-left: auto; }
  .site-header .wrap { column-gap: 0.75rem; }
  .brand-name { font-size: 1.45rem; }
  .brand-where { display: none; }
  .header-phone { font-size: 1rem; padding: 0.3rem 0.7rem; }
  .actions .btn { flex: 1 1 100%; }
  .turf::before { background-image: repeating-linear-gradient(90deg, var(--turf) 0 4.5rem, var(--turf-light) 4.5rem 9rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .site-nav a, .header-phone { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
}
