/* Parker Landscape Management
   Palette and type are taken from the business itself:
   white truck, black ink logo, the green bar on the 2010 business card,
   and the Kansas limestone in the walls David builds. */

:root {
  --white: #ffffff;
  --ink: #000000;
  --text: #262626;
  --muted: #5e5e5e;
  --turf: #2d6a35;        /* business-card green */
  --turf-dark: #20502a;
  --stone: #ebe4d6;       /* Kansas limestone */
  --stone-line: #cfc4ad;
  --line: #d6d6d6;

  --display: "Bitter", Georgia, serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--turf); text-underline-offset: 3px; }
a:hover { color: var(--turf-dark); }
:focus-visible { outline: 3px solid var(--turf); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.015em; }
h2 { font-weight: 800; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -.01em; }
h3 { font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-stone { background: var(--stone); }
.section-ink { background: var(--ink); color: #e6e6e6; }
.section-ink h2, .section-ink h3 { color: var(--white); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--turf); color: var(--white);
  font: 600 1rem/1 var(--body); text-decoration: none;
  padding: 14px 22px; border: 2px solid var(--turf); border-radius: 3px; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--turf-dark); border-color: var(--turf-dark); color: var(--white); }
.btn-lg { font-size: 1.1rem; padding: 18px 28px; }
.btn-block { width: 100%; text-align: center; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }

.call { color: var(--text); text-decoration: none; font-size: 1.05rem; }
.call strong { font-family: var(--display); font-size: 1.35rem; color: var(--ink); border-bottom: 2px solid var(--turf); }
.call:hover strong { color: var(--turf); }
.call-light, .call-light strong { color: var(--white); }
.call-light strong { border-color: var(--white); }

/* Header */
.masthead { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 2px solid var(--ink); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand img { height: 72px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--turf); }
.site-nav .nav-phone { font-family: var(--display); font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 96px); }
.hero h1 { max-width: 14ch; }
.hero-sub { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: end; margin-top: 28px; padding-bottom: clamp(36px, 5vw, 56px); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text); margin: 0; max-width: 54ch; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.film { position: relative; height: clamp(320px, 52vw, 640px); background: var(--stone) center / cover no-repeat; overflow: hidden; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.film.has-video video { opacity: 1; }

/* Section heads */
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }

/* The work (job book) */
.trade { border-top: 2px solid var(--ink); padding-top: 22px; margin-top: clamp(48px, 6vw, 80px); }
.trade:first-of-type { margin-top: 0; }
.trade-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 48px; margin-bottom: 24px; }
.trade-head h3 { margin: 0; }
.trade-head p { margin: 0; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); grid-auto-flow: dense; gap: 12px; }
.shots figure { margin: 0; position: relative; overflow: hidden; background: var(--stone); }
.shots img { width: 100%; height: 100%; object-fit: cover; }
.shots .s-wide { grid-column: span 2; }
.shots .s-tall { grid-row: span 2; }
.shots figcaption {
  position: absolute; left: 0; bottom: 0; max-width: calc(100% - 16px);
  background: var(--white); color: var(--ink); font-size: .82rem; font-weight: 500; line-height: 1.3;
  padding: 6px 10px;
}

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split-rev > figure { order: 0; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.section-ink .split-photo figcaption { color: #a8a8a8; }
.lede-sm { font-size: 1.15rem; line-height: 1.6; }

.specs { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.specs div { border-top: 1px solid var(--line); padding: 14px 0 16px; }
.section-stone .specs div { border-color: var(--stone-line); }
.section-ink .specs div { border-color: #3a3a3a; }
.specs dt { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: 2px; }
.section-ink .specs dt { color: var(--white); }
.specs dd { margin: 0; color: var(--muted); font-size: .96rem; }
.section-ink .specs dd { color: #bdbdbd; }

/* Backflow */
.backflow { margin-top: clamp(48px, 6vw, 80px); border-top: 2px solid var(--ink); padding-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(32px, 5vw, 72px); }
.backflow .specs { margin-top: 0; }
.backflow .btn { margin-top: 6px; }

/* Snow sign-up */
.snow-signup { border: 2px solid var(--white); padding: clamp(24px, 3vw, 36px); align-self: center; }
.snow-signup p { color: #d0d0d0; }
.snow-signup .btn { margin: 8px 18px 8px 0; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-truck { margin: 0; }
.about-truck img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-truck figcaption, .card-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.proof { border-left: 4px solid var(--turf); padding: 4px 0 4px 16px; font-size: 1.05rem; }
.card-photo { margin: 28px 0 0; max-width: 360px; }
.card-photo img { border: 1px solid var(--line); }

/* Before / after */
.ba-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.ba-tab { font: 600 .95rem var(--body); padding: 10px 16px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; }
.ba-tab.active { background: var(--ink); color: var(--white); }
.ba-slider { position: relative; aspect-ratio: 4 / 3; max-width: 900px; overflow: hidden; background: var(--stone); user-select: none; -webkit-user-select: none; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .2s; }
.ba-slider.swap img { opacity: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; background: var(--white); border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.ba-handle span::before { left: 8px; border-right-color: var(--ink); }
.ba-handle span::after { right: 8px; border-left-color: var(--ink); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.ba-slider:has(.ba-range:focus-visible) { outline: 3px solid var(--turf); outline-offset: 4px; }
.ba-label { position: absolute; top: 12px; background: var(--white); color: var(--ink); font: 600 .85rem var(--body); padding: 5px 10px; pointer-events: none; transition: opacity .2s; }
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }
.ba-caption { margin: 16px 0 4px; max-width: 900px; }
.ba-note { font-size: .8rem; color: var(--muted); max-width: 900px; }

/* Estimate */
.estimate { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps { margin: 28px 0; padding-left: 1.4em; }
.steps li { padding: 6px 0; }
.steps li::marker { font-family: var(--display); font-weight: 800; color: var(--turf); }
.steps strong { color: var(--ink); }
.contact { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--stone-line); }
.contact li { padding: 3px 0; }
.contact a { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration-color: var(--turf); }

.estimate-form { background: var(--white); border: 2px solid var(--ink); padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.estimate-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.estimate-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.estimate-form input, .estimate-form select, .estimate-form textarea {
  font: 400 1rem var(--body); color: var(--text); background: var(--white);
  padding: 12px; border: 1px solid #9a9a9a; border-radius: 2px; width: 100%;
}
.estimate-form textarea { resize: vertical; }
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { outline: 2px solid var(--turf); outline-offset: 0; border-color: var(--turf); }
.estimate-form .invalid { border-color: #b3261e; outline: 1px solid #b3261e; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 8px 12px; border: 1px solid #9a9a9a; border-radius: 2px; font-weight: 500; font-size: .9rem; background: var(--white); }
.chip input:checked + span { background: var(--turf); border-color: var(--turf); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--turf); outline-offset: 2px; }
.form-note { font-size: .85rem; color: var(--muted); margin: -4px 0 0; }
.form-status { display: none; padding: 12px 14px; font-weight: 500; }
.form-status.ok { display: block; background: #e4efe5; color: var(--turf-dark); }
.form-status.err { display: block; background: #f6e3e1; color: #8a1f17; }

/* Footer */
.footer { background: var(--ink); color: #cfcfcf; padding: 56px 0 32px; font-size: .95rem; }
.footer a { color: var(--white); }
.footer-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 32px; align-items: start; }
.footer-mark { background: var(--white); padding: 4px; }
.footer-name { font-family: var(--display); font-weight: 700; color: var(--white); font-size: 1.2rem; margin-bottom: 6px; }
.footer-nav { display: grid; gap: 6px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copy { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 18px; margin: 12px 0 0; font-size: .85rem; color: #9a9a9a; max-width: none; }

/* Responsive */
@media (max-width: 1060px) {
  .site-nav { gap: 18px; }
  .site-nav a[href="#lawn"] { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 2px solid var(--ink); padding: 4px var(--gutter) 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[href="#lawn"] { display: block; }
  .site-nav .btn { margin-top: 14px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero-sub, .section-head, .trade-head, .split, .backflow, .about, .estimate { grid-template-columns: 1fr; }
  .split-rev > figure { order: 2; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 34vw, 240px); }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-nav { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 24px; }
}
@media (max-width: 560px) {
  .brand img { height: 56px; }
  .masthead-inner { min-height: 76px; }
  .specs { grid-template-columns: 1fr; }
  .estimate-form .row { grid-template-columns: 1fr; }
  .shots .s-tall { grid-row: span 1; }
  .shots figcaption { font-size: .7rem; padding: 3px 7px; max-width: calc(100% - 8px); }
  .footer-nav { grid-template-columns: repeat(2, auto); }
}

/* Meet David (irrigation) */
.meet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.meet-copy h2 { max-width: 12ch; }
.meet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.text-link { color: var(--ink); font-weight: 600; text-decoration-color: var(--turf); text-decoration-thickness: 2px; }
.meet-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.meet-photos figure { margin: 0; }
.meet-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.meet-photos .mp-main { grid-column: 1 / -1; }
.meet-photos .mp-main img { aspect-ratio: 16 / 10; }
.meet-photos figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.stock-note { grid-column: 1 / -1; font-size: .78rem; color: var(--muted); margin: 0; }
.stock-note-light { color: #8f8f8f; margin-top: 8px; }
.specs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); }

/* Snow removal */
.snow-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.snow-strip figure { margin: 0; }
.snow-strip img { width: 100%; height: clamp(180px, 24vw, 320px); object-fit: cover; }
.snow-body { margin-top: clamp(36px, 5vw, 56px); }
.snow-side { display: grid; gap: 20px; }
.snow-tips { border-top: 1px solid #3a3a3a; padding-top: 18px; }
.snow-tips h3 { font-size: 1.15rem; }
.snow-tips ul { margin: 0; padding-left: 1.1em; color: #c9c9c9; }
.snow-tips li { padding: 3px 0; }

@media (max-width: 900px) {
  .meet { grid-template-columns: 1fr; }
  .specs-3 { grid-template-columns: 1fr 1fr; }
  .snow-strip { grid-template-columns: 1fr 1fr; }
  .snow-strip .ss-main { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .specs-3 { grid-template-columns: 1fr; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.trade .stock-note { margin-top: 10px; }

/* David portrait in Meet David */
.meet-title { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; }
.meet-title h2 { margin: 0; }
.david-portrait { margin: 0; flex: none; }
.david-portrait img { width: 132px; height: 132px; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--ink); }
@media (max-width: 560px) {
  .david-portrait img { width: 96px; height: 96px; }
  .meet-title { gap: 14px; }
}
