/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.005em;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--c-green);
  color: var(--c-white);
}
.btn--primary:hover {
  background: var(--c-green-hover);
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--dark {
  background: var(--c-forest);
  color: var(--c-stone);
}
.btn--dark:hover {
  background: var(--c-forest-80);
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--c-forest);
  border-color: var(--c-forest);
}
.btn--outline:hover {
  background: var(--c-forest);
  color: var(--c-stone);
}
.section-dark .btn--outline,
.hero .btn--outline {
  color: var(--c-stone);
  border-color: var(--c-stone);
  background: transparent;
}
.section-dark .btn--outline:hover,
.hero .btn--outline:hover {
  background: var(--c-stone);
  color: var(--c-forest);
}

.hero .btn--ghost {
  color: var(--c-stone);
}
.hero .btn--ghost:hover {
  color: var(--c-green-soft);
}
.btn--ghost {
  background: transparent;
  color: var(--c-forest);
  padding: 0.625rem 0.25rem;
}
.btn--ghost:hover {
  color: var(--c-green);
  gap: var(--space-3);
}
.btn--lg { padding: 1rem 1.875rem; font-size: 1rem; }
.btn--sm { padding: 0.625rem 1.125rem; font-size: 0.8125rem; }

.btn .arrow { transition: transform var(--t-med) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--c-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: var(--space-6);
}
.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-header__logo img {
  height: 60px;
  width: auto;
  display: block;
}
@media (max-width: 540px) {
  .site-header__inner { height: 76px; }
  .site-header__logo img { height: 48px; }
}
@media (max-width: 540px) {
  .nav__list, .nav__cta { top: 76px; max-height: calc(100vh - 76px); }
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-forest);
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__link:hover {
  color: var(--c-green-hover);
  background: var(--c-sage);
}
.nav__link[aria-current="page"] { color: var(--c-green); }

/* Dropdown */
.nav__item--has-menu { position: relative; }
.nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
  list-style: none;
  margin: 0;
}
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__menu a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: var(--r-sm);
  color: var(--c-forest);
  font-weight: 500;
  font-size: 0.9375rem;
}
.nav__menu a small {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 2px;
}
.nav__menu a:hover { background: var(--c-sage); color: var(--c-green-hover); }

.nav__cta { margin-left: var(--space-3); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
}
.nav__toggle:hover { background: var(--c-sage); }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-forest);
  position: relative;
  transition: transform var(--t-med) var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--c-forest);
  transition: transform var(--t-med) var(--ease);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav__list, .nav__cta {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    background: var(--c-stone);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-5) var(--gutter);
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease), visibility var(--t-med);
  }
  .nav__cta { top: auto; padding-top: 0; padding-bottom: var(--space-6); border-bottom: none; margin-left: 0; }
  .nav.is-open .nav__list,
  .nav.is-open .nav__cta {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__list { padding-bottom: 0; }
  .nav__link { padding: 0.875rem 0; font-size: 1.125rem; border-radius: 0; }
  .nav__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 var(--space-3) var(--space-4);
    min-width: auto;
  }
  .nav__cta .btn { width: 100%; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--c-forest);
  color: var(--text-on-dark);
  padding-block: var(--space-8) var(--space-5);
  margin-top: var(--space-9);
}
.site-footer h4 {
  color: var(--c-stone);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  color: var(--c-green-soft);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 880px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .site-footer__top { grid-template-columns: 1fr; gap: var(--space-6); }
}
.site-footer__brand img {
  height: 55px;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-4);
  opacity: 0.95;
}
.site-footer__brand p {
  color: var(--text-on-dark-muted);
  font-size: 0.9375rem;
  max-width: 32ch;
}
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li + li { margin-top: var(--space-3); }
.site-footer__list a {
  color: var(--c-stone);
  font-size: 0.9375rem;
  opacity: 0.85;
}
.site-footer__list a:hover { opacity: 1; color: var(--c-green-soft); }

.site-footer__contact {
  font-size: 0.9375rem;
  color: var(--c-stone);
}
.site-footer__contact a { color: inherit; }
.site-footer__contact a:hover { color: var(--c-green-soft); }
.site-footer__contact div + div { margin-top: var(--space-3); }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-5);
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
}
.site-footer__bottom a { color: inherit; }
.site-footer__bottom a:hover { color: var(--c-green-soft); }
.site-footer__legal { display: flex; gap: var(--space-5); flex-wrap: wrap; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  background-color: var(--c-forest);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate; /* establish stacking context */
}
/* All direct content sits above the overlay */
.hero > * { position: relative; z-index: 2; }

/* Non-photo heroes: subtle radial accent */
.hero:not(.hero--photo)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(45, 139, 90, 0.25), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(184, 98, 62, 0.12), transparent 50%);
}

/* Photo hero: photo set inline as background-image, plus dark green overlay */
.hero--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 42, 30, 0.88) 0%, rgba(15, 42, 30, 0.7) 45%, rgba(15, 42, 30, 0.4) 100%),
    linear-gradient(180deg, rgba(15, 42, 30, 0.35) 0%, rgba(15, 42, 30, 0.1) 40%, transparent 70%, rgba(15, 42, 30, 0.5) 100%);
}
.hero--photo h1,
.hero--photo .eyebrow { text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); }
.hero--photo .lead { color: #EAEFE7; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }

/* Hero slideshow: stacked cross-fading photo layers behind the overlay.
   Sits below .hero--photo::before (z-index 1) and content (z-index 2).
   Navigation is edge-click only (handled in nav.js), no DOM buttons. */
.hero--slideshow {
  background-image: none;
  /* Fixed height so the box doesn't resize between slides (lead lengths
     differ). Keeps every slide the same size and the cross-fade smooth. */
  display: flex;
  align-items: center;
  min-height: clamp(460px, 70vh, 640px);
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }
/* Lead paragraph cross-fades in sync with the slide it belongs to */
.hero--slideshow [data-hero-lead] { transition: opacity 0.3s ease; }
/* Subtle edge affordance so visitors discover the click zones on hover */
.hero--slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background:
    radial-gradient(circle at left center, rgba(255,255,255,0.16), transparent 9%),
    radial-gradient(circle at right center, rgba(255,255,255,0.16), transparent 9%);
}
.hero--slideshow:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}
.blog-hero h1 { color: #FFFFFF; }
.blog-hero .lead { color: #F5F1E8; }
.hero__photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--c-forest-80);
}
.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 960px) {
  .hero__photo-frame { aspect-ratio: 16/10; max-height: 320px; }
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-7); }
}
.hero h1 {
  color: var(--c-stone);
  margin-bottom: var(--space-5);
}
.hero h1 em {
  font-style: italic;
  color: var(--c-green-soft);
  font-weight: 300;
}
.hero .lead {
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-6);
  max-width: 56ch;
}
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-forest-80);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__stats {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--c-green-soft);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.hero__stat span {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.02em;
  max-width: 22ch;
  display: block;
}

/* ============ AUDIENCE ROUTING (homepage) ============ */
/* Open three-up columns separated by hairline dividers, no boxes. Shared by
   the home "Our Clients" and "Our Services" sections. */
.divided-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--space-7);
}
.divided-grid > * {
  padding-inline: var(--space-6);
  border-left: 1px solid var(--c-line);
}
.divided-grid > *:first-child { border-left: none; padding-inline-start: 0; }
.divided-grid > *:last-child { padding-inline-end: 0; }
@media (max-width: 880px) {
  .divided-grid { grid-template-columns: 1fr; }
  .divided-grid > * {
    border-left: none;
    padding-inline: 0;
    padding-block: var(--space-6);
    border-top: 1px solid var(--c-line);
  }
  .divided-grid > *:first-child { border-top: none; padding-top: 0; }
}

.audience-card {
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--text-primary);
}
.audience-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--c-sage);
  display: grid;
  place-items: center;
  color: var(--c-green-hover);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}
.audience-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}
.audience-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
  flex: 1;
  position: relative;
  z-index: 1;
}
.audience-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--c-green-hover);
  font-weight: 600;
  font-size: 0.9375rem;
  position: relative;
  z-index: 1;
}
.audience-card:hover .audience-card__link { gap: 0.625rem; }

/* ============ SERVICE CARDS ============ */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card h3 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-3);
}
.service-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  flex: 1;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-green-hover);
  transition: gap var(--t-fast) var(--ease);
}
.service-card:hover .service-card__link { gap: 0.625rem; }
.service-card__price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--c-forest);
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-line);
  margin-bottom: var(--space-4);
}
.service-card__price small {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}

/* Editorial factor grid, no boxes. Four items in a 2x2 quadrant whose
   hairlines meet in the middle to form a single + cross. */
.factor-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.factor-list__item {
  padding: clamp(var(--space-5), 4vw, var(--space-7));
}
/* Vertical arm of the cross: right edge of the left column */
.factor-list__item:nth-child(odd) {
  border-right: 1px solid var(--c-line);
}
/* Horizontal arm of the cross: bottom edge of the top row */
.factor-list__item:nth-child(1),
.factor-list__item:nth-child(2) {
  border-bottom: 1px solid var(--c-line);
}
.factor-list__term {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-forest);
  margin: 0 0 var(--space-2);
}
.factor-list__desc {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 720px) {
  /* Single column on mobile: dividers stack horizontally */
  .factor-list { grid-template-columns: 1fr; }
  .factor-list__item {
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
  }
  .factor-list__item:last-child { border-bottom: 0; }
}

/* ============ STAT BLOCKS ============ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: var(--space-5);
  border-left: 2px solid var(--c-green);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw + 1rem, 2.75rem);
  font-weight: 500;
  color: var(--c-forest);
  line-height: 1.05;
  margin-bottom: var(--space-2);
}
.stat span {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: block;
}
.section-dark .stat { border-left-color: var(--c-green-soft); }
.section-dark .stat strong { color: var(--c-stone); }
.section-dark .stat span { color: var(--text-on-dark-muted); }

/* ============ CONTACT LAYOUT ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ============ FORM ============ */
.form {
  display: grid;
  gap: var(--space-5);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

.field {
  display: block;
  position: relative;
}
.field__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-forest);
  margin-bottom: var(--space-2);
}
.field__label .req { color: var(--c-clay); }
.field__input,
.field__textarea,
.field__select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field__input:hover,
.field__textarea:hover,
.field__select:hover { border-color: var(--c-slate-soft); }
.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  outline: none;
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(45, 139, 90, 0.15);
}
.field__textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field__hint {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: var(--space-2);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-3);
}
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--c-line);
  flex-shrink: 0;
  transition: all var(--t-fast) var(--ease);
  position: relative;
}
.choice__indicator::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--c-green);
  transform: scale(0);
  transition: transform var(--t-fast) var(--ease);
}
.choice__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-forest);
}
.choice:hover { border-color: var(--c-green-soft); }
.choice:has(input:checked) {
  border-color: var(--c-green);
  background: var(--c-sage);
}
.choice:has(input:checked) .choice__indicator { border-color: var(--c-green); }
.choice:has(input:checked) .choice__indicator::after { transform: scale(1); }

.form__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-3);
}
.form__privacy {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  max-width: 40ch;
}
.form__privacy a { color: var(--c-forest); text-decoration: underline; }

/* ============ PROCESS STEPS ============ */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  counter-reset: step;
  position: relative;
}
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }

.process__step {
  position: relative;
  padding-top: var(--space-6);
  counter-increment: step;
}
.process__step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-green);
  letter-spacing: 0.08em;
}
.process__step::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 32px;
  right: 0;
  height: 1px;
  background: var(--c-line);
}
.section-dark .process__step::after { background: rgba(255,255,255,0.15); }
.process__step:last-child::after { display: none; }
.process__step h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
  margin-top: var(--space-2);
}
.process__step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.section-dark .process__step p { color: var(--text-on-dark-muted); }

/* ============ FAQ / DISCLOSURES ============ */
.faq {
  max-width: 820px;
  margin-inline: auto;
}
.faq__item {
  border-bottom: 1px solid var(--c-line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-forest);
  transition: color var(--t-fast) var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230F2A1E' stroke-width='1.5'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  transition: transform var(--t-med) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item[open] summary { color: var(--c-green-hover); }
.faq__answer {
  padding-bottom: var(--space-5);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 70ch;
}

/* ============ TESTIMONIAL / QUOTE ============ */
.quote {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--space-7);
  border-left: 3px solid var(--c-green);
  box-shadow: var(--shadow-sm);
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--c-forest);
  font-weight: 400;
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}
.quote cite {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.quote cite strong { color: var(--c-forest); }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--c-forest);
  color: var(--text-on-dark);
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: var(--r-lg);
  text-align: center;
  margin-block: var(--space-7);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(45, 139, 90, 0.35), transparent 60%);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip h2 {
  color: var(--c-stone);
  max-width: 22ch;
  margin: 0 auto var(--space-4);
}
.cta-strip p {
  color: var(--text-on-dark-muted);
  max-width: 56ch;
  margin: 0 auto var(--space-6);
  font-size: var(--fs-lead);
}

/* ============ BLOG ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}
.blog-card {
  display: block;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-5) var(--space-6);
  color: var(--c-forest);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.blog-card:hover {
  border-color: var(--c-green-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--c-forest);
}
.blog-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-green-hover);
  background: var(--c-sage);
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--space-4);
}
.blog-card h2, .blog-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: var(--space-3);
  color: var(--c-forest);
}
.blog-card h2 { font-size: 1.5rem; }
.blog-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  line-height: 1.55;
}
.blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-green-hover);
}
.blog-card--featured {
  grid-column: 1 / -1;
  background: var(--c-forest);
  color: var(--c-stone);
  border-color: var(--c-forest);
}
.blog-card--featured:hover {
  border-color: var(--c-green);
  color: var(--c-stone);
}
.blog-card--featured .blog-card__tag {
  background: rgba(91, 174, 130, 0.2);
  color: var(--c-green-soft);
}
.blog-card--featured h2 { color: var(--c-stone); }
.blog-card--featured p { color: var(--text-on-dark-muted); }
.blog-card--featured .blog-card__cta { color: var(--c-green-soft); }

/* Post pagination at the bottom of a county post */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--c-line);
}
@media (max-width: 600px) {
  .post-nav { grid-template-columns: 1fr; }
}
.post-nav__link {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  color: var(--c-forest);
  transition: border-color var(--t-fast) var(--ease);
}
.post-nav__link:hover { border-color: var(--c-green-soft); color: var(--c-forest); }
.post-nav__link--next { text-align: right; }
.post-nav__dir {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-green-hover);
}
.post-nav__title {
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ============ CONTACT STRIP (slim page-bottom enquiry) ============ */
.contact-strip {
  margin-block: var(--space-7);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 760px) {
  .contact-strip { grid-template-columns: 1fr; }
}
.contact-strip__intro h2 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-3);
}
.contact-strip__intro p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
}
.contact-strip__details { display: grid; gap: var(--space-3); }
.contact-strip__details > div { font-size: 0.9375rem; }
.contact-strip__details a {
  color: var(--c-forest);
  font-weight: 500;
}
.contact-strip__details a:hover { color: var(--c-green-hover); }
.contact-strip__form { display: grid; gap: var(--space-4); }
.contact-strip__form .field__input,
.contact-strip__form .field__textarea {
  padding: 0.6875rem 0.875rem;
}
.contact-strip__form .field__textarea { min-height: 96px; }
.contact-strip__form button { justify-self: start; }
.contact-strip__status {
  font-size: 0.875rem;
  color: var(--c-green-hover);
  min-height: 1.2em;
}

/* ============ BNG CALCULATOR ============ */
.calc {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.calc__head {
  margin-bottom: var(--space-6);
}
.calc__head h3 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-3);
}
.calc__head p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 60ch;
}
.calc__form { display: grid; gap: var(--space-5); }

.calc__result {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--c-line);
  display: grid;
  gap: var(--space-5);
}
.calc__headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  color: var(--c-forest);
  line-height: 1.2;
}
.calc__headline strong {
  color: var(--c-green);
  font-weight: 500;
}
.calc__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 540px) { .calc__split { grid-template-columns: 1fr; } }
.calc__tile {
  padding: var(--space-5);
  background: var(--c-sage);
  border-radius: var(--r-md);
  border: 1px solid var(--c-sage-deep);
}
.calc__tile.calc__tile--alt { background: var(--c-stone-deep); border-color: var(--c-stone-deep); }
.calc__tile .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  display: block;
}
.calc__tile .value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 0.75rem, 2.25rem);
  font-weight: 500;
  color: var(--c-forest);
  line-height: 1;
}
.calc__tile small { display: block; margin-top: var(--space-2); font-size: 0.8125rem; color: var(--text-secondary); }
.calc__caveat { font-size: 0.8125rem; color: var(--text-secondary); }

/* ---- Supplier list inside the BNG calculator result ---- */
.supplier-list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: grid;
  gap: var(--space-3);
}
.supplier-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.supplier-row__main strong { font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; color: var(--c-forest); display: block; }
.supplier-row__meta { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 0.15rem; }
.supplier-row__meta em { font-style: normal; color: var(--c-green); font-weight: 500; }
.supplier-row__notes { font-size: 0.875rem; color: var(--text-primary); margin-top: var(--space-2); }
.supplier-row__price { font-size: 0.875rem; font-weight: 500; color: var(--c-green-hover); margin-top: var(--space-2); }

/* ---- Summary block above the supplier list ---- */
.match-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.match-summary > div { display: flex; flex-direction: column; gap: 0.15rem; }
.match-summary .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); }
.match-summary .value { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 500; color: var(--c-forest); }

/* ---- Proximity tier pill on each supplier row ---- */
.tier-pill {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-right: var(--space-1);
}
.tier-pill--best { background: var(--c-green); color: var(--c-white); }
.tier-pill--mid  { background: var(--c-sage); color: var(--c-forest); }
.tier-pill--low  { background: var(--c-line); color: var(--text-secondary); }

.supplier-row__units { text-align: right; min-width: 6.5rem; }
.supplier-row__units .value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-green-hover);
  line-height: 1;
}
.supplier-row__units small { display: block; margin-top: var(--space-1); font-size: 0.75rem; color: var(--text-secondary); }
@media (max-width: 540px) {
  .supplier-row { grid-template-columns: 1fr; }
  .supplier-row__units { text-align: left; }
}

/* ============ OFFSETTING OPPS CARDS ============ */
.opp-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  height: 100%;
}
.opp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-green-soft);
  color: var(--text-primary);
}
.opp-card__image {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}
.opp-card__body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-4);
}
.opp-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--c-forest);
  margin: 0;
  flex: 1;
}
.opp-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--c-green-hover);
  font-weight: 600;
  font-size: 0.9375rem;
}
.opp-card:hover .opp-card__cta { gap: 0.625rem; }

/* ============ PROJECT MARKETPLACE ============ */
.market-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
  padding: var(--space-2);
  background: var(--c-sage);
  border-radius: var(--r-pill);
  width: fit-content;
}
.market-filter {
  padding: 0.625rem 1.125rem;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-forest);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.market-filter:hover { background: rgba(255,255,255,0.5); }
.market-filter[aria-pressed="true"] {
  background: var(--c-forest);
  color: var(--c-stone);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
}

.project-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease);
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.project-card__image {
  aspect-ratio: 16/9;
  background: var(--c-forest-80);
  position: relative;
  overflow: hidden;
}
.project-card__status {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--c-green);
  color: var(--c-white);
}
.project-card__status--reserved { background: var(--c-clay); }
.project-card__status--sold { background: var(--c-slate); }
.project-card__body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.project-card__meta {
  display: flex;
  gap: var(--space-3);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.project-card__meta span + span::before {
  content: '·';
  margin-right: var(--space-3);
  color: var(--c-line);
}
.project-card h3 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}
.project-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  flex: 1;
  margin-bottom: var(--space-4);
}
.project-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-line);
}
.project-card__price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--c-forest);
}
.project-card__price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.project-card__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-green-hover);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.project-card:hover .project-card__cta { gap: 8px; }

/* ============ HABITAT GRID ============ */
.habitats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.habitat {
  padding: var(--space-5);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.habitat:hover { border-color: var(--c-green-soft); transform: translateY(-2px); }
.habitat__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--c-sage);
  display: grid;
  place-items: center;
  color: var(--c-green-hover);
  margin-bottom: var(--space-3);
}
.habitat h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; color: var(--c-forest); margin-bottom: var(--space-2); }
.habitat p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }

/* ============ TRUST / STANDARDS, ROLLING MARQUEE ============ */
.standards {
  padding-block: var(--space-7);
}
.standards__head {
  text-align: center;
  margin-bottom: var(--space-6);
}
.standards__head .eyebrow { justify-content: center; }
.standards__head p {
  color: var(--text-secondary);
  max-width: 56ch;
  margin: var(--space-3) auto 0;
  font-size: 0.9375rem;
}

.standards__viewport {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.standards__track {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: max-content;
  animation: standards-scroll 55s linear infinite;
  /* Hold the first (largest) clients still for 2s on load so visitors see them
     before the strip starts scrolling. Delay applies to the first run only. */
  animation-delay: 2s;
}
.standards__viewport:hover .standards__track,
.standards__viewport:focus-within .standards__track {
  animation-play-state: paused;
}

.standards__item {
  flex: 0 0 auto;
  width: clamp(208px, 29vw, 288px);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-3);
}
.standards__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  /* Carbon "Aligned with" standards strip: 20% smaller than the original
     scale(1.6). The home/NN/BNG client strips use .standards--cards below
     (transform:none), so this only affects the Carbon page. */
  transform: scale(1.28);
}
/* Optional per-logo link wrapper (home "Trusted by" strip). display:contents
   means the anchor adds no box of its own, so the logo sits in the flex item
   exactly as an unlinked img would: box size, scale and layout are unchanged. */
.standards__link {
  display: contents;
}
/* "Trusted by" client strip variant (home/NN/BNG). The strip band is white,
   the logos sit directly on it with no card backgrounds, and are slightly
   reduced. A per-logo `bg` (BDN / KCS, which only publish white logos) still
   applies as an inline tile colour so those stay visible. Scoped to
   .standards--cards; the Carbon standards strip keeps the base rules. Box size,
   animation and font are untouched. */
.standards--cards {
  background: #ffffff;
  padding-block: var(--space-5);
}
.standards--cards .standards__item {
  padding: var(--space-1);
  height: 120px;
}
.standards--cards .standards__item img {
  transform: scale(0.729);
}

@keyframes standards-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - var(--space-5) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
  .standards__track { animation: none; }
  .standards__viewport { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}
