/* Bernado's Landscaping and Dirtworks — brand derived from the trade name's
   own duality + the hero photo's real tones (soil brown, sky blue, safety
   yellow). No sourced business photos/reviews exist — see README §"Brand
   derivation." Never reuse Lewis Digital's gold/charcoal/cream here. */

:root {
  /* soil / dirtwork half */
  --soil:        #5b3d24;
  --soil-deep:   #2c1c10;
  --soil-soft:   #8a6543;

  /* clay / sand — warm neutral base, deliberately NOT Lewis Digital's cream (#fbf8f1) */
  --clay:        #c98f52;
  --sand:        #f1e6d0;
  --sand-deep:   #e6d3ac;

  /* sky — from the hero photo's vivid blue */
  --sky:         #2f7ec4;
  --sky-deep:    #1c507f;

  /* safety-equipment yellow — from the hero photo, used sparingly */
  --safety:      #f0ab1f;
  --safety-deep: #c8830a;

  /* leaf — name-derived "landscaping" accent, NOT photo-sourced (see README) */
  --leaf:        #5c7048;
  --leaf-deep:   #3f4f31;

  --ink:         #241a10;
  --ink-soft:    #5a4a38;
  --white:       #fffaf0;

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body:    "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "DM Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1180px;
  --radius: 10px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }

.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--soil-deep); color: var(--white); padding: 12px 18px; border-radius: 0 0 8px 0;
  z-index: 200; font-family: var(--font-body); font-weight: 600;
}
.skip-link:focus { left: 0; top: 0; }

.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;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--soil);
  margin-bottom: 12px;
  display: inline-block;
}
.eyebrow--light { color: var(--clay); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 6px; font-weight: 700; text-decoration: none;
  font-family: var(--font-body); font-size: 15.5px; transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.btn--primary { background: var(--safety); color: var(--soil-deep); box-shadow: 0 4px 0 var(--safety-deep); }
.btn--primary:hover { background: #f4b942; transform: translateY(-1px); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--safety-deep); }
.btn--ghost { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--lg { padding: 17px 34px; font-size: 17px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--sand);
  border-bottom: 3px solid var(--soil-deep);
}
.site-header__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand__mark { color: var(--soil); display: flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: 0.01em; }
.brand__text em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }

.site-nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: 2px solid var(--soil-deep); border-radius: 6px; cursor: pointer;
}
.site-nav__toggle span { display: block; height: 2px; width: 18px; margin: 0 auto; background: var(--soil-deep); }
.site-nav__list { display: flex; gap: 30px; }
.site-nav__list a {
  text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--ink);
  padding-bottom: 3px; border-bottom: 2px solid transparent; transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav__list a:hover { border-color: var(--leaf); color: var(--soil-deep); }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero__split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  height: min(82vh, 680px);
  min-height: 560px;
}
.hero__photo { position: relative; overflow: hidden; background: var(--soil-deep); height: 100%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(44,28,16,0) 55%, var(--soil-deep) 100%);
}
.hero__panel {
  position: relative; overflow: hidden;
  background: var(--soil-deep);
  display: flex; align-items: center;
  padding: 64px 48px 96px;
}
.hero__contours { position: absolute; inset: 0; opacity: 0.5; pointer-events: none; }
.hero__contours svg { width: 100%; height: 100%; }
.hero__contours path { fill: none; stroke: var(--soil-soft); stroke-width: 1.4; opacity: 0.4; }
.hero__contours--contact { opacity: 0.18; }
.hero__contours--contact path { stroke: var(--sand); }

.hero__copy { position: relative; z-index: 1; }
.hero__eyebrow { font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--clay); display: block; margin-bottom: 18px; }
.hero__title { display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.hero__word { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; }
.hero__word--land { color: var(--leaf); }
.hero__word--and { color: var(--soil-soft); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; margin: 2px 0; }
.hero__word--dirt { color: var(--safety); }
.hero__sub { color: var(--sand); font-size: 17px; max-width: 32em; margin-bottom: 32px; line-height: 1.6; opacity: 0.92; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* job ticket strip */
.job-ticket {
  position: relative; z-index: 2;
  margin: 0 auto; max-width: calc(var(--container) - 48px);
  transform: translateY(-40px);
  padding: 0 24px;
}
.job-ticket__inner {
  background: var(--white);
  border: 2px dashed var(--soil);
  border-radius: 8px;
  padding: 20px 26px;
  box-shadow: 0 14px 30px rgba(44,28,16,0.18);
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 34px;
  font-family: var(--font-mono);
}
.job-ticket__label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--sky-deep); background: rgba(47,126,196,0.12); padding: 4px 9px; border-radius: 4px; font-weight: 700;
}
.job-ticket__list { display: flex; flex-wrap: wrap; gap: 8px 30px; flex: 1; }
.job-ticket__list li { display: flex; flex-direction: column; gap: 2px; min-width: 130px; }
.job-ticket__k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.job-ticket__v { font-size: 13.5px; color: var(--ink); font-weight: 500; }
.job-ticket__v a { text-decoration: none; border-bottom: 1px solid var(--soil); }
.job-ticket__note { font-size: 10.5px; color: var(--ink-soft); width: 100%; padding-top: 4px; border-top: 1px dashed var(--sand-deep); }

/* ---------- story ---------- */
.story { padding-top: 128px; }
.story__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.story__copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--soil-deep); margin-bottom: 22px; text-transform: none; }
.story__copy p { color: var(--ink-soft); margin-bottom: 18px; font-size: 16.5px; }
.story__copy p:last-child { margin-bottom: 0; }
.story__panel {
  background: var(--soil-deep); color: var(--sand);
  border-radius: var(--radius); padding: 30px 28px;
}
.story__facts { display: flex; flex-direction: column; gap: 22px; }
.story__facts li { display: flex; align-items: baseline; gap: 16px; }
.story__facts-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--safety); line-height: 1; flex: none; }
.story__facts-label { font-size: 14px; color: var(--sand); opacity: 0.92; }
.story__panel-note { font-family: var(--font-mono); font-size: 11px; color: var(--soil-soft); margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(241,230,208,0.15); }

/* ---------- signature: spec plate ---------- */
.split { padding: 96px 0 110px; background: var(--sand-deep); }
.split__title { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--soil-deep); margin-bottom: 16px; text-transform: none; max-width: 20em; }
.split__lede { color: var(--ink-soft); max-width: 46em; font-size: 16.5px; margin-bottom: 48px; }
.split__lede strong { color: var(--soil-deep); }

.spec-plate {
  position: relative;
  max-width: var(--container); margin: 0 auto; padding: 0 24px 0 24px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  background: var(--white);
  border-radius: 14px;
  border: 3px solid var(--soil-deep);
  box-shadow: 0 10px 0 rgba(44,28,16,0.12);
}
.spec-plate__rivets { position: absolute; inset: 10px; pointer-events: none; }
.spec-plate__rivets span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--soil-deep); opacity: 0.7; }
.spec-plate__rivets span:nth-child(1) { top: 0; left: 0; }
.spec-plate__rivets span:nth-child(2) { top: 0; right: 0; }
.spec-plate__rivets span:nth-child(3) { bottom: 0; left: 0; }
.spec-plate__rivets span:nth-child(4) { bottom: 0; right: 0; }

.spec-plate__col { padding: 44px 40px; }
.spec-plate__head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.spec-plate__head span { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; font-weight: 700; }
.spec-plate__col--land .spec-plate__head { color: var(--leaf-deep); }
.spec-plate__col--dirt .spec-plate__head { color: var(--soil); }
.spec-plate__list li {
  padding: 13px 0; border-top: 1px solid var(--sand-deep); font-size: 16px; color: var(--ink);
  position: relative; padding-left: 20px;
}
.spec-plate__list li:first-child { border-top: none; }
.spec-plate__col--land .spec-plate__list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.spec-plate__col--dirt .spec-plate__list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; background: var(--safety); }
.spec-plate__divider { display: flex; align-items: center; justify-content: center; color: var(--soil); padding: 0 8px; border-left: 1px dashed var(--sand-deep); border-right: 1px dashed var(--sand-deep); }

/* ---------- service area ---------- */
.area__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.area__card { background: var(--white); border: 1px solid var(--sand-deep); border-radius: var(--radius); padding: 30px 28px; }
.area__card h2 { font-size: 1.3rem; color: var(--soil-deep); margin-bottom: 12px; text-transform: none; }
.area__card p { color: var(--ink-soft); font-size: 15px; }
.area__card--call { background: var(--soil-deep); border-color: var(--soil-deep); }
.area__card--call h2 { color: var(--sand); }
.area__card--call p { color: var(--soil-soft); }
.area__phone {
  display: inline-block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
  color: var(--safety); text-decoration: none; margin-bottom: 12px;
}

/* ---------- reviews ---------- */
.reviews h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--soil-deep); margin-bottom: 24px; text-transform: none; }
.reviews__placeholder {
  background: var(--white); border: 1px dashed var(--soil); border-radius: var(--radius);
  padding: 30px 32px; max-width: 46em;
}
.reviews__placeholder p { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; }
.reviews__link { display: inline-block; font-weight: 700; color: var(--sky-deep); text-decoration: none; border-bottom: 2px solid var(--sky); }
.reviews__link:hover { color: var(--sky); }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--soil-deep); color: var(--sand); padding: 88px 0; overflow: hidden; }
.contact__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.contact h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--white); margin-bottom: 14px; text-transform: none; max-width: 14em; }
.contact__copy p { color: var(--soil-soft); max-width: 30em; font-size: 16px; }
.contact__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact__area { font-family: var(--font-mono); font-size: 13px; color: var(--soil-soft); }

/* ---------- footer ---------- */
.footer { background: var(--soil-deep); border-top: 1px solid rgba(241,230,208,0.12); padding: 26px 0 90px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer__business { font-size: 13.5px; color: var(--sand); opacity: 0.85; }
.footer__business a { color: var(--safety); text-decoration: none; }
.footer__credit { font-size: 12.5px; color: var(--soil-soft); }
.footer__credit a { color: var(--sand); text-decoration: none; border-bottom: 1px solid var(--soil-soft); }

/* ---------- mobile call bar ---------- */
.call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--safety); color: var(--soil-deep);
  align-items: center; justify-content: center; gap: 10px;
  padding: 15px; text-decoration: none; font-weight: 800; font-size: 16px;
  box-shadow: 0 -6px 18px rgba(44,28,16,0.25);
  font-family: var(--font-body);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__split { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero__photo { height: 320px; }
  .hero__panel { height: auto; padding: 56px 32px 88px; }
  .story__grid { grid-template-columns: 1fr; }
  .area__grid { grid-template-columns: 1fr; }
  .spec-plate { grid-template-columns: 1fr; }
  .spec-plate__divider { border-left: none; border-right: none; border-top: 1px dashed var(--sand-deep); border-bottom: 1px dashed var(--sand-deep); padding: 14px 0; }
  .job-ticket { transform: translateY(-28px); }
}

@media (max-width: 760px) {
  .site-nav__toggle { display: flex; }
  .site-nav__list {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--sand); flex-direction: column; gap: 0;
    border-bottom: 3px solid var(--soil-deep); padding: 6px 24px 18px;
  }
  .site-nav__list.is-open { display: flex; flex-direction: column; }
  .site-nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--sand-deep); }

  .contact__inner { flex-direction: column; align-items: flex-start; }
  .contact__actions { align-items: flex-start; }

  .call-bar { display: flex; }
  .footer { padding-bottom: 96px; }
  .section { padding: 64px 0; }
  .story { padding-top: 72px; }
  .split { padding: 64px 0 72px; }
}

@media (max-width: 560px) {
  .job-ticket__inner { flex-direction: column; align-items: flex-start; }
  .job-ticket { transform: translateY(-18px); padding: 0 16px; }
  .hero__panel { padding: 44px 22px 72px; }
  .spec-plate__col { padding: 32px 24px; }
}
