/* King's Landscaping — Kalispell, MT
   System fonts only, no build step, mobile-first.
   Palette: charcoal / brass / parchment — a heritage-plaque feel built
   around the business's real strongest asset, 25+ years since 1999. */

:root {
  --ink: #211C17;
  --ink-soft: #34281C;
  --parchment: #FBF7EE;
  --parchment-mid: #EFE6D2;
  --stone: #EDE6D4;
  --stone-mid: #E3D8BC;
  --brass: #8B6A2E;
  --brass-dark: #6B4F1F;
  --brass-bright: #C79A45;
  --white: #FFFFFF;
  --border: #D9CBA3;
  --font-head: "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brass-dark); }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brass-bright);
  outline-offset: 2px;
}
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 0.75em 1.25em;
  z-index: 100;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 3px solid var(--brass-bright);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}
.brand img { flex: none; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--white);
}
.brand-text span { display: block; font-size: 0.72em; font-weight: 400; font-family: var(--font); color: var(--brass-bright); letter-spacing: 0.02em; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--brass-bright);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55em 0.8em;
  border-radius: 3px;
  white-space: nowrap;
}
.tel-btn svg { flex: none; }

.nav-toggle { position: relative; }
.nav-toggle summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.55em 0.7em;
  border: 1px solid var(--brass-bright);
  border-radius: 3px;
  background: var(--parchment);
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle summary::before { content: "\2261  "; }
.nav-toggle nav { display: none; }
.nav-toggle[open] nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(33, 28, 23, 0.3);
  min-width: 220px;
  padding: 0.4rem;
  z-index: 60;
}
.nav-toggle nav a {
  display: block;
  padding: 0.7em 0.8em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border-radius: 3px;
}
.nav-toggle nav a:hover, .nav-toggle nav a:focus-visible { background: var(--parchment-mid); }

@media (min-width: 780px) {
  .nav-toggle summary { display: none; }
  .nav-toggle nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    gap: 0.1rem;
  }
  .nav-toggle nav a { padding: 0.5em 0.65em; font-weight: 700; color: var(--white); font-size: 0.94rem; }
  .nav-toggle nav a:hover, .nav-toggle nav a:focus-visible { background: var(--ink-soft); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85em 1.5em;
  border-radius: 3px;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--brass-bright);
  color: var(--ink);
}
.btn-primary:hover { background: #d9ab55; }
.btn-outline {
  background: transparent;
  color: var(--brass-bright);
  border-color: var(--brass-bright);
}
.btn-outline:hover { background: rgba(199, 154, 69, 0.15); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--ink);
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: repeating-linear-gradient(135deg, rgba(199,154,69,0.16) 0 2px, transparent 2px 64px),
                     repeating-linear-gradient(45deg, rgba(199,154,69,0.10) 0 2px, transparent 2px 64px);
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  color: var(--stone);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.hero-copy { max-width: 62ch; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brass-bright);
  margin: 0 0 0.75rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 5vw + 0.5rem, 2.6rem);
  margin-bottom: 0.6em;
}
.hero-tagline {
  font-size: 1.05rem;
  color: var(--stone);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }
.hero-seal { width: 190px; height: 190px; flex: none; }

@media (min-width: 860px) {
  .hero-inner { flex-direction: row; align-items: center; text-align: left; padding: 4rem 1.25rem; }
  .hero-seal { width: 220px; height: 220px; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background-color: var(--ink-soft); border-bottom: 1px solid var(--brass); }
.trust-grid {
  padding: 1.75rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: center;
}
.trust-grid strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--brass-bright);
}
.trust-grid span { display: block; font-size: 0.85rem; color: var(--stone); margin-top: 0.15em; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Services (ledger list) ---------- */
.services { background-color: var(--white); }
.section-lede { max-width: 62ch; color: var(--ink); font-size: 1.05rem; }
.service-list { margin-top: 2rem; display: flex; flex-direction: column; }
.service-list li {
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.service-list li:first-child { padding-top: 0; }
.num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--brass-dark);
  min-width: 2.2ch;
  flex: none;
}
.service-list h3 { font-size: 1.12rem; margin-bottom: 0.3em; }
.service-list p { margin: 0; font-size: 0.98rem; }

@media (min-width: 760px) {
  .service-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .service-list li { padding: 1.6rem 0; }
}

/* ---------- Why us ---------- */
.why-us { background-color: var(--ink); color: var(--stone); }
.why-us h2 { color: var(--white); }
.why-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-grid li { display: flex; gap: 0.9rem; align-items: flex-start; }
.why-grid li svg { flex: none; margin-top: 0.15em; }
.why-grid strong { display: block; color: var(--white); font-size: 1.05rem; margin-bottom: 0.2em; }
.why-grid p { margin: 0; color: var(--stone); }

/* ---------- Projects ---------- */
.projects { background-color: var(--parchment-mid); }
.grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.gallery-card { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.gallery-card img { width: 100%; }
.gallery-card figcaption { padding: 0.75rem 1rem; font-weight: 700; color: var(--ink); }

/* ---------- Service area ---------- */
.service-area { background-color: var(--white); }
.maps-link {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  font-weight: 700;
  color: var(--brass-dark);
}
.hours { color: var(--ink); }

/* ---------- Quote ---------- */
.quote { background-color: var(--ink-soft); color: var(--stone); }
.quote h2 { color: var(--white); }
.quote .section-lede { color: var(--stone); }
.quote-form {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 700; color: var(--stone); font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit;
  padding: 0.7em 0.8em;
  border-radius: 3px;
  border: 1px solid var(--brass);
  background: var(--white);
  color: var(--ink);
}
.quote-form button { justify-self: start; margin-top: 0.25rem; }
.form-alt { margin-top: 1.25rem; color: var(--stone); }
.form-alt a { color: var(--white); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--ink); color: var(--stone); }
.footer-inner {
  display: grid;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.1rem; }
.site-footer p:not(.footer-brand) { margin: 0 0 0.5em; color: var(--stone); }
.site-footer a { color: var(--stone); }
