/* ═════════════════════════════════════════════════════════════════════
   SUJAL K RAO — EXECUTIVE PORTFOLIO DESIGN SYSTEM
   Visual Style: Modern, Minimal, Editorial · Subtle Depth & Soft Shadows
   Theme: Porcelain-Inspired Light Mode (Default) + Deep Obsidian Dark Mode
   Typography: Clean Sans-Serif (Plus Jakarta Sans) + Technical Mono (JetBrains Mono)
   ═════════════════════════════════════════════════════════════════════ */

/* ── Typographic & Theme Variables ──────────────────────────────────── */
:root, html[data-theme="light"] {
  --bg-deep: #fbfcfd;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f3f4f6;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-active: rgba(234, 88, 12, 0.4);
  --border-focus: #ea580c;

  --text-main: #111827;
  --text-muted: #4b5563;
  --text-dim: #6b7280;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 16px -2px rgba(15, 23, 42, 0.05), 0 1px 4px 0 rgba(15, 23, 42, 0.02);
  --shadow-hover: 0 16px 36px -4px rgba(234, 88, 12, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);

  --accent-flame: #ea580c;
  --accent-amber: #f97316;
  --accent-emerald: #059669;
  --accent-rose: #e11d48;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-slide: 0.75s;
}

html[data-theme="dark"] {
  --bg-deep: #05060a;
  --bg-surface: #0a0d17;
  --bg-card: rgba(13, 17, 30, 0.85);
  --bg-subtle: #111628;

  --border-subtle: rgba(56, 189, 248, 0.12);
  --border-active: rgba(249, 115, 22, 0.6);
  --border-focus: #38bdf8;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(56, 189, 248, 0.08);
  --shadow-hover: 0 24px 60px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.2);

  --accent-flame: #06b6d4;
  --accent-amber: #38bdf8;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-cyber: #8b5cf6;
}

/* ── Global Resets & Accessibility ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s var(--ease-editorial), color 0.3s var(--ease-editorial);
}

/* Keyboard Accessible Skip Link */
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  background: var(--text-main);
  color: var(--bg-deep);
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--accent-flame);
}

/* Focus Visible Accessible Rings */
:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

/* ── Top Progress Tracker ───────────────────────────────────────────── */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-flame), var(--accent-amber));
  z-index: 1001;
  transition: width 0.1s linear;
}

/* ── Abstract Background Canvas ─────────────────────────────────────── */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

.bg-ambient-glow {
  position: fixed;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 700px;
  background: radial-gradient(circle at 35% 25%, rgba(6, 182, 212, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 75% 35%, rgba(139, 92, 246, 0.14) 0%, transparent 65%),
              radial-gradient(circle at 50% 65%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: auroraDrift 16s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-48%) translateY(30px) scale(1.05); }
  100% { transform: translateX(-52%) translateY(-20px) scale(0.98); }
}

/* ── Executive Slide HUD Rail Tracker ───────────────────────────────── */
.slide-rail {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 90;
  pointer-events: auto;
}

.slide-dot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px 0;
  transition: all 0.25s ease;
}

.slide-dot-tooltip {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
}

.slide-dot-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: all 0.25s ease;
}

.slide-dot-bar {
  width: 14px;
  height: 2px;
  background: rgba(107, 114, 128, 0.25);
  border-radius: 99px;
  transition: all 0.3s var(--ease-editorial);
}

.slide-dot:hover .slide-dot-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.slide-dot:hover .slide-dot-num {
  color: var(--text-main);
}

.slide-dot:hover .slide-dot-bar {
  background: var(--text-main);
  width: 20px;
}

.slide-dot.active .slide-dot-num {
  color: var(--accent-flame);
  font-weight: 700;
}

.slide-dot.active .slide-dot-bar {
  width: 30px;
  background: var(--accent-flame);
}

/* ── Typography & Headings ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  letter-spacing: -0.025em;
  font-weight: 700;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

code, .font-mono {
  font-family: var(--font-mono);
}

/* ── Navigation Bar ─────────────────────────────────────────────────── */
.exec-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(251, 252, 253, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  align-items: center;
}

html[data-theme="dark"] .exec-nav {
  background: rgba(9, 10, 15, 0.88);
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: max-content;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand-monogram {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--text-main);
  color: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
}

.brand-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.brand-role {
  font-size: 0.72rem;
  color: var(--text-dim);
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--accent-flame);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-theme-toggle:hover {
  border-color: var(--border-active);
}

.btn-cmd-k {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cmd-k:hover {
  border-color: var(--border-active);
  color: var(--text-main);
}

.kbd-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 5px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

html[data-theme="dark"] .kbd-badge {
  background: rgba(255, 255, 255, 0.08);
}

.btn-resume-nav {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--text-main);
  color: var(--bg-deep);
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-resume-nav:hover {
  opacity: 0.9;
}

/* ── Section & Slide Layout ─────────────────────────────────────────── */
.slide-section {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 92px 24px;
}

.seq-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-slide) var(--ease-editorial),
              transform var(--duration-slide) var(--ease-editorial);
  will-change: transform, opacity;
}

.slide-section.slide-entered .seq-item {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  margin-bottom: 44px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-flame);
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--accent-flame);
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-desc {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Hero Section ───────────────────────────────────────────────────── */
#overview {
  padding-top: 144px;
  padding-bottom: 76px;
}

.hero-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 24px;
}

.status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

.hero-value-statement {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 980px;
}

.hero-tagline {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: var(--text-main);
  color: var(--bg-deep);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--text-main);
  transition: all 0.2s var(--ease-editorial);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-flame);
  border-color: var(--accent-flame);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.2s var(--ease-editorial);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

/* Telemetry Strip */
.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  padding: 6px 14px;
  border-left: 2px solid var(--accent-flame);
}

.telemetry-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.telemetry-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── About Section (Concise & Editorial) ────────────────────────────── */
.about-card-editorial {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.about-lead-para {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 20px;
}

.about-sub-para {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.about-facts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 24px;
  border-left: 1px solid var(--border-subtle);
}

.fact-item {
  display: flex;
  flex-direction: column;
}

.fact-label {
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 2px;
}

.fact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ── Case Studies Filter & Bento ────────────────────────────────────── */
.case-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.case-filter-btn {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.case-filter-btn:hover {
  border-color: var(--border-active);
  color: var(--text-main);
}

.case-filter-btn.active {
  background: var(--text-main);
  color: var(--bg-deep);
  border-color: var(--text-main);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s var(--ease-editorial);
  position: relative;
}

.bento-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.bento-large { grid-column: span 7; }
.bento-medium { grid-column: span 5; }

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.badge-live {
  background: rgba(5, 150, 105, 0.08);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-award {
  background: rgba(234, 88, 12, 0.08);
  color: var(--accent-flame);
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.badge-academic {
  background: rgba(225, 29, 72, 0.08);
  color: var(--accent-rose);
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.bento-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.bento-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.bento-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.project-links {
  display: flex;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-flame);
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 8px;
  text-decoration: underline;
}

/* ── Writing Section (Concise & Editorial) ──────────────────────────── */
.writing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.writing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s var(--ease-editorial);
}

.writing-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.writing-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.writing-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.writing-summary {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.writing-outcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-flame);
  font-weight: 600;
}

/* ── Benchmark Data Visualization ───────────────────────────────────── */
.data-viz-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.data-viz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.data-viz-eyebrow {
  font-size: 0.72rem;
  color: var(--accent-flame);
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 4px;
}

.data-viz-title {
  font-size: 1.35rem;
}

.data-viz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 99px;
  font-size: 0.76rem;
  color: var(--accent-emerald);
}

.viz-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.data-viz-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.data-viz-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.viz-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.viz-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

.viz-bar-label {
  font-weight: 600;
  color: var(--text-main);
}

.viz-bar-stats {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.viz-track {
  height: 6px;
  background: var(--bg-subtle);
  border-radius: 99px;
  overflow: hidden;
}

.viz-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-flame), var(--accent-amber));
  border-radius: 99px;
  transition: width 0.9s var(--ease-editorial);
}

.data-viz-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.viz-footer-stat {
  display: flex;
  flex-direction: column;
}

.viz-stat-k {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.viz-stat-v {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ── Interactive Threat Detection Simulator ─────────────────────────── */
.threat-sim-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.sim-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-flame);
}

.pulse-sim-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-flame);
}

.sim-explainer {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sim-btn-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.btn-sim-trigger {
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s;
}

.btn-sim-trigger:hover {
  border-color: var(--border-active);
}

.btn-sim-trigger.active {
  background: var(--bg-card);
  border-color: var(--accent-flame);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.12);
}

.sim-btn-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-flame);
}

.sim-btn-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
}

.sim-telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.sim-rule-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-flame);
  margin-bottom: 2px;
}

.sim-rule-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sim-risk-box {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.risk-crit {
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.risk-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-rose);
  display: block;
}

.risk-score-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-rose);
}

.sim-log-terminal {
  background: #0f1118;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.log-titlebar {
  padding: 9px 16px;
  background: #151822;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: #9ca3af;
  display: flex;
  justify-content: space-between;
}

.log-body {
  padding: 16px;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-line {
  display: flex;
  gap: 12px;
  color: #e5e7eb;
}

.log-idx { color: #6b7280; user-select: none; }
.log-alert { color: #f97316; font-weight: 600; }

/* ── Interactive 50-State Tax Calculator ────────────────────────────── */
.tax-widget-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.tax-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.tax-widget-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.tax-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.tax-widget-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.tax-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.tax-control-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tax-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
}

.tax-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.tax-currency-symbol {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.tax-input, .tax-select {
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
}

.tax-input { padding-left: 26px; }

.tax-results-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.tax-card-state {
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.state-code-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-flame);
  margin-bottom: 2px;
}

.state-name-bold {
  font-size: 1.1rem;
  font-weight: 700;
}

.state-type-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.tax-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  padding: 5px 0;
  border-top: 1px solid var(--border-subtle);
}

.tax-val-red { color: var(--accent-rose); font-weight: 600; }
.tax-val-green { color: var(--accent-emerald); font-weight: 600; }

.tax-vs-pillar {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
}

.tax-delta-summary {
  grid-column: span 3;
  text-align: center;
  font-size: 0.9rem;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* ── Architecture Visualizer ────────────────────────────────────────── */
.arch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.arch-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.arch-tab-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.arch-tab-btn:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.arch-tab-btn.active {
  background: var(--bg-subtle);
  border-color: var(--border-active);
  color: var(--accent-flame);
}

.arch-canvas-display {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  margin-bottom: 22px;
}

.arch-header {
  margin-bottom: 22px;
}

.arch-title-text {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.arch-sub-text {
  font-size: 0.82rem;
  color: var(--accent-flame);
  font-weight: 600;
}

.arch-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.arch-node {
  flex: 1;
  min-width: 165px;
  padding: 16px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-align: center;
}

.arch-node.highlight {
  border-color: var(--accent-flame);
}

.arch-node-type {
  font-size: 0.68rem;
  color: var(--accent-flame);
  font-weight: 700;
  margin-bottom: 3px;
}

.arch-node-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.arch-node-detail {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.arch-arrow {
  color: var(--text-dim);
  font-size: 1.1rem;
}

.arch-specs-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.arch-spec-row {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.arch-spec-label {
  font-size: 0.74rem;
  color: var(--accent-flame);
  font-weight: 700;
  margin-bottom: 3px;
}

.arch-spec-val {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ── Competencies Grid ──────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s var(--ease-editorial);
}

.skill-category-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-flame);
  margin-bottom: 18px;
}

.category-name {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.skill-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.skill-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.skill-level-tag {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ── Experience Timeline ────────────────────────────────────────────── */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 18px;
  width: 1.5px;
  background: var(--border-subtle);
}

.timeline-entry {
  position: relative;
  padding-left: 52px;
}

.timeline-node-dot {
  position: absolute;
  left: 12px;
  top: 24px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent-flame);
}

.timeline-entry-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.timeline-role {
  font-size: 1.18rem;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-flame);
  font-weight: 600;
  padding: 3px 10px;
  background: var(--bg-subtle);
  border-radius: 99px;
}

.timeline-company {
  font-size: 0.94rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 14px;
}

.timeline-bullet-list {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Certifications ─────────────────────────────────────────────────── */
.certs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.cert-card-pro {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s var(--ease-editorial);
}

.cert-card-pro:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.cert-icon-pro {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.cert-org-pro {
  font-size: 0.72rem;
  color: var(--accent-emerald);
  font-weight: 700;
  margin-bottom: 3px;
}

.cert-title-pro {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.cert-meta-pro {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Workstation Terminal ───────────────────────────────────────────── */
.terminal-window {
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-titlebar {
  background: #11131c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots { display: flex; gap: 8px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-size: 0.8rem;
  color: #9ca3af;
}

.terminal-actions { display: flex; gap: 6px; }

.term-btn-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f97316;
  cursor: pointer;
  transition: all 0.2s;
}

.term-btn-pill:hover {
  background: rgba(249, 115, 22, 0.2);
  color: #fff;
}

.terminal-body {
  padding: 24px;
  min-height: 280px;
  max-height: 440px;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.65;
}

.cli-dim { color: #6b7280; }
.cli-glow { color: #f97316; font-weight: 600; }
.cli-green { color: #10b981; }
.cli-accent { color: #ea580c; font-weight: 600; }
.cli-link { color: #f97316; text-decoration: underline; }

.cli-output { margin: 8px 0 14px; color: #d1d5db; }
.cli-table { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; padding-left: 10px; }
.cli-cmd { color: #f97316; font-weight: 600; display: inline-block; width: 105px; }

.cli-history-line { margin: 6px 0; color: #9ca3af; }
.cli-user-text { color: #f9fafb; font-weight: 500; }

.terminal-input-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.term-user { color: #10b981; font-weight: 600; }
.term-at { color: #6b7280; }
.term-host { color: #f97316; }
.term-dir { color: #ea580c; }

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #f9fafb;
}

/* ── Contact Section ────────────────────────────────────────────────── */
.contact-card-pro {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 36px 0;
}

.channel-box {
  padding: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s var(--ease-editorial);
}

.channel-box:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.channel-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-flame);
}

.channel-title { font-size: 0.8rem; color: var(--text-dim); }
.channel-value { font-size: 0.92rem; font-weight: 600; color: var(--text-main); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.exec-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 44px 24px;
  background: var(--bg-surface);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* ── Global Toast ───────────────────────────────────────────────────── */
.global-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text-main);
  color: var(--bg-deep);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.25s var(--ease-editorial);
}

.global-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

/* ── Command Palette (Cmd+K) Modal ──────────────────────────────────── */
.palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  transition: opacity 0.2s ease;
}

.palette-overlay.hidden { display: none; }

.palette-modal {
  width: 90%;
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.palette-searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.palette-icon { color: var(--accent-flame); }

.palette-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.96rem;
  font-family: var(--font-sans);
}

.palette-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  background: var(--bg-subtle);
  border-radius: 4px;
  color: var(--text-dim);
}

.palette-list {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
}

.palette-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}

.palette-item:hover, .palette-item.selected {
  background: var(--bg-subtle);
}

.palette-item-icon { font-size: 1.1rem; }
.palette-item-label { flex: 1; font-size: 0.88rem; color: var(--text-main); font-weight: 500; }
.palette-item-cat { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-flame); }

.palette-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.palette-footer {
  padding: 10px 20px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ── Resume Modal Viewer ────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.hidden { display: none; }

.resume-modal-container {
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.resume-modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
}

.resume-modal-title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-modal-actions { display: flex; align-items: center; gap: 10px; }

.btn-print-resume {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--text-main);
  color: var(--bg-deep);
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.btn-close-modal:hover { color: var(--text-main); }

.resume-modal-body {
  padding: 34px 40px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.7;
}

.resume-paper {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-sm);
  padding: 38px;
  border: 1px solid #e2e8f0;
}

.resume-paper h2 { color: #0f172a; font-size: 1.8rem; margin-bottom: 2px; }
.resume-paper .sub-meta { color: #475569; font-size: 0.84rem; margin-bottom: 18px; border-bottom: 1px solid #e2e8f0; padding-bottom: 10px; }
.resume-sec-title { font-size: 0.92rem; font-weight: 700; text-transform: uppercase; color: #ea580c; border-bottom: 1.5px solid #ea580c; padding-bottom: 3px; margin: 16px 0 8px; letter-spacing: 0.05em; }

.resume-item-row { margin-bottom: 12px; }
.resume-item-header { display: flex; justify-content: space-between; font-weight: 700; color: #1e293b; }
.resume-item-sub { color: #64748b; font-size: 0.82rem; margin-bottom: 3px; }
.resume-paper ul { padding-left: 18px; color: #334155; font-size: 0.85rem; }

/* ── Accessibility & Reduced Motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .seq-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .pro-card-tilt {
    transform: none !important;
  }
}

/* ── Responsive Adaptations ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .nav-menu { gap: 4px; }
  .nav-link { font-size: 0.8rem; padding: 4px 6px; }
}

@media (max-width: 1040px) {
  .slide-rail { display: none; }
  .nav-menu { display: none; }
  .exec-nav { height: 64px; }
}

@media (max-width: 900px) {
  .bento-large, .bento-medium { grid-column: span 12; }
  .about-card-editorial { grid-template-columns: 1fr; }
  .about-facts-list { border-left: none; padding-left: 0; border-top: 1px solid var(--border-subtle); padding-top: 20px; }
  .slide-section { padding: 64px 20px; }
  .contact-card-pro { padding: 32px 20px; }
  .resume-paper { padding: 22px; }
  .tax-results-comparison { grid-template-columns: 1fr; }
  .tax-vs-pillar { justify-self: center; }
  .tax-delta-summary { grid-column: span 1; }
}

@media (max-width: 600px) {
  .nav-container { padding: 0 14px; gap: 8px; }
  .btn-cmd-k { padding: 6px 8px; }
  .btn-resume-nav { padding: 5px 10px; font-size: 0.78rem; }
  .brand-role { display: none; }
}

/* ═════════════════════════════════════════════════════════════════════
   CINEMATIC PRELOADER STYLES
   ═════════════════════════════════════════════════════════════════════ */
.exec-preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.exec-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.preloader-monogram {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.2);
  animation: pulseBrand 2s infinite ease-in-out;
}

@keyframes pulseBrand {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.preloader-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  color: var(--text-main);
}

.preloader-subtitle {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.preloader-bar {
  width: 100%;
  height: 3px;
  background: var(--border-subtle);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.preloader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ea580c, #f97316);
  transition: width 0.1s linear;
}

.preloader-counter {
  font-size: 0.8rem;
  color: var(--accent-flame);
  font-weight: 600;
}

/* ═════════════════════════════════════════════════════════════════════
   3D HERO THREE.JS CANVAS CONTAINER
   ═════════════════════════════════════════════════════════════════════ */
.three-hero-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.9;
}

.three-hero-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ═════════════════════════════════════════════════════════════════════
   CYBERSECURITY COMMAND CENTER HUD & GLOBE
   ═════════════════════════════════════════════════════════════════════ */
.command-center-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.soc-hud-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 24px;
  gap: 16px;
}

@media (max-width: 768px) {
  .soc-hud-bar { grid-template-columns: repeat(2, 1fr); }
}

.soc-hud-stat {
  display: flex;
  flex-direction: column;
}

.soc-hud-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.soc-hud-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.soc-alert { color: var(--accent-rose); }
.soc-success { color: var(--accent-emerald); }

.soc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 480px;
}

@media (max-width: 960px) {
  .soc-grid { grid-template-columns: 1fr; }
}

.soc-globe-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
  cursor: grab;
}

.soc-globe-wrapper:active { cursor: grabbing; }

.soc-globe-badge {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 0.68rem;
  color: var(--text-dim);
  background: var(--bg-surface);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  pointer-events: none;
}

.soc-feed-wrapper {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
}

.soc-feed-header {
  padding: 14px 20px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.soc-feed-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 420px;
}

.cyber-stream-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  animation: slideInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.cyber-stream-time { color: var(--text-dim); }

.cyber-stream-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.cyber-stream-badge.critical { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.cyber-stream-badge.high { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.cyber-stream-badge.medium { background: rgba(234, 179, 8, 0.15); color: #eab308; }
.cyber-stream-badge.low { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }

.cyber-stream-desc {
  flex: 1;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cyber-stream-route { color: var(--text-dim); }
.cyber-stream-status { color: #10b981; font-weight: 700; }

/* ═════════════════════════════════════════════════════════════════════
   TRACEGUARD 7-STEP WALKTHROUGH STYLES
   ═════════════════════════════════════════════════════════════════════ */
.traceguard-stage {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.tg-stepper-header {
  padding: 20px 24px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.tg-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(15, 23, 42, 0.06);
}

.tg-progress-fill {
  height: 100%;
  width: 14%;
  background: linear-gradient(90deg, #ea580c, #10b981);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tg-steps-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tg-steps-nav::-webkit-scrollbar { display: none; }

.tg-step-indicator {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tg-step-indicator:hover {
  border-color: var(--accent-flame);
  color: var(--text-main);
}

.tg-step-indicator.active {
  background: var(--text-main);
  color: var(--bg-deep);
  border-color: var(--text-main);
}

.tg-step-indicator.completed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.tg-stage-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 28px;
  gap: 24px;
}

@media (max-width: 880px) {
  .tg-stage-body { grid-template-columns: 1fr; }
}

.tg-view-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tg-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.tg-badge-warning { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.tg-badge-info { background: rgba(59, 130, 246, 0.15); color: #2563eb; }
.tg-badge-alert { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.tg-badge-critical { background: rgba(225, 29, 72, 0.15); color: #e11d48; }
.tg-badge-mitigating { background: rgba(147, 51, 234, 0.15); color: #9333ea; }
.tg-badge-success { background: rgba(16, 185, 129, 0.15); color: #059669; }

.tg-controls { display: flex; gap: 8px; }

.tg-btn {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-flame);
  color: #ffffff;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.tg-btn:hover { transform: translateY(-1px); }

.tg-btn-ghost {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 0.8rem;
  cursor: pointer;
}

.tg-step-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.tg-step-explanation {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tg-topology-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px dashed var(--border-subtle);
}

.topo-node {
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
}

.topo-wire {
  flex: 1;
  height: 2px;
  background: var(--border-subtle);
  position: relative;
  margin: 0 10px;
}

.topo-packet {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-flame);
  top: -2px;
  animation: flowPacket 1.5s infinite linear;
}

@keyframes flowPacket {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.tg-terminal-log {
  background: #090a0f;
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  height: 120px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tg-log-entry { margin-bottom: 6px; }
.tg-log-caret { color: #f43f5e; font-weight: bold; margin-right: 6px; }

.tg-metrics-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tg-metric-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.tg-metric-title {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.tg-metric-score {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.tg-risk-meter {
  height: 6px;
  width: 100%;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.tg-risk-meter-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.tg-metric-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.tg-mitre-tag {
  font-size: 0.72rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
  border-radius: 4px;
  margin-top: 6px;
  color: var(--text-muted);
}

/* ═════════════════════════════════════════════════════════════════════
   SKILLS GALAXY ORBITAL VIEWPORT
   ═════════════════════════════════════════════════════════════════════ */
.galaxy-viewport {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.galaxy-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
}

.tooltip-tag { font-size: 0.65rem; color: var(--accent-flame); font-weight: 700; text-transform: uppercase; }
.tooltip-title { font-size: 0.85rem; font-weight: 700; color: var(--text-main); }
.tooltip-level { font-size: 0.72rem; color: var(--text-dim); margin-top: 2px; }

.galaxy-legend {
  padding: 12px 20px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

/* ═════════════════════════════════════════════════════════════════════
   FLOATING EXECUTIVE AI COPILOT
   ═════════════════════════════════════════════════════════════════════ */
.ai-copilot-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-copilot-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
}

.ai-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-flame);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.ai-toggle-text { font-size: 0.82rem; font-weight: 600; }

.ai-copilot-widget {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 480px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.ai-copilot-widget.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ai-copilot-header {
  padding: 14px 18px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-header-info { display: flex; align-items: center; gap: 10px; }
.ai-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; }
.ai-title { font-size: 0.85rem; font-weight: 700; color: var(--text-main); display: block; }
.ai-status { font-size: 0.68rem; color: var(--text-dim); }

.ai-btn-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-dim);
  cursor: pointer;
  line-height: 1;
}

.ai-copilot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg {
  display: flex;
  max-width: 85%;
}

.ai-msg-assistant { align-self: flex-start; }
.ai-msg-user { align-self: flex-end; }

.ai-msg-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.ai-msg-assistant .ai-msg-bubble {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.ai-msg-assistant .ai-msg-bubble ul {
  padding-left: 16px;
  margin-top: 6px;
}

.ai-msg-user .ai-msg-bubble {
  background: var(--accent-flame);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.ai-copilot-pills {
  padding: 8px 14px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  scrollbar-width: none;
}

.ai-copilot-pills::-webkit-scrollbar { display: none; }

.ai-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ai-pill:hover {
  background: var(--text-main);
  color: var(--bg-deep);
}

.ai-copilot-input-bar {
  padding: 10px 14px;
  display: flex;
  gap: 8px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
}

.ai-copilot-input-bar input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-main);
  outline: none;
}

.ai-copilot-input-bar input:focus { border-color: var(--accent-flame); }

.ai-copilot-input-bar button {
  background: var(--accent-flame);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═════════════════════════════════════════════════════════════════════
   EXECUTIVE MOTION SYSTEM & LUXURY CUSTOM CURSOR
   ═════════════════════════════════════════════════════════════════════ */
/* ═════════════════════════════════════════════════════════════════════
   EXECUTIVE MOTION SYSTEM & LUXURY DYNAMIC EMOJI CURSOR
   ═════════════════════════════════════════════════════════════════════ */
.exec-cursor-emoji {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100001;
  font-size: 1.35rem;
  line-height: 1;
  user-select: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.16));
  transition: opacity 0.2s ease;
  will-change: transform;
}

.exec-cursor-emoji.emoji-pop {
  animation: emojiPopAnim 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes emojiPopAnim {
  0% { transform: translate(-50%, -50%) scale(0.8) rotate(-14deg); }
  50% { transform: translate(-50%, -50%) scale(1.35) rotate(12deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}

.exec-cursor-ring {
  position: fixed;
  top: -22px;
  left: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(234, 88, 12, 0.45);
  background: rgba(234, 88, 12, 0.05);
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.25s ease, border-color 0.2s ease, width 0.25s ease, height 0.25s ease, top 0.25s ease, left 0.25s ease;
  will-change: transform;
}

.exec-cursor-ring.cursor-hover {
  width: 58px;
  height: 58px;
  top: -29px;
  left: -29px;
  border-color: rgba(234, 88, 12, 0.7);
  background: rgba(234, 88, 12, 0.1);
  backdrop-filter: blur(2px);
}

.exec-cursor-emoji.cursor-hover {
  filter: drop-shadow(0 0 10px rgba(234, 88, 12, 0.6));
}

.cursor-emoji-trail-item {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100000;
  font-size: 1.15rem;
  line-height: 1;
  user-select: none;
  animation: emojiFloatFade 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

@keyframes emojiFloatFade {
  0% {
    opacity: 0.95;
    transform: translate(calc(var(--start-x) - 50%), calc(var(--start-y) - 50%)) scale(1.1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--start-x) - 50% + var(--dx, 0px)), calc(var(--start-y) - 50% - 42px)) scale(0.35) rotate(var(--rot, 20deg));
  }
}

/* ── Dynamic Radial Spotlight on Cards (Stripe / Linear) ─────────────── */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--spotlight-x, -1000px) var(--spotlight-y, -1000px),
    rgba(234, 88, 12, 0.08),
    transparent 40%
  );
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

html[data-theme="dark"] .spotlight-card::before {
  background: radial-gradient(
    650px circle at var(--spotlight-x, -1000px) var(--spotlight-y, -1000px),
    rgba(249, 115, 22, 0.12),
    transparent 45%
  );
}

/* ── 3D Tilt Specular Sheen ─────────────────────────────────────────── */
.tilt-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}

/* ── Scroll-Triggered Stagger Reveals ───────────────────────────────── */
.motion-reveal-item {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motion-reveal-item.in-view,
.motion-reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Glowing Border Accents ─────────────────────────────────────────── */
.bento-card:hover, .cert-card-pro:hover, .timeline-entry-content:hover {
  box-shadow: 0 16px 40px -10px rgba(234, 88, 12, 0.12), 0 0 0 1px var(--accent-flame);
}

html[data-theme="dark"] .bento-card:hover,
html[data-theme="dark"] .cert-card-pro:hover,
html[data-theme="dark"] .timeline-entry-content:hover {
  box-shadow: 0 20px 50px -12px rgba(249, 115, 22, 0.22), 0 0 0 1px var(--accent-flame);
}

/* ── FAANG Target Badges & Micro-Pills ──────────────────────────────── */
.hero-top-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-benchmark-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.1);
}

.pill-glow {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseDot 1.4s infinite ease-in-out;
}

.bento-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.badge-metric {
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

html[data-theme="dark"] .badge-metric {
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
}



