/* ============================================================
   RAJIV HARIDASAN — PREMIUM EXECUTIVE PORTFOLIO
   Black/Slate/Gold Fortune-500 Aesthetic
   ============================================================ */

/* --- CSS Custom Properties (Dark Theme - Default) --- */
:root,
[data-theme="dark"] {
  --bg: #07090e;
  --bg-secondary: #0b0e15;
  --surface: #0f131c;
  --surface-elevated: #141923;
  --surface-hover: #1a2030;
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(212,175,55,0.2);
  --text-primary: #f0f2f7;
  --text-secondary: #b0b8cc;
  --text-muted: #7a849b;
  --gold: #d4af37;
  --gold-light: #f5c542;
  --gold-glow: rgba(212,175,55,0.15);
  --gold-glow-strong: rgba(212,175,55,0.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-gold: 0 8px 32px rgba(212,175,55,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.15s cubic-bezier(0.4,0,0.2,1);
  --transition-base: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
  color-scheme: dark;
}

/* --- Light Theme --- */
[data-theme="light"] {
  --bg: #f8f7f4;
  --bg-secondary: #f0eeea;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --surface-hover: #f5f4f1;
  --border: rgba(0,0,0,0.08);
  --border-accent: rgba(180,145,30,0.25);
  --text-primary: #1a1c23;
  --text-secondary: #4a4f60;
  --text-muted: #8a8f9e;
  --gold: #b4911e;
  --gold-light: #d4af37;
  --gold-glow: rgba(180,145,30,0.1);
  --gold-glow-strong: rgba(180,145,30,0.2);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.1);
  --shadow-gold: 0 8px 32px rgba(180,145,30,0.08);
  color-scheme: light;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--transition-base), color var(--transition-base);
}
::selection { background: var(--gold); color: #000; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold-light); }

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Premium Typography --- */
.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 16px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  background: var(--gold-glow);
  margin-bottom: 16px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 8px 0 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(1px); }
.btn:disabled,
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0c10;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  box-shadow: 0 12px 40px rgba(212,175,55,0.3);
  color: #0a0c10;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7,9,14,0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
[data-theme="light"] .site-header {
  background: rgba(248,247,244,0.85);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  min-height: 64px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand:hover { color: var(--text-primary); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0c10;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.brand:hover .brand-mark { transform: scale(1.05); }
.brand-mark-sm {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--border-accent);
  background: var(--gold-glow);
}
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav a:hover {
  color: var(--text-primary);
  background: var(--surface);
}
.nav a.active {
  color: var(--text-primary);
  background: var(--gold-glow);
  border: 1px solid var(--border-accent);
}

/* Recruiter Toggle */
.recruiter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.recruiter-toggle .toggle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.2);
  transition: all var(--transition-fast);
}
.recruiter-toggle:hover {
  color: var(--gold);
  border-color: var(--border-accent);
  background: var(--gold-glow);
}
.recruiter-toggle[aria-pressed="true"] {
  color: #0a0c10;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
}
.recruiter-toggle[aria-pressed="true"] .toggle-dot {
  background: #0a0c10;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 600px at 15% 20%, rgba(212,175,55,0.06), transparent 60%),
    radial-gradient(ellipse 700px 500px at 85% 80%, rgba(212,175,55,0.04), transparent 60%),
    var(--bg);
}
[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 900px 600px at 15% 20%, rgba(180,145,30,0.04), transparent 60%),
    radial-gradient(ellipse 700px 500px at 85% 80%, rgba(180,145,30,0.03), transparent 60%),
    var(--bg);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
[data-theme="light"] #heroCanvas { opacity: 0.25; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 20px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  background: var(--gold-glow);
  margin-bottom: 24px;
  position: relative;
}
.hero-badge::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero-badge { padding-left: 28px; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.4; transform: translateY(-50%) scale(0.7); }
}

.hero-title {
  margin-bottom: 24px;
}
.hero-name {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.hero-role {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 0.8rem + 1.2vw, 1.5rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.hero-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 0.7rem + 1vw, 1.25rem);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}
.hero-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-lead strong { color: var(--text-primary); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.recruiter-only { display: none; }
.recruiter-mode .recruiter-only { display: block; }
.recruiter-snapshot {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-accent);
  background: linear-gradient(135deg, rgba(212,175,55,0.15), transparent);
  box-shadow: var(--shadow-sm);
}
.snapshot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 12px;
}
.snapshot-badge {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.recruiter-snapshot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.recruiter-snapshot li {
  padding-left: 18px;
  position: relative;
  margin: 8px 0;
}
.recruiter-snapshot li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Hero Visual (Quote + AI Orbits) */
.hero-visual { position: relative; }
.hero-quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.quote-icon {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: -20px;
}
.hero-quote-card blockquote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
}
.hero-quote-card cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
}

/* AI Orbits */
.hero-ai-orbits {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  z-index: 1;
}
.orbit {
  position: absolute;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-1 { width: 200px; height: 200px; animation: orbit-spin 20s linear infinite; }
.orbit-2 { width: 280px; height: 280px; animation: orbit-spin 30s linear infinite reverse; }
.orbit-3 { width: 360px; height: 360px; animation: orbit-spin 40s linear infinite; }
.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-glow-strong);
  top: 50%; left: 50%;
}
.dot-1 { animation: orbit-dot-1 20s linear infinite; }
.dot-2 { animation: orbit-dot-2 30s linear infinite reverse; }
.dot-3 { animation: orbit-dot-3 40s linear infinite; }

@keyframes orbit-spin { 0% { transform: translate(-50%,-50%) rotate(0); } 100% { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes orbit-dot-1 {
  0% { transform: translate(-50%,-50%) rotate(0) translateX(100px); }
  100% { transform: translate(-50%,-50%) rotate(360deg) translateX(100px); }
}
@keyframes orbit-dot-2 {
  0% { transform: translate(-50%,-50%) rotate(0) translateX(140px); }
  100% { transform: translate(-50%,-50%) rotate(-360deg) translateX(140px); }
}
@keyframes orbit-dot-3 {
  0% { transform: translate(-50%,-50%) rotate(0) translateX(180px); }
  100% { transform: translate(-50%,-50%) rotate(360deg) translateX(180px); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll-indicator span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.3; height: 24px; }
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: 96px 0;
  position: relative;
}

/* ============================================================
   METRICS
   ============================================================ */
.metrics-section {
  background:
    linear-gradient(180deg, var(--bg-secondary), var(--bg) 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.metric-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.metric-card:hover::before { opacity: 1; }
.metric-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.metric-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin: 12px auto;
  max-width: 120px;
  overflow: hidden;
}
.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}
.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.dashboard-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.dashboard-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.dashboard-tab.active,
.dashboard-tab:hover {
  color: #0a0c10;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.kpi-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.kpi-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.kpi-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 6px;
}
.kpi-trend {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.kpi-detail {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.dashboard-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   BRAND STATEMENT
   ============================================================ */
.brand-section {
  background: var(--bg);
}
.brand-statement {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.brand-left .section-title {
  text-align: left;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem);
}
.brand-text-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.brand-text-body strong { color: var(--text-primary); }
.brand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}
.pillar:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--gold-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--gold);
  margin-bottom: 16px;
}
.pillar h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.pillar p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   ECOSYSTEM MAP
   ============================================================ */
.ecosystem-section {
  background:
    linear-gradient(180deg, var(--bg-secondary), var(--bg) 60%);
  border-top: 1px solid var(--border);
}
.ecosystem-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.chip.active,
.chip:hover {
  color: #0a0c10;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
}
.ecosystem-map {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: radial-gradient(circle at center, rgba(212,175,55,0.12), transparent 60%);
  overflow: hidden;
  padding: 32px;
}
.ecosystem-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.ecosystem-center h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.ecosystem-center p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.ecosystem-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.ecosystem-node:hover,
.ecosystem-node.active {
  color: #0a0c10;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}
.ecosystem-detail {
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================================
   SKILLS HEATMAP
   ============================================================ */
.skills-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.skill-cell {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.skill-cell:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-gold);
}
.skill-cell[data-level="5"] { background: rgba(212,175,55,0.2); color: var(--text-primary); }
.skill-cell[data-level="4"] { background: rgba(212,175,55,0.14); }
.skill-cell[data-level="3"] { background: rgba(212,175,55,0.08); }
.skill-cell[data-level="2"] { background: rgba(212,175,55,0.05); }
.skill-cell[data-level="1"] { background: var(--surface); }
.skills-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.skills-legend span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.skills-legend span[data-level="5"] { background: rgba(212,175,55,0.2); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section {
  background:
    linear-gradient(180deg, var(--bg-secondary), var(--bg) 60%);
  border-top: 1px solid var(--border);
}
.timeline-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 48px;
}
.timeline-line {
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--border) 20%, var(--border) 80%, transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.timeline-item::before {
  content: attr(data-year);
  position: absolute;
  left: -48px;
  top: 28px;
  width: 48px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: none;
}
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--gold);
  z-index: 2;
  transition: all var(--transition-fast);
}
.timeline-item:hover .timeline-dot {
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow-strong);
  transform: scale(1.3);
}
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}
.timeline-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-gold);
  transform: translateX(4px);
}
.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.timeline-company {
  display: flex;
  align-items: center;
  gap: 14px;
}
.company-logo {
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}
[data-theme="light"] .company-logo svg rect {
  fill: #e8e6e1;
}
[data-theme="light"] .company-logo svg text {
  fill: #b4911e;
}
.timeline-company h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.timeline-role {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.timeline-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 12px;
  background: var(--gold-glow);
  border-radius: 100px;
  border: 1px solid var(--border-accent);
}
.timeline-details {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.timeline-details li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 8px 0;
  line-height: 1.6;
}
.timeline-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}
.timeline-details.compact li { font-size: 0.88rem; color: var(--text-muted); }
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.timeline-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid var(--border-accent);
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.flip-card {
  perspective: 1200px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  transform-style: preserve-3d;
  transition: transform var(--transition-slow);
}
.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backface-visibility: hidden;
  box-shadow: var(--shadow-sm);
}
.flip-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.flip-card-back ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.flip-card-back li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}
.flip-card-back li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.flip-hint {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.case-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}
.case-industry {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.case-section h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.3;
}
.case-section p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid var(--border-accent);
}

/* ============================================================
   VALUE PROPOSITION
   ============================================================ */
.value-section {
  background:
    linear-gradient(180deg, var(--bg-secondary), var(--bg) 60%);
  border-top: 1px solid var(--border);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition-base);
  position: relative;
}
.value-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.value-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--gold-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  color: var(--gold);
  margin-bottom: 20px;
  transition: all var(--transition-base);
}
.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0c10;
}
.value-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.value-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   EDUCATION
   ============================================================ */
.education-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-base);
}
.edu-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.edu-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--gold-glow);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  color: var(--gold);
  margin: 0 auto 16px;
}
.edu-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.edu-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================================
   LEADERSHIP SECTION
   ============================================================ */
.leadership-section {
  background:
    linear-gradient(180deg, var(--bg-secondary), var(--bg) 60%);
  border-top: 1px solid var(--border);
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.carousel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.carousel-header h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.carousel-controls {
  display: flex;
  gap: 8px;
}
.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.carousel-btn:hover {
  color: var(--gold);
  border-color: var(--border-accent);
  background: var(--gold-glow);
}
.carousel-track {
  position: relative;
  min-height: 180px;
}
.carousel-slide {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-secondary);
}
.carousel-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.carousel-slide h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
}
.carousel-slide span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   RESUME DOWNLOADS
   ============================================================ */
.resume-section {
  background:
    linear-gradient(180deg, var(--bg-secondary), var(--bg) 60%);
  border-top: 1px solid var(--border);
}
.resume-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.resume-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.resume-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
}
.resume-card p {
  color: var(--text-secondary);
  flex: 1;
}

/* ============================================================
   AI Q&A
   ============================================================ */
.qa-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.qa-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.qa-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.qa-form textarea {
  margin-top: 10px;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  min-height: 140px;
  font-size: 0.95rem;
}
.qa-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qa-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qa-response {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  min-height: 220px;
}
.qa-placeholder h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.qa-loading {
  color: var(--gold);
  font-weight: 600;
}
.qa-output {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights-section {
  background:
    linear-gradient(180deg, var(--bg-secondary), var(--bg) 60%);
  border-top: 1px solid var(--border);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.insight-card.insight-link:hover,
.insight-card.insight-link:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.4);
}
.insight-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.insight-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
}
.insight-card p {
  color: var(--text-secondary);
  flex: 1;
}
.insight-cta {
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ============================================================
   INSIGHT PAGES
   ============================================================ */
.insight-page {
  min-height: 100vh;
  background: var(--bg);
}
.insight-hero {
  padding: 140px 0 60px;
  background:
    radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(9, 12, 18, 0.98), var(--bg));
  border-bottom: 1px solid var(--border);
}
.insight-hero-content {
  max-width: 760px;
}
.insight-hero .section-tag {
  display: inline-flex;
  margin-bottom: 16px;
}
.insight-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.insight-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}
.insight-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.insight-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.insight-body {
  padding: 60px 0 90px;
}
.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.45fr);
  gap: 40px;
}
.insight-article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.insight-article h2 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 24px 0 12px;
  font-size: 1.35rem;
}
.insight-article p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.insight-article ul {
  margin: 0 0 20px 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.insight-callout {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 60%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  color: var(--text-primary);
  margin: 24px 0;
}
.insight-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.insight-card-small {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.insight-card-small h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.insight-card-small p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.insight-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 18, 27, 0.6);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.insight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.insight-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
}
.insight-back:hover {
  color: var(--gold);
}

/* ============================================================
   CALENDAR CARD
   ============================================================ */
.calendar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.calendar-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.calendar-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.modal.open { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.modal-content {
  position: relative;
  z-index: 1;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: min(520px, 90vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 8px;
}
.modal-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background:
    linear-gradient(180deg, var(--bg-secondary), var(--bg) 60%);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
.field input:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}
.field textarea { resize: vertical; min-height: 120px; }
.checkbox-field {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.error {
  color: #ff6b6b;
  font-size: 0.8rem;
  min-height: 16px;
  margin-top: 4px;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-sm);
  color: #22c55e;
  margin-top: 16px;
}
.form-success p { font-size: 0.92rem; font-weight: 500; }

/* Contact Info */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.contact-details {
  list-style: none;
  padding: 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.contact-details li:last-child { border-bottom: none; }
.contact-details svg { color: var(--gold); flex-shrink: 0; }
.contact-details a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.contact-details a:hover { color: var(--gold); }

.contact-availability {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.availability-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,0.4);
  animation: avail-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes avail-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--gold); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-up"] { transform: translateY(30px); }
[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 500px; }
  .hero-ai-orbits { width: 300px; height: 300px; }
  .orbit-1 { width: 160px; height: 160px; }
  .orbit-2 { width: 230px; height: 230px; }
  .orbit-3 { width: 300px; height: 300px; }
  .brand-statement { grid-template-columns: 1fr; gap: 32px; }
  .brand-left .section-title { text-align: center; }
  .brand-left .section-tag { display: block; text-align: center; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .value-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .resume-grid { grid-template-columns: 1fr; }
  .qa-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }

  .nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; width: 100%; border-radius: var(--radius-sm); }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-scroll-indicator { display: none; }
  .hero-ai-orbits { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .metric-card { padding: 20px 16px; }
  .metric-value { font-size: 1.8rem; }

  .brand-pillars { grid-template-columns: 1fr; }
  .education-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeline-container { padding-left: 36px; }
  .timeline-line { left: 15px; }
  .timeline-dot { left: -27px; width: 12px; height: 12px; }
  .timeline-card { padding: 20px; }
  .timeline-card-header { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-card { padding: 16px 12px; }
  .metric-value { font-size: 1.5rem; }
  .metric-label { font-size: 0.75rem; }
  .brand-text { display: none; }
  .hero-name { font-size: 2rem; }
  .dashboard-controls { flex-direction: column; }
  .skills-legend { flex-direction: column; align-items: center; }
  .ecosystem-map { min-height: 360px; }
  .insight-hero { padding: 120px 0 50px; }
  .insight-article { padding: 24px; }
}

/* --- Print --- */
@media print {
  .site-header, .hero-scroll-indicator, .hero-ai-orbits, #heroCanvas, .theme-toggle, .nav-toggle { display: none !important; }
  .hero { min-height: auto; padding: 20px 0; }
  .section { padding: 20px 0; page-break-inside: avoid; }
  body { background: #fff; color: #000; }
}
