/* =============================================================================
   ARBORIST SOLUTIONS — DESIGN SYSTEM
   Forefront Web | arboristsolutions.com
   Last updated: 2026-06
   ============================================================================= */

/* =============================================================================
   1. DESIGN TOKENS
   ============================================================================= */
:root {

  /* --- Color palette --- */
  --color-forest:       #2D4A30;   /* Darkest green — footer bg, dark sections */
  --color-brand:        #476149;   /* Primary green — CTAs, links, accents */
  --color-mid-green:    #6B8F6E;   /* Lighter green — secondary elements */
  --color-tint:         #EAF2E8;   /* Very light green — section tints */
  --color-off-white:    #F7F5F0;   /* Warm off-white — alternating sections */
  --color-white:        #FFFFFF;

  --color-near-black:   #1C2B1E;   /* Heading color */
  --color-body:         #5C5C52;   /* Body text */
  --color-muted:        #8A8A7E;   /* Captions, meta */
  --color-border:       #DDE5DB;   /* Borders — green-tinted neutral */
  --color-border-light: #EDEEE9;   /* Subtle dividers */

  --color-amber:        #C17F3A;   /* Warm accent — stats, cert badges, hovers */
  --color-amber-light:  #F5EAD8;   /* Amber tint for badges */

  /* --- Typography --- */
  --font-heading:       'DM Serif Display', Georgia, serif;
  --font-body:          'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:          'DM Mono', 'Courier New', monospace;

  /* --- Type scale --- */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   1.875rem;   /* 30px */
  --text-4xl:   2.25rem;    /* 36px */
  --text-5xl:   2.75rem;    /* 44px */
  --text-6xl:   3.5rem;     /* 56px */
  --text-7xl:   4.25rem;    /* 68px */

  /* --- Line heights --- */
  --leading-tight:  1.15;
  --leading-snug:   1.3;
  --leading-normal: 1.6;
  --leading-relaxed:1.75;

  /* --- Spacing scale --- */
  --space-1:   0.25rem;   /* 4px */
  --space-2:   0.5rem;    /* 8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */
  --space-section: 6.25rem; /* 100px — desktop section padding */

  /* --- Border radius --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;   /* Images */
  --radius-xl:   16px;
  --radius-pill: 999px;

  /* --- Shadows --- */
  --shadow-sm:  0 1px 3px rgba(28,43,30,0.06), 0 1px 2px rgba(28,43,30,0.04);
  --shadow-md:  0 4px 12px rgba(28,43,30,0.08), 0 2px 4px rgba(28,43,30,0.04);
  --shadow-lg:  0 12px 32px rgba(28,43,30,0.10), 0 4px 8px rgba(28,43,30,0.04);
  --shadow-card:0 2px 8px rgba(28,43,30,0.06);

  /* --- Transitions --- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* --- Layout --- */
  --container-max:   1200px;
  --container-wide:  1400px;
  --container-narrow: 740px;

  /* --- Z-index layers --- */
  --z-base:    1;
  --z-dropdown:10;
  --z-sticky:  50;
  --z-overlay: 100;
  --z-modal:   200;

}


/* =============================================================================
   2. RESET & BASE
   ============================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-body);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-forest);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}


/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */

/* Google Fonts loaded via functions.php */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-near-black);
  line-height: var(--leading-tight);
  font-weight: 400; /* DM Serif Display is already a display weight */
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

.h-display {
  font-size: var(--text-7xl);
  line-height: var(--leading-tight);
}

.h-hero {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  line-height: var(--leading-tight);
}

p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-body);
}

.text-large {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.text-small {
  font-size: var(--text-sm);
}

.text-xs {
  font-size: var(--text-xs);
}

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.85em;
  letter-spacing: 0.03em;
}

.text-muted   { color: var(--color-muted); }
.text-brand   { color: var(--color-brand); }
.text-forest  { color: var(--color-forest); }
.text-amber   { color: var(--color-amber); }
.text-white   { color: var(--color-white); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.eyebrow--light {
  color: var(--color-mid-green);
}

.eyebrow--amber {
  color: var(--color-amber);
}


/* =============================================================================
   4. LAYOUT & CONTAINERS
   ============================================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-section);
}

.section--sm {
  padding-block: var(--space-16);
}

.section--lg {
  padding-block: 8rem;
}

/* Background alternation */
.bg-white      { background-color: var(--color-white); }
.bg-off-white  { background-color: var(--color-off-white); }
.bg-tint       { background-color: var(--color-tint); }
.bg-forest     { background-color: var(--color-forest); }
.bg-brand      { background-color: var(--color-brand); }
.bg-near-black { background-color: var(--color-near-black); }


/* =============================================================================
   5. BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding: 0 var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: background-color 280ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 280ms cubic-bezier(0.4, 0, 0.2, 1),
              color 280ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn:active {
  transform: translateY(1px);
}

/* Primary — filled green */
/* Primary — near-black. Main CTA on light/white backgrounds. */
/* Primary — near-black fill on light backgrounds.
   Hover: inverts to near-black ghost (white fill, near-black border+text). */
.btn--primary {
    background-color: var(--color-near-black);
    color: var(--color-white);
    border: 2px solid var(--color-near-black);
}

.btn--primary:hover {
    background-color: transparent;
    border-color: var(--color-near-black);
    color: var(--color-near-black);
    box-shadow: none;
}

/* Secondary — brand green outline on light backgrounds.
   Hover: fills near-black (matches primary hover destination). */
.btn--secondary {
    background-color: transparent;
    color: var(--color-brand);
    border: 2px solid var(--color-brand);
}

.btn--secondary:hover {
    background-color: var(--color-near-black);
    border-color: var(--color-near-black);
    color: var(--color-white);
}

/* Ghost — white outline on dark/photo backgrounds.
   Hover: fills white with near-black text — solid and clear. */
.btn--ghost {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.90);
}

.btn--ghost:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--color-near-black);
}

.btn--ghost:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* Light — brand green fill on forest/dark backgrounds.
   Hover: inverts to white fill with near-black text. */
.btn--light {
    background-color: var(--color-brand);
    color: var(--color-white);
    border: 2px solid var(--color-brand);
}

.btn--light:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--color-near-black);
    box-shadow: none;
}

/* Amber — demoted to accent use only (stats, cert numbers, special callouts) */
.btn--amber {
    background-color: var(--color-amber);
    color: var(--color-white);
    border: 2px solid var(--color-amber);
}

.btn--amber:hover {
    background-color: #a96c2c;
    border-color: #a96c2c;
    color: var(--color-white);
}

/* Size variants */
.btn--sm {
  height: 40px;
  padding: 0 var(--space-6);
  font-size: var(--text-xs);
}

.btn--lg {
  height: 56px;
  padding: 0 var(--space-10);
  font-size: var(--text-base);
}

/* Text link style */
.link-text {
  color: var(--color-brand);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  padding-bottom: 1px;
}

.link-text:hover {
  color: var(--color-forest);
  border-color: var(--color-forest);
}

.link-text--light {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}

.link-text--light:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}


/* =============================================================================
   6. BADGES & LABELS
   ============================================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.badge--green {
  background-color: var(--color-tint);
  color: var(--color-forest);
}

.badge--amber {
  background-color: var(--color-amber-light);
  color: #7A4F1E;
}

.badge--white {
  background-color: rgba(255,255,255,0.15);
  color: var(--color-white);
  backdrop-filter: blur(4px);
}

/* ISA Cert badge — special treatment */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-amber-light);
  border: 1px solid rgba(193,127,58,0.25);
  border-radius: var(--radius-md);
}

.cert-badge__number {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  color: #7A4F1E;
  letter-spacing: 0.04em;
}

.cert-badge__label {
  font-size: var(--text-xs);
  color: var(--color-amber);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* =============================================================================
   7. CARDS
   ============================================================================= */

/* Service card */
.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base),
              transform var(--transition-base),
              border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Brand triangle accent — angular shape from the logo mark, top-right corner */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  /* Clip to a right-angle triangle in the corner */
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  background-color: var(--color-tint);
  transition: background-color var(--transition-base), width var(--transition-base), height var(--transition-base);
}

/* Small inner triangle — the tree peak shape from the logo */
.service-card::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background-color: var(--color-brand);
  opacity: 0.7;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.service-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card:hover::before {
  background-color: var(--color-brand);
  width: 60px;
  height: 60px;
}

.service-card:hover::after {
  opacity: 1;
  background-color: var(--color-white);
}

/* ADA: visible focus state */
.service-card a:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: 2px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-near-black);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
  /* WCAG AA: near-black on white = well above 7:1 */
}

.service-card__body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-body);
  margin-bottom: var(--space-5);
}

/* Testimonial card */
.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-near-black);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-5);
}

.testimonial-card__cite {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.testimonial-card__stars {
  color: var(--color-amber);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  letter-spacing: 0.1em;
}


/* =============================================================================
   8. HEADER & NAVIGATION
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--color-border-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 116px;
  gap: var(--space-8);
}

.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-header__logo img {
  height: auto;
  width: auto;
}

.site-header__nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.site-header__phone {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-near-black);
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-header__phone:hover {
  color: var(--color-brand);
}

.site-header__cta {
  flex-shrink: 0;
}

/* Primary nav */
.nav-primary {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-primary a,
.nav-primary button {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-body);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  background: none;
  border: none;
  text-decoration: none;
}

.nav-primary a:hover,
.nav-primary button:hover {
  color: var(--color-near-black);
  background-color: var(--color-off-white);
}

.nav-primary a.current,
.nav-primary a[aria-current="page"] {
  color: var(--color-brand);
  background-color: var(--color-tint);
}

/* Dropdown */
.nav-primary__item--has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: static;
}

/* Invisible bridge so hover survives the gap between link and panel */
.nav-primary__item--has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  display: none;
}

.nav-primary__item--has-dropdown:hover::after {
  display: block;
}

.nav-dropdown__menu,
.nav-dropdown > ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  list-style: none;
  margin: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: var(--z-dropdown);
}

.nav-primary__item--has-dropdown:hover .nav-dropdown > ul,
.nav-primary__item--has-dropdown:focus-within .nav-dropdown > ul,
.nav-dropdown:hover > ul,
.nav-dropdown:focus-within > ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown__menu a,
.nav-dropdown > ul a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-body);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown__menu a:hover,
.nav-dropdown > ul a:hover {
  background-color: var(--color-off-white);
  color: var(--color-near-black);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
  background-color: var(--color-off-white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background-color: var(--color-near-black);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

/* Mobile nav panel */
/* nav-mobile styles moved to full redesign block below */


/* =============================================================================
   9. HERO
   ============================================================================= */
/* ── Hero — Option 3: Statement type, photo as texture ─── */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: stretch;
    background-color: var(--color-forest);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Heavier overall overlay — photo is atmosphere, not subject */
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        /* Strong uniform dark so type is always legible */
        linear-gradient(
            135deg,
            rgba(14,26,16,0.92) 0%,
            rgba(14,26,16,0.80) 50%,
            rgba(14,26,16,0.70) 100%
        ),
        /* Bottom vignette anchors the CTAs */
        linear-gradient(
            to top,
            rgba(14,26,16,0.75) 0%,
            transparent 35%
        );
}

/* Full-height flex column — headline at top, CTAs at bottom */
.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: var(--space-8);
    padding-bottom: var(--space-16);
}

.hero__eyebrow {
    color: rgba(255,255,255,0.70);
    text-shadow: none;
    letter-spacing: 0.1em;
    margin-bottom: 1.125rem;
    font-size: 0.6875rem;
}

/* The statement — fills the top of the viewport */
.hero__headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    color: #ffffff;
    line-height: 1.0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
    max-width: 14ch;

    flex: 0 0 auto;
    padding-bottom: 2.25rem;
    margin-bottom: 0;
}

/* Bottom zone — subhead + CTAs */
.hero__bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: var(--space-8);
}

.hero__subhead {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.80);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
    max-width: 480px;
    text-shadow: none;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

/* Near-black primary on hero needs to be visible — override to white-outlined near-black */
.hero .btn--primary {
    background-color: #ffffff;
    color: var(--color-near-black);
    border-color: #ffffff;
}

.hero .btn--primary:hover {
    background-color: rgba(255,255,255,0.90);
    border-color: rgba(255,255,255,0.90);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero__trust {
    margin-top: var(--space-10);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

/* Interior hero (inner pages) */
.interior-hero {
  background-color: var(--color-forest);
  padding-block: var(--space-16);
  position: relative;
  overflow: hidden;
}

.interior-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23476149' fill-opacity='0.12'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.interior-hero__content {
  position: relative;
  z-index: 2;
}

.interior-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  color: var(--color-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.interior-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  line-height: var(--leading-relaxed);
}


/* =============================================================================
   10. TRUST BAR
   ============================================================================= */
.trust-bar {
    background-color: var(--color-white);
    padding-block: var(--space-10);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-12);
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.trust-bar__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.trust-bar__logo img {
    height: 52px;
    width: auto;
    display: block;
}

.trust-bar__logo--light-bg {
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    padding: 6px 8px;
}

.trust-bar__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-bar__title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-near-black);
    letter-spacing: -0.01em;
}

.trust-bar__sub {
    font-size: var(--text-xs);
    color: var(--color-muted);
    letter-spacing: 0.01em;
}

.trust-bar__divider {
    width: 1px;
    height: 48px;
    background-color: var(--color-border-light);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    /* Trust bar — 3 logos across, hide text */
    .trust-bar__inner {
        flex-direction: row;
        justify-content: space-between;
        gap: var(--space-8);
        flex-wrap: nowrap;
    }
    .trust-bar__item {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .trust-bar__text {
        display: none;
    }
    .trust-bar__divider {
        display: none;
    }
}


/* =============================================================================
   11. SERVICES GRID
   ============================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.services-grid--4 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}


/* =============================================================================
   12. SECTION HEADERS
   ============================================================================= */
.section-header {
  max-width: 680px;
  margin-bottom: var(--space-12);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header__eyebrow {
  margin-bottom: var(--space-4);
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  color: var(--color-near-black);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-5);
}

.section-header__body {
  font-size: var(--text-lg);
  color: var(--color-body);
  line-height: var(--leading-relaxed);
}


/* =============================================================================
   13. SPLIT SECTIONS (50/50, 60/40)
   ============================================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.split--60-40 {
  grid-template-columns: 3fr 2fr;
}

.split--40-60 {
  grid-template-columns: 2fr 3fr;
}

.split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.split__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 3vw, var(--text-4xl));
  color: var(--color-near-black);
  line-height: var(--leading-snug);
}

/* Image with decorative offset frame */
.image-frame {
  position: relative;
}

.image-frame::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  background-color: var(--color-tint);
  border-radius: var(--radius-lg);
  z-index: -1;
}


/* =============================================================================
   14. STATS BAR
   ============================================================================= */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-1);
}

.stat-item {
  padding: var(--space-8);
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  color: var(--color-near-black);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item__number span {
  color: var(--color-amber);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

/* Dark variant */
.bg-forest .stat-item {
  border-right-color: rgba(255,255,255,0.12);
}

.bg-forest .stat-item__number {
  color: var(--color-white);
}

.bg-forest .stat-item__label {
  color: rgba(255,255,255,0.6);
}


/* =============================================================================
   15. CTA BAND
   ============================================================================= */
.cta-band {
  padding-block: var(--space-24);
  text-align: center;
}

.cta-band__eyebrow {
  margin-bottom: var(--space-5);
}

.cta-band__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 4vw, var(--text-5xl));
  color: var(--color-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
  max-width: 640px;
  margin-inline: auto;
}

.cta-band__body {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-10);
  max-width: 480px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

.cta-band__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}


/* =============================================================================
   16. FOOTER
   ============================================================================= */
.site-footer {
  background-color: var(--color-near-black);
  color: rgba(255,255,255,0.75);
  padding: 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.site-footer__brand .tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-top: var(--space-4);
  font-style: italic;
  font-family: var(--font-heading);
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer ul a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer ul a:hover {
  color: var(--color-white);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.site-footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.site-footer__phone {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-top: var(--space-5);
  display: block;
}

.site-footer__phone:hover {
  color: var(--color-mid-green);
}


/* =============================================================================
   17. FORMS
   ============================================================================= */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-near-black);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0 var(--space-4);
  height: 48px;
  background-color: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-near-black);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field textarea {
  height: auto;
  padding: var(--space-4);
  resize: vertical;
  min-height: 140px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(71,97,73,0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-muted);
}


/* =============================================================================
   18. BREADCRUMBS
   ============================================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb__sep {
  opacity: 0.4;
  font-size: 10px;
}

.breadcrumb__current {
  color: rgba(255,255,255,0.85);
}


/* =============================================================================
   19. BLOG / CONTENT
   ============================================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
}

.post-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.post-card__body {
  flex: 1;
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card__image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--color-tint);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card__image img {
  transform: scale(1.03);
}

.post-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}

.post-card__date {
  font-size: var(--text-xs);
  color: var(--color-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
}

.post-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-near-black);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
  flex: 1;
}

.post-card__cta {
  margin-top: var(--space-5);
  align-self: flex-start;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
  height: auto;
  min-height: 40px;
}

.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-body);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Long-form body content */
.entry-content {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-body);
  max-width: var(--container-narrow);
}

.entry-content h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-5);
}

.entry-content h3 {
  font-size: var(--text-2xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.entry-content p {
  margin-bottom: var(--space-5);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.entry-content ul,
.entry-content ol {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

.entry-content ol { list-style: decimal; }

.entry-content li {
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
}

.entry-content strong { color: var(--color-near-black); }


/* =============================================================================
   20. ACCORDION (FAQ)
   ============================================================================= */
.accordion {
  border-top: 1px solid var(--color-border-light);
}

.accordion__item {
  border-bottom: 1px solid var(--color-border-light);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-near-black);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
  gap: var(--space-4);
}

.accordion__trigger:hover {
  color: var(--color-brand);
}

.accordion__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-tint);
  border-radius: var(--radius-pill);
  color: var(--color-brand);
  transition: transform var(--transition-base), background-color var(--transition-fast);
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(45deg);
  background-color: var(--color-brand);
  color: var(--color-white);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-base);
}

.accordion__item.is-open .accordion__body {
  max-height: 800px;
  padding-bottom: var(--space-6);
}

.accordion__body p {
  font-size: var(--text-base);
  color: var(--color-body);
  line-height: var(--leading-relaxed);
}


/* =============================================================================
   21. UTILITY CLASSES
   ============================================================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center{ align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4       { gap: var(--space-4); }
.gap-6       { gap: var(--space-6); }
.gap-8       { gap: var(--space-8); }

.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.w-full  { width: 100%; }
.rounded { border-radius: var(--radius-lg); }
.overflow-hidden { overflow: hidden; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }


/* =============================================================================
   22. RESPONSIVE
   ============================================================================= */
@media (max-width: 1024px) {
  :root {
    --space-section: 4rem;  /* 64px */
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .split { gap: var(--space-10); }
}

@media (max-width: 768px) {
  :root {
    --space-section: 3.75rem; /* 60px */
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }

  .site-header__nav {
    display: none;
  }

  /* Hide desktop CTA pill on mobile, show phone number instead */
  .site-header__cta {
    display: none;
  }

  .site-header__phone {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 50%;
    background: var(--color-off-white);
    border: none !important;
    color: var(--color-near-black);
    transition: background var(--transition-fast);
  }

  .site-header__phone:hover {
    background: var(--color-section-bg, #E4E8E3);
    color: var(--color-near-black);
  }

  .site-header__phone-text {
    display: none !important;
  }

  .site-header__phone-icon {
    display: block !important;
  }

  /* Tighten header so hamburger stays snug on the right */
  .site-header__inner {
    gap: var(--space-3);
  }

  .site-header__actions {
    gap: var(--space-2);
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
    margin-left: var(--space-1);
  }

  .split,
  .split--60-40,
  .split--40-60 {
    grid-template-columns: 1fr;
  }

  .split__image {
    order: -1;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }

  .stat-item {
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
  }

  .trust-bar__divider {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero { min-height: 80vh; }

  .cta-band__actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .btn--lg {
    width: 100%;
    justify-content: space-between;
  }
}


/* =============================================================================
   HEADER & FOOTER REDESIGN — overrides base styles
   ============================================================================= */

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow var(--transition-base), height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.site-header__stripe {
    height: 3px;
    background: linear-gradient(90deg, var(--color-forest) 0%, var(--color-brand) 60%, var(--color-mid-green) 100%);
}

.site-header.scrolled {
    box-shadow: 0 1px 0 var(--color-border-light), 0 4px 20px rgba(28, 43, 30, 0.06);
}

.site-header .container {
    /* nothing extra needed */
}

.site-header__inner {
    display: flex;
    align-items: center;
    height: 116px;
    gap: var(--space-6);
}

/* Logo */
.site-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-header__logo img {
    height: auto;
    width: auto;
}

.site-header__logo-fallback {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-near-black);
    letter-spacing: -0.01em;
}

/* Nav — desktop only */
@media (min-width: 769px) {
    .site-header__nav {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
    }
}

.nav-primary {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.nav-primary__item {
    position: relative;
}

.nav-primary__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--color-body);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

/* Underline hover — the money move */
.nav-primary__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: var(--space-4);
    right: var(--space-4);
    height: 1.5px;
    background-color: var(--color-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    border-radius: 2px;
}

.nav-primary__link:hover {
    color: var(--color-near-black);
}

.nav-primary__link:hover::after,
.nav-primary__link.is-active::after {
    transform: scaleX(1);
}

.nav-primary__link.is-active {
    color: var(--color-near-black);
    font-weight: 600;
}

/* Actions cluster */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-shrink: 0;
    /* Sits immediately after nav — no auto margin needed */
}

.site-header__phone {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-body);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.site-header__phone:hover {
    color: var(--color-brand);
}

/* Phone icon — shown on both desktop and mobile */
.site-header__phone-icon {
    display: block;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: var(--color-brand);
}

/* Phone text — shown on desktop, hidden on mobile */
.site-header__phone-text {
    display: inline;
}

/* CTA — pill shape, amber accent */
.site-header__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    height: 44px;
    padding: 0 var(--space-6);
    background-color: var(--color-near-black);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast),
                transform var(--transition-fast),
                box-shadow var(--transition-fast);
    white-space: nowrap;
}

.site-header__cta:hover {
    background-color: #0e1a10;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(28,43,30,0.3);
}

.site-header__cta:active {
    transform: translateY(0);
}

/* Mobile toggle — hidden on desktop, visible on mobile */
.nav-toggle {
    display: none; /* default hidden; shown via media query below */
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: var(--radius-md);
    background: none;
    border: none !important;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
    }
}

.nav-toggle:hover {
    background-color: var(--color-off-white);
}

.nav-toggle span {
    display: block;
    height: 2px;
    background-color: var(--color-near-black);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-fast), width var(--transition-base);
    width: 100%;
}

/* all three hamburger bars equal width */

/* ── Mobile nav panel ── */
/* ── Full-screen mobile nav ── */
/* =============================================================================
   MOBILE NAV — v2.5.0
   Full-screen overlay, forest green, collapsible sections.
   ============================================================================= */

/* ── Wrapper ── */
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background-color: #fff;
    flex-direction: column;
    overflow: hidden;
    /* Slide in from top */
    transform: translateY(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile.is-visible {
    display: flex;
}

.nav-mobile.is-open {
    transform: translateY(0);
}

/* ── Header row ── */
.nm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-5);
    height: 80px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--color-border-light, rgba(0,0,0,0.08));
}

.nm-header__logo img {
    height: 56px;
    width: auto;
    filter: none;
    opacity: 1;
}

.nm-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-off-white, #f0f2ef);
    border: none !important;
    border-radius: var(--radius-md);
    color: var(--color-near-black);
    cursor: pointer;
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.nm-close:hover,
.nm-close:focus-visible {
    background: var(--color-section-bg, #E4E8E3);
    outline: none;
}

/* ── Scrollable body ── */
.nm-body {
    flex: 0 0 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: var(--space-6);
}

/* ── Section with collapsible sub-links ── */
.nm-section {
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* Header row: link on left, chevron button on right */
.nm-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    transition: background var(--transition-fast);
}

.nm-section__header:has([aria-expanded="true"]) {
    background: var(--color-off-white, #f0f2ef);
}

.nm-section__title-link {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: var(--space-5) 0 var(--space-5) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-near-black);
    text-decoration: none;
    letter-spacing: -0.01em;
    -webkit-tap-highlight-color: transparent;
}

.nm-section__title-link:hover,
.nm-section__title-link:focus-visible {
    color: var(--color-forest);
    outline: none;
}

.nm-section__trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    min-height: 60px;
    background: none;
    border: none !important;
    border-left: 1px solid rgba(0,0,0,0.07) !important;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    flex-shrink: 0;
    transition: background var(--transition-fast);
}

.nm-section__trigger:hover,
.nm-section__trigger:focus-visible {
    background: var(--color-off-white, #f0f2ef);
    outline: none;
}

.nm-section__trigger[aria-expanded="true"] {
    background: var(--color-off-white, #f0f2ef);
}

.nm-section__chevron {
    flex-shrink: 0;
    color: rgba(0,0,0,0.35);
    transition: transform 0.22s ease, color 0.15s ease;
}

.nm-section__trigger[aria-expanded="true"] .nm-section__chevron {
    transform: rotate(180deg);
    color: var(--color-brand);
}

/* ── Expanded sub-links list ── */
.nm-section__links {
    list-style: none;
    padding: 0 0 var(--space-2);
    margin: 0 !important;
    background: var(--color-off-white, #f0f2ef);
}

.nm-section__links[hidden] {
    display: none;
}

.nm-section__links li a {
    display: flex;
    align-items: center;
    padding: var(--space-4) var(--space-6) var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-body);
    text-decoration: none;
    min-height: 50px;
    border-left: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
    position: relative;
}

.nm-section__links li a::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    margin-right: var(--space-3);
    flex-shrink: 0;
    transition: background var(--transition-fast);
}

.nm-section__links li a:hover,
.nm-section__links li a:focus-visible {
    color: var(--color-near-black);
    background: var(--color-section-bg, #E4E8E3);
    border-left-color: var(--color-brand);
    outline: none;
}

.nm-section__links li a:hover::before,
.nm-section__links li a:focus-visible::before {
    background: var(--color-brand);
}

/* ── Flat section (no accordion) ── */
.nm-section--flat {
    border-bottom: none;
    padding-top: var(--space-2);
}

.nm-link {
    display: flex;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-body);
    text-decoration: none;
    min-height: 56px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nm-section--flat .nm-link:last-child {
    border-bottom: none;
}

.nm-link:hover,
.nm-link:focus-visible {
    color: var(--color-near-black);
    background: var(--color-off-white, #f0f2ef);
    outline: none;
}

/* ── Pinned footer ── */
.nm-footer {
    flex-shrink: 0;
    padding: var(--space-4) var(--space-5) var(--space-6);
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    background: var(--color-off-white, #f0f2ef);
}

.nm-footer__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: 0 var(--space-5);
    height: 52px;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-near-black);
    text-decoration: none;
    border: 1.5px solid rgba(0,0,0,0.15);
    border-radius: var(--radius-pill);
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
    letter-spacing: 0.02em;
}

.nm-footer__phone:hover {
    border-color: var(--color-near-black);
    background: #fff;
}

.nm-footer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-5);
    height: 56px;
    background: var(--color-near-black);
    color: #fff;
    font-size: var(--text-base);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-pill);
    letter-spacing: -0.01em;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.nm-footer__cta:hover {
    background: var(--color-forest);
    transform: translateY(-1px);
}

/* ── Full Width Content block ────────────────────────────────────────────── */
.section-fwc {
    padding-block: var(--space-16);
}

.section-fwc--compact {
    padding-block: var(--space-8);
}

.section-fwc--no-padding {
    padding-block: 0;
}

/* Let embeds and widgets breathe naturally */
.fwc-content > * + * {
    margin-top: var(--space-6);
}

.fwc-content > *:first-child {
    margin-top: 0;
}

.fwc-content > *:last-child {
    margin-bottom: 0;
}

/* Light text when on forest background */
.fwc-content--light,
.fwc-content--light p,
.fwc-content--light h1,
.fwc-content--light h2,
.fwc-content--light h3,
.fwc-content--light h4 {
    color: rgba(255,255,255,0.9);
}

/* Trustindex / Google reviews widget — center and constrain */
.fwc-content [data-trustindex],
.fwc-content .trustindex-widget,
.fwc-content iframe {
    max-width: 100%;
    display: block;
    margin-inline: auto;
}


/* =============================================================================
   ADA / WCAG 2.1 AA COMPLIANCE
   ============================================================================= */

/* ── Skip link ───────────────────────────────────────────────────────────── */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0 !important;
    background: transparent !important;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Skip link becomes visible on focus — ADA requirement */
.visually-hidden:focus,
.visually-hidden:active {
    position: fixed;
    top: var(--space-4);
    left: var(--space-4);
    width: auto;
    height: auto;
    padding: var(--space-3) var(--space-6);
    margin: 0 !important;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--color-brand);
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 99999;
    text-decoration: none;
}

/* ── Global focus ring ───────────────────────────────────────────────────── */
/* Remove browser default, replace with consistent branded ring */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Buttons and CTAs — amber focus ring to match their color */
.btn:focus-visible,
.site-header__cta:focus-visible {
    outline-color: var(--color-amber);
    outline-offset: 3px;
}

/* Nav links */
.nav-primary__link:focus-visible,
.nav-dropdown a:focus-visible,
.nav-mobile__nav a:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 2px;
    border-radius: 2px;
}

/* On dark backgrounds — white focus ring */
.cta-band *:focus-visible,
.site-footer *:focus-visible,
.hero *:focus-visible,
.bg-forest *:focus-visible {
    outline-color: #ffffff;
}

/* ── Contrast fixes ──────────────────────────────────────────────────────── */

/* Muted / body text — ensure minimum 4.5:1 on white */
/* var(--color-muted) and var(--color-body) must be dark enough */
/* #5C5C52 on white = 6.2:1 ✓  #888 on white = 3.7:1 ✗ — use #6B6B60 minimum */
.trust-bar__sub {
    color: #6b6b60; /* 4.6:1 on white ✓ */
}

/* Eyebrow on white background — #476149 on white = 5.1:1 ✓ */

/* Link text on white — brand green passes AA */
.link-text {
    color: var(--color-brand);
    /* #476149 on white = 5.1:1 ✓ */
}

/* Ghost button on hero — white text on dark overlay = well above 7:1 ✓ */
/* Amber button: #C17F3A on white body = 3.1:1 ✗ — only used on dark bg */
/* Amber on forest green (#2D4A30) = ~4.8:1 ✓ */

/* ── Touch target minimums (WCAG 2.5.5) ─────────────────────────────────── */
/* Nav links sit in a 72px header — tap target is already sufficient */

.nav-dropdown a {
    min-height: 44px;
}

.footer-col__list a {
    min-height: 44px;
    display: flex;
    align-items: center;
}

.trust-bar__item {
    min-height: 44px;
}

.footer-social__link {
    min-width: 44px;
    min-height: 44px;
}

.service-area-pill {
    min-height: 44px;
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── Screen reader only utility ──────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0 !important;
    background: transparent !important;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}


/* =============================================================================
   PLANT. PRUNE. PRESERVE. — STANDALONE TAGLINE BLOCK
   ============================================================================= */

.tagline-block {
    padding-block: var(--space-20);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.tagline-block__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

/* The three word columns */
.tagline-word {
    padding-inline: var(--space-10);
    text-align: center;
}

.tagline-word:first-child {
    padding-left: 0;
}

.tagline-word:last-child {
    padding-right: 0;
}

.tagline-word__heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-style: italic;
    color: var(--color-near-black);
    line-height: 1;
    margin-bottom: var(--space-5);
    letter-spacing: -0.02em;
}

.tagline-word__desc {
    font-size: var(--text-sm);
    color: var(--color-body);
    line-height: var(--leading-relaxed);
    max-width: 260px;
    margin-inline: auto;
}

/* Vertical divider — amber dot stack */
.tagline-block__divider {
    width: 1px;
    align-self: stretch;
    margin-top: 0.75rem;
    background: repeating-linear-gradient(
        to bottom,
        var(--color-amber) 0px,
        var(--color-amber) 4px,
        transparent 4px,
        transparent 12px
    );
    opacity: 0.5;
    min-height: 100px;
}

@media (max-width: 768px) {
    .tagline-block__inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tagline-word {
        padding-inline: 0;
        padding-block: var(--space-8);
        text-align: left;
        border-top: 1px solid var(--color-border-light);
    }

    .tagline-word:first-child {
        border-top: none;
        padding-top: 0;
    }

    .tagline-word__desc {
        margin-inline: 0;
        max-width: 100%;
    }

    .tagline-block__divider {
        display: none;
    }
}


/* =============================================================================
   PLANT. PRUNE. PRESERVE. — FOOTER UPGRADE
   ============================================================================= */

/* Footer tagline — three-word lockup with amber dot separators */
.footer-brand__tagline {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-5);
}

.footer-tagline__word {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.625rem, 2.2vw, 2.125rem);
    color: rgba(255,255,255,0.92);
    line-height: 1;
    letter-spacing: -0.02em;
}

/* Amber dot separator between words */
.footer-tagline__dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-amber);
    opacity: 0.7;
    flex-shrink: 0;
    position: relative;
    top: -3px;
}


/* =============================================================================
   DESIGN SYSTEM CONSISTENCY PASS
   Ties the rest of the page to the hero's editorial weight and dark authority.
   ============================================================================= */


/* ── 1. EYEBROW WITH TREE ICON ───────────────────────────────────────────── */

.eyebrow--with-icon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.eyebrow__icon {
    /* PNG tinted to brand green via filter */
    height: 14px;
    width: auto;
    flex-shrink: 0;
    filter: invert(35%) sepia(25%) saturate(500%) hue-rotate(88deg) brightness(80%);
    opacity: 0.8;
    position: relative;
    top: -1px;
}


/* ── 2. SERVICE CARD — TREE ICON WATERMARK ───────────────────────────────── */

/* Remove old pseudo-element triangle hack entirely */
/* ── Service card — full-card link, distinctive hover ────────────────────── */
.service-card::before,
.service-card::after {
    display: none !important;
}

.service-card {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    color: inherit;
    /* Resting shadow — subtle depth */
    box-shadow: 0 1px 3px rgba(44,74,48,0.06), 0 1px 2px rgba(44,74,48,0.04);
    transition: box-shadow 0.3s ease,
                transform 0.3s ease,
                border-color 0.3s ease,
                background-color 0.3s ease;
}

/* Left edge brand line */
.service-card::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 3px !important; height: 0 !important;
    background: var(--color-brand) !important;
    border-radius: 0 !important;
    clip-path: none !important;
    transition: height 0.4s cubic-bezier(.4,0,.2,1) !important;
    z-index: 2 !important;
}

.service-card:hover {
    background-color: #E4E8E3 !important;
    border-color: rgba(71,97,73,0.25) !important;
    box-shadow: 0 8px 24px rgba(44,74,48,0.12), 0 2px 6px rgba(44,74,48,0.06) !important;
    transform: translateY(-3px) !important;
    text-decoration: none !important;
}

.service-card:hover::before {
    height: 100% !important;
}

/* Tree icon watermark — injected .card-icon-bg div */
.card-icon-bg {
    position: absolute;
    top: -8px;
    right: -10px;
    width: 68px;
    height: 96px;
    background-image: url('/wp-content/uploads/2026/06/tree-icon.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    opacity: 0.06;
    pointer-events: none;
    filter: invert(35%) sepia(25%) saturate(500%) hue-rotate(88deg) brightness(80%);
    transition: opacity var(--transition-base);
    z-index: 0;
}

.service-card:hover .card-icon-bg {
    opacity: 0.10;
}

/* Card CTA — shown at bottom, animates on hover */
.card-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-brand);
    transition: gap 0.25s ease, color 0.25s ease;
}

.card-cta svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.service-card:hover .card-cta {
    color: var(--color-forest);
    gap: var(--space-3);
}

.service-card:hover .card-cta svg {
    transform: translateX(3px);
}


/* ── 3. SECTION HEADING SCALE ────────────────────────────────────────────── */
/*
   Hero headline: clamp(3rem, 7.5vw, 6.5rem)  ~104px desktop
   Section h2s were at 36px — too dramatic a drop.
   Step up to clamp(2.5rem, 4vw, 3.5rem) = ~56px desktop.
   Keep leading tight, letter-spacing negative to match editorial hero feel.
*/

.sg-intro__heading,
.phil-heading,
.sa-intro__heading,
.bp-intro__heading {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.25rem, 4vw, 3.25rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.025em !important;
    color: var(--color-near-black) !important;
    font-style: normal !important;
}

/* Tagline words — already large, keep */


/* ── 4. SECTION TONAL RHYTHM ─────────────────────────────────────────────── */
/*
   Hero is very dark. Page currently drops straight to white — jarring.
   Trust bar: stays white — acts as a clean landing pad after dark hero.
   Tagline: warm off-white — signals the transition to content.
   Services: white — content needs to breathe.
   Philosophy: warm off-white — creates alternating rhythm.
   Service areas: tint green — natural grounding.
*/

.tagline-block {
    background-color: #f0f2ef;
    border-top: 1px solid rgba(71,97,73,0.1);
    border-bottom: 1px solid rgba(71,97,73,0.1);
}

/* phil-split bg handled in main definition */


/* ── 5. TRUST BAR — BRIDGE FROM HERO ────────────────────────────────────── */

.trust-bar {
    padding-block: var(--space-12);
    border-bottom: 1px solid rgba(71,97,73,0.1);
}


/* ── 6. CTA BAND — TREE ICON BACKGROUND ELEMENT ─────────────────────────── */
/*
   Large ghost tree silhouette behind the CTA text.
   Same PNG, very low opacity, right-aligned, clipped to band.
*/

.cta-band {
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    height: 400px;
    /* Invert + saturate to white — eliminates the green flash */
    background-image: url('/wp-content/uploads/2026/06/tree-icon.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center right;
    opacity: 0.07;
    pointer-events: none;
    filter: brightness(0) invert(1);
}


/* ── 7. SECTION VERTICAL RHYTHM ─────────────────────────────────────────── */

.services-grid { padding-block: var(--space-20); }
.section.bg-off-white:has(.phil-split),
.section.bg-tint:has(.phil-split) {
    padding-block: var(--space-20);
}
/* Card itself carries no outer padding — section provides rhythm */
/* Phil section — darker bg so white card pops */
section.bg-off-white:has(.phil-split) { background-color: #e4e8e3 !important; }
.sa-section     { padding-block: var(--space-20); }
.sa-section.bg-tint,
section.sa-section { background-color: var(--color-white) !important; }
.tagline-block  { padding-block: var(--space-16); }
.trust-bar      { padding-block: var(--space-10); }


/* ── 8. BODY TEXT CONTRAST ON OFF-WHITE SECTIONS ────────────────────────── */
/* Body text on #f0f2ef — ensure still passes WCAG AA */
/* #5C5C52 on #f0f2ef = 6.1:1 ✓ */


/* ── 9. RESPONSIVE ADJUSTMENTS ───────────────────────────────────────────── */

@media (max-width: 768px) {
    .sg-intro__heading,
    .phil-heading,
    .sa-intro__heading,
    .bp-intro__heading {
        font-size: clamp(2rem, 6vw, 2.5rem) !important;
    }

    .card-icon-bg {
        width: 52px;
        height: 74px;
    }

    .cta-band::after {
        width: 180px;
        height: 260px;
        opacity: 0.05;
    }
}


/* ── Reviews section (full_width_content) ────────────────────────────────── */
.section-fwc h2,
.section-fwc h3 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--color-near-black);
    margin-bottom: var(--space-8);
}

/* Suppress Trustindex "Widget not found" error — injected after the widget by loader.js */
.ti-widget + p,
.fwc-content > p:last-child:not(:first-child) {
    display: none;
}

/* Font: inherit our DM Sans */
.ti-widget.ti-goog .ti-widget-container,
.ti-widget.ti-goog .ti-widget-container * {
    font-family: var(--font-body) !important;
}

/* Star rating — inject 5 gold stars above review text
   Since the widget stores no star elements, we add them via CSS */
.ti-widget.ti-goog .ti-review-item .ti-inner::before {
    content: "★★★★★";
    display: block;
    font-size: 14px;
    color: #f6bb06;
    letter-spacing: 1px;
    margin-bottom: 10px;
    line-height: 1;
}

/* Review card — match our border/radius palette */
.ti-widget.ti-goog .ti-review-item > .ti-inner {
    border-color: rgba(71,97,73,0.14) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 1px 8px rgba(44,74,48,0.04) !important;
}

/* Reviewer name — near-black like our body headings */
.ti-widget.ti-goog .ti-widget-container .ti-name {
    color: var(--color-near-black) !important;
    font-weight: 600 !important;
}

/* Date — muted */
.ti-widget.ti-goog .ti-widget-container .ti-date {
    color: var(--color-muted) !important;
}

/* Review text — our body color */
.ti-widget.ti-goog .ti-review-content {
    color: var(--color-body) !important;
    font-size: var(--text-sm) !important;
    line-height: var(--leading-relaxed) !important;
}

/* Verified badge — use our brand green */
.ti-widget.ti-goog .ti-verified-review.ti-color-green {
    filter: hue-rotate(-10deg) saturate(0.9);
}

/* Hover lift — subtle like our service cards */
.ti-widget.ti-goog .ti-review-item:hover {
    transform: translateY(-2px) !important;
}

/* Section background — off-white to separate from white blog section */
.section-fwc.bg-white:has(.ti-widget) {
    background-color: var(--color-off-white) !important;
}


/* =============================================================================


/* =============================================================================
   MOBILE — v1.5.0
   Single consolidated block. Breakpoint: 540px (covers 390–500px real devices).
   ============================================================================= */

@media (max-width: 540px) {

  /* ── Trust bar — 3 logos across, hide text ── */
  .trust-bar {
    padding-block: var(--space-6) !important;
  }
  .trust-bar__inner {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--space-8) !important;
    flex-wrap: nowrap !important;
  }
  .trust-bar__item {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
  }
  .trust-bar__text,
  .trust-bar__divider {
    display: none !important;
  }
  .trust-bar__logo img {
    height: 48px !important;
  }

  /* ── Tagline — compact ── */
  .tagline-block {
    padding-block: 28px !important;
  }
  .tagline-block__inner {
    grid-template-columns: 1fr !important;
  }
  .tagline-block__divider {
    display: none !important;
  }
  .tagline-word {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-top: 1px solid var(--color-border-light) !important;
    text-align: left !important;
  }
  .tagline-word:first-child {
    padding-top: 0 !important;
    border-top: none !important;
  }
  .tagline-word:last-child {
    padding-bottom: 0 !important;
  }
  .tagline-word__heading {
    font-size: 1.75rem !important;
    margin-bottom: var(--space-2) !important;
  }
  .tagline-word__desc {
    font-size: var(--text-sm) !important;
    margin-inline: 0 !important;
    max-width: 100% !important;
  }

  /* ── Services section photo — hide on mobile ── */
  .sg-intro__photos {
    display: none !important;
  }
  .sg-intro {
    grid-template-columns: 1fr !important;
  }

  /* ── Philosophy — full-bleed photo, stack layout ── */
  .phil-split {
    grid-template-columns: 1fr !important;
    border-radius: var(--radius-lg) !important;
  }
  .phil-split__images {
    margin: 0 !important;
    padding: 0 !important;
  }
  .phil-photo--main {
    border-radius: 0 !important;
  }
  .phil-photo--main > img {
    border-radius: 0 !important;
    min-height: 260px !important;
    max-height: 320px !important;
  }
  .phil-split__content {
    padding: var(--space-6) !important;
    padding-bottom: var(--space-8) !important;
  }

  /* ── Stats — 2×2 grid ── */
  .phil-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
  }
  .phil-stats__item {
    padding: var(--space-4) var(--space-3) !important;
    border-right: 1px solid rgba(71,97,73,0.12) !important;
    border-bottom: 1px solid rgba(71,97,73,0.12) !important;
  }
  .phil-stats__item:nth-child(2n) {
    border-right: none !important;
  }
  .phil-stats__item:nth-last-child(-n+2) {
    border-bottom: none !important;
  }
  .phil-stats__item:first-child {
    padding-left: var(--space-3) !important;
  }
  .phil-stats__number {
    font-size: 1.5rem !important;
  }

  /* ── Service areas — single column ── */
  .sa-pills {
    grid-template-columns: 1fr !important;
  }
  .sa-layout {
    grid-template-columns: 1fr !important;
  }
  .sa-layout__photo {
    display: none !important;
  }

  /* ── CTA band buttons — stack full width ── */
  .cta-band__actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .cta-band__actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ── Footer CTA band ── */
  .footer-cta {
    padding-block: var(--space-10) !important;
  }
  .footer-cta__inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: var(--space-6) !important;
  }
  .footer-cta__actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  .footer-cta__actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ── Footer body — centered brand + 2-col nav ── */
  .footer-body {
    padding-top: var(--space-8) !important;
    padding-bottom: var(--space-6) !important;
  }
  .footer-body__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-6) var(--space-4) !important;
  }
  .footer-brand {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding-bottom: var(--space-6) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    margin-bottom: 0 !important;
  }
  .footer-brand__logo {
    height: 56px !important;
    margin-bottom: var(--space-3) !important;
  }
  .footer-brand__tagline {
    justify-content: center !important;
    font-size: 1.125rem !important;
  }
  .footer-brand__desc {
    max-width: 100% !important;
    font-size: var(--text-xs) !important;
    text-align: center !important;
    margin-bottom: var(--space-4) !important;
  }
  .footer-certs {
    justify-content: center !important;
  }
  .footer-certs__id {
    text-align: center !important;
  }
  .footer-social {
    justify-content: center !important;
  }
  .footer-col {
    padding-top: 0 !important;
  }
  .footer-col__list {
    gap: var(--space-2) !important;
  }
  .footer-col__list a {
    font-size: 0.8125rem !important;
    min-height: 32px !important;
  }

  /* ── Footer bottom bar ── */
  .footer-bottom__inner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: var(--space-3) !important;
  }
  .footer-bottom__links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: var(--space-4) !important;
  }

}


/* =============================================================================
   INTERIOR PAGE BLOCKS — v1.9.0
   ============================================================================= */

/* ── Interior Hero ─────────────────────────────────────────────────────────── */
.interior-hero {
    position: relative;
    padding-block: var(--space-16) var(--space-12);
    overflow: hidden;
}

.interior-hero__pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23476149' fill-opacity='0.12'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.interior-hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.interior-hero__eyebrow {
    display: block;
    margin-bottom: var(--space-4);
    color: rgba(255,255,255,0.65);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
}

.interior-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    color: var(--color-white);
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-5);
}

.interior-hero__sub {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.75);
    line-height: var(--leading-relaxed);
    max-width: 560px;
    margin-bottom: var(--space-8);
}

.interior-hero__actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.interior-hero__certs {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.12);
}

.interior-hero__cert-logo {
    height: 44px;
    width: auto;
    display: block;
    background: rgba(255,255,255,0.88);
    border-radius: 6px;
    padding: 5px 7px;
    box-sizing: content-box;
    transition: background var(--transition-fast);
}

.interior-hero__cert-logo--light {
    background: rgba(255,255,255,0.88);
}

.interior-hero__cert-logo:hover {
    background: rgba(255,255,255,1);
}


/* ── Content + Sidebar ─────────────────────────────────────────────────────── */
.cs-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-16);
    align-items: start;
}

.cs-content {
    min-width: 0;
}

/* Style the post_content inside the sidebar layout */
/* H1 stripped via PHP in as_strip_content_h1() */
.cs-content h2 {
    font-size: clamp(var(--text-2xl), 2.5vw, var(--text-3xl));
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border-light);
    color: var(--color-near-black);
}
.cs-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.cs-content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
    color: var(--color-near-black);
}
.cs-content p {
    margin-bottom: var(--space-5);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-body);
}
.cs-content a {
    color: var(--color-brand);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(71,97,73,0.3);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}
.cs-content a:hover {
    color: var(--color-forest);
    border-color: var(--color-forest);
}
.cs-content ul, .cs-content ol {
    padding-left: var(--space-6);
    margin-bottom: var(--space-5);
    list-style: disc;
}
.cs-content ol { list-style: decimal; }
.cs-content li {
    margin-bottom: var(--space-2);
    line-height: var(--leading-relaxed);
}
.cs-content strong { color: var(--color-near-black); font-weight: 600; }

/* Sidebar card */
.cs-sidebar {
    position: sticky;
    top: 100px;
}

.cs-sidebar__widget {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.cs-sidebar__photo {
    height: 200px;
}

.cs-sidebar__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.cs-sidebar__card {
    background: var(--color-white);
    padding: var(--space-8);
}

.cs-sidebar__heading {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-near-black);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-4);
}

.cs-sidebar__body {
    font-size: var(--text-base);
    color: var(--color-body);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.cs-sidebar__phone {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-near-black);
    text-decoration: none;
    margin-bottom: var(--space-4);
    letter-spacing: 0.01em;
    transition: color var(--transition-fast);
}

.cs-sidebar__phone:hover { color: var(--color-brand); }

.cs-sidebar__phone svg { color: var(--color-brand); flex-shrink: 0; }

.cs-sidebar__cta {
    width: 100%;
    justify-content: space-between;
    margin-bottom: var(--space-8);
}

.cs-sidebar__trust {
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border-light);
}

.cs-sidebar__trust-logos {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.cs-sidebar__cert {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--color-off-white);
    padding: 3px;
}

.cs-sidebar__cert--light {
    background: #fff;
    border: 1px solid var(--color-border-light);
}

.cs-sidebar__cert-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-muted);
    letter-spacing: 0.04em;
    margin: 0 !important;
}

/* ── Service Detail List ───────────────────────────────────────────────────── */
.sdl-grid--1col {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    max-width: 780px;
}

.sdl-grid--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.sdl-item {
    padding: var(--space-8);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    position: relative;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.sdl-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.sdl-item__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-brand);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    transition: height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.sdl-item:hover .sdl-item__accent { height: 100%; }

.sdl-item__heading {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-near-black);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

.sdl-item__body {
    font-size: var(--text-base);
    color: var(--color-body);
    line-height: var(--leading-relaxed);
}

.sdl-item__body p { margin-bottom: var(--space-3); }
.sdl-item__body p:last-child { margin-bottom: 0; }

/* ── FAQ Accordion ─────────────────────────────────────────────────────────── */
.accordion__heading {
    margin: 0 !important;
}

.accordion__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) 0;
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-near-black);
    text-align: left;
    background: none;
    border: none !important;
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
    gap: var(--space-4);
    transition: color var(--transition-fast);
}

.accordion__trigger:hover { color: var(--color-brand); }

.accordion__trigger[aria-expanded="true"] {
    color: var(--color-brand);
    border-bottom-color: transparent;
}

.accordion__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-pill);
    background: var(--color-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand);
    transition: background var(--transition-fast), transform var(--transition-base), color var(--transition-fast);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
    background: var(--color-brand);
    color: var(--color-white);
    transform: rotate(45deg);
}

.accordion__body {
    overflow: hidden;
}

.accordion__body[hidden] { display: none; }

.accordion__body-inner {
    padding: var(--space-5) 0 var(--space-6);
    border-bottom: 1px solid var(--color-border-light);
    font-size: var(--text-base);
    color: var(--color-body);
    line-height: var(--leading-relaxed);
}

.accordion__body-inner p { margin-bottom: var(--space-4); }
.accordion__body-inner p:last-child { margin-bottom: 0; }
.accordion__body-inner ul { list-style: disc; padding-left: var(--space-6); }
.accordion__body-inner li { margin-bottom: var(--space-2); }

/* ── Related Services ──────────────────────────────────────────────────────── */
.rs-heading {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
    color: var(--color-near-black);
    margin-bottom: var(--space-8);
    line-height: var(--leading-snug);
}

.rs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-6);
}

.rs-card {
    display: block;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.rs-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(71,97,73,0.25);
}

.rs-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-near-black);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

.rs-card__desc {
    font-size: var(--text-sm);
    color: var(--color-body);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-5);
}

/* ── Credentials Bar ───────────────────────────────────────────────────────── */
.cred-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.cred-bar__heading {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    line-height: var(--leading-snug);
    margin-bottom: var(--space-5);
}

.cred-bar__body {
    font-size: var(--text-lg);
    color: var(--color-body);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.cred-bar__logos {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.cred-logo-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--color-off-white);
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    overflow: hidden;
}

.cred-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.cred-logo-wrap--light { background: #fff; }

.bg-forest .cred-logo-wrap {
    background: rgba(255,255,255,0.92);
    border: none !important;
}

.cred-bar__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-white);
}

.bg-forest .cred-bar__stats {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

.cred-bar__stat {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    border-right: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.bg-forest .cred-bar__stat {
    border-color: rgba(255,255,255,0.1);
}

.cred-bar__stat:nth-child(2n) { border-right: none; }
.cred-bar__stat:nth-last-child(-n+2) { border-bottom: none; }

.cred-bar__stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, var(--text-5xl));
    color: var(--color-near-black);
    line-height: 1;
    letter-spacing: -0.02em;
}

.cred-bar__stat-label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand);
}

/* ── Icon List ─────────────────────────────────────────────────────────────── */
.il-grid {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.il-grid--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.il-grid--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.il-item {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
}

.il-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-tint);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand);
    margin-top: 2px;
}

.il-item__heading {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-near-black);
    margin-bottom: var(--space-2);
    line-height: var(--leading-snug);
}

.il-item__body {
    font-size: var(--text-sm);
    color: var(--color-body);
    line-height: var(--leading-relaxed);
    margin: 0 !important;
}

/* ── Location Intro ────────────────────────────────────────────────────────── */
.loc-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-16);
    align-items: start;
}

.loc-layout__sidebar {
    position: sticky;
    top: 100px;
}

.loc-layout__heading {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    color: var(--color-near-black);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-6);
}

.loc-layout__body {
    font-size: var(--text-base);
    color: var(--color-body);
    line-height: var(--leading-relaxed);
}

.loc-layout__body p { margin-bottom: var(--space-4); }
.loc-layout__body h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-near-black);
    margin-top: var(--space-6);
    margin-bottom: var(--space-2);
}
.loc-layout__body a {
    color: var(--color-brand);
    font-weight: 500;
}

.loc-nearby__pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.loc-nearby__pill {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    background: var(--color-tint);
    border: 1px solid rgba(71,97,73,0.2);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-forest);
    text-decoration: none;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.loc-nearby__pill:hover {
    background: var(--color-border);
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.loc-sidebar-card {
    background: var(--color-white);
    padding: var(--space-8);
}

.loc-sidebar-card__heading {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: var(--space-5);
}

.loc-services-list {
    list-style: none;
    padding: 0 !important;
    background: transparent !important;
    margin: 0 0 var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.loc-services-list__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-body);
}

.loc-services-list__item svg { color: var(--color-brand); flex-shrink: 0; }

.loc-services-list__item a {
    color: var(--color-body);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.loc-services-list__item a:hover { color: var(--color-brand); }

.loc-sidebar-card__cta {
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.loc-sidebar-card__phone {
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-3);
    height: 48px;
    font-weight: 700;
    font-size: var(--text-base);
    color: var(--color-near-black);
    text-decoration: none;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-pill);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.loc-sidebar-card__phone svg { color: var(--color-brand); }

.loc-sidebar-card__phone:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
}

/* ── Responsive — Interior Blocks ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .cs-layout,
    .loc-layout {
        grid-template-columns: 1fr 300px;
        gap: var(--space-10);
    }
    .cred-bar { gap: var(--space-10); }
}

@media (max-width: 768px) {
    .cs-layout,
    .loc-layout {
        grid-template-columns: 1fr;
    }
    .cs-sidebar,
    .loc-sidebar-card { position: static; }
    .sdl-grid--2col { grid-template-columns: 1fr; }
    .il-grid--3col { grid-template-columns: 1fr 1fr; }
    .il-grid--2col { grid-template-columns: 1fr; }
    .cred-bar { grid-template-columns: 1fr; gap: var(--space-8); }
    .cred-bar__stats { grid-template-columns: 1fr 1fr; }
    .rs-grid { grid-template-columns: 1fr 1fr; }
    .interior-hero__title { font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl)); }
}

@media (max-width: 540px) {
    .il-grid--3col,
    .il-grid--2col { grid-template-columns: 1fr; }
    .rs-grid { grid-template-columns: 1fr; }
    .cred-bar__stats { grid-template-columns: 1fr 1fr; }
    .interior-hero { padding-block: var(--space-10) var(--space-8); }
}


/* =============================================================================
   PHOTO TREATMENTS — v2.1.0
   ============================================================================= */

/* ── Interior Hero with background image ──────────────────────────────────── */
.interior-hero--has-image {
    position: relative;
}

.interior-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    z-index: 0;
}

.interior-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(14, 26, 16, 0.92) 0%,
            rgba(14, 26, 16, 0.82) 50%,
            rgba(14, 26, 16, 0.75) 100%
        ),
        linear-gradient(
            to top,
            rgba(14, 26, 16, 0.75) 0%,
            transparent 35%
        );
    z-index: 1;
}

.interior-hero--has-image .container {
    position: relative;
    z-index: 2;
}

/* Desaturate photo via blend — no filter, no stacking context issues */
.interior-hero--has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 30, 20, 0.55);
    mix-blend-mode: color;
    z-index: 1;
    pointer-events: none;
}

/* ── SDL section photo ─────────────────────────────────────────────────────── */
.sdl-photo {
    margin-bottom: var(--space-10);
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-height: 420px;
}

.sdl-photo__img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

/* ── Location sidebar photo ────────────────────────────────────────────────── */
.loc-sidebar-widget {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.loc-sidebar-photo {
    height: 200px;
}

.loc-sidebar-photo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

@media (max-width: 768px) {
    .loc-sidebar-photo {
        display: none;
    }
    .sdl-photo { max-height: 280px; }
    .sdl-photo__img { height: 280px; }
}


/* =============================================================================
   MOBILE RESPONSIVE PASS — v2.4.0
   Systematic sweep of all homepage + interior sections at 768px and 390px.
   ============================================================================= */

@media (max-width: 768px) {

    /* ── Hero ── */
    .hero {
        min-height: 75vh;
    }
    .hero__content {
        min-height: 75vh;
        padding-block: var(--space-16) var(--space-12);
        padding-inline: var(--space-6);
    }
    .hero__title {
        font-size: clamp(2rem, 7vw, 3rem) !important;
        margin-bottom: var(--space-4);
    }
    .hero__sub {
        font-size: var(--text-base);
        max-width: 100%;
    }
    .hero__actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: var(--space-3);
        margin-top: var(--space-8);
    }
    .hero__actions .btn {
        width: 100%;
        justify-content: space-between;
    }
    .hero__certs {
        flex-wrap: wrap;
        gap: var(--space-3);
        padding-top: var(--space-6);
    }

    /* ── Interior hero ── */
    .interior-hero {
        padding-block: var(--space-12) var(--space-10);
    }
    .interior-hero__title {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    }
    .interior-hero__sub {
        font-size: var(--text-sm);
        max-width: 100%;
    }
    .interior-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .interior-hero__actions .btn {
        width: 100%;
        justify-content: space-between;
    }

    /* ── Services grid (homepage service cards) ── */
    .services-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: var(--space-4);
    }
    .service-card {
        padding: var(--space-6);
    }

    /* ── CTA band ── */
    .cta-band {
        padding-block: var(--space-12);
    }
    .cta-band__inner {
        text-align: center;
    }
    .cta-band__title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .cta-band__actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
        margin-top: var(--space-6);
    }
    .cta-band__actions .btn {
        width: 100%;
        justify-content: space-between;
        max-width: 400px;
    }

    /* ── Service areas pills ── */
    .sa-pills {
        grid-template-columns: 1fr 1fr !important;
        gap: var(--space-3);
    }

    /* ── Blog grid ── */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-6);
    }
    .post-card__image {
        height: 200px;
    }

    /* ── Blog preview section ── */
    .blog-preview__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    /* ── Interior blocks ── */
    .cs-layout,
    .loc-layout {
        grid-template-columns: 1fr;
    }
    .cs-sidebar,
    .loc-sidebar-card { position: static; }
    .sdl-grid--2col { grid-template-columns: 1fr; }
    .il-grid--3col { grid-template-columns: 1fr 1fr; }
    .il-grid--2col { grid-template-columns: 1fr; }
    .cred-bar { grid-template-columns: 1fr; gap: var(--space-8); }
    .cred-bar__stats { grid-template-columns: 1fr 1fr; }
    .rs-grid { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 480px) {

    /* ── Hero ── */
    .hero {
        min-height: 85vh;
    }
    .hero__content {
        min-height: 85vh;
        padding-inline: var(--space-5);
    }

    /* ── Services grid → single column ── */
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    /* ── Related services → single col ── */
    .rs-grid {
        grid-template-columns: 1fr !important;
    }

    /* ── Icon list → single col ── */
    .il-grid--3col,
    .il-grid--2col {
        grid-template-columns: 1fr !important;
    }

    /* ── SA pills → single col ── */
    .sa-pills {
        grid-template-columns: 1fr !important;
    }

    /* ── Section padding tighter ── */
    .section {
        padding-block: var(--space-12);
    }

    /* ── Interior hero ── */
    .interior-hero {
        padding-block: var(--space-10) var(--space-8);
    }

}


/* =============================================================================
   MOBILE HEADER OVERRIDES — must be last to win cascade
   ============================================================================= */
@media (max-width: 768px) {
    /* Hide desktop CTA, show phone number */
    .site-header__cta    { display: none !important; }
    .site-header__phone  { display: flex !important; align-items: center; gap: var(--space-2); font-size: 0.9rem; font-weight: 700; color: var(--color-near-black); text-decoration: none; white-space: nowrap; }

    /* Tighten header row */
    .site-header__inner  { gap: var(--space-2); }
    .site-header__actions { gap: var(--space-2); flex-shrink: 0; }

    /* Hamburger always shows, no extra margin */
    .nav-toggle { display: flex !important; margin-left: 0; }
}


/* =============================================================================
   FOOTER MOBILE FIXES
   Logo invert + text color on dark background
   ============================================================================= */

/* Logo: invert to white on dark forest background — all breakpoints */
.footer-brand__logo {
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

/* Col headings and links: ensure readable white on forest green */
.footer-col__heading {
    color: rgba(255,255,255,0.55);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.footer-col__list a {
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-col__list a:hover {
    color: #fff !important;
}

/* Brand desc text */
.footer-brand__desc {
    color: rgba(255,255,255,0.6);
}


/* =============================================================================
   FOOTER BASE STYLES — v2.7.0
   Base layout for footer-body, footer-brand, footer-certs, footer-social,
   footer-col. These are the missing desktop/base rules the mobile overrides
   were referencing but that were never written.
   ============================================================================= */

/* ── Outer wrapper ── */
.footer-body {
    padding: var(--space-16) 0 var(--space-10);
}

/* ── Main grid: brand col (wider) + 3 nav cols ── */
.footer-body__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10) var(--space-8);
    margin-bottom: var(--space-12);
}

/* ── Brand column ── */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand__logo {
    height: 56px;
    width: auto;
    margin-bottom: var(--space-4);
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.footer-brand__desc {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    max-width: 26ch;
    margin-bottom: var(--space-5);
}

/* ── ISA cert logos row ── */
.footer-certs {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-3);
}

.footer-cert-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-cert-logo {
    background: rgba(255,255,255,0.88);
    border-radius: 6px;
    padding: 5px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.footer-cert-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-cert-logo--light-bg {
    background: rgba(255,255,255,0.88);
}

.footer-cert-logo:hover {
    background: rgba(255,255,255,1);
}

.footer-certs__id {
    width: 100%;
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-top: var(--space-1);
    margin-bottom: var(--space-4);
}

.footer-certs__id span {
    color: rgba(255,255,255,0.65);
}

/* ── Social icon row ── */
.footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.footer-social__link:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.footer-social__link svg, .footer-social__link i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ── Nav columns ── */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col__heading {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: var(--space-4);
}

.footer-col__list {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-col__list a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.70);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    min-height: 36px;
}

.footer-col__list a:hover {
    color: #fff;
}

/* ── Bottom bar ── */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-6);
    padding-bottom: var(--space-8);
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom__copy {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
}

.footer-bottom__links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.footer-bottom__links a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom__links a:hover {
    color: rgba(255,255,255,1);
}


/* =============================================================================
   LOGO SWAP — stacked at rest, icon on scroll — v2.9.2
   Fixed-size wrapper, both logos absolutely centred inside.
   JS animates --logo-progress (0→1) via rAF for butter-smooth crossfade.
   ============================================================================= */

/* Header height animates via JS writing inline style */
.site-header__inner {
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 116px;
}

.site-header.scrolled .site-header__inner {
    height: 66px;
}

/* Logo — single img, JS cross-fades between stacked and icon */
.site-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Logo cross-fade — both images layered, anchor sized to visible logo */
.site-header__logo {
    position: relative;
    display: block;
    flex-shrink: 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Size anchor to stacked logo by default */
/* Wrapper and stacked logo start together, after icon begins fading */
.site-header:not(.scrolled) .site-header__logo {
    width: 120px;
    height: 96px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
                height 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

/* On unscroll — icon fades out (0s), wrapper + stacked both start at 0.1s */
.site-header:not(.scrolled) .site-logo--stacked {
    transition-delay: 0.1s;
}
.site-header:not(.scrolled) .site-logo--icon {
    transition-delay: 0s;
}

/* Size anchor to icon when scrolled */
.site-header.scrolled .site-header__logo {
    width: 44px;
    height: 44px;
}

.site-logo {
    display: block;
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    pointer-events: none;
}

/* Stacked logo — visible by default */
.site-logo--stacked {
    opacity: 1;
    height: 96px;
}

.site-header.scrolled .site-logo--stacked {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition-delay: 0s;
}

.site-header.scrolled .site-logo--icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition-delay: 0.08s;
}

/* Icon logo — hidden by default */
.site-logo--icon {
    opacity: 0;
    height: 44px;
    transform: translate(-50%, -50%) scale(0.88);
}

.site-header.scrolled .site-logo--stacked {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition-delay: 0s;
}

.site-header.scrolled .site-logo--icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition-delay: 0.08s;
}

/* Header at rest */
.site-header:not(.scrolled) .site-header__inner {
    height: 116px;
}

/* Header scrolled */
.site-header.scrolled .site-header__inner {
    height: 66px;
}

/* Mobile */
@media (max-width: 768px) {
    .site-header:not(.scrolled) .site-header__inner {
        height: 90px;
    }
    .site-header.scrolled .site-header__inner {
        height: 60px;
    }

    /* Mobile logo — scale stacked down to fit 90px header */
    .site-header:not(.scrolled) .site-header__logo {
        width: 90px;
        height: 72px;
        transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
                    height 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    }
    .site-logo--stacked {
        height: 72px;
    }
    .site-header.scrolled .site-header__logo {
        width: 36px;
        height: 36px;
    }
    .site-logo--icon {
        height: 36px;
    }
    .site-header.scrolled .site-logo--icon {
        height: 36px;
    }
}




/* ── Content sidebar inline photos ─────────────────────────────────────────── */
/* Inline photo: use position absolute to override WP intrinsic height attrs */
.cs-inline-figure {
    margin: var(--space-10) 0;
    padding-bottom: 56.25%; /* 16:9 ratio */
    position: relative;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.cs-inline-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
}

@media (max-width: 768px) {
    .cs-inline-figure {
        padding-bottom: 66%;
        margin: var(--space-8) 0;
    }
}

@media (max-width: 768px) {
    .cs-inline-figure {
        margin: var(--space-8) 0;
    }
}
/* =============================================================================
   PHOTO BLOCK BASE STYLES — RECONSTRUCTED v2.9.10
   Base/desktop rules for philosophy split, services-grid intro, and
   service-areas layout. Mobile overrides (in the max-width:768px block)
   layer on top of these.
   ============================================================================= */

/* ── Philosophy / Why Us — 60/40 split: tall photo left, content right ───── */
.phil-split {
    display: grid;
    grid-template-columns: 5fr 6fr;
    align-items: stretch;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.phil-split__images {
    position: relative;
    min-height: 100%;
}

.phil-photo {
    position: relative;
    height: 100%;
}

.phil-photo--main {
    height: 100%;
    overflow: hidden;
}

.phil-photo--main > img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    display: block;
}

.phil-split__content {
    padding: var(--space-12) var(--space-12) var(--space-12) var(--space-10);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.phil-split__heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--color-near-black);
    margin-bottom: var(--space-5);
}

.phil-split__body {
    color: var(--color-body);
    line-height: 1.65;
}

.phil-split__body p {
    margin-bottom: var(--space-4);
}

/* Philosophy stats — inline row of figures */
.phil-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.phil-stats__item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.phil-stats__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    color: var(--color-brand);
}

.phil-stats__label {
    font-size: var(--text-sm);
    color: var(--color-body);
    letter-spacing: 0.01em;
}

/* ── Services grid intro — text left, photo right ────────────────────────── */
.sg-intro {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.sg-intro__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sg-intro__body {
    color: var(--color-body);
    font-size: var(--text-lg);
    line-height: 1.6;
    margin-block: var(--space-5) var(--space-8);
    max-width: 48ch;
}

.sg-intro__photos {
    position: relative;
}

.sg-photo {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.sg-photo > img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

/* ── Service areas — content left, tall portrait photo right ─────────────── */
.sa-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.sa-layout__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sa-layout__heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--color-near-black);
    margin-bottom: var(--space-5);
}

.sa-layout__body {
    color: var(--color-body);
    font-size: var(--text-lg);
    line-height: 1.6;
    margin-bottom: var(--space-8);
    max-width: 50ch;
}

.sa-layout__photo {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.sa-layout__photo > img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    display: block;
}

/* Service-area pills — grid of city links */
.sa-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    width: 100%;
}

.service-area-pill {
    display: flex;
    align-items: center;
    padding: var(--space-3) var(--space-5);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    color: var(--color-near-black);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.service-area-pill:hover {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: var(--color-white);
}


/* =============================================================================
   WP ADMIN BAR OFFSET — keep sticky header clear of the admin bar (logged-in)
   ============================================================================= */
.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* =============================================================================
   CONTACT FORM GATE — new vs existing client toggle + Jobber form
   ============================================================================= */
.contact-gate__intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.contact-gate__intro .eyebrow {
    justify-content: space-between;
}

.contact-gate__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-near-black);
    margin-bottom: var(--space-3);
}

.contact-gate__lead {
    color: var(--color-body);
    font-size: var(--text-lg);
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

/* Choice buttons */
.contact-gate__choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.contact-gate__choice {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-6);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-align: left;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.contact-gate__choice:hover {
    border-color: var(--color-brand);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-gate__choice.is-selected {
    border-color: var(--color-brand);
    background: #e4e8e3;
    box-shadow: var(--shadow-sm);
}

.contact-gate__choice-title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-near-black);
}

.contact-gate__choice-sub {
    font-size: var(--text-sm);
    color: var(--color-body);
    line-height: 1.4;
}

/* New-client fee notice */
.contact-gate__notice {
    max-width: 720px;
    margin: var(--space-10) auto 0;
    padding: var(--space-8);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-amber);
    border-radius: var(--radius-lg);
}

.contact-gate__notice-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-near-black);
    margin-bottom: var(--space-4);
}

.contact-gate__notice p {
    color: var(--color-body);
    line-height: 1.65;
    margin-bottom: var(--space-4);
}

.contact-gate__notice p:last-child {
    margin-bottom: 0;
}

/* Jobber form wrap */
.contact-gate__form {
    max-width: 720px;
    margin: var(--space-10) auto 0;
}

@media (max-width: 768px) {
    .contact-gate__choices {
        grid-template-columns: 1fr;
    }
    .contact-gate__notice,
    .contact-gate__form {
        padding: var(--space-6);
    }
}

/* =============================================================================
   MAP EMBED BLOCK
   ============================================================================= */
.section--map {
    padding-block: 0;
}

.map-embed__intro {
    max-width: 640px;
}

.map-embed__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-near-black);
    margin-bottom: var(--space-3);
}

.map-embed__body {
    color: var(--color-body);
    font-size: var(--text-lg);
    line-height: 1.6;
}

/* Frame — rounded corners + shadow so it feels part of the design */
.map-embed__frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    /* thin brand-tinted border */
    border: 1px solid rgba(71,97,73,0.15);
}

.map-embed__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    /* prevent iframe grabbing scroll by default */
    pointer-events: none;
}

/* Clicking the overlay activates the map */
.map-embed__frame .map-embed__overlay.is-active ~ iframe,
.map-embed__frame:has(.map-embed__overlay.is-active) iframe {
    pointer-events: auto;
}

/* Semi-transparent overlay that catches scroll and shows a hint */
.map-embed__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: var(--space-6);
    /* invisible until hovered */
    background: transparent;
    transition: background var(--transition-fast);
}

.map-embed__overlay:hover {
    background: rgba(28,43,30,0.04);
}

.map-embed__overlay-hint {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-near-black);
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: var(--space-2) var(--space-5);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.map-embed__overlay:hover .map-embed__overlay-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Once active, hide the overlay entirely */
.map-embed__overlay.is-active {
    display: none;
}

@media (max-width: 768px) {
    .map-embed__frame {
        border-radius: var(--radius-lg);
        margin-top: var(--space-10);
    }
}

/* =============================================================================
   TRUSTINDEX — hide duplicate top star row on review cards.
   The widget outputs stars twice: once above the reviewer name (.ti-inner > .ti-stars)
   and once below it inside the review content. Keep the lower row (has the
   verification badge), hide the upper one.
   ============================================================================= */
.ti-widget .ti-inner > .ti-stars {
    display: none !important;
}

/* =============================================================================
   BLOG PAGINATION
   ============================================================================= */

.blog-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-body);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: var(--color-white);
}

.blog-pagination .page-numbers.dots {
    border: none !important;
    background: none;
    cursor: default;
}

/* =============================================================================
   PHOTO GALLERY BLOCK
   ============================================================================= */

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(var(--pg-cols, 3), 1fr);
  gap: var(--space-3);
}

.photo-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.photo-gallery__link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.photo-gallery__img {
  width: 100%;
  aspect-ratio: var(--pg-aspect, 4/3);
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.photo-gallery__link:hover .photo-gallery__img,
.photo-gallery__item:hover .photo-gallery__img {
  transform: scale(1.04);
}

/* Lightbox */
.pg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-lightbox[hidden] { display: none; }

.pg-lightbox__img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.pg-lightbox__close,
.pg-lightbox__prev,
.pg-lightbox__next {
  position: fixed;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.pg-lightbox__close:hover,
.pg-lightbox__prev:hover,
.pg-lightbox__next:hover {
  background: rgba(255,255,255,0.25);
}

.pg-lightbox__close { top: var(--space-6); right: var(--space-6); }
.pg-lightbox__prev  { left: var(--space-6); top: 50%; transform: translateY(-50%); }
.pg-lightbox__next  { right: var(--space-6); top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 768px) {
  .photo-gallery[data-columns="3"],
  .photo-gallery[data-columns="4"] {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-gallery[data-columns="2"] {
    grid-template-columns: 1fr;
  }
  .pg-lightbox__prev { left: var(--space-3); }
  .pg-lightbox__next { right: var(--space-3); }
}

@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* =============================================================================
   TEAM MEMBERS BLOCK
   ============================================================================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(var(--tm-cols, 3), 1fr);
  gap: var(--space-8);
  max-width: 900px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.team-card__photo-wrap {
  width: 100%;
  max-width: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-card__photo--placeholder {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
}

.team-card__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.team-card__name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-heading);
  margin: 0;
  line-height: 1.2;
}

.team-card__title {
  font-size: var(--text-sm);
  color: var(--color-brand);
  font-weight: 500;
  margin: 0;
}

.team-card__credentials {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-family: var(--font-mono, monospace);
  margin: 0;
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--color-body);
  margin: var(--space-2) 0 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* =============================================================================
   GRAVITY FORMS — match site button style
   ============================================================================= */

.gform_button,
input.gform_button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 var(--space-8);
    background-color: var(--color-near-black);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 2px solid var(--color-near-black);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 280ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 280ms cubic-bezier(0.4, 0, 0.2, 1),
                color 280ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    appearance: none;
}

.gform_button:hover,
input.gform_button:hover {
    background-color: transparent;
    border-color: var(--color-near-black);
    color: var(--color-near-black);
}

.gform_button:active,
input.gform_button:active {
    transform: translateY(1px);
}
/* =============================================================================
   GRAVITY FORMS — full field styling (orbital theme disabled)
   ============================================================================= */

.gform_wrapper {
    font-family: var(--font-body);
}

.gform_fields {
    list-style: none;
    padding: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    display: grid;
    gap: var(--space-6);
}

.gfield {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.gfield_label,
.gform-field-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-heading);
    letter-spacing: 0.02em;
}

.gfield_required {
    color: var(--color-brand);
    margin-left: 2px;
}

.ginput_container input[type="text"],
.ginput_container input[type="email"],
.ginput_container input[type="tel"],
.ginput_container input[type="number"],
.ginput_container select,
.ginput_container textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-body);
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light, rgba(0,0,0,0.15));
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.ginput_container input:focus,
.ginput_container select:focus,
.ginput_container textarea:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(71, 97, 73, 0.12);
}

.ginput_container textarea {
    resize: vertical;
    min-height: 120px;
}

.ginput_container select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    padding-right: var(--space-9);
}

/* Name field — two columns */
.ginput_complex.ginput_container_name {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.ginput_complex span {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.ginput_complex label {
    font-size: var(--text-xs);
    color: var(--color-muted);
}

/* Radio + checkbox */
.gfield_radio,
.gfield_checkbox {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    list-style: none;
    padding: 0 !important;
    background: transparent !important;
    margin: 0 !important;
}

.gfield_radio li,
.gfield_checkbox li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.gfield_radio input[type="radio"],
.gfield_checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-brand);
    flex-shrink: 0;
    cursor: pointer;
}

.gfield_radio label,
.gfield_checkbox label {
    font-size: var(--text-base);
    color: var(--color-body);
    cursor: pointer;
    font-weight: 400;
}



/* Validation errors */
.gfield_error input,
.gfield_error select,
.gfield_error textarea {
    border-color: #c0392b;
}

.gfield_error .gfield_label {
    color: #c0392b;
}

.validation_message {
    font-size: var(--text-sm);
    color: #c0392b;
    margin-top: var(--space-1);
}

.gform_confirmation_message {
    padding: var(--space-8);
    background: var(--color-off-white);
    border-left: 4px solid var(--color-brand);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    color: var(--color-body);
}

@media (max-width: 480px) {
    .ginput_complex.ginput_container_name {
        grid-template-columns: 1fr;
    }
}

.gform_footer { margin-top: var(--space-6); }

/* =============================================================================
   GRAVITY FORMS — fieldset reset
   ============================================================================= */

.gform_wrapper fieldset,
.gravity-theme fieldset,
#gform_wrapper_1 fieldset {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}


/* Show legends that are actual field labels (radio/checkbox groups) */
/* Hide empty legends and the Name field legend (label is shown separately) */
.gform_wrapper legend:empty {
    display: none;
}

.gform_wrapper legend.gfield_label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-heading);
    letter-spacing: 0.02em;
    line-height: 1.3;
    margin-bottom: var(--space-2);
    float: none;
    width: auto;
    padding: 0;
}

/* Hide the Name field legend specifically since inputs have sub-labels */
.gfield--type-name legend.gfield_label {
    display: none;
}
.gform_wrapper legend {
    display: none;
}

/* Full Width Content — optional heading above content */
.fwc-header {
    margin-bottom: var(--space-8);
    text-align: center;
}

.fwc-header .eyebrow {
    margin-bottom: var(--space-2);
}

.fwc-header__heading {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.2;
    margin: 0;
}

.fwc-header--light .fwc-header__heading {
    color: var(--color-white);
}

/* ── Body copy link styles — accessibility ──────────────────────────────────
   Applies to any <a> inside flowing content areas that isn't a button or nav.
   Uses text-decoration underline with offset for legibility.
   ────────────────────────────────────────────────────────────────────────── */
.cs-content a,
.sa-layout__body a,
.phil-split__body a,
.entry-content a,
.fwc-body a,
.location-intro a,
.sidebar-body a,
p a {
    color: var(--color-brand);
    text-decoration: underline;
    text-decoration-color: rgba(71,97,73,0.5);
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.cs-content a:hover,
.sa-layout__body a:hover,
.phil-split__body a:hover,
.entry-content a:hover,
.fwc-body a:hover,
.location-intro a:hover,
.sidebar-body a:hover,
p a:hover {
    color: var(--color-forest);
    text-decoration-color: var(--color-forest);
}

/* Remove underline from buttons and nav elements inside content */
.cs-content .btn a,
.cs-content a.btn,
p a.btn {
    text-decoration: none;
}

.footer-social__link i {
    font-size: 16px;
    line-height: 1;
    display: block;
}

/* ── Utility Nav ─────────────────────────────────────────────────────────────
   Thin strip above the main header — phone, tagline, quick links.
   ────────────────────────────────────────────────────────────────────────── */
.utility-nav {
    background: var(--color-forest);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

.utility-nav__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 36px;
    gap: var(--space-4);
}

.utility-nav__left {
    color: rgba(245,243,238,0.55);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.utility-nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    list-style: none;
    margin: 0;
    padding: 0;
}

.utility-nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(245,243,238,0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.utility-nav__link:hover {
    color: #fff;
    text-decoration: none;
}

.utility-nav__link i {
    font-size: 11px;
    opacity: 0.7;
}

/* Hide on mobile — phone lives in mobile nav footer */
@media (max-width: 768px) {
    .utility-nav {
        display: none;
    }
}

/* ── Legal / Policy pages ────────────────────────────────────────────────────*/
.legal-content h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-forest);
    margin: var(--space-10) 0 var(--space-3);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border-light);
}
.legal-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal-content h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-near-black);
    margin: var(--space-6) 0 var(--space-2);
}
.legal-content p {
    margin-bottom: var(--space-4);
    color: var(--color-body);
    line-height: var(--leading-relaxed);
}
.legal-content ul, .legal-content ol {
    margin: 0 0 var(--space-4) var(--space-6);
}
.legal-content li {
    margin-bottom: var(--space-2);
    color: var(--color-body);
    line-height: var(--leading-relaxed);
}
.legal-content a {
    color: var(--color-brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}
