/* =========================================================
   EVI-DS  ·  Digital Sustainability Solutions
   Light, airy sage/cream theme. Forest as accent.
   ========================================================= */

:root {
  /* Editorial Modern palette · logo green #36c86c as the single chromatic accent against navy + neutrals */
  --sage-brand:     #36c86c;
  --sage:           #36c86c;
  --sage-deep:      #1f7842;
  --sage-deepest:   #102060;   /* deep navy — dark contrast blocks/footer/cta */
  --sage-mid:       #36c86c;
  --sage-light:     #a8d8ba;
  --sage-lighter:   #d3ecd9;
  --sage-wash:      #f1f7f3;
  --sage-mist:      #f8fbf9;

  --cyan:           #2aa7c2;
  --cyan-soft:      #6ac8d8;

  --ochre:          #5a6b65;
  --ochre-warm:     #7d8e89;
  --ochre-light:    #b5c3be;

  --paper:          #ffffff;
  --paper-warm:     #f7f9f8;
  --paper-cool:     #f4f6f5;
  --ink:            #0d1a13;
  --ink-soft:       #2a3530;
  --ink-muted:      #5a6b65;

  --rule:           rgba(15, 30, 21, 0.1);
  --rule-strong:    rgba(15, 30, 21, 0.22);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body:    "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --max: 1400px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--ochre-warm); color: var(--sage-deepest); }

/* Ampersand rendering — keep the standard glyph instead of Fraunces' swashy default */
.amp {
  display: inline;
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 500;
  font-size: inherit;
  letter-spacing: 0;
  margin: 0;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(166, 113, 38, 0.035) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(54, 200, 108, 0.05) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* ─────────────── NAV ─────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--pad);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(15, 30, 21, 0.06);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo {
  width: 38px; height: 38px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  object-fit: contain;
}
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__wordmark-primary {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--sage-deep);
}
.nav__wordmark-primary .nav__wm-evi { color: var(--sage); }
.nav__wordmark-primary .nav__wm-digital { color: var(--sage-deepest); margin-left: 4px; }
.nav__dash { color: var(--ochre); font-weight: 400; margin: 0 2px; }
.nav__wordmark-sub {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* NEW: proper button-style nav */
.nav__links {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
  align-items: center;
}
.nav__link {
  position: relative;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav__link:hover {
  background: var(--sage-wash);
  color: var(--sage-deep);
}
.nav__link.is-active {
  background: var(--sage-deepest);
  color: var(--paper);
}

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--sage-deepest);
  color: var(--paper);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  flex-shrink: 0;
}
.nav__cta:hover { background: var(--sage-deep); transform: translateY(-1px); }
.nav__cta svg { transition: transform 0.25s var(--ease); }
.nav__cta:hover svg { transform: translateX(3px); }

.nav__toggle {
  display: none;
  width: 32px; height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 3px 0;
}
.nav__toggle span {
  display: block; height: 1.5px;
  background: var(--sage-deepest);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav__inner { gap: 16px; }
  .nav__wordmark-sub { display: none; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  body.menu-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px var(--pad) 28px;
    border-bottom: 1px solid var(--rule);
    gap: 4px;
    box-shadow: 0 10px 30px rgba(15, 30, 21, 0.08);
  }
  body.menu-open .nav__link { width: 100%; justify-content: flex-start; padding: 14px 16px; font-size: 16px; }
}

/* Page offset so hero isn't covered */
.page-offset { padding-top: 72px; }

/* ─────────────── Shared section primitives ─────────────── */
.section__header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad) 40px;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 24px;
  font-weight: 500;
}
.section__label--light { color: var(--ochre-light); }
.label-line { width: 32px; height: 1px; background: currentColor; }
.section__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--sage-deepest);
  max-width: 900px;
}
.section__title em { font-style: italic; color: var(--sage-deep); }
.section__title--light { color: var(--paper); }
.section__title--light em { color: var(--sage-light); }
.section__intro {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-top: 28px;
}

/* ─────────────── Buttons ─────────────── */
.btn {
  display: inline-flex;
  align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.btn--primary {
  background: var(--sage-deepest);
  color: var(--paper);
}
.btn--primary:hover { background: var(--sage-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 46, 30, 0.2); }
.btn--primary svg { transition: transform 0.3s var(--ease); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
  background: transparent;
  color: var(--sage-deepest);
  border: 1px solid var(--rule-strong);
}
.btn--ghost:hover { background: var(--sage-wash); border-color: var(--sage-deep); }
.btn--light {
  background: var(--sage-light);
  color: var(--sage-deepest);
}
.btn--light:hover { background: var(--sage-lighter); transform: translateY(-2px); }
.btn--on-dark {
  background: var(--sage-light);
  color: var(--sage-deepest);
}
.btn--on-dark:hover { background: var(--paper); transform: translateY(-2px); }
.btn--ghost-dark {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(246, 241, 230, 0.35);
}
.btn--ghost-dark:hover { background: rgba(246, 241, 230, 0.08); border-color: var(--paper); }
.btn--full { width: 100%; justify-content: center; }

/* ─────────────── HERO (home) ─────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  padding: 80px var(--pad) 0;
  background:
    radial-gradient(ellipse at 30% 20%, var(--sage-mist) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(54, 200, 108, 0.18) 0%, transparent 50%),
    var(--paper);
  color: var(--sage-deepest);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__ornament {
  position: absolute;
  right: -180px; top: 8%;
  width: 900px; height: 900px;
  opacity: 0.35;
  animation: rotate 180s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }

.hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  z-index: 2;
  padding-top: 40px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 40px;
  animation: fadeUp 0.8s var(--ease) both;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--sage-mid);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--sage-mid);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

.hero__headline {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--sage-deepest);
  margin-bottom: 40px;
  max-width: 1100px;
}
.hero__headline .line { display: block; animation: fadeUp 1s var(--ease) both; }
.hero__headline .line:nth-child(1) { animation-delay: 0.1s; }
.hero__headline .line:nth-child(2) { animation-delay: 0.22s; color: var(--sage); font-style: italic; }
.hero__headline .line:nth-child(3) { animation-delay: 0.34s; }
.hero__headline .line--sub {
  font-size: clamp(20px, 2.4vw, 32px);
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 28px;
  line-height: 1.3;
  letter-spacing: 0;
  animation-delay: 0.5s;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hero__sub {
  max-width: 640px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 44px;
  animation: fadeUp 1s var(--ease) 0.65s both;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  animation: fadeUp 1s var(--ease) 0.8s both;
}
.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: 180px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  writing-mode: vertical-rl;
  animation: fadeUp 1s var(--ease) 1s both;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, var(--sage-mid), transparent);
  writing-mode: horizontal-tb;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(1); transform-origin: top; } 50% { transform: scaleY(0.3); transform-origin: top; } }
@media (max-width: 700px) { .hero__scroll { display: none; } }

.trust-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--rule);
}
.trust-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust { position: relative; padding: 0 24px; }
.trust + .trust::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 40px;
  background: var(--rule);
}
.trust__num {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--sage-deep);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.trust__num span { color: var(--ochre); }
.trust__label {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* Single-statement variant */
.trust-strip--single .trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--pad);
  gap: 0;
}
.trust-strip__statement {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--sage-deepest);
  max-width: 1100px;
}
.trust-strip__statement em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 500;
}
.trust-strip__figure {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 76px;
  line-height: 1;
  color: var(--sage-deepest);
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}
.trust-strip__figure span { color: var(--ochre); font-weight: 500; }
.trust-strip__text {
  flex: 1 1 auto;
  font-weight: 400;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; padding: 24px 0; }
  .trust + .trust::before { display: none; }
  .hero__headline .line--sub { margin-top: 16px; }
  .trust-strip--single .trust-strip__inner { padding: 36px var(--pad); }
  .trust-strip__statement { flex-direction: column; gap: 16px; text-align: center; }
  .trust-strip__figure { font-size: 60px; }
  .trust-strip__text { font-size: 19px; }
}
@media (max-width: 500px) {
  .trust-strip__inner { grid-template-columns: 1fr 1fr; }
  .trust { padding: 0 12px; }
  .trust__num { font-size: 24px; }
  .trust-strip__figure { font-size: 52px; }
  .trust-strip__text { font-size: 17px; }
}

/* ─────────────── PAGE HEADER (sub-pages) ─────────────── */
.page-header {
  position: relative;
  padding: 100px var(--pad) 56px;
  background:
    radial-gradient(ellipse at 20% 30%, var(--sage-mist) 0%, transparent 55%),
    var(--paper);
  overflow: hidden;
}
.page-header--compact { padding: 88px var(--pad) 24px; }
.page-header--compact .page-header__title { margin-bottom: 20px; }
.page-header--compact + .story { padding-top: 48px; }
/* Hero variant: oversized title for marquee About pages */
.page-header--hero { padding: 120px var(--pad) 56px; }
.page-header__title--xl {
  font-size: clamp(64px, 11vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 0;
  max-width: none;
}
.page-header__bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
}
.page-header__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}
.page-header__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 500;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px;
}
.page-header__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--sage-deepest);
  margin-bottom: 32px;
  max-width: 1000px;
}
.page-header__title em { font-style: italic; color: var(--sage-deep); }
.page-header__lede {
  max-width: 680px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.page-header__partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  max-width: 760px;
}
.page-header__partners li {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  color: var(--sage-deepest);
  letter-spacing: -0.005em;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.page-header__partners li::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ochre);
  flex: 0 0 auto;
  transform: translateY(-2px);
}
.page-header__partners li strong { font-weight: 500; }

/* ─────────────── BREADCRUMB ─────────────── */
.crumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--pad) 0;
  display: flex; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.crumb a { color: var(--ink-muted); transition: color 0.2s var(--ease); }
.crumb a:hover { color: var(--sage-deep); }
.crumb__sep { opacity: 0.5; }
.crumb__current { color: var(--sage-deep); }

/* ─────────────── PATHWAYS ─────────────── */
.pathways { position: relative; background: var(--paper); padding-bottom: 64px; }
.pathways__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.pathways__grid--four {
  grid-template-columns: repeat(2, 1fr);
}
.pathway {
  position: relative;
  padding: 48px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  transition: background 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 440px;
  color: inherit;
}
.pathway:hover { background: var(--sage-mist); }
.pathway__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ochre);
  font-weight: 500;
  margin-bottom: 60px;
}
.pathway__body { flex: 1; }
.pathway__title {
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--sage-deepest);
  margin-bottom: 12px;
  max-width: 460px;
  text-wrap: balance;
}
/* Keep titles like "Climate & Cleantech" from breaking with an orphan ampersand at a line head */
.pathway__title .amp { white-space: nowrap; }
.pathway__kicker {
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1.4;
  color: var(--sage-deep);
  margin: 0 0 20px;
  font-weight: 400;
}
.pathway__kicker em { font-style: italic; }
.pathway__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.pathway__link {
  display: inline-flex;
  align-items: center; gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sage-deep);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--sage-deep);
  align-self: flex-start;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.pathway__link:hover { gap: 14px; color: var(--ochre); border-color: var(--ochre); }
.pathway__icon {
  position: absolute;
  top: 40px; right: 40px;
  width: 36px; height: 36px;
  color: var(--sage-mid);
  opacity: 0.7;
  transition: all 0.4s var(--ease);
}
.pathway:hover .pathway__icon {
  color: var(--ochre);
  opacity: 1;
  transform: rotate(8deg) scale(1.1);
}

.pathway--featured {
  background: var(--sage-deepest);
  color: #ffffff;
}
.pathway--featured .pathway__title  { color: #ffffff; }
.pathway--featured .pathway__kicker { color: #ffffff; }
.pathway--featured .pathway__desc   { color: rgba(255, 255, 255, 0.92); }
.pathway--featured .pathway__num    { color: rgba(255, 255, 255, 0.85); }
.pathway--featured .pathway__link   { color: #ffffff; border-color: rgba(255, 255, 255, 0.7); }
.pathway--featured .pathway__link:hover { color: #ffffff; border-color: #ffffff; }
.pathway--featured .pathway__icon   { color: #ffffff; opacity: 0.85; }
.pathway--featured:hover { background: var(--sage-deep); }

@media (max-width: 900px) {
  .pathways__grid,
  .pathways__grid--four { grid-template-columns: 1fr; border-left: 0; }
  .pathway { min-height: auto; padding: 40px 24px; border-right: 0; }
  .pathway__num { margin-bottom: 32px; }
}

/* ─────────────── IMPACT ─────────────── */
.impact {
  background: var(--sage-wash);
  color: var(--sage-deepest);
  padding: 80px var(--pad);
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(54, 200, 108, 0.18), transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(42, 167, 194, 0.06), transparent 60%);
}
.impact__header { max-width: var(--max); margin: 0 auto 80px; position: relative; }
.impact__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  border-top: 1px solid var(--rule);
}
.stat {
  padding: 56px 32px 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat__figure {
  font-family: var(--f-display);
  font-size: clamp(72px, 9vw, 136px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--sage-deep);
  margin-bottom: 32px;
}
.stat__plus {
  color: var(--ochre);
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 0.05em;
  font-weight: 400;
}
.stat__label {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-muted);
  max-width: 220px;
}
.impact__footnote {
  max-width: var(--max);
  margin: 80px auto 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
  text-align: center;
  position: relative;
}

@media (max-width: 900px) {
  .impact__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 20px 0; border-bottom: 1px solid var(--rule); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stat:nth-child(3) { border-right: 1px solid var(--rule); }
  .stat__figure { margin-bottom: 20px; }
}
@media (max-width: 500px) {
  .impact__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; padding: 28px 0; }
  .stat:not(:last-child) { border-bottom: 1px solid var(--rule); }
}

/* ─────────────── WHY / PILLARS ─────────────── */
.why { background: var(--paper-warm); padding-bottom: 80px; }
.why__header { max-width: var(--max); margin: 0 auto; padding: 80px var(--pad) 48px; }
.why__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.pillar { display: flex; flex-direction: column; gap: 16px; }
.pillar__mark {
  width: 48px; height: 48px;
  color: var(--sage-deep);
  margin-bottom: 8px;
}
.pillar__title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--sage-deepest);
  letter-spacing: -0.01em;
}
.pillar__body { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .why__grid { grid-template-columns: 1fr; } }

/* ─────────────── STORY ─────────────── */
.story { background: var(--paper); padding: 80px var(--pad); }
.story__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.story__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sage-deepest);
  margin: 28px 0 48px;
}
.story__title em { font-style: italic; color: var(--sage-deep); }
.story__meta { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
.story__meta > div {
  display: flex; justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.story__meta span {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--ink-muted);
}
.story__meta strong { font-weight: 500; color: var(--sage-deepest); }
.story__lede {
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--sage-deepest);
  margin-bottom: 32px;
}
.story__lede strong { font-weight: 500; }
.story__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 620px;
}
.story__body strong { color: var(--sage-deep); font-weight: 600; }
.story__pullquote {
  position: relative;
  margin-top: 56px;
  padding: 32px 0 0 56px;
  border-top: 2px solid var(--ochre);
  max-width: 560px;
}
.story__mark {
  position: absolute;
  top: 8px; left: 0;
  font-family: var(--f-display);
  font-size: 96px;
  font-weight: 400;
  color: var(--ochre);
  line-height: 0.6;
}
.story__pullquote p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--sage-deep);
  margin-bottom: 16px;
}
.story__attr {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
}

@media (max-width: 900px) { .story__grid { grid-template-columns: 1fr; gap: 48px; } }

/* ─────────────── PARENTS (about page) ─────────────── */
.parents { background: var(--sage-wash); padding: 72px var(--pad) 80px; }
.parents__heading {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--sage-deepest);
  margin: 0 0 40px;
  max-width: var(--max);
}
.parents__heading em { font-style: italic; color: var(--sage-deep); }
.parents__inner { max-width: var(--max); margin: 0 auto; }
.parents__inner .section__label { color: var(--ochre); margin-bottom: 18px; }
.parents__inner .section__title { margin-bottom: 16px; }
.parents__inner .section__intro { margin-bottom: 56px; }
.parents__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.parent {
  background: var(--paper);
  padding: 36px 36px 32px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.parent:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 30, 21, 0.07); }
.parent__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 18px;
  font-weight: 500;
}
.parent__name {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--sage-deepest);
  margin-bottom: 12px;
}
.parent__lede {
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1.4;
  color: var(--sage-deep);
  font-style: italic;
  margin-bottom: 24px;
}
.parent__facts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  margin-bottom: 24px;
}
.parent__facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.parent__facts span {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--ink-muted);
  flex-shrink: 0;
}
.parent__facts strong {
  font-weight: 500;
  color: var(--sage-deepest);
  text-align: right;
}
.parent__body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex: 1;
}
.parent__link {
  display: inline-flex;
  align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--sage-deep);
  align-self: flex-start;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.parent__link:hover { gap: 14px; color: var(--ochre); border-color: var(--ochre); }
.parents__footnote {
  margin-top: 56px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .parents__grid { grid-template-columns: 1fr; gap: 20px; }
  .parent { padding: 28px 24px 28px; }
}

/* ─────────────── LEADERSHIP (with photos) ─────────────── */
.leadership { background: var(--sage-mist); padding-bottom: 80px; }
.leadership__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.leader {
  background: var(--paper);
  padding: 28px 28px 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.leader:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 30, 21, 0.08);
}
.leader--founder {
  grid-column: 1 / -1;
  background: var(--sage-deepest);
  color: var(--paper);
  padding: 56px 64px;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}
.leader--founder .leader__body { max-width: none; }
.leader--founder .leader__bio { max-width: 640px; }

/* Fast facts row — fills the empty space beside / under the bio */
.leader__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}
.leader__facts li {
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.leader__facts li:first-child { padding-left: 0; }
.leader__facts li:last-child  { padding-right: 0; border-right: 0; }
.leader__fact-num {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.leader__fact-num small {
  font-size: 0.55em;
  color: var(--sage-light);
  font-weight: 400;
  vertical-align: super;
  margin-left: 1px;
}
.leader__fact-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}
.leader__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--sage-wash);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.leader__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 0.6s var(--ease);
}
/* Per-person crop overrides for headshots framed differently */
.leader__photo img[src*="Shruti"] { object-position: center 15%; }
.leader__photo img[src*="Suuhas"] { object-position: center 18%; }
.leader__photo img[src*="Pavish"] { object-position: center 22%; }
.leader__photo img[src*="Divay"]  { object-position: center 22%; }
.leader__photo img[src*="Vinod"]  { object-position: center 30%; }
.leader:hover .leader__photo img { transform: scale(1.04); }
.leader--founder .leader__photo {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid var(--sage-light);
}
.leader__body { flex: 1; }
.leader__role {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 8px;
  font-weight: 500;
}
.leader--founder .leader__role { color: var(--ochre-light); font-size: 11px; }
.leader__name {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--sage-deepest);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.leader--founder .leader__name {
  font-size: 36px;
  color: var(--paper);
  margin-bottom: 16px;
}
.leader__bio { font-size: 13px; line-height: 1.55; color: var(--ink-muted); }
.leader--founder .leader__bio {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(250, 246, 236, 0.8);
  max-width: 540px;
}

@media (max-width: 1100px) {
  .leadership__grid { grid-template-columns: repeat(2, 1fr); }
  .leader--founder { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .leadership__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .leader--founder { grid-column: span 2; flex-direction: column; padding: 28px; gap: 20px; text-align: center; align-items: center; }
  .leader--founder .leader__photo { width: 140px; height: 140px; }
  .leader--founder .leader__name { font-size: 26px; }
  .leader__facts { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .leader__facts li { padding: 0 16px; }
  .leader__facts li:nth-child(2) { border-right: 0; }
  .leader__fact-num { font-size: 28px; }
  .leader { padding: 20px 20px 24px; }
  .leader__name { font-size: 18px; }
}

/* ─────────────── PRACTICE AREAS (deep) ─────────────── */
.practice {
  padding: 80px var(--pad);
  background: var(--paper);
  position: relative;
}
.practice--alt { background: var(--sage-mist); }
.practice--dark {
  background: var(--sage-deepest);
  color: var(--paper);
}
.practice__tag {
  max-width: var(--max);
  margin: 0 auto 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ochre);
}
.practice--dark .practice__tag { color: var(--ochre-light); }
.practice__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.practice__title {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--sage-deepest);
  margin-bottom: 20px;
}
.practice--dark .practice__title { color: var(--paper); }
.practice__tagline {
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.4;
  color: var(--sage-deep);
  margin-bottom: 28px;
}
.practice--dark .practice__tagline { color: var(--sage-light); }
.practice__tagline em { font-style: italic; }
.practice__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 480px;
}
.practice--dark .practice__body { color: rgba(250, 246, 236, 0.78); }

.practice__detail h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 20px;
  font-weight: 500;
}
.practice--dark .practice__detail h4 { color: var(--ochre-light); }
.practice__detail h4:not(:first-child) { margin-top: 48px; }

.practice__list { display: flex; flex-direction: column; gap: 0; }
.practice__list li {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  display: grid;
  grid-template-columns: 12px 240px 1fr;
  column-gap: 24px;
  align-items: start;
}
.practice__list li > strong {
  font-weight: 600;
  color: var(--sage-deepest);
  line-height: 1.4;
}
.practice__list li > span { line-height: 1.5; }
.practice--dark .practice__list li {
  border-top: 1px solid rgba(250, 246, 236, 0.15);
  color: rgba(250, 246, 236, 0.88);
}
.practice--dark .practice__list li > strong { color: var(--paper); }
.practice__list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--ochre);
  border-radius: 50%;
  margin-top: 8px;
  align-self: start;
}
.practice--dark .practice__list li::before { background: var(--sage-light); }
.practice__list li:last-child { border-bottom: 1px solid var(--rule); }
.practice--dark .practice__list li:last-child { border-bottom: 1px solid rgba(250, 246, 236, 0.15); }
@media (max-width: 900px) {
  .practice__list li { grid-template-columns: 12px 200px 1fr; column-gap: 18px; }
}
@media (max-width: 640px) {
  .practice__list li {
    grid-template-columns: 12px 1fr;
    row-gap: 6px;
    column-gap: 14px;
  }
  .practice__list li > span { grid-column: 2 / -1; }
}

.process { display: flex; flex-direction: column; gap: 24px; }
.process li { display: flex; gap: 24px; }
.process__num {
  flex-shrink: 0;
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--ochre);
  line-height: 1;
  width: 48px;
}
.practice--dark .process__num { color: var(--sage-light); }
.process strong {
  display: block;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--sage-deepest);
  margin-bottom: 6px;
}
.practice--dark .process strong { color: var(--paper); }
.process p { font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.practice--dark .process p { color: rgba(250, 246, 236, 0.68); }

@media (max-width: 900px) { .practice__grid { grid-template-columns: 1fr; gap: 48px; } }

/* ─────────────── PROJECTS ─────────────── */
.projects { background: var(--paper); padding-bottom: 80px; }
.projects__list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  border-top: 1px solid var(--rule-strong);
}
.project {
  display: grid;
  grid-template-columns: 80px 240px 1fr auto;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
  position: relative;
}
.project:hover { background: var(--sage-mist); padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
.project__index {
  font-family: var(--f-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--ochre);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.project__meta { padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.project__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  line-height: 1.5;
}
.project__status {
  display: inline-flex;
  align-items: center; gap: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
}
.project__status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage-mid);
  animation: pulse 2.5s ease-in-out infinite;
}
.project__start { color: var(--ink-soft); }
.project__sep   { color: var(--ink-muted); opacity: 0.65; margin: 0 1px; }
.project__state { color: var(--sage-deep); }
.project__main { padding-top: 8px; }
.project__title {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sage-deepest);
  margin-bottom: 12px;
}
.project__blurb {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--sage-deep);
  margin-bottom: 16px;
}
.project__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
}
.project__link {
  align-self: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
  white-space: nowrap;
  padding: 10px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.project__link:hover { background: var(--sage-deepest); color: var(--paper); border-color: var(--sage-deepest); }

@media (max-width: 1100px) {
  .project { grid-template-columns: 60px 1fr auto; }
  .project__meta { grid-column: 2; padding-top: 8px; }
  .project__main { grid-column: 2 / -1; padding-top: 0; }
  .project__link { grid-column: 2; justify-self: start; margin-top: 16px; }
}
@media (max-width: 600px) {
  .project { grid-template-columns: 1fr; gap: 16px; }
  .project:hover { padding-left: 0; padding-right: 0; margin: 0; }
  .project__meta, .project__main, .project__link { grid-column: 1; }
}

/* ─────────────── HERBS & ROOTS ─────────────── */
.hr {
  position: relative;
  background: linear-gradient(180deg, #1a5e30 0%, #0c3a1f 100%);
  color: var(--paper);
  padding: 80px var(--pad);
  overflow: hidden;
}
.hr__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(54, 200, 108, 0.22), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(229, 181, 112, 0.1), transparent 50%);
  pointer-events: none;
}
.hr__hero {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  padding-bottom: 56px;
}
.hr__headline {
  font-family: var(--f-display);
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin: 24px 0 32px;
  max-width: 900px;
}
.hr__headline em { font-style: italic; color: var(--sage-light); }
.hr__sub {
  max-width: 620px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(250, 246, 236, 0.82);
}
.hr__farm {
  max-width: var(--max);
  margin: 0 auto 80px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(250, 246, 236, 0.15);
}
.hr__farm-item {
  padding: 32px 24px 0;
  border-right: 1px solid rgba(250, 246, 236, 0.15);
}
.hr__farm-item:last-child { border-right: 0; }
.hr__farm-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-light);
  margin-bottom: 16px;
  font-weight: 500;
}
.hr__farm-value {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.hr__practices { max-width: var(--max); margin: 0 auto; position: relative; }
.hr__practices-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  margin-bottom: 48px;
  color: var(--paper);
  letter-spacing: -0.02em;
}
.hr__practices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.practice-card {
  padding: 40px 32px;
  background: rgba(250, 246, 236, 0.06);
  border: 1px solid rgba(250, 246, 236, 0.12);
  border-radius: 4px;
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease);
}
.practice-card:hover {
  background: rgba(250, 246, 236, 0.1);
  border-color: rgba(139, 198, 146, 0.4);
  transform: translateY(-4px);
}
.practice-card__num {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--ochre-light);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.practice-card h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.practice-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 246, 236, 0.75);
}

@media (max-width: 900px) {
  .hr__farm { grid-template-columns: 1fr 1fr; }
  .hr__farm-item { padding: 24px 16px; border-bottom: 1px solid rgba(250, 246, 236, 0.1); }
  .hr__farm-item:nth-child(2) { border-right: 0; }
  .hr__practices-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .hr__farm { grid-template-columns: 1fr; }
  .hr__farm-item { border-right: 0; }
}

/* ─────────────── HERBS & ROOTS PAGE THEME (scoped to body.hr-page) ───────────
   Drawn from the H&R logo: deep forest text, lime-sage leaf accents, warm earth tagline.
   Light, warm, organic — distinct from the cooler EVI Digital palette while still cohesive.
*/
.hr-page {
  --hr-cream:        #fbf7ed;   /* warm paper — page background */
  --hr-cream-deep:   #f1e9d4;   /* deeper warm beige for hero bottom */
  --hr-leaf:         #9bc049;   /* leaf-green from the logo crown */
  --hr-leaf-mid:     #7ea635;
  --hr-leaf-deep:    #5e811f;   /* darker leaf — for emphasis on cream */
  --hr-forest:       #2d4a1c;   /* the deep H&R wordmark green */
  --hr-forest-deep:  #182d10;   /* darkest contrast — for footer / CTA */
  --hr-earth:        #8a6a3f;   /* the tagline brown */
  --hr-earth-deep:   #6a4f2c;
  --hr-earth-light:  #c2a075;
}

/* Hero — invert from dark green to warm cream with the logo as centerpiece */
.hr-page .hr {
  background: linear-gradient(180deg, var(--hr-cream) 0%, var(--hr-cream-deep) 100%);
  color: var(--hr-forest);
}
.hr-page .hr__bg {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(155, 192, 73, 0.26), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(138, 106, 63, 0.12), transparent 55%);
}
.hr-page .hr__hero { padding-bottom: 64px; }
.hr-page .hr__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hr-page .hr__hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hr-page .hr__logo {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(31, 74, 44, 0.12));
}
.hr-page .hr__headline { color: var(--hr-forest-deep); }
.hr-page .hr__headline em { color: var(--hr-leaf-deep); font-style: italic; }
.hr-page .hr__sub { color: rgba(31, 74, 44, 0.78); }
.hr-page .hr__tagline {
  margin-top: 20px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 17px;
  color: var(--hr-earth);
  letter-spacing: 0.01em;
}
.hr-page .section__label--light {
  color: var(--hr-earth);
}
.hr-page .section__label--light .label-line { background: var(--hr-earth-light); }

/* Stats strip on cream */
.hr-page .hr__farm {
  border-top: 1px solid rgba(31, 74, 44, 0.16);
}
.hr-page .hr__farm-item {
  border-right: 1px solid rgba(31, 74, 44, 0.16);
}
.hr-page .hr__farm-item:last-child { border-right: 0; }
.hr-page .hr__farm-label { color: var(--hr-earth); }
.hr-page .hr__farm-value { color: var(--hr-forest-deep); }

/* Practices — invert the cards from glass-on-dark to leaf-on-cream */
.hr-page .hr__practices-title { color: var(--hr-forest-deep); }
.hr-page .practice-card {
  background: var(--paper);
  border: 1px solid rgba(31, 74, 44, 0.12);
  box-shadow: 0 1px 2px rgba(31, 74, 44, 0.04), 0 14px 28px rgba(31, 74, 44, 0.05);
  backdrop-filter: none;
}
.hr-page .practice-card:hover {
  background: var(--paper);
  border-color: var(--hr-leaf);
  box-shadow: 0 1px 2px rgba(31, 74, 44, 0.04), 0 22px 40px rgba(31, 74, 44, 0.10);
}
.hr-page .practice-card__num { color: var(--hr-leaf-deep); }
.hr-page .practice-card h4 { color: var(--hr-forest-deep); }
.hr-page .practice-card p { color: rgba(31, 74, 44, 0.7); }

/* Gallery — give it the same forest header but the carousel itself can stay dark */
.hr-page .hr-gallery { background: var(--hr-cream); }
.hr-page .hr-gallery__title { color: var(--hr-forest-deep); }
.hr-page .hr-gallery__title em { color: var(--hr-leaf-deep); }
.hr-page .hr-gallery__lede { color: rgba(31, 74, 44, 0.72); }
.hr-page .hr-gallery .section__label { color: var(--hr-earth); }
.hr-page .hr-gallery .section__label .label-line { background: var(--hr-earth-light); }
.hr-page .carousel {
  background: var(--hr-forest-deep);
}
.hr-page .carousel__slide figcaption {
  background: linear-gradient(180deg, rgba(17, 45, 26, 0) 0%, rgba(17, 45, 26, 0.78) 45%, rgba(17, 45, 26, 0.94) 100%);
}
.hr-page .carousel__slide figcaption strong { color: var(--hr-leaf); }
.hr-page .carousel__counter [data-carousel-current] { color: var(--hr-leaf); }
.hr-page .carousel__dot.is-active { background: var(--hr-leaf); }

/* CTA strip on this page — replace the lime-glow site default with a leaf-green wash */
.hr-page .cta-strip {
  background: var(--hr-forest-deep);
}
.hr-page .cta-strip::before {
  background: radial-gradient(ellipse at 70% 50%, rgba(155, 192, 73, 0.22), transparent 60%);
}
.hr-page .cta-strip h2 em { color: var(--hr-leaf); }
.hr-page .btn--on-dark { background: var(--hr-leaf); color: var(--hr-forest-deep); }
.hr-page .btn--on-dark:hover { background: var(--paper); color: var(--hr-forest-deep); }

@media (max-width: 900px) {
  .hr-page .hr__hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hr-page .hr__hero-logo { order: -1; }
  .hr-page .hr__logo { max-width: 240px; }
}

/* ─────────────── HR GALLERY (carousel) ─────────────── */
.hr-gallery {
  background: var(--paper);
  padding: 96px var(--pad) 80px;
}
.hr-gallery__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.hr-gallery__head { max-width: 760px; margin-bottom: 56px; }
.hr-gallery__title {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--sage-deepest);
  margin: 18px 0 20px;
}
.hr-gallery__title em { font-style: italic; color: var(--sage-deep); }
.hr-gallery__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 620px;
}

.carousel {
  position: relative;
  background: var(--sage-deepest);
  border-radius: 6px;
  padding: 20px;
  overflow: hidden;
}
.carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(0,0,0,0.2);
}
.carousel__track {
  display: flex;
  transition: transform 0.6s var(--ease);
  list-style: none;
  margin: 0;
  padding: 0;
}
.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.carousel__slide figure {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  background: rgba(0,0,0,0.25);
  overflow: hidden;
}
.carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.carousel__slide figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 32px 26px;
  background: linear-gradient(180deg, rgba(12, 58, 31, 0) 0%, rgba(12, 58, 31, 0.72) 45%, rgba(12, 58, 31, 0.92) 100%);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.55;
}
.carousel__slide figcaption strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--sage-light);
  margin-bottom: 4px;
}

.carousel__btn {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--sage-deepest);
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s var(--ease);
  z-index: 2;
}
.carousel__btn:hover { background: var(--paper); transform: translateY(-50%) scale(1.06); }
.carousel__btn:focus-visible { outline: 2px solid var(--ochre-light); outline-offset: 2px; }
.carousel__btn--prev { left: 28px; }
.carousel__btn--next { right: 28px; }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn[disabled] { opacity: 0.4; pointer-events: none; }

.carousel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px 2px;
}
.carousel__counter {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.7);
}
.carousel__counter [data-carousel-current] { color: var(--sage-light); }
.carousel__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(250, 246, 236, 0.28);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  padding: 0;
}
.carousel__dot:hover { background: rgba(250, 246, 236, 0.55); }
.carousel__dot.is-active { background: var(--sage-light); transform: scale(1.25); }

@media (max-width: 700px) {
  .hr-gallery { padding: 72px var(--pad) 64px; }
  .carousel { padding: 12px; }
  .carousel__btn { width: 40px; height: 40px; }
  .carousel__btn--prev { left: 14px; }
  .carousel__btn--next { right: 14px; }
  .carousel__slide figure { aspect-ratio: 4 / 3; }
  .carousel__slide figcaption { padding: 22px 18px 18px; font-size: 14px; }
  .carousel__slide figcaption strong { font-size: 16px; }
  .carousel__meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .carousel__dots { justify-content: flex-start; }
}

/* ─────────────── PARTNER / CTA ─────────────── */
.partner { background: var(--sage-wash); padding: 80px var(--pad); position: relative; }
.partner__inner { max-width: var(--max); margin: 0 auto; }
.partner__header { margin-bottom: 72px; max-width: 900px; }
.partner__header .section__label { color: var(--ochre); }
.partner__headline {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--sage-deepest);
  margin: 16px 0 24px;
}
.partner__headline em { font-style: italic; color: var(--ochre); }
.partner__sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 620px;
}
.partner__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.partner__who h3,
.partner__form h3 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--sage-deepest);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.who-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.who-list li {
  display: flex; flex-direction: column;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.who-list strong {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--sage-deepest);
  margin-bottom: 4px;
}
.who-list span { font-size: 14px; color: var(--ink-muted); line-height: 1.5; }

.partner__form {
  background: var(--paper);
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(15, 30, 21, 0.04), 0 20px 60px rgba(15, 30, 21, 0.06);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.partner__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.form__opt { color: var(--ink-muted); text-transform: none; letter-spacing: 0; font-size: 10px; opacity: 0.7; }
.form__full { margin-bottom: 16px; }
.partner__form input,
.partner__form select,
.partner__form textarea {
  font-family: var(--f-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper-warm);
  color: var(--sage-deepest);
  text-transform: none;
  letter-spacing: 0;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.partner__form input:focus,
.partner__form select:focus,
.partner__form textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  background: var(--paper);
}
.partner__form textarea { resize: vertical; font-family: var(--f-body); }
.partner__form button { margin-top: 8px; }
.form__success {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--sage-deepest);
  color: var(--sage-light);
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
  text-transform: none;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--rule);
}
.contact-card {
  padding: 24px;
  background: var(--paper);
  border-radius: 4px;
  border: 1px solid var(--rule);
}
.contact-card h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 12px;
  font-weight: 500;
}
.contact-card a, .contact-card p {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--sage-deepest);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: block;
}
.contact-card p { font-size: 14px; font-weight: 400; font-family: var(--f-body); color: var(--ink-soft); line-height: 1.5; }
.contact-card a:hover { color: var(--ochre); }

@media (max-width: 900px) {
  .partner__grid { grid-template-columns: 1fr; gap: 48px; }
  .partner__form { padding: 32px 24px; }
  .form__row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ─────────────── CTA STRIP ─────────────── */
.cta-strip {
  background: var(--sage-deepest);
  color: var(--paper);
  padding: 72px var(--pad);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(54, 200, 108, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-strip__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.cta-strip h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.cta-strip h2 em { font-style: italic; color: var(--sage-light); }
.cta-strip__ctas { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 800px) {
  .cta-strip__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-strip__ctas { flex-direction: row; flex-wrap: wrap; }
}

/* ─────────────── FOOTER ─────────────── */
.footer {
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  position: relative;
}
.footer__top {
  padding: 80px var(--pad) 56px;
  border-top: 1px solid var(--rule);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__bottom {
  background: var(--sage-deepest);
  color: rgba(250, 246, 236, 0.7);
  padding: 22px var(--pad);
}
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__logo {
  width: 52px; height: 52px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  object-fit: contain;
}
.footer__wordmark {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--sage-deepest);
  margin-bottom: 4px;
}
.footer__wordmark .footer__wm-evi { color: var(--sage-deep); }
.footer__wordmark .footer__wm-digital { color: var(--sage-deepest); margin-left: 6px; }
.footer__wordmark span { color: var(--ochre); }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--sage-mist);
  color: var(--sage-deep);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__social a:hover { background: var(--sage-deep); color: var(--paper); transform: translateY(-2px); }
.footer__social svg { width: 16px; height: 16px; }
.footer__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.footer__col h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__col a, .footer__col > span {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--sage-deep); }
.footer__addr { font-size: 13px; line-height: 1.55; margin-top: 4px; color: var(--ink-muted); }
.footer__bar {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(250, 246, 236, 0.65);
  letter-spacing: 0.06em;
}
.footer__meta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__top { padding: 64px var(--pad) 48px; }
}
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__top { padding: 56px var(--pad) 40px; }
  .footer__bar { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ─────────────── Scroll-triggered reveal ─────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero__ornament { animation: none; }
}
