/* ======================================================
   HOMEPAGE SECTIONS
   Light theme with alternating subtle backgrounds
   ====================================================== */

/* ========== TRUST / CLIENTS ========== */
.trust {
  padding: var(--space-20) 0;
  background: var(--color-bg-body);
  position: relative;
  overflow: hidden;
}

.trust__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-12);
}

.trust__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.trust__title {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
}

.trust__sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.trust__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: var(--space-4) var(--space-3);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 280ms ease, opacity 280ms ease, background 280ms ease;
}

.trust__logo:nth-child(5n) { border-right: none; }
.trust__logo:nth-last-child(-n+5) { border-bottom: none; }

.trust__logo:hover {
  filter: grayscale(0);
  opacity: 1;
  background: #fafafa;
}

.trust__logo img {
  max-width: 86%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.trust__city {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-tertiary);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
}

.trust__logo--more {
  flex-direction: column;
  gap: 4px;
  filter: none;
  opacity: 1;
  background: linear-gradient(135deg, #fafafa, #f3f3f3);
  color: var(--color-text-heading);
}

.trust__logo--more strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1;
}

.trust__logo--more span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

.trust__stats {
  list-style: none;
  margin: var(--space-10) 0 0;
  padding: var(--space-8) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.trust__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trust__stats strong {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 800;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  line-height: 1;
}

.trust__stats span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

@media (max-width: 960px) {
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .trust__logo:nth-child(5n) { border-right: 1px solid rgba(0,0,0,0.06); }
  .trust__logo:nth-child(3n) { border-right: none; }
  .trust__logo:nth-last-child(-n+5) { border-bottom: 1px solid rgba(0,0,0,0.06); }
  .trust__logo:nth-last-child(-n+3) { border-bottom: none; }
}
@media (max-width: 600px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__logo { border-right: 1px solid rgba(0,0,0,0.06) !important; border-bottom: 1px solid rgba(0,0,0,0.06) !important; height: 90px; }
  .trust__logo:nth-child(2n) { border-right: none !important; }
  .trust__stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
}

/* ========== PLATFORM AGNOSTIC — dark dual-marquee ========== */
.platforms {
  position: relative;
  padding: clamp(56px, 6vw, 88px) 0;
  background: #07080b;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.platforms__bg {
  position: absolute;
  inset: -1px 0 0 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 380px at 50% -10%, rgba(255,107,44,0.10), transparent 65%),
    radial-gradient(1100px 600px at 10% 110%, rgba(120,160,255,0.04), transparent 70%),
    radial-gradient(140% 90% at 50% 0%, #11131a 0%, #0b0c10 55%, #07080b 100%);
}
.platforms__bg::before {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  left: 30%; top: 35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,44,0.10), transparent 60%);
  filter: blur(20px);
  animation: platforms-drift 22s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
@keyframes platforms-drift {
  0%   { transform: translate3d(-12%, -8%, 0); }
  50%  { transform: translate3d( 14%,  6%, 0); }
  100% { transform: translate3d(-6%, 10%, 0); }
}
.platforms__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
  opacity: 0.5;
}
.platforms .container { position: relative; z-index: 1; }

.platforms__head {
  max-width: 820px;
  margin: 0 auto clamp(36px, 4vw, 56px);
  text-align: center;
}
.platforms__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FF6B2C;
  margin-bottom: 14px;
  padding: 6px 12px;
  background: rgba(255,107,44,0.10);
  border: 1px solid rgba(255,107,44,0.25);
  border-radius: 999px;
}
.platforms__eyebrow::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: #FF6B2C;
  box-shadow: 0 0 0 3px rgba(255,107,44,0.18);
  animation: platforms-pulse 2.2s ease-in-out infinite;
}
@keyframes platforms-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,107,44,0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(255,107,44,0); }
}
.platforms__title {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 14px;
}
.platforms__sub {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0 auto;
  max-width: 600px;
}

/* ===== Marquee lanes ===== */
.platforms__wall {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.platforms__lane { position: relative; }
.platforms__lane-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 6px;
}
.platforms__lane-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #FF6B2C;
  box-shadow: 0 0 0 3px rgba(255,107,44,0.15);
}
.platforms__lane-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.platforms__lane-count {
  margin-left: auto;
  font: 500 11px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* Contained marquee */
.platforms__marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 100%);
  padding: 14px 0;
  --fade: 100px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
}
.platforms__track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 0 14px;
  animation: marquee-left 44s linear infinite;
  will-change: transform;
}
.platforms__marquee[data-dir="right"] .platforms__track {
  animation-name: marquee-right;
  animation-duration: 58s;
}
.platforms__marquee:hover .platforms__track { animation-play-state: paused; }
@keyframes marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

/* ===== Platform tile ===== */
.pmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 10px 16px 10px 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 320ms ease,
              background 320ms ease,
              box-shadow 320ms ease,
              color 320ms ease;
  cursor: default;
}
.pmark__chip {
  flex: 0 0 26px;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--c, #0F1116);
  color: var(--fg, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.5);
}
.pmark__logo {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
  flex: 0 0 26px;
}
.pmark__name { line-height: 1; }
.pmark:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(255,107,44,0.45);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255,107,44,0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  box-shadow: 0 14px 30px -14px rgba(255,107,44,0.55),
              0 0 0 1px rgba(255,107,44,0.15) inset;
}

/* ===== Bottom meta strip ===== */
.platforms__meta {
  max-width: 1240px;
  margin: clamp(36px, 4.5vw, 56px) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.platforms__meta-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}
.platforms__meta-stats strong {
  font-weight: 800;
  color: #fff;
  margin-right: 6px;
  letter-spacing: -0.01em;
}
.platforms__meta-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: inline-block;
}
.platforms__meta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #FF6B2C;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.platforms__meta-link span { transition: transform 220ms ease; display: inline-block; }
.platforms__meta-link:hover span { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .platforms__track { animation: none !important; }
  .platforms__eyebrow::before { animation: none; }
  .platforms__bg::before { animation: none; }
  .platforms__lane::after { animation: none; }
}
@media (max-width: 880px) {
  .pmark { font-size: 13.5px; padding: 9px 14px 9px 10px; }
  .pmark__chip, .pmark__logo { width: 24px; height: 24px; flex-basis: 24px; }
  .platforms__marquee { --fade: 40px; }
  .platforms__meta { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ========== SERVICES GRID ========== */
.services-section {
  background: #ffffff;
  position: relative;
}
.services-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 360px;
  background:
    radial-gradient(900px 360px at 50% 0%, rgba(255,107,44,0.05), transparent 70%);
  pointer-events: none;
}
.services-section .container { position: relative; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ========== INDUSTRIES GRID ========== */
.industries-section {
  background: var(--color-bg-white);
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* ========== HOW IT WORKS ========== */
.how-section {
  background: var(--color-bg-body);
}

.process__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}

/* ========== WHY US ========== */
.why-section {
  background: var(--color-bg-white);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ========== RESULTS / METRICS — editorial dark layout ========== */
.results-section {
  background:
    radial-gradient(140% 90% at 50% 0%, #16181f 0%, #0b0c10 60%, #07080b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: clamp(36px, 4.5vw, 56px);
  padding-bottom: clamp(36px, 4.5vw, 56px);
}
.results-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 100%);
  pointer-events: none;
}
.results-section::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -240px;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 107, 44, 0.16) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}
.results-section .container { position: relative; z-index: 1; }

/* Intro */
.numbers__intro {
  max-width: 720px;
  margin: 0 auto 22px;
  text-align: center;
}
.numbers__tag {
  display: inline-flex;
  color: #FF6B2C;
  background: rgba(255,107,44,0.08);
  border: 1px solid rgba(255,107,44,0.22);
}
.numbers__title {
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 8px 0 8px;
}
.numbers__title-accent {
  background: linear-gradient(120deg, #FF6B2C 0%, #FFB07A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 600;
}
.numbers__lede {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.62);
  max-width: 540px;
  margin: 0 auto;
}

/* Two-column layout: featured + side rail */
.numbers__layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* ---- Featured stat card ---- */
.num-hero {
  position: relative;
  padding: 24px 32px 22px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,107,44,0.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  box-shadow: 0 30px 80px -32px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}
.num-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,107,44,0.7) 30%, rgba(255,176,122,0.7) 70%, transparent 100%);
}
.num-hero > * { position: relative; z-index: 1; }

.num-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.num-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font: 600 12px/1 "Inter", system-ui, sans-serif;
  color: #FF6B2C;
  background: rgba(255,107,44,0.08);
  border: 1px solid rgba(255,107,44,0.22);
  border-radius: 999px;
}
.num-hero__chip svg { width: 10px; height: 10px; }
.num-hero__verify {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 11px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.num-hero__verify svg { color: #34d399; }

/* Core: huge number + caption side-by-side */
.num-hero__core {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
}
.num-hero__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.num-hero__num {
  font-family: var(--font-display, "Archivo Black"), "Inter", system-ui, sans-serif;
  font-size: clamp(72px, 8.5vw, 118px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #b8bcc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  padding-right: 0.08em;
  margin-right: -0.04em;
}
.num-hero__unit {
  font-family: var(--font-display, "Archivo Black"), "Inter", system-ui, sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.03em;
  color: #FF6B2C;
  text-shadow: 0 0 24px rgba(255,107,44,0.35);
}
.num-hero__caption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.num-hero__delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 5px 11px;
  font: 600 11px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(52,211,153,0.10);
  border: 1px solid rgba(52,211,153,0.28);
  border-radius: 999px;
}
.num-hero__headline {
  font: 700 16.5px/1.3 "Inter", system-ui, sans-serif;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
}
.num-hero__headline em {
  font-style: normal;
  color: #FFB07A;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.num-hero__sub {
  font: 400 12.5px/1.55 "Inter", system-ui, sans-serif;
  color: rgba(255,255,255,0.60);
  margin: 0;
  max-width: 38ch;
}

/* Bar visualisation */
.num-hero__viz {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0 10px;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 14px;
}
.num-hero__row {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  align-items: center;
  gap: 14px;
}
.num-hero__row-label {
  font: 600 10.5px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.num-hero__bar {
  position: relative;
  height: 9px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.num-hero__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 6px;
  animation: barGrow 1400ms cubic-bezier(0.22, 1, 0.36, 1) 200ms forwards;
}
.num-hero__bar--before span { background: linear-gradient(90deg, #5a6070, #3d4250); }
.num-hero__bar--after span  {
  background: linear-gradient(90deg, #FF6B2C 0%, #FFB07A 100%);
  box-shadow: 0 0 18px rgba(255,107,44,0.5);
}
@keyframes barGrow {
  to { width: var(--w); }
}
.num-hero__row-val {
  font: 700 14px/1 "JetBrains Mono", monospace;
  color: #fff;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.num-hero__scale {
  display: flex;
  justify-content: space-between;
  padding: 0 54px 0 78px;
  margin-top: -2px;
}
.num-hero__scale-tick {
  position: relative;
  font: 600 9.5px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.32);
  padding-top: 7px;
}
.num-hero__scale-tick i {
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 4px;
  background: rgba(255,255,255,0.16);
  transform: translateX(-50%);
}

.num-hero__source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 12px/1.5 "JetBrains Mono", monospace;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.num-hero__source svg { flex-shrink: 0; color: rgba(255,255,255,0.4); }

/* ---- Side rail ---- */
.num-side {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 12px;
}
.num-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 360ms cubic-bezier(0.22, 1, 0.36, 1),
              background 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.num-row::before {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,107,44,0) 0%, rgba(255,107,44,0.45) 50%, rgba(255,107,44,0) 100%);
  opacity: 0;
  transition: opacity 320ms ease;
}
.num-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255,107,44,0.35);
  background: linear-gradient(180deg, rgba(255,107,44,0.05) 0%, rgba(255,255,255,0.015) 100%);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.6);
}
.num-row:hover::before { opacity: 1; }

.num-row__index {
  font-family: var(--font-display, "Archivo Black"), "Inter", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.22);
  align-self: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding-right: 10px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  transition: -webkit-text-stroke 320ms ease, color 320ms ease;
}
.num-row:hover .num-row__index {
  -webkit-text-stroke: 1px rgba(255,107,44,0.6);
  color: rgba(255,107,44,0.18);
}
.num-row__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.num-row__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255,255,255,0.07);
}
.num-row__value {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.num-row__num {
  font-family: var(--font-display, "Archivo Black"), "Inter", system-ui, sans-serif;
  font-size: clamp(26px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #c8ccd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.num-row__unit {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.55);
}
.num-row__delta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font: 600 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  margin-left: auto;
}
.num-row__delta--up {
  color: #34d399;
  background: rgba(52,211,153,0.10);
  border-color: rgba(52,211,153,0.25);
}
.num-row__delta--live {
  color: #FF6B2C;
  background: rgba(255,107,44,0.10);
  border-color: rgba(255,107,44,0.25);
}
.num-row__pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FF6B2C;
  box-shadow: 0 0 0 0 rgba(255,107,44,0.55);
  animation: numPulse 1.8s ease-out infinite;
}
@keyframes numPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,107,44,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(255,107,44,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,44,0); }
}
.num-row__label {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin: 2px 0 0;
}
.num-row__source {
  font: 500 11.5px/1.35 "JetBrains Mono", monospace;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* Side CTA — split glass pill */
.num-side__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 16px 22px;
  margin-top: 4px;
  background:
    radial-gradient(120% 90% at 100% 50%, rgba(255,107,44,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  transition: all 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Full-width variant (placed outside the side rail) */
.num-side__cta--full {
  position: relative;
  width: 100%;
  margin-top: 24px;
  padding: 20px 26px 20px 30px;
  border-radius: 18px;
  background:
    radial-gradient(80% 120% at 100% 50%, rgba(255,107,44,0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  overflow: hidden;
}
.num-side__cta--full::before {
  content: "";
  position: absolute;
  left: 0; top: 14%; bottom: 14%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #FF6B2C, rgba(255,107,44,0.2));
}
.num-side__cta--full .num-side__cta-text strong { font-size: 17px; }
.num-side__cta--full .num-side__cta-sub { font-size: 12px; }
.num-side__cta--full .num-side__cta-arrow { width: 38px; height: 38px; }
.num-side__cta-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.num-side__cta-text strong {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.num-side__cta-sub {
  font: 500 11.5px/1 "JetBrains Mono", monospace;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}
.num-side__cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #0F1116;
  flex-shrink: 0;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), background 280ms ease;
}
.num-side__cta:hover {
  border-color: rgba(255,107,44,0.4);
  background:
    radial-gradient(120% 90% at 100% 50%, rgba(255,107,44,0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,107,44,0.08) 0%, rgba(255,255,255,0.02) 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(255,107,44,0.45);
}
.num-side__cta:hover .num-side__cta-arrow {
  background: #FF6B2C;
  color: #fff;
  transform: translateX(3px);
}

/* Methodology / proof strip */
.numbers__proof {
  list-style: none;
  margin: 22px 0 0;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}
.numbers__proof-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 11.5px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.numbers__proof-item svg { color: #FF6B2C; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .numbers__layout { grid-template-columns: 1fr; }
  .num-hero__core { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .num-hero { padding: 28px 22px 24px; }
  .num-hero__top { flex-wrap: wrap; }
  .num-hero__scale { padding: 0 50px 0 70px; }
  .num-row { grid-template-columns: 36px 1fr; padding: 18px 18px; gap: 12px; }
  .num-row__index { padding-right: 10px; }
  .num-row__delta { margin-left: 0; }
  .numbers__proof { padding: 14px 16px; gap: 10px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .num-row__pulse { animation: none; }
  .num-hero__bar span { animation: none; width: var(--w); }
}

/* ========== INTEGRATIONS ========== */
.integrations-section {
  background: var(--color-bg-white);
}

.integrations__hub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.integrations__center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
}

.integrations__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.integrations__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: all 200ms ease;
}

.integrations__logo:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* ========== SERVICES PRICING — editorial band ========== */
.pricing-section {
  background: #F7F7F5;
  position: relative;
}
.pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(255,107,44,0.04), transparent 70%);
}
.pricing-section .container { position: relative; }

.services-pricing {
  margin-top: 0;
  padding: 32px 36px 30px;
  border: 1px solid rgba(15, 17, 22, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(700px 180px at 50% 0%, rgba(255,107,44,0.05), transparent 70%),
    #ffffff;
  box-shadow: 0 24px 56px -32px rgba(15, 17, 22, 0.12);
}
.services-pricing__head { text-align: center; margin-bottom: 26px; }
.services-pricing__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 11px/1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FF6B2C;
  padding: 6px 12px;
  background: rgba(255,107,44,0.10);
  border: 1px solid rgba(255,107,44,0.22);
  border-radius: 999px;
  margin-bottom: 12px;
}
.services-pricing__tag::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: #FF6B2C;
  box-shadow: 0 0 0 3px rgba(255,107,44,0.18);
}
.services-pricing__title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
}
.services-pricing__sub {
  margin: 8px auto 0;
  max-width: 580px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.services-pricing__grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px dashed rgba(15, 17, 22, 0.12);
  padding-top: 22px;
}
.services-pricing__card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 6px 22px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.services-pricing__card + .services-pricing__card::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: rgba(15, 17, 22, 0.10);
}
.services-pricing__role {
  font: 700 11px/1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 17, 22, 0.55);
}
.services-pricing__value {
  margin: 0;
  font-family: var(--font-display, "Archivo Black"), "Inter", sans-serif;
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text-heading);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.services-pricing__currency {
  font-size: 0.7em;
  color: rgba(15, 17, 22, 0.55);
  font-weight: 800;
  margin-right: 1px;
}
.services-pricing__unit {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: var(--color-text-secondary);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-left: 6px;
}

@media (max-width: 900px) {
  .services-pricing__grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .services-pricing__card + .services-pricing__card:nth-child(3)::before { display: none; }
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  background: var(--color-bg-body);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card__rating {
  margin: -8px 0 var(--space-5);
  color: #F59E0B;
  letter-spacing: 0.12em;
  font-size: 14px;
  line-height: 1;
}

/* ========== FINAL CTA ========== */
.final-cta {
  background: var(--color-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Mesh gradient on CTA */
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 30% 50%, rgba(255, 107, 44, 0.1) 0, transparent 50%),
    radial-gradient(at 70% 50%, rgba(255, 107, 44, 0.06) 0, transparent 50%);
  pointer-events: none;
}

.final-cta__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.final-cta__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-tight);
}

.final-cta__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

@media (max-width: 1024px) {
  .services-pricing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .trust__logo {
    height: 96px;
  }
  .trust__city {
    font-size: 11px;
    margin-top: 6px;
  }
  .services-pricing {
    padding: var(--space-6) var(--space-4);
  }
  .services-pricing__grid {
    grid-template-columns: 1fr;
  }
  .services-pricing__value {
    font-size: 26px;
  }
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ==========================================================================
   Case Studies — Hero Console (unified panel)
   ========================================================================== */
/* Override default page-hero__visual frame: cs-console IS the frame */
.page-hero--dark .cs-hero__visual {
  position: relative;
  overflow: visible !important;
  aspect-ratio: auto;
  min-height: 0;
  max-width: none;
  margin-left: 0;
  justify-self: stretch;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: none;
  display: flex;
  align-items: center;
}
.page-hero--dark .cs-hero__visual::after { content: none; }

.cs-console {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #1A1A1F 0%, #131316 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow:
    0 40px 80px -24px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: csConsoleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
.cs-console::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255, 107, 44, 0.12) 0%, transparent 55%);
  pointer-events: none;
}
@keyframes csConsoleIn { to { opacity: 1; transform: translateY(0); } }

.cs-console__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}
.cs-console__title {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.75);
}
.cs-console__dot {
  width: 8px; height: 8px; border-radius: 999px; background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: csHeroDot 1.8s ease-out infinite;
}
.cs-console__badge {
  display: inline-flex; align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #6EE7B7;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
}

.cs-console__chart { position: relative; padding: 18px 14px 6px; }
.cs-console__chart .cs-chart__svg { width: 100%; height: 240px; display: block; }

.cs-console__kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.cs-console__kpi {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.cs-console__kpi:last-child { border-right: 0; }
.cs-console__kpi-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.cs-console__kpi-value { font-family: var(--font-display, 'Archivo Black', Inter, sans-serif); font-size: 26px; line-height: 1.05; color: #fff; letter-spacing: -0.02em; }
.cs-console__kpi-value small { font-size: 12px; font-family: inherit; opacity: 0.7; }
.cs-console__kpi-value--good { color: #FF8854; }
.cs-console__kpi-sub { font-size: 11px; color: rgba(255, 255, 255, 0.55); }

/* SVG text fallback */
.cs-console svg text,
.case-card__cover svg text,
.page-hero--dark svg text { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }

/* Chart animations (re-targeted to new viewBox 480x280) */
.cs-console .cs-grid line,
.cs-console .cs-axis text { opacity: 0; animation: csFadeIn 0.6s ease-out 0.4s forwards; }
.cs-console .cs-bar {
  transform: scaleY(0); transform-origin: center bottom; transform-box: fill-box;
  animation: csBarGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--d, 0s) + 0.5s) forwards;
}
@keyframes csBarGrow { 0% { transform: scaleY(0); } 60% { transform: scaleY(1.04); } 100% { transform: scaleY(1); } }
.cs-console .cs-line {
  stroke-dasharray: 520; stroke-dashoffset: 520;
  animation: csDraw 1.4s ease-out 1.05s forwards;
  filter: drop-shadow(0 0 6px rgba(255, 136, 84, 0.55));
}
@keyframes csDraw { to { stroke-dashoffset: 0; } }
.cs-console .cs-area { opacity: 0; animation: csFadeIn 0.8s ease-out 1.7s forwards; }
.cs-console .cs-pulse { opacity: 0; animation: csFadeIn 0.5s ease-out 2.2s forwards; }
.cs-console .cs-pulse__ring {
  transform-origin: center; transform-box: fill-box;
  animation: csPing 2.2s ease-out 2.4s infinite;
}
@keyframes csPing { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }
.cs-console .cs-shine {
  transform: translateX(-90px);
  animation: csSweep 5.5s ease-in-out 2.6s infinite;
}
@keyframes csSweep { 0% { transform: translateX(-90px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(420px); opacity: 0; } }
@keyframes csFadeIn { to { opacity: 1; } }
@keyframes csHeroDot {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .cs-console,
  .cs-console .cs-bar,
  .cs-console .cs-line,
  .cs-console .cs-area,
  .cs-console .cs-pulse,
  .cs-console .cs-shine,
  .cs-console .cs-grid line,
  .cs-console .cs-axis text { animation: none !important; opacity: 1; transform: none; stroke-dashoffset: 0; }
}

/* ==========================================================================
   Case Studies — Hero polish (pill, chips)
   ========================================================================== */
.cs-hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6EE7B7;
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
  margin-bottom: var(--space-6);
}
.cs-hero__pill-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: csHeroDot 1.8s ease-out infinite;
}
.cs-hero__title em { font-style: normal; background: linear-gradient(120deg, #FF8854 0%, #FF6B2C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-hero__chips {
  list-style: none; padding: 0; margin: var(--space-8) 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cs-hero__chips li {
  font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Featured Case Study
   ========================================================================== */
.cs-featured { background: var(--color-bg-body); padding-top: var(--space-20); padding-bottom: var(--space-20); }
.cs-featured__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-12);
  align-items: stretch;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}
.cs-featured__grid::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(255, 107, 44, 0.08), transparent 50%);
}
.cs-featured__copy { position: relative; display: flex; flex-direction: column; gap: var(--space-5); }
.cs-featured__tag {
  display: inline-flex; align-items: center; gap: 8px;
  width: max-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 107, 44, 0.08);
  color: #E85C1F;
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
}
.cs-featured__title {
  font-family: var(--font-display, 'Archivo Black', sans-serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin: 0;
}
.cs-featured__lede { font-size: 16px; line-height: 1.6; color: var(--color-text-secondary); margin: 0; }
.cs-featured__quote {
  position: relative;
  background: linear-gradient(135deg, #18181B 0%, #27272A 100%);
  color: #fff;
  padding: var(--space-6) var(--space-6) var(--space-5) calc(var(--space-6) + 32px);
  border-radius: 16px;
  font-size: 15px; line-height: 1.65; font-style: italic;
  margin: var(--space-2) 0 0;
}
.cs-featured__qmark {
  position: absolute; top: 14px; left: 18px;
  font-family: 'Georgia', serif;
  font-size: 56px; line-height: 0.8; color: rgba(255, 107, 44, 0.7);
  pointer-events: none;
}
.cs-featured__qauthor {
  display: flex; align-items: center; gap: 12px;
  margin-top: var(--space-5);
  font-style: normal;
}
.cs-featured__qavatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #FF8854, #E85C1F);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: #fff;
}
.cs-featured__qauthor strong { display: block; font-weight: 700; font-size: 14px; color: #fff; }
.cs-featured__qauthor span span { font-size: 12px; color: rgba(255,255,255,0.6); }
.cs-featured__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: auto; padding-top: var(--space-2); }

.cs-featured__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(140px, auto);
  gap: var(--space-3);
  align-self: center;
}
.cs-kpi {
  background: #fff;
  border: 1px solid rgba(15, 15, 17, 0.08);
  border-radius: 14px;
  padding: var(--space-5) var(--space-5);
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 1px 0 rgba(15, 15, 17, 0.04), 0 12px 28px -22px rgba(15, 15, 17, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cs-kpi:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -16px rgba(15, 15, 17, 0.22); border-color: rgba(255, 107, 44, 0.3); }
.cs-kpi--hero { background: linear-gradient(135deg, #FF6B2C 0%, #E85C1F 100%); border-color: transparent; color: #fff; }
.cs-kpi__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-secondary); }
.cs-kpi--hero .cs-kpi__label { color: rgba(255, 255, 255, 0.85); }
.cs-kpi__value { font-family: var(--font-display, 'Archivo Black', sans-serif); font-size: clamp(28px, 3vw, 40px); line-height: 1; color: var(--color-text-primary); letter-spacing: -0.02em; }
.cs-kpi__value small { font-size: 0.55em; opacity: 0.75; }
.cs-kpi--hero .cs-kpi__value { color: #fff; font-size: clamp(40px, 4.2vw, 56px); }
.cs-kpi__delta { font-size: 12px; color: var(--color-text-secondary); }
.cs-kpi--hero .cs-kpi__delta { color: rgba(255, 255, 255, 0.85); }
.cs-kpi__delta--good { color: #059669; font-weight: 700; }
.cs-kpi--hero .cs-kpi__delta--good { color: #ECFDF5; }

/* ==========================================================================
   Grid section header split + filter tabs
   ========================================================================== */
.section__header--split {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: var(--space-6); text-align: left;
  max-width: none;
}
.section__header--split .section__title { margin: var(--space-2) 0 0; }
.cs-filter {
  display: inline-flex; gap: 6px; padding: 5px;
  background: #F4F4F5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
}
.cs-filter__btn {
  appearance: none; border: 0; background: transparent;
  padding: 8px 16px; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--color-text-secondary); cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.cs-filter__btn:hover { color: var(--color-text-primary); }
.cs-filter__btn.is-active { background: #18181B; color: #fff; box-shadow: 0 4px 12px -4px rgba(0,0,0,0.25); }
.cs-filter__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px;
  border-radius: 999px;
  background: rgba(15, 15, 17, 0.08); color: var(--color-text-secondary);
  font-size: 10px; font-weight: 700; line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.cs-filter__btn.is-active .cs-filter__count { background: rgba(255, 255, 255, 0.18); color: #fff; }
.cs-filter__btn.is-empty { opacity: 0.55; }
.cs-filter__btn.is-empty .cs-filter__count { background: rgba(15, 15, 17, 0.05); }

/* Empty state for filtered verticals with no cards */
.cs-empty {
  margin-top: var(--space-6);
  border: 1px dashed rgba(15, 15, 17, 0.18);
  border-radius: 18px;
  padding: var(--space-10) var(--space-6);
  background: #FAFAFA;
  text-align: center;
}
.cs-empty__inner { max-width: 520px; margin: 0 auto; }
.cs-empty__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255, 107, 44, 0.1);
  margin-bottom: var(--space-3);
}
.cs-empty__title {
  font-family: var(--font-display, 'Archivo Black', Inter, sans-serif);
  font-size: 20px; line-height: 1.2; margin: 0 0 var(--space-2);
  color: var(--color-text-primary);
}
.cs-empty__text { font-size: 14px; line-height: 1.6; color: var(--color-text-secondary); margin: 0; }
.cs-empty__text a { color: #FF6B2C; font-weight: 600; text-decoration: none; }
.cs-empty__text a:hover { text-decoration: underline; }
.case-card[data-vertical].is-hidden,
.cs-card[data-vertical].is-hidden { display: none; }

/* ==========================================================================
   Case Studies — Editorial cards (revamped)
   ========================================================================== */
.cs-grid__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-12);
}
.cs-grid__heading { max-width: 640px; }
.cs-grid__heading .section__title { margin: var(--space-2) 0 var(--space-4); }
.cs-grid__lede { color: var(--color-text-secondary); font-size: 16px; line-height: 1.6; margin: 0; }

.cs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.cs-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 15, 17, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 15, 17, 0.04), 0 24px 48px -28px rgba(15, 15, 17, 0.18);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.cs-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #FF6B2C, #E85C1F);
  opacity: 0; transition: opacity 0.3s ease;
}
.cs-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 44, 0.3);
  box-shadow: 0 1px 0 rgba(15, 15, 17, 0.04), 0 32px 60px -24px rgba(15, 15, 17, 0.22);
}
.cs-card:hover::before { opacity: 1; }

.cs-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(15, 15, 17, 0.06);
  background: linear-gradient(180deg, #FAFAFA, #fff);
}
.cs-card__chip {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 44, 0.1);
  border: 1px solid rgba(255, 107, 44, 0.22);
  color: #C84A14;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
}
.cs-card__chip--pilot {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.14);
  color: #475569;
}
.cs-card__loc {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--color-text-secondary);
}

.cs-card__body {
  display: flex; flex-direction: column;
  padding: var(--space-6) var(--space-6) var(--space-5);
  flex: 1;
}
.cs-card__client {
  font-family: var(--font-display, 'Archivo Black', Inter, sans-serif);
  font-size: 24px; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin: 0;
}
.cs-card__hero {
  display: flex; flex-direction: column; gap: 4px;
  margin: var(--space-5) 0 var(--space-5);
  padding: var(--space-5) 0;
  border-top: 1px dashed rgba(15, 15, 17, 0.1);
  border-bottom: 1px dashed rgba(15, 15, 17, 0.1);
}
.cs-card__big {
  font-family: var(--font-display, 'Archivo Black', Inter, sans-serif);
  font-size: clamp(44px, 4.6vw, 56px); line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #FF8854 0%, #E85C1F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cs-card__big small {
  font-family: inherit; font-size: 0.45em; opacity: 0.85; margin-left: 4px;
  background: inherit; -webkit-background-clip: text; background-clip: text;
}
.cs-card__big-label { font-size: 13px; font-weight: 600; color: var(--color-text-secondary); letter-spacing: 0.1px; }

.cs-card__story {
  font-size: 14px; line-height: 1.65; color: var(--color-text-secondary);
  margin: 0 0 var(--space-5);
}
.cs-card__proof {
  list-style: none; padding: 0; margin: 0 0 var(--space-2);
  display: flex; flex-direction: column; gap: 8px;
}
.cs-card__proof li {
  display: grid; grid-template-columns: 18px 1fr; gap: 8px;
  align-items: flex-start;
  font-size: 13px; line-height: 1.5; color: var(--color-text-primary);
}
.cs-card__proof svg { margin-top: 3px; }

.cs-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid rgba(15, 15, 17, 0.06);
  background: #FAFAFA;
}
.cs-card__live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: #047857;
}
.cs-card__live-dot {
  width: 7px; height: 7px; border-radius: 999px; background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: csHeroDot 1.8s ease-out infinite;
}
.cs-card__live--pilot { color: #B45309; }
.cs-card__live--pilot .cs-card__live-dot { background: #F59E0B; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.55); }
.cs-card__link {
  font-size: 13px; font-weight: 700; color: var(--color-text-primary);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.cs-card__link:hover { color: #FF6B2C; gap: 10px; }

@media (max-width: 1023px) {
  .cs-grid__header { grid-template-columns: 1fr; align-items: start; }
  .cs-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cs-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Before / After Matrix
   ========================================================================== */
.cs-matrix {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.2);
}
.cs-matrix__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  gap: var(--space-4);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 15px;
  transition: background-color 0.2s ease;
}
.cs-matrix__row:first-child { border-top: 0; }
.cs-matrix__row:not(.cs-matrix__row--head):hover { background: #FAFAFA; }
.cs-matrix__row--head {
  background: #18181B; color: rgba(255,255,255,0.7);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px;
}
.cs-matrix__metric { color: var(--color-text-primary); font-weight: 600; }
.cs-matrix__before { color: var(--color-text-secondary); text-decoration: line-through; text-decoration-color: rgba(0,0,0,0.2); font-variant-numeric: tabular-nums; }
.cs-matrix__after  { color: var(--color-text-primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.cs-matrix__delta {
  justify-self: end;
  padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-text-secondary);
}
.cs-matrix__delta--good { background: rgba(5, 150, 105, 0.1); color: #059669; }

/* ==========================================================================
   Final CTA chips
   ========================================================================== */
.cs-cta__chips {
  list-style: none; padding: 0; margin: 0 auto var(--space-6);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.cs-cta__chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px; font-weight: 600;
}
.cs-cta__chips li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.2); color: #34D399;
  font-size: 11px; font-weight: 800;
}

/* ==========================================================================
   Responsive — case studies polish
   ========================================================================== */
@media (max-width: 1023px) {
  .cs-featured__grid { grid-template-columns: 1fr; }
  .section__header--split { align-items: flex-start; }
}
@media (max-width: 560px) {
  .cs-console__kpis { grid-template-columns: 1fr; }
  .cs-console__kpi { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .cs-console__kpi:last-child { border-bottom: 0; }
  .cs-console__chart .cs-chart__svg { height: 200px; }
}
@media (max-width: 720px) {
  .cs-matrix__row { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .cs-matrix__metric { grid-column: 1 / -1; font-size: 13px; color: var(--color-text-secondary); }
  .cs-matrix__delta { justify-self: start; }
  .cs-matrix__row--head { display: none; }
  .cs-featured__metrics { grid-template-columns: 1fr; grid-template-rows: auto; }
}
.reveal-delay-6 { transition-delay: 0.48s; }