/* ==========================================================================
   InstaFarm — Design tokens
   ========================================================================== */
:root {
  --bg-primary: #0A0A0B;
  --bg-secondary: #111113;
  --bg-elevated: #1A1A1D;
  --bg-elevated-hover: #212124;
  --border-subtle: #26262A;

  /* Brand red ramp, all one hue (#B21F24), stepped by saturation/lightness only */
  --if-red-900: #5C1013;
  --if-red-700: #7A171B;
  --if-red-600: #B21F24;   /* true brand red: logo, badges, flat fills */
  --if-red-500: #C92A2A;   /* primary buttons, links: lifted for contrast on dark */
  --if-red-400: #DE3B3B;   /* hover / active state only */
  --if-red-glow: rgba(178, 31, 36, 0.38);

  --if-green: #4CAF6D;

  --text-primary: #F5F5F4;
  --text-secondary: #A8A8AD;
  --text-muted: #6B6B70;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --font-head: 'Space Grotesk', 'Inter', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  --nav-h: 66px;
  --container-w: 1240px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Spacing scale — base 8px, used for the impact section's vertical rhythm */
  --space-xs: 8px;
  --space-sm: 14px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 52px;
  --space-2xl: 76px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: clamp(14px, 0.9vw + 10.5px, 15.5px);
}
body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg { display: block; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--if-red-600);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 68px 0; position: relative; }
.section + .section { border-top: 1px solid transparent; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--if-red-600);
  margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(1.55rem, 1.2rem + 1.7vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 780px;
}
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  margin-top: 18px;
}
.section-body.center { margin-left: auto; margin-right: auto; text-align: center; }

.center { text-align: center; }

/* ==========================================================================
   Glass / cards
   ========================================================================== */
.glass {
  background: rgba(26, 26, 29, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.glass:hover {
  border-color: rgba(178, 31, 36, 0.4);
  box-shadow: 0 0 0 1px rgba(178, 31, 36, 0.14), 0 20px 60px -20px var(--if-red-glow);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 6px;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  position: relative;
}
.btn-primary {
  background: linear-gradient(135deg, var(--if-red-600), var(--if-red-500));
  color: #fff;
  box-shadow: 0 0 0 0 var(--if-red-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--if-red-500), var(--if-red-400));
  box-shadow: 0 14px 40px -8px var(--if-red-glow);
}
.btn-outline {
  background: transparent;
  color: var(--if-red-500);
  border: 1.5px solid var(--if-red-600);
}
.btn-outline:hover {
  background: var(--if-red-400);
  border-color: var(--if-red-400);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  border-color: var(--text-secondary);
  background: var(--bg-elevated-hover);
}
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* magnetic pull handled via inline transform from JS; keep transform transition snappy */
.btn-magnetic { transition: transform 0.15s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease); }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.tag-green { background: rgba(76, 175, 109, 0.15); color: var(--if-green); }
.tag-red { background: rgba(178, 31, 36, 0.16); color: var(--if-red-600); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s var(--ease);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 26px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
  position: relative;
  padding: 4px 0;
}
.nav-links a span { position: relative; display: inline-block; }
.nav-links a span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--if-red-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover span::after { transform: scaleX(1); }
.nav-ctas { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text-primary);
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg-primary);
  z-index: 190;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 24px 48px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 40px 0 56px;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient {
  position: absolute; inset: -10% -10%;
  background:
    radial-gradient(60% 50% at 78% 20%, rgba(178, 31, 36, 0.24), transparent 60%),
    radial-gradient(50% 40% at 15% 85%, rgba(76, 175, 109, 0.08), transparent 60%),
    linear-gradient(180deg, #0A0A0B 0%, #0d0d0e 60%, #0A0A0B 100%);
  will-change: transform;
}
.hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,245,244,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,245,244,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 60% at 60% 30%, black, transparent 80%);
}
.hero-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s var(--ease) 0.3s;
}
.hero.is-visible .hero-arcs { opacity: 1; }
.hero-arc {
  stroke: var(--if-red-600);
  stroke-width: 1.5;
  opacity: 0.16;
}
.hero-arc-particle {
  fill: var(--if-red-400);
  filter: drop-shadow(0 0 4px var(--if-red-glow));
  offset-rotate: 0deg;
  animation: arcTravel 14s linear infinite;
}
.hero-arc-particle-b { animation-duration: 18s; animation-delay: -6s; fill: var(--if-red-500); }
@keyframes arcTravel {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
.hero-earth {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 22%;
  min-height: 140px;
  object-fit: cover;
  object-position: bottom;
  opacity: 0;
  transition: opacity 1.8s var(--ease) 0.9s;
  mask-image: linear-gradient(to bottom, transparent, black 45%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 45%);
  z-index: 0;
}
.hero.is-visible .hero-earth { opacity: 0.5; }
.hero-noise {
  position: absolute; inset: 0;
  opacity: 0.5;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.025 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--if-red-600);
}
.hero-title {
  font-size: clamp(1.6rem, 0.95rem + 2.9vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.hero-highlight { color: var(--if-red-500); }
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: wordIn 0.65s var(--ease) both;
  animation-delay: calc(var(--i) * 55ms + 0.1s);
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.02rem, 0.9rem + 0.5vw, 1.32rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.hero-sub {
  font-size: clamp(0.94rem, 0.9rem + 0.25vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 24px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---- Live AI insight card deck ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.insight-deck {
  position: relative;
  width: min(560px, 100%);
  height: 410px;
  transition: filter 0.4s var(--ease);
}
.insight-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(45% 45% at 55% 45%, var(--if-red-glow), transparent 70%);
  opacity: 0.5;
  z-index: 0;
  transition: opacity 0.4s var(--ease);
}
.insight-deck:hover .insight-glow { opacity: 0.85; }

.insight-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 540px;
  opacity: 0;
  transform: translate(50px, 14px) scale(0.9);
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease), filter 0.35s var(--ease);
}
.insight-card-float { will-change: transform; }
.insight-card.is-front .insight-card-float { animation: cardFloatA 5.5s ease-in-out infinite; }
.insight-card.is-middle .insight-card-float { animation: cardFloatB 6.5s ease-in-out infinite; }
.insight-card.is-back .insight-card-float { animation: cardFloatC 7.5s ease-in-out infinite; }
@keyframes cardFloatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes cardFloatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes cardFloatC { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.insight-card.is-front {
  z-index: 3;
  opacity: 1;
  filter: blur(0);
  transform: translate(0, 0) scale(1) rotate(-2deg);
}
.insight-card.is-middle {
  z-index: 2;
  opacity: 0.75;
  filter: blur(0.5px);
  transform: translate(70px, 35px) scale(0.9) rotate(3deg);
}
.insight-card.is-back {
  z-index: 1;
  opacity: 0.55;
  filter: blur(1px);
  transform: translate(135px, 65px) scale(0.82) rotate(5deg);
}
.insight-deck:hover .insight-card.is-front {
  transform: translate(0, 0) scale(1.015) rotate(0deg);
  filter: blur(0);
}
.insight-deck:hover .insight-card.is-middle { transform: translate(78px, 40px) scale(0.89) rotate(3deg); }
.insight-deck:hover .insight-card.is-back { transform: translate(148px, 74px) scale(0.8) rotate(5deg); opacity: 0.45; }
.insight-deck:hover .insight-card.is-front .insight-graph .graph-line,
.insight-deck:hover .insight-card.is-front .insight-mini-graph { filter: drop-shadow(0 0 8px var(--if-red-glow)); }

.insight-card-surface {
  position: relative;
  padding: 26px 28px;
  background: rgba(15, 15, 16, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}
.insight-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.insight-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--if-red-500);
  box-shadow: 0 0 0 0 rgba(201, 42, 42, 0.6);
  animation: pulseDot 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(201, 42, 42, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(201, 42, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 42, 42, 0); }
}
.crop-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-primary);
}
.crop-icon { width: 14px; height: 14px; color: var(--if-red-500); }

.insight-line {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.insight-line-main { font-size: 1.05rem; color: var(--text-primary); }
.insight-delta { color: var(--if-red-500); font-weight: 700; }

.insight-mini-graph { width: 100%; height: auto; color: var(--if-red-500); opacity: 0.85; }

.insight-graph { width: 100%; height: auto; margin: 6px 0 14px; }
.graph-fill { fill: url(#graphFillGrad); }
.graph-line {
  stroke: var(--if-red-500);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px var(--if-red-glow));
}
.graph-endpoint {
  fill: var(--if-red-400);
  filter: drop-shadow(0 0 6px var(--if-red-glow));
  animation: endpointPulse 2.2s ease-in-out infinite;
}
@keyframes endpointPulse {
  0%, 100% { r: 5; opacity: 1; }
  50% { r: 6.5; opacity: 0.75; }
}

.insight-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s var(--ease), max-height 0.35s var(--ease);
}
.insight-card.is-front .insight-foot { opacity: 1; max-height: 40px; }
.insight-foot-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.dot-green { width: 7px; height: 7px; border-radius: 50%; background: var(--if-green); flex-shrink: 0; }
.insight-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--if-red-500);
  white-space: nowrap;
}
.insight-link span { display: inline-block; transition: transform 0.25s var(--ease); }
.insight-link:hover span { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .insight-card-float { animation: none !important; }
  .hero-arc-particle { animation: none !important; opacity: 0; }
  .graph-endpoint { animation: none !important; }

  /* Rotation still runs (it's a content change), but as a plain crossfade: no slide/rotate/scale */
  .insight-card {
    transform: none !important;
    filter: none !important;
    transition: opacity 0.3s linear;
  }
  .insight-card.is-middle,
  .insight-card.is-back { opacity: 0; }
  .insight-deck:hover .insight-card.is-front,
  .insight-deck:hover .insight-card.is-middle,
  .insight-deck:hover .insight-card.is-back { transform: none !important; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 72px;
  isolation: isolate;
}
.testimonials > .container { position: relative; z-index: 2; }

/* ---- Decorative atmosphere ---- */
.testimonials-arcs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.testimonials-arcs svg { position: absolute; inset: 0; width: 100%; height: 320px; }
.testimonials-arc { stroke: var(--if-red-600); stroke-width: 1.5; opacity: 0.14; }
.testimonials-arc-node {
  position: absolute;
  top: 36px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--if-red-500);
  box-shadow: 0 0 10px 2px var(--if-red-glow);
  opacity: 0.6;
}
.testimonials-arc-node-l { left: 22%; }
.testimonials-arc-node-r { right: 22%; }

.testimonials-script {
  position: absolute;
  top: 0;
  right: 15%;
  z-index: 1;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.05;
  color: var(--if-red-500);
  opacity: 0.22;
  transform: rotate(-4deg);
  text-align: right;
  pointer-events: none;
  margin: 0;
}

.testimonials-corner {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
  line-height: 1.3;
  pointer-events: none;
}
.testimonials-corner::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text-muted);
  opacity: 0.7;
  margin-bottom: 5px;
}
.testimonials-corner-tl { top: 24px; left: 24px; text-align: left; }
.testimonials-corner-r { top: 46%; right: 20px; text-align: right; align-items: flex-end; }
.testimonials-corner-r::before { margin-left: auto; }

/* ---- Header ---- */
.testimonials .eyebrow { color: var(--text-muted); }
.testimonials-accent { color: var(--if-red-500); }

/* ---- Carousel ---- */
.testimonials-carousel {
  position: relative;
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonials-arrow { border-color: rgba(220, 35, 35, 0.5); }
.testimonials-arrow:hover:not(:disabled) { border-color: var(--if-red-400); }

.testimonial-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
}
.testimonial-viewport::-webkit-scrollbar { display: none; }
.testimonial-viewport { scrollbar-width: none; }

.testimonial-track {
  display: flex;
  gap: 24px;
  padding: 4px 2px 8px;
}
.testimonial-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 32px 22px 22px;
  min-height: 200px;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 24px;
  font-family: var(--font-head);
  font-size: 3.6rem;
  font-weight: 700;
  color: rgba(178, 31, 36, 0.4);
  line-height: 1;
  pointer-events: none;
}
.testimonial-quote {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 16px;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-avatar svg { width: 22px; height: 22px; }
.avatar-red { background: rgba(178, 31, 36, 0.18); color: var(--if-red-500); }
.avatar-green { background: rgba(76, 175, 109, 0.16); color: var(--if-green); }
.avatar-amber { background: rgba(240, 194, 76, 0.16); color: #F0C24C; }
.testimonial-person { flex: 1; min-width: 0; }
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }
.testimonial-flag { font-size: 1.3rem; flex-shrink: 0; line-height: 1; }

/* ---- Pagination dots ---- */
.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-subtle);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}
.testimonial-dot.is-active { width: 22px; background: var(--if-red-500); }

/* ==========================================================================
   Partner marquee
   ========================================================================== */
.partner-marquee { padding-top: 40px; padding-bottom: 40px; }
.marquee-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 44px; width: auto; flex-shrink: 0; opacity: 0.85; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Stats band — bento grid
   ========================================================================== */
.stats-band {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.stats-band > .container { position: relative; z-index: 2; }

/* ---- Ambient section texture ---- */
.stats-band-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.stats-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,245,244,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,245,244,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(65% 60% at 50% 40%, black, transparent 85%);
}
.stats-crosshair {
  position: absolute;
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1;
  color: var(--if-red-500);
  opacity: 0.3;
}
.stats-crosshair-tr { top: 56px; right: 5%; }
.stats-crosshair-bl { bottom: 56px; left: 5%; }

/* ---- Decorative corner labels ---- */
.stats-corner-label {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
  line-height: 1.3;
  pointer-events: none;
}
.stats-corner-label::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-muted);
  opacity: 0.7;
  margin-top: 6px;
}
.stats-corner-tl { top: 40px; left: 28px; align-items: flex-start; text-align: left; }
.stats-corner-tr { top: 40px; right: 28px; align-items: flex-end; text-align: right; }
.stats-corner-bl { bottom: 40px; left: 28px; align-items: flex-start; text-align: left; }
.stats-corner-br { bottom: 40px; right: 28px; align-items: flex-end; text-align: right; }
.stats-corner-tr::after, .stats-corner-br::after { margin-left: auto; }

/* ---- Header ---- */
.eyebrow-flanked {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}
.eyebrow-flanked .eyebrow { margin: 0; }
.stats-title { position: relative; z-index: 1; }
.stats-title-accent { color: var(--if-red-500); }

/* ---- Bento grid ---- */
.stats-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  margin-top: 48px;
}
.stat-card-quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: 100%;
}
.stat-card-quad .stat-card { min-height: 170px; }

/* ---- Card anatomy ---- */
.stat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #17171a;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.stats-bento.is-visible .stat-card { opacity: 1; transform: translateY(0) scale(1); }
.stat-card-featured { transition-delay: 0s; }
.stat-card-quad .stat-card:nth-child(1) { transition-delay: 0.12s; }
.stat-card-quad .stat-card:nth-child(2) { transition-delay: 0.2s; }
.stat-card-quad .stat-card:nth-child(3) { transition-delay: 0.28s; }
.stat-card-quad .stat-card:nth-child(4) { transition-delay: 0.36s; }

.stat-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 62%;
  z-index: 0;
  opacity: 0.92;
  filter: brightness(0.86) contrast(0.98) saturate(1.15) sepia(0.08);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease), transform 0.2s var(--ease);
}
.stat-card-overlay {
  --vignette: #141416;
  --field-x: 8%;
  --field-size: 46%;
  --focus-x: 78%;
  --focus-y: 62%;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.02 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    radial-gradient(38% 50% at var(--focus-x) var(--focus-y), rgba(163, 21, 21, 0.12), rgba(163, 21, 21, 0) 75%),
    radial-gradient(var(--field-size) 145% at var(--field-x) 50%, var(--vignette) 0%, rgba(20, 20, 22, 0.82) 30%, rgba(20, 20, 22, 0.28) 55%, rgba(20, 20, 22, 0) 78%),
    linear-gradient(rgba(90, 11, 11, 0.07), rgba(90, 11, 11, 0.07));
  pointer-events: none;
}
.stat-card-featured .stat-card-overlay { --field-x: 5%; --field-size: 58%; --focus-x: 74%; --focus-y: 68%; }

.stat-card-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 18px;
  max-width: 72%;
}
.stat-card-featured .stat-card-body {
  justify-content: space-between;
  padding: 28px 26px;
  max-width: 56%;
}

.stat-card-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.stat-card-index::after {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--text-muted);
  opacity: 0.6;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 1.55rem + 0.85vw, 2.2rem);
  font-weight: 700;
  color: var(--if-red-500);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-number .unit { font-size: 0.65em; }
.stat-number-lg { font-size: clamp(2.55rem, 1.8rem + 2.5vw, 3.6rem); }
.stat-label { font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.stat-desc { color: var(--text-muted); font-size: 0.8rem; }

.stat-card-supporting {
  align-self: flex-end;
  margin-top: 18px;
  text-align: right;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--if-red-500);
}

/* ---- Featured card treatment ---- */
.stat-card-featured {
  border-color: var(--if-red-600);
  animation: statCardGlow 3.6s ease-in-out infinite;
}
@keyframes statCardGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(178, 31, 36, 0.18), 0 0 0 1px rgba(178, 31, 36, 0.35); }
  50% { box-shadow: 0 0 48px rgba(178, 31, 36, 0.4), 0 0 0 1px rgba(178, 31, 36, 0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .stat-card-featured { animation: none; box-shadow: 0 0 28px rgba(178, 31, 36, 0.28), 0 0 0 1px rgba(178, 31, 36, 0.4); }
}

/* ---- Secondary card hover ---- */
.stat-card:not(.stat-card-featured):hover {
  border-color: var(--if-red-600);
  box-shadow: 0 0 32px rgba(178, 31, 36, 0.28);
}
.stat-card:not(.stat-card-featured):hover .stat-card-bg {
  opacity: 1;
  filter: brightness(0.95) contrast(1) saturate(1.22) sepia(0.05);
}

/* ---- Divider + closing CTA ---- */
.stats-divider {
  width: 64px;
  height: 1px;
  background: var(--border-subtle);
  margin: 64px auto 0;
}
.stats-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.stats-cta p { font-size: 1.2rem; font-weight: 600; text-align: center; }

/* ==========================================================================
   Dual panels (Farmers/Buyers)
   ========================================================================== */
.dual-panel {
  position: relative;
  overflow: hidden;
  padding: 92px 0 80px;
  isolation: isolate;
}
.dual-panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-primary);
  background-image: url("../images/farmers-buyers-section-bg.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}
.dual-panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(60% 72% at 50% 46%, rgba(6, 6, 7, 0.84), rgba(6, 6, 7, 0.4) 62%, rgba(6, 6, 7, 0.1) 100%);
}
.dual-panel-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(40% 46% at 50% 40%, rgba(178, 31, 36, 0.14), transparent 72%);
}
.dual-panel-content { position: relative; z-index: 2; }

.dual-panel-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 18px;
}
.dual-panel-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 1.4rem + 1.9vw, 2.55rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto 16px;
}
.dual-panel-accent { color: var(--if-red-500); }
.dual-panel-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 36px;
}

.panel-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.panel-card {
  position: relative;
  padding: 28px 28px;
  border-radius: 24px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.panel-card:hover {
  border-color: rgba(220, 35, 35, 0.55);
  box-shadow: 0 0 32px rgba(178, 31, 36, 0.22);
  transform: translateY(-2px);
}
.panel-card-icon {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(220, 35, 35, 0.4);
  background: rgba(178, 31, 36, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--if-red-500);
}
.panel-card-icon svg { width: 20px; height: 20px; }
.panel-card-accent { color: var(--if-red-500); }
.panel-card-lede { color: var(--text-secondary); font-size: 0.95rem; margin: 0 0 14px; }
.panel-card h3 {
  font-size: 1.5rem;
  margin-bottom: 2px;
  padding-right: 50px;
}
.panel-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.panel-list li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding-left: 24px;
  position: relative;
  line-height: 1.4;
}
.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--if-red-600);
}
/* ==========================================================================
   Why InstaFarm (AI-Driven Features / The B2B Case)
   ========================================================================== */
.why-us {
  background: var(--bg-primary);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 56px;
  align-items: stretch;
}
.why-divider { width: 1px; background: var(--border-subtle); align-self: stretch; }
.why-col { position: relative; }
.why-col-content { position: relative; z-index: 2; }

.why-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 1.4rem + 1.7vw, 2.45rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 16px;
}
.why-subhead { color: var(--text-secondary); font-size: 1rem; max-width: 400px; margin-bottom: 8px; }

/* ---- Ambient dots ---- */
.why-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--if-red-500);
  box-shadow: 0 0 10px 2px var(--if-red-glow);
  z-index: 1;
  opacity: 0;
  animation: whyDotFloat 6s ease-in-out infinite;
  transition: opacity 0.8s var(--ease);
}
.why-us.is-visible .why-dot { opacity: 0.7; }
@keyframes whyDotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.why-dot-a { top: 6%; left: 38%; animation-delay: 0s; }
.why-dot-b { bottom: 34%; right: 8%; animation-delay: -2.2s; }
.why-dot-c { top: 8%; right: 24%; animation-delay: -1.1s; }
.why-dot-d { top: 22%; left: 12%; animation-delay: -3.4s; }
@media (prefers-reduced-motion: reduce) {
  .why-dot { animation: none; }
}

/* ---- Left column: numbered timeline ---- */
.why-timeline { position: relative; margin: 44px 0 40px; }
.why-timeline-track {
  position: relative;
  height: 1px;
  background: var(--border-subtle);
}
.why-timeline-line {
  position: absolute;
  inset: 0;
  background: var(--if-red-500);
  box-shadow: 0 0 8px var(--if-red-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.why-us.is-visible .why-timeline-line { transform: scaleX(1); }
.why-timeline-dots {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.why-timeline-dot {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
}
.why-timeline-index {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--if-red-500);
  margin-bottom: 8px;
  opacity: 0.35;
  transition: opacity 0.4s var(--ease);
}
.why-timeline-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--if-red-500);
  opacity: 0.3;
  transform: scale(0.6);
  box-shadow: 0 0 0 0 transparent;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.why-us.is-visible .why-timeline-index { opacity: 1; }
.why-us.is-visible .why-timeline-mark {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 10px 2px var(--if-red-glow);
}
.why-timeline-dot:nth-child(1) .why-timeline-index, .why-timeline-dot:nth-child(1) .why-timeline-mark { transition-delay: 0.05s; }
.why-timeline-dot:nth-child(2) .why-timeline-index, .why-timeline-dot:nth-child(2) .why-timeline-mark { transition-delay: 0.4s; }
.why-timeline-dot:nth-child(3) .why-timeline-index, .why-timeline-dot:nth-child(3) .why-timeline-mark { transition-delay: 0.75s; }
.why-timeline-dot:nth-child(4) .why-timeline-index, .why-timeline-dot:nth-child(4) .why-timeline-mark { transition-delay: 1.1s; }

/* ---- Left column: feature columns ---- */
.why-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.why-feature {
  padding: 0 18px;
  border-left: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background 0.2s var(--ease);
}
.why-feature:first-child { border-left: none; padding-left: 0; }
.why-us.is-visible .why-feature { opacity: 1; transform: translateY(0); }
.why-features .why-feature:nth-child(1) { transition-delay: 0.05s; }
.why-features .why-feature:nth-child(2) { transition-delay: 0.4s; }
.why-features .why-feature:nth-child(3) { transition-delay: 0.75s; }
.why-features .why-feature:nth-child(4) { transition-delay: 1.1s; }
.why-feature:hover { background: rgba(245, 245, 244, 0.03); }
.why-feature-icon {
  width: 34px;
  height: 34px;
  color: var(--text-primary);
  margin-bottom: 16px;
  transition: color 0.2s var(--ease), filter 0.2s var(--ease);
}
.why-feature:hover .why-feature-icon { color: var(--if-red-400); filter: drop-shadow(0 0 6px var(--if-red-glow)); }
.why-feature h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.why-feature p { color: var(--text-muted); font-size: 0.84rem; line-height: 1.5; }

/* ---- Left column: photo strip ---- */
.why-photo-strip {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center bottom;
}
.why-photo-overlay {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 340px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--bg-primary) 0%,
    var(--bg-primary) 42%,
    rgba(120, 20, 24, 0.55) 66%,
    transparent 100%
  );
}
.why-col-left { padding-bottom: 260px; }

/* ---- Corner labels (shared visual treatment) ---- */
.why-corner-label {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  line-height: 1.3;
  pointer-events: none;
  transition: opacity 1s var(--ease) 1.2s;
}
.why-us.is-visible .why-corner-label { opacity: 0.5; }
.why-corner-label::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-muted);
  opacity: 0.7;
  margin-bottom: 6px;
}
.why-corner-left-bl { left: 0; bottom: 0; }
.why-corner-right-tr {
  top: 0;
  right: 0;
  align-items: flex-end;
  text-align: right;
}
.why-corner-right-tr::before { margin-left: auto; }
.why-corner-right-br {
  bottom: 0;
  right: 0;
  align-items: flex-end;
  text-align: right;
}
.why-corner-right-br::before { margin-left: auto; }

/* ---- Right column ---- */
.why-col-right { display: flex; flex-direction: column; }
.why-watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -0.12em;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: clamp(7.2rem, 5.6rem + 6.4vw, 12rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(178, 31, 36, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s var(--ease) 1.3s;
}
.why-us.is-visible .why-watermark { opacity: 0.4; }

.why-outcomes {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0 36px;
}
.why-outcome {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 12px;
  border-radius: var(--radius-md);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background 0.2s var(--ease);
}
.why-us.is-visible .why-outcome { opacity: 1; transform: translateX(0); }
.why-outcomes .why-outcome:nth-child(1) { transition-delay: 0s; }
.why-outcomes .why-outcome:nth-child(2) { transition-delay: 0.12s; }
.why-outcomes .why-outcome:nth-child(3) { transition-delay: 0.24s; }
.why-outcomes .why-outcome:nth-child(4) { transition-delay: 0.36s; }
.why-outcome:hover { background: rgba(245, 245, 244, 0.03); }
.why-outcome-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(178, 31, 36, 0.4);
  background: var(--bg-elevated);
  color: var(--text-primary);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}
.why-outcome-icon svg { width: 22px; height: 22px; }
.why-outcome:hover .why-outcome-icon {
  border-color: var(--if-red-600);
  box-shadow: 0 0 16px rgba(178, 31, 36, 0.3);
  color: var(--if-red-400);
}
.why-outcome-copy h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.why-outcome-copy p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.5; max-width: 340px; }

/* ==========================================================================
   Impact numbers strip
   ========================================================================== */
.impact-numbers { padding: 64px 0; background: var(--bg-secondary); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.impact-number {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 1.3rem + 0.85vw, 2.05rem);
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.impact-number .unit { font-size: 0.75em; }
.impact-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }

/* ==========================================================================
   Impact / SDG network
   ========================================================================== */
.impact-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding-bottom: 320px;
  isolation: isolate;
}

/* ---- Background layers ---- */
.impact-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.impact-section.is-visible .impact-background { opacity: 1; }

.impact-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,245,244,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,245,244,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(65% 70% at 50% 30%, black, transparent 90%);
}
.impact-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 35% at 20% 15%, rgba(232, 64, 44, 0.12), transparent 65%),
    radial-gradient(45% 35% at 80% 20%, rgba(76, 175, 109, 0.08), transparent 65%);
}
.impact-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 25% 65%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.5px 1.5px at 40% 30%, rgba(232,64,44,0.6), transparent),
    radial-gradient(1px 1px at 55% 75%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 70% 15%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 85% 55%, rgba(232,64,44,0.5), transparent),
    radial-gradient(1.5px 1.5px at 95% 35%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 15% 85%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 60% 90%, rgba(255,255,255,0.35), transparent);
  background-repeat: no-repeat;
}
.impact-earth {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 280px;
  object-fit: cover;
  object-position: bottom;
  opacity: 0;
  transition: opacity 2s var(--ease) 0.4s;
  mask-image: linear-gradient(to bottom, transparent, black 40%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 40%);
}
.impact-section.is-visible .impact-earth { opacity: 0.55; }

/* ---- Header ---- */
.impact-header { position: relative; z-index: 1; }

/* ---- Network ---- */
.impact-network {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-bottom: var(--space-2xl);
}
.impact-connection {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.connection-base {
  stroke: rgba(245, 245, 244, 0.1);
  stroke-width: 1.5;
}
.connection-animated {
  stroke: rgba(232, 64, 44, 0.55);
  stroke-width: 2;
  filter: drop-shadow(0 0 4px rgba(232, 64, 44, 0.5));
  transition: stroke-opacity 0.4s var(--ease);
}
.impact-network.is-hovering .connection-animated { stroke: rgba(232, 64, 44, 0.85); }
.connection-particle {
  fill: #fff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 10px rgba(232, 64, 44, 0.7));
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.impact-network.is-visible .connection-particle { opacity: 1; }

.impact-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  border-radius: var(--radius-lg);
}
.impact-network.is-visible .impact-node:nth-child(2) { transition-delay: 0.35s; }
.impact-network.is-visible .impact-node:nth-child(3) { transition-delay: 0.7s; }
.impact-network.is-visible .impact-node:nth-child(4) { transition-delay: 1.05s; }
.impact-network.is-visible .impact-node:nth-child(5) { transition-delay: 1.4s; }
.impact-network.is-visible .impact-node { opacity: 1; transform: translateY(0); }
.impact-network.is-hovering .impact-node:not(.is-hovered) { opacity: 0.5; }
.impact-node:focus-visible { outline: none; }

.impact-orbit {
  position: absolute;
  top: 0;
  left: 50%;
  width: 194px;
  height: 194px;
  transform: translateX(-50%);
  border: 1px dashed color-mix(in srgb, var(--node-color) 55%, transparent);
  border-radius: 50%;
  opacity: 0.4;
  animation: orbitSpin 50s linear infinite;
  pointer-events: none;
}
@keyframes orbitSpin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

.impact-orb {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--node-color) 35%, transparent));
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}
.impact-orb img { width: 100%; height: 100%; object-fit: contain; }
.impact-node:hover .impact-orb,
.impact-node:focus-within .impact-orb {
  transform: scale(1.05);
  filter: drop-shadow(0 0 34px color-mix(in srgb, var(--node-color) 65%, transparent));
}

.impact-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--node-color);
  background: rgba(10, 10, 11, 0.5);
  border: 1px solid color-mix(in srgb, var(--node-color) 45%, transparent);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.impact-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.impact-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 240px;
  transition: color 0.35s var(--ease);
}
.impact-node:hover .impact-desc,
.impact-node:focus-within .impact-desc { color: var(--text-primary); }

/* ---- Footer: metrics + callout ---- */
.impact-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2xl);
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 780px;
  margin: 0 auto;
}
.impact-metric { text-align: center; }
.impact-metric-number {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 1.55rem + 0.85vw, 2.2rem);
  font-weight: 700;
  color: var(--metric-color, var(--if-red-500));
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.impact-metric-number .unit { font-size: 0.6em; }
.impact-metric-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}

.callout-strip {
  padding: 40px var(--space-xl);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(178,31,36,0.14), rgba(76,175,109,0.08));
  border: 1px solid var(--border-subtle);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.callout-strip p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .impact-orbit { animation: none; }
}

/* ==========================================================================
   Product video walkthrough
   ========================================================================== */
.video-section { background: var(--bg-primary); }
.video-card {
  position: relative;
  max-width: 900px;
  margin: 44px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.65);
}
.video-ambient {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
}
.video-ambient-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  background: var(--if-red-600);
  animation: ambientDrift 12s ease-in-out infinite;
}
.dot-a { width: 220px; height: 220px; top: -60px; left: -40px; animation-delay: 0s; }
.dot-b { width: 180px; height: 180px; bottom: -50px; right: 10%; background: var(--if-green); opacity: 0.18; animation-delay: -4s; }
.dot-c { width: 160px; height: 160px; top: 30%; right: -40px; animation-delay: -8s; }
@keyframes ambientDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.15); }
}
.product-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  display: block;
}
.video-toggle-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 245, 244, 0.2);
  opacity: 0.7;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.video-toggle-btn:hover,
.video-toggle-btn:focus-visible {
  opacity: 1;
  background: var(--if-red-500);
  border-color: var(--if-red-500);
}

/* ==========================================================================
   News carousel
   ========================================================================== */
.news-section { background: var(--bg-primary); }
.news-carousel {
  position: relative;
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.news-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
}
.news-viewport::-webkit-scrollbar { display: none; }
.news-viewport { scrollbar-width: none; }
.news-track {
  display: flex;
  gap: 20px;
  padding: 4px 2px 16px;
}
.news-card {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
}
.news-card-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.news-card-btn:hover, .news-card-btn:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(178, 31, 36, 0.45);
  box-shadow: 0 20px 50px -18px var(--if-red-glow);
  outline: none;
}
.news-thumb { width: 100%; height: 170px; object-fit: cover; }
.news-tag {
  position: absolute;
  top: 148px;
  left: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}
.tag-latest { background: rgba(178, 31, 36, 0.88); color: #fff; }
.tag-trending { background: rgba(76, 175, 109, 0.85); color: #06120a; }
.tag-category { background: rgba(10, 10, 11, 0.85); color: var(--text-primary); border: 1px solid rgba(255, 255, 255, 0.15); }
.news-card-body { display: block; padding: 26px 18px 20px; }
.news-headline {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  margin-bottom: 18px;
  min-height: 54px;
}
.news-author { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-secondary); }

.carousel-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(26, 26, 29, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
  z-index: 2;
}
.carousel-arrow:hover:not(:disabled) {
  background: var(--if-red-400);
  border-color: var(--if-red-400);
  color: #fff;
}
.carousel-arrow:disabled { opacity: 0.35; cursor: default; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  text-align: center;
}
.final-cta .hero-noise { opacity: 0.35; }
.final-cta .container { position: relative; z-index: 1; }
.final-cta .cta-row { justify-content: center; margin-top: 28px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand img { height: 24px; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.footer-socials a:hover { color: #fff; background: var(--if-red-400); border-color: var(--if-red-400); }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 12px; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 6, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 500;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(10,10,11,0.6);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.modal-close:hover { background: var(--if-red-400); }
.modal-image { width: 100%; height: 260px; object-fit: cover; }
.modal-body { padding: 32px; }
.modal-headline { font-size: 1.5rem; margin: 14px 0 16px; }
.modal-meta { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 20px; }
.modal-meta img { width: 32px; height: 32px; border-radius: 50%; }
.modal-date { color: var(--text-muted); }
.modal-date::before { content: "·"; margin-right: 10px; }
.article-placeholder-flag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--if-red-500);
  border: 1px dashed var(--if-red-700);
  width: fit-content;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.modal-article-body { color: var(--text-secondary); font-size: 0.95rem; }
.modal-article-body p { margin-bottom: 16px; line-height: 1.7; }
.modal-article-body h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 14px;
}
.modal-article-body h3:first-child { margin-top: 0; }
.modal-article-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-article-body ul li {
  list-style: disc;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Contact form modal
   ========================================================================== */
.contact-modal { max-width: 520px; }
.contact-modal-body { padding: 34px 30px 30px; }
.contact-modal-title { font-size: 1.6rem; margin: 10px 0 8px; }
.contact-modal-sub { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 28px; }

.form-field { margin-bottom: 18px; }
.form-field label,
.form-field .form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.required-mark { color: var(--if-red-500); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s var(--ease);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--if-red-500); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-error { color: var(--if-red-400); font-size: 0.78rem; margin-top: 6px; }
.form-error-submit { text-align: center; margin: 0 0 14px; }

.role-group { display: flex; gap: 10px; flex-wrap: wrap; }
.role-chip {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.role-chip:hover { border-color: rgba(220, 35, 35, 0.5); color: var(--text-primary); }
.role-chip[aria-checked="true"] {
  background: var(--if-red-600);
  border-color: var(--if-red-600);
  color: #fff;
}

.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::before { animation: none; }
}

.contact-modal-success { padding: 60px 40px; text-align: center; }
.contact-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(76, 175, 109, 0.15);
  color: var(--if-green);
  margin-bottom: 20px;
}
.contact-success-text { font-size: 1.1rem; font-weight: 600; margin-bottom: 26px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-content: flex-start; }
  .testimonial-card { flex-basis: calc((100% - 24px) / 2); }
  .testimonials-corner-r { display: none; }
  .impact-network { gap: 12px; }
  .impact-orbit { width: 160px; height: 160px; }
  .impact-orb { width: 120px; height: 120px; }

  .stats-bento { grid-template-columns: 1fr; }
  .stat-card-featured { min-height: 340px; }
  .stat-card-featured .stat-card-body { max-width: 70%; }
  .stats-corner-label { display: none; }

  .why-us { padding: 76px 0; }
  .why-grid { gap: 32px; }
  .why-features { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .why-feature:nth-child(2) { border-left: 1px solid var(--border-subtle); }
  .why-feature:nth-child(3) { border-left: none; padding-left: 0; }
  .why-col-left { padding-bottom: 220px; }
  .why-photo-strip, .why-photo-overlay { height: 280px; }
  .why-watermark { font-size: clamp(6rem, 4.3rem + 6.8vw, 9.4rem); }
}

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

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .nav-ctas .btn-ghost { display: none; }
  .panel-grid { grid-template-columns: 1fr; }
  .dual-panel-subtitle { margin-bottom: 28px; }
  .panel-card { padding: 36px 28px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .carousel-arrow { width: 40px; height: 40px; }

  .impact-network {
    grid-template-columns: 1fr;
    row-gap: 56px;
    margin-top: 56px;
    padding-bottom: 40px;
  }
  .impact-orbit { width: 180px; height: 180px; }
  .impact-orb { width: 140px; height: 140px; }
  .impact-desc { max-width: 300px; }
  .impact-section { padding-bottom: 380px; }
  .impact-earth { height: 200px; }

  .impact-footer { gap: var(--space-xl); }
  .impact-metrics { grid-template-columns: 1fr; gap: var(--space-lg); max-width: 280px; }
  .callout-strip { padding: 28px 24px; }
  .callout-strip p { max-width: none; }

  .stat-card-quad { grid-template-columns: 1fr; }
  .stat-card-featured { min-height: 280px; }
  .stat-card-featured .stat-card-body,
  .stat-card-body { max-width: 78%; }
  .stat-card-quad .stat-card { min-height: 160px; }

  .insight-deck { height: 340px; }
  .insight-card-surface { padding: 20px 22px; }
  .insight-card.is-middle { transform: translate(45px, 22px) scale(0.9) rotate(3deg); }
  .insight-card.is-back { transform: translate(80px, 40px) scale(0.82) rotate(5deg); }
  .insight-deck:hover .insight-card.is-middle { transform: translate(50px, 25px) scale(0.89) rotate(3deg); }
  .insight-deck:hover .insight-card.is-back { transform: translate(88px, 46px) scale(0.8) rotate(5deg); opacity: 0.45; }

  .testimonials { padding-top: 48px; padding-bottom: 48px; }
  .testimonials-script,
  .testimonials-corner,
  .testimonials-arcs { display: none; }
  .testimonial-card { flex-basis: 100%; padding: 40px 24px 26px; }
  .testimonials-carousel { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
  .testimonial-viewport { order: 1; flex-basis: 100%; }
  .testimonials-arrow { order: 2; }

  .why-us { padding: 52px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 0; }
  .why-divider { display: none; }
  .why-col-right { margin-top: 64px; }
  .why-subhead { max-width: none; }

  .why-timeline { display: none; }
  .why-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 26px;
    border-left: 1px solid var(--border-subtle);
  }
  .why-feature { position: relative; border-left: none; padding: 0; }
  .why-feature::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--if-red-500);
    box-shadow: 0 0 8px var(--if-red-glow);
  }

  .why-col-left { padding-bottom: 170px; }
  .why-photo-strip, .why-photo-overlay { height: 190px; }

  .why-corner-label, .why-watermark { display: none; }

  .why-outcome-copy p { max-width: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .stat-card-overlay { --field-x: 26%; --field-size: 66%; }
  .stat-card-body,
  .stat-card-featured .stat-card-body { max-width: 88%; padding: 20px 18px; }
  .stat-card-index { margin-bottom: 12px; }
  .stat-card-supporting { margin-top: 12px; }

  .insight-deck { width: 86vw; height: 300px; }
  .insight-card { max-width: 100%; }
  .insight-card-surface { padding: 18px 20px; border-radius: 20px; }
  .insight-card.is-front { transform: translate(0, 0) scale(1) rotate(-2deg); }
  .insight-card.is-middle { transform: translate(18px, 14px) scale(0.9) rotate(3deg); }
  .insight-card.is-back { transform: translate(32px, 26px) scale(0.82) rotate(5deg); }
  .insight-deck:hover .insight-card.is-front { transform: translate(0, 0) scale(1.015) rotate(0deg); }
  .insight-deck:hover .insight-card.is-middle { transform: translate(20px, 16px) scale(0.89) rotate(3deg); }
  .insight-deck:hover .insight-card.is-back { transform: translate(36px, 30px) scale(0.8) rotate(5deg); opacity: 0.45; }
  .insight-line-main { font-size: 0.95rem; }
  .insight-graph { margin: 4px 0 10px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .nav-ctas { gap: 8px; }
  .nav-ctas .btn-sm { padding: 9px 14px; font-size: 0.8rem; }
  .news-card { width: 82vw; }
  .modal-body { padding: 22px; }
  .contact-modal-body { padding: 30px 22px 26px; }
  .contact-modal-success { padding: 44px 22px; }
  .impact-orbit { width: 150px; height: 150px; }
  .impact-orb { width: 116px; height: 116px; }
}
