/* ============================================
   AETHER STUDIOS — Restaurant Growth Agency
   Sage-dominant · White · Black · Flowing motion
============================================ */

:root {
  /* Sage-dominant palette */
  --bg: #EDF2E5;        /* light sage tint — page base */
  --bg-2: #FFFFFF;      /* pure white — cards */
  --bg-3: #DEE7D2;      /* mid sage */
  --bg-flush: #7E9171;  /* deep sage — flush sections */
  --bg-dark: #0E1410;   /* near-black — accent sections */

  --fg: #0E1410;        /* black — primary text */
  --fg-2: #1F2620;
  --fg-muted: #5A6655;  /* muted sage-gray */
  --fg-soft: #8A9685;

  --line: rgba(14,20,16,0.10);
  --line-strong: rgba(14,20,16,0.22);
  --line-on-sage: rgba(255,255,255,0.18);

  --sage: #9CAF88;
  --sage-deep: #7E9171;
  --sage-darker: #5F7657;
  --sage-soft: #C9D4BC;
  --sage-tint: #DAE3CD;
  --sage-pale: #EDF2E5;

  --white: #FFFFFF;
  --black: #0E1410;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-power3: cubic-bezier(0.215, 0.61, 0.355, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
}

body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(156,175,136,0.30), transparent 60%),
    radial-gradient(700px 500px at 0% 60%, rgba(126,145,113,0.18), transparent 55%),
    var(--bg);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--sage); color: var(--black); }

[hidden] { display: none !important; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============================================
   AMBIENT FLOWING BACKGROUND
============================================ */
.bg-flow {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.65;
  will-change: transform;
}
.bg-blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--sage) 0%, var(--sage-soft) 60%, transparent 75%);
  top: -16%; left: -14%;
  animation: drift1 28s ease-in-out infinite alternate;
}
.bg-blob-2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--sage-deep) 0%, var(--sage) 55%, transparent 75%);
  bottom: -20%; right: -16%;
  animation: drift2 34s ease-in-out infinite alternate;
  opacity: 0.55;
}
.bg-blob-3 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--sage-soft) 0%, var(--sage-tint) 60%, transparent 80%);
  top: 38%; left: 50%;
  animation: drift3 40s ease-in-out infinite alternate;
  opacity: 0.5;
}
.bg-blob-4 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  top: 70%; left: 12%;
  animation: drift4 32s ease-in-out infinite alternate;
  opacity: 0.45;
}

@keyframes drift1 {
  0%   { transform: translate3d(0,0,0)        scale(1);    }
  50%  { transform: translate3d(60px,80px,0)  scale(1.08); }
  100% { transform: translate3d(120px,40px,0) scale(0.94); }
}
@keyframes drift2 {
  0%   { transform: translate3d(0,0,0)         scale(1);    }
  50%  { transform: translate3d(-80px,-50px,0) scale(1.1);  }
  100% { transform: translate3d(40px,-90px,0)  scale(0.95); }
}
@keyframes drift3 {
  0%   { transform: translate3d(0,0,0)         scale(1);    }
  50%  { transform: translate3d(-100px,60px,0) scale(1.12); }
  100% { transform: translate3d(70px,90px,0)   scale(0.92); }
}
@keyframes drift4 {
  0%   { transform: translate3d(0,0,0)         scale(1);    }
  50%  { transform: translate3d(50px,-70px,0)  scale(1.06); }
  100% { transform: translate3d(-60px,40px,0)  scale(1.0);  }
}

.bg-grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: rgba(14,20,16,0.06);
  pointer-events: none;
  opacity: 0.7;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
}

main, .nav, .loader-root, .sticky-cta, .wa-fab,
.cursor-dot, .cursor-ring { position: relative; z-index: 1; }
.nav { z-index: 60; }
.loader-root { z-index: 150; }
.sticky-cta { z-index: 80; }
.wa-fab { z-index: 75; }
.cursor-dot, .cursor-ring { z-index: 200; }

/* Section flowing waves */
.section-wave {
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  width: 100%;
  height: clamp(50px, 8vw, 90px);
  display: block;
  color: var(--bg-flush);
}
.section-wave .wave-path-a { animation: waveBreathe 14s ease-in-out infinite alternate; transform-origin: center; }
@keyframes waveBreathe {
  0%   { transform: translateY(0)    scaleY(1);    }
  100% { transform: translateY(-6px) scaleY(1.06); }
}

/* ============================================
   TYPOGRAPHY HELPERS
============================================ */
.display {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.mono-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}
.mono-label.muted { color: var(--fg-muted); }
.mono-label.sage-text { color: var(--sage-deep); }

.section-title {
  color: var(--fg);
  font-size: clamp(2.25rem, 5.6vw, 4.75rem);
  line-height: 1.02;
  text-wrap: balance;
  max-width: 18ch;
  margin-bottom: 32px;
}
.section-lead {
  color: var(--fg-muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  max-width: 56ch;
}

/* ============================================
   LAYOUT
============================================ */
.container {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section { position: relative; padding-block: clamp(80px, 14vh, 180px); }

.hairline {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.sec-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 56px;
}

/* ============================================
   CURSOR
============================================ */
html, body, a, button, [data-hover] { cursor: none; }
@media (max-width: 900px), (pointer: coarse) {
  html, body, a, button, [data-hover] { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--black);
  transform: translate3d(-100px,-100px,0);
}
.cursor-ring {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(14,20,16,0.45);
  transform: translate3d(-100px,-100px,0);
  transition: width 0.45s var(--ease-expo), height 0.45s var(--ease-expo), border-color 0.45s var(--ease-expo), background 0.45s;
}
.cursor-ring.is-hover { width: 64px; height: 64px; border-color: var(--sage-deep); background: rgba(156,175,136,0.18); }

/* ============================================
   LOADER
============================================ */
.loader-root {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.loader-root::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(700px 500px at 30% 30%, rgba(156,175,136,0.45), transparent 60%),
    radial-gradient(500px 400px at 80% 70%, rgba(126,145,113,0.25), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.loader-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
}
.loader-mark {
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(16px);
  color: var(--sage-deep);
}
.loader-mark .mono-label { color: var(--black); }
.loader-num {
  font-weight: 600;
  font-size: clamp(5rem, 16vw, 14rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--black);
}
.loader-bar {
  width: 220px; height: 1px;
  background: rgba(14,20,16,0.14);
  overflow: hidden;
}
.loader-bar > div {
  height: 100%;
  background: var(--sage-deep);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ============================================
   NAV
============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  transition: background 0.7s var(--ease-expo), backdrop-filter 0.7s, border-color 0.7s var(--ease-expo);
  border-bottom: 1px solid transparent;
  opacity: 0;
}
.nav.scrolled {
  background: rgba(237,242,229,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 18px;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--black); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--white);
  border: 1px solid rgba(126,145,113,0.5);
}
.brand-text {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
  color: var(--black);
}
.brand-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage-deep);
}

.nav-links { display: none; gap: 32px; }
@media (min-width: 980px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  transition: color 0.5s var(--ease-expo);
}
.nav-link:hover { color: var(--sage-darker); }
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--sage-darker);
  transition: width 0.6s var(--ease-expo);
}
.nav-link:hover::after { width: 100%; }

.nav-cta { padding-block: 10px; }

/* ============================================
   BUTTONS
============================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.6s var(--ease-expo), background 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.6s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--sage-deep);
  color: var(--white);
  box-shadow: 0 14px 32px -10px rgba(126,145,113,0.5);
}
.btn-primary:hover {
  background: var(--sage-darker);
  box-shadow: 0 22px 44px -12px rgba(95,118,87,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.btn-ghost {
  background: rgba(14,20,16,0.04);
  color: var(--black);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: rgba(14,20,16,0.08);
  border-color: var(--line-strong);
}

.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 26px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

.arrow-mini {
  display: inline-block;
  font-weight: 400;
  font-size: 1.05em;
  transform: translateY(-1px);
  transition: transform 0.6s var(--ease-expo);
}
.btn:hover .arrow-mini { transform: translate(3px,-1px); }

/* ============================================
   HELPER DOTS
============================================ */
.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--black);
}
.dot.sage { background: var(--sage-deep); box-shadow: 0 0 0 4px rgba(156,175,136,0.22); }
.dot.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(156,175,136,0.22); }
  50%     { box-shadow: 0 0 0 9px rgba(156,175,136,0.36); }
}

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  padding-top: clamp(120px, 18vh, 200px);
  padding-bottom: clamp(60px, 12vh, 140px);
  overflow: hidden;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 90% 0%, rgba(156,175,136,0.35), transparent 60%),
    radial-gradient(800px 600px at 10% 80%, rgba(126,145,113,0.18), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(126,145,113,0.4);
  box-shadow: 0 8px 24px -10px rgba(126,145,113,0.35);
  margin-bottom: 32px;
}
.hero-pill .mono-label { color: var(--sage-darker); }

.hero-title {
  color: var(--black);
  font-size: clamp(2.75rem, 8.2vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  max-width: 16ch;
  margin-bottom: 32px;
}

.hero-sub {
  color: var(--fg-muted);
  font-size: clamp(1.05rem, 1.35vw, 1.4rem);
  line-height: 1.55;
  max-width: 56ch;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-trust {
  margin-bottom: 64px;
  max-width: 60ch;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
  margin-bottom: 56px;
  background-color: var(--white);
}
@media (min-width: 760px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat {
  background: var(--white);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-stat strong {
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  color: var(--black);
}
.hero-stat .mono-label { color: var(--fg-muted); }

.hero-visual {
  position: relative;
  margin-top: 24px;
  display: grid;
  /* Mobile-first: stack one card per row, photos render at full proportion */
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 760px) {
  .hero-visual {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: clamp(220px, 30vh, 360px);
  }
}
.hero-card {
  position: relative;
  border-radius: 18px;
  background-color: var(--white);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px -28px rgba(14,20,16,0.35);
  overflow: hidden;
  /* Each card holds its own aspect on mobile so the image is never clipped to a sliver */
  aspect-ratio: 16 / 10;
  transition: transform 1s var(--ease-expo);
}
@media (min-width: 760px) {
  .hero-card { aspect-ratio: auto; height: 100%; }
}
.hero-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,20,16,0) 60%, rgba(14,20,16,0.35) 100%);
}
.hero-card:hover { transform: translateY(-4px) scale(1.01); }
/* Stagger only kicks in on tablet+; on mobile cards sit flush to keep rhythm clean */
@media (min-width: 760px) {
  .hero-card-1 { transform: translateY(20px); }
  .hero-card-2 { transform: translateY(-20px); }
  .hero-card-3 { transform: translateY(20px); }
}

/* ============================================
   TRUST STRIP
============================================ */
.trust-strip {
  position: relative;
  padding-block: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  z-index: 2;
}

.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marq 38s linear infinite;
  align-items: center;
}
.marquee-track > span {
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--black);
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 24px;
}
.marquee-track .bullet { color: var(--sage-deep); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================
   PROBLEMS
============================================ */
.section-problem .section-title { margin-bottom: 64px; max-width: 22ch; }

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px)  { .problems-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .problems-grid { grid-template-columns: repeat(4, 1fr); } }

.problem-card {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.7s var(--ease-expo), border-color 0.7s var(--ease-expo), box-shadow 0.7s;
}
.problem-card:hover {
  transform: translateY(-3px);
  border-color: var(--sage);
  box-shadow: 0 22px 48px -24px rgba(126,145,113,0.4);
}
.problem-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--sage-darker);
  margin-bottom: 24px;
}
.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--black);
}
.problem-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.problem-bridge {
  margin-top: 64px;
  display: flex; align-items: center; gap: 18px;
}
.bridge-line {
  flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--sage), transparent);
}
.problem-bridge .mono-label { color: var(--sage-darker); }

/* ============================================
   SERVICES
============================================ */
.services-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
@media (min-width: 980px) {
  .services-head {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    gap: 64px;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
/* Four-service variant — clean 2x2 on desktop */
.services-grid-2x2 { gap: 24px; }
@media (min-width: 760px)  { .services-grid-2x2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid-2x2 { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

.service-card {
  position: relative;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.7s var(--ease-expo), border-color 0.7s var(--ease-expo), box-shadow 0.7s, background 0.7s;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage);
  box-shadow: 0 28px 56px -28px rgba(126,145,113,0.4);
}

@media (min-width: 1100px) {
  .service-feature {
    grid-row: span 2;
    background: linear-gradient(180deg, var(--sage) 0%, var(--sage-soft) 60%, var(--white) 100%);
    border-color: rgba(126,145,113,0.5);
  }
  .service-feature:hover {
    border-color: var(--sage-darker);
    box-shadow: 0 36px 72px -28px rgba(95,118,87,0.55);
  }
}

.service-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--sage-darker);
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--sage-tint);
  color: var(--sage-darker);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(126,145,113,0.35);
}
.service-feature .service-icon {
  background: var(--white);
  color: var(--sage-darker);
  border-color: rgba(255,255,255,0.6);
}
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--black);
  line-height: 1.15;
}
.service-feature h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.service-promise {
  color: var(--black);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}
.service-text {
  color: var(--fg-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}
.service-feature .service-text { color: var(--fg-2); }

.service-list {
  margin-top: auto;
  padding-top: 16px;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--line);
}
.service-feature .service-list { border-top-color: rgba(14,20,16,0.18); }
.service-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem;
  color: var(--fg-2);
}
.service-list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage-darker);
  flex-shrink: 0;
}

/* ============================================
   BEFORE / AFTER
============================================ */
.section-baseline {
  position: relative;
  z-index: 2;
}
.ba-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 980px) { .ba-head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 56px; } }

.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) { .ba-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.ba-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.7s var(--ease-expo), border-color 0.7s var(--ease-expo), box-shadow 0.7s;
  display: flex; flex-direction: column;
}
.ba-card:hover {
  transform: translateY(-3px);
  border-color: var(--sage);
  box-shadow: 0 28px 56px -28px rgba(126,145,113,0.4);
}
.ba-tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  letter-spacing: 0.22em;
  color: var(--fg);
}
.ba-after .ba-tag { background: var(--sage); color: var(--white); border-color: var(--sage); }

.ba-media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center top;
  border-bottom: 1px solid var(--line);
  position: relative;
}

/* "Before" — intentionally dated mock */
.ba-before .ba-media {
  background: linear-gradient(180deg, #DAD7CF 0%, #C5C2BA 100%);
  display: flex; align-items: stretch; justify-content: stretch;
  padding: 28px;
}
.ba-mock {
  background: #EFEDE7;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  width: 100%;
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  font-family: "Times New Roman", serif;
}
.ba-mock-bar {
  height: 14px;
  background: #6A6A6A;
  width: 40%;
  border-radius: 2px;
  margin-bottom: 6px;
}
.ba-mock-line {
  height: 7px;
  background: #9C9890;
  border-radius: 2px;
}
.ba-mock-line.w-80 { width: 80%; }
.ba-mock-line.w-60 { width: 60%; }
.ba-mock-line.w-50 { width: 50%; }
.ba-mock-line.w-40 { width: 40%; }
.ba-mock-line.w-30 { width: 30%; }
.ba-mock-block {
  background: #B5B0A6;
  height: 48px;
  margin-block: 6px;
  border-radius: 2px;
}

.ba-card figcaption {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.ba-card figcaption h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.ba-card figcaption p {
  color: var(--fg-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.ba-stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
@media (min-width: 760px)  { .ba-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ba-stats { grid-template-columns: repeat(4, 1fr); } }
.ba-stat {
  background: var(--white);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.ba-stat-row { display: flex; align-items: center; gap: 14px; }
.ba-stat-old {
  font-size: 1.25rem; font-weight: 500;
  color: var(--fg-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(20,20,15,0.25);
}
.ba-stat-arrow { color: var(--sage-deep); font-weight: 500; }
.ba-stat-new {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
}

/* ============================================
   RESULTS
============================================ */
.results-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 980px) { .results-head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 56px; } }

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px)  { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
/* Three-card variant — 3-up on large screens */
@media (min-width: 1100px) { .results-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.result-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--fg);
  transition: transform 0.8s var(--ease-expo), border-color 0.8s var(--ease-expo), box-shadow 0.8s;
}
.result-card .result-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
  color: var(--sage-darker);
  font-weight: 500;
  transition: gap 0.5s var(--ease-expo), color 0.5s;
}
.result-card:hover .result-cta { gap: 14px; color: var(--sage-deep); }
.result-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage);
  box-shadow: 0 30px 80px -40px rgba(126,145,113,0.45);
}
.result-media {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--sage-tint);
  border-bottom: 1px solid var(--line);
}
.result-body { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.result-tag { color: var(--sage-darker); }
.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.result-stats > div { display: flex; flex-direction: column; gap: 4px; }
.result-stats strong {
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--black);
}
.result-quote {
  color: var(--fg-2);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
}
.result-quote::before { content: "“"; color: var(--sage-deep); margin-right: 4px; font-size: 1.2em; }
.result-quote::after  { content: "”"; color: var(--sage-deep); margin-left: 2px;  font-size: 1.2em; }

/* ============================================
   TESTIMONIALS
============================================ */
.section-testimonials {
  position: relative;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.testimonials-title { margin-bottom: 64px; max-width: 24ch; }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin-inline: auto;
}
@media (min-width: 760px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 24px;
  transition: transform 0.7s var(--ease-expo), border-color 0.7s var(--ease-expo);
}
.testimonial-card:hover { transform: translateY(-3px); border-color: var(--sage); }
.testimonial-card blockquote {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--fg-2);
}
.testimonial-card blockquote::before {
  content: "“";
  display: block;
  font-size: 2.5rem;
  color: var(--sage-deep);
  line-height: 0;
  margin-top: 18px;
  margin-bottom: 12px;
}
.testimonial-card figcaption {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.testimonial-name { font-weight: 600; color: var(--black); }

/* ============================================
   PROCESS
============================================ */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}
@media (min-width: 900px)  { .process-list { grid-template-columns: repeat(2, 1fr); gap: 32px 56px; } }
@media (min-width: 1200px) { .process-list { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.process-step {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--black);
  display: flex; flex-direction: column; gap: 16px;
}
.process-num {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--sage-darker);
  font-weight: 600;
}
.process-step h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--black);
}
.process-step p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================
   SCARCITY STRIP
============================================ */
.scarcity-strip {
  background: var(--black);
  color: var(--white);
  padding: 18px 0;
  position: relative;
  z-index: 2;
}
.scarcity-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.scarcity-strip .mono-label { color: rgba(255,255,255,0.85); }
.scarcity-strip .dot { background: var(--sage); }
.scarcity-strip .dot.pulse {
  box-shadow: 0 0 0 4px rgba(156,175,136,0.28);
  animation: pulseDark 2.4s ease-in-out infinite;
}
@keyframes pulseDark {
  0%,100% { box-shadow: 0 0 0 4px rgba(156,175,136,0.28); }
  50%     { box-shadow: 0 0 0 9px rgba(156,175,136,0.46); }
}
.scarcity-link {
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color 0.5s, color 0.5s;
}
.scarcity-link:hover { color: var(--sage); border-color: var(--sage); }

/* ============================================
   LEAD CAPTURE — flush sage section
============================================ */
.sage-section {
  position: relative;
  background: var(--bg-flush);
  color: var(--white);
  z-index: 2;
  overflow: hidden;
}
.sage-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 90% 10%, rgba(255,255,255,0.20), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(0,0,0,0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.sage-section .container { position: relative; z-index: 2; }

.section-lead { padding-block: clamp(120px, 18vh, 220px); padding-top: clamp(140px, 20vh, 240px); }
.lead-inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.lead-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lead-eyebrow .mono-label { color: rgba(255,255,255,0.92); }
.lead-eyebrow .dot.sage { background: var(--white); box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }

.lead-title {
  color: var(--white);
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
  max-width: 16ch;
  margin: 12px auto;
}
.lead-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  max-width: 60ch;
}
.lead-ctas {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-top: 12px;
}
.sage-section .btn-primary {
  background: var(--white);
  color: var(--sage-darker);
}
.sage-section .btn-primary:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 22px 44px -14px rgba(0,0,0,0.5);
}
.sage-section .btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.sage-section .btn-outline:hover {
  background: var(--white);
  color: var(--sage-darker);
  border-color: var(--white);
}

.lead-bullets {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
  margin-top: 12px;
}
.lead-bullets li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.lead-bullets .tick { color: var(--white); font-weight: 600; }

/* ============================================
   CONTACT
============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 980px) { .contact-grid { grid-template-columns: 6fr 6fr; gap: 64px; } }

.contact-meta {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  max-width: 32rem;
}
.contact-meta > div { display: flex; flex-direction: column; gap: 6px; color: var(--black); font-size: 0.95rem; }
.contact-meta a:hover { color: var(--sage-darker); }
.social-ico {
  display: inline-flex; align-items: center;
  margin-right: 6px;
  vertical-align: middle;
}

.contact-form {
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 30px 80px -40px rgba(14,20,16,0.18);
}
@media (min-width: 600px) { .contact-form { padding: 40px; } }

.form-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  margin-bottom: 28px;
}

.fields { display: flex; flex-direction: column; gap: 14px; }
.field {
  position: relative;
  border-bottom: 1px solid var(--line-strong);
  padding: 18px 0 10px;
  transition: border-color 0.6s var(--ease-expo);
}
.field input, .field textarea {
  width: 100%;
  background: transparent;
  outline: none;
  border: 0;
  color: var(--black);
  font-size: 17px;
  letter-spacing: -0.005em;
  font-family: var(--font-sans);
}
.field textarea { resize: none; min-height: 80px; }
.field label {
  position: absolute; top: 18px; left: 0;
  pointer-events: none;
  color: var(--fg-soft);
  transition: transform 0.5s var(--ease-expo), color 0.5s, font-size 0.5s, letter-spacing 0.5s;
  font-size: 14px; letter-spacing: 0.06em;
  font-weight: 500;
}
.field:focus-within { border-color: var(--sage-darker); }
.field:focus-within label,
.field.has-value label {
  transform: translateY(-18px);
  font-size: 10px;
  color: var(--sage-darker);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-form .btn-full { margin-top: 32px; }
.form-foot { margin-top: 18px; }
.form-error {
  margin-top: 14px;
  color: #B14747;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
}

.form-success {
  display: flex; flex-direction: column; gap: 14px;
  padding-block: 20px;
}
.success-title {
  color: var(--black);
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ============================================
   FOOTER  (light — keeps the cursor visible)
============================================ */
.footer {
  position: relative;
  background: var(--white);
  color: var(--black);
  padding-top: 80px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  z-index: 2;
}
.footer .mono-label { color: var(--fg-muted); }
.footer .brand { color: var(--black); }
.footer .brand-text em { color: var(--sage-deep); }
.footer .brand-mark {
  background: var(--sage);
  color: var(--white);
  border-color: rgba(126,145,113,0.4);
}
.footer a { color: var(--black); transition: color 0.5s; }
.footer a:hover { color: var(--sage-darker); }

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 980px) { .footer-top { grid-template-columns: 5fr 7fr; } }

.footer-tag {
  margin-top: 28px;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
  max-width: 18ch;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.footer-links li a { font-size: 0.95rem; }

.footer-bottom {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}
@media (min-width: 760px) { .footer-bottom { flex-direction: row; } }

/* ============================================
   STICKY CTA BAR
============================================ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 40px -20px rgba(14,20,16,0.16);
  transform: translateY(100%);
  transition: transform 0.7s var(--ease-expo);
  padding-block: 12px;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-cta-text { display: flex; align-items: center; gap: 10px; }
@media (max-width: 600px) {
  .sticky-cta-text .mono-label { font-size: 9px; letter-spacing: 0.16em; }
}

/* ============================================
   FLOATING WHATSAPP
============================================ */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 84px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 18px 40px -16px rgba(37,211,102,0.6), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transform: translateY(8px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s var(--ease-expo), opacity 0.6s var(--ease-expo), box-shadow 0.6s;
}
.wa-fab.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.wa-fab:hover {
  box-shadow: 0 22px 50px -16px rgba(37,211,102,0.7), 0 0 0 1px rgba(255,255,255,0.2) inset;
}
.wa-fab-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
@media (max-width: 600px) {
  .wa-fab { bottom: 78px; padding: 12px; }
  .wa-fab-label { display: none; }
}

/* ============================================
   PRE-REVEAL HIDE STATES
============================================ */
[data-fade], [data-hero-meta], [data-hero-cta-row], [data-hero-stats], [data-hero-visual] {
  opacity: 0; transform: translateY(30px);
}
.split-line { overflow: hidden; display: block; }

/* ============================================
   SCROLLBAR
============================================ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(126,145,113,0.45); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(95,118,87,0.7); }

/* ============================================
   CASE-STUDY DETAIL PAGE
============================================ */
.case-hero {
  position: relative;
  padding-top: clamp(140px, 20vh, 220px);
  padding-bottom: clamp(40px, 6vh, 80px);
}
.case-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 32px;
  transition: gap 0.5s var(--ease-expo), color 0.5s;
}
.case-back:hover { gap: 14px; color: var(--sage-darker); }

.case-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(126,145,113,0.4);
  margin-bottom: 28px;
}
.case-pill .mono-label { color: var(--sage-darker); }

.case-title {
  color: var(--fg);
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  max-width: 18ch;
  margin-bottom: 28px;
}
.case-sub {
  color: var(--fg-muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  max-width: 60ch;
  margin-bottom: 40px;
}
.case-meta-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) { .case-meta-strip { grid-template-columns: repeat(4, 1fr); } }
.case-meta-strip > div { display: flex; flex-direction: column; gap: 6px; }
.case-meta-strip strong {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}

/* Laptop 3D mockups */
.case-laptops {
  position: relative;
  padding-block: clamp(40px, 8vh, 100px);
  perspective: 1800px;
  perspective-origin: 50% 50%;
}
.case-laptops-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) { .case-laptops-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

.laptop-3d {
  position: relative;
  transform-style: preserve-3d;
}
.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background-size: cover;
  background-position: top center;
  background-color: var(--bg-2);
  border: 1px solid rgba(14,20,16,0.1);
  box-shadow:
    0 60px 100px -40px rgba(14,20,16,0.4),
    0 30px 60px -30px rgba(126,145,113,0.25),
    0 0 0 1px rgba(255,255,255,0.6) inset;
  transition: transform 1.2s var(--ease-expo);
  will-change: transform;
}
.laptop-3d.tilt-left  .laptop-screen { transform: rotateY(-12deg) rotateX(6deg); }
.laptop-3d.tilt-right .laptop-screen { transform: rotateY(12deg)  rotateX(6deg); }
.laptop-3d:hover .laptop-screen { transform: rotateY(0deg) rotateX(0deg) scale(1.02); }

.laptop-base {
  position: relative;
  height: 14px;
  margin: -1px auto 0;
  width: 88%;
  background: linear-gradient(180deg, rgba(14,20,16,0.10), rgba(14,20,16,0.0));
  border-bottom-left-radius: 50% 100%;
  border-bottom-right-radius: 50% 100%;
  filter: blur(4px);
  opacity: 0.6;
}

.laptop-caption {
  text-align: center;
  margin-top: 22px;
  color: var(--fg-muted);
}

/* Case study body content */
.case-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 980px) { .case-body-grid { grid-template-columns: 5fr 7fr; gap: 80px; } }

.case-body-aside { position: relative; }
.case-aside-title {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage-darker); font-weight: 500;
  margin-bottom: 14px;
}
.case-aside-list { display: flex; flex-direction: column; gap: 12px; }
.case-aside-list li {
  display: flex; align-items: center; gap: 10px;
  color: var(--fg-2);
  font-size: 0.95rem;
}
.case-aside-list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage-deep);
  flex-shrink: 0;
}

.case-block {
  margin-bottom: 56px;
}
.case-block-num {
  font-weight: 600;
  font-size: 12px; letter-spacing: 0.22em;
  color: var(--sage-darker);
  margin-bottom: 14px;
}
.case-block h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.15;
}
.case-block p {
  color: var(--fg-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.case-block + .case-block { padding-top: 40px; border-top: 1px solid var(--line); }

.case-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 24px;
}
@media (min-width: 760px) { .case-outcome-grid { grid-template-columns: repeat(3, 1fr); } }
.case-outcome-grid > div {
  background: var(--white);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.case-outcome-grid strong {
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.case-cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 32px;
}

/* Section number/title helpers for case detail pages */
.case-section { position: relative; padding-block: clamp(60px, 10vh, 120px); }

/* ============================================
   REDUCED MOTION
============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .bg-blob { animation: none !important; }
}
