/* J-MAZ Corporate Website — Design System
   Direct port from the React source with WordPress-specific additions.
   ------------------------------------------------------------------- */

/* ─── Custom properties ─────────────────────────────────────── */
:root {
  --cream:        oklch(96% 0.012 90);
  --cream-2:      oklch(93% 0.018 88);
  --cream-3:      oklch(89% 0.024 85);
  --ink:          oklch(20% 0.02 150);
  --ink-2:        oklch(34% 0.02 150);
  --ink-3:        oklch(50% 0.015 150);
  --forest:       #064e3b;
  --forest-2:     #065f46;
  --forest-deep:  #022c22;
  --leaf:         #047857;
  --leaf-2:       #059669;
  --leaf-3:       #10b981;
  --leaf-4:       #34d399;
  --leaf-soft:    #a7f3d0;
  --leaf-tint:    #d1fae5;
  --leaf-wash:    #ecfdf5;
  --clay:         oklch(58% 0.12 55);
  --clay-2:       oklch(68% 0.14 60);
  --line:         oklch(80% 0.018 90);
  --line-soft:    oklch(86% 0.014 90);

  --serif:  "Instrument Serif", "Source Serif 4", Georgia, serif;
  --sans:   "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --shadow-1: 0 1px 2px rgba(20,30,24,.05), 0 8px 24px -12px rgba(20,30,24,.18);
  --shadow-2: 0 2px 6px rgba(20,30,24,.06), 0 24px 60px -22px rgba(20,30,24,.28);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01","cv11";
  line-height: 1.55;
  font-size: 16px;
}
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.1; }
p { margin: 0; }

/* ─── Typography helpers ─────────────────────────────────────── */
.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 0;
}
.eyebrow.on-forest { color: oklch(82% 0.04 90); }
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
  margin-right: 8px;
  flex-shrink: 0;
}

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--cream) 85%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-wrap {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(6,78,59,0.07);
  transition: box-shadow 0.2s;
}
.nav-brand:hover .nav-logo-wrap {
  box-shadow: 0 3px 12px rgba(6,78,59,0.13);
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav-link {
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { background: var(--cream-2); color: var(--ink); }
.nav-link.active { background: var(--forest); color: var(--cream); }

.nav-cta {
  margin-left: 8px;
  background: var(--clay);
  color: white;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--clay-2); transform: translateY(-1px); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--line-soft);
  background: var(--cream);
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { border-radius: 10px; padding: 12px 14px; }
.nav-mobile .nav-cta { margin: 8px 0 0; border-radius: 999px; text-align: center; display: block; padding: 13px 16px; }

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: transform 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }
.btn-clay { background: var(--clay); color: white; }
.btn-clay:hover { background: var(--clay-2); transform: translateY(-1px); }
.btn-ghost { padding: 13px 0; border-bottom: 1px solid currentColor; border-radius: 0; background: none; }
.btn-ghost:hover { color: var(--clay); }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ─── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  border-color: var(--line);
}

/* ─── Photos / image placeholders ───────────────────────────── */
.photo {
  position: relative;
  background: linear-gradient(135deg, var(--cream-2), var(--cream-3));
  overflow: hidden;
  border-radius: var(--r-md);
}
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 14px,
    color-mix(in oklab, var(--leaf) 8%, transparent) 14px 15px
  );
}
.photo-placeholder span {
  font-size: 12px;
  color: var(--ink-3);
  background: white;
  padding: 6px 12px;
  border-radius: 20px;
  text-align: center;
  max-width: 80%;
}

/* ─── Stats ──────────────────────────────────────────────────── */
.stat { }
.stat-value {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--forest);
}
.stat-value .stat-suffix { color: var(--clay); }
.stat-label { margin-top: 10px; font-size: 14px; font-weight: 600; }
.stat-sub { margin-top: 4px; font-size: 13px; color: var(--ink-3); }

/* ─── Section heading ────────────────────────────────────────── */
.section-head { }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  margin: 0;
}
.section-head p {
  font-size: 18px;
  margin-top: 18px;
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.6;
}
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head.center p { margin-inline: auto; }
.section-head.on-forest h2 { color: var(--cream); }
.section-head.on-forest p  { color: oklch(86% 0.02 90); }

/* ─── Service tile (interactive expand card) ─────────────────── */
.service-tile {
  padding: 28px;
  cursor: pointer;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  text-align: left;
  width: 100%;
}
.service-tile:hover { transform: translateY(-2px); }
.service-tile.open {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.service-tile-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.service-tile-idx { font-size: 12px; letter-spacing: 0.18em; font-weight: 600; color: var(--clay); }
.service-tile.open .service-tile-idx { color: var(--clay-2); }
.service-tile-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.service-tile.open .service-tile-toggle { border-color: var(--cream); transform: rotate(45deg); }
.service-tile h3 { font-family: var(--serif); font-size: 28px; margin: 0 0 10px; }
.service-tile p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.service-tile.open p { color: oklch(86% 0.02 90); }
.service-tile-items {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease, margin-top 0.3s;
  margin-top: 0;
}
.service-tile.open .service-tile-items { grid-template-rows: 1fr; margin-top: 18px; }
.service-tile-items-inner { overflow: hidden; }
.service-tile-items ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px; font-size: 14px;
}
.service-tile-items li { display: flex; gap: 10px; align-items: flex-start; }
.service-tile-items li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay-2);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ─── Marquee ────────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: var(--cream-3);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-2);
}
.marquee-track .marquee-set { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .dot { color: var(--clay); margin: 0 8px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Tags ───────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.tag-leaf {
  background: color-mix(in oklab, var(--leaf) 14%, var(--cream));
  border-color: color-mix(in oklab, var(--leaf) 24%, var(--cream));
  color: var(--forest);
}
.tag-clay {
  background: color-mix(in oklab, var(--clay) 14%, var(--cream));
  border-color: color-mix(in oklab, var(--clay) 28%, var(--cream));
  color: oklch(40% 0.12 50);
}

/* ─── Forms ─────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input,
.field textarea,
.field select {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--forest) 12%, transparent);
}
.field .err { color: oklch(50% 0.18 30); font-size: 12px; margin-top: 4px; }
.field textarea { resize: vertical; }

/* ─── Page entrance animation ────────────────────────────────── */
.page-fade {
  animation: pageFade 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding: 0;
  margin-top: 0;
}
.footer-hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-utility {
  background: var(--forest-deep);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 12%, transparent);
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: oklch(82% 0.04 90);
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer ul li { color: oklch(88% 0.018 90); }
.site-footer ul a { color: oklch(88% 0.018 90); transition: color 0.15s; }
.site-footer ul a:hover { color: var(--clay-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: oklch(78% 0.024 90);
}
.footer-bottom a { color: oklch(78% 0.024 90); }
.footer-bottom a:hover { color: var(--clay-2); }

/* Newsletter inline form */
.newsletter-inline {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.newsletter-inline input {
  flex: 1;
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--cream) 30%, transparent);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--cream);
  font-size: 13px;
  outline: none;
  font-family: inherit;
}
.newsletter-inline input::placeholder { color: oklch(70% 0.02 90); }
.newsletter-inline input:focus {
  border-color: color-mix(in oklab, var(--cream) 60%, transparent);
}
.newsletter-inline button {
  background: var(--clay);
  color: white;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.newsletter-inline button:hover { background: var(--clay-2); }

/* ─── Home: hero stats bar ───────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.hero-stat-val { font-family: var(--serif); font-size: 32px; color: var(--forest); }
.hero-stat-label { font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }

/* ─── Home: approach steps ───────────────────────────────────── */
.approach-step {
  border-top: 1px solid color-mix(in oklab, var(--cream) 22%, transparent);
  padding-top: 28px;
}
.approach-step-n {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--clay-2);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--cream) 28%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.approach-step h4 { font-family: var(--serif); font-size: 22px; margin: 16px 0 8px; }
.approach-step p { font-size: 14px; color: oklch(85% 0.02 90); line-height: 1.6; }

/* ─── Home: testimonial ──────────────────────────────────────── */
.testimonial-quote { font-size: 56px; line-height: 1; color: var(--clay); }
.testimonial-portrait {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-3);
  flex-shrink: 0;
}

/* ─── Services: tab strip ────────────────────────────────────── */
.tab-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 16px;
}
.tab-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
  transition: all 0.18s;
  cursor: pointer;
  font-family: inherit;
}
.tab-btn.active {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

/* ─── Services: engagement models ───────────────────────────── */
.engagement-card {
  padding: 36px;
  border-radius: 28px;
  border: 1px solid var(--line-soft);
  background: var(--cream);
  color: var(--ink);
}
.engagement-card.highlight {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.engagement-card ul { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.engagement-card li { display: flex; gap: 10px; }

/* ─── ROI Calculator ─────────────────────────────────────────── */
.roi-card {
  background: var(--forest);
  border-radius: 24px;
  padding: 40px;
}
.roi-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(82% 0.04 90);
}
.roi-crop-btns, .roi-tier-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.roi-crop-btn, .roi-tier-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: oklch(85% 0.02 90);
  border: 1px solid color-mix(in oklab, var(--cream) 24%, transparent);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.roi-crop-btn.active, .roi-tier-btn.active {
  background: var(--clay);
  color: white;
  border-color: var(--clay);
}
.roi-tier-btn {
  border-radius: 12px;
  padding: 12px 10px;
  flex: 1;
}
.roi-tier-btn.active {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
input[type="range"] { accent-color: var(--clay); width: 100%; }
.roi-result-val { font-family: var(--serif); font-size: 38px; color: var(--cream); margin-top: 6px; }
.roi-result-val.clay { color: var(--clay-2); }
.roi-result-val.muted { color: oklch(82% 0.04 90); }

/* ─── Sectors: list + sticky detail ─────────────────────────── */
.sector-list-btn {
  text-align: left;
  padding: 20px 24px;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.18s;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
}
.sector-list-btn.active {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.sector-list-btn:hover:not(.active) { background: var(--cream-2); }
.sector-item-num { color: var(--clay); transition: color 0.18s; }
.sector-list-btn.active .sector-item-num { color: var(--cream); }
.sector-item-arr { color: var(--ink-3); transition: color 0.18s; }
.sector-list-btn.active .sector-item-arr { color: var(--cream); }
#sector-detail-img { transition: opacity 0.15s ease; }
.sector-switcher {
  display: inline-flex;
  padding: 4px;
  background: var(--cream-2);
  border-radius: 999px;
  border: 1px solid var(--line-soft);
}
.sector-switch-btn {
  padding: 10px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  color: var(--ink-2);
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  font-family: inherit;
  border: none;
}
.sector-switch-btn.active { background: var(--forest); color: var(--cream); }

/* ─── Insights: filter bar ───────────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}
.filter-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.insight-card { cursor: pointer; padding: 0; overflow: hidden; }
.insight-card-body { padding: 24px; }

/* ─── Contact: step indicator ────────────────────────────────── */
.stepper { display: flex; gap: 8px; margin-bottom: 36px; }
.stepper-bar {
  flex: 1; height: 4px; border-radius: 999px;
  background: var(--cream-3);
  transition: background 0.2s;
}
.stepper-bar.done { background: var(--forest); }

/* Contact interest grid */
.interest-label {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  display: block;
  background: white;
  transition: all 0.15s;
}
.interest-label.checked {
  border-color: var(--forest);
  background: color-mix(in oklab, var(--forest) 8%, white);
}
.interest-radio-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  transition: all 0.15s;
  flex-shrink: 0;
}
.interest-radio-dot.checked { border-color: var(--forest); background: var(--forest); }
.interest-radio-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: white; display: none; }
.interest-radio-dot.checked::after { display: block; }

/* ─── Contact: sidebar ───────────────────────────────────────── */
.contact-sidebar-box { border-radius: 20px; padding: 32px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; }

/* Map card */
.map-svg-card {
  position: relative;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--cream-2);
}
.map-pin-label {
  position: absolute;
  inset: auto 12px 12px 12px;
  background: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: var(--shadow-1);
}

/* ─── FAQ accordion ──────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-btn {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.faq-btn .faq-q { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 18px;
  transition: transform 0.2s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; }
.faq-body-inner p { padding-bottom: 24px; margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }

/* ─── CTA block (home) ───────────────────────────────────────── */
.cta-block {
  background: var(--forest);
  color: var(--cream);
  border-radius: 40px;
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--clay) 60%, transparent);
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}

/* ─── Gallery / field slider ─────────────────────────────────── */
.gallery-section { padding-block: 120px; background: var(--cream-2); }

.gallery-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
}
/* Track moves via transform — JS sets translateX */
.gallery-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  will-change: transform;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Slides get explicit px width from JS; aspect-ratio handles height */
.gallery-slide {
  flex: 0 0 auto;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--cream-3);
  cursor: pointer;
}
.gallery-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-slide:hover img { transform: scale(1.04); }

.gallery-slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 16px 14px;
  background: linear-gradient(to top, rgba(4,40,28,0.82) 0%, transparent 100%);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-slide:hover .gallery-slide-caption { opacity: 1; }

/* Nav arrows */
.gallery-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: flex-end;
}
.gallery-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.15s, border-color 0.15s;
  color: var(--ink);
  font-family: inherit;
}
.gallery-btn:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.gallery-btn:disabled { opacity: 0.3; cursor: default; }

/* Dot indicators */
.gallery-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 24px;
}
.gallery-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
  padding: 0;
}
.gallery-dot.active { background: var(--forest); transform: scale(1.5); }

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,40,28,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.gallery-lightbox.open { opacity: 1; pointer-events: all; }
.gallery-lightbox-img {
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  border-radius: var(--r-md);
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.gallery-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 32px;
  color: var(--cream);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.gallery-lightbox-close:hover { opacity: 1; }
.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s;
}
.gallery-lightbox-prev { left: 20px; }
.gallery-lightbox-next { right: 20px; }
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover { background: rgba(255,255,255,0.22); }

@media (max-width: 600px) {
  .gallery-section { padding-block: 72px; }
}

/* ─── Team: initials avatar (for members without a photo) ───── */
.team-avatar {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 12px;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar-initials {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  color: var(--leaf-soft);
  letter-spacing: -0.02em;
  line-height: 1;
  user-select: none;
}

/* ─── Who we serve (about) ───────────────────────────────────── */
.client-pill {
  padding: 20px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: white;
  font-size: 15px;
  font-weight: 500;
}
.client-pill span { color: var(--clay); margin-right: 10px; font-family: var(--serif); font-size: 18px; }

/* ─── Utility ────────────────────────────────────────────────── */
.accent-line { width: 36px; height: 2px; background: var(--clay); display: inline-block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav-inner  { padding: 14px 20px; gap: 12px; }
  .nav-links  { display: none; }
  .nav-burger { display: flex; }
  .container, .container-narrow { padding: 0 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  .cta-block { padding: 48px 28px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-value  { font-size: 48px; }
}

/* ═══════════════════════════════════════════════════════════════
   INSIGHTS PAGE — link wrappers
═══════════════════════════════════════════════════════════════ */
.insight-feat-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.insight-feat-link:hover .feat-title { color: var(--forest); }
.insight-feat-link:hover .feat-img   { transform: scale(1.03); }
.feat-img-wrap { overflow: hidden; }
.feat-img      { transition: transform 0.45s ease; }

.insight-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.insight-card-link:hover .card { box-shadow: 0 8px 32px rgba(6,78,59,0.12); transform: translateY(-4px); }

/* ═══════════════════════════════════════════════════════════════
   SINGLE ARTICLE — hero
═══════════════════════════════════════════════════════════════ */
.article-hero {
  position: relative;
  height: clamp(420px, 56vw, 640px);
  overflow: hidden;
}
.article-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,40,28,0.88) 0%, rgba(4,40,28,0.45) 55%, rgba(4,40,28,0.15) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(240,237,229,0.7);
  text-decoration: none;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.article-back:hover { color: var(--cream); }
.article-hero-title {
  font-size: clamp(28px, 4.5vw, 56px);
  color: var(--cream);
  margin: 0 0 20px;
  line-height: 1.1;
  max-width: 900px;
}
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(240,237,229,0.65);
  font-weight: 500;
}
.article-meta-sep { opacity: 0.4; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE ARTICLE — layout
═══════════════════════════════════════════════════════════════ */
.article-body-section { padding-block: 80px; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}

/* ── Main content column ── */
.article-lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink-1);
  font-weight: 500;
  border-left: 3px solid var(--leaf);
  padding-left: 24px;
  margin: 0 0 40px;
}
.article-body-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
}
.article-body-text p   { margin: 0 0 28px; }
.article-body-text p:last-child { margin-bottom: 0; }
.article-body-text h2,
.article-body-text h3  { font-family: var(--serif); color: var(--ink-1); margin: 48px 0 16px; line-height: 1.2; }
.article-body-text h2  { font-size: 32px; }
.article-body-text h3  { font-size: 24px; }
.article-body-text ul,
.article-body-text ol  { padding-left: 24px; margin: 0 0 28px; }
.article-body-text li  { margin-bottom: 8px; }
.article-body-text strong { color: var(--ink-1); font-weight: 700; }
.article-body-text blockquote {
  border-left: 3px solid var(--clay);
  margin: 40px 0;
  padding: 20px 28px;
  background: var(--cream-2);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 18px;
  color: var(--ink-1);
}

.article-author-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.article-author-logo   { height: 48px; width: auto; }
.article-author-name   { font-size: 15px; font-weight: 700; color: var(--ink-1); }
.article-author-sub    { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.article-nav-row {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ── Sidebar ── */
.article-sidebar { display: flex; flex-direction: column; gap: 24px; }

.article-sidebar-card {
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 28px;
}
.article-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.article-sidebar-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-1);
  margin-top: 4px;
}

.article-sidebar-cta {
  background: var(--forest);
  border-radius: 16px;
  padding: 32px 28px;
}

.article-nl-form { display: flex; flex-direction: column; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE ARTICLE — related section
═══════════════════════════════════════════════════════════════ */
.article-related-section {
  background: var(--cream-2);
  border-top: 1px solid var(--line-soft);
  padding-block: 80px;
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-related-grid .insight-card-link { text-decoration: none; color: inherit; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — article
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr 300px; gap: 48px; }
}
@media (max-width: 900px) {
  .article-layout           { grid-template-columns: 1fr; }
  .article-sidebar          { display: grid; grid-template-columns: 1fr 1fr; }
  .article-sidebar-cta      { grid-column: 1 / -1; }
  .article-related-grid     { grid-template-columns: 1fr 1fr; }
  .article-hero             { height: clamp(360px, 70vw, 500px); }
  .article-hero-title       { font-size: clamp(24px, 5vw, 40px); }
}
@media (max-width: 720px) {
  .article-body-section     { padding-block: 48px; }
  .article-sidebar          { display: flex; }
  .article-related-grid     { grid-template-columns: 1fr; }
  .article-nav-row          { flex-direction: column; }
  .article-hero-overlay     { padding-bottom: 40px; }
  .article-lead             { font-size: 17px; }
  .article-body-text        { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — all pages
   Uses !important to override inline styles on grid containers
═══════════════════════════════════════════════════════════════ */

/* ── 900px: tablet landscape ───────────────────────────────── */
@media (max-width: 900px) {

  /* Home hero */
  .fp-hero-grid           { grid-template-columns: 1fr !important; }
  .fp-hero-photos         { height: 360px !important; margin-top: 40px; }
  .fp-hero-photos > div[style*="left:-24px"],
  .fp-hero-photos > div[style*="right:-16px"] { display: none !important; }

  /* Home services */
  .fp-services-grid       { grid-template-columns: 1fr !important; gap: 40px !important; }
  .fp-service-tiles       { grid-template-columns: 1fr 1fr !important; }

  /* Home approach */
  .fp-approach-grid       { grid-template-columns: 1fr 1fr !important; }

  /* Home outcomes / stats */
  .fp-outcomes-grid       { grid-template-columns: 1fr !important; gap: 48px !important; }

  /* Home CTA block */
  .fp-cta-grid            { grid-template-columns: 1fr !important; gap: 32px !important;
                            padding: 48px 28px !important; }

  /* About intro */
  .about-intro-grid       { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* About vision/mission */
  .about-vm-grid          { grid-template-columns: 1fr !important; }

  /* About why-us */
  .about-reasons-grid     { grid-template-columns: 1fr 1fr !important; }

  /* About team (flex layout — override item width) */
  .about-team-grid > div  { flex: 0 1 calc(50% - 12px) !important; }

  /* About who we serve */
  .about-clients-grid     { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* Services main panel */
  .srv-main-grid          { grid-template-columns: 1fr !important; gap: 40px !important; }
  .srv-items-grid         { grid-template-columns: 1fr !important; }

  /* Services ROI */
  .srv-roi-grid           { grid-template-columns: 1fr !important; gap: 48px !important; }

  /* Services engagement */
  .srv-engage-grid        { grid-template-columns: 1fr !important; }

  /* Sectors */
  .sec-list-grid          { grid-template-columns: 1fr !important; }
  #sector-detail          { position: static !important; margin-top: 48px; }

  /* Sectors integrated */
  .sec-integrated-grid    { grid-template-columns: 1fr !important; gap: 40px !important; }
  .sec-integrated-grid > div:last-child { order: -1; }

  /* Sectors facts */
  .sec-facts-grid         { grid-template-columns: 1fr 1fr !important; }

  /* Insights featured */
  .ins-feat-grid          { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* Insights cards */
  .ins-cards-grid         { grid-template-columns: 1fr 1fr !important; }

  /* Insights newsletter */
  .ins-nl-grid            { grid-template-columns: 1fr !important; gap: 32px !important;
                            padding: 40px 32px !important; }

  /* Contact form + sidebar */
  .cnt-main-grid          { grid-template-columns: 1fr !important; }

  /* Contact FAQ + contact info */
  .cnt-faq-grid           { grid-template-columns: 1fr !important; gap: 48px !important; }

  /* Services items + ROI results */
  .srv-items-grid         { grid-template-columns: 1fr !important; }
  .roi-results-grid       { grid-template-columns: 1fr 1fr !important; }

  /* Sectors integrated items list */
  .sec-integrations-list  { grid-template-columns: 1fr !important; }

  /* Section spacing */
  .footer-hero            { padding: 72px 0 56px; }
  .footer-utility         { padding-top: 40px; }
}

/* ── 600px: mobile ─────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Container padding */
  .container, .container-narrow { padding: 0 16px; }

  /* Reduce section padding */
  section[style*="padding-block:120px"],
  section[style*="padding-block: 120px"] { padding-block: 72px !important; }
  section[style*="padding-block:80px"],
  section[style*="padding-block: 80px"]  { padding-block: 48px !important; }

  /* Home hero */
  .fp-hero-photos         { height: 280px !important; }

  /* Home service tiles — stack to 1 column */
  .fp-service-tiles       { grid-template-columns: 1fr !important; }

  /* Home approach — 1 column */
  .fp-approach-grid       { grid-template-columns: 1fr !important; }

  /* Home stats grid */
  .fp-stats-grid          { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .stat-value             { font-size: 48px !important; }

  /* Home CTA */
  .fp-cta-grid            { padding: 36px 20px !important; }

  /* About reasons — 1 column */
  .about-reasons-grid     { grid-template-columns: 1fr !important; }

  /* About team — 2 per row on small mobile */
  .about-team-grid > div  { flex: 0 1 calc(50% - 12px) !important; min-width: 0 !important; }

  /* About client pills */
  .about-pills-grid       { grid-template-columns: 1fr !important; }

  /* Services main — keep photo first */
  .srv-main-grid          { gap: 32px !important; }

  /* Sectors facts — 2 cols to wrap */
  .sec-facts-grid         { grid-template-columns: 1fr 1fr !important; }

  /* Insights featured — photo aspect ratio */
  .ins-feat-grid .photo   { aspect-ratio: 16/10 !important; }

  /* Insights cards — 1 column */
  .ins-cards-grid         { grid-template-columns: 1fr !important; }

  /* Insights newsletter */
  .ins-nl-grid            { padding: 32px 20px !important; }

  /* Contact */
  .contact-sidebar-box    { padding: 20px !important; }
  .cnt-interest-grid      { grid-template-columns: 1fr !important; }

  /* Buttons full-width on mobile */
  .fp-cta-grid .btn       { width: 100%; justify-content: center; }

  /* Hero stats — wrap to 2 per row */
  .hero-stats             { gap: 16px !important; }
  .hero-stat-val          { font-size: 26px !important; }

  /* FAQ question text */
  .faq-btn .faq-q         { font-size: 18px !important; }

  /* ROI card */
  .roi-card               { padding: 28px 20px !important; }

  /* Vision/Mission card padding */
  .about-vm-grid .card    { padding: 32px 24px !important; }
  .about-vm-grid .card p.serif { font-size: 24px !important; }

  /* Section head sizes */
  .section-head h2        { font-size: clamp(28px, 7vw, 40px) !important; }
  .section-head p         { font-size: 16px !important; }

  /* Footer hero responsive */
  .footer-hero            { padding: 56px 0 40px; }
  .footer-utility         { padding-top: 32px; }

  /* Newsletter inline */
  .newsletter-inline      { flex-direction: column; }
}

/* ════════════════════════════════════════════════════════════════
   ORGANIC DESIGN LAYER
   Natural textures, flowing transitions, earth-led feel
════════════════════════════════════════════════════════════════ */

/* ─── Subtle film-grain texture across the whole site ───────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.03;
}

/* ─── Wave / organic section dividers ───────────────────────── */
.wave-deco {
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  display: block;
}
.wave-deco svg { display: block; width: 100%; }

/* ─── Forest section: subtle dot overlay ────────────────────── */
.forest-dots {
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ─── Organic section backgrounds ───────────────────────────── */
.section-warm  { background: var(--cream-2); }
.section-earth { background: var(--cream-3); }

/* ─── Leaf-shaped eyebrow dot variant ───────────────────────── */
.eyebrow .dot-leaf {
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--leaf);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin-right: 10px;
  flex-shrink: 0;
}

/* ─── Hero organic radial blob ───────────────────────────────── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(72px);
}

/* ─── Organic photo frame ────────────────────────────────────── */
.photo-organic {
  border-radius: 56% 44% 52% 48% / 44% 56% 44% 56%;
  overflow: hidden;
}
.photo-organic img { border-radius: inherit; }

/* ─── Leaf SVG floating decoration ──────────────────────────── */
.leaf-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  color: var(--cream);
}

/* ─── Testimonial: large leaf backdrop ───────────────────────── */
.testimonial-wrap {
  position: relative;
  overflow: hidden;
}
.testimonial-leaf {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.05;
  width: min(480px, 72%);
  color: var(--forest);
}

/* ─── Gallery slide: rounded corners softer ─────────────────── */
.gallery-slide { border-radius: 20px; }

/* ─── Engagement card: forest highlight warmer ───────────────── */
.engagement-card.highlight {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

/* ─── Nav logo: more organic corner ─────────────────────────── */
.nav-logo-wrap { border-radius: 18px; }

/* ─── Client pill: warmer organic ───────────────────────────── */
.client-pill {
  background: var(--cream);
  border-radius: 20px;
}

/* ─── Contact form: warm background ─────────────────────────── */
.form-organic { background: var(--cream) !important; }

/* ─── Vision/Mission cards: organic radius ───────────────────── */
.about-vm-grid .card { border-radius: 32px; }

/* ─── Team photo: subtle organic frame ───────────────────────── */
.team-photo-wrap {
  border-radius: 20px 32px 20px 32px;
  overflow: hidden;
}
.team-photo-wrap img { border-radius: inherit; }

/* ─── Team avatar: organic radius ───────────────────────────── */
.team-avatar { border-radius: 20px 32px 20px 32px; }

/* ─── Section-head accent bar ────────────────────────────────── */
.section-head-accent {
  width: 32px; height: 3px;
  background: var(--clay);
  border-radius: 999px;
  margin-bottom: 14px;
  display: block;
}

/* ─── ROI card: more organic radius ─────────────────────────── */
.roi-card { border-radius: 28px; }

/* ─── Map card: larger radius ────────────────────────────────── */
.map-svg-card { border-radius: 24px; }

/* ─── Contact sidebar: organic radius ───────────────────────── */
.contact-sidebar-box { border-radius: 24px; }

/* ─── FAQ: warmer ────────────────────────────────────────────── */
.faq-item.open .faq-toggle { background: var(--cream-2); }

/* ─── Responsive: organic grain off on very small screens ────── */
@media (max-width: 480px) {
  body::before { opacity: 0.02; }
  .cta-block   { border-radius: 28px; }
}

/* ════════════════════════════════════════════════════════════════
   ANIMATIONS — subtle, organic, nature-paced
════════════════════════════════════════════════════════════════ */

/* ── Leaf float ─────────────────────────────────────────────── */
/* Uses `translate` (CSS individual transform) so it composes   */
/* on top of existing `transform: rotate()` without conflict.   */
@keyframes leaf-float {
  0%,  100% { translate: 0 0; }
  38%       { translate: 0 -15px; }
  70%       { translate: 0 -7px; }
}
.leaf-deco {
  animation: leaf-float 10s ease-in-out infinite;
  will-change: translate;
}
/* Stagger phases so multiple leaves feel independent */
.leaf-deco:nth-of-type(2) { animation-duration: 13s; animation-delay: -4s; }
.leaf-deco:nth-of-type(3) { animation-duration:  8s; animation-delay: -7s; }
.leaf-deco:nth-of-type(4) { animation-duration: 11s; animation-delay: -2s; }

/* ── Hero blob drift ────────────────────────────────────────── */
@keyframes blob-drift {
  0%,  100% { transform: translate(0,   0)   scale(1);    }
  30%       { transform: translate(22px,-16px) scale(1.05); }
  65%       { transform: translate(-14px, 10px) scale(0.97); }
}
.hero-blob {
  animation: blob-drift 16s ease-in-out infinite;
  will-change: transform;
}
.hero-blob:nth-of-type(2) { animation-duration: 20s; animation-delay: -6s; }

/* ── Scroll reveal (JS adds .js-reveal, then .js-visible) ───── */
.js-reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.65s cubic-bezier(0.22, 0.8, 0.22, 1),
              translate 0.65s cubic-bezier(0.22, 0.8, 0.22, 1);
}
.js-reveal.js-visible {
  opacity: 1;
  translate: 0 0;
}

/* ── Marquee: pause on hover (natural breath) ───────────────── */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ── Card: organic lift with green-tinted shadow ────────────── */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(6, 78, 59, 0.10);
}

/* ── Gallery slide: lift + depth on hover ───────────────────── */
.gallery-slide {
  transition: transform 0.38s cubic-bezier(0.22, 0.8, 0.22, 1),
              box-shadow 0.38s ease;
}
.gallery-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(4, 40, 28, 0.22);
}

/* ── Stat value pop after count completes ───────────────────── */
@keyframes stat-pop {
  0%   { scale: 1; }
  50%  { scale: 1.08; }
  100% { scale: 1; }
}
.stat-value.did-pop { animation: stat-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* ── CTA button: slow breathe glow when visible ─────────────── */
@keyframes btn-breathe {
  0%,  100% { box-shadow: 0 0 0 0   color-mix(in oklab, var(--clay) 0%, transparent); }
  50%       { box-shadow: 0 0 0 10px color-mix(in oklab, var(--clay) 18%, transparent); }
}
.btn-clay.btn-breathe { animation: btn-breathe 3.8s ease-in-out infinite; }

/* ── Service tile: spring on open ───────────────────────────── */
.service-tile { transition: background 0.25s, color 0.25s, border-color 0.25s,
                             transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1); }
.service-tile:hover:not(.open) { transform: translateY(-3px); }
.service-tile.open { transform: none; }

/* ── Approach step number: subtle spin on hover ─────────────── */
.approach-step:hover .approach-step-n {
  border-color: var(--clay-2);
  color: var(--clay-2);
  transition: border-color 0.25s, color 0.25s;
}

/* ── Nav link: animated underline ───────────────────────────── */
.nav-link::after {
  content: '';
  position: absolute;
  inset: auto 14px -1px;
  height: 2px;
  background: var(--clay);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active::after { background: var(--cream); }

/* ── Footer hero heading: entrance from below ───────────────── */
.footer-hero .serif {
  animation: footer-rise 0.9s cubic-bezier(0.22, 0.8, 0.22, 1) both;
  animation-play-state: paused;
}
.footer-hero.js-visible .serif { animation-play-state: running; }
@keyframes footer-rise {
  from { opacity: 0; translate: 0 32px; }
  to   { opacity: 1; translate: 0 0; }
}

/* ── Respect prefers-reduced-motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .leaf-deco, .hero-blob,
  .btn-clay.btn-breathe,
  .footer-hero .serif   { animation: none; }
  .js-reveal            { opacity: 1; translate: 0 0; transition: none; }
  .gallery-slide,
  .card, .service-tile  { transition: none; }
}
