/* Cutting Concepts. Plain CSS, no build step. Colours are the handoff's visual system. */
:root {
  --forest: #15251B;      /* header, dark panels */
  --forest-2: #1D3326;
  --evergreen: #315B3A;
  --grass: #87B77A;       /* CTAs and accents */
  --grass-hover: #9cc690;
  --mint: #E6EFE0;        /* soft green tint */
  --ivory: #F5F4EE;       /* page */
  --ivory-2: #ECEAE0;
  --white: #FFFFFF;
  --text: #1D261F;
  --muted: #4A564D;
  --line: #D9D6C8;
  --on-dark: #E9EFE6;
  --on-dark-muted: #B9C6B6;
  --error: #A3261B;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(21,37,27,.06), 0 8px 24px rgba(21,37,27,.08);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--text); font: 400 1.0625rem/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--evergreen); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--grass); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 750; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.nowrap { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--grass); color: var(--forest); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 30px; height: 30px; }

/* Buttons: at least 44px tall everywhere */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 12px 24px; font-size: 1.0625rem; }
.btn-accent { background: var(--grass); color: var(--forest); }
.btn-accent:hover { background: var(--grass-hover); color: var(--forest); }
.btn-ghost { background: rgba(10,20,14,.35); color: var(--white); border-color: rgba(255,255,255,.75); backdrop-filter: blur(2px); }
.btn-ghost:hover { border-color: var(--white); background: rgba(10,20,14,.55); color: var(--white); }
.btn-outline { background: transparent; color: var(--evergreen); border-color: var(--evergreen); }
.btn-outline:hover { background: var(--mint); color: var(--text); }
.btn-dark { background: var(--forest); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-dark:hover { color: var(--white); background: var(--forest-2); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--forest); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 18px rgba(0,0,0,.18); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--white); }
.brand img { height: 76px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; }
@media (min-width: 861px) and (max-width: 1060px) { .brand-name { display: none; } }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.site-nav a:not(.btn) { color: var(--on-dark); text-decoration: none; padding: 10px 14px; border-radius: var(--radius-sm); min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; position: relative; }
.site-nav a:not(.btn):hover { color: var(--white); }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--grass); transform: scaleX(0); transition: transform .2s; }
.site-nav a:not(.btn):hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.nav-call { margin-left: 10px; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .header-row { min-height: 76px; }
  .brand img { height: 62px; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 48px; height: 48px;
    background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-sm); color: var(--white); cursor: pointer;
  }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--forest); padding: 8px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .js .site-nav a:not(.btn)::after { display: none; }
  .nav-call { margin: 14px 0 0; }
  html:not(.js) .header-row { flex-wrap: wrap; padding-bottom: 8px; }
  html:not(.js) .site-nav { margin-left: 0; }
}

/* Hero: real Cache Valley photo under a dark wash so white text stays readable */
.hero { position: relative; color: var(--white); background: var(--forest); isolation: isolate; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,24,16,.88) 0%, rgba(12,24,16,.62) 42%, rgba(12,24,16,.12) 75%, rgba(12,24,16,0) 100%),
    linear-gradient(0deg, rgba(12,24,16,.55) 0%, rgba(12,24,16,0) 35%);
}
.hero-inner { padding-top: clamp(56px, 10vw, 128px); padding-bottom: clamp(48px, 8vw, 104px); }
.hero h1 { color: var(--white); max-width: 11.5ch; margin-bottom: .15em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.swoosh { display: block; width: min(300px, 70%); height: 14px; margin: 0 0 22px; fill: none; stroke: var(--grass); stroke-width: 5; stroke-linecap: round; }
.lede { font-size: clamp(1.1rem, 2.1vw, 1.3rem); color: var(--on-dark); max-width: 34ch; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 750; color: var(--grass); margin-bottom: .9em; }
.eyebrow-dark { color: var(--evergreen); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-strip { background: rgba(12,24,16,.82); border-top: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.strip-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-list li { display: flex; align-items: center; gap: 12px; padding: 18px 12px; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--on-dark); }
.strip-list li + li { border-left: 1px solid rgba(255,255,255,.1); }
.strip-list .ico { width: 28px; height: 28px; color: var(--grass); }

@media (max-width: 860px) {
  .strip-list { grid-template-columns: repeat(2, 1fr); }
  .strip-list li:nth-child(3) { border-left: 0; }
  .strip-list li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 600px) {
  .hero::before { background: linear-gradient(180deg, rgba(12,24,16,.55) 0%, rgba(12,24,16,.78) 55%, rgba(12,24,16,.92) 100%); }
  .hero-photo img { object-position: 45% 50%; }
  .cta-row .btn { flex: 1 1 100%; }
  .strip-list li { padding: 14px 8px; font-size: .88rem; gap: 10px; }
  .strip-list .ico { width: 24px; height: 24px; }
}

/* Sections */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-tint { background: var(--mint); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lede { color: var(--muted); font-size: 1.12rem; margin: 0; }

/* Services: icon, copy, ticks + a photo per card */
.services { background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory) 70%, var(--ivory-2) 100%); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc { display: grid; grid-template-columns: 1fr 42%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(21,37,27,.06), 0 14px 32px rgba(21,37,27,.12); }
.svc-body { padding: 24px 22px 22px; }
.svc-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.svc-title .ico { color: var(--evergreen); }
.svc-title h3 { margin: 0; }
.svc-body p { color: var(--muted); font-size: 1rem; margin-bottom: .8em; }
.svc-photo { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 4px 0 4px 28px; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  background: var(--grass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315251B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.photo-note { margin: 18px 0 0; font-size: .88rem; color: var(--muted); }
.svc-more { display: inline-block; margin-top: 12px; padding: 6px 0; font-weight: 600; color: var(--evergreen); }
.svc-more::after { content: " →"; }

/* Service pages (lawn-maintenance.html etc.) */
.crumbs { font-size: .92rem; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--evergreen); }
.svc-page-head { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; margin-bottom: 12px; }
.svc-page-head h1 { margin: 6px 0 12px; }
.svc-page-photo { margin: 0; }
.svc-page-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.svc-page-photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.svc-page .prose { max-width: 70ch; font-size: 1.08rem; }
.svc-page .prose h2 { font-size: 1.35rem; margin-top: 1.4em; }
.svc-cta { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; margin: 40px 0; padding: 26px 28px; background: var(--mint); border: 1px solid var(--line); border-radius: var(--radius); }
.svc-cta h2 { font-size: 1.35rem; margin: 0 0 6px; }
.svc-cta p { margin: 0; color: var(--muted); }
.svc-cta .cta-row { margin-top: 0; }
.more-svc h2 { font-size: 1.1rem; }
.more-svc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.more-svc a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--evergreen); font-weight: 600; text-decoration: none; }
.more-svc a:hover { border-color: var(--evergreen); }
@media (max-width: 760px) {
  .svc-page-head, .svc-cta { grid-template-columns: 1fr; }
  .svc-page-photo { max-width: 320px; }
}
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .svc { grid-template-columns: 1fr; }
  .svc-photo { order: -1; height: 180px; min-height: 0; }
}

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-copy p { font-size: 1.1rem; max-width: 56ch; }
.ruled { padding-left: 18px; border-left: 5px solid var(--grass); }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 5 / 3; object-fit: cover; width: 100%; }
.about-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.values { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.values li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: var(--white); border-radius: var(--radius); padding: 20px 12px; font-weight: 700; box-shadow: var(--shadow); }
.values .ico { color: var(--evergreen); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
}

/* Service area: photo banner + two cards */
.area { background: var(--ivory); padding-bottom: clamp(60px, 8vw, 100px); }
.area-banner { position: relative; isolation: isolate; color: var(--white); min-height: clamp(260px, 38vw, 440px); display: flex; align-items: flex-end; }
.area-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.area-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,24,16,.8) 0%, rgba(12,24,16,.25) 50%, rgba(12,24,16,0) 100%); }
.area-banner-text { padding-top: 40px; padding-bottom: clamp(70px, 9vw, 110px); }
.area-banner-text h2 { color: var(--white); max-width: 18ch; text-shadow: 0 2px 16px rgba(0,0,0,.4); margin: 0; }
.area-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: -56px; position: relative; }
.area-card { background: var(--white); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.area-card h3 { display: flex; align-items: center; gap: 10px; }
.area-card h3 .ico { color: var(--evergreen); }
.area-card p { margin: 0; font-size: 1.08rem; }
.area-card-accent { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.area-card-accent h3 { color: var(--white); }
.area-card-accent h3 .ico { color: var(--grass); }
.area-card-accent a { color: var(--grass); font-weight: 700; }
.area-card-accent a:hover { color: var(--white); }
@media (max-width: 760px) { .area-body { grid-template-columns: 1fr; } }

/* Estimate */
.estimate { background: linear-gradient(180deg, var(--ivory-2) 0%, var(--mint) 100%); }
.estimate-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 24px; align-items: start; }
.estimate-form { background: var(--white); color: var(--text); border-radius: var(--radius); padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label, legend { display: block; font-weight: 700; margin-bottom: 6px; }
legend { padding: 0; }
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--muted); }
input:not([type]), input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--text); background: #FCFCFA;
  border: 1.5px solid #B9B6A8; border-radius: var(--radius-sm);
}
::placeholder { color: #8A9089; }
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus { outline: 3px solid var(--grass); outline-offset: 1px; border-color: var(--evergreen); background: var(--white); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error { color: var(--error); font-size: .95rem; font-weight: 600; margin: 6px 0 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 400; min-height: 44px; margin: 0; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--evergreen); flex: none; }
.checks-inline { grid-template-columns: repeat(3, max-content); gap: 2px 22px; }
@media (max-width: 380px) { .checks { grid-template-columns: 1fr; } .checks-inline { grid-template-columns: repeat(3, max-content); } }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--evergreen); }
.form-status pre { white-space: pre-wrap; font: .95rem/1.5 var(--font); background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; margin: 10px 0 0; color: var(--text); font-weight: 400; }
.fine { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 520px) { .form-actions .btn { flex: 1 1 100%; } }

.contact-card { background: var(--forest); color: var(--on-dark); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.contact-card img { width: 78%; margin: 0 auto 22px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); line-height: 1.4; }
.contact-list .ico { color: var(--grass); width: 24px; height: 24px; margin-top: 2px; }
.contact-list strong { display: block; color: var(--white); }
.contact-list a { color: var(--grass); font-weight: 800; font-size: 1.25rem; text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.contact-list a:hover { color: var(--white); }
@media (max-width: 860px) {
  .estimate-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; order: -1; }
  .contact-card img { width: 220px; }
}

/* Footer */
.site-footer { background: #101C14; color: var(--on-dark-muted); padding: 52px 0 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: start; }
.footer-logo img { width: 200px; }
.footer-name { color: var(--white); font-weight: 800; font-size: 1.15rem; margin-bottom: .4em; }
.footer-phone { font-weight: 800; font-size: 1.25rem; color: var(--grass) !important; display: inline-flex; min-height: 44px; align-items: center; }
.site-footer nav { display: flex; flex-direction: column; }
.site-footer nav a { min-height: 40px; display: inline-flex; align-items: center; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 18px; padding-bottom: 18px; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footer-base p { margin: 0; }
.footer-base .credit { color: var(--on-dark-muted); }
.footer-base .credit a { color: inherit; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } .footer-logo img { width: 180px; } }

/* Phone: sticky Estimate / Call bar */
.mobile-bar { display: none; }
@media (max-width: 600px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(16,28,20,.96); border-top: 1px solid rgba(255,255,255,.1);
  }
  body { padding-bottom: 72px; }
}

/* Plain pages (privacy, credits) */
.page-plain { padding: clamp(40px, 7vw, 80px) 0; }
.page-plain .prose { max-width: 70ch; font-size: 1.08rem; }
.page-plain .prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.credit-list { list-style: none; padding: 0; margin: 0; }
.credit-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.credit-list img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 120px; }
.credit-list p { margin: 0; font-size: .98rem; }
@media (max-width: 460px) { .credit-list li { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
