/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
  --bg-primary: #09090B;
  --bg-surface: #111113;
  --bg-card: #17171B;
  --bg-card-hover: #1E1E23;
  --bg-white: #FFFFFF;
  --bg-off-white: #F7F7F8;
  --bg-light-warm: #EFEFEF;

  --accent: #4A8EA8;
  --accent-light: #6AAFCB;
  --accent-glow: rgba(74, 142, 168, 0.08);
  --accent-glow-strong: rgba(74, 142, 168, 0.14);
  --gold: #A89460;
  --gold-light: #C4AE72;

  --text-white: #ECECEE;
  --text-off-white: #C8C8CC;
  --text-muted: #78787F;
  --text-dark: #111113;
  --text-dark-secondary: #4A4A52;
  --text-dark-muted: #636370;

  --border-dark: rgba(255,255,255,0.07);
  --border-light: #DDDDE0;

  --font-heading: 'Sora', -apple-system, sans-serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --max-width: 1240px;
  --section-pad: clamp(80px, 10vw, 140px);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-white);
  background: var(--bg-primary);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ═══════════════════════════════════════════
   SMOOTH SCROLL WRAPPERS
   ═══════════════════════════════════════════ */
#smooth-wrapper {
  overflow: hidden;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

#smooth-content {
  will-change: transform;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

.overline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.overline-dark {
  color: var(--accent);
}

.body-lg {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL — BASE (overridden by GSAP when loaded)
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Custom cursor removed for cleaner experience */

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: env(safe-area-inset-top, 0) clamp(20px, 4vw, 40px) 0;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border-dark);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-left: 0.5rem;
  letter-spacing: -0.02em;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--text-white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 24px;
  border: 1px solid var(--border-dark);
  color: var(--text-off-white);
  transition: all 0.3s ease;
  background: transparent;
}

.nav-cta:hover {
  background: var(--text-white);
  color: var(--bg-primary);
  border-color: var(--text-white);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  margin-right: -8px;
  position: relative;
  z-index: 101;
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Hamburger → X animation */
.nav.menu-open .nav-mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.menu-open .nav-mobile-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav.menu-open .nav-mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════
   THREE.JS HERO CANVAS
   ═══════════════════════════════════════════ */
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(72px + env(safe-area-inset-top, 0));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -72px 0 0 0;
  z-index: 0;
  background: none;
}

/* Mobile animated background — lightweight CSS orbs */
@media (max-width: 1024px) {
  .hero-bg {
    background: none;
  }
  .hero-bg::before,
  .hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    will-change: transform;
  }
  .hero-bg::before {
    width: 280px;
    height: 280px;
    background: rgba(74, 142, 168, 0.18);
    top: 10%;
    left: -15%;
    animation: heroOrbA 10s ease-in-out infinite;
  }
  .hero-bg::after {
    width: 220px;
    height: 220px;
    background: rgba(106, 175, 203, 0.14);
    bottom: 15%;
    right: -12%;
    animation: heroOrbB 13s ease-in-out infinite;
  }
  /* Third orb via the hero element itself */
  .hero::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(168, 148, 96, 0.1);
    filter: blur(60px);
    top: 50%;
    left: 40%;
    z-index: 0;
    pointer-events: none;
    animation: heroOrbC 16s ease-in-out infinite;
    will-change: transform;
  }
}

@keyframes heroOrbA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -20px) scale(1.15); }
  50% { transform: translate(30px, 30px) scale(1.05); }
  75% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes heroOrbB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-35px, 25px) scale(1.1); }
  50% { transform: translate(-15px, -30px) scale(0.95); }
  75% { transform: translate(30px, -10px) scale(1.05); }
}

@keyframes heroOrbC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, -25px) scale(1.1); }
  66% { transform: translate(30px, 20px) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: clamp(60px, 8vw, 100px) 0;
}

/* Hero cinematic text reveal */
.hero .overline {
  margin-bottom: 1.5rem;
  opacity: 0;
}

.hero .overline .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

.hero h1 {
  margin-bottom: 1.5rem;
  opacity: 1;
}

.hero h1 .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.05em;
}

.hero h1 .word-inner {
  display: inline-block;
  transform: translateY(110%);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
  opacity: 0;
  filter: blur(8px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateX(-30px);
}

/* Fallback: show hero content if GSAP doesn't load within 2s */
@keyframes heroFallback {
  to { opacity: 1; transform: none; filter: none; }
}
.hero .overline { animation: heroFallback 0.6s ease-out 2s forwards; }
.hero-sub { animation: heroFallback 0.6s ease-out 2.2s forwards; }
.hero-actions { animation: heroFallback 0.6s ease-out 2.4s forwards; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero .overline,
  .hero .overline .char,
  .hero h1 .word-inner,
  .hero-sub,
  .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 16px 32px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--accent);
  color: var(--bg-primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(74, 142, 168, 0.15);
}

.btn-ghost {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s ease, gap 0.25s ease;
}

.btn-ghost:hover { color: var(--accent-light); gap: 0.75rem; }

.btn-ghost svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.btn-ghost:hover svg { transform: translateX(2px); }

/* ═══════════════════════════════════════════
   LANGUAGE TOGGLE
   ═══════════════════════════════════════════ */
.lang-toggle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border-dark);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-toggle:hover {
  color: var(--text-white);
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* ═══════════════════════════════════════════
   MARQUEE STATS BAR
   ═══════════════════════════════════════════ */
.stats-bar {
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 3rem 0;
  background: var(--bg-surface);
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 0.5rem 0.75rem;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 0%;
  width: 1px;
  background: var(--border-dark);
  transition: height 0.6s var(--ease-out);
}

.stat-item.divider-visible:not(:last-child)::after {
  height: 80%;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-number .suffix {
  font-size: 0.6em;
  color: var(--accent);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.stat-source {
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.5);
  margin-top: 0.35rem;
}

/* ═══════════════════════════════════════════
   PROBLEM STATEMENT
   ═══════════════════════════════════════════ */
.problem {
  padding: var(--section-pad) 0;
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
  position: relative;
}

/* Vertical accent line between columns */
.problem-grid::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0%;
  background: var(--accent);
  opacity: 0.2;
  transform: translateX(-50%);
  transition: height 1.5s var(--ease-out);
}

.problem-grid.line-visible::after {
  height: 100%;
}

.problem-left h2 {
  margin-top: 1rem;
  margin-bottom: 1.75rem;
}

.problem-left .body-lg {
  max-width: 480px;
}

.problem-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.25rem;
}

.problem-card {
  padding: 2rem 2.25rem;
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.problem-card:hover {
  border-color: rgba(74, 142, 168, 0.2);
  background: var(--bg-card-hover);
}

.problem-card-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.6s var(--ease-out);
}

.problem-card.visible .problem-card-number {
  clip-path: inset(0 0% 0 0);
}

.problem-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-white);
  line-height: 1.3;
}

.problem-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   COST OF INACTION — LIGHT SECTION
   ═══════════════════════════════════════════ */
.cost-section {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
  color: var(--text-dark);
  position: relative;
}

.cost-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
}

.cost-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem;
}

.cost-header h2 {
  color: var(--text-dark);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.cost-header p {
  color: var(--text-dark-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cost-card {
  background: var(--bg-off-white);
  border: 1px solid var(--border-light);
  padding: 2.25rem 2rem 2rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
  display: flex;
  flex-direction: column;
}

.cost-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.cost-card:hover::before { transform: scaleX(1); }

.cost-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.cost-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cost-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.cost-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.cost-card .cost-amount {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.cost-source {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-dark-muted);
  opacity: 0.55;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.cost-card p {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
  flex-grow: 1;
}

/* Waterfall chart */
.cost-waterfall {
  max-width: 800px;
  margin: 0 auto 3.5rem;
  padding: 2.5rem 2rem;
}

.waterfall-bar-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.6rem;
}

.waterfall-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dark-muted);
  width: 130px;
  flex-shrink: 0;
  text-align: right;
  line-height: 1.3;
}

.waterfall-track {
  flex: 1;
  height: 36px;
  background: var(--bg-light-warm);
  border-radius: 3px;
  position: relative;
  overflow: visible;
}

.waterfall-fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 0.8s var(--ease-out);
  display: flex;
  align-items: center;
  padding-right: 12px;
  justify-content: flex-end;
  position: relative;
}

.waterfall-amount {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.waterfall-bar-row:nth-child(1) .waterfall-fill { background: #2D2D32; }
.waterfall-bar-row:nth-child(2) .waterfall-fill { background: #363640; }
.waterfall-bar-row:nth-child(3) .waterfall-fill { background: #40404A; }
.waterfall-bar-row:nth-child(4) .waterfall-fill { background: #4A4A55; }
.waterfall-bar-row:nth-child(5) .waterfall-fill { background: var(--accent); }
.waterfall-bar-row:nth-child(6) .waterfall-fill { background: var(--accent); }

/* Total cost callout */
.cost-total {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem 3rem;
  border: 2px solid transparent;
  position: relative;
  background: var(--bg-off-white);
  overflow: hidden;
}

/* Animated border using SVG */
.cost-total-border {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cost-total-border rect {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.cost-total-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 0.5rem;
}

.cost-total-amount {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cost-total-amount em {
  font-style: normal;
  color: var(--accent);
}

.cost-total-sub {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════
   SERVICES / PILLARS — Bento Layout
   ═══════════════════════════════════════════ */
.services {
  padding: var(--section-pad) 0;
  position: relative;
}

.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem;
}

.services-header h2 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.services-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Bento grid */
.pillars-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pillar {
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.pillar:hover {
  border-color: rgba(74, 142, 168, 0.15);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

/* Glow layer in bottom half cards */
.pillar-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.pillar:hover .pillar-glow { opacity: 1; }

/* Spotlight for mouse tracking */
.pillar-spotlight {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.pillar:hover .pillar-spotlight { opacity: 1; }
.pillar > *:not(.pillar-glow):not(.pillar-spotlight) { position: relative; z-index: 1; }

/* Featured pillar — spans full width */
.pillar--featured {
  grid-column: 1 / -1;
  background: var(--bg-card);
}

.pillar--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--accent);
  opacity: 0.5;
}

.pillar-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 3rem;
  align-items: center;
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.pillar-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.pillar-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Visual right side — hero metric + icon ring */
.pillar-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.pillar-hero-metric {
  text-align: center;
}

.pillar-hero-number {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pillar-hero-unit {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  margin-left: 0.2em;
}

.pillar-hero-caption {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.pillar-icon-ring {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.pillar-icon-ring svg {
  width: 100%;
  height: 100%;
}

.pillar-ring-progress {
  transition: stroke-dashoffset 1.5s var(--ease-out);
}

/* Featured metrics bar */
.pillar-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.75rem 3rem;
  border-top: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.02);
}

.pillar-metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border-dark);
}

.pillar-metric {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.pillar-metric-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-light);
  white-space: nowrap;
}

.pillar-metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Half-width pillar cards */
.pillar--half {
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.pillar--half::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
  opacity: 0.5;
}

.pillar-icon-sm {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
}

.pillar-icon-sm svg {
  width: 100%;
  height: 100%;
}

.pillar--half h3 {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.pillar--half p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.pillar-stat-highlight {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.pillar-stat-big {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pillar-stat-context {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pillar--half .pillar-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ═══════════════════════════════════════════
   USE CASES — Side Navigation Layout
   ═══════════════════════════════════════════ */
.use-cases {
  padding: var(--section-pad) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.use-cases-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.use-cases-header h2 { margin-top: 0.75rem; margin-bottom: 1rem; }
.use-cases-header p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

/* Side-by-side layout */
.use-cases-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Vertical tab navigation */
.tab-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 100px;
}

.tab-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  text-align: left;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tab-nav-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease-out);
}

.tab-nav-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.tab-nav-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  display: block;
  line-height: 1.3;
}

.tab-nav-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.4);
  display: block;
  margin-top: 0.15rem;
}

.tab-nav-btn:hover {
  border-color: rgba(74, 142, 168, 0.15);
  color: var(--text-off-white);
  background: rgba(74, 142, 168, 0.03);
}

.tab-nav-btn:hover svg { opacity: 0.8; }

.tab-nav-btn.active {
  border-color: rgba(74, 142, 168, 0.2);
  background: rgba(74, 142, 168, 0.06);
  color: var(--text-white);
}

.tab-nav-btn.active::before { transform: scaleY(1); }
.tab-nav-btn.active svg { opacity: 1; color: var(--accent); }
.tab-nav-btn.active .tab-nav-count { color: var(--accent); opacity: 0.6; }

.tab-panels {
  display: grid;
  grid-template: 1fr / 1fr;
  min-width: 0;
  overflow: hidden;
}

.tab-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  transform: translateY(8px);
}

.tab-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Tab transition animation */
.tab-panel.animating-out {
  visibility: visible;
  opacity: 0;
  transform: translateY(-8px);
}

.tab-panel.animating-in {
  visibility: visible;
  opacity: 0;
  transform: translateY(8px);
}

.use-case-card {
  padding: 1.75rem;
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out), background 0.3s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.use-case-card:hover {
  border-color: rgba(74, 142, 168, 0.2);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.use-case-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.use-case-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.3;
}

.use-case-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

.use-case-stat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-light);
  padding: 4px 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(74, 142, 168, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════
   CASE STUDY — Cinematic Full-Width
   ═══════════════════════════════════════════ */
.case-study {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.case-study-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.case-study-gradient {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
}

.case-study .container {
  position: relative;
  z-index: 1;
}

.case-study-top {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem;
}

.case-study-top .overline {
  margin-bottom: 1.25rem;
}

.case-study-top h2 {
  margin: 0;
}

/* Big metrics strip */
.case-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 4.5rem;
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
}

.case-metric-big {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.case-metric-big:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-dark);
}

.case-metric-big:hover {
  background: rgba(74, 142, 168, 0.03);
}

.case-metric-before-after {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.case-metric-before {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.5);
  text-decoration: line-through;
}

.case-metric-value {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, var(--text-white) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-metric-value span {
  font-size: 0.45em;
  font-weight: 500;
}

.case-metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* Quote block */
.case-quote-block {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 1rem 2.5rem 0;
}

.case-quote-mark {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.3;
}

.case-quote-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  color: var(--text-off-white);
  line-height: 1.75;
  font-style: normal;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
  opacity: 0;
}

.case-quote-block .attribution {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   METHODOLOGY — HORIZONTAL SCROLL
   ═══════════════════════════════════════════ */
.methodology {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
  color: var(--text-dark);
}

.methodology-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem;
}

.methodology-header h2 { color: var(--text-dark); margin-top: 0.75rem; margin-bottom: 1rem; }
.methodology-header p { color: var(--text-dark-muted); font-size: 1.05rem; line-height: 1.7; }

.methodology-scroll-container {
  overflow: visible;
  position: relative;
  padding-top: 1rem;
}

.phases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.phases-line {
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.phases-line-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

.phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.phase-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: var(--bg-white);
  margin-bottom: 2.5rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.phase-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.4s var(--ease-out);
}

.phase.active .phase-dot {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(74, 142, 168, 0.12);
}

.phase.active .phase-dot::after { transform: scale(1); }

.phase-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s var(--ease-out);
}

.phase.active .phase-icon {
  opacity: 1;
  transform: scale(1);
}

.phase-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.phase-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-dark-muted);
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}

.phase.active .phase-number { color: var(--accent); }

.phase h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.phase.active h4 { opacity: 1; }

.phase p {
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  line-height: 1.55;
  opacity: 0.3;
  transition: opacity 0.4s ease;
  max-width: 200px;
  flex-grow: 1;
}

.phase.active p { opacity: 1; }

.phase-timeline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dark-muted);
  margin-top: 1rem;
  padding: 4px 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-off-white);
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.phase.active .phase-timeline { opacity: 1; }

/* ═══════════════════════════════════════════
   MATURITY MODEL — 3D STAIRCASE
   ═══════════════════════════════════════════ */
.maturity {
  padding: var(--section-pad) 0;
  position: relative;
}

.maturity-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.maturity-content .overline { margin-bottom: 1.25rem; }
.maturity-content h2 { margin-bottom: 1.75rem; }
.maturity-content .body-lg { margin-bottom: 2.5rem; }

.maturity-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-light);
  transition: all 0.3s ease;
}

.maturity-cta:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.maturity-visual {
  position: relative;
  perspective: 600px;
}

.staircase {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 340px;
  padding: 2rem;
  transform: rotateX(8deg) rotateY(-12deg);
  transform-style: preserve-3d;
}

.stair {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  transform-style: preserve-3d;
}

.stair-bar {
  width: 100%;
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem 0.5rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transform-origin: bottom;
  transform: scaleY(0);
}

.stair-bar.grown {
  transform: scaleY(1);
}

/* 3D side face */
.stair-bar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.stair-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  width: 8px;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-left: none;
  transform: skewY(-30deg);
  transform-origin: top left;
}

.stair:nth-child(1) .stair-bar { height: 20%; }
.stair:nth-child(2) .stair-bar { height: 40%; }
.stair:nth-child(3) .stair-bar { height: 60%; }
.stair:nth-child(4) .stair-bar { height: 80%; }
.stair:nth-child(5) .stair-bar { height: 100%; }

/* Recommended level glow */
.stair:nth-child(3) .stair-bar.grown {
  border-color: rgba(74, 142, 168, 0.3);
  box-shadow: 0 0 20px rgba(74, 142, 168, 0.1);
}

.stair:hover .stair-bar {
  background: var(--bg-card-hover);
  border-color: rgba(74, 142, 168, 0.3);
}

.stair-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  margin: 0;
  white-space: nowrap;
}

.stair-level {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent);
  margin-top: 0.85rem;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   MARKET MOMENTUM
   ═══════════════════════════════════════════ */
.momentum {
  padding: var(--section-pad) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.momentum-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem;
}

.momentum-header h2 { margin-top: 0.75rem; margin-bottom: 1rem; }
.momentum-header p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

.momentum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.momentum-card {
  padding: 2.5rem 1.75rem;
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
  text-align: center;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Gradient border shift on hover */
.momentum-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--gold), var(--accent));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease, background-position 0.4s ease;
}

.momentum-card:hover::before {
  opacity: 1;
  background-position: 100% 100%;
}

.momentum-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
}

.momentum-value {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  position: relative;
}

.momentum-value.accent { color: var(--accent-light); }
.momentum-value.gold { color: var(--gold-light); }

/* Particle burst container */
.particle-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.momentum-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.momentum-source {
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.4);
  margin-top: auto;
}

/* ═══════════════════════════════════════════
   THOUGHT LEADERSHIP
   ═══════════════════════════════════════════ */
.insights {
  padding: var(--section-pad) 0;
}

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

.insights-header h2 { margin-top: 0.5rem; }

.insight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.insight-card {
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 142, 168, 0.2);
}

.insight-card-img {
  height: 220px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

/* Parallax layers inside card images */
.parallax-layer {
  position: absolute;
  inset: -20px;
  transition: transform 0.1s linear;
}

.parallax-layer--noise {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.parallax-layer--shapes {
  opacity: 0.15;
}

.parallax-layer--grid {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
}

.insight-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.insight-card:nth-child(1) .insight-card-img {
  background: linear-gradient(135deg, #13131A, #1A1A24);
}
.insight-card:nth-child(1) .insight-card-img::after {
  background: radial-gradient(circle at 70% 40%, rgba(74, 142, 168, 0.08) 0%, transparent 60%);
}

.insight-card:nth-child(2) .insight-card-img {
  background: linear-gradient(135deg, #161614, #1E1E1A);
}
.insight-card:nth-child(2) .insight-card-img::after {
  background: radial-gradient(circle at 30% 60%, rgba(168, 148, 96, 0.1) 0%, transparent 60%);
}

.insight-card:nth-child(3) .insight-card-img {
  background: linear-gradient(135deg, #111514, #181E1A);
}
.insight-card:nth-child(3) .insight-card-img::after {
  background: radial-gradient(circle at 50% 50%, rgba(100, 160, 120, 0.08) 0%, transparent 60%);
}

.insight-card-body {
  padding: 2rem 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.insight-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.insight-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.85rem;
  color: var(--text-white);
}

.insight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

.insight-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-dark);
}

.insight-read-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.insight-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
  transition: transform 0.25s ease;
}

.insight-card:hover .insight-arrow { transform: translateX(3px); }

/* ═══════════════════════════════════════════
   FINAL CTA — WITH PARTICLE CANVAS
   ═══════════════════════════════════════════ */
.final-cta {
  padding: var(--section-pad) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

#cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.final-cta-content h2 { margin-bottom: 1.75rem; }
.final-cta-content .body-lg { margin-bottom: 2.5rem; }

.cta-phase-step {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(74, 142, 168, 0.3);
  padding: 4px 12px;
  margin-bottom: 1.5rem;
}

.cta-value-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  line-height: 1.6;
  font-style: italic;
}

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.cta-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta-benefit-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cta-benefit-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.cta-form-wrapper {
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
  padding: 3rem 2.75rem;
}

.cta-form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.cta-form-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-white);
  background: var(--bg-primary);
  border: 1px solid var(--border-dark);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--accent-light);
  box-shadow: 0 8px 30px rgba(74, 142, 168, 0.15);
}

.form-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 5rem 0 3rem;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-slogan {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-off-white);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-email {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  transition: color 0.25s ease;
}

.footer-email:hover {
  color: var(--accent-light);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-off-white);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--text-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(120, 120, 127, 0.5);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(120, 120, 127, 0.5);
  transition: color 0.25s ease;
}

.footer-legal a:hover { color: var(--text-muted); }

.footer-email-mobile {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  transition: color 0.25s ease;
}
.footer-email-mobile:hover { color: var(--accent-light); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pillars-bento { grid-template-columns: 1fr; }
  .pillar-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pillar-metrics-bar { flex-wrap: wrap; gap: 1rem; padding: 1.5rem; }
  .pillar-metric-divider { display: none; }
  .use-cases-layout { grid-template-columns: 1fr; }
  .tab-nav { flex-direction: row; flex-wrap: wrap; position: static; gap: 0.5rem; }
  .tab-nav-btn { flex: 1; min-width: 140px; }
  .case-metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .case-metric-big:nth-child(2)::after { display: none; }
  .phases { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .phases-line { display: none; }
  .phase { opacity: 1; }
  .phase h4, .phase p, .phase-timeline { opacity: 1; }
  .maturity-inner { grid-template-columns: 1fr; }
  .staircase { transform: none; }
  .momentum-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta-inner { grid-template-columns: 1fr; }
  .problem-grid::after { display: none; }
}

@media (max-width: 768px) {
  .nav-mobile-toggle { display: flex; }

  /* Slide-down menu panel (not full-screen) */
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: calc(72px + env(safe-area-inset-top, 0));
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    z-index: 99;
    border-bottom: 1px solid transparent;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.4s var(--ease-out), opacity 0.25s ease, padding 0.3s ease, border-color 0.3s ease;
  }

  .nav-links.open {
    max-height: 420px;
    opacity: 1;
    pointer-events: all;
    padding: 0.5rem 0 1rem;
    border-bottom-color: var(--border-dark);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    color: var(--text-off-white);
  }

  .nav-links a::after { display: none; }

  .nav-links .lang-toggle {
    display: inline-block;
    margin: 0.25rem 2rem;
    font-size: 0.72rem;
    padding: 6px 16px;
  }

  .nav-links .nav-cta {
    margin: 0.5rem 2rem 0.25rem;
    text-align: center;
    display: block;
  }

  .nav.menu-open {
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: transparent;
  }

  /* Hero title smaller on mobile */
  h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .hero-sub { font-size: 0.95rem; }

  .stats-bar-inner { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .stat-item:not(:last-child)::after { display: none; }

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

  /* Cost section — prevent horizontal overflow */
  .cost-section { overflow: hidden; }
  .cost-total { padding: 2.5rem 1.5rem; }
  .cost-total-amount { font-size: clamp(1.8rem, 7vw, 2.5rem); }

  /* Cost cards — 2 per row on mobile */
  .cost-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .cost-card { padding: 1.25rem 1rem 1rem; }
  .cost-card h4 { font-size: 0.88rem; }
  .cost-card .cost-amount { font-size: 1.3rem; margin-bottom: 0.5rem; }
  .cost-card p { font-size: 0.75rem; line-height: 1.5; }
  .cost-icon { width: 32px; height: 32px; margin-bottom: 0.75rem; }
  .cost-icon svg { width: 28px; height: 28px; }
  .cost-source { font-size: 0.58rem; margin-bottom: 0.5rem; }
  .cost-header { margin-bottom: 2.5rem; }

  /* Use cases — clean 2x2 tab grid on mobile */
  .tab-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    position: static;
    overflow: visible;
  }
  .tab-nav-btn {
    min-width: auto;
    flex: none;
    padding: 0.65rem 0.75rem;
    white-space: nowrap;
    justify-content: center;
  }
  .tab-nav-btn svg { width: 16px; height: 16px; }
  .tab-nav-label { font-size: 0.75rem; }
  .tab-nav-count { display: none; }
  .tab-panel { grid-template-columns: 1fr; }
  .use-case-card { padding: 1.25rem; }
  .use-case-card h4 { font-size: 0.95rem; }
  .use-case-card p { font-size: 0.82rem; }

  /* Pillars — tighter on mobile */
  .services-header { margin-bottom: 2.5rem; }
  .pillar-inner { padding: 1.5rem 1.25rem; gap: 1rem; }
  .pillar-text h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
  .pillar-text p { font-size: 0.82rem; line-height: 1.6; }
  .pillar-visual { padding: 0.75rem; gap: 0.75rem; }
  .pillar-hero-number { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .pillar-hero-unit { font-size: 1.1rem; }
  .pillar-hero-caption { font-size: 0.7rem; }
  .pillar-icon-ring { width: 70px; height: 70px; }
  .pillar-metrics-bar { padding: 0.75rem 1rem; gap: 1rem; }
  .pillar-metric-label { font-size: 0.68rem; }
  .pillar-metric-value { font-size: 0.85rem; }
  .pillar--half { padding: 1.5rem 1.25rem; }
  .pillar--half h3 { font-size: 1.15rem; }
  .pillar--half p { font-size: 0.8rem; margin-bottom: 1rem; }
  .pillar-icon-sm { width: 36px; height: 36px; margin-bottom: 0.75rem; }
  .pillar-stat-highlight { padding: 0.85rem 0; margin-bottom: 1rem; }
  .pillar-stat-big { font-size: clamp(2rem, 5vw, 2.5rem); }
  .pillar-number { margin-bottom: 0.75rem; }

  /* Case study — compact metrics */
  .case-study-top { margin-bottom: 2.5rem; }
  .case-metrics-strip { grid-template-columns: 1fr 1fr; }
  .case-metric-big { padding: 1.5rem 1rem; }
  .case-metric-big::after { display: none !important; }
  .case-metric-value { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .case-metric-label { font-size: 0.72rem; }
  .case-metric-before { font-size: 0.62rem; }
  .case-metric-before-after { margin-bottom: 0.5rem; }
  .case-metrics-strip { margin-bottom: 2.5rem; }
  .case-quote-block { padding: 0.5rem 1rem 0; }
  .case-quote-block blockquote { font-size: 1rem; }

  /* Methodology — vertical zigzag roadmap */
  .methodology-header { margin-bottom: 2.5rem; }
  .phases {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 40px;
    gap: 0;
  }
  .phases-line {
    display: block;
    position: absolute;
    left: 9px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    height: auto;
    right: auto;
    background: var(--border-light);
  }
  .phases-line-fill {
    width: 2px !important;
    height: 0%;
    transition: height 0.6s var(--ease-out);
    background: var(--accent);
  }
  .phase {
    position: relative;
    text-align: left;
    align-items: flex-start;
    padding: 0 0 2rem 0;
    /* Start hidden for mobile scroll animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
  }
  .phase.active {
    opacity: 1;
    transform: translateY(0);
  }
  .phase-dot {
    position: absolute;
    left: -40px;
    top: 0;
    margin-bottom: 0;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  }
  .phase.active .phase-dot {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(74, 142, 168, 0.4);
  }
  .phase-icon { display: none; }
  .phase h4, .phase p, .phase-timeline { opacity: 1; }
  .phase p { max-width: none; font-size: 0.78rem; }
  .phase-number { margin-bottom: 0.25rem; }
  /* Zigzag indent — every other phase shifts right */
  .phase:nth-child(3),
  .phase:nth-child(5) {
    margin-left: 24px;
  }
  .phase:nth-child(3) .phase-dot,
  .phase:nth-child(5) .phase-dot {
    left: -64px;
  }

  /* Momentum — 2 per row */
  .momentum-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .momentum-card { padding: 1.5rem 1rem; }
  .momentum-value { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .momentum-label { font-size: 0.75rem; }
  .momentum-header { margin-bottom: 2.5rem; }

  /* Insights — horizontal carousel showing 2 */
  .insights-header { flex-direction: column; align-items: flex-start; margin-bottom: 2rem; }
  .insight-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }
  .insight-cards::-webkit-scrollbar { display: none; }
  .insight-card {
    flex: 0 0 calc(50% - 0.375rem);
    scroll-snap-align: start;
    min-width: 0;
  }
  .insight-card-img { height: 120px; }
  .insight-card-body { padding: 1rem; }
  .insight-card h4 { font-size: 0.85rem; line-height: 1.35; margin-bottom: 0.5rem; }
  .insight-card p {
    font-size: 0.72rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .insight-tag { font-size: 0.6rem; margin-bottom: 0.5rem; }
  .insight-card-footer { margin-top: 0.75rem; padding-top: 0.75rem; }

  /* Waterfall — fix overflow + compact */
  .waterfall-label { width: 80px; font-size: 0.6rem; }
  .waterfall-bar-row { gap: 0.75rem; }
  .waterfall-fill { min-width: 50px; }
  .cost-waterfall { margin-bottom: 2rem; padding: 1.5rem 0.5rem; }

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

  /* Footer — show condensed info */
  .footer { padding: 2.5rem 0 1.5rem; }
  .footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    max-width: none;
  }
  .footer-tagline { display: none; }
  .footer-col { text-align: center; }
  .footer-col ul { align-items: center; }
  .footer-col h4 { margin-bottom: 0.75rem; font-size: 0.65rem; }
  .footer-col a { font-size: 0.78rem; }
  .footer-col ul { gap: 0.5rem; }
  .footer-email-mobile { display: none; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .footer-legal { justify-content: center; }

  /* CTA — compact on mobile */
  .final-cta { padding: clamp(40px, 8vw, 60px) 0; }
  .final-cta-content h2 { margin-bottom: 1rem; }
  .final-cta-content .body-lg { margin-bottom: 1.5rem; font-size: 0.95rem; }
  .cta-benefits { gap: 0.75rem; }
  .cta-benefit { font-size: 0.82rem; gap: 0.6rem; }
  .cta-benefit-icon { width: 18px; height: 18px; }
  .cta-benefit-icon svg { width: 18px; height: 18px; }
  .cta-value-note { margin-top: 1rem; padding-top: 1rem; font-size: 0.8rem; }
  .cta-form-wrapper { padding: 1.75rem 1.5rem; }
  .cta-form-wrapper h3 { font-size: 1.15rem; }
  .cta-form-sub { margin-bottom: 1.5rem; font-size: 0.8rem; }
  .cta-phase-step { margin-bottom: 1rem; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .hero-sub { font-size: 0.88rem; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; text-align: center; }

  .stats-bar-inner { grid-template-columns: 1fr; }
  .stat-item::after { display: none !important; }
  .staircase { height: 220px; padding: 0.75rem; }

  /* Cost cards stay 2-col but tighter */
  .cost-grid { gap: 0.5rem; }
  .cost-card { padding: 1rem 0.75rem 0.75rem; }
  .cost-card h4 { font-size: 0.8rem; }
  .cost-card .cost-amount { font-size: 1.1rem; }
  .cost-card p { font-size: 0.7rem; }
  .cost-icon { width: 28px; height: 28px; margin-bottom: 0.5rem; }
  .cost-icon svg { width: 24px; height: 24px; }

  .cost-waterfall { padding: 1rem 0; }
  .waterfall-label { width: 65px; font-size: 0.55rem; }

  /* Pillar inner stack fully */
  .pillar-inner { padding: 1.25rem 1rem; }
  .pillar-hero-number { font-size: 2.5rem; }
  .pillar-metrics-bar { flex-direction: column; gap: 0.75rem; padding: 0.75rem; }

  /* Momentum tighter */
  .momentum-card { padding: 1.25rem 0.75rem; }
  .momentum-value { font-size: clamp(1.5rem, 5vw, 2rem); }
  .momentum-label { font-size: 0.7rem; }

  /* Insights single card on very small screens */
  .insight-card { flex: 0 0 75%; }

  /* CTA even more compact */
  .cta-form-wrapper { padding: 1.25rem 1rem; }
  .cta-benefit { font-size: 0.78rem; }
  .cta-phase-step { font-size: 0.65rem; padding: 3px 10px; }

  /* Footer cols stack on very small */
  .footer-top { grid-template-columns: 1fr; gap: 1rem; }
}

/* ═══════════════════════════════════════════
   FRENCH LANGUAGE LAYOUT OVERRIDES
   French text is ~20-30% longer than English
   ═══════════════════════════════════════════ */
html[lang="fr"] .hero-content {
  max-width: 960px;
}

html[lang="fr"] .hero h1 {
  letter-spacing: -0.025em;
}

html[lang="fr"] .hero-sub {
  max-width: 720px;
}

html[lang="fr"] .problem-left h2 {
  letter-spacing: -0.02em;
}

html[lang="fr"] .cost-header h2 {
  letter-spacing: -0.02em;
}

html[lang="fr"] .services-header h2 {
  max-width: 700px;
}

html[lang="fr"] .services-header p {
  max-width: 680px;
}

html[lang="fr"] .pillar-1-text,
html[lang="fr"] .pillar p {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

html[lang="fr"] .tab-nav-label {
  font-size: 0.82rem;
}

html[lang="fr"] .use-case-card h4 {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

html[lang="fr"] .case-study-top h2 {
  max-width: 800px;
}

html[lang="fr"] .maturity-content h2 {
  letter-spacing: -0.02em;
}

html[lang="fr"] .maturity-content .body-lg {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
}

html[lang="fr"] .momentum-header h2 {
  max-width: 700px;
}

html[lang="fr"] .cta-benefit span {
  font-size: 0.88rem;
}

html[lang="fr"] .nav-cta {
  font-size: 0.72rem;
  padding: 10px 18px;
}

html[lang="fr"] .btn-primary {
  font-size: 0.82rem;
  padding: 14px 28px;
}

html[lang="fr"] .stat-label {
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
}

html[lang="fr"] .waterfall-label {
  width: 140px;
  font-size: 0.72rem;
}

@media (max-width: 768px) {
  html[lang="fr"] .hero-content {
    max-width: 100%;
  }
  html[lang="fr"] .waterfall-label {
    width: 110px;
    font-size: 0.65rem;
  }
  html[lang="fr"] .tab-nav-label {
    font-size: 0.75rem;
  }
  html[lang="fr"] .nav-cta {
    font-size: 0.8rem;
    padding: 10px 18px;
  }
}

/* ═══════════════════════════════════════════
   ARTICLE PAGE STYLES
   ═══════════════════════════════════════════ */
.article-hero {
  padding: clamp(120px, 15vw, 200px) 0 clamp(60px, 8vw, 100px);
  background: var(--bg-primary);
  position: relative;
}

.article-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-dark);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.article-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 12px;
  border: 1px solid rgba(74, 142, 168, 0.3);
}

.article-date,
.article-read-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-hero h1 {
  max-width: 920px;
  margin-bottom: 1.5rem;
}

.article-hero .hero-sub {
  max-width: 680px;
  opacity: 1;
  filter: none;
  animation: none;
}

.article-body {
  padding: clamp(40px, 6vw, 80px) 0 var(--section-pad);
  background: var(--bg-primary);
}

.article-body .container {
  max-width: 860px;
}

.article-body h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin: 3rem 0 1.25rem;
  color: var(--text-white);
}

.article-body h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin: 2.5rem 0 1rem;
  color: var(--text-off-white);
}

.article-body p {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  color: var(--text-off-white);
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-off-white);
  line-height: 1.8;
}

.article-body li {
  margin-bottom: 0.5rem;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--accent-glow);
  font-style: italic;
  color: var(--text-off-white);
}

.article-body blockquote p {
  margin-bottom: 0;
}

.article-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  padding: 2rem;
  margin: 2rem 0;
}

.article-stat-box .stat-big {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.article-stat-box p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.article-sources {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
}

.article-sources h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.article-sources ul {
  list-style: none;
  margin-left: 0;
}

.article-sources li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.article-sources li::before {
  content: '\2014\00a0';
  color: var(--accent);
}

.article-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  text-align: center;
}

.article-cta h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.article-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color 0.25s ease;
}

.article-back:hover {
  color: var(--accent);
}

.article-back svg {
  width: 16px;
  height: 16px;
}
