/* ── TYPE ───────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--heading-text);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-cta-primary);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  min-height: 50px;
  box-shadow: 0 2px 12px rgba(234, 84, 85, 0.25);
  transition: background 0.2s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 84, 85, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline: 2.5px solid var(--red-500);
  outline-offset: 3px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--heading-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  border: 1.5px solid rgba(0, 0, 0, 0.18);
  cursor: pointer;
  min-height: 50px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-secondary:focus-visible {
  outline: 2.5px solid var(--charcoal);
  outline-offset: 3px;
}

/* Dark-context button variants */
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-cta-primary);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  min-height: 54px;
  box-shadow: 0 2px 12px rgba(234, 84, 85, 0.3);
  transition: background 0.2s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-primary-dark:hover {
  background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(234, 84, 85, 0.35);
}

.btn-primary-dark:active {
  transform: translateY(0);
}

.btn-primary-dark:focus-visible {
  outline: 2.5px solid var(--off-white);
  outline-offset: 3px;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0 2rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  height: 48px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:active {
  transform: translateY(0);
}

.btn-outline-light:focus-visible {
  outline: 2.5px solid var(--charcoal);
  outline-offset: 3px;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  --hero-content-h: calc(100svh - 64px);
  min-height: 100svh;
  background: #fff;
  padding-top: 64px;
  overflow-x: clip;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
  min-height: var(--hero-content-h);
  align-items: stretch;
}

.hero-left-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2.5rem 0;
  position: relative;
  z-index: 2;
  container-type: inline-size;
  transform: translateY(-7.5%); /* lift left-col content above true center */
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: heroFadeUp 0.6s ease 0.1s forwards;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cta-primary);
  flex-shrink: 0;
}

.hero h1 {
  /* Sized so line 2 ("deserve to find you.") fills the left column width.
     11.1cqi ≈ col-width × 11.1% — empirically matches line 2 width to col width. */
  font-size: clamp(2.4rem, 11.1cqi, 5.4rem);
  font-weight: 800;
  color: var(--heading-text);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  hyphens: none;
  -webkit-hyphens: none;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  animation: heroFadeUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.hero-br-2 { display: none; }

/* ── Rotating Text ──────────────────────────────────────── */
.rotating-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.1em; /* matches h1 line-height */
  color: var(--color-brand);
  /* width set dynamically by JS */
}

/* width transition enabled after initial paint */
.rotating-text.rt-ready {
  transition: width 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.rotating-text[data-mode="flip"] {
  perspective: 600px;
}

.rotating-text-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Keyframes — enter */
@keyframes rt-slide-enter  { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes rt-fade-enter   { from { opacity: 0; } to { opacity: 1; } }
@keyframes rt-blur-enter   { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: blur(0px); } }
@keyframes rt-flip-enter   { from { transform: rotateX(90deg); opacity: 0; } to { transform: rotateX(0deg); opacity: 1; } }
@keyframes rt-drop-enter   { from { transform: translateY(-80%) scale(0.8); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

/* Keyframes — exit */
@keyframes rt-slide-exit   { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }
@keyframes rt-fade-exit    { from { opacity: 1; } to { opacity: 0; } }
@keyframes rt-blur-exit    { from { opacity: 1; filter: blur(0px); } to { opacity: 0; filter: blur(12px); } }
@keyframes rt-flip-exit    { from { transform: rotateX(0deg); opacity: 1; } to { transform: rotateX(-90deg); opacity: 0; } }
@keyframes rt-drop-exit    { from { transform: translateY(0) scale(1); opacity: 1; } to { transform: translateY(80%) scale(0.8); opacity: 0; } }

.rotating-text-word.rt-entering {
  animation-name: var(--rt-enter);
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  animation-fill-mode: forwards;
}

.rotating-text-word.rt-exiting {
  animation-name: var(--rt-exit);
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  animation-fill-mode: forwards;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal);
  max-width: 48ch;
  margin: 0 0 2rem;
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s ease 0.4s forwards;
}

/* ── HERO CTA ROW (left column) ── */
.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 0.85rem;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.75s ease 0.55s forwards;
}
.hero-cta-buttons .btn-outline-light {
  border-color: rgba(20, 20, 15, 0.18);
}
.hero-cta-buttons .btn-outline-light:hover {
  border-color: rgba(20, 20, 15, 0.32);
}
.hero-cta-subtext {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: left;
  margin: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeUp 0.75s ease 0.65s forwards;
}

/* ── HERO RIGHT COLUMN — image grid + floating stat cards ── */
.hero-right-col {
  position: relative;
  align-self: stretch;
  min-height: var(--hero-content-h);
}

/* Clip + fade mask: aggressive eased fade band at top and bottom */
.hero-image-grid-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom,
    rgba(0,0,0,0)    0,
    rgba(0,0,0,0.15) 16px,
    rgba(0,0,0,0.55) 40px,
    rgba(0,0,0,0.85) 72px,
    #000             96px,
    #000             calc(100% - 96px),
    rgba(0,0,0,0.85) calc(100% - 72px),
    rgba(0,0,0,0.55) calc(100% - 40px),
    rgba(0,0,0,0.15) calc(100% - 16px),
    rgba(0,0,0,0)    100%);
  mask-image: linear-gradient(to bottom,
    rgba(0,0,0,0)    0,
    rgba(0,0,0,0.15) 16px,
    rgba(0,0,0,0.55) 40px,
    rgba(0,0,0,0.85) 72px,
    #000             96px,
    #000             calc(100% - 96px),
    rgba(0,0,0,0.85) calc(100% - 72px),
    rgba(0,0,0,0.55) calc(100% - 40px),
    rgba(0,0,0,0.15) calc(100% - 16px),
    rgba(0,0,0,0)    100%);
}

.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.hero-image-grid-col {
  position: relative;
  overflow: hidden;
}

.hero-image-grid-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero-image-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  background: var(--off-white);
}

/* Desktop — 4-cycle variation in image HEIGHT (width is fixed by col).
   Aspect ratios go from tall to short for visual rhythm. */
.hero-image-grid-track img:nth-child(4n+1) { aspect-ratio: 3 / 4; }   /* tallest */
.hero-image-grid-track img:nth-child(4n+2) { aspect-ratio: 4 / 5; }
.hero-image-grid-track img:nth-child(4n+3) { aspect-ratio: 1 / 1; }   /* square */
.hero-image-grid-track img:nth-child(4n+4) { aspect-ratio: 5 / 4; }   /* shortest */
/* Up-column gets a phase-shifted pattern so the two cols don't sync up */
.hero-image-grid-col[data-dir="up"] .hero-image-grid-track img:nth-child(4n+1) { aspect-ratio: 4 / 5; }
.hero-image-grid-col[data-dir="up"] .hero-image-grid-track img:nth-child(4n+2) { aspect-ratio: 5 / 4; }
.hero-image-grid-col[data-dir="up"] .hero-image-grid-track img:nth-child(4n+3) { aspect-ratio: 3 / 4; }
.hero-image-grid-col[data-dir="up"] .hero-image-grid-track img:nth-child(4n+4) { aspect-ratio: 1 / 1; }

/* ── FLOATING STAT CARDS ── */
.hero-stat-card {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 0.95rem 1.15rem 1rem;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 6px 14px rgba(0, 0, 0, 0.08),
    0 24px 56px rgba(0, 0, 0, 0.18);
  font-family: 'Plus Jakarta Sans', sans-serif;
  z-index: 5;
  min-width: 188px;
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeUp 0.7s ease forwards;
}

.hero-stat-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.45rem;
}

.hero-stat-card-head span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.005em;
}

.hero-stat-card-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

/* Inline-SVG duotone: bg = lighter brand-100 fill, fg = brand-500 details */
.hero-stat-card-icon--blue   .icon-bg { fill: var(--blue-100); }
.hero-stat-card-icon--blue   .icon-fg { fill: var(--blue-500); }
.hero-stat-card-icon--yellow .icon-bg { fill: var(--yellow-100); }
.hero-stat-card-icon--yellow .icon-fg { fill: var(--yellow-500); }
.hero-stat-card-icon--green  .icon-bg { fill: var(--green-100); }
.hero-stat-card-icon--green  .icon-fg { fill: var(--color-brand); }

/* Stroke-style icon variant (e.g. yellow heart) — fill body + stroke outline */
.hero-stat-card-icon--yellow.hero-stat-card-icon--stroke .icon-stroke {
  fill: var(--yellow-100);
  stroke: var(--yellow-500);
}

.hero-stat-card-num {
  font-size: 2.31rem; /* +25% from 1.85rem */
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--heading-text);
}

.hero-stat-card-num--green  { color: var(--color-brand); }
.hero-stat-card-num--blue   { color: var(--blue-500); }
.hero-stat-card-num--yellow { color: var(--yellow-500); }

.hero-stat-card-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.2rem;
}

.hero-stat-card-badge {
  display: block;
  width: 112px;
  height: auto;
  margin: 0.5rem auto 0;
}

/* Card positions — anchored to .hero-right-col */
.hero-stat-card--1 {
  top: 8%;
  left: -10%;
  animation-delay: 0.7s;
}
.hero-stat-card--2 {
  top: 44%;
  right: -10%;
  animation-delay: 0.85s;
}
.hero-stat-card--3 {
  top: 72%;
  left: -8%;
  animation-delay: 1s;
}


/* Mockup card (mini Google Ads browser) */
.hero-marquee-card--mockup {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 280px;
  display: flex;
  flex-direction: column;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.mmock-chrome {
  background: #f1f3f4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mmock-dots {
  display: flex;
  gap: 4px;
}

.mmock-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
}

.mmock-url {
  background: #fff;
  border-radius: 4px;
  padding: 0.18rem 0.5rem;
  font-size: 0.48rem;
  color: #5f6368;
  white-space: nowrap;
  overflow: hidden;
}

.mmock-search {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  margin: 0.5rem 0.65rem;
  padding: 0.28rem 0.6rem;
}

.mmock-search svg {
  width: 9px;
  height: 9px;
  color: #5f6368;
  flex-shrink: 0;
}

.mmock-search span {
  font-size: 0.5rem;
  color: #202124;
}

.mmock-results {
  padding: 0.25rem 0.65rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mmock-result {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mmock-result:last-child {
  border-bottom: none;
}

.mmock-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.mmock-fav {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--color-brand);
  color: var(--off-white);
  font-size: 0.38rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.mmock-domain {
  font-size: 0.44rem;
  color: #3c4043;
}

.mmock-badge {
  font-size: 0.38rem;
  font-weight: 600;
  color: #006621;
  border: 0.5px solid #006621;
  border-radius: 2px;
  padding: 0 2px;
  line-height: 1.4;
}

.mmock-headline {
  font-size: 0.52rem;
  font-weight: 600;
  color: #1a0dab;
  margin-bottom: 1px;
  line-height: 1.3;
}

.mmock-desc {
  font-size: 0.44rem;
  color: #4d5156;
  line-height: 1.4;
}

.mmock-result--organic {
  opacity: 0.4;
}

.mmock-result--organic .mmock-headline {
  font-weight: 400;
}

/* ── PLACEHOLDER — kept for potential reuse ── */
.browser-chrome {
  background: #f1f3f4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot:nth-child(1) {
  background: #ff5f57;
}

.browser-dot:nth-child(2) {
  background: #ffbd2e;
}

.browser-dot:nth-child(3) {
  background: #28c840;
}

.browser-url {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.72rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 5px;
}

.browser-url svg {
  width: 11px;
  height: 11px;
  color: var(--color-brand);
  flex-shrink: 0;
}

/* Google search bar inside browser */
.google-searchbar {
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.gsearch-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 24px;
  padding: 0.5rem 1rem;
  background: #fff;
}

.gsearch-inner svg {
  width: 17px;
  height: 17px;
  color: #4285f4;
  flex-shrink: 0;
}

.gsearch-text {
  font-size: 0.85rem;
  color: var(--charcoal);
}

.gsearch-text span {
  color: var(--muted);
}

/* Ad result cards */
.google-results {
  padding: 0.75rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gresult {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.gresult:last-child {
  border-bottom: none;
}

.gresult-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.gresult-favicon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: var(--off-white);
  font-weight: 700;
  flex-shrink: 0;
}

.gresult-domain {
  font-size: 0.72rem;
  color: #3c4043;
}

.gresult-ad-badge {
  font-size: 0.62rem;
  font-weight: 600;
  color: #006621;
  border: 1px solid #006621;
  border-radius: 3px;
  padding: 0px 3px;
  line-height: 1.6;
}

.gresult-headline {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a0dab;
  margin-bottom: 3px;
  line-height: 1.3;
}

.gresult-headline.active {
  color: #1a0dab;
}

.gresult-desc {
  font-size: 0.75rem;
  color: #4d5156;
  line-height: 1.5;
}

/* organic result (dimmed) */
.gresult.organic .gresult-headline {
  color: #1a0dab;
  font-weight: 400;
}

.gresult.organic {
  opacity: 0.45;
}

/* label below browser */
.google-caption {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.02em;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
  }
}

/* ── SECTION BASE ───────────────────────────────────────── */
.section {
  padding: 10rem 0;
}

.section-warm {
  background: var(--warm-white);
}

.section-dark {
  background: var(--green-900);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '—';
  flex-shrink: 0;
  color: var(--green-light);
}

.section-dark .eyebrow {
  color: var(--green-300);
}

.section-dark .eyebrow::before {
  background: var(--green-300);
}

.section-h {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--heading-text);
  margin-bottom: 0.75rem;
  max-width: 70vw;
}

.section-dark .section-h {
  color: var(--off-white);
}

.section-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 58ch;
}

.section-dark .section-sub {
  color: var(--green-200);
}

/* ── STAKES / PAIN ──────────────────────────────────────── */
.stakes-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.stakes-left {
  position: sticky;
  top: 10rem;
}

.stakes-left .section-h {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.stakes-left .section-sub {
  margin-top: 0.75rem;
  max-width: 440px;
}

.pain-list {
  display: flex;
  flex-direction: column;
}

.pain-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.pain-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.pain-n {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-300);
  letter-spacing: 0.04em;
  min-width: 28px;
  margin-top: 3px;
}

.pain-text {
  font-size: 1.15rem;
  color: var(--charcoal);
  line-height: 1.65;
  max-width: 34ch;
}

/* ── CONVICTION CARD ────────────────────────────────────── */
.stakes-conviction-card {
  background: var(--off-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.75rem 2.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.05);
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.stakes-conviction-card p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-500);
  line-height: 1.7;
  margin: 0;
}

/* ── VALUE PROP ─────────────────────────────────────────── */
.value-header {
  margin-bottom: 3.5rem;
}

.value-header .section-sub {
  max-width: 640px;
  margin-top: 0.75rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  margin-bottom: 0;
}

.benefit-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  border-color: rgba(42, 96, 65, 0.18);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Content above animated fill */
.benefit-card>*:not(.animbg-fill),
.service-card>*:not(.animbg-fill) {
  position: relative;
  z-index: 1;
}

/* Animated background fill — injected by JS into each card */
.animbg-fill {
  position: absolute;
  inset: 0;
  background: var(--green-50);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.18s ease;
}

/* Card top row: icon + step label + heading side by side */
.benefit-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.benefit-card-top-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--green-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-card:hover .benefit-icon {
  background: var(--color-brand);
  color: var(--off-white);
  transition: background 0.3s ease, color 0.3s ease;
}

.benefit-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.benefit-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading-text);
  margin-bottom: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.benefit-card p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Icon Animations (always running) ─────────────────── */
@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes iconRotate {
  0% { transform: rotate(0deg); }
  37.5% { transform: rotate(180deg); }
  62.5% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

@keyframes iconCheck {
  0%, 10% { stroke-dashoffset: 24; }
  50%, 100% { stroke-dashoffset: 0; }
}

.icon-pulse .pulse-dot {
  animation: iconPulse 1.5s ease-in-out infinite;
  transform-origin: center;
}

.icon-rotate {
  animation: iconRotate 2s ease-in-out infinite;
  transform-origin: center;
}

.icon-check polyline {
  stroke-dasharray: 24;
  animation: iconCheck 1.5s ease infinite;
}

/* ── Clarify strip ──────────────────────────────────────── */
.value-clarify-strip {
  margin-top: 3.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 6px 16px rgba(0, 0, 0, 0.04);
}

.value-clarify-strip p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-brand);
  line-height: 1.7;
  flex: 1;
  max-width: 58ch;
}

.value-clarify-strip .btn-slide {
  flex-shrink: 0;
}

.value-cta {
  text-align: center;
}

/* ── SERVICES ───────────────────────────────────────────── */
.services-header {
  margin-bottom: 3rem;
}

.services-header .section-sub {
  max-width: 58ch;
  margin-top: 0.75rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  position: relative;
}

.service-card {
  padding: 2.25rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 34ch;
}

.services-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.75rem;
}

/* ── Motion button (tertiary) ───────────────────────────── */
.motion-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  padding: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
  text-decoration: none;
  min-height: 44px;
  overflow: hidden;
}

/* Expanding fill pill */
.motion-btn-dot {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 36px;
  border-radius: 100px;
  background: var(--color-brand);
  z-index: 0;
  transition: width 0.5s ease;
  pointer-events: none;
}

.motion-btn:hover .motion-btn-dot {
  width: calc(100% - 8px);
}

/* Arrow icon — sits inside the pill, shifts right on hover */
.motion-btn-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--off-white);
  transition: transform 0.5s ease;
}

.motion-btn:hover .motion-btn-icon {
  transform: translateX(0.35rem);
}

.motion-btn-icon svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Label — stays above the expanding pill, turns white on hover */
.motion-btn-label {
  position: relative;
  z-index: 1;
  padding: 0 14px 0 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--heading-text);
  transition: color 0.5s ease;
}

.motion-btn:hover .motion-btn-label {
  color: var(--off-white);
}

.motion-btn:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: 100px;
}

/* Legacy aliases — keep for any remaining refs */
.text-link { display: none; }
.case-link { display: none; }

/* ── APPROACH DARK CARDS ────────────────────────────────── */
.approach-dark {
  background: var(--green-900);
  padding: 5.5rem 0 5rem;
}

.approach-dark-hdr {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.approach-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.approach-eyebrow::before {
  content: '—';
  flex-shrink: 0;
}

.approach-dark-h {
  color: var(--off-white);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.approach-dark-body {
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.75;
  font-size: 1rem;
}

/* Cards row */
.approach-exp-cards {
  display: flex;
  gap: 8px;
  height: 400px;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.approach-exp-card {
  flex: 1 0 0;
  min-width: 90px;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: flex 0.62s cubic-bezier(0.32, 0.72, 0, 1),
              border-color 0.3s ease;
}

.approach-exp-card:focus-visible {
  border-color: var(--green-500);
  box-shadow: 0 0 0 2px rgba(42, 96, 65, 0.4);
}

.approach-exp-card.is-active {
  flex: 4 0 0;
  border-color: rgba(255, 255, 255, 0.12);
}
@media (min-width: 1025px) {
  .approach-exp-card.is-active {
    max-width: calc(44ch + 3.5rem);
  }
}

/* Idle state (collapsed) */
.aec-idle {
  position: absolute;
  inset: 0;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  transition: opacity 0.2s ease;
}

.approach-exp-card.is-active .aec-idle {
  opacity: 0;
  pointer-events: none;
}

.aec-num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.aec-idle-title {
  color: var(--off-white);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Expanded state */
.aec-expanded {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.approach-exp-card.is-active .aec-expanded {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s ease 0.22s;
}

/* Visual area */
.aec-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Text */
.aec-body {
  padding: 0 1.75rem 0.75rem;
}

.aec-num-active {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-light);
  margin-bottom: 0.35rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.aec-body h3 {
  color: var(--off-white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.aec-body p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 44ch;
}

/* Progress bar */
.aec-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  margin: 0.6rem 1.75rem 1.4rem;
  border-radius: 2px;
  overflow: hidden;
}

.aec-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--green-500);
  border-radius: 2px;
}

/* ── Visual: Discovery ──────────────────────────────────── */
.vis-discovery {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Subtle dot-grid background */
.vis-discovery::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(85,128,103,0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 100%);
}

.vis-disc-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vis-disc-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--green-500);
  opacity: 0;
}

.vis-disc-ring.r1 { width: 70px;  height: 70px; }
.vis-disc-ring.r2 { width: 140px; height: 140px; }
.vis-disc-ring.r3 { width: 220px; height: 220px; }

@keyframes disc-ping {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

.approach-exp-card.is-active .vis-disc-ring.r1 {
  animation: disc-ping 2.2s ease-out infinite;
}
.approach-exp-card.is-active .vis-disc-ring.r2 {
  animation: disc-ping 2.2s ease-out 0.55s infinite;
}
.approach-exp-card.is-active .vis-disc-ring.r3 {
  animation: disc-ping 2.2s ease-out 1.1s infinite;
}

.vis-disc-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(42, 96, 65, 0.15);
  border: 2px solid var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  color: var(--green-400);
}

.vis-disc-badge svg { width: 22px; height: 22px; }

/* ── Visual: Strategy ───────────────────────────────────── */
.vis-strategy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 1.25rem 1.5rem;
}

.vis-kw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2px;
  opacity: 0;
  transition: opacity 0.3s ease 0.4s;
}

.approach-exp-card.is-active .vis-kw-header { opacity: 1; }

.vis-kw-header-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.vis-kw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  opacity: 0;
  transform: translateX(-14px);
}

.approach-exp-card:not(.is-active) .vis-kw-row {
  opacity: 0;
  transform: translateX(-14px);
  transition: none;
}

@keyframes kw-in {
  to { opacity: 1; transform: translateX(0); }
}

.approach-exp-card.is-active .vis-kw-row {
  animation: kw-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards var(--d, 0s);
}

.vis-kw-pill {
  background: rgba(42, 96, 65, 0.25);
  border: 1px solid rgba(42, 96, 65, 0.5);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}

.vis-kw-score {
  color: var(--green-400);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Visual: Launch (animated chart) ───────────────────── */
.vis-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
  flex-shrink: 0;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(85, 128, 103, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(85, 128, 103, 0); transform: scale(1.15); }
}

.approach-exp-card.is-active .vis-live-dot {
  animation: live-pulse 1.6s ease-in-out infinite;
}

.approach-exp-card:not(.is-active) .vis-live-dot { animation: none; }

.vis-live-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-400);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Chart container fills the visual area */
.vis-chart {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Layer 1 — sliding bar columns (double-wide SVG slides left on active) */
/* Looping keyframes — bars slide left to reveal growth trend */
@keyframes chart-bars-loop {
  0%   { transform: translateX(0);    animation-timing-function: cubic-bezier(0.6, 0.6, 0, 1); }
  38%  { transform: translateX(-50%); animation-timing-function: linear; }
  62%  { transform: translateX(-50%); animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  100% { transform: translateX(0); }
}

/* Looping keyframes — overlay slides off to reveal line chart */
@keyframes chart-overlay-loop {
  0%   { transform: translateX(0);    animation-timing-function: cubic-bezier(0.6, 0.6, 0, 1); }
  38%  { transform: translateX(100%); animation-timing-function: linear; }
  62%  { transform: translateX(100%); animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  100% { transform: translateX(0); }
}

.vis-chart-l1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.approach-exp-card:not(.is-active) .vis-chart-l1 {
  transform: translateX(0);
  transition: transform 0.4s ease;
}

.approach-exp-card.is-active .vis-chart-l1 {
  animation: chart-bars-loop 3s infinite;
}

.vis-chart-bars-svg {
  width: 100%;
  height: 100%;
}

/* Layer 2 — line chart revealed by sliding gradient overlay */
.vis-chart-l2 {
  position: absolute;
  inset: 0;
}

.vis-chart-line-svg {
  width: 100%;
  height: 100%;
}

.vis-chart-l2-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to right, transparent 0%, var(--green-900) 22%);
}

.approach-exp-card:not(.is-active) .vis-chart-l2-overlay {
  transform: translateX(0);
  transition: transform 0.4s ease;
}

.approach-exp-card.is-active .vis-chart-l2-overlay {
  animation: chart-overlay-loop 3s infinite;
}

/* Grid overlay */
.vis-chart-grid {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 50%, transparent 100%);
  pointer-events: none;
}

/* Radial glow from bottom */
.vis-chart-glow {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(ellipse 80% 50% at 50% 110%, rgba(85,128,103,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Live badge over chart */
.vis-chart-live {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(8,19,13,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  border: 1px solid rgba(85,128,103,0.35);
}

/* ── Visual: Ongoing ────────────────────────────────────── */
.vis-ongoing {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative stat chips around the ring */
.vis-ongoing-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vis-ongoing-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(58,122,80,0.18);
  border: 1px solid rgba(85,128,103,0.3);
  border-radius: 20px;
  padding: 0.22rem 0.6rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.approach-exp-card.is-active .vis-ongoing-chip {
  opacity: 1;
}

.vis-ongoing-chip:nth-child(1) { top: 18%; left: 4%; transition-delay: 0.3s; }
.vis-ongoing-chip:nth-child(2) { top: 18%; right: 4%; transition-delay: 0.4s; }
.vis-ongoing-chip:nth-child(3) { bottom: 20%; left: 4%; transition-delay: 0.5s; }
.vis-ongoing-chip:nth-child(4) { bottom: 20%; right: 4%; transition-delay: 0.6s; }

.vis-ongoing-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  flex-shrink: 0;
}

.vis-ongoing-chip-text {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green-300);
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.vis-ring-svg {
  width: 185px;
  height: 185px;
  flex-shrink: 0;
}

.vis-ring-arc {
  stroke-dasharray: 276.46;
  stroke-dashoffset: 276.46;
  transition: none;
}

@keyframes ring-arc {
  0%   { stroke-dashoffset: 276.46; }
  68%  { stroke-dashoffset: 0; }
  88%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 276.46; }
}

.approach-exp-card.is-active .vis-ring-arc {
  animation: ring-arc 3.8s ease-in-out infinite;
}

.approach-exp-card:not(.is-active) .vis-ring-arc {
  animation: none;
  stroke-dashoffset: 276.46;
}

.vis-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.vis-ring-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--off-white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1;
}

.vis-ring-unit {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-400);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── BENTO GRID (EXPECT section) ────────────────────────── */
.expect-header {
  text-align: left;
  margin-bottom: 3rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .bento-grid {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

.bento-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.05);
  grid-column: span 6;
}

@media (min-width: 640px) {
  .bento-card--half {
    grid-column: span 3;
  }
}

@media (max-width: 639px) {
  .bento-card-bc {
    grid-column: span 3;
  }
}

@media (min-width: 1024px) {
  .bento-card--2 {
    grid-column: span 2;
  }

  .bento-card--3 {
    grid-column: span 3;
  }
}

/* Card A — hero stat ($10k) */
.bento-card-a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 1.75rem 2rem;
  min-height: 230px;
  position: relative;
}

.bento-a-top {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bento-a-label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.bento-a-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 8px;
}

.bento-a-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bento-a-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.bento-a-row-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.bento-a-row-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--heading-text);
  letter-spacing: -0.02em;
}

.bento-a-track {
  height: 8px;
  border-radius: 99px;
  background: var(--green-50);
  overflow: hidden;
}

.bento-a-fill {
  height: 100%;
  border-radius: 99px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-a-fill--unmanaged {
  background: rgba(0, 0, 0, 0.12);
  width: 3%;
}

.bento-a-fill--managed {
  background: rgba(0, 0, 0, 0.18);
  width: 70%;
}

.bento-a-fill--onepct {
  background: var(--green-light);
  width: 90%;
}

.bento-card-a.bd-entered .bento-a-fill {
  transform: scaleX(1);
}

.bento-card-a.bd-entered .bento-a-fill--managed {
  transition-delay: 0.2s;
}

.bento-card-a.bd-entered .bento-a-fill--onepct {
  transition-delay: 0.4s;
}

.bento-a-stat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--green-500);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 0.25rem;
}

/* Cards B & C — medium stats */
.bento-card-bc {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bento-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.bento-icon-ring::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.bento-icon-ring svg {
  width: 20px;
  height: 20px;
  color: var(--charcoal);
}

.bento-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--heading-text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.bento-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Card D — 100% compliance */
.bento-card-d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.bento-d-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
  height: 100%;
}

.bento-d-visual {
  position: relative;
  height: 100%;
  min-height: 180px;
  border-left: 1px solid rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.bento-check-list {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem;
}

.bento-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.bento-check-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--green-500);
}

.bento-check-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Card E — ruixen stats chart */
@keyframes bd-line-loop {
  0%   { stroke-dashoffset: 900; opacity: 1; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  42%  { stroke-dashoffset: 0;   opacity: 1; animation-timing-function: linear; }
  58%  { stroke-dashoffset: 0;   opacity: 1; animation-timing-function: ease-in; }
  70%  { stroke-dashoffset: 0;   opacity: 0; animation-timing-function: step-start; }
  71%  { stroke-dashoffset: 900; opacity: 0; animation-timing-function: linear; }
  100% { stroke-dashoffset: 900; opacity: 0; }
}

@keyframes bd-fill-loop {
  0%   { opacity: 0; animation-timing-function: linear; }
  30%  { opacity: 0; animation-timing-function: ease-out; }
  50%  { opacity: 1; animation-timing-function: linear; }
  58%  { opacity: 1; animation-timing-function: ease-in; }
  70%  { opacity: 0; animation-timing-function: linear; }
  100% { opacity: 0; }
}

@keyframes bd-dot-loop {
  0%   { opacity: 0; transform: scale(0); animation-timing-function: linear; }
  35%  { opacity: 0; transform: scale(0); animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
  50%  { opacity: 1; transform: scale(1); animation-timing-function: linear; }
  60%  { opacity: 1; transform: scale(1); animation-timing-function: ease-in; }
  70%  { opacity: 0; transform: scale(0); animation-timing-function: linear; }
  100% { opacity: 0; transform: scale(0); }
}

@keyframes bd-hero-loop {
  0%   { opacity: 0; transform: translateY(12px); animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
  38%  { opacity: 1; transform: translateY(0);    animation-timing-function: linear; }
  60%  { opacity: 1; transform: translateY(0);    animation-timing-function: ease-in; }
  72%  { opacity: 0; transform: translateY(-6px); animation-timing-function: linear; }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes bd-label-loop {
  0%   { opacity: 0; animation-timing-function: linear; }
  42%  { opacity: 0; animation-timing-function: ease-out; }
  54%  { opacity: 1; animation-timing-function: linear; }
  60%  { opacity: 1; animation-timing-function: ease-in; }
  72%  { opacity: 0; animation-timing-function: linear; }
  100% { opacity: 0; }
}

@keyframes bd-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bento-card-e {
  padding: 0;
  background: var(--green-900);
  overflow: hidden;
  position: relative;
  min-height: 220px;
}

.bd-chart-wrap {
  position: absolute;
  inset: 0;
}

.bd-area-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bd-grid-line {
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1;
}

.bd-area-fill {
  fill: url(#bdAreaGrad);
  opacity: 0;
}

.bento-card-e.bd-entered .bd-area-fill {
  animation: bd-fill-loop 5s linear infinite;
}

.bd-line {
  fill: none;
  stroke: var(--green-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  opacity: 0;
}

.bento-card-e.bd-entered .bd-line {
  animation: bd-line-loop 5s linear infinite;
}

.bd-dot {
  fill: var(--yellow-500);
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
}

.bento-card-e.bd-entered .bd-dot:nth-child(1) { animation: bd-dot-loop 5s linear infinite; animation-delay: 0.15s; }
.bento-card-e.bd-entered .bd-dot:nth-child(2) { animation: bd-dot-loop 5s linear infinite; animation-delay: 0.25s; }
.bento-card-e.bd-entered .bd-dot:nth-child(3) { animation: bd-dot-loop 5s linear infinite; animation-delay: 0.35s; }
.bento-card-e.bd-entered .bd-dot:nth-child(4) { animation: bd-dot-loop 5s linear infinite; animation-delay: 0.45s; }

.bd-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent, rgba(8, 19, 13, 0.72));
  pointer-events: none;
}

.bd-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem;
  pointer-events: none;
}

.bd-hero-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--off-white);
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0;
}

.bento-card-e.bd-entered .bd-hero-num {
  animation: bd-hero-loop 5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  animation-delay: 0.2s;
}

.bd-hero-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-top: 0.45rem;
  opacity: 0;
}

.bento-card-e.bd-entered .bd-hero-label {
  animation: bd-label-loop 5s linear infinite;
  animation-delay: 0.2s;
}

.bd-mini-cards {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bd-mini-card {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bento-card-e.bd-entered .bd-mini-card:nth-child(1) {
  animation: bd-card-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

.bento-card-e.bd-entered .bd-mini-card:nth-child(2) {
  animation: bd-card-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}

.bd-mini-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.bd-mini-label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

/* mobile responsive overrides for bento */
@media (max-width: 767px) {
  .bento-card-d {
    grid-template-columns: 1fr;
  }

  .bento-d-body {
    padding-bottom: 1rem;
    gap: 0.75rem;
  }

  .bento-d-visual {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    min-height: 140px;
  }
}

.testimonial-attr strong {
  color: var(--charcoal);
}

/* ── WORK / CASE STUDIES ────────────────────────────────── */
#work-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

#work-section .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#work-section .fc-wrap {
  flex: 1;
  min-height: 0;
}

@media (max-width: 899px) {
  #work-section {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #work-section .fc-wrap {
    flex: none;
    min-height: 500px;
    width: 100%;
    align-self: stretch;
  }
}

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .work-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── FEATURE CAROUSEL (Work section) ───────────────────── */
.fc-wrap {
  display: flex;
  flex-direction: column;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 32px 80px rgba(0, 0, 0, 0.12);
  min-height: 560px;
  width: 85%;
  align-self: center;
}

@media (min-width: 900px) {
  .fc-wrap {
    flex-direction: row;
    min-height: 580px;
  }
}

.fc-selector {
  position: relative;
  background: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
}

@media (min-width: 900px) {
  .fc-selector {
    width: 32%;
    flex-shrink: 0;
    padding: 3rem 2.5rem;
  }
}

.fc-fade-top,
.fc-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 10;
  pointer-events: none;
}

.fc-fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--green-900) 10%, transparent);
}

.fc-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--green-900) 10%, transparent);
}

.fc-pills-track {
  position: relative;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fc-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  white-space: nowrap;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.5s ease,
              background 0.35s ease,
              color 0.35s ease,
              border-color 0.35s ease;
}

.fc-pill:hover {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}

.fc-pill.is-active {
  background: #fff;
  color: var(--green-900);
  border-color: var(--off-white);
}

.fc-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.fc-pill-icon svg {
  width: 100%;
  height: 100%;
}

.fc-pill-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fc-stage {
  flex: 1;
  background: var(--cream);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 420px;
}

@media (min-width: 900px) {
  .fc-stage {
    border-top: none;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    min-height: unset;
  }
}

.fc-cards-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  cursor: grab;
}

.fc-card {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 5px solid var(--cream);
  background: var(--cream);
  opacity: 0;
  transform: scale(0.72);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.55s ease,
              filter 0.55s ease;
  will-change: transform, opacity;
}

.fc-card.is-prev {
  opacity: 0.4;
  transform: translateX(-22%) scale(0.86) rotate(-3deg);
  z-index: 10;
  filter: grayscale(1) blur(1px) brightness(0.75);
}

.fc-card.is-next {
  opacity: 0.4;
  transform: translateX(22%) scale(0.86) rotate(3deg);
  z-index: 10;
  filter: grayscale(1) blur(1px) brightness(0.75);
}

.fc-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(0deg);
  z-index: 20;
  pointer-events: auto;
  filter: none;
}

/* ── Mobile: horizontal pill strip ──────────────────────── */
@media (max-width: 899px) {
  .fc-selector {
    padding: 1.25rem 1rem;
  }

  .fc-pills-track {
    height: 56px;
    overflow: hidden;
  }

  .fc-fade-top,
  .fc-fade-bottom {
    display: none;
  }
}

.fc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fc-card-live {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  transition: opacity 0.4s ease 0.15s;
}

.fc-card.is-active .fc-card-live {
  opacity: 1;
}

.fc-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.fc-live-text {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.fc-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5rem 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 35%, rgba(0, 0, 0, 0.28) 65%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.12s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s;
  pointer-events: none;
}

.fc-card.is-active .fc-card-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fc-card-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-900);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 0.65rem;
}

.fc-card-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.fc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--yellow-500);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 0.9rem;
  transition: gap 0.2s ease;
}

.fc-card-cta:hover {
  gap: 0.65rem;
}

.fc-card-cta svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}


/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band-outer {
  padding: 5.5rem 0;
  display: flex;
  justify-content: center;
}

.cta-band {
  background: var(--green-900);
  position: relative;
  overflow: hidden;
  max-width: 80%;
  width: 100%;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  height: 65vh;
  padding: 0 !important;
  box-shadow:
    0 4px 8px rgba(0,0,0,0.04),
    0 12px 32px rgba(0,0,0,0.08),
    0 32px 72px rgba(0,0,0,0.12),
    0 0 0 1px rgba(0,0,0,0.03);
}

/* Left column — forest image */
.cta-left {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 3rem;
  border-radius: 24px 0 0 24px;
  align-self: stretch;
  min-height: 100%;
}

.cta-left-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-left-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-left-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,19,13,0.55) 0%, rgba(8,19,13,0.25) 40%, rgba(8,19,13,0.45) 100%);
}

.cta-left h2,
.cta-left .cta-bottom-heading {
  position: relative;
  z-index: 1;
  color: var(--off-white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.cta-left h2 {
  font-size: clamp(2.4rem, 5.6vw, 4.5rem);
  line-height: 1.08;
}

.cta-left .cta-bottom-heading {
  line-height: 1.1;
  white-space: nowrap;
  display: inline-block;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.03em;
}

/* Right column — copy + CTAs */
.cta-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 3.5rem 3.5rem 2.5rem;
}

.cta-body {
  font-size: 1.5rem;
  color: var(--green-200);
  line-height: 1.4;
  margin-bottom: 1rem;
  max-width: 100%;
  font-weight: 500;
  letter-spacing: -1px;
}

.cta-accent {
  font-size: 1.5rem;
  color: var(--green-light);
  line-height: 1.4;
  margin-bottom: 0;
  max-width: 100%;
  font-weight: 500;
  letter-spacing: -1px;
}

.cta-micro {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  text-align: center;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-band-outer { padding: 3rem 1.5rem; }
  .cta-band {
    max-width: 100%;
    border-radius: 16px;
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }
  .cta-left {
    min-height: 320px;
    border-radius: 16px 16px 0 0;
    padding: 2.5rem 2rem;
  }
  .cta-right {
    padding: 2.5rem 2rem;
  }
  .cta-buttons {
    justify-content: center;
  }
  .cta-micro {
    text-align: left;
  }
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: stretch;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-left .section-h {
  margin-bottom: 0.75rem;
}

.contact-left .section-sub {
  margin-bottom: 2rem;
}

.contact-photo {
  width: 100%;
  aspect-ratio: 3/2;
  margin-top: 2.5rem;
  border-radius: 20px;
  overflow: hidden;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(42, 96, 65, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  width: 100%;
  font-size: 1rem;
  padding: 1rem;
  min-height: 54px;
}

/* ── STICKY FOOTER REVEAL ──────────────────────────── */
.footer-reveal { position: relative; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.footer-reveal-inner { position: relative; }
.footer-reveal-inner > .footer { position: sticky; bottom: 0; }



/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--green-800);
  border-top: 1px solid rgba(58, 122, 80, 0.2);
  padding: 4rem 0 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── Top row: brand + socials ── */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-brand img { width: 180px; height: auto; filter: brightness(0) invert(1); opacity: 0.85; }

.footer-slogan {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--green-light);
}

.footer-socials {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin-top: 4px;
}

/* Social icon buttons */
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(42, 96, 65, 0.25);
  border: 1px solid rgba(85, 128, 103, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-300);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-btn:hover {
  background: rgba(42, 96, 65, 0.5);
  border-color: rgba(85, 128, 103, 0.6);
  color: var(--off-white);
  transform: translateY(-2px);
}

.social-btn:active {
  transform: translateY(0);
}

.social-btn:focus-visible {
  outline: 2px solid var(--green-400);
  outline-offset: 3px;
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

/* ── Divider ── */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(42, 96, 65, 0.18);
  margin: 0;
}

/* ── Bottom grid ── */
.footer-grid-bottom {
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--green-400);
  line-height: 1.6;
}

.footer-nav-links ul,
.footer-legal-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: -0.2rem -0.5rem;
}

.footer-nav-links a {
  display: block;
  padding: 0.2rem 0.5rem;
  font-size: 0.875rem;
  color: var(--green-300);
  transition: color 0.2s ease;
}

.footer-nav-links a:hover {
  color: var(--off-white);
}

.footer-legal-links {
  margin-top: 0.25rem;
}

.footer-legal-links a {
  display: block;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  color: var(--green-400);
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--off-white);
}

a:focus-visible {
  outline: 2px solid var(--green-400);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (min-width: 1024px) {
  .footer {
    padding: 4rem 0 2rem;
  }

  .footer-grid-bottom {
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: auto auto;
    padding-top: 2rem;
    gap: 0;
  }

  .footer-copy {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
    align-self: center;
  }

  .footer-nav-links {
    grid-column: 4 / 11;
    grid-row: 1;
  }

  .footer-legal-links {
    grid-column: 4 / 11;
    grid-row: 2;
  }

  .footer-nav-links ul,
  .footer-legal-links ul {
    justify-content: flex-end;
  }
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.on {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stagger>* {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stagger.on>*:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.stagger.on>*:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.07s;
}

.stagger.on>*:nth-child(3) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.14s;
}

.stagger.on>*:nth-child(4) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.21s;
}

.stagger.on>*:nth-child(5) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.28s;
}

.stagger.on>*:nth-child(6) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.35s;
}

.stagger.on>*:nth-child(7) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.42s;
}

.stagger.on>*:nth-child(8) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.49s;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .hero-left-col {
    align-items: center;
    text-align: center;
    padding: 2rem 0 0;
    transform: none; /* don't lift on mobile — content stacks naturally */
  }

  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    text-align: center;
  }

  .hero-sub {
    max-width: 48ch;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .hero-cta-buttons { justify-content: center; }
  .hero-cta-subtext {
    text-align: center;
    white-space: normal;        /* allow 2-line wrap on mobile */
    max-width: 42ch;
  }

  .hero-br-1 { display: none; }
  .hero-br-2 { display: none; }
  .hero-the { display: none; }

  /* Mobile: image grid becomes 2 horizontal-scrolling rows.
     Each "col" is a full-width row; tracks animate horizontally via JS.
     Right-col breaks out of the .hero-grid's 1.5rem padding so the image
     strip spans the full viewport width edge-to-edge. */
  .hero-right-col {
    min-height: 0;
    height: auto;
    margin: 0 -1.5rem;
    width: calc(100% + 3rem);
  }

  .hero-image-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 0.75rem;
  }

  .hero-image-grid-track {
    flex-direction: row;
    gap: 0.75rem;
    height: 100%;
    width: max-content;
  }

  .hero-image-grid img {
    width: auto;
    height: 100%;
  }
  /* Mobile — 4-cycle variation in image WIDTH (height fixed by row). */
  .hero-image-grid-track img:nth-child(4n+1) { aspect-ratio: 3 / 4; }   /* narrowest */
  .hero-image-grid-track img:nth-child(4n+2) { aspect-ratio: 1 / 1; }   /* square */
  .hero-image-grid-track img:nth-child(4n+3) { aspect-ratio: 4 / 3; }   /* widest */
  .hero-image-grid-track img:nth-child(4n+4) { aspect-ratio: 5 / 4; }
  .hero-image-grid-col[data-dir="up"] .hero-image-grid-track img:nth-child(4n+1) { aspect-ratio: 4 / 3; }
  .hero-image-grid-col[data-dir="up"] .hero-image-grid-track img:nth-child(4n+2) { aspect-ratio: 5 / 4; }
  .hero-image-grid-col[data-dir="up"] .hero-image-grid-track img:nth-child(4n+3) { aspect-ratio: 3 / 4; }
  .hero-image-grid-col[data-dir="up"] .hero-image-grid-track img:nth-child(4n+4) { aspect-ratio: 1 / 1; }

  /* No fade mask on mobile — the grid runs edge-to-edge */
  .hero-image-grid-clip {
    position: relative;
    inset: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-stat-card { display: none; }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell:nth-child(2) {
    border-right: none;
  }

  .stat-cell:nth-child(3) {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .testimonial-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-photo {
    max-height: 350px;
  }

  .stakes-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stakes-left {
    position: static;
  }

  .approach-dark {
    padding-left: 0;
    padding-right: 0;
  }

  .approach-dark-hdr {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .approach-dark .container {
    padding-left: 0;
    padding-right: 0;
  }

  .approach-exp-cards {
    flex-direction: column;
    height: auto;
  }

  .approach-exp-card {
    flex: none;
    min-height: 72px;
    transition: min-height 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                border-color 0.3s ease;
  }

  .approach-exp-card.is-active {
    flex: none;
    min-height: 360px;
  }

  /* Center idle content vertically on mobile (desktop is bottom-aligned) */
  .approach-exp-card:not(.is-active) .aec-idle {
    justify-content: center;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-left {
    position: static;
  }
}

@media (max-width: 768px) {
  .footer-nav-links { order: 1; }
  .footer-legal-links { order: 2; }
  .footer-copy { order: 3; text-align: center; }

  /* 1. Problem section — conviction card full width */
  .stakes-conviction-card { max-width: 100%; }

  /* 2. Solution section — last card body paragraph left-aligned */
  .value-clarify-strip { text-align: left; }

  /* 3. Our Approach — restore consistent padding, cards full width */
  .approach-dark { padding-left: 1.5rem; padding-right: 1.5rem; }
  .approach-dark .container { padding-left: 0; padding-right: 0; }
  .approach-exp-cards { padding-left: 0; padding-right: 0; }
  .approach-exp-card { width: 100%; }
  .aec-visual { max-height: 180px; }
  .vis-disc-ring.r3 { width: 160px; height: 160px; }
  .vis-disc-ring.r2 { width: 100px; height: 100px; }
  .vis-disc-ring.r1 { width: 50px; height: 50px; }

  /* 4. Case Studies — cards on top, tags on bottom */
  .fc-wrap { display: flex; flex-direction: column; }
  .fc-stage { order: -1; }

  /* 5. CTA section — body copy 16px, spacing, full-width buttons */
  .cta-body, .cta-accent { font-size: 1rem; }
  .cta-body { margin-bottom: 0.5rem; }
  .cta-right-top { margin-bottom: 2rem; }
  .cta-buttons { flex-direction: column; gap: 0.75rem; }
  .cta-buttons .btn-slide,
  .cta-buttons .btn-outline-light { width: 100%; justify-content: center; }

  /* Mobile card active states — mirrors hover */
  .benefit-card.is-active .benefit-icon { background: #fff; }
  .benefit-card.is-active,
  .service-card.is-active {
    border-color: rgba(0,0,0,0.12);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05), 0 16px 40px rgba(0,0,0,0.08);
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-grid-bottom {
    text-align: center;
  }

  .footer-nav-links ul,
  .footer-legal-links ul {
    justify-content: center;
  }

  .section {
    padding: 5rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  #contact.section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  #contact .contact-layout {
    gap: 1.5rem;
  }

  #contact .contact-left .section-sub {
    margin-bottom: 1rem;
  }

  #contact .contact-photo {
    margin-top: 1.25rem !important;
  }

  #contact #contact-form {
    padding-top: 0 !important;
  }

  #contact .form-group {
    margin-bottom: 0.85rem;
  }

  .hero-left {
    padding: 2.5rem 1.5rem 2.5rem;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .value-clarify-strip {
    flex-direction: column;
    text-align: left;
    gap: 1.5rem;
    padding: 1.75rem 1.5rem;
  }

  .value-clarify-strip p {
    max-width: 100%;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .fc-pills-track {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    overflow: visible;
  }

  .fc-pill {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    flex-shrink: 0;
    padding: 0.6rem 1rem;
  }

  .fc-fade-top,
  .fc-fade-bottom {
    display: none;
  }

  .fc-selector {
    padding: 1.5rem 1.25rem;
  }

  .fc-cards-wrap {
    max-width: 260px;
  }


}

/* ── HERO CTA MOBILE TIGHTEN ─────────────────────────────── */
@media (max-width: 640px) {
  .hero-cta-subtext { font-size: 0.8125rem; }
}

/* ── SCROLL EXPERIENCE POLISH ─────────────────────────────── */

/* Thin progress line at the very top of the page */

/* fc-card — no extra transforms needed; handled via .is-active class */

/* Hero-right — GPU-composite layer for parallax */
.hero-right {
  will-change: transform;
}

/* Respect reduced-motion preference — strip all scroll animations */
@media (prefers-reduced-motion: reduce) {

  .reveal,
  .stagger>* {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .fc-card {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .fc-card.is-prev,
  .fc-card.is-next {
    display: none;
  }

  .fc-card-overlay {
    opacity: 1 !important;
    transform: none !important;
  }

  .fc-card-live {
    opacity: 1 !important;
  }
}
  
/* ── SLIDE BUTTON ──────────────────────────────────────── */
.btn-slide {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0.25rem 3.5rem 0.25rem 1.5rem;
  border-radius: 100px;
  border: none;
  background: var(--red-500);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: padding 0.5s ease;
}
.btn-slide:hover { padding: 0.25rem 1.5rem 0.25rem 3.5rem; }
.btn-slide-label { position: relative; z-index: 1; transition: transform 0.5s ease; white-space: nowrap; }
.btn-slide-icon {
  position: absolute;
  right: 4px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--red-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: right 0.5s ease, transform 0.5s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.24), 0 2px 6px rgba(0,0,0,0.18);
}
.btn-slide:hover .btn-slide-icon { right: calc(100% - 44px); transform: rotate(45deg); }
.btn-slide:focus-visible { outline: 2.5px solid var(--red-500); outline-offset: 3px; }
.btn-slide:active { opacity: 0.85; }
  /* ── LANG TOGGLE — styles in styles.css ──────────────── */
