/* ══════════════════════════════════════════════════════════════════
   BRAND TOKENS — single source of truth for the whole site.
   Change a value here and it updates every page.

   Each colour is declared twice: a hex for plain use, and a
   space-separated `-rgb` triplet for use at any opacity via the modern
   slash syntax, e.g. `background: rgb(var(--forest-mid-rgb) / 0.4)`.
   Keep the triplets space-separated, never comma-separated — that is
   the form both `rgb(... / alpha)` and the per-page Tailwind config
   require, so utility classes like `bg-[#132517]` and `text-ink/80`
   resolve from these same values.
   ══════════════════════════════════════════════════════════════════ */
:root {
  /* ── Neutrals ── */
  --ink: #1c1c1c;          --ink-rgb: 28 28 28;
  --sub: #6b6b6b;          --sub-rgb: 107 107 107;
  --cream: #f7f5f0;        --cream-rgb: 247 245 240;
  --line: #e8e4db;         --line-rgb: 232 228 219;

  /* ── Greens (dark → light) ── */
  --forest-deep: #082410;  --forest-deep-rgb: 8 36 16;
  --forest: #0d1a10;       --forest-rgb: 13 26 16;
  --forest-mid: #1a3d2a;   --forest-mid-rgb: 26 61 42;
  /* --leaf is the one green that reads as green on a light background;
     the darker forests go near-black and sage/accent/lime are too pale. */
  --leaf: #22804a;         --leaf-rgb: 34 128 74;
  --sage: #9fd7a4;         --sage-rgb: 159 215 164;
  --accent: #61af1e;       --accent-rgb: 126 229 161;
  --lime: #a3e635;         --lime-rgb: 163 230 53;
  --lime-soft: #61af1e;    --lime-soft-rgb: 175 228 78;

  /* ── Home hero video overlay ──
     Raise the opacity if white nav/headline text gets hard to read
     over bright footage; lower it to show more of the video. */
  --hero-overlay-rgb: 0 0 0;
  --hero-overlay-opacity: 0.3;
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: clip;
  max-width: 100%;
}

html {
  overflow-x: clip;
  max-width: 100%;
}

/* ══════════════════════════════════════════════════════════════════
   SITE LOADER — animated mark inspired by the Glaubark lockup
   ══════════════════════════════════════════════════════════════════ */
html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: #fff;
  overflow: hidden;
  clip-path: circle(150% at 50% 48%);
  opacity: 1;
  transition:
    clip-path 1.05s cubic-bezier(0.76, 0, 0.18, 1),
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
}

.site-loader-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.05rem;
  transition:
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.76, 0, 0.18, 1);
}

.site-loader-mark {
  display: block;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0;
  transform: scale(0.86);
  clip-path: circle(0% at 50% 50%);
  animation: loader-icon-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
}

@media (min-width: 768px) {
  .site-loader-inner { gap: 1.25rem; }
  .site-loader-mark { width: 80px; height: 80px; }
}

.site-loader-word {
  display: flex;
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.85rem, 5.4vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: lowercase;
}

.site-loader-word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.28em);
  animation: loader-letter 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-loader-word span:nth-child(1) { animation-delay: 0.48s; }
.site-loader-word span:nth-child(2) { animation-delay: 0.53s; }
.site-loader-word span:nth-child(3) { animation-delay: 0.58s; }
.site-loader-word span:nth-child(4) { animation-delay: 0.63s; }
.site-loader-word span:nth-child(5) { animation-delay: 0.68s; }
.site-loader-word span:nth-child(6) { animation-delay: 0.73s; }
.site-loader-word span:nth-child(7) { animation-delay: 0.78s; }
.site-loader-word span:nth-child(8) { animation-delay: 0.83s; }

.site-loader.is-leaving {
  clip-path: circle(0% at 50% 48%);
  opacity: 0;
  pointer-events: none;
}

.site-loader.is-leaving .site-loader-inner {
  opacity: 0;
  transform: scale(0.94);
}

html.loader-skip .site-loader {
  display: none !important;
}

@keyframes loader-icon-in {
  to {
    opacity: 1;
    transform: scale(1);
    clip-path: circle(75% at 50% 50%);
  }
}

@keyframes loader-letter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader-mark,
  .site-loader-word span {
    animation: none;
  }
  .site-loader-mark {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  .site-loader-word span {
    opacity: 1;
    transform: none;
  }
  .site-loader {
    transition-duration: 0.25s;
  }
}
h1,h2,h3,h4,h5,h6 { 
  font-family: "DM Sans", sans-serif !important;
  font-weight: 600 !important;
  font-style: normal !important;
letter-spacing: -0.01em !important;
line-height: 1.2 !important;

}
.site-header-brand,
.site-drawer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-header-logo-img,
.site-drawer-logo-img,
.site-footer-logo-img {
  display: block;
  width: auto;
  height: 28px;
  object-fit: contain;
  mix-blend-mode: screen;
}

@media (min-width: 768px) {
  .site-header-logo-img { height: 60px; }
}

.site-drawer-logo-img { height: 26px; }
.site-footer-logo-img { height: 30px; }

/* Light article heroes: invert the white-on-black PNG to a dark wordmark */
body.light-hero .site-header:not(.is-scrolled) .site-header-logo-img {
  mix-blend-mode: multiply;
  filter: invert(1);
}

/* Header scroll states */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  overflow-x: clip;
}

.site-header-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.site-header-bar {
  width: 100%;
  min-width: 0;
}

.site-header-nav {
  display: none;
}

.site-header-menu-btn {
  display: inline-flex;
}

@media (min-width: 768px) {
  .site-header-inner {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .site-header-inner {
    padding-inline: 3rem;
  }

  .site-header-bar {
    justify-content: space-between;
  }

  .site-header-nav {
    display: block;
  }

  .site-header-menu-btn,
  .mobile-overlay,
  .mobile-drawer {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .site-header {
    width: 100vw;
    max-width: 100%;
  }

  .site-header-inner {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .site-header-nav {
    display: none !important;
  }

  #mobile-menu-btn {
    display: inline-flex !important;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
  }
}

.site-header.is-scrolled {
  background-color:#132517;

  backdrop-filter: blur(8px);
}

/* Mobile drawer */
.mobile-drawer {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* About dropdown */
.nav-dropdown-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Footer accordion (mobile). Height is normally driven by GSAP (js/main.js);
   these rules are the no-JS-library fallback so content is never stuck hidden. */
.footer-accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.footer-accordion-item.is-open .footer-accordion-content {
  height: auto;
}

.footer-accordion-item.is-open .footer-accordion-icon {
  transform: rotate(180deg);
}

@media (min-width: 768px) {
  .footer-accordion-content {
    height: auto !important;
    overflow: visible !important;
  }
}

/* Swiper overrides */
.carousel-swiper,
.testimonial-swiper {
  overflow: hidden;
}

.carousel-swiper .swiper-wrapper,
.testimonial-swiper .swiper-wrapper {
  overflow: hidden;
}

.carousel-slide {
  height: 260px;
  width: min(86vw, 320px);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .carousel-slide {
    height: 300px;
    width: min(40vw, 360px);
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    height: 340px;
    width: min(30vw, 420px);
  }
}

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

/* ══ Home hero ═══════════════════════════════════════════════════ */

/* Flat black scrim — tune via --hero-overlay-opacity in :root. */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgb(var(--hero-overlay-rgb) / var(--hero-overlay-opacity));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
  margin-left: 0.25rem;
}

.hero-eyebrow-leaf {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-title-accent {
  color: var(--accent);
}

/* Keep descenders out of the mask-reveal clip */
.hero-title .split-line {
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

/* Divider above the bottom row, opening with a sage segment */
.hero-bottom {
  position: relative;
  padding-top: 2rem;
}

.hero-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent) 0 4rem, rgba(255, 255, 255, 0.16) 4rem);
}

/* Practice tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  background: rgb(var(--accent-rgb) / 0.14);
  border: 1px solid rgb(var(--accent-rgb) / 0.4);
  border-radius: 9999px;
  backdrop-filter: blur(6px);
}

.hero-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Hero stat cards */
.hero-stat-card-dark {
  background: rgba(11, 30, 17, 0.88);
  border: 1px solid rgb(var(--accent-rgb) / 0.26);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.hero-stat-card-glass {
  background: linear-gradient(158deg, rgb(var(--accent-rgb) / 0.3) 0%, rgba(34, 124, 72, 0.44) 100%);
  backdrop-filter: blur(18px);
  border: 1px solid rgb(var(--accent-rgb) / 0.42);
  border-radius: 1rem;
}

.hero-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.hero-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid rgb(var(--accent-rgb) / 0.45);
  color: var(--accent);
}

.hero-stat-caption {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 0.375rem;
}

.hero-stat-num {
  font-size: clamp(2.25rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}

.hero-stat-foot {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

/* Page banner (inner pages) */
.page-banner {
  min-height: 65vh;
}

@media (min-width: 768px) {
  .page-banner {
    min-height: 75vh;
  }
}

/* ── About page: intro + impact stats ──
   transform is owned by GSAP's tilt effect (data-tilt), so hover feedback
   here is box-shadow only to avoid fighting the inline style. */
.about-intro-card {
  transition: box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-intro-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.about-intro-card-light {
  background: var(--sage);
}

.about-intro-card-dark {
  background: #1A2F1D;
}

.about-stat-divider {
  transition: border-color 0.3s ease;
}

.about-stat:hover .about-stat-divider {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Who We Are cards — transform owned by GSAP tilt (data-tilt).
   Four facets of the vision, not a numbered sequence. Shade runs
   forest → mid → leaf → white. */
.wwa-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 1.7rem 1.55rem 1.65rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgb(19 37 23 / 0.04);
  transition: box-shadow 0.45s ease, border-color 0.45s ease;
}

.wwa-card::after {
  content: '';
  position: absolute;
  inset: auto -30% -40% auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / 0.1) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.wwa-card > * {
  position: relative;
  z-index: 1;
}

.wwa-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.55rem;
}

.wwa-card-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.95rem;
  background: rgb(255 255 255 / 0.1);
  color: var(--sage);
  flex-shrink: 0;
  transition: background 0.4s ease, color 0.4s ease;
}

.wwa-card-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.wwa-card-tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.48);
  white-space: nowrap;
}

.wwa-card-title {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 0.9rem;
  max-width: 20ch;
}

.wwa-card-body {
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgb(255 255 255 / 0.68);
}

.wwa-card:hover .wwa-card-icon {
  background: var(--sage);
  color: var(--forest);
}

/* 1 — keep the original forest */
.wwa-card--deep {
  background: var(--forest);
}

.wwa-card--deep:hover {
  box-shadow: 0 22px 50px rgb(8 20 12 / 0.28);
}

/* 2 — a step lighter than forest, still dark enough for white type */
.wwa-card--mid {
  background: #1A2F1D;
}

.wwa-card--mid:hover {
  box-shadow: 0 22px 50px rgb(16 48 32 / 0.22);
}

/* 3 — leaf */
.wwa-card--leaf {
  background: var(--sage);
}
.wwa-card--leaf .wwa-card-title,.wwa-card--leaf .wwa-card-body,.wwa-card--leaf .wwa-card-tag{
  color:rgb(var(--ink-rgb) / 0.8)
}
.wwa-card--leaf .wwa-card-icon {
  background: rgb(255 255 255 / 0.14);
  color:rgb(var(--ink-rgb) / 0.8)
}

.wwa-card--leaf:hover .wwa-card-icon {
  background: #fff;
  color: var(--sage);
}

.wwa-card--leaf:hover {
  box-shadow: 0 22px 50px rgb(20 80 42 / 0.22);
}

/* 4 — cream-white closer */
.wwa-card--light {
  background: #fff;
  border-color: rgb(var(--line-rgb) / 0.95);
}

.wwa-card--light::after {
  background: radial-gradient(circle, rgb(var(--sage-rgb) / 0.18) 0%, transparent 70%);
}

.wwa-card--light .wwa-card-icon {
  background: rgb(var(--sage-rgb) / 0.22);
  color: var(--leaf);
}

.wwa-card--light:hover .wwa-card-icon {
  background: var(--forest);
  color: #fff;
}

.wwa-card--light .wwa-card-tag {
  color: var(--leaf);
}

.wwa-card--light .wwa-card-title {
  color: var(--ink);
}

.wwa-card--light .wwa-card-body {
  border-top-color: rgb(var(--line-rgb) / 0.95);
  color: var(--sub);
}

.wwa-card--light:hover {
  border-color: rgb(var(--leaf-rgb) / 0.28);
  box-shadow: 0 22px 50px rgb(13 26 16 / 0.08);
}

/* ── About: founder profiles — one light screen each ── */
.fp-screen {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 4.5rem 0;
  background: var(--cream);
  color: var(--ink);
}

.fp-screen--alt {
  background: #fff;
}

@media (min-width: 1024px) {
  .fp-screen {
    min-height: 100svh;
    padding: 6.25rem 0 3.5rem;
  }
}

.fp-screen-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .fp-screen-inner {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .fp-screen-inner {
    padding: 0 3rem;
  }
}

.fp-intro {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: baseline;
  gap: 0.55rem 2rem;
  margin-bottom: 2.25rem;
}

.fp-intro-eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf);
}

.fp-intro-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.fp-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .fp-profile {
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
    gap: 3.5rem;
    min-height: calc(100svh - 12.5rem);
  }

  .fp-profile--flip {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  }

  .fp-profile--flip .fp-photo-col { order: 2; }
  .fp-profile--flip .fp-copy { order: 1; }
}

.fp-photo-col {
  position: relative;
}

.fp-photo-frame {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--line);
  box-shadow: 0 18px 40px rgb(13 26 16 / 0.08);
  max-height: 34rem;
}

@media (min-width: 1024px) {
  .fp-photo-frame {
    aspect-ratio: auto;
    height: min(78vh, 44rem);
    max-height: none;
  }
}

.fp-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp-profile:hover .fp-photo-frame img {
  transform: scale(1);
}

.fp-photo-loc {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(8px);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.fp-copy {
  position: relative;
}

.fp-name {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--ink);
}

.fp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin: 0.85rem 0 1.15rem;
}

.fp-role {
  display: inline-flex;
  margin: 0;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgb(var(--sage-rgb) / 0.28);
  color: var(--leaf);
}

.fp-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s ease;
}

.fp-linkedin svg {
  width: 0.9rem;
  height: 0.9rem;
}

.fp-linkedin:hover {
  color: var(--leaf);
}

.fp-bio {
  margin: 0 0 1.2rem;
  max-width: 38rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--sub);
}

.fp-quote {
  margin: 0 0 1.45rem;
  padding: 0 0 0 1.1rem;
  border: 0;
  border-left: 2px solid var(--leaf);
  background: none;
  max-width: 34rem;
}

.fp-quote p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.fp-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem 1.35rem;
  margin: 0;
  padding: 1.15rem 0 0;
  list-style: none;
  border-top: 1px solid rgb(var(--line-rgb) / 0.95);
}

@media (min-width: 640px) {
  .fp-pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fp-pills li {
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}

.fp-pill-label {
  display: block;
  margin: 0 0 0.28rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--leaf);
}

.fp-pill-note {
  display: block;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--sub);
}

/* Our Story timeline */
.story-card {
  overflow: hidden;
}

.story-step-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest-mid);
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.story-step {
  position: relative;
}

.story-step-line-col::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #d7d3ca;
  transform: translateX(-50%);
}

.story-step-last .story-step-line-col::before {
  display: none;
}

/* Long-Term Goals list */
.goal-thumb {
  transition: box-shadow 0.35s ease;
}

.goal-thumb img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.goal-row:hover .goal-thumb img {
  transform: scale(1.06);
}

/* Vision / Mission / Goal glass cards */
.vmg-card {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
}

.vmg-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.78);
}

/* ── What We Do banner ── */
.what-we-do-banner {
  min-height: 520px;
}

@media (min-width: 768px) {
  .what-we-do-banner {
    min-height: 580px;
  }
}

.what-we-do-bg {
  /* GSAP scrub already smooths per-frame; a CSS transition here would add a
     second, competing smoothing pass and make the parallax feel laggy. */
  will-change: transform;
}

.what-we-do-card {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease;
}

.what-we-do-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.16);
}

/* ── Services accordion ── */
.services-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.services-accordion-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.services-accordion-toggle {
  transition: color 0.3s ease;
}

.services-accordion-toggle:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* Rotation is driven by GSAP (js/animations.js) when available; this rule is
   only the instant no-JS fallback, so it intentionally has no transition. */
.services-accordion-item.is-open .services-accordion-icon {
  transform: rotate(90deg);
}

.services-accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-accordion-item.is-open .services-accordion-panel {
  grid-template-rows: 1fr;
}

.services-accordion-panel-inner {
  overflow: hidden;
}

.services-accordion-body {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}

.services-accordion-item.is-open .services-accordion-body {
  opacity: 1;
  transform: translateY(0);
}

/* ── How We Work timeline ── */
.how-step-line {
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--forest-mid) 0%, rgb(var(--forest-mid-rgb) / 0.2) 100%);
}

.how-step-dot {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}

.how-step:hover .how-step-dot {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgb(var(--forest-mid-rgb) / 0.15);
}

.how-step-image {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.how-step-image-wrap:hover .how-step-image {
  transform: scale(1.03);
}

/* ── Blog CTA button ──
   transform is owned by GSAP's magnetic effect (data-magnetic); only
   animate non-transform properties here to avoid fighting inline styles. */
.btn-primary {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgb(var(--forest-mid-rgb) / 0.35);
}

/* ── Stats cards ──
   transform is owned by GSAP's tilt effect (data-tilt) on fine-pointer
   devices, so hover feedback here is box-shadow only to avoid conflicts. */
.stat-card {
  transition: box-shadow 0.45s ease;
}

.stat-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}


/* ── Testimonials swiper ── */
.testimonial-card {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-avatar {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.08);
}

@media (min-width: 1024px) {
  .testimonial-swiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    transform: none !important;
  }

  .testimonial-swiper .swiper-slide {
    width: auto !important;
    margin: 0 !important;
  }
}

.testimonial-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--forest-mid);
  opacity: 0.25;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.25);
}

/* ══ Home case-study carousel ═════════════════════════════════════
   Centred peek carousel: each slide is narrower than the track, so the
   neighbouring cards stay partly visible either side of the active one.
   ═══════════════════════════════════════════════════════════════════ */

.case-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.case-nav-btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

/* Swiper's overflow:hidden would clip the card's hover shadow and right
   peek. The section itself has overflow-hidden to contain the bleed. */
.case-swiper {
  overflow: visible;
  padding-bottom: 2rem;
}

.case-slide {
  width: 92%;       /* mobile: slight right peek */
  height: auto;
}

@media (min-width: 768px) {
  .case-slide { width: 85%; }
}

@media (min-width: 1024px) {
  .case-slide { width: 78%; }
}

@media (min-width: 1280px) {
  .case-slide { width: 72%; }
}

.case-card {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.35s ease;
}

.case-card:hover {
  box-shadow: 0 18px 50px rgb(var(--forest-rgb) / 0.1);
}

@media (min-width: 768px) {
  .case-card { grid-template-columns: 240px 1fr; }
}

@media (min-width: 1024px) {
  .case-card { grid-template-columns: 290px 1fr; }
}

.case-card-media {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
  .case-card-media {
    aspect-ratio: auto;
    min-height: 400px;
  }
}

/* Landscape source photos cropped to a portrait panel — each image sets
   its own --case-img-pos so the subject stays in frame. */
.case-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--case-img-pos, center 40%);
  transform: scale(1.02);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card:hover .case-card-img {
  transform: scale(1.06);
}

.case-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.15rem 1.2rem;
}

@media (min-width: 768px) {
  .case-card-body { padding: 2.25rem 2rem; }
}

@media (min-width: 1024px) {
  .case-card-body { padding: 2.75rem; }
}

.case-card-title {
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  color: var(--ink);
  text-wrap: balance;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .case-card-title { padding-bottom: 1.25rem; }
}

.case-card-accent {
  color: var(--leaf);
}

.case-card-excerpt {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--sub);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .case-card-excerpt {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.7;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
}

@media (min-width: 1024px) {
  .case-card-excerpt { font-size: 0.9375rem; }
}

.case-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .case-card-foot { padding-top: 2rem; }
}

.case-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9999px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.case-card-cta svg {
  transition: transform 0.25s ease;
}

.case-card:hover .case-card-cta {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

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

.case-card-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub);
}

.case-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.case-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--forest-mid);
  opacity: 0.25;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.25);
}

/* ── Back to top ──
   Note: transform is left for GSAP's magnetic effect to own exclusively
   (inline styles always beat stylesheet rules, so a CSS transform here
   would get silently clobbered the first time the pointer moves nearby). */
.back-to-top {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease, background-color 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Image reveal clip */
.img-reveal-wrap {
  overflow: hidden;
}

.img-reveal-wrap img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-reveal-wrap:hover img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .services-accordion-panel,
  .services-accordion-body {
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════
   Animation system (GSAP + Lenis layer)
   ══════════════════════════════════════════════ */

/* Magnetic elements — GSAP writes transform inline, this just hints the browser */
[data-magnetic] {
  will-change: transform;
  display: inline-flex;
}

/* Text split (mask reveal) */
.split-line {
  display: block;
  overflow: hidden;
}

.split-line-inner {
  display: inline-block;
  will-change: transform;
}

/* Hero */
.hero-bg-img {
  will-change: transform;
  transform: scale(1.15);
}

/* Lets carousel slides bleed past the bleed-off container edge */
.carousel-reveal {
  overflow: visible;
}

/* Tilt perspective containers */
.tilt-perspective {
  perspective: 1400px;
}

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Services accordion: hover highlight bar + numerals */
.services-accordion-highlight {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.services-accordion-item {
  position: relative;
  z-index: 1;
}

.services-accordion-num {
  font-variant-numeric: tabular-nums;
}

/* Testimonials: decorative quote glyph */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.35em;
  left: -0.05em;
  font-size: 5.5rem;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--forest-mid);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.testimonial-card > * {
  position: relative;
  z-index: 1;
}

/* Footer link underline draw */
.footer-link {
  position: relative;
  display: inline-block;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.84);
  transition: color 0.25s ease;
}

.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-link:hover {
  color: #fff;
}

.footer-link:hover::after {
  transform: scaleX(1);
}

/* ══ Site footer — forest band ════════════════════════════════════ */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--forest);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--sage) 0 4.5rem, rgb(255 255 255 / 0.12) 4.5rem);
}

.site-footer-mark-band {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 0.25rem 1.25rem 0;
  min-height: 5.5rem;
}

@media (min-width: 768px) {
  .site-footer-mark-band {
    min-height: 8.5rem;
    padding: 0.5rem 2rem 4rem;
  }
}

@media (min-width: 1024px) {
  .site-footer-mark-band {
    min-height: 11.5rem;
    padding: 0.75rem 3rem 3rem;
  }
}

.site-footer-mark {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(4.5rem, 20vw, 250px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.78;
  color: rgb(var(--sage-rgb) / 0.36);
  pointer-events: none;
  user-select: none;
  padding-bottom: 30px;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .site-footer-inner { padding: 3rem 2rem 1.65rem; }
}

@media (min-width: 1024px) {
  .site-footer-inner { padding: 3.25rem 3rem 1.75rem; }
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

@media (min-width: 1024px) {
  .site-footer-grid {
    grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 2.2fr) minmax(14rem, 1fr);
    gap: 1.5rem 2rem;
    padding-bottom: 1.5rem;
    align-items: start;
  }
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.7rem;
  text-decoration: none;
}

.site-footer-tagline {
  max-width: 15rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(255 255 255 / 0.84);
  margin-bottom: 0.85rem;
}

.site-footer-socials {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9999px;
  border: 1px solid rgb(var(--sage-rgb) / 0.28);
  color: rgb(255 255 255 / 0.92);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer-social:hover {
  background: rgb(var(--sage-rgb) / 0.16);
  border-color: var(--sage);
  color: var(--sage);
  transform: translateY(-2px);
}

.site-footer-link-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .site-footer-link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.footer-accordion-item {
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

@media (min-width: 768px) {
  .footer-accordion-item { border-bottom: 0; }
}

.footer-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

@media (min-width: 768px) {
  .footer-accordion-toggle {
    padding: 0;
    pointer-events: none;
    cursor: default;
  }
}

.footer-accordion-icon {
  color: var(--sage);
  transition: transform 0.35s ease;
}

.site-footer-col-title {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.site-footer-list {
  padding-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .site-footer-list {
    padding-bottom: 0;
    margin-top: 0.7rem;
  }
}

.site-footer-list li + li {
  margin-top: 0.4rem;
}

.site-footer-signup {
  padding-top: 0.25rem;
}

@media (min-width: 1024px) {
  .site-footer-signup {
    padding-top: 0;
    padding-left: 1.5rem;
    border-left: 1px solid rgb(255 255 255 / 0.1);
  }
}

.site-footer-signup-lead {
  margin: 0.55rem 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.82);
}

.footer-newsletter-form {
  display: block;
}

.site-footer-signup-row {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  padding: 0.28rem 0.28rem 0.28rem 0.85rem;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(var(--sage-rgb) / 0.22);
  border-radius: 9999px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-footer-signup-row:focus-within {
  background: rgb(255 255 255 / 0.09);
  border-color: rgb(var(--sage-rgb) / 0.5);
}

.site-footer-signup-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font-size: 0.875rem;
  font-family: inherit;
}

.site-footer-signup-input::placeholder {
  color: rgb(255 255 255 / 0.4);
}

.site-footer-signup-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  border: 0;
  border-radius: 9999px;
  background: var(--sage);
  color: var(--forest);
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.site-footer-signup-btn svg {
  transition: transform 0.25s ease;
}

.site-footer-signup-btn:hover:not(:disabled) {
  background: #b8e6bc;
}

.site-footer-signup-btn:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.site-footer-signup-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.site-footer-signup-btn.is-loading {
  cursor: wait;
}

.site-footer .form-status.is-success { color: var(--sage); }
.site-footer .form-status.is-error   { color: #f4a5a0; }

.site-footer-bar {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 1rem;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.72);
}

@media (min-width: 768px) {
  .site-footer-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer-bar-tag::before {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 1px;
  background: var(--sage);
  margin-right: 0.65rem;
  vertical-align: middle;
}

/* Footer column reveal */
.site-footer-col,
.site-footer-bar,
.site-footer-mark-band {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer-brand { transition-delay: 0.06s; }
.site-footer-link-grid .site-footer-col:nth-child(1) { transition-delay: 0.12s; }
.site-footer-link-grid .site-footer-col:nth-child(2) { transition-delay: 0.18s; }
.site-footer-link-grid .site-footer-col:nth-child(3) { transition-delay: 0.24s; }
.site-footer-link-grid .site-footer-col:nth-child(4) { transition-delay: 0.3s; }
.site-footer-signup { transition-delay: 0.34s; }
.site-footer-bar { transition-delay: 0.4s; }
.site-footer-mark-band { transition-delay: 0.48s; }

.site-footer.is-visible .site-footer-col,
.site-footer.is-visible .site-footer-bar,
.site-footer.is-visible .site-footer-mark-band {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer-col,
  .site-footer-bar,
  .site-footer-mark-band,
  .site-footer-social,
  .site-footer-signup-btn svg {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img {
    transform: none;
  }

  [data-tilt] {
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════
   "In Action" video gallery (hover to expand + play)
   ══════════════════════════════════════════════ */
.video-gallery {
  height: 560px;
}

@media (min-width: 768px) {
  .video-gallery {
    height: 500px;
  }
}

.video-gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  flex: 1 1 0%;
  border-radius: 2px;
  outline: none;
  transition: flex-grow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-gallery-item.is-active {
  flex-grow: 4.2;
}

.video-gallery-item:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.video-gallery-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--forest);
  transform: scale(1.03);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-gallery-item.is-active .video-gallery-media {
  transform: scale(1);
}

.video-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0) 65%);
  transition: opacity 0.5s ease;
}

.video-gallery-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
}

.video-gallery-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.video-gallery-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

@media (min-width: 768px) {
  .video-gallery-caption {
    left: 26px;
    bottom: 22px;
  }

  .video-gallery-title {
    font-size: 1.05rem;
  }

  .video-gallery-sub {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-gallery-item,
  .video-gallery-media {
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════
   Our Process page
   ══════════════════════════════════════════════ */

/* What We Do — numbered steps */
.process-step-num {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-step:hover .process-step-num {
  transform: scale(1.1);
}

/* Farming Practices cards */
.practice-card {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Who We Work With — image cross-fade + hover list */
.partner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.partner-img.is-active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.partners-list {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.partner-item {
  cursor: pointer;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.partner-item:focus-visible {
  outline: 2px solid var(--forest-mid);
  outline-offset: 4px;
  border-radius: 2px;
}

.partner-item-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #b3b3b3;
  transition: color 0.3s ease;
}

.partner-item.is-active .partner-item-label,
.partner-item:hover .partner-item-label,
.partner-item:focus-visible .partner-item-label {
  color: var(--forest);
}

.partner-item-desc {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  color: var(--sub);
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 30rem;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, margin-top 0.4s ease;
}

.partner-item.is-active .partner-item-desc {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.5rem;
}

/* India map + region pins */
.india-map-card {
  border-radius: 6px;
}

.india-map-img {
  filter: grayscale(1) opacity(0.4);
  pointer-events: none;
}

.map-pin {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  transform: translate(0, -50%);
  z-index: 1;
}

.map-pin-leaf {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-top: 2px;
  flex-shrink: 0;
  background: var(--forest-mid);
  border-radius: 0 60% 60% 60%;
  transform: rotate(45deg);
}

.map-pin-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  white-space: nowrap;
}

.map-pin-sub {
  display: block;
  font-size: 9.5px;
  font-weight: 400;
  color: var(--sub);
}

@media (min-width: 640px) {
  .map-pin-label {
    font-size: 12.5px;
  }

  .map-pin-sub {
    font-size: 10.5px;
  }

  .map-pin-leaf {
    width: 12px;
    height: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-img,
  .practice-card,
  .process-step-num {
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT PAGE — minimal / editorial
   ══════════════════════════════════════════════════════════════════ */

/* ── Scroll reveal (JS adds .reveal-init so no-JS never hides content) ── */
.reveal-init {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Shared type helpers ── */
.c-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sub);
}

.c-eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--forest-mid);
}

.c-eyebrow--light {
  color: rgba(255, 255, 255, 0.55);
}

.c-eyebrow--light::before {
  background: var(--sage);
}

.c-title {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.c-title--light { color: #fff; }

.c-lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--sub);
}

.c-lead--light { color: rgba(255, 255, 255, 0.6); }

/* ══ Hero ══════════════════════════════════════════════════════════ */
.c-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 72vh;
  background: var(--forest);
  overflow: hidden;
}

@media (min-width: 768px) {
  .c-hero { min-height: 80vh; }
}

.c-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.c-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

/* single clean veil — no multi-hue gradient */
.c-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--forest) 0.15, rgb(var(--forest-rgb) / 0.55) 55%, rgb(var(--forest-rgb) / 0.15) 100%);
}

.c-hero-title {
  font-size: clamp(2.75rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}

.c-hero-title em {
  font-style: normal;
  color: var(--sage);
}

.c-hero-lead {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  max-width: 30rem;
}

/* Hero meta strip */
.c-hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 640px) {
  .c-hero-meta {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 3.5rem;
  }
}

.c-hero-meta-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.c-hero-meta-value {
  display: block;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.c-hero-meta-value:hover { color: var(--sage); }

/* ══ Form ══════════════════════════════════════════════════════════ */
.c-form-card {
  background: #fff;
  border: 1px solid #eae6dd;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
}

@media (min-width: 640px) {
  .c-form-card { padding: 2.5rem; }
}

@media (min-width: 1024px) {
  .c-form-card { padding: 3rem; }
}

.contact-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 0.375rem;
}

/* Minimal underline fields */
.contact-input {
  display: block;
  width: 100%;
  padding: 0.625rem 0;
  font-size: 15px;
  line-height: 1.5;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid #e0dcd3;
  border-radius: 0;
  transition: border-color 0.25s ease;
}

.contact-input::placeholder { color: #b5b1a8; }

.contact-input:focus {
  outline: none;
  border-bottom-color: var(--forest-mid);
}

.contact-input:focus::placeholder { color: #cbc7be; }

.contact-textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238a8a8a' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 1rem;
  padding-right: 1.75rem;
}

.contact-submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.75rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-family: inherit;
  color: #fff;
  background: var(--forest-mid);
  border: 1px solid var(--forest-mid);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.contact-submit-btn:hover:not(:disabled) {
  background: var(--forest);
  border-color: var(--forest);
}

.contact-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-submit-btn.is-loading {
  cursor: wait;
}

.contact-form-status.is-success,
.form-status.is-success { color: var(--forest-mid); }

.contact-form-status.is-error,
.form-status.is-error { color: #b42318; }

/* ── Assurance line (under form heading) ── */
.c-assure {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 12px;
  color: #8a8a8a;
}

.c-assure span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.c-assure span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sage);
}

/* ══ Channel list (direct contact rows) ══════════════════════════ */
.c-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 0;
  border-top: 1px solid #e4e0d7;
  text-decoration: none;
  transition: padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-channel:last-child { border-bottom: 1px solid #e4e0d7; }

a.c-channel:hover { padding-left: 0.5rem; }

.c-channel-icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--forest-mid);
}

.c-channel-body { min-width: 0; flex: 1; }

.c-channel-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a968d;
  margin-bottom: 0.2rem;
}

.c-channel-value {
  display: block;
  font-size: 14px;
  color: var(--ink);
  word-break: break-word;
  transition: color 0.2s ease;
}

a.c-channel:hover .c-channel-value { color: var(--forest-mid); }

.c-channel-arrow {
  flex-shrink: 0;
  color: #c4c0b7;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

a.c-channel:hover .c-channel-arrow {
  opacity: 1;
  transform: none;
  color: var(--forest-mid);
}

/* ══ Process steps ══════════════════════════════════════════════ */
.c-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .c-steps { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
}

@media (min-width: 1024px) {
  .c-steps { grid-template-columns: repeat(4, 1fr); column-gap: 3rem; }
}

.c-step {
  padding: 1.75rem 0 2rem;
  border-top: 1px solid #ddd9d0;
}

.c-step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--forest-mid);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.75rem;
}

.c-step-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.625rem;
}

.c-step-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--sub);
}

/* ══ FAQ ════════════════════════════════════════════════════════ */
.c-faq-item {
  border-top: 1px solid #ddd9d0;
}

.c-faq-item:last-child {
  border-bottom: 1px solid #ddd9d0;
}

.c-faq-q {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

@media (min-width: 768px) {
  .c-faq-q { grid-template-columns: 2.5rem 1fr auto; gap: 1.5rem; padding: 1.75rem 0; }
}

.c-faq-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #b3afa6;
  font-variant-numeric: tabular-nums;
  transition: color 0.35s ease;
}

.c-faq-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .c-faq-text { font-size: 17px; }
}

.c-faq-q:hover .c-faq-text { color: var(--forest-mid); }

/* plus → minus toggle */
.c-faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 2.125rem;
  height: 2.125rem;
  border: 1px solid #d9d5cc;
  border-radius: 9999px;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.c-faq-toggle::before,
.c-faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

.c-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.c-faq-q:hover .c-faq-toggle { border-color: var(--forest-mid); }

.c-faq-item.is-open .c-faq-index { color: var(--forest-mid); }
.c-faq-item.is-open .c-faq-text { color: var(--forest-mid); }

.c-faq-item.is-open .c-faq-toggle {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
}

.c-faq-item.is-open .c-faq-toggle::before,
.c-faq-item.is-open .c-faq-toggle::after {
  background: #fff;
}

.c-faq-item.is-open .c-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* answer panel — height animated by JS */
.c-faq-a {
  height: 0;
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-faq-a-inner {
  padding: 0 0 1.75rem 3rem;
  position: relative;
}

@media (min-width: 768px) {
  .c-faq-a-inner { padding-left: 4rem; padding-right: 4rem; }
}

.c-faq-a-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 2px;
  height: calc(100% - 2.1rem);
  background: var(--sage);
}

@media (min-width: 768px) {
  .c-faq-a-inner::before { left: 1rem; }
}

.c-faq-a-inner p {
  font-size: 14px;
  line-height: 1.8;
  color: #57574f;
}

/* ══ CTA band ═══════════════════════════════════════════════════ */
.c-cta {
  background: var(--forest);
}

.c-cta-title {
  font-size: clamp(1.625rem, 3.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.625rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.c-btn--solid {
  background: var(--sage);
  color: var(--forest);
  border: 1px solid var(--sage);
}

.c-btn--solid:hover {
  background: #fff;
  border-color: #fff;
}

.c-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.c-btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ══════════════════════════════════════════════════════════════════
   SITE-WIDE NEWSLETTER (above footer) — minimal
   ══════════════════════════════════════════════════════════════════ */
.site-newsletter-section {
  position: relative;
  width: 100%;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .site-newsletter-section { padding: 2.5rem 0; }
}

.site-newsletter-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .site-newsletter-inner { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .site-newsletter-inner { padding: 0 3rem; }
}

.site-newsletter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .site-newsletter-grid {
    grid-template-columns: 1fr minmax(360px, 32rem);
    column-gap: 5rem;
  }
}

.site-newsletter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 1.25rem;
}

.site-newsletter-eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--forest-mid);
}

.site-newsletter-title {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 20rem;
}

@media (min-width: 640px) {
  .site-newsletter-title { max-width: 28rem; }
}

.site-newsletter-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sub);
  max-width: 26rem;
  margin-top: 1rem;
}

/* Underline-style form — minimal */
.site-newsletter-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #cfcabf;
  transition: border-color 0.25s ease;
}

.site-newsletter-form:focus-within { border-bottom-color: var(--forest-mid); }

.site-newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  border: none;
}

.site-newsletter-input:focus { outline: none; }
.site-newsletter-input::placeholder { color: #a8a49b; }

.site-newsletter-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.6875rem 1.375rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: inherit;
  color: #fff;
  background: var(--forest-mid);
  border: 1px solid var(--forest-mid);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.site-newsletter-submit:hover:not(:disabled) {
  background: var(--forest);
  border-color: var(--forest);
}

.site-newsletter-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.site-newsletter-submit.is-loading {
  cursor: wait;
}

.site-newsletter-submit svg {
  transition: transform 0.25s ease;
}

.site-newsletter-submit:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.site-newsletter-note {
  font-size: 12px;
  color: #9a968d;
  margin-top: 0.875rem;
}

/* Form submit spinner */
.btn-spinner {
  position: absolute;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: btn-spin 0.65s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.contact-submit-btn.is-loading > *:not(.btn-spinner),
.site-newsletter-submit.is-loading > *:not(.btn-spinner),
.site-footer-signup-btn.is-loading > *:not(.btn-spinner) {
  opacity: 0;
}

.contact-submit-btn.is-loading .btn-spinner,
.site-newsletter-submit.is-loading .btn-spinner,
.site-footer-signup-btn.is-loading .btn-spinner {
  opacity: 1;
}

.contact-submit-btn.is-loading,
.site-newsletter-submit.is-loading,
.site-footer-signup-btn.is-loading {
  cursor: wait;
}

.contact-submit-btn:disabled.is-loading,
.site-newsletter-submit:disabled.is-loading,
.site-footer-signup-btn:disabled.is-loading {
  opacity: 1;
}

/* Form toast */
.form-toast {
  position: fixed;
  top: 5.5rem;
  right: 1.25rem;
  z-index: 400;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: min(22rem, calc(100vw - 2.5rem));
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 16px 40px rgb(13 26 16 / 0.16);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-toast.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.form-toast-icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  border-radius: 9999px;
  background: rgb(var(--leaf-rgb) / 0.14);
  color: var(--leaf);
}

.form-toast-icon::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

.form-toast.is-error .form-toast-icon {
  background: rgb(180 35 24 / 0.12);
  color: #b42318;
}

.form-toast.is-error .form-toast-icon::before {
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 8v5M12 16.5h.01M12 21a9 9 0 100-18 9 9 0 000 18z' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 0.9rem no-repeat;
}

.form-toast-msg {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 639px) {
  .form-toast {
    top: auto;
    bottom: 1.25rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* Footer newsletter column styles live with .site-footer above. */

/* ── Services page: Hero (Section 1) ── */
.services-hero {
  min-height: min(92vh, 900px);
  background: var(--forest-deep);
  color: #fff;
}

.services-hero-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.services-hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgb(var(--lime-rgb) / 0.22);
  transform-origin: center center;
}

.services-hero-ring--1 {
  width: min(78vw, 620px);
  height: min(78vw, 620px);
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
}

.services-hero-ring--2 {
  width: min(68vw, 540px);
  height: min(68vw, 540px);
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  border-color: rgb(var(--lime-rgb) / 0.16);
}

.services-hero-ring--3 {
  width: min(58vw, 460px);
  height: min(58vw, 460px);
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  border-color: rgb(var(--lime-rgb) / 0.12);
}

.services-hero-ring--4 {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  right: 18%;
  top: 50%;
  transform: translateY(-50%);
  border-color: rgb(var(--lime-rgb) / 0.1);
}

.services-hero-ring--5 {
  width: min(38vw, 300px);
  height: min(38vw, 300px);
  right: 26%;
  top: 50%;
  transform: translateY(-50%);
  border-color: rgb(var(--lime-rgb) / 0.08);
}

.services-hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.25rem;
}

.services-hero-title {
  max-width: 16ch;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.services-hero-title-main {
  display: block;
  color: #fff;
}

.services-hero-title-accent {
  display: block;
  color: var(--lime);
  /* alternate color b9e17d */
}

.services-hero-desc {
  max-width: 34rem;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2rem;
}

.services-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  max-width: 42rem;
}

.services-hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--lime);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgb(var(--lime-rgb) / 0.35);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.services-hero-tag:hover,
.services-hero-tag.is-active {
  color: var(--forest-deep);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 8px 28px rgb(var(--lime-rgb) / 0.25);
}

.services-hero-tag:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .services-hero-ring--4,
  .services-hero-ring--5 {
    display: none;
  }

  .services-hero-ring--1 {
    right: -35%;
    opacity: 0.7;
  }

  .services-hero-title {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hero-tag {
    transition: none;
  }
}

/* ── Services page: Section 2 — The Solution ── */

/* Framing cards */
.svc-framing-card {
  position: relative;
  display: flex;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 1rem;
  padding: 1.75rem 1.75rem 2rem;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.svc-framing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgb(var(--lime-rgb) /0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.svc-framing-card:hover::before { opacity: 1; }

.svc-framing-card:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}

.svc-framing-num {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--forest-mid);
  opacity: 0.45;
  padding-top: 0.25rem;
  min-width: 1.75rem;
}

.svc-framing-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.875rem;
}

.svc-framing-divider {
  width: 2.5rem;
  height: 2px;
  background: var(--forest-mid);
  border-radius: 9999px;
  margin-bottom: 0.875rem;
  transform-origin: left;
  transition: width 0.35s ease;
}

.svc-framing-card:hover .svc-framing-divider { width: 5rem; }

.svc-framing-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sub);
}

/* Benefit explorer */
.svc-explorer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .svc-explorer {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 460px;
  }
}

/* Left panel — full-bleed image with content overlaid */
.svc-explorer-panel {
  background: var(--forest);
  color: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  position: relative;
  min-height: 380px;
}

@media (min-width: 768px) {
  .svc-explorer-panel {
    border-radius: 0;
    min-height: 100%;
    height: 100%;
  }
}

/* Image fills the entire card behind the text — dual layers for crossfade */
.svc-explorer-panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--forest);
}

.svc-explorer-panel-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.svc-explorer-panel-img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .svc-explorer-panel-img {
    transition: opacity 0.2s ease;
    transform: none;
  }
  .svc-explorer-panel-img.is-active {
    transform: none;
  }
}

/* Strong bottom veil — photo shows through the top, text stays readable */
.svc-explorer-panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(8, 20, 12, 0.25) 0%,
      rgba(8, 20, 12, 0.35) 32%,
      rgba(8, 20, 12, 0.78) 62%,
      rgba(8, 20, 12, 0.94) 100%
    );
  pointer-events: none;
}

.svc-explorer-panel-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  min-height: 380px;
}

@media (min-width: 768px) {
  .svc-explorer-panel-inner {
    padding: 2.25rem 2rem 2rem;
    min-height: 0;
  }
}

@media (min-width: 1024px) {
  .svc-explorer-panel-inner {
    padding: 2.75rem 2.5rem 2.5rem;
  }
}

.svc-panel-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--sage);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
  opacity: 1;
  transition: opacity 0.35s ease;
}

@media (min-width: 1024px) {
  .svc-panel-icon {
    top: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
  }
}

.svc-panel-icon svg {
  width: 100%;
  height: 100%;
}

.svc-panel-copy {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-panel-copy.is-exiting {
  opacity: 0;
  transform: translateY(8px);
  transition-duration: 0.22s;
}

.svc-panel-copy.is-entering {
  opacity: 0;
  transform: translateY(-6px);
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .svc-panel-copy {
    transition: opacity 0.15s ease;
    transform: none !important;
  }
}

.svc-panel-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.625rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.svc-panel-title {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.875rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.svc-panel-body {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.svc-panel-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  overflow: hidden;
}

.svc-panel-bar-fill {
  height: 100%;
  background: var(--sage);
  border-radius: 9999px;
  width: 0%;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Right list — stretch items to fill the panel height */
.svc-benefit-list {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 768px) {
  .svc-benefit-list {
    border-radius: 0;
  }
}

.svc-benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.75rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  transition: background 0.25s ease, padding-left 0.3s ease;
  outline: none;
}

@media (min-width: 768px) {
  .svc-benefit-item {
    flex: 1 1 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 1.75rem;
    padding-left: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .svc-benefit-item {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

.svc-benefit-item:last-child { border-bottom: none; }

.svc-benefit-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--sage);
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-benefit-item.is-active::before,
.svc-benefit-item:hover::before {
  transform: scaleY(1);
}

.svc-benefit-item.is-active {
  background: var(--cream);
  padding-left: 2rem;
}

.svc-benefit-item:hover {
  background: rgb(var(--sage-rgb) / 0.08);
  padding-left: 2rem;
}

@media (min-width: 1024px) {
  .svc-benefit-item.is-active,
  .svc-benefit-item:hover {
    padding-left: 2.25rem;
  }
}

.svc-benefit-num {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--forest-mid);
  opacity: 0.4;
  width: 1.75rem;
  transition: opacity 0.25s ease;
}

.svc-benefit-item.is-active .svc-benefit-num,
.svc-benefit-item:hover .svc-benefit-num { opacity: 0.9; }

.svc-benefit-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  transition: color 0.25s ease;
}

.svc-benefit-item.is-active .svc-benefit-name { font-weight: 600; }

.svc-benefit-arrow {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--forest-mid);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.svc-benefit-item.is-active .svc-benefit-arrow,
.svc-benefit-item:hover .svc-benefit-arrow {
  opacity: 1;
  transform: translateX(0);
}

.svc-benefit-item:focus-visible {
  outline: 2px solid var(--forest-mid);
  outline-offset: -2px;
}

/* Outcome cards */
.svc-outcome-card {
  border-radius: 1rem;
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.svc-outcome-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(0,0,0,0.1);
}

.svc-outcome-card--farmers {
  background: var(--forest-mid);
  color: #fff;
}

.svc-outcome-card--partners {
  background: var(--lime);
  color: var(--forest-deep);
}

.svc-outcome-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
}

.svc-outcome-body {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  flex: 1;
}

.svc-outcome-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.75;
  transition: opacity 0.25s ease, gap 0.25s ease;
}

.svc-outcome-link:hover {
  opacity: 1;
  gap: 0.75rem;
}

/* Scroll reveal for section 2 */
[data-svc-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

[data-svc-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-svc-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .svc-framing-card:hover,
  .svc-outcome-card:hover {
    transform: none;
  }

  .svc-framing-card::before,
  .svc-benefit-item::before {
    transition: none;
  }
}

/* ── Services page: Section 4 — Stacked card cycle ── */
.svc-cycle {
  background: var(--cream);
  position: relative;
}

/* Floating counter */
.svc-cycle-counter {
  position: sticky;
  top: 80px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--forest-mid);
  background: rgb(var(--cream-rgb) /0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgb(var(--forest-mid-rgb) /0.18);
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
  margin-left: auto;
  margin-right: 1.25rem;
  width: fit-content;
  float: right;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

@media (min-width: 768px) {
  .svc-cycle-counter {
    margin-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .svc-cycle-counter {
    margin-right: 3rem;
  }
}

.svc-cycle-counter-num {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  min-width: 1.5ch;
  transition: opacity 0.2s ease;
}

.svc-cycle-counter-sep {
  opacity: 0.4;
}

.svc-cycle-counter-total {
  opacity: 0.55;
}

/* Card stack container */
.svc-cycle-stack {
  padding: 0 1.25rem 1px;
  max-width: 1400px;
  margin: 0 auto;
  /* clear the float from the counter */
  clear: both;
}

@media (min-width: 768px) {
  .svc-cycle-stack {
    padding: 0 2rem 1px;
  }
}

@media (min-width: 1024px) {
  .svc-cycle-stack {
    padding: 0 3rem 1px;
  }
}

/* Individual card */
.svc-cycle-card {
  position: sticky;
  /* 
   * top = nav height (72px) + peek offset per card (7px × index)
   * This means each card peeks 7px above the one in front of it
   */
  top: calc(80px + var(--i, 0) * 7px);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  transform-origin: top center;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  will-change: transform;
}

/* Past cards scale down slightly to show "depth" */
.svc-cycle-card.is-past {
  transform: scale(0.98) translateY(-4px);
}

/* Active (topmost visible) card gets a shadow lift */
.svc-cycle-card.is-active {
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

/* Light card */
.svc-cycle-card--light {
  background: #fff;
  color: var(--ink);
}

/* Dark card */
.svc-cycle-card--dark {
  background: var(--forest-mid);
  color: #fff;
}

/* Card inner layout */
.svc-cycle-card-inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 2rem 1.75rem 1.75rem;
  min-height: 260px;
}

@media (min-width: 768px) {
  .svc-cycle-card-inner {
    padding: 2.5rem 2.5rem 2rem;
    min-height: 300px;
  }
}

@media (min-width: 1024px) {
  .svc-cycle-card-inner {
    min-height: 320px;
    padding: 3rem 3rem 2.5rem;
  }
}

.svc-cycle-card-content {
  position: relative;
  z-index: 1;
  max-width: 60ch;
}

/* Stage label */
.svc-cycle-stage-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.svc-cycle-card--light .svc-cycle-stage-label { color: var(--forest-mid); opacity: 0.55; }
.svc-cycle-card--dark  .svc-cycle-stage-label { color: var(--lime); opacity: 0.8; }

/* Title */
.svc-cycle-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 0.875rem;
}

/* Body */
.svc-cycle-body {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.svc-cycle-card--light .svc-cycle-body { color: var(--sub); }
.svc-cycle-card--dark  .svc-cycle-body { color: rgba(255,255,255,0.65); }

/* Tags */
.svc-cycle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.svc-cycle-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3125rem 0.75rem;
  font-size: 12px;
  font-weight: 500;
  border-radius: 9999px;
}

.svc-cycle-card--light .svc-cycle-tag {
  color: var(--forest-mid);
  background: rgb(var(--lime-rgb) /0.12);
  border: 1px solid rgb(var(--lime-rgb) /0.4);
}

.svc-cycle-card--dark .svc-cycle-tag {
  color: var(--lime);
  background: rgb(var(--lime-rgb) /0.1);
  border: 1px solid rgb(var(--lime-rgb) /0.25);
}

/* Big background number */
.svc-cycle-bg-num {
  position: absolute;
  right: 1.75rem;
  bottom: 1.75rem;
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.svc-cycle-card--light .svc-cycle-bg-num { color: var(--forest-mid); opacity: 0.05; }
.svc-cycle-card--dark  .svc-cycle-bg-num { color: var(--lime);  opacity: 0.08; }

/* Progress bar */
.svc-cycle-progress-bar {
  height: 3px;
  background: rgba(0,0,0,0.06);
}

.svc-cycle-card--dark .svc-cycle-progress-bar {
  background: rgba(255,255,255,0.1);
}

.svc-cycle-progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.22,1,0.36,1);
}

.svc-cycle-card--light .svc-cycle-progress-fill { background: var(--forest-mid); }
.svc-cycle-card--dark  .svc-cycle-progress-fill { background: var(--lime); }

/* End CTA */
.svc-cycle-end {
  position: relative;
  z-index: 0;
  padding-top: 5rem !important;
}

@media (max-width: 767px) {
  .svc-cycle-card.is-past {
    transform: none;
  }

  .svc-cycle-bg-num {
    font-size: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-cycle-card {
    transition: none;
  }

  .svc-cycle-card.is-past {
    transform: none;
  }
}

/* ── Services page: Section 3 — How the solution works ── */
.svc-process {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Timeline track */
.svc-steps-inner {
  position: relative;
}

.svc-timeline-track {
  position: absolute;
  left: 1.1rem; /* aligns with circle centre */
  top: 2.25rem;
  bottom: 2.25rem;
  width: 2px;
  background: rgba(0,0,0,0.07);
  border-radius: 9999px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .svc-timeline-track {
    left: 1.35rem;
  }
}

.svc-timeline-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--forest-mid), var(--lime));
  transform-origin: top;
  transform: scaleY(0);
  border-radius: 9999px;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}

/* Each step row */
.svc-step {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.svc-step:last-child {
  border-bottom: none;
}

/* Step header (clickable row) */
.svc-step-hd {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

@media (min-width: 768px) {
  .svc-step-hd {
    gap: 1.75rem;
    padding: 1.875rem 0;
  }
}

.svc-step-hd:focus-visible {
  outline: 2px solid var(--forest-mid);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Numbered circle */
.svc-step-circle {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgb(var(--forest-mid-rgb) /0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest-mid);
  background: #fff;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .svc-step-circle {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 14px;
  }
}

.svc-step.is-open .svc-step-circle {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
  color: #fff;
  box-shadow: 0 4px 16px rgb(var(--forest-mid-rgb) /0.25);
}

/* Title */
.svc-step-title {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.25s ease;
}

.svc-step.is-open .svc-step-title {
  font-weight: 600;
}

/* Chevron icon */
.svc-step-icon {
  color: var(--sub);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), color 0.25s ease;
  flex-shrink: 0;
}

.svc-step.is-open .svc-step-icon {
  transform: rotate(180deg);
  color: var(--forest-mid);
}

/* Expandable body */
.svc-step-body {
  position: relative;
  overflow: hidden;
  /* height is managed by JS/GSAP */
}

.svc-step-body-inner {
  position: relative;
  padding: 0 0 2rem 4rem;
}

@media (min-width: 768px) {
  .svc-step-body-inner {
    padding: 0.25rem 0 2.5rem 4.625rem;
  }
}

/* Faded background number — visible on closed and open rows */
.svc-step-bg-num {
  position: absolute;
  right: 2.35rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--forest-mid);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Description */
.svc-step-desc {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sub);
  max-width: 44rem;
  margin-bottom: 1.25rem;
}

/* Tags */
.svc-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.svc-step-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3125rem 0.875rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--forest-mid);
  background: rgb(var(--lime-rgb) /0.12);
  border: 1px solid rgb(var(--lime-rgb) /0.4);
  border-radius: 9999px;
  letter-spacing: 0.01em;
  transition: background 0.25s ease;
}

.svc-step-tag:hover {
  background: rgb(var(--lime-rgb) /0.22);
}

/* Section 3 scroll reveals (reuse [data-svc-reveal]) */

@media (prefers-reduced-motion: reduce) {
  .svc-step-body,
  .svc-step-icon,
  .svc-step-circle,
  .svc-timeline-fill {
    transition: none !important;
  }
}

/* ── Services: Section 5 — Farming Interventions ── */
.svc-farming-card {
  background: var(--forest-mid);
  /* Cursor glow driven by --glow-x / --glow-y (set by JS) */
  background-image: radial-gradient(
    circle 480px at var(--glow-x, -100%) var(--glow-y, -100%),
    rgb(var(--lime-rgb) / 0.07) 0%,
    transparent 65%
  );
  transition: background-image 0.1s linear;
}

.svc-farming-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.75;
  margin-bottom: 0.625rem;
}

.svc-farming-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #fff;
}

.svc-farming-count {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.55;
  white-space: nowrap;
  flex-shrink: 0;
}

.svc-farming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .svc-farming-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .svc-farming-grid { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
}

.svc-practice-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1rem 1.125rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  cursor: default;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  overflow: hidden;
}

.svc-practice-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--lime);
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}

.svc-practice-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgb(var(--lime-rgb) / 0.2);
  transform: translateY(-2px);
}

.svc-practice-item:hover::before {
  transform: scaleY(1);
}

.svc-practice-icon {
  display: flex;
  align-items: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--lime);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.svc-practice-item:hover .svc-practice-icon {
  transform: scale(1.15);
}

.svc-practice-icon svg {
  width: 100%;
  height: 100%;
}

.svc-practice-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Services: Section 6 — Who Benefits / Stakeholder tabs ── */
.svc-tabs-outer {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.svc-tabs-outer::-webkit-scrollbar { display: none; }

.svc-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 0.3rem;
  gap: 0;
  white-space: nowrap;
}

/* Sliding pill indicator */
.svc-tab-indicator {
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 0.3rem;
  background: var(--forest-mid);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.0625rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.svc-tab.is-active {
  color: #fff;
  font-weight: 600;
}

.svc-tab:focus-visible {
  outline: 2px solid var(--forest-mid);
  outline-offset: 2px;
}

/* Panel visibility */
.svc-panel {
  display: none;
}

.svc-panel.is-active {
  display: block;
}

/* Benefit cards grid */
.svc-benefit-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .svc-benefit-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .svc-benefit-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.svc-bcard {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.25rem 1.25rem 1.375rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0.875rem;
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s ease;
}

.svc-bcard:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
  border-color: rgb(var(--lime-rgb) / 0.35);
}

.svc-bcard-icon {
  display: flex;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--forest-mid);
  margin-top: 1px;
}

.svc-bcard-icon svg {
  width: 100%;
  height: 100%;
}

.svc-bcard-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .svc-practice-item,
  .svc-practice-item::before,
  .svc-practice-icon,
  .svc-bcard,
  .svc-tab-indicator {
    transition: none !important;
  }
}

/* ============================================================
   SECTION 7: Technology + Who We Work With (dark merged section)
   ============================================================ */

.svc-tech-who {
  overflow: hidden;
}

/* ---- Marquee ---- */
.svc-marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

@keyframes marquee-fwd {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-rev {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.svc-marquee-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  padding: 0.5rem 0;
}

.svc-marquee-track--fwd {
  animation: marquee-fwd 28s linear infinite;
}
.svc-marquee-track--rev {
  animation: marquee-rev 34s linear infinite;
}

.svc-marquee-wrap:hover .svc-marquee-track,
.svc-marquee-wrap:focus-within .svc-marquee-track {
  animation-play-state: paused;
}

.svc-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  user-select: none;
  cursor: default;
}

.svc-marquee-item:hover {
  background: rgb(var(--lime-soft-rgb) / 0.12);
  border-color: rgb(var(--lime-soft-rgb) / 0.3);
  color: var(--lime-soft);
}

.svc-marquee-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--lime-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-marquee-icon svg {
  width: 100%;
  height: 100%;
}

/* ---- Who We Work With card ---- */
.svc-who-card {
  background: var(--cream);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.svc-who-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.svc-who-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: white;
  border: 1.5px solid #e5e1d7;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #2d3a1e;
  cursor: default;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s;
}

.svc-who-item:hover {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
  color: var(--lime-soft);
  transform: translateY(-2px);
}

.svc-who-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a8a3c;
  transition: color 0.22s;
}

.svc-who-item:hover .svc-who-icon {
  color: var(--lime-soft);
}

.svc-who-icon svg {
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .svc-marquee-track--fwd,
  .svc-marquee-track--rev {
    animation: none !important;
  }
  .svc-marquee-item,
  .svc-who-item {
    transition: none !important;
  }
}

/* ============================================================
   SECTION 9: Three Levels of Change — expanding image panels
   ============================================================ */

.svc-impact-panels-wrap {
  padding-bottom: 5rem;
}

.svc-impact-panels {
  display: flex;
  gap: 6px;
  height: min(82vh, 680px);
  border-radius: 1.5rem;
  overflow: hidden;
}

.svc-impact-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 1.25rem;
  outline: none;
  transition: flex 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-impact-panel.is-expanded {
  flex: 3;
}

.svc-impact-panel:focus-visible {
  box-shadow: 0 0 0 3px var(--lime-soft);
}

/* ---- Panel media ---- */
.svc-impact-panel-media {
  position: absolute;
  inset: 0;
}

.svc-impact-panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-impact-panel:hover .svc-impact-panel-img,
.svc-impact-panel.is-expanded .svc-impact-panel-img {
  transform: scale(1.04);
}

/* ---- Overlays per panel ---- */
.svc-impact-panel-overlay {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease;
}

.svc-impact-overlay--farmer {
  background: linear-gradient(
    160deg,
    rgb(var(--forest-deep-rgb) / 0.35) 0%,
    rgb(var(--forest-deep-rgb) / 0.75) 100%
  );
}

.svc-impact-overlay--agri {
  background: linear-gradient(
    160deg,
    rgba(12, 46, 56, 0.35) 0%,
    rgba(12, 46, 56, 0.78) 100%
  );
}

.svc-impact-overlay--climate {
  background: linear-gradient(
    160deg,
    rgba(42, 24, 8, 0.35) 0%,
    rgba(42, 24, 8, 0.78) 100%
  );
}

/* ---- Panel content (slides up on expand) ---- */
.svc-impact-panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.75rem;
  z-index: 2;
  transform: translateY(0);
}

.svc-impact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--lime-soft);
  margin-bottom: 0.75rem;
  transition: transform 0.4s ease;
}

.svc-impact-panel.is-expanded .svc-impact-icon {
  transform: scale(1.08);
}

.svc-impact-icon svg {
  width: 20px;
  height: 20px;
}

.svc-impact-level {
  font-size: 1.2rem;
  font-weight: 650;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  white-space: nowrap;
}

.svc-impact-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 360px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease 0.15s, transform 0.4s ease 0.1s;
}

.svc-impact-panel.is-expanded .svc-impact-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Stats row */
.svc-impact-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease 0.22s, transform 0.4s ease 0.18s;
}

.svc-impact-panel.is-expanded .svc-impact-stats {
  opacity: 1;
  transform: translateY(0);
}

.svc-impact-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.svc-impact-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime-soft);
  line-height: 1.1;
}

.svc-impact-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
}

/* ---- Vertical tab label for collapsed panels ---- */
.svc-impact-tab-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.svc-impact-panel.is-expanded .svc-impact-tab-label {
  opacity: 0;
}

/* ---- Mobile: stack vertically ---- */
@media (max-width: 767px) {
  .svc-impact-panels {
    flex-direction: column;
    height: auto;
    border-radius: 1.25rem;
    gap: 4px;
  }

  .svc-impact-panel {
    min-height: 220px;
    flex: none !important;
    border-radius: 1rem;
  }

  .svc-impact-panel.is-expanded {
    min-height: 380px;
  }

  .svc-impact-tab-label {
    display: none;
  }

  .svc-impact-level {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-impact-panel,
  .svc-impact-panel-img,
  .svc-impact-desc,
  .svc-impact-stats,
  .svc-impact-icon {
    transition: none !important;
  }
}

/* ============================================================
   SERVICES PAGE — MOBILE RESPONSIVENESS FIXES
   ============================================================ */

/* ---- S6 Stakeholders: native select for mobile ---- */
.svc-tabs-select {
  display: block;
  width: 100%;
  padding: 0.8rem 2.75rem 0.8rem 1rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--forest-mid);
  background-color: #fff;
  border: 1.5px solid #ddd9cf;
  border-radius: 0.875rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231a3d2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.svc-tabs-select:focus {
  border-color: var(--forest-mid);
  box-shadow: 0 0 0 3px rgb(var(--forest-mid-rgb) / 0.1);
}

/* ---- S2 Explorer: swap order on mobile so list is first ---- */
@media (max-width: 767px) {
  .svc-explorer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .svc-explorer-panel {
    order: 2;
    border-radius: 1.25rem !important;
    min-height: 420px;
  }

  .svc-benefit-list {
    order: 1;
    border-radius: 1.25rem !important;
  }
}

/* ---- S3 Process: tighten step body indent on mobile ---- */
@media (max-width: 639px) {
  .svc-step-body-inner {
    padding-left: 3.25rem;
  }

  .svc-step-hd {
    gap: 0.875rem;
  }
}

/* ---- S6 Stakeholders: benefit cards — 2 col at 440px ---- */
@media (min-width: 440px) and (max-width: 639px) {
  .svc-benefit-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- S6 Stakeholders: section padding tightening on mobile ---- */
@media (max-width: 639px) {
  .svc-stakeholders {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* ---- S7 Who-We-Work-With card: reduce inner padding on mobile ---- */
/* Using parent selector for higher specificity than Tailwind p-8 */
@media (max-width: 639px) {
  .svc-tech-who .svc-who-card {
    padding: 1.5rem;
  }

  .svc-tech-who .svc-who-card h2 {
    font-size: 1.5rem;
  }

  .svc-who-item {
    font-size: 13px;
    padding: 0.55rem 0.875rem;
  }
}

/* ---- S5 Farming card: tighten on small phones ---- */
/* Using parent selector for higher specificity than Tailwind p-8 */
@media (max-width: 639px) {
  .svc-farming .svc-farming-card {
    padding: 1.5rem;
  }

  .svc-farming-grid {
    gap: 0.5rem;
  }

  .svc-practice-item {
    padding: 0.875rem 0.875rem 1rem;
  }
}

/* ---- S4 Cycle: prevent overflow of bg-num on tiny screens ---- */
@media (max-width: 400px) {
  .svc-cycle-bg-num {
    font-size: 4rem;
  }

  .svc-cycle-card-inner {
    padding: 1.5rem 1.25rem 1.25rem;
  }
}

/* ---- S1 Hero: very small phones ---- */
@media (max-width: 380px) {
  .services-hero-title {
    font-size: 2rem;
  }

  .services-hero-desc {
    font-size: 0.9rem;
  }
}

/* ---- S9 Impact panels: label text on mobile ---- */
@media (max-width: 767px) {
  .svc-impact-panel-content {
    padding: 1.5rem 1.25rem;
  }

  .svc-impact-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
  }

  .svc-impact-level {
    font-size: 1rem;
  }

  .svc-impact-desc {
    font-size: 13px;
  }

  .svc-impact-stats {
    gap: 1rem;
  }

  .svc-impact-stat-num {
    font-size: 1.25rem;
  }
}

/* ---- S7 Tech marquee: slightly smaller items on mobile ---- */
@media (max-width: 639px) {
  .svc-marquee-item {
    font-size: 12px;
    padding: 0.5rem 0.875rem;
  }

  .svc-marquee-icon {
    width: 15px;
    height: 15px;
  }
}

/* Tabs outer: no changes needed on desktop — pill bar fits all tabs */

/* ================================================================
   HOME V2 — index2.html — complete design system
   ================================================================ */

/* ── Hero ── */
.h2-hero {
  background: var(--forest-deep);
  background-image: radial-gradient(rgb(var(--lime-soft-rgb) / 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  color: #fff;
}

.h2-hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 75% 50%, rgb(var(--lime-soft-rgb) / 0.055) 0%, transparent 70%);
}

/* Badge */
.h2-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.875rem 0.4rem 0.625rem;
  border: 1px solid rgb(var(--lime-soft-rgb) / 0.3);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  background: rgb(var(--lime-soft-rgb) / 0.06);
  letter-spacing: 0.01em;
}

.h2-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  animation: h2-pulse 2.2s ease-in-out infinite;
}

@keyframes h2-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Title */
.h2-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 14ch;
}

.h2-hero-title-accent {
  color: var(--lime);
  display: block;
}

.h2-hero-desc {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.6);
  max-width: 32rem;
}

/* Buttons */
.h2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  background: var(--lime);
  color: var(--forest-deep);
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, gap 0.25s ease;
}

.h2-btn-primary:hover {
  background: #baf048;
  box-shadow: 0 8px 32px rgb(var(--lime-rgb) / 0.3);
  gap: 0.75rem;
}

.h2-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.h2-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* ── Scattered stat cards ── */
.h2-hero-cards-wrap {
  position: relative;
}

.h2-hero-cards {
  position: relative;
  width: 440px;
  height: 400px;
  margin-left: auto;
}

.h2-hcard {
  position: absolute;
  border-radius: 1.25rem;
  padding: 1.625rem 1.75rem;
  width: 210px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.h2-hcard:hover {
  transform: scale(1.03) translateY(-4px) !important;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35) !important;
}

.h2-hcard--dark {
  background: var(--forest-mid);
  border: 1px solid rgb(var(--lime-soft-rgb) / 0.18);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
  transform: rotate(-5deg);
  z-index: 1;
}

.h2-hcard--lime {
  background: var(--lime);
  box-shadow: 0 20px 48px rgb(var(--lime-rgb) / 0.2);
  top: 90px;
  left: 110px;
  transform: rotate(2.5deg);
  z-index: 2;
}

.h2-hcard--white {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
  top: 185px;
  left: 220px;
  transform: rotate(-2.5deg);
  z-index: 3;
}

.h2-hcard-eye {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.625rem;
}

.h2-hcard-eye--dark {
  color: rgba(0, 0, 0, 0.4);
}

.h2-hcard-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.h2-hcard-num--dark {
  color: var(--forest-deep);
}

.h2-hcard-sup {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgb(var(--lime-rgb) / 0.7);
}

.h2-hcard-sup--dark {
  color: rgb(var(--forest-deep-rgb) / 0.5);
}

.h2-hcard-lbl {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

.h2-hcard-lbl--dark {
  color: rgb(var(--forest-deep-rgb) / 0.6);
}

.h2-hcard-badge-text {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--forest-mid);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.h2-hcard-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--forest-mid);
  background: rgb(var(--lime-rgb) / 0.15);
  border-radius: 9999px;
  padding: 0.25rem 0.625rem;
  margin-top: 0.375rem;
}

.h2-hcard-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.75rem;
}

.h2-hcard-progress-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 9999px;
}

/* ── Bottom stat bar ── */
.h2-stat-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.h2-stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.h2-stat-num {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.h2-stat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.h2-stat-sep {
  width: 1px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .h2-stat-sep { display: none; }
  .h2-stat-bar { gap: 1rem 2rem; }
}

/* ── Brand statement section ── */
.h2-statement-text {
  font-size: clamp(1.375rem, 2.8vw, 2.375rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 52rem;
}

.h2-statement-em {
  font-style: normal;
  color: var(--forest-mid);
}

/* Trust badges */
.h2-trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4375rem 0.875rem;
  background: var(--cream);
  border: 1px solid #e5e1d7;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--forest-mid);
  letter-spacing: 0.01em;
  transition: background 0.2s, border-color 0.2s;
}

.h2-trust-badge:hover {
  background: rgb(var(--lime-rgb) / 0.08);
  border-color: rgb(var(--lime-rgb) / 0.4);
}

/* ── Three value proposition cards ── */
.h2-value-card {
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.h2-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.1);
}

.h2-value-inner {
  position: relative;
  padding: 2rem 2rem 2.25rem;
  height: 100%;
}

.h2-value-inner--farmer {
  background: var(--forest-mid);
  color: #fff;
}

.h2-value-inner--earth {
  background: var(--cream);
  color: var(--ink);
}

.h2-value-inner--market {
  background: var(--forest-deep);
  color: #fff;
}

.h2-value-num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.h2-value-inner--farmer .h2-value-num,
.h2-value-inner--market .h2-value-num { color: rgba(255,255,255,0.06); }
.h2-value-inner--earth .h2-value-num { color: rgb(var(--forest-mid-rgb) /0.06); }

.h2-value-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
}

.h2-value-inner--farmer .h2-value-icon,
.h2-value-inner--market .h2-value-icon { color: var(--lime); }
.h2-value-inner--earth .h2-value-icon { color: var(--forest-mid); }

.h2-value-icon svg { width: 100%; height: 100%; }

.h2-value-title {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.875rem;
  position: relative;
  z-index: 1;
}

.h2-value-inner--farmer .h2-value-title,
.h2-value-inner--market .h2-value-title { color: #fff; }
.h2-value-inner--earth .h2-value-title { color: var(--ink); }

.h2-value-rule {
  width: 2.5rem;
  height: 2px;
  border-radius: 9999px;
  margin-bottom: 0.875rem;
  position: relative;
  z-index: 1;
  transition: width 0.35s ease;
}

.h2-value-card:hover .h2-value-rule { width: 4rem; }

.h2-value-inner--farmer .h2-value-rule,
.h2-value-inner--market .h2-value-rule { background: var(--lime); }
.h2-value-inner--earth .h2-value-rule { background: var(--forest-mid); }

.h2-value-body {
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.h2-value-inner--farmer .h2-value-body,
.h2-value-inner--market .h2-value-body { color: rgba(255,255,255,0.6); }
.h2-value-inner--earth .h2-value-body { color: var(--sub); }

.h2-value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.h2-value-tags span {
  display: inline-flex;
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
}

.h2-value-inner--farmer .h2-value-tags span,
.h2-value-inner--market .h2-value-tags span {
  color: var(--lime);
  background: rgb(var(--lime-rgb) / 0.1);
  border: 1px solid rgb(var(--lime-rgb) / 0.2);
}

.h2-value-inner--earth .h2-value-tags span {
  color: var(--forest-mid);
  background: rgb(var(--lime-rgb) / 0.1);
  border: 1px solid rgb(var(--lime-rgb) / 0.35);
}

/* ── What We Do card ── */
.h2-what-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  border-top: 3px solid var(--lime);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
}

@media (min-width: 768px) {
  .h2-what-card { padding: 3rem; }
}

/* ── Services accordion tags ── */
.h2-svc-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3125rem 0.75rem;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}

/* ── Process 2×2 grid cards ── */
.h2-process-card {
  position: relative;
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 2rem 2.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.h2-process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.08);
}

.h2-process-card--dark {
  background: var(--forest-mid);
  border-color: transparent;
}

.h2-process-num {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.h2-process-card:not(.h2-process-card--dark) .h2-process-num {
  color: var(--forest-mid);
  opacity: 0.05;
}

.h2-process-card--dark .h2-process-num {
  color: var(--lime);
  opacity: 0.07;
}

.h2-process-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.h2-process-card:not(.h2-process-card--dark) .h2-process-icon { color: var(--forest-mid); }
.h2-process-card--dark .h2-process-icon { color: var(--lime); }
.h2-process-icon svg { width: 100%; height: 100%; }

.h2-process-title {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.h2-process-card:not(.h2-process-card--dark) .h2-process-title { color: var(--ink); }
.h2-process-card--dark .h2-process-title { color: #fff; }

.h2-process-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.h2-process-card:not(.h2-process-card--dark) .h2-process-desc { color: var(--sub); }
.h2-process-card--dark .h2-process-desc { color: rgba(255,255,255,0.6); }

.h2-process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.h2-process-tags span {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  font-size: 11px;
  font-weight: 500;
  border-radius: 9999px;
}

.h2-process-card:not(.h2-process-card--dark) .h2-process-tags span {
  color: var(--forest-mid);
  background: rgb(var(--lime-rgb) / 0.12);
  border: 1px solid rgb(var(--lime-rgb) / 0.35);
}

.h2-process-card--dark .h2-process-tags span {
  color: var(--lime);
  background: rgb(var(--lime-rgb) / 0.1);
  border: 1px solid rgb(var(--lime-rgb) / 0.2);
}

/* Carbon strategy 2×2 / 4-col metric grid */
.carbon-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.carbon-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgb(var(--leaf-rgb) / 0.1);
  color: #1a4f2e;
}

.carbon-stat-icon svg {
  width: 1rem;
  height: 1rem;
}

.carbon-stat-label {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1a4f2e;
}

.carbon-stat-grid > div {
  padding: 1.15rem 1rem 1.25rem;
  border-right: 1px solid #e2e8e3;
  border-bottom: 1px solid #e2e8e3;
}

.carbon-stat-grid > div:nth-child(2n) { border-right: none; }
.carbon-stat-grid > div:nth-last-child(-n+2) { border-bottom: none; }

@media (min-width: 768px) {
  .carbon-stat-label {
    font-size: 1.375rem;
  }

  .carbon-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .carbon-stat-grid > div {
    padding: 0.5rem 1.5rem;
    border-bottom: none;
    border-right: 1px solid #e2e8e3;
  }
  .carbon-stat-grid > div:nth-child(2n) { border-right: 1px solid #e2e8e3; }
  .carbon-stat-grid > div:first-child { padding-left: 0; }
  .carbon-stat-grid > div:last-child { border-right: none; padding-right: 0; }
}

/* ── Impact stats ── */
.impact-swiper { overflow: hidden; }
.impact-swiper .swiper-slide { height: auto; }

.impact-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.impact-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #fff;
  opacity: 0.28;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.impact-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.25);
}

.h2-stat-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem 1.4rem;
  height: 100%;
  transition: background 0.3s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}

@media (min-width: 1024px) {
  .h2-stat-block { padding: 2rem 1.75rem 2.25rem; }
}

.h2-stat-block:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}

.h2-stat-big-num {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .h2-stat-big-num { margin-bottom: 1.25rem; }
}

.h2-stat-block-rule {
  width: 2rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.h2-stat-block-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* ── CTA section ── */
.h2-cta-section {
  background: var(--lime);
}

.h2-cta-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--forest-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.25s ease, gap 0.25s ease;
}

.h2-cta-dark:hover {
  background: var(--forest-mid);
  gap: 0.75rem;
}

.h2-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--forest-deep);
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  border: 1.5px solid rgb(var(--forest-deep-rgb) / 0.35);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.h2-cta-ghost:hover {
  border-color: var(--forest-deep);
  background: rgb(var(--forest-deep-rgb) / 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .h2-hero-badge-dot { animation: none; }
  .h2-hcard,
  .h2-value-card,
  .h2-process-card,
  .h2-stat-block,
  .h2-trust-badge,
  .h2-cta-dark,
  .h2-cta-ghost,
  .h2-btn-primary,
  .h2-btn-outline { transition: none !important; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
   BLOG SYSTEM — blog.html + blog post pages
   ================================================================ */

/* ── Blog listing: banner ── */
.blog-banner {
  position: relative;
  overflow: hidden;
  background: #131212;
  min-height: 480px;
}

.blog-banner-bg {
  position: absolute;
  inset: 0;
}

.blog-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.3;
}

.blog-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(var(--forest-deep-rgb) /0.92) 0%, rgb(var(--forest-rgb) /0.6) 100%);
}

.blog-banner-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.blog-banner-title {
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 22ch;
  margin-bottom: 1.25rem;
}

.blog-banner-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 36rem;
}

.blog-banner-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  background: rgba(255,255,255,0.05);
}

/* ── Filter tabs ── */
.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--sub);
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.blog-filter-btn:hover {
  color: var(--ink);
  background: var(--cream);
}

.blog-filter-btn.is-active {
  color: var(--forest-mid);
  background: rgb(var(--lime-rgb) / 0.12);
  border-color: rgb(var(--lime-rgb) / 0.4);
  font-weight: 600;
}

/* ── Category tag chips ── */
.blog-cat {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  text-transform: uppercase;
  width:fit-content
}

.blog-cat--green {
  color: var(--forest-mid);
  background: rgb(var(--lime-rgb) / 0.18);
}

.blog-cat--lime {
  color: #2a4a10;
  background: rgba(130, 200, 30, 0.18);
}

.blog-cat--orange {
  color: #7c3010;
  background: rgba(251, 146, 60, 0.18);
}

.blog-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d1d5db;
  flex-shrink: 0;
}

.blog-meta-text {
  font-size: 13px;
  color: var(--sub);
}

/* ── Featured article card ── */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
  background: #fff;
}

.blog-featured-card:hover {
  box-shadow: 0 20px 56px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

@media (min-width: 768px) {
  .blog-featured-card {
    grid-template-columns: 1.15fr 1fr;
  }
}

.blog-featured-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

@media (min-width: 768px) {
  .blog-featured-img-wrap { min-height: 420px; }
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.blog-featured-card:hover .blog-featured-img {
  transform: scale(1.04);
}

.blog-featured-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.1) 0%, transparent 60%);
}

.blog-featured-label {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-deep);
  background: var(--lime);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.blog-featured-content {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .blog-featured-content { padding: 2.5rem 2.75rem; }
}

.blog-featured-title {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.875rem;
}

.blog-featured-excerpt {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--sub);
}

/* ── Standard blog card ── */
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}

.blog-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.blog-card-img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.625rem;
}

.blog-card-excerpt {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--sub);
  flex: 1;
}

/* ── Read links ── */
.blog-read-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--forest-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.25s ease;
}

.blog-read-link:hover { gap: 0.5rem; }
.blog-read-link--sm { font-size: 13px; }

.blog-read-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.blog-read-link:hover .blog-read-arrow { transform: translateX(3px); }

/* ================================================================
   BLOG POST PAGES — shared article styles
   ================================================================ */

/* ── Reading progress bar ── */
.post-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 60;
  background: transparent;
  pointer-events: none;
}

.post-progress-bar {
  height: 100%;
  width: 0;
  background: var(--forest-mid);
  transform-origin: left center;
}

/* ── Shared article header type (light hero) ── */
.post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  transition: color 0.2s ease, gap 0.25s ease;
}

.post-back-link:hover {
  color: var(--forest-mid);
  gap: 0.75rem;
}

.post-meta-dot {
  background: var(--sage);
}

.post-meta-item {
  font-size: 13px;
  color: var(--sub);
}

.post-title {
  font-size: clamp(1.875rem, 3.6vw, 3.125rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.032em;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: 1.125rem;
  text-wrap: balance;
}

.post-lead {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
  color: var(--sub);
  max-width: 32rem;
  padding-left: 1rem;
  border-left: 2px solid var(--sage);
}


.post-byline-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.post-byline-role {
  font-size: 12px;
  color: #8a8a8a;
}

@keyframes postHeroIn {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .post-hero-split-img { animation: none; }
}

/* ── Post layout (article + sidebar) ── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr 300px;
    gap: 3.5rem;
    align-items: start;
  }
}

/* ── Article body typography ── */
.post-body {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.78;
  color: #374151;
}

.post-body-intro {
  font-size: 17.5px;
  line-height: 1.72;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.post-body p {
  margin-bottom: 1.25rem;
}

.post-body h2 {
  position: relative;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #ebe7de;
}

/* Sage tick opening each section rule */
.post-body h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.5rem;
  height: 2px;
  background: var(--sage);
}

.post-body h3 {
  font-size: clamp(1.0625rem, 1.75vw, 1.25rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 1.625rem;
  margin-bottom: 0.5rem;
}

.post-body strong {
  color: var(--ink);
  font-weight: 600;
}

.post-body em {
  font-style: italic;
  color: var(--forest-mid);
}

.post-body ul,
.post-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.post-body ul { list-style-type: disc; }
.post-body ol { list-style-type: decimal; }

.post-body ul li,
.post-body ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.post-body ul li::marker { color: var(--sage); }
.post-body ol li::marker { color: var(--forest-mid); font-weight: 600; }

.post-body blockquote {
  margin: 1.75rem 0;
  padding: 1.375rem 1.75rem;
  background: var(--cream);
  border-left: 3px solid var(--sage);
  border-radius: 0 0.75rem 0.75rem 0;
}

.post-body blockquote p {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.625rem;
  line-height: 1.65;
}

.post-body blockquote cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--sub);
}

/* Pull quote */
.post-pull-quote {
  margin: 2rem 0;
  padding: 1.625rem 1.875rem;
  background: var(--forest-deep);
  border-radius: 1rem;
}

.post-pull-quote p {
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.post-pull-quote p strong {
  color: var(--sage);
  font-weight: 700;
}

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ebe7de;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--forest-mid);
  background: rgb(var(--sage-rgb) / 0.18);
  border: 1px solid rgb(var(--sage-rgb) / 0.55);
  border-radius: 9999px;
}

/* ── Sidebar ── */
.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.post-toc {
  background: var(--cream);
  border-radius: 1rem;
  padding: 1.5rem;
}

.post-toc-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 1rem;
}

.post-toc-list {
  list-style: decimal;
  padding-left: 1.25rem;
}

.post-toc-list li {
  margin-bottom: 0.5rem;
}

.post-toc-link {
  font-size: 13px;
  line-height: 1.4;
  color: #374151;
  transition: color 0.2s;
}

.post-toc-link:hover { color: var(--forest-mid); }

/* Sidebar fact */
.post-sidebar-fact {
  background: var(--forest-mid);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.post-sidebar-fact-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.post-sidebar-fact-label {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.6);
}

/* Sidebar CTA */
.post-sidebar-cta {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 1rem;
  padding: 1.5rem;
}

.post-sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: var(--forest-deep);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.25s ease;
}

.post-sidebar-cta-btn:hover { background: var(--forest-mid); }

/* Sidebar profile (field story) */
.post-sidebar-profile {
  background: var(--cream);
  border-radius: 1rem;
  overflow: hidden;
}

.post-sidebar-profile-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.post-sidebar-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-sidebar-profile-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 1.25rem 1.25rem 0.25rem;
}

.post-sidebar-profile-loc {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 12.5px;
  color: var(--sub);
  padding: 0 1.25rem 1rem;
}

.post-sidebar-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 1rem;
  text-align: center;
}

.post-sidebar-profile-stats > div {
  padding: 0.25rem 0;
}

.post-sidebar-profile-stats > div:not(:last-child) {
  border-right: 1px solid rgba(0,0,0,0.07);
}

@media (max-width: 1023px) {
  .post-sidebar { position: static; }
}

/* ── Active state for the generated table of contents ── */
.post-toc-list li { transition: color 0.2s ease; }

.post-toc-link.is-active {
  color: var(--forest-mid);
  font-weight: 600;
}

.post-toc-list li:has(.post-toc-link.is-active)::marker {
  color: var(--forest-mid);
  font-weight: 700;
}


/* ══════════════════════════════════════════════════════════════════
   LIGHT-HERO PAGES — dark header text while the hero is in view
   The site header is white and transparent until it picks up
   .is-scrolled, so pages opening on a light background opt in here.
   ══════════════════════════════════════════════════════════════════ */
body.light-hero .site-header:not(.is-scrolled) {
  color: var(--ink);
}


body.light-hero .site-header:not(.is-scrolled) .site-header-nav a:hover {
  color: var(--forest-mid);
}

/* ══════════════════════════════════════════════════════════════════
   ARTICLE HERO — split: content left, landscape image right,
   on a cream field with sage accents.
   ══════════════════════════════════════════════════════════════════ */
.post-hero-split {
  position: relative;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.post-hero-split-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 58% 70% at 78% 40%, rgb(var(--sage-rgb) / 0.34) 0%, transparent 68%);
}

.post-hero-split-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .post-hero-split-grid {
    grid-template-columns: 1fr 0.95fr;
    gap: 3.25rem;
  }
}

@media (min-width: 1280px) {
  .post-hero-split-grid { gap: 4rem; }
}

/* Byline sits under a rule that opens with a sage segment */
.post-hero-split-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
}

.post-hero-split-foot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--sage) 0 3.5rem, #ddd9d0 3.5rem);
}

/* Figure — landscape at every breakpoint so it holds up on mobile */
.post-hero-split-figure {
  position: relative;
  margin: 0;
}

.post-hero-split-img-wrap {
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--line);
}

.post-hero-split-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: postHeroIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Sage block offset behind the photo */
.post-hero-split-frame {
  display: none;
}

@media (min-width: 1024px) {
  .post-hero-split-frame {
    display: block;
    position: absolute;
    z-index: 0;
    top: 1.125rem;
    right: -1.125rem;
    bottom: -1.125rem;
    left: 1.125rem;
    border-radius: 1rem;
    background: rgb(var(--sage-rgb) / 0.5);
    pointer-events: none;
  }
}

.post-hero-split-caption {
  margin-top: 0.875rem;
  padding-left: 2rem;
  border-left: 2px solid var(--sage);
  font-size: 12px;
  line-height: 1.55;
  color: #000000;
}

/* ── Legal pages ── */
.legal-hero {
  background: var(--cream);
  padding: 8.5rem 0 3.25rem;
}

.legal-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .legal-hero {
    padding: 9.5rem 0 4rem;
  }

  .legal-hero-inner {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .legal-hero-inner {
    padding: 0 3rem;
  }
}

.legal-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf);
}

.legal-title {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
}

.legal-lead {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--sub);
}

.legal-updated {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sub);
}

.legal-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

@media (min-width: 768px) {
  .legal-wrap {
    padding: 4rem 2rem 6rem;
  }
}

@media (min-width: 1024px) {
  .legal-wrap {
    grid-template-columns: 220px minmax(0, 42rem);
    gap: 4.5rem;
    padding: 4.5rem 3rem 7rem;
  }
}

.legal-toc {
  display: none;
}

@media (min-width: 1024px) {
  .legal-toc {
    display: block;
    position: sticky;
    top: 6.5rem;
    align-self: start;
  }
}

.legal-toc-label {
  margin: 0 0 0.85rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sub);
}

.legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.legal-toc a {
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--sub);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  margin-left: -0.75rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-toc a:hover {
  color: var(--ink);
  border-left-color: var(--leaf);
}

.legal-body {
  min-width: 0;
}

.legal-body h2 {
  margin: 2.4rem 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  scroll-margin-top: 6.25rem;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--sub);
}

.legal-body p {
  margin: 0 0 1rem;
}

.legal-body ul {
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
}

.legal-body li {
  margin: 0 0 0.4rem;
}

.legal-body li strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-body a {
  color: var(--leaf);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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