/*
Theme Name: RW Lawn & Snow
Theme URI: https://rwlawnandsnow.ca
Author: RW Lawn & Snow Services
Author URI: https://rwlawnandsnow.ca
Description: A local lawn care and snow removal business theme for Wasaga Beach and Collingwood. Wasaga Local direction — organic, trustworthy, and dependable.
Version: 1.0.9
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rw-lawn-snow
*/

/* ================================================================
   CSS CUSTOM PROPERTIES — ALL DESIGN TOKENS (locked 2026-06-30)
   ================================================================ */
:root {
  /* Brand palette */
  --color-primary:                 #4a7a4c;   /* sage action — buttons, links */
  --color-primary-decorative:      #5c8a5e;   /* sage accent — borders, bars */
  --color-primary-on-dark:         #82c285;   /* accent text on dark bg  5.42:1 ✓ */
  --color-primary-on-dark-surface: #8dcc90;   /* text on dark surface    4.70:1 ✓ */
  --color-secondary:               #d4832a;   /* amber */
  --color-secondary-text:          #1a1200;   /* text on amber           6.26:1 ✓ */
  --color-sage-tint:               #eef4ee;

  /* Light mode semantic */
  --lm-bg:          #fefcf8;
  --lm-surface:     #eef4ee;
  --lm-text:        #2c3e35;   /* 11.09:1 on lm-bg ✓ */
  --lm-muted:       #556b59;   /*  5.64:1 on lm-bg, 5.18:1 on lm-surface ✓ */
  --lm-border:      rgba(92,138,94,0.30);
  --lm-placeholder: #5a6b5e;   /*  5.68:1 on white ✓ */

  /* Dark mode semantic */
  --dm-bg:      #2c3e35;
  --dm-surface: #3a4f42;
  --dm-text:    #fefcf8;   /* 11.09:1 on dm-bg ✓ */
  --dm-muted:   #b0c4b5;   /*  6.18:1 on dm-bg ✓ */
  --dm-border:  rgba(130,194,133,0.25);

  /* Typography */
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Lato', system-ui, sans-serif;

  /* Type scale (1.25 modular ratio, 17px base) */
  --text-xs:   0.694rem;
  --text-sm:   0.875rem;
  --text-base: 1.0625rem;
  --text-lg:   1.328rem;
  --text-xl:   1.66rem;
  --text-2xl:  2.075rem;
  --text-3xl:  2.594rem;
  --text-4xl:  3.242rem;
  --text-5xl:  4.053rem;

  /* Spacing (open density) */
  --sp-xs:  0.5rem;
  --sp-sm:  0.875rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  3.5rem;
  --sp-2xl: 5rem;

  /* Border radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-btn: 22px;
  --radius-pill:9999px;

  /* Shadows */
  --shadow-sm:          0 2px 8px rgba(44,62,53,0.07);
  --shadow-md:          0 4px 16px rgba(44,62,53,0.12);
  --shadow-lg:          0 8px 28px rgba(44,62,53,0.14);
  --shadow-dark:        0 2px 12px rgba(0,0,0,0.25);
  --shadow-dark-hover:  0 8px 32px rgba(0,0,0,0.40);
  --shadow-btn-primary: 0 2px 8px rgba(74,122,76,0.30);
  --shadow-btn-pri-h:   0 5px 20px rgba(74,122,76,0.40);
  --shadow-btn-sec:     0 2px 8px rgba(212,131,42,0.28);
  --shadow-btn-sec-h:   0 5px 20px rgba(212,131,42,0.42);
  --shadow-focus:       0 0 0 3px rgba(74,122,76,0.18);

  /* Motion (gentle level) */
  --duration-fast: 150ms;
  --duration-base: 200ms;
  --ease:          ease;
  --ease-cubic:    cubic-bezier(0.4, 0, 0.2, 1);
  --transition:    200ms ease;

  /* Layout */
  --content-size: 760px;
  --wide-size:    1200px;
}

/* ================================================================
   RESET + BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--lm-text);
  background: var(--lm-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

/* Footer margin reset */
.wp-site-blocks > footer {
  margin-block-start: 0;
}

/* ================================================================
   SCROLL REVEAL — fade-up, respects prefers-reduced-motion
   ================================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-cubic), transform 0.6s var(--ease-cubic);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

/* ================================================================
   NAVIGATION — sticky dark slate
   ================================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dm-bg);
  border-bottom: 1px solid rgba(130,194,133,0.12);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(var(--sp-md), 5vw, var(--sp-xl));
  margin-block-start: 0;
}

.nav__brand {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--dm-text);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav__brand span {
  color: var(--color-primary-on-dark);
}

/* ================================================================
   BUTTONS — pill shape, token colors
   ================================================================ */
.btn,
.wp-block-button__link,
.wp-element-button,
.wpforms-submit {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0.75em 2em;
  border-radius: var(--radius-btn);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    color var(--transition);
  white-space: nowrap;
}
.btn:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
  transform: translateY(-2px);
}
.btn:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.btn--primary,
.wp-block-button__link,
.wp-element-button,
.wpforms-submit {
  background: var(--color-primary);
  color: var(--lm-bg);   /* 4.90:1 ✓ */
  box-shadow: var(--shadow-btn-primary);
}
.btn--primary:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
  background: #3d6b40;
  box-shadow: var(--shadow-btn-pri-h);
  color: var(--lm-bg);
}

.btn--sm {
  font-size: var(--text-xs);
  padding: 0.6em 1.4em;
}

/* Dark-context button: warm-white fill + slate text */
.dark-section .btn--primary,
.dark-section .wp-block-button__link,
.dark-section .wp-element-button {
  background: var(--dm-text);   /* #fefcf8 */
  color: var(--dm-bg);          /* 11.09:1 ✓ */
  box-shadow: 0 2px 10px rgba(0,0,0,0.30);
}
.dark-section .btn--primary:hover,
.dark-section .wp-block-button__link:hover,
.dark-section .wp-element-button:hover {
  background: #f0ede5;
  box-shadow: 0 5px 22px rgba(0,0,0,0.40);
}

/* ================================================================
   SECTION LABELS — uppercase eyebrow with accent line
   ================================================================ */
:root .section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--sp-md);
  color: var(--color-primary);
}
:root .section-label::after {
  content: '';
  display: block;
  margin-top: 0.375rem;
  height: 2px;
  width: 2.5rem;
  background: currentColor;
  opacity: 0.45;
}
:root .section-label--dark {
  color: var(--color-primary-on-dark);
}

/* ================================================================
   WAVE DIVIDERS — organic section transitions
   ================================================================ */
.wave {
  position: relative;
  height: 64px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.wave::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -5%;
  width: 110%;
  height: 100px;
  /*border-radius: 50% 50% 0 0 / 100% 100% 0 0;*/
}

/* light bg → dark bg */
.wave--light-dark        { background: var(--lm-bg); }
.wave--light-dark::after { background: var(--dm-bg); }

/* dark bg → light bg */
.wave--dark-light        { background: var(--dm-bg); }
.wave--dark-light::after { background: var(--lm-bg); }

/* dark bg → sage surface */
.wave--dark-surf         { background: var(--dm-bg); }
.wave--dark-surf::after  { background: var(--lm-surface); }

/* sage surface → dark bg */
.wave--surf-dark         { background: var(--lm-surface); }
.wave--surf-dark::after  { background: var(--dm-bg); }

/* light bg → sage surface */
.wave--light-surf         { background: var(--lm-bg); }
.wave--light-surf::after  { background: var(--lm-surface); }

/* sage surface → light bg */
.wave--surf-light         { background: var(--lm-surface); }
.wave--surf-light::after  { background: var(--lm-bg); }

/* ================================================================
   GRASS STRIPE — animated gradient
   ================================================================ */
.grass-stripe {
  height: 5px;
  background: linear-gradient(90deg,
    var(--color-primary)            0%,
    var(--color-primary-decorative) 35%,
    var(--color-secondary)          65%,
    var(--color-primary)            100%
  );
  background-size: 200% 100%;
  animation: grass-shift 6s linear infinite;
  padding: 0;
  margin: 0;
}

@keyframes grass-shift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-section {
  background: var(--lm-bg);
  padding: clamp(var(--sp-xl), 8vw, var(--sp-2xl)) clamp(var(--sp-md), 5vw, var(--sp-xl)) clamp(var(--sp-xl), 8vw, calc(var(--sp-2xl) + var(--sp-lg)));
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle sage dot pattern */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(92,138,94,0.10) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

:root .hero-overline {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-md);
  display: block;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-4xl));
  font-weight: 700;
  line-height: 1.1;
  color: var(--lm-text);
  text-wrap: balance;
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: var(--sp-md);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--lm-muted);
  max-width: 44ch;
  margin-inline: auto;
  margin-bottom: var(--sp-xl);
  line-height: 1.5;
  font-style: italic;
  text-wrap: pretty;
}

/* ================================================================
   ABOUT SECTION — dark background, story first
   ================================================================ */
.about-section {
  padding: var(--sp-2xl) clamp(var(--sp-md), 5vw, var(--sp-xl));
  position: relative;
  overflow: hidden;
}

/* Dark section treatment */
.dark-section {
  background: var(--dm-bg);
  color: var(--dm-text);
}

/* Diagonal texture overlay */
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,          transparent          24px,
    rgba(92,138,94,0.025) 24px,
    rgba(92,138,94,0.025) 25px
  );
  pointer-events: none;
  z-index: 0;
}

/* Ambient amber glow */
.about-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,131,42,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about-section > * {
  position: relative;
  z-index: 1;
}

/* CSS leaf embellishments on about section */
.about-section .story-leaf {
  position: absolute;
  pointer-events: none;
  animation: leaf-float 4s ease-in-out infinite;
  z-index: 0;
}
.about-section .story-leaf--a {
  top: 20px;
  right: 80px;
  opacity: 0.15;
  animation-delay: 0s;
}
.about-section .story-leaf--a::before {
  content: '';
  position: absolute;
  width: 32px;
  height: 46px;
  background: var(--color-primary-decorative);
  border-radius: 0 60% 0 60%;
  transform: rotate(-20deg);
}
.about-section .story-leaf--b {
  bottom: 30px;
  left: 60px;
  opacity: 0.09;
  animation-delay: 2s;
}
.about-section .story-leaf--b::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 56px;
  background: var(--color-primary-decorative);
  border-radius: 0 60% 0 60%;
  transform: rotate(12deg);
}

.about-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary-on-dark);   /* 5.42:1 ✓ */
  margin-bottom: var(--sp-md);
  display: block;
}
.about-eyebrow::after {
  content: '';
  display: block;
  margin-top: 0.375rem;
  height: 2px;
  width: 2.5rem;
  background: currentColor;
  opacity: 0.45;
}

.about-section .section-label {
  color: var(--color-primary-on-dark);   /* 5.42:1 ✓ */
}

.about-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 3.5vw, var(--text-3xl));
  font-weight: 700;
  color: var(--dm-text);   /* 11.09:1 ✓ */
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: var(--sp-lg);
}

.about-section p {
  font-size: var(--text-lg);
  color: var(--dm-muted);   /* 6.18:1 ✓ */
  line-height: 1.75;
  text-wrap: pretty;
}
.about-section p + p {
  margin-top: var(--sp-md);
}
.about-section strong {
  color: var(--dm-text);
  font-weight: 700;
}

/* ================================================================
   SERVICES SECTION — editorial 2-column list
   ================================================================ */
.services-section {
  background: var(--lm-surface);
  padding: var(--sp-2xl) clamp(var(--sp-md), 5vw, var(--sp-xl));
}

.services-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 3.5vw, var(--text-3xl));
  font-weight: 700;
  color: var(--lm-text);
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: var(--sp-sm);
}

.services-section > .wp-block-group__inner-container > p,
.services-intro {
  font-size: var(--text-base);
  color: var(--lm-muted);
  margin-top: var(--sp-sm);
  max-width: 52ch;
  text-wrap: pretty;
  margin-bottom: var(--sp-xl);
}

/* 2-column grid of service items */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm) var(--sp-xl);
  margin-top: var(--sp-xl);
}

/* Editorial list item — 4px sage left border */
.service-item {
  padding: var(--sp-md) var(--sp-md) var(--sp-md) var(--sp-lg);
  border-left: 4px solid var(--color-primary-decorative);
  background: var(--lm-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition:
    border-left-color var(--transition),
    box-shadow var(--transition);
}
.service-item:hover {
  border-left-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.service-item__category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);   /* 4.90:1 on lm-bg ✓ */
  margin-bottom: 0.25rem;
  display: block;
}

.service-item h3,
.service-item__heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--lm-text);
  line-height: 1.3;
  margin-bottom: var(--sp-xs);
}

.service-item p,
.service-item__text {
  font-size: var(--text-sm);
  color: var(--lm-muted);   /* 5.64:1 on lm-bg ✓ */
  line-height: 1.65;
  text-wrap: pretty;
  margin: 0;
}

/* ================================================================
   SEASONAL CALLOUT — left-aligned inset panel
   ================================================================ */
.seasonal-callout {
  background: var(--lm-bg);
  padding: var(--sp-2xl) clamp(var(--sp-md), 5vw, var(--sp-xl));
}

.seasonal-inner {
  background: var(--lm-surface);
  border-left: 5px solid var(--color-primary-decorative);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--sp-xl);
  max-width: 760px;
  position: relative;
  overflow: hidden;
}

/* Subtle dot texture on panel */
.seasonal-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(92,138,94,0.12) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

.seasonal-inner > * {
  position: relative;
  z-index: 1;
}

:root .season-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lm-bg);
  background: var(--color-secondary);
  padding: 0.3em 0.9em;
  border-radius: var(--radius-btn);
  margin-bottom: var(--sp-md);
}

:root .seasonal-accent-bar {
  width: 48px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin-bottom: var(--sp-lg) !important;
}

.seasonal-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  font-weight: 700;
  color: var(--lm-text);
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: var(--sp-md);
}

.seasonal-inner p {
  font-size: var(--text-base);
  color: var(--lm-muted);
  line-height: 1.7;
  max-width: 54ch;
  text-wrap: pretty;
  margin-bottom: var(--sp-lg);
}

/* ================================================================
   WHY CHOOSE US SECTION
   ================================================================ */
.why-section {
  background: var(--lm-bg);
  padding: var(--sp-2xl) clamp(var(--sp-md), 5vw, var(--sp-xl));
}

.why-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 3.5vw, var(--text-3xl));
  font-weight: 700;
  color: var(--lm-text);
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: var(--sp-lg);
}

.why-section p {
  font-size: var(--text-lg);
  color: var(--lm-text);
  line-height: 1.75;
  /* max-width: 62ch; */
  text-wrap: pretty;
}
.why-section p + p {
  margin-top: var(--sp-md);
}
.why-section strong {
  color: var(--color-primary);   /* 4.90:1 on lm-bg ✓ */
  font-weight: 700;
}

.service-area-note {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--lm-border);
  font-size: var(--text-sm);
  color: var(--lm-muted);   /* 5.64:1 on lm-bg ✓ */
  line-height: 1.65;
  max-width: 54ch;
  text-wrap: pretty;
}

/* ================================================================
   CONTACT SECTION — split layout
   ================================================================ */
.contact-section {
  background: var(--lm-surface);
  padding: var(--sp-2xl) clamp(var(--sp-md), 5vw, var(--sp-xl));
}

.contact-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 3.5vw, var(--text-3xl));
  font-weight: 700;
  color: var(--lm-text);
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: var(--sp-sm);
}

.contact-subhead {
  font-size: var(--text-base);
  color: var(--lm-muted);
  line-height: 1.65;
  max-width: 54ch;
  margin-bottom: var(--sp-xl);
  text-wrap: pretty;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lm-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--lm-text);
  background: #ffffff;
  border: 1.5px solid rgba(92,138,94,0.45);
  border-radius: var(--radius-md);
  padding: 0.65em 1em;
  line-height: 1.5;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a7a4c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-color: #ffffff;
  padding-right: 2.5em;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--lm-placeholder);   /* 5.68:1 on white ✓ */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-focus);
}

/* Contact info column */
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--lm-text);
  margin-bottom: var(--sp-sm);
}

.contact-info p {
  font-size: var(--text-base);
  color: var(--lm-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-lg);
  max-width: 34ch;
  text-wrap: pretty;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.contact-link-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

:root .contact-link-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--lm-muted);
  margin-bottom: 3px;
}

:root .contact-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);   /* 4.50:1 on lm-surface ✓ */
  text-decoration: none;
  transition: color var(--transition);
  line-height: 1.2;
}
.contact-link:hover {
  color: var(--color-secondary);
}

:root .service-area {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--lm-border);
}

.service-area__label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--lm-muted);
  margin-bottom: var(--sp-xs);
  display: block;
}

.service-area__text {
  font-size: var(--text-base);
  color: var(--lm-text);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Contact column widths */
.contact-section .wp-block-columns {
  align-items: start;
  gap: var(--sp-2xl);
}

.contact-section .wp-block-column:first-child {
  flex: 1.1;
}

.contact-section .wp-block-column:last-child {
  flex: 0.9;
}

/* ================================================================
   FOOTER — dark slate
   ================================================================ */
.site-footer {
  background: var(--dm-bg);
  border-top: 1px solid rgba(130,194,133,0.18);
  margin-block-start: 0;
}

.site-footer__stripe {
  height: 4px;
  background: linear-gradient(90deg,
    var(--color-primary)            0%,
    var(--color-primary-decorative) 35%,
    var(--color-secondary)          65%,
    var(--color-primary)            100%
  );
  background-size: 200% 100%;
  animation: grass-shift 6s linear infinite;
}

.site-footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  padding: var(--sp-md) clamp(var(--sp-md), 5vw, var(--sp-xl));
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--dm-text);
}
.site-footer__brand span {
  color: var(--color-primary-on-dark);
}

.site-footer__copy {
  font-size: var(--text-xs);
  color: var(--dm-muted);   /* 6.18:1 ✓ */
  letter-spacing: 0.04em;
}

.site-footer__tagline {
  text-align: center;
  padding: var(--sp-sm) clamp(var(--sp-md), 5vw, var(--sp-xl));
  font-size: var(--text-xs);
  color: var(--dm-muted);
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(130,194,133,0.10);
  font-style: italic;
}
.site-footer__tagline span {
  color: var(--color-primary-on-dark);   /* 5.42:1 ✓ */
  font-style: normal;
  font-weight: 700;
}

/* ================================================================
   LEAF ANIMATIONS
   ================================================================ */
@keyframes leaf-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-7px) rotate(3deg); }
}

/* ================================================================
   SERVICE CARD COMPONENT (from design-patterns.html)
   ================================================================ */
.service-card {
  background: var(--lm-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--lm-border);
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-card__bar {
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-decorative) 100%);
}

.service-card__body {
  padding: var(--sp-lg);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  position: relative;
  margin-bottom: var(--sp-md);
}
.service-card__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%) rotate(40deg);
  width: 18px;
  height: 26px;
  background: var(--lm-bg);
  border-radius: 0 60% 0 60%;
}

.service-card__category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-xs);
  display: block;
}

.service-card__heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--lm-text);
  line-height: 1.25;
  margin-bottom: var(--sp-sm);
}

.service-card__text {
  font-size: var(--text-sm);
  color: var(--lm-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
  text-wrap: pretty;
}

.service-card__link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--transition), text-underline-offset var(--transition);
}
.service-card__link:hover {
  color: var(--color-secondary);
  text-underline-offset: 5px;
}

/* ================================================================
   QUOTE BLOCK / TESTIMONIAL
   ================================================================ */
.quote-block {
  position: relative;
  padding: var(--sp-lg) var(--sp-lg) var(--sp-lg) calc(var(--sp-lg) + 20px);
  border-left: 4px solid var(--color-primary-decorative);
  background: var(--lm-bg);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-sm);
}
.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 12px;
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-primary-decorative);
  opacity: 0.20;
  pointer-events: none;
  user-select: none;
}
.quote-block__text {
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.65;
  color: var(--lm-text);
  text-wrap: pretty;
  position: relative;
  z-index: 1;
  margin-bottom: var(--sp-md);
}
.quote-block__author {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--lm-text);
  display: block;
}
.quote-block__location {
  font-size: var(--text-xs);
  color: var(--lm-muted);
  letter-spacing: 0.04em;
  display: block;
}

/* ================================================================
   INLINE LINKS
   ================================================================ */
.prose-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.prose-link:hover {
  color: var(--color-secondary);
}

/* ================================================================
   DARK TEXTURE UTILITY
   ================================================================ */
.dark-texture {
  position: relative;
}
.dark-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 24px,
    rgba(92,138,94,0.025) 24px,
    rgba(92,138,94,0.025) 25px
  );
  pointer-events: none;
}
.dark-texture > * {
  position: relative;
  z-index: 1;
}

/* ================================================================
   EQUAL CARDS LAYOUT
   ================================================================ */
.equal-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}
.equal-cards > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.equal-cards .cta-bottom {
  margin-top: auto;
  justify-content: center;
}

/* ================================================================
   WORDPRESS BLOCK OVERRIDES
   ================================================================ */
.wp-block-columns.alignwide {
  max-width: var(--wide-size);
}

/* Suppress WordPress default heading margins — theme.json blockGap:0 removes the
   auto 24px margin-block-start, but heading elements still inherit browser defaults.
   This ensures headings that follow eyebrow paragraphs are tight to the eyebrow's margin-bottom. */
.hero-section .wp-block-heading,
.about-section .wp-block-heading,
.services-section .wp-block-heading,
.seasonal-callout .wp-block-heading,
.seasonal-inner .wp-block-heading,
.why-section .wp-block-heading,
.contact-section .wp-block-heading {
  margin-top: 0;
}

/* With blockGap:0, elements that were previously "first child" in the flow
   no longer get auto 24px. For about-section, the eyebrow is 3rd DOM child
   (after 2 absolutely-positioned leaves) — ensure it has no unwanted top gap. */
.about-section > .about-eyebrow {
  margin-block-start: 0;
}

/* Within seasonal-inner, the first child (season-badge) should sit at the top of its padding */
.seasonal-inner > .season-badge {
  margin-block-start: 0;
}

/* Why-section list spacing (after paragraphs, WP gap is now 0) */
.why-section .wp-block-list {
  margin-block-start: var(--sp-md);
}

/* Center hero CTA button — text-align:center doesn't affect flex children */
.hero-section .wp-block-buttons {
  justify-content: center;
}

/* Remove default top margin WordPress adds to columns */
.contact-section .wp-block-columns {
  margin-top: 0;
}

/* Content width constraints — direct children of sections.
   WordPress 6.x uses is-layout-flow (not is-layout-constrained),
   so we target direct children of each section. */
.hero-section > *,
.services-section > *,
.seasonal-callout > *,
.contact-section > * {
  max-width: var(--wide-size);
  margin-inline: auto;
}

.why-section > *,
.about-section > * {
  max-width: 720px;
  margin-inline: auto;
}

/* Leaf embellishments are absolutely positioned — don't constrain them */
.about-section > .story-leaf {
  max-width: none;
  margin-inline: 0;
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (max-width: 640px) {
  .services-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-section .wp-block-columns {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-footer__main {
    flex-direction: column;
    text-align: center;
  }
  .seasonal-inner {
    border-radius: 0;
    border-left-width: 4px;
    padding: var(--sp-lg);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-2xl);
  }
  .about-section h2 {
    font-size: var(--text-xl);
  }
}

/* ================================================================
   PREFERS-REDUCED-MOTION — required accessibility rule
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    transition-duration: 0.01ms;
  }
  .animate-on-scroll,
  .reveal {
    opacity: 1;
    transform: none;
  }
  .grass-stripe,
  .site-footer__stripe {
    animation: none;
  }
}

/* ================================================================
   EDITOR VISIBILITY — keep animated content visible in block editor
   ================================================================ */
.editor-styles-wrapper .animate-on-scroll,
.editor-styles-wrapper .reveal {
  opacity: 1;
  transform: none;
  animation: none;
  transition: none;
}

/* Editor: show story leaves statically */
.editor-styles-wrapper .story-leaf {
  animation: none;
}

/* ================================================================
   SPACING SPECIFICITY OVERRIDES
   Problem: WordPress's global-styles-inline-css loads AFTER our
   stylesheet in the <head>. Both rules are specificity 0-1-0, so
   WP's `margin-block-end: 0` (on :root :where(.is-layout-flow) > *)
   wins on source order, zeroing our margin-bottom values.
   Fix: prefix single-class margin rules with :root → 0-2-0 specificity
   beats WP's 0-1-0 regardless of source order.
   ================================================================ */
:root .hero-overline    { margin-bottom: var(--sp-md); }
:root .hero-title       { margin-bottom: var(--sp-md); }
:root .hero-subtitle    { margin-bottom: var(--sp-xl); }
:root .about-eyebrow    { margin-bottom: var(--sp-md); }
:root .section-label    { margin-bottom: var(--sp-md); }
:root .services-intro   { margin-top: var(--sp-sm); margin-bottom: var(--sp-xl); }
:root .services-list    { margin-top: var(--sp-xl); }

:root .seasonal-accent-bar { margin-bottom: var(--sp-lg); }
:root .service-area-note   { margin-top: var(--sp-xl); }
:root .contact-subhead     { margin-bottom: var(--sp-xl); }
/* .why-section p specificity 0-1-1 overrides these single-class rules; bump to 0-2-0 */
.why-section .section-label  { font-size: var(--text-xs); line-height: 1.5; }
.why-section .service-area-note { font-size: var(--text-sm); }

