/*
Theme Name: Kartik Bhalla - Executive Portfolio
Theme URI: https://rankspiders.in/
Author: Kartik Bhalla / Rank Spiders
Author URI: https://rankspiders.in/
Description: Luxury Cyber-Editorial Executive Portfolio & Growth Architect WordPress Theme for Kartik Bhalla. Featuring 3D WebGL Neural Background, Interactive Synthesizer Audio Engine, Live Dispatch Terminal, and Kinetic Micro-Interactions.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: kartik-portfolio
*/

/* ==========================================================================
   REACT PORTFOLIO — LUXURY CYBER-EDITORIAL DESIGN SYSTEM
   Awwwards & Apple-Grade Typography, Glassmorphism, and Micro-Interactions
   ========================================================================== */

:root {
  /* Ultra-Deep Obsidian Background Palette */
  --bg-base: #040406;
  --bg-surface: #08080c;
  --bg-card: rgba(13, 13, 18, 0.72);
  --bg-card-hover: rgba(22, 22, 32, 0.88);
  --bg-card-elevated: rgba(20, 20, 30, 0.85);

  /* Hairline Borders with Gradient Light Refraction */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.14);
  --border-highlight: rgba(255, 255, 255, 0.28);
  --border-gold: rgba(245, 158, 11, 0.45);
  --border-gold-glow: rgba(245, 158, 11, 0.8);

  /* Refined Editorial Typography */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dim: #475569;
  --text-code: #38BDF8;

  /* Accents */
  --accent-gold: #F59E0B;
  --accent-gold-light: #FDE68A;
  --accent-gold-glow: rgba(245, 158, 11, 0.3);
  --accent-green: #10B981;
  --accent-green-glow: rgba(16, 185, 129, 0.35);
  --accent-cyan: #06B6D4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);

  /* Font Families */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-monument: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Geist', 'Inter', sans-serif;

  /* Sizing & Radii */
  --max-width: 1320px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Physics-Based Easing */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: all 0.2s ease-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--text-primary);
  overflow-x: clip;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--accent-gold);
  color: #000000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #060609;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

a, button, [role="button"] {
  cursor: pointer;
}

/* Three.js Background & Lighting */
.webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.vignette-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 80%, rgba(4, 4, 6, 0.12) 100%);
  pointer-events: none;
  z-index: 1;
}

.cyber-grid-overlay {
  display: none;
}

/* ==========================================================================
   REACTBITS LUXURY SPOTLIGHT CARDS
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.spotlight-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(245, 158, 11, 0.12),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    380px circle at var(--mouse-x) var(--mouse-y),
    rgba(245, 158, 11, 0.65),
    transparent 50%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -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.3s ease;
  z-index: 2;
}

.spotlight-card:hover::after {
  opacity: 1;
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  border-color: var(--border-highlight);
}

/* ==========================================================================
   INTERACTIVE BUTTONS & MAGNETIC PILLS
   ========================================================================== */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: #FFFFFF;
  color: #050508;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.25);
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary-glow:hover {
  background: #f4f4f5;
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.45);
}

.btn-glass-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   PAGE TRANSITIONS & HIGH-OCTANE MOTION SYSTEM
   ========================================================================== */
.page-fade-in {
  animation: pageFadeSlide 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-Driven Reveal Physics */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  filter: blur(8px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }

/* Kinetic Floating Badges & Cards */
@keyframes floatPill {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatPillReverse {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(8px) rotate(-0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes radarPing {
  0% { transform: scale(1); opacity: 0.85; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes drawLine {
  0% { stroke-dashoffset: 300; }
  100% { stroke-dashoffset: 0; }
}

@keyframes shimmerText {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.85), 0 0 50px rgba(245, 158, 11, 0.4); }
}

.floating-pill {
  animation: floatPill 5s ease-in-out infinite;
}

.floating-pill-reverse {
  animation: floatPillReverse 6s ease-in-out infinite;
}

.radar-beacon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radar-beacon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: radarPing 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}

.shimmer-badge {
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  background-size: 200% 100%;
  animation: shimmerText 4s infinite linear;
}

/* 3D Perspective Tilt Card Container */
.tilt-card-3d {
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
  will-change: transform;
}

.tilt-card-3d:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.15);
}

.tilt-card-content {
  transform: translateZ(24px);
  transition: transform 0.35s ease;
}

/* ==========================================================================
   INPUTS & FORM UX
   ========================================================================== */
.form-input-lux, .form-select-lux, .form-textarea-lux {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 10, 16, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input-lux:focus, .form-select-lux:focus, .form-textarea-lux:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(16, 16, 24, 0.95);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.22);
}

.form-input-lux::placeholder, .form-textarea-lux::placeholder {
  color: #475569;
}

.form-select-lux {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(10, 10, 16, 0.92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F59E0B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  background-size: 16px 16px;
  padding-right: 46px;
  border-radius: 12px;
  cursor: pointer;
  line-height: 1.5;
}

.form-select-lux optgroup {
  background-color: #06070B;
  color: #F59E0B;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 10px;
}

.form-select-lux option {
  background-color: #0D0E17;
  color: #F1F5F9;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 12px 14px;
}

.form-select-lux option:hover,
.form-select-lux option:checked {
  background-color: #1E1C38 !important;
  color: #F59E0B !important;
}

/* ==========================================================================
   CUSTOM SOFT LUXURY SELECT DROPDOWN (Rounded Corners, Soft Aesthetics)
   ========================================================================== */
.custom-select-lux-wrap {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-lux-trigger {
  width: 100%;
  padding: 13px 18px;
  background: rgba(12, 14, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.custom-select-lux-trigger:hover {
  background: rgba(18, 20, 32, 0.95);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 16px rgba(245, 158, 11, 0.12);
}

.custom-select-lux-wrap.is-open .custom-select-lux-trigger {
  border-color: var(--accent-gold);
  background: rgba(18, 20, 32, 0.98);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.25);
}

.custom-select-current {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.4));
}

.custom-select-label {
  font-weight: 600;
  color: #F8FAFC;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-chevron {
  color: #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-select-lux-wrap.is-open .custom-select-chevron {
  transform: rotate(180deg);
}

/* Floating Dropdown Panel with Soft Rounded Corners */
.custom-select-lux-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: 720px;
  max-width: calc(100vw - 32px);
  z-index: 1000;
  background: rgba(10, 12, 22, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px; /* Soft rounded corners */
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.92), 0 0 40px rgba(245, 158, 11, 0.1);
  padding: 12px 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  pointer-events: none;
}

.custom-select-lux-wrap.is-open .custom-select-lux-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-select-cols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.custom-select-col {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .custom-select-lux-dropdown {
    width: 100%;
    left: 0;
    right: 0;
    max-height: 440px;
    overflow-y: auto;
  }
  .custom-select-cols-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Soft Custom Scrollbar */
.custom-select-lux-dropdown::-webkit-scrollbar {
  width: 6px;
}
.custom-select-lux-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 9999px;
  margin: 8px 0;
}
.custom-select-lux-dropdown::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: 9999px;
}
.custom-select-lux-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.55);
}

/* Category Group Title */
.custom-select-group-header {
  padding: 8px 12px 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #F59E0B;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 4px;
  user-select: none;
}

/* Dropdown Option Item */
.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  margin: 2px 0;
  border-radius: 10px; /* Soft rounded corners on items */
  color: #CBD5E1;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  border: 1px solid transparent;
}

.custom-select-option .option-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.custom-select-option .option-icon {
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.custom-select-option .option-text {
  white-space: normal;
  line-height: 1.35;
}

.custom-select-option .option-check {
  font-size: 0.85rem;
  font-weight: 800;
  color: #F59E0B;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

/* Hover - Soft warm glow, no harsh blue! */
.custom-select-option:hover {
  background: rgba(245, 158, 11, 0.1);
  color: #FFFFFF;
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateX(4px);
}

.custom-select-option:hover .option-icon {
  transform: scale(1.15);
}

/* Selected State */
.custom-select-option.is-selected {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0.04));
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FFFFFF;
  font-weight: 600;
}

.custom-select-option.is-selected .option-check {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee-track-container {
  width: 100vw;
  overflow: hidden;
  position: relative;
  user-select: none;
  padding: 0.8rem 0;
  margin-left: calc(-50vw + 50%);
}

.marquee-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
}

.scroll-left {
  animation: marqueeLeft 38s linear infinite;
}

.scroll-right {
  animation: marqueeRight 38s linear infinite;
}

.marquee-track-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ==========================================================================
   PAGE LAYOUT & RESPONSIVE UTILITIES
   ========================================================================== */

.page-hero-padding {
  padding-top: clamp(88px, 7vw, 104px) !important;
  padding-bottom: 24px !important;
  padding-left: 24px;
  padding-right: 24px;
}

/* Hero Executive Responsive Grid */
.hero-executive-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
  width: 100%;
}

/* Authority Metric Strip (6-tile full-width stretched layout) */
.metric-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  width: 100%;
}

.metric-tile-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.metric-tile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(245, 158, 11, 0.1);
}

@media (max-width: 1024px) {
  .metric-strip-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .metric-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .metric-strip-grid {
    grid-template-columns: 1fr;
  }
}

.hero-stage-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-badges-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
  width: 100%;
  max-width: 480px;
  z-index: 5;
}

.hero-badge-rankspiders,
.hero-badge-aime,
.hero-badge-kbeducation,
.hero-badge-kartikbhalla {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hero-badge-rankspiders {
  grid-column: 1;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.08);
}

.hero-badge-aime {
  grid-column: 2;
  border: 1px solid rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.08);
}

.hero-badge-kbeducation {
  grid-column: 1;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}

.hero-badge-kartikbhalla {
  grid-column: 2;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.hero-badge-rankspiders:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(168, 85, 247, 0.2) !important;
}

.hero-badge-aime:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.6) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(6, 182, 212, 0.2) !important;
}

.hero-badge-kbeducation:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.2) !important;
}

.hero-badge-kartikbhalla:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.6) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 185, 129, 0.2) !important;
}

@media (max-width: 440px) {
  .hero-badges-wrapper {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-badge-rankspiders,
  .hero-badge-aime,
  .hero-badge-kbeducation,
  .hero-badge-kartikbhalla {
    grid-column: span 1 !important;
  }
}

/* Authority Pillars (Home 3 pillars) */
.authority-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Featured Ventures (Home 3 ventures) */
.featured-ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Ventures Page Grid */
.ventures-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Capabilities Deep Dive Grid */
.capabilities-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Case Study Bento Grid */
.case-study-bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

/* Leadership Pillars Grid */
.leadership-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Dispatch Container */
.dispatch-grid-container,
.dispatch-grid-container.glass-card {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 60px 0;
  border-radius: var(--radius-lg);
  overflow: visible !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 50;
}

/* Contact Cards Grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Dossier Main Grid */
.dossier-main-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 70px;
  position: relative;
}

.dossier-sticky-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  height: fit-content;
  z-index: 10;
}

.dossier-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer Responsive Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile vs Desktop Display Utilities */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: flex !important;
}

/* Safe Page Container Padding */
.page-hero-padding {
  padding: 120px 24px 40px;
}

.page-content-padding {
  padding: 140px 24px 80px;
}

.section-standard-padding {
  padding: 80px 24px;
}

/* Media Query: Tablets & Small Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-executive-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .authority-pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .featured-ventures-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ventures-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .capabilities-deep-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-study-bento-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .leadership-pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dispatch-grid-container {
    grid-template-columns: 1fr;
  }
  .dossier-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dossier-sticky-sidebar {
    position: relative !important;
    top: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
  .dossier-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 0;
  }
  .marquee-track-container {
    margin-left: 0;
    width: 100%;
  }
}

/* Media Query: Mobile Screens (<= 860px) */
@media (max-width: 860px) {
  .mobile-only {
    display: flex !important;
  }
  .desktop-only {
    display: none !important;
  }
  
  .page-hero-padding {
    padding: 96px 16px 40px !important;
  }
  
  .page-content-padding {
    padding: 96px 16px 60px !important;
  }
  
  .section-standard-padding {
    padding: 48px 16px !important;
  }

  /* Touch-friendly buttons on mobile */
  .btn-primary-glow,
  .btn-glass-secondary {
    padding: 13px 24px;
    font-size: 0.9rem;
  }

  /* Form inputs touch scaling */
  .form-input-lux,
  .form-select-lux,
  .form-textarea-lux {
    font-size: 16px !important; /* Prevents auto-zoom in Safari iOS */
    padding: 12px 14px;
  }
}

/* Media Query: Compact Mobile (<= 640px) */
@media (max-width: 640px) {
  .hide-on-mobile {
    display: none !important;
  }

  .dossier-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
    padding: 16px 0;
  }

  /* Card padding reduction */
  .glass-card {
    border-radius: var(--radius-md) !important;
  }
}

/* Media Query: Extra Narrow Mobile (<= 380px) */
@media (max-width: 380px) {
  .dossier-stat-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CINEMATIC MOTION SYSTEM
   ========================================================================== */

/* ── Smooth momentum scroll ── */
html {
  scroll-behavior: smooth;
}

/* ── Page-enter animation ── */
@keyframes cinema-page-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.994);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

main {
  will-change: opacity, transform;
}

/* ── Cinematic reveal: fade + rise ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── Magnetic button — press sink ── */
.btn-primary-glow:active,
.btn-glass-secondary:active {
  transform: translateY(1px) scale(0.97);
  transition: transform 0.08s ease;
}

/* ── Image cinematic zoom on hover ── */
.cinema-img-wrap {
  overflow: hidden;
  border-radius: inherit;
}
.cinema-img-wrap img,
.cinema-img-wrap video {
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1),
              filter  0.9s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}
.cinema-img-wrap:hover img,
.cinema-img-wrap:hover video {
  transform: scale(1.055);
  filter: brightness(1.08);
}

/* ── Link underline wipe ── */
.cinema-link {
  position: relative;
  text-decoration: none;
}
.cinema-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.76,0,0.24,1);
}
.cinema-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Card lift — cinematic depth ── */
.glass-card {
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.45s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s ease !important;
}
.glass-card:hover {
  transform: translateY(-5px) scale(1.008) !important;
  box-shadow: 0 28px 60px rgba(0,0,0,0.65),
              0 0 0 1px rgba(255,255,255,0.08) !important;
}

/* ── Navbar link — liquid underline ── */
.nav-link-cinema {
  position: relative;
  overflow: hidden;
}
.nav-link-cinema::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1.5px;
  background: #F59E0B;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.38s cubic-bezier(0.76,0,0.24,1);
}
.nav-link-cinema.active::before,
.nav-link-cinema:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Text scramble placeholder animation ── */
@keyframes text-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.text-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.06) 0%,
    rgba(255,255,255,0.18) 40%,
    rgba(255,255,255,0.06) 80%
  );
  background-size: 400px 100%;
  animation: text-shimmer 1.8s ease-in-out infinite;
  border-radius: 4px;
}

/* ── Scroll-triggered counter roll ── */
@keyframes counter-roll {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.counter-roll {
  overflow: hidden;
  display: inline-block;
}
.counter-roll span {
  display: inline-block;
  animation: counter-roll 0.6s cubic-bezier(0.16,1,0.3,1) both;
}

/* ── Horizontal marquee speed tweak ── */
.marquee-track {
  transition: animation-duration 0.4s ease;
}
.marquee-track:hover {
  animation-play-state: paused;
}

/* ── Section heading — clip reveal ── */
@keyframes clip-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0);   }
}
.clip-reveal {
  animation: clip-reveal 0.9s cubic-bezier(0.76,0,0.24,1) both;
}

/* ==========================================================================
   FUTURISTIC HUD SYSTEM — Loading-screen language throughout the site
   ========================================================================== */

/* ── 1. GLITCH TEXT on hover ── */
@keyframes hud-glitch-1 {
  0%,90%,100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  91%         { clip-path: inset(20% 0 50% 0); transform: translate(-4px, 1px); }
  92%         { clip-path: inset(60% 0 10% 0); transform: translate( 4px,-1px); }
  93%         { clip-path: inset(0  0 100% 0); transform: translate(0); }
}
@keyframes hud-glitch-2 {
  0%,88%,100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  89%         { clip-path: inset(40% 0 30% 0); transform: translate( 5px, 2px); }
  90%         { clip-path: inset(10% 0 70% 0); transform: translate(-5px,-2px); }
  91%         { clip-path: inset(0  0 100% 0); transform: translate(0); }
}

.hud-glitch {
  position: relative;
}
.hud-glitch::before,
.hud-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hud-glitch:hover::before {
  color: rgba(168,85,247,0.7);
  animation: hud-glitch-1 2s ease-in-out infinite;
}
.hud-glitch:hover::after {
  color: rgba(6,182,212,0.7);
  animation: hud-glitch-2 2s ease-in-out infinite 0.05s;
}

/* ── 2. CORNER BRACKETS on cards / sections (DISABLED) ── */
.hud-bracket {
  position: relative;
}
.hud-bracket::before,
.hud-bracket::after {
  display: none !important;
}

/* ── 3. SCANLINE overlay ── */
.hud-scanlines {
  position: relative;
  overflow: hidden;
}
.hud-scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 10;
}

/* ── 4. NEON PULSE ── */
@keyframes neon-pulse-gold {
  0%,100% { text-shadow: 0 0 8px rgba(245,158,11,0.6), 0 0 24px rgba(245,158,11,0.25); }
  50%     { text-shadow: 0 0 18px rgba(245,158,11,0.9), 0 0 40px rgba(245,158,11,0.5); }
}
@keyframes neon-pulse-white {
  0%,100% { text-shadow: 0 0 8px rgba(255,255,255,0.4), 0 0 20px rgba(255,255,255,0.15); }
  50%     { text-shadow: 0 0 18px rgba(255,255,255,0.7), 0 0 36px rgba(255,255,255,0.3); }
}

.neon-gold  { animation: neon-pulse-gold  2.4s ease-in-out infinite; }
.neon-white { animation: neon-pulse-white 2.8s ease-in-out infinite; }

/* ── 5. CRT FLICKER ── */
@keyframes hud-flicker {
  0%,95%,100% { opacity: 1; }
  96%          { opacity: 0.94; }
  97%          { opacity: 1; }
  98%          { opacity: 0.96; }
}
.hud-flicker {
  animation: hud-flicker 6s ease-in-out infinite;
}

/* ── 6. SWEEP LINE ── */
@keyframes hud-sweep {
  from { width: 0%; opacity: 1; }
  to   { width: 100%; opacity: 1; }
}
.hud-sweep-line {
  display: block;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #F59E0B, transparent);
  animation: hud-sweep 0.8s cubic-bezier(0.76,0,0.24,1) forwards;
  opacity: 0;
}
.reveal-on-scroll.is-visible .hud-sweep-line {
  opacity: 1;
}

/* ── 7. SLIDE-IN from left ── */
@keyframes hud-slide-left {
  from { opacity:0; transform: translateX(-24px); }
  to   { opacity:1; transform: translateX(0); }
}
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── 8. CLIP WIPE ── */
@keyframes hud-clip-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0%   0 0); }
}
.hud-wipe {
  clip-path: inset(0 100% 0 0);
}
.is-visible .hud-wipe,
.hud-wipe.is-visible {
  animation: hud-clip-wipe 0.85s cubic-bezier(0.76,0,0.24,1) forwards;
}

/* ── 9. NUMBER ODOMETER ROLL ── */
@keyframes hud-odometer {
  from { transform: translateY(60%); opacity:0; filter:blur(4px); }
  to   { transform: translateY(0);   opacity:1; filter:blur(0); }
}
.hud-odometer {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hud-odometer .digit {
  display: inline-block;
  transform: translateY(60%);
  opacity: 0;
  filter: blur(4px);
}
.is-visible .hud-odometer .digit,
.hud-odometer.is-visible .digit {
  animation: hud-odometer 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hud-odometer .digit:nth-child(1) { animation-delay: 0.00s; }
.hud-odometer .digit:nth-child(2) { animation-delay: 0.06s; }
.hud-odometer .digit:nth-child(3) { animation-delay: 0.12s; }
.hud-odometer .digit:nth-child(4) { animation-delay: 0.18s; }

/* ── 10. STATUS BADGE ── */
@keyframes hud-dot-ping {
  0%    { transform: scale(1);   opacity: 1; }
  70%   { transform: scale(2.2); opacity: 0; }
  100%  { transform: scale(1);   opacity: 0; }
}
.hud-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
}
.hud-status .dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  flex-shrink: 0;
}
.hud-status .dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10B981;
  animation: hud-dot-ping 1.6s ease-out infinite;
}

/* ── 11. SECTION LABEL ── */
.hud-label {
  font-family: monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(245,158,11,0.7);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hud-label::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 8px rgba(245,158,11,0.8);
}

/* ── 12. BORDER SCAN ── */
@keyframes hud-border-scan {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}
.hud-border-scan {
  position: relative;
}
.hud-border-scan::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245,158,11,0.9) 50%,
    transparent 100%
  );
  background-size: 50% 100%;
  animation: hud-border-scan 2.5s linear infinite;
}

/* Top Laser Navigation Progress Bar */
#kb-laser-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#kb-laser-bar .laser-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F59E0B, #FDE68A 60%, #10B981 100%);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.9), 0 0 6px rgba(16, 185, 129, 0.6);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Mobile Nav Drawer */
#mobile-menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.97);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px 36px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ── CINEMATIC LOADING SCREEN ── */
@keyframes ls-scan {
  from { top: -200px; }
  to   { top: 100vh; }
}

@keyframes ls-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

@keyframes ls-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

@keyframes ls-glitch {
  0%, 88%, 100% { transform: translateX(0); color: #FFFFFF; }
  89%           { transform: translateX(-3px); }
  90%           { transform: translateX(3px); }
  91%           { transform: translateX(0); }
}

@keyframes ls-brand-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ls-scanline {
  animation: ls-scan 2.4s linear infinite;
}

.loading-glitch-num {
  animation: ls-glitch 2.8s ease-in-out infinite;
}

.loading-screen-wrap {
  display: flex;
  flex-direction: row;
  height: 100vh;
  height: 100dvh;
}

.loading-right-sidebar {
  width: 360px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 48px 32px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.loading-left-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 48px;
  position: relative;
  z-index: 2;
}

#kb-skip-loader-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#kb-skip-loader-btn:hover,
#kb-skip-loader-btn:active {
  color: #F59E0B !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  background: rgba(245, 158, 11, 0.1) !important;
}

@media (max-width: 860px) {
  .loading-screen-wrap {
    flex-direction: column;
  }
  .loading-right-sidebar {
    display: none !important;
  }
  .loading-left-main {
    padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)) !important;
  }
}

@media (max-width: 480px) {
  .loading-corner-tl { top: 12px !important; left: 12px !important; }
  .loading-corner-tr { top: 12px !important; right: 12px !important; }
  .loading-corner-bl { bottom: 12px !important; left: 12px !important; }
  .loading-corner-br { bottom: 12px !important; right: 12px !important; }
}

/* ── $100K LUXURY BESPOKE REACT BITS & FILM GRAIN ── */

/* Film Grain Texture */
.film-grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 997;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Cursor Dynamic Light Halo */
.react-bits-cursor-halo {
  position: fixed;
  top: 0;
  left: 0;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.075) 0%, rgba(99, 102, 241, 0.035) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

/* React Bits Animated Border Beam */
.react-bits-beam-container {
  position: relative;
  overflow: hidden;
}

.react-bits-border-beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  padding: 1.5px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
}

.react-bits-border-beam::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0 320deg, rgba(245, 158, 11, 0.95) 340deg, rgba(16, 185, 129, 0.95) 360deg);
  animation: border-beam-spin 6s linear infinite;
}

@keyframes border-beam-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Shimmering Metallic Text */
.react-bits-shimmer-text {
  background: linear-gradient(110deg, #FFFFFF 20%, #F59E0B 40%, #FDE68A 50%, #FFFFFF 60%, #10B981 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-shimmer-flow 5s linear infinite;
}

@keyframes text-shimmer-flow {
  to { background-position: 200% center; }
}

/* Smooth Spring Magnetic Elements */
[data-magnetic] {
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── EXECUTIVE DOSSIER PERSISTENT SIDEBAR & GRID ── */
.dossier-main-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  margin-bottom: 24px;
}

.dossier-sticky-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  height: fit-content;
  z-index: 10;
  will-change: transform, top;
  transition: top 0.15s ease-out;
}

@media (max-width: 1024px) {
  .dossier-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 16px;
  }

  .dossier-sticky-sidebar {
    position: relative;
    top: 0 !important;
    z-index: 1;
  }
}










