
/* ═══════════════════════════════════════════
   DESIGN SYSTEM — FRANCE TRICOLORE
   Bleu-Blanc-Rouge transformed into dark luxury
   ═══════════════════════════════════════════ */

:root {
  /* Depths — Deep Marine */
  --void: #020408;
  --abyss: #040814;
  --deep: #06102A;
  --surface: #0B1A3D;
  --raised: #0F2450;
  --elevated: #143065;
  
  /* Blues — République Palette */
  --blue-900: #002395;
  --blue-800: #0A3DAD;
  --blue-700: #1654C0;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-300: #93C5FD;
  --blue-200: #BFDBFE;
  --blue-glow: rgba(59, 130, 246, 0.15);
  --blue-ghost: rgba(59, 130, 246, 0.04);
  
  /* Rouge — Accent */
  --red-700: #B91C1C;
  --red-600: #DC2626;
  --red-500: #EF4444;
  --red-400: #F87171;
  --red-300: #FCA5A5;
  --red-glow: rgba(239, 68, 68, 0.12);
  
  /* Blanc-Or — French Luxury */
  --gold: #C9A84C;
  --gold-light: #E8D5A0;
  --gold-glow: rgba(201, 168, 76, 0.12);
  --gold-ghost: rgba(201, 168, 76, 0.04);
  
  /* Status */
  --emerald: #10B981;
  --amber: #FBBF24;
  
  /* Typography */
  --text: #F0F2F8;
  --text-secondary: #D4DAE8;
  --text-dim: #B0BACA;
  --text-ghost: #5A6878;
  
  /* Borders */
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --border-blue: rgba(59, 130, 246, 0.2);
  --border-red: rgba(239, 68, 68, 0.2);
  --border-gold: rgba(201, 168, 76, 0.2);
  
  /* Fonts */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  
  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
}

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

html { 
  scroll-behavior: smooth; 
  scrollbar-width: thin;
  scrollbar-color: var(--blue-700) var(--abyss);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb { background: var(--blue-700); border-radius: 3px; }

body {
  font-family: var(--sans);
  background: var(--abyss);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL SYSTEM
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ═══════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.scrolled {
  padding: 12px 40px;
  background: rgba(4, 8, 20, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
.header-logo {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 500;
  text-transform: uppercase;
  background: linear-gradient(135deg, #002395 0%, #FFFFFF 20%, #EF4444 40%, #FFFFFF 60%, #002395 80%, #FFFFFF 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tricoloreShimmer 10s ease-in-out infinite;
}
.header-logo span { -webkit-text-fill-color: transparent; }
.header-nav { display: flex; gap: 32px; list-style: none; }
.header-nav a {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-dim);
  text-decoration: none; transition: color 0.3s; position: relative;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--blue-500); transition: width 0.3s;
}
.header-nav a:hover { color: var(--blue-400); }
.header-nav a:hover::after { width: 100%; }

/* ═══════════════════════════════════════════
   HERO — CINEMATIC
   ═══════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  overflow: hidden; padding: 120px 40px 80px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
  animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

.hero-orb { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.hero-orb-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0, 35, 149, 0.12) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: orbFloat1 20s ease-in-out infinite;
}
.hero-orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: orbFloat2 25s ease-in-out infinite;
}
.hero-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  top: 40%; right: 10%;
  animation: orbFloat3 15s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(60px,40px)} 66%{transform:translate(-30px,60px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(-50px,-30px)} 66%{transform:translate(40px,-50px)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,30px)} }

/* Tricolore stripe — subtle top accent */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #002395 0%, #002395 33%, #FFFFFF 33%, #FFFFFF 66%, #ED2939 66%, #ED2939 100%);
  z-index: 10;
}

.hero-ghost {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(120px, 20vw, 300px);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(59, 130, 246, 0.04);
  letter-spacing: -0.02em;
  user-select: none; pointer-events: none; white-space: nowrap;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 1200px; }
.hero-logo {
  font-family: var(--sans);
  font-size: clamp(48px, 11vw, 180px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.85;
  text-transform: uppercase;
  margin-bottom: 36px;
  position: relative;
  overflow: visible;
  background: linear-gradient(135deg, #002395 0%, #3B82F6 8%, #FFFFFF 18%, #F0F4FF 28%, #FFFFFF 38%, #EF4444 48%, #FFFFFF 55%, #FFF0F0 65%, #FFFFFF 75%, #3B82F6 85%, #FFFFFF 92%, #002395 100%);
  background-size: 500% 500%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tricoloreShimmer 10s ease-in-out infinite;
  filter: drop-shadow(0 0 120px rgba(59, 130, 246, 0.4)) drop-shadow(0 0 250px rgba(255, 255, 255, 0.15)) drop-shadow(0 0 60px rgba(239, 68, 68, 0.15));
}
.hero-logo span { display: block; }
@keyframes tricoloreShimmer {
  0% { background-position: 0% 50%; }
  33% { background-position: 50% 100%; }
  66% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-blue);
  border-radius: 100px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 3px; color: var(--blue-400);
  text-transform: uppercase; margin-bottom: 40px;
  background: rgba(59, 130, 246, 0.04);
  animation: badgePulse 3s ease-in-out infinite;
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--blue-500);
  border-radius: 50%; animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(59,130,246,0.4)} 50%{opacity:0.7;box-shadow:0 0 0 6px rgba(59,130,246,0)} }
@keyframes badgePulse { 0%,100%{border-color:rgba(59,130,246,0.2)} 50%{border-color:rgba(59,130,246,0.4)} }

.hero-title-prefix {
  font-family: var(--mono);
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 700; letter-spacing: 6px;
  text-transform: uppercase; color: #EF4444;
  margin-bottom: 12px; display: block;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 20px; color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  text-shadow: 0 0 80px rgba(255,255,255,0.08);
}
.hero-title em { font-style: italic; }
.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 300; color: var(--text-dim);
  max-width: 680px; margin: 0 auto 60px;
  line-height: 1.8; letter-spacing: 0.01em; text-align: center;
}

/* Hero Stats */
.hero-stats {
  display: flex; justify-content: center;
  gap: clamp(24px, 5vw, 80px); flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; min-width: 110px; }
.hero-stat-value {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300; color: var(--text); line-height: 1; margin-bottom: 8px;
}
.hero-stat-value .unit { font-size: 1em; color: var(--text); font-family: var(--serif); font-weight: 300; margin-left: 1px; }
.hero-stat-label { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--blue-500), transparent); }
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ═══════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════ */
.ticker-wrap {
  background: var(--void);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 14px 0; position: relative;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--void), transparent); }
.ticker-wrap::after { right: 0; background: linear-gradient(to left, var(--void), transparent); }
.ticker-track {
  display: flex; width: max-content; animation: tickerScroll 80s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  display: flex; align-items: center; gap: 8px; padding: 0 40px;
  white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--text-dim);
}
.ticker-item .dot { width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0; }
.ticker-item .dot.blue { background: var(--blue-500); }
.ticker-item .dot.red { background: var(--red-500); }
.ticker-item .dot.gold { background: var(--gold); }
.ticker-item strong { color: var(--text-secondary); font-weight: 500; }

/* ═══════════════════════════════════════════
   SECTIONS — SHARED
   ═══════════════════════════════════════════ */
section { position: relative; padding: var(--section-pad) clamp(20px, 5vw, 80px); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--blue-400);
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--blue-500); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--blue-400); }
.section-desc {
  font-size: 16px; color: var(--text-secondary); max-width: 640px;
  line-height: 1.7; margin-bottom: 48px; font-weight: 300;
}
.bg-deep { background: var(--deep); }
.bg-surface { background: var(--surface); }
.bg-abyss { background: var(--abyss); }
.bg-void { background: var(--void); }
.section-glow {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%; filter: blur(150px); opacity: 0.4; pointer-events: none;
}

/* ═══════════════════════════════════════════
   GLASS CARDS
   ═══════════════════════════════════════════ */
.glass-card {
  position: relative; background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 50%, rgba(255,255,255,0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0; transition: opacity 0.5s;
}
.glass-card:hover {
  transform: translateY(-4px); border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 80px rgba(59, 130, 246, 0.03);
}
.glass-card:hover::before { opacity: 1; }
.card-eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.card-title { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 12px; line-height: 1.2; }
.card-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; font-weight: 300; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; border: 1px solid;
}
.tag-blue { color: var(--blue-400); border-color: rgba(59,130,246,0.2); background: rgba(59,130,246,0.06); }
.tag-red { color: var(--red-400); border-color: rgba(239,68,68,0.2); background: rgba(239,68,68,0.06); }

/* ═══════════════════════════════════════════
   THREE PILLARS
   ═══════════════════════════════════════════ */
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.pillar-card {
  position: relative; background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 32px; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden;
}
.pillar-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 80px var(--blue-ghost); }
.pillar-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.pillar-name { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.pillar-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; display: block; }
.pillar-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; font-weight: 300; margin-bottom: 20px; }
.pillar-kpis { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.pillar-kpi { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; }
.pillar-kpi-label { color: var(--text-dim); }
.pillar-kpi-value { font-weight: 500; }

/* ═══════════════════════════════════════════
   MEGA-PROGRAM CARDS
   ═══════════════════════════════════════════ */
.giga-tier1 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-bottom: 24px; }
.giga-card {
  position: relative; background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.giga-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 80px var(--blue-ghost); }
.giga-card-header { padding: 28px 28px 16px; }
.giga-aum { font-family: var(--serif); font-size: 36px; font-weight: 300; line-height: 1; margin-bottom: 4px; }
.giga-aum-label { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }
.giga-card-body { padding: 0 28px 28px; }
.giga-name { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.giga-fund { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; margin-bottom: 14px; }
.giga-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; font-weight: 300; margin-bottom: 16px; }
.giga-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chain-tag {
  font-family: var(--mono); font-size: 9px; letter-spacing: 1px;
  padding: 3px 10px; border: 1px solid var(--border);
  border-radius: 100px; color: var(--text-dim); text-transform: uppercase;
}
.giga-tier2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.giga-mini {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px; transition: all 0.4s;
}
.giga-mini:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.03); }
.giga-mini-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.giga-mini-name { font-family: var(--serif); font-size: 16px; font-weight: 500; }
.giga-mini-name a { color: var(--text); text-decoration: none; }
.giga-mini-badge {
  font-family: var(--mono); font-size: 9px; letter-spacing: 1px;
  padding: 2px 8px; border-radius: 100px; text-transform: uppercase;
}
.giga-mini-text { font-size: 12px; color: var(--text-dim); line-height: 1.6; }
.giga-mini-text a { text-decoration: none; }

/* ═══════════════════════════════════════════
   KPI SCORECARD
   ═══════════════════════════════════════════ */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.kpi-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; transition: all 0.4s;
}
.kpi-card:hover { border-color: var(--border-hover); }
.kpi-label { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.kpi-value { font-family: var(--serif); font-size: 32px; font-weight: 300; line-height: 1; margin-bottom: 6px; }
.kpi-delta { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; }
.kpi-delta.up { color: var(--blue-400); }
.kpi-delta.target { color: var(--gold); }

/* ═══════════════════════════════════════════
   RESEARCH / INTELLIGENCE BRIEFS
   ═══════════════════════════════════════════ */
.research-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.research-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px; transition: all 0.4s; display: flex; flex-direction: column;
}
.research-card:hover { border-color: var(--border-hover); box-shadow: 0 12px 32px rgba(0,0,0,0.2), 0 0 60px var(--blue-ghost); }
.research-card.big { grid-column: span 8; }
.research-card.small { grid-column: span 4; }
.research-category { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.research-title { font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.3; margin-bottom: 12px; flex-grow: 1; }
.research-card.big .research-title { font-size: 28px; }
.research-excerpt { font-size: 13px; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }
.research-link {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
}
.research-link::after { content: '→'; transition: transform 0.3s; }
.research-card:hover .research-link::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 900px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--border-hover); }
.faq-q { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q h3 { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.faq-toggle {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-dim); flex-shrink: 0; transition: all 0.3s;
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-a-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.faq-a-inner a { color: var(--blue-400); text-decoration: none; }
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--blue-400); border-color: var(--blue-500); }
.faq-item.open .faq-a { max-height: 600px; }

/* ═══════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════ */
.newsletter-box {
  background: linear-gradient(135deg, var(--deep), var(--surface));
  border: 1px solid var(--border-blue); border-radius: 20px;
  padding: 48px; text-align: center; position: relative; overflow: hidden;
}
.newsletter-box::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.06), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.newsletter-title { font-family: var(--serif); font-size: 28px; font-weight: 300; margin-bottom: 12px; position: relative; }
.newsletter-desc { font-size: 14px; color: var(--text-secondary); max-width: 500px; margin: 0 auto 28px; position: relative; }
.newsletter-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; position: relative; }
.newsletter-input {
  flex: 1; padding: 14px 20px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 8px; color: var(--text);
  font-family: var(--sans); font-size: 14px; outline: none; transition: border-color 0.3s;
}
.newsletter-input:focus { border-color: var(--blue-500); }
.newsletter-input::placeholder { color: var(--text-ghost); }
.newsletter-btn {
  padding: 14px 28px; background: var(--blue-700); border: none; border-radius: 8px;
  color: white; font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer; transition: all 0.3s; white-space: nowrap;
}
.newsletter-btn:hover { background: var(--blue-600); }

/* ═══════════════════════════════════════════
   AD ZONES
   ═══════════════════════════════════════════ */
.ad-zone {
  max-width: 1200px; margin: 28px auto; padding: 0 20px;
  text-align: center; min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; position: relative;
}
.ad-zone-inner {
  width: 100%; min-height: 90px;
  border: 1px dashed rgba(212,175,55,0.3);
  background: repeating-linear-gradient(
    135deg,
    rgba(212,175,55,0.02),
    rgba(212,175,55,0.02) 10px,
    transparent 10px,
    transparent 20px
  );
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; padding: 16px 20px;
  border-radius: 2px; position: relative;
  transition: all 0.3s ease;
}
.ad-zone-inner:hover {
  border-color: rgba(212,175,55,0.5);
  background: repeating-linear-gradient(
    135deg,
    rgba(212,175,55,0.04),
    rgba(212,175,55,0.04) 10px,
    transparent 10px,
    transparent 20px
  );
}
.ad-zone-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(212,175,55,0.5);
  display: flex; align-items: center; gap: 8px;
}
.ad-zone-label::before, .ad-zone-label::after {
  content: ''; display: block; width: 20px; height: 1px;
  background: rgba(212,175,55,0.2);
}
.ad-zone-format {
  font-family: var(--mono); font-size: 8px; letter-spacing: 2px;
  color: rgba(255,255,255,0.15); text-transform: uppercase;
}
.ad-zone-id {
  position: absolute; top: 6px; right: 10px;
  font-family: var(--mono); font-size: 7px; letter-spacing: 1px;
  color: rgba(212,175,55,0.25);
}
.ad-zone-size {
  font-family: var(--mono); font-size: 8px;
  color: rgba(255,255,255,0.12);
}
.ad-zone ins { display: none; }
.ad-label, .ad-format { display: none; }

/* ═══════════════════════════════════════════
   LINK MATRIX
   ═══════════════════════════════════════════ */
.link-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
}
.link-matrix a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-family: var(--mono); font-size: 11px;
  color: var(--text-secondary); text-decoration: none;
  border: 1px solid var(--border); border-radius: 8px;
  transition: all 0.3s;
}
.link-matrix a:hover { border-color: var(--border-blue); color: var(--blue-400); background: rgba(59,130,246,0.04); }
.lm-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-500); flex-shrink: 0; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer { border-top: 1px solid var(--border); padding: 60px clamp(20px, 5vw, 80px); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 40px; margin-bottom: 40px; padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  font-family: var(--mono); font-size: 12px; letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 12px;
  background: linear-gradient(135deg, #002395 0%, #FFFFFF 20%, #EF4444 40%, #FFFFFF 60%, #002395 80%, #FFFFFF 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: tricoloreShimmer 10s ease-in-out infinite;
}
.footer-tagline { font-size: 13px; color: var(--text-dim); max-width: 300px; line-height: 1.6; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col-title { font-family: var(--mono); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--text-ghost); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--text-ghost); text-decoration: none; transition: color 0.3s; }
.footer-legal a:hover { color: var(--blue-400); }

/* Tricolore footer accent */
.site-footer::after {
  content: ''; display: block; margin-top: 40px;
  height: 2px;
  background: linear-gradient(90deg, #002395 0%, #002395 33%, #FFFFFF 33%, #FFFFFF 66%, #ED2939 66%, #ED2939 100%);
  opacity: 0.3;
}

/* ═══════════════════════════════════════════
   LEGAL OVERLAYS
   ═══════════════════════════════════════════ */
.legal-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(10px);
  overflow-y: auto; padding: 40px 20px;
}
.legal-overlay.active { display: flex; justify-content: center; align-items: flex-start; }
.legal-content {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 48px; max-width: 800px; width: 100%;
  position: relative; margin: 40px 0;
}
.legal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-dim); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.legal-close:hover { border-color: var(--blue-500); color: var(--blue-400); }
.legal-content h2 { font-family: var(--serif); font-size: 28px; font-weight: 300; margin-bottom: 8px; }
.legal-content .legal-date { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; margin-bottom: 32px; display: block; }
.legal-content h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 28px 0 12px; color: var(--blue-400); }
.legal-content p, .legal-content li { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--blue-400); text-decoration: none; }
.legal-lang-divider {
  margin: 36px 0; padding: 0; border: none; position: relative;
  display: flex; align-items: center; gap: 16px;
}
.legal-lang-divider::before, .legal-lang-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,68,68,0.3), transparent);
}
.legal-lang-tag {
  font-family: var(--mono); font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: #EF4444; white-space: nowrap;
  padding: 4px 14px; border: 1px solid rgba(239,68,68,0.25);
  background: rgba(239,68,68,0.06); border-radius: 2px;
}

/* ═══════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════ */
.cookie-banner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9998; background: var(--surface); border-top: 1px solid var(--border);
  padding: 20px clamp(20px, 5vw, 80px);
}
.cookie-banner.active { display: block; }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-text { font-size: 13px; color: var(--text-secondary); max-width: 700px; line-height: 1.6; }
.cookie-text a { color: var(--blue-400); text-decoration: none; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-accept {
  padding: 10px 24px; background: var(--blue-700); border: none; border-radius: 6px;
  color: white; font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer; transition: background 0.3s;
}
.cookie-accept:hover { background: var(--blue-600); }
.cookie-decline {
  padding: 10px 24px; background: transparent; border: 1px solid var(--border);
  border-radius: 6px; color: var(--text-dim); font-family: var(--mono);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .site-header { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-logo { font-size: clamp(36px, 14vw, 90px); }
  .hero-title { white-space: normal; }
  .research-card.big, .research-card.small { grid-column: span 12; }
  .footer-top { flex-direction: column; }
  .pillar-grid { grid-template-columns: 1fr; }
  .giga-tier1 { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .link-matrix { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   ARTICLE / SUB-PAGE EXTENSIONS
   ═══════════════════════════════════════════ */

/* Article Hero (sub-pages) */
.article-hero {
  position: relative; min-height: 50vh;
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start;
  padding: 180px clamp(20px, 5vw, 80px) 60px;
  overflow: hidden;
}
.article-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 60%, rgba(0,35,149,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 30%, rgba(239,68,68,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.article-hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #002395 0%, #002395 33%, #FFFFFF 33%, #FFFFFF 66%, #ED2939 66%, #ED2939 100%);
  z-index: 10;
}
.article-hero-inner { position: relative; z-index: 2; max-width: 900px; }
.article-hero .section-eyebrow { margin-bottom: 20px; }
.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.article-hero h1 em { font-style: italic; color: var(--blue-400); }
.article-hero .subtitle {
  font-size: 15px; color: var(--text-secondary);
  max-width: 640px; line-height: 1.7; font-weight: 300;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1200px; margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 80px);
}
.breadcrumb ul {
  display: flex; gap: 8px; list-style: none;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--blue-400); }
.breadcrumb li { color: var(--text-ghost); }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; opacity: 0.4; }

/* Article Body */
.article-body {
  font-size: 15px; line-height: 1.85;
  color: var(--text-secondary); font-weight: 300;
  max-width: 800px;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400; letter-spacing: -0.01em;
  color: var(--text); margin: 56px 0 16px;
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue-400); margin: 36px 0 12px;
}
.article-body p { margin-bottom: 20px; }
.article-body a {
  color: var(--blue-400); text-decoration: none;
  border-bottom: 1px solid rgba(59,130,246,0.2);
  transition: border-color 0.3s;
}
.article-body a:hover { border-color: var(--blue-400); }
.article-body strong { font-weight: 600; color: var(--text); }
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 16px 24px; margin: 28px 0;
  background: var(--gold-ghost);
  font-style: italic;
}
.article-body table {
  width: 100%; border-collapse: collapse;
  margin: 28px 0; font-size: 14px;
}
.article-body th {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); text-align: left;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
}
.article-body td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.article-body td:first-child { font-weight: 500; color: var(--text); }
.article-body tr:hover { background: rgba(255,255,255,0.02); }
.article-body ul, .article-body ol {
  margin: 0 0 20px 20px;
}
.article-body .key-stat {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300; display: block; margin: 8px 0 4px;
}
.article-body .stat-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-400);
}

/* Related Links */
.related {
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.related-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--blue-400); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.related-label::before { content: ''; width: 24px; height: 1px; background: var(--blue-500); }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; }
.related-links a {
  font-family: var(--mono); font-size: 11px;
  padding: 6px 14px; text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border); border-radius: 8px;
  transition: all 0.3s;
}
.related-links a:hover {
  border-color: var(--border-blue); color: var(--blue-400);
  background: rgba(59,130,246,0.04);
}

/* Nav toggle button */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text-dim); font-size: 18px; cursor: pointer;
  padding: 6px 10px; border-radius: 6px;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .article-hero { padding: 140px 20px 48px; min-height: 40vh; }
  .article-body { font-size: 14px; }
  .breadcrumb { padding: 16px 20px; }
}
