/* ============================================================
   Lawns by Rainey: botanical layer (site-wide)
   Approved by Yvad 2026-10-17 from the "Why Go With Us" flyer direction.
   Grain texture, no gradients (homepage hero overlay excepted), leaf-pill eyebrow,
   custom duotone icons, location tiles, grove / dusk background layers.
   Loaded AFTER each page's own <style> so these rules win. Motion: /assets/js/lbr-motion.js
   ============================================================ */
html { scroll-behavior: auto !important; }

/* ---------- Grain: flat colour + noise tile. Classes are added by lbr-motion.js
   (it checks each section's real background so photos are never covered) ---------- */
.lbr-grain-l { background-image: url("../images/lbr/grain-light.png") !important; background-size: 240px 240px !important; }
.lbr-grain-d { background-image: url("../images/lbr/grain.png") !important; background-size: 240px 240px !important; }

/* ---------- No gradients anywhere (button shine, glows, placeholders, fades) ---------- */
.btn-primary::after, .btn-outline-green::after, .btn-outline-light::after, .btn-call-nav::after, .btn-meet-team::after { display: none !important; }
.page-hero-dark::before, .cta-section::before { display: none !important; }
.svc-image, .gallery-item, .content-img, .story-img, .team-avatar, .loc-card-img { background-image: none; background-color: #2D6E3A; }
.svc-overlay { background: rgba(18, 30, 21, 0.5) !important; }
.cred-icon { background: rgba(93, 170, 110, 0.14) !important; }
/* Contact form loading placeholder: flat tone with a soft pulse instead of a gradient shimmer */
.skeleton-line, .skeleton-field, .skeleton-btn { background: #E6ECE3 !important; animation: lbr-pulse 1.4s ease-in-out infinite !important; }
@keyframes lbr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.blog-img { background-color: #24412A; background-image: url("../images/lbr/grain.png"); background-size: 240px 240px; }
.reviews-track-wrap::before, .reviews-track-wrap::after { display: none !important; }

/* ---------- Eyebrow: leaf pill ---------- */
.label:not(.hero-label) { display: flex; align-items: center; gap: 7px; width: fit-content;
  background: #E3EEDD; color: #2F7A40; padding: 5px 13px 5px 7px; border-radius: 999px; }
.label-light:not(.hero-label) { background: #24412A; color: #A3C67A; }
/* Some pages set style="display:block;text-align:center" on the label itself: force the pill so the sprout and
   the text always sit on one line, and centre it (class set by lbr-motion.js) when its heading is centred. */
.label.eb { display: flex !important; flex-wrap: nowrap; width: fit-content !important; max-width: 100%; white-space: nowrap; }
.label.eb.lbr-center { margin-left: auto !important; margin-right: auto !important; }
.eb-mark { width: 20px; height: 20px; flex-shrink: 0; display: block; }
.eb-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.eb-mark .eb-stem { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.eb-mark .eb-leaf { fill: #C4DCA8; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.label-light .eb-mark .eb-leaf { fill: #2E5235; }

/* ---------- Custom duotone icons (inline SVG injected by lbr-motion.js) ---------- */
.lbr-ico { display: block; overflow: visible; }
.lbr-ico .ico-blob { fill: #C4DCA8; }
.lbr-ico .ico-line { fill: none; stroke: #1B2E1F; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Homepage process steps + vine */
.step-pill { font-size: 0 !important; color: transparent !important; width: 56px !important; height: 56px !important;
  background: #fff !important; border: 1px solid #D5E2CE !important; box-shadow: 0 2px 6px rgba(26,46,26,0.07); z-index: 2; }
.step-pill .lbr-ico { width: 34px; height: 34px; }
.process-steps { position: relative; isolation: isolate; }
.process-step { position: relative; z-index: 1; }
.lbr-vine { position: absolute; left: 0; top: 0; width: 56px; pointer-events: none; z-index: 0; overflow: visible; }
.lbr-vine .vine-stem { fill: none; stroke: #9DC38A; stroke-width: 2; stroke-linecap: round; }
.lbr-vine .vine-leaf { fill: #C4DCA8; stroke: #5DAA6E; stroke-width: 1.2; }
.stats-grid .lbr-ico { width: 46px; height: 46px; margin-bottom: 10px; }

/* ---------- Location tiles: homepage list ---------- */
.pills-wrap { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px !important; }
.pill { background: #fff !important; border: 1px solid #D5E2CE !important; color: #1A2E1A !important; border-radius: 10px !important;
  min-height: 54px; padding: 0 14px !important; gap: 10px; font-size: 15px !important; font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(26,46,26,0.06); transition: border-color 0.25s ease, box-shadow 0.25s ease !important; }
.pill:hover { border-color: #5DAA6E !important; box-shadow: 0 6px 18px rgba(26,46,26,0.1); }
.pill .lbr-ico { width: 30px; height: 30px; flex-shrink: 0; }
@media (max-width: 767px) {
  .pills-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pill { font-size: 14px !important; padding: 0 10px !important; gap: 8px; }
}

/* ---------- Location tiles: Locations page cards ---------- */
.loc-card { border: 1px solid #D5E2CE !important; border-radius: 14px !important; box-shadow: 0 2px 8px rgba(26,46,26,0.07) !important;
  transition: translate 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease !important; }
.loc-card:hover { transform: none !important; translate: 0 -5px; border-color: #5DAA6E !important; box-shadow: 0 12px 28px rgba(26,46,26,0.12) !important; }
.loc-card-img { position: relative; }
.loc-card-img::after { content: ''; position: absolute; inset: 0; background: rgba(10, 22, 13, 0.26); pointer-events: none; }
.loc-card-state { position: relative; z-index: 1; background: #E3EEDD !important; color: #2F7A40 !important; backdrop-filter: none !important;
  border-radius: 999px !important; padding: 4px 10px !important; font-size: 10.5px !important; }
.loc-card-arrow { z-index: 2; }
.loc-card-body { position: relative; padding-left: 62px !important; }
.loc-card-body .lbr-ico { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; }

/* Area chips on service and location pages */
.area-pill { display: inline-flex !important; align-items: center; gap: 7px; border-radius: 10px !important; border: 1px solid #D5E2CE !important;
  background: #fff !important; padding: 7px 14px 7px 9px !important; font-weight: 600 !important; box-shadow: 0 2px 6px rgba(26,46,26,0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, translate 0.25s ease !important; }
.area-pill:hover { background: #fff !important; color: #1A2E1A !important; border-color: #5DAA6E !important; transform: none !important; translate: 0 -1px; box-shadow: 0 6px 16px rgba(26,46,26,0.1); }
.area-pill .lbr-ico { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- FAQ: cards + leaf plus ---------- */
.faq-item { background: #fff; border: 1px solid #D5E2CE !important; border-radius: 12px; margin-bottom: 10px; box-shadow: 0 2px 6px rgba(26,46,26,0.05); }
.faq-item { padding-left: 20px; padding-right: 20px; }
.faq-icon { font-size: 0 !important; color: transparent !important; width: 34px !important; height: 34px !important; border: 0 !important; background: none !important; }
.faq-icon .lbr-ico { width: 34px; height: 34px; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-icon { transform: none !important; }
.faq-item.open .faq-icon .lbr-ico { transform: rotate(45deg); }
#faq .label { margin-left: auto; margin-right: auto; }
#faq .h2 { text-align: center; }
#faq .faq-list { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.review-card { background: #fff !important; border: 1px solid #D5E2CE !important; box-shadow: 0 2px 8px rgba(26,46,26,0.07) !important; }

/* ---------- Ferns in dark bands (homepage Who We Are, inner page headers) ---------- */
.lbr-has-ferns { position: relative; overflow: hidden; }
.lbr-has-ferns > .container { position: relative; z-index: 1; }
.lbr-fern { position: absolute; width: 300px; height: auto; pointer-events: none; z-index: 0; }
.lbr-fern--bl { left: -30px; bottom: -40px; transform-origin: 0% 100%; }
.lbr-fern--tr { right: -30px; top: -40px; transform-origin: 100% 0%; }
.page-hero-dark .lbr-fern { width: 240px; }
@media (max-width: 767px) { .lbr-fern, .page-hero-dark .lbr-fern { width: 160px; } }

/* ---------- Grove: swaying ink trees behind homepage What We Do + By the Numbers ---------- */
.lbr-grove-on { background: transparent !important; position: relative; z-index: 1; }
.lbr-grove { position: absolute; left: 0; width: 100%; top: 0; height: 0; overflow: hidden; pointer-events: none; z-index: 0;
  background-color: var(--bg); background-image: url("../images/lbr/grain-light.png"); background-size: 240px 240px; }
.lbr-tree { position: absolute; bottom: -2px; }
.lbr-tree img { position: absolute; display: block; }
.lbr-tree .lbr-limb { will-change: transform; }
.lbr-tree--main { left: -150px; height: 96%; aspect-ratio: 1.056; }
.lbr-tree--side { right: -330px; height: 58%; aspect-ratio: 1.048; transform: scaleX(-1); }
.lbr-grove-leaves { position: absolute; inset: 0; }
.lbr-grove-leaves .lbr-leaf path { stroke: #8FB77E; }
@media (max-width: 1023px) { .lbr-tree--main { left: -260px; height: 70%; } .lbr-tree--side { right: -420px; height: 42%; } }
@media (max-width: 767px) { .lbr-tree--main { left: -300px; height: 46%; } .lbr-tree--side { display: none; } }

/* ---------- Dusk: one dark layer from the closing CTA band to the end of the footer ---------- */
.lbr-dusk-on { background: transparent !important; position: relative; z-index: 1; }
#footer { padding-bottom: 34px; }
.lbr-dusk { position: absolute; left: 0; width: 100%; top: 0; height: 0; overflow: hidden; pointer-events: none; z-index: 0;
  background-color: #1B2E1F; background-image: url("../images/lbr/grain.png"); background-size: 240px 240px; }
.lbr-leaves { position: absolute; inset: 0; }
.lbr-leaf { position: absolute; top: 0; left: 0; overflow: visible; visibility: hidden; will-change: transform; }
.lbr-leaf path { fill: none; stroke: #A3C67A; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.lbr-grass { position: absolute; left: 0; bottom: 0; width: 100%; height: 44px; }
.lbr-grass path { fill: none; stroke: #A3C67A; stroke-width: 1.2; stroke-linecap: round; opacity: 0.32; }
.lbr-grass .clump { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .lbr-leaves, .lbr-grove-leaves { display: none; } }

/* ---------- Footer credit ---------- */
.footer-credit a { text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Locations: Mapbox map tiles (service-area-map-tiles skill) ---------- */
.loc-card-img { background-size: cover; background-position: center; align-items: flex-start !important; }   /* county pill top-left, clear of the town name */
.loc-card-img::after { background: rgba(10, 22, 13, 0.08); }      /* the tile carries its own tint; just a breath for the pill */
/* Required credit for tiles pulled with attribution=false. Caption role; #5E8169 on #F5F7F4 = 4.0:1 (floor is 3:1). */
.lbr-map-credit { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: #5E8169; text-align: right; }
.lbr-map-credit a { color: inherit; text-decoration: none; }
.lbr-map-credit a:hover, .lbr-map-credit a:focus-visible { color: #2F7A40; text-decoration: underline; }
@media (max-width: 767px) { .lbr-map-credit { text-align: center; } }
