/* ==========================================================================
   MAYANK NEGI — EXECUTIVE PERSONAL BRAND & 3D SPATIAL ARCHITECTURE
   Founder of NEGI SOLTECH & Creator of ReadVeylo
   Minimalist, Authoritative, High-Performance, Zero Fluff.
   ========================================================================== */

:root {
  /* Dark Mode Tokens (Default) */
  --bg-deep: #06080D;
  --bg-canvas: #0A0D15;
  --bg-card: rgba(14, 19, 32, 0.72);
  --bg-card-hover: rgba(20, 27, 44, 0.85);
  --bg-subtle: #0E1322;
  --bg-pill: rgba(255, 255, 255, 0.05);

  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-active: rgba(229, 192, 123, 0.42);
  --border-focus: #E5C07B;

  --text-hero: #FFFFFF;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-faint: #64748B;

  /* Architectural Accents */
  --accent-gold: #E5C07B;
  --accent-gold-soft: rgba(229, 192, 123, 0.12);
  --accent-gold-glow: rgba(229, 192, 123, 0.25);
  --accent-cyan: #38BDF8;
  --accent-cyan-soft: rgba(56, 189, 248, 0.10);

  --status-verified: #34D399;
  --status-verified-bg: rgba(52, 211, 153, 0.12);

  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', ui-monospace, SFMono-Regular, monospace;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --shadow-3d: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border-hairline);
  --shadow-glow: 0 0 35px var(--accent-gold-glow);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 0.28s;
}

/* Light Mode Tokens */
[data-theme="light"] {
  --bg-deep: #F5F7FA;
  --bg-canvas: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #FFFFFF;
  --bg-subtle: #EDF2F7;
  --bg-pill: rgba(15, 23, 42, 0.05);

  --border-hairline: rgba(15, 23, 42, 0.08);
  --border-active: rgba(180, 130, 20, 0.4);
  --border-focus: #B48214;

  --text-hero: #0F172A;
  --text-main: #1E293B;
  --text-muted: #475569;
  --text-faint: #64748B;

  --accent-gold: #B48214;
  --accent-gold-soft: rgba(180, 130, 20, 0.08);
  --accent-gold-glow: rgba(180, 130, 20, 0.15);
  --accent-cyan: #0284C7;
  --accent-cyan-soft: rgba(2, 132, 199, 0.08);

  --status-verified: #059669;
  --status-verified-bg: rgba(5, 150, 105, 0.1);

  --shadow-3d: 0 20px 35px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px var(--border-hairline);
  --shadow-glow: 0 0 25px rgba(180, 130, 20, 0.12);
}

/* Reset & Foundation */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--duration-normal) var(--ease-spring), color var(--duration-normal) var(--ease-spring);
}

/* 3D Spatial Grid Background */
.spatial-canvas-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(circle at 50% 15%, var(--accent-gold-soft) 0%, transparent 55%),
    radial-gradient(circle at 85% 85%, var(--accent-cyan-soft) 0%, transparent 45%),
    linear-gradient(to right, var(--border-hairline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-hairline) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  opacity: 0.65;
}

.app-viewport {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.spatial-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(6, 8, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
  transition: background-color var(--duration-normal) var(--ease-spring);
}

[data-theme="light"] .spatial-nav {
  background: rgba(245, 247, 250, 0.90);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-cube-3d {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px var(--accent-gold-soft);
  transform: perspective(600px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.nav-brand:hover .brand-cube-3d {
  transform: perspective(600px) rotateY(0deg) rotateX(0deg) scale(1.05);
  border-color: var(--accent-gold);
}

.brand-meta-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-hero);
  line-height: 1.15;
}

.brand-meta-sub {
  font-size: 0.75rem;
  font-family: var(--font-display);
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-anchor {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-anchor:hover, .nav-anchor.is-active {
  color: var(--accent-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring), background-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary-3d {
  background: var(--accent-gold);
  color: #06080D;
  border: 1px solid var(--accent-gold);
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.btn-primary-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-gold-glow);
}

.btn-outline-3d {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-hairline);
}

.btn-outline-3d:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-icon-pill {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon-pill:hover {
  color: var(--accent-gold);
  border-color: var(--border-active);
}

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: none; }

.mobile-nav-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}

.mobile-nav-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
}

/* ==========================================================================
   Hero Section with 3D Spatial Canvas
   ========================================================================== */
.hero-spatial {
  min-height: calc(92vh - 72px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
  position: relative;
}

.hero-spatial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-spatial-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.78125rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.status-ring {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.hero-name-title {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-hero);
  margin-bottom: 0.75rem;
}

.hero-role-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-lead-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-metric-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
}

.metric-card-3d {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  backdrop-filter: blur(8px);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
  line-height: 1.2;
}

.metric-label {
  font-size: 0.78125rem;
  color: var(--text-faint);
  margin-top: 0.25rem;
  display: block;
}

/* 3D Visualizer Container */
.spatial-3d-visualizer {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#canvas-3d-scene {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

.spatial-3d-overlay-card {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(6, 8, 13, 0.85);
  border: 1px solid var(--border-active);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--accent-gold);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

/* ==========================================================================
   Section Headers (Spatial Minimalist)
   ========================================================================== */
.section-spatial {
  padding: 5.5rem 0;
  position: relative;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.section-heading-3d {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-hero);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 3.5rem;
}

/* ==========================================================================
   Interactive 3D Tilt Cards (Projects & Ventures)
   ========================================================================== */
.tilt-3d {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, border-color 0.25s ease;
}

.tilt-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.tilt-3d:hover::after {
  opacity: 1;
}

/* About / Biography Grid */
.bio-split-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-3d);
}

.bio-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.bio-paragraphs strong {
  color: var(--text-hero);
}
/* Executive Identity & Location Strip */
.identity-meta-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.75rem;
  margin-bottom: 2.25rem;
}

.identity-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.identity-meta-icon {
  color: var(--accent-gold);
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.identity-meta-label {
  font-family: var(--font-display);
  font-size: 0.725rem;
  text-transform: uppercase;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.identity-meta-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-hero);
  line-height: 1.4;
}

.identity-meta-val a {
  color: var(--accent-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.identity-meta-val a:hover {
  text-decoration: underline;
}


/* Ecosystem Ventures (NEGI SOLTECH & ReadVeylo) */
.ecosystem-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.ecosystem-3d-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-3d);
  display: flex;
  flex-direction: column;
}

.ecosystem-3d-card:hover {
  border-color: var(--accent-gold);
}

.eco-identity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: var(--accent-gold-soft);
  border: 1px solid var(--border-active);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.eco-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-hero);
  margin-bottom: 0.75rem;
}

.eco-card-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.eco-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-main);
}

.eco-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.eco-points-list strong {
  color: var(--text-hero);
}

.eco-card-action {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
}

/* Flagship Project Card */
.flagship-3d-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  margin-bottom: 3rem;
}

.flagship-visual {
  background: #05070B;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-hairline);
}

.browser-mockup-3d {
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s var(--ease-spring);
}

.flagship-3d-card:hover .browser-mockup-3d {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-hairline);
}

.dot-group {
  display: flex;
  gap: 5px;
}

.dot-group span {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--border-hairline);
}

.browser-omnibox {
  flex: 1;
  padding: 0.2rem 0.65rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.flagship-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.flagship-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pill-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--bg-pill);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
}

.pill-tag.accent {
  background: var(--accent-gold-soft);
  border-color: var(--border-active);
  color: var(--accent-gold);
  font-weight: 600;
}

.flagship-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-hero);
  margin-bottom: 1rem;
}

.flagship-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.flagship-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-main);
}

.flagship-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.flagship-bullets span {
  color: var(--accent-gold);
}

/* Concept Cards Grid */
.concept-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.concept-card-3d {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-3d);
}

.concept-card-3d:hover {
  border-color: var(--border-active);
}

.concept-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.concept-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-hero);
  margin-bottom: 0.75rem;
}

.concept-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Verified Credentials (Be10X Certification) */
.credential-3d-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-3d);
}

.credential-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.credential-visual-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: #000000;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.credential-preview-img {
  width: 100%;
  aspect-ratio: 1350 / 954;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.credential-visual-frame:hover .credential-preview-img {
  transform: scale(1.02);
}

.credential-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 13, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.credential-visual-frame:hover .credential-zoom-overlay {
  opacity: 1;
}

.zoom-pill {
  padding: 0.5rem 1rem;
  background: var(--accent-gold);
  color: #06080D;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.credential-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--status-verified);
  background: var(--status-verified-bg);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.credential-recipient {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-hero);
  margin-bottom: 0.35rem;
}

.credential-course {
  font-size: 0.95rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.credential-meta-table {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
}

.cred-row {
  display: flex;
  justify-content: space-between;
}

.cred-label { color: var(--text-faint); }
.cred-val { color: var(--text-main); font-weight: 500; }

.credential-skills-list {
  margin-bottom: 1.5rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.credential-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Modal Dialog */
.spatial-modal {
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  background: var(--bg-deep);
  color: var(--text-main);
  max-width: min(940px, 94vw);
  margin: auto;
  padding: 0;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

.spatial-modal::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.modal-img-container {
  padding: 1rem;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-container img {
  max-height: 75vh;
  object-fit: contain;
}

.modal-footer-bar {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Executive Collaboration Section ("Want to collaborate? Email me.")
   ========================================================================== */
.collab-executive-box {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  box-shadow: var(--shadow-3d);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.collab-executive-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.collab-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  color: var(--text-hero);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.collab-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.collab-email-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.collab-email-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.collab-email-text:hover {
  text-decoration: underline;
}

.collab-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.collab-receipt-note {
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin-top: 1.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.spatial-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 4rem 0 2.5rem;
  background: var(--bg-deep);
}

.footer-inner-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
}

.footer-nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--accent-gold);
}

.footer-bar-bottom {
  border-top: 1px solid var(--border-hairline);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toast */
.spatial-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 0.85rem 1.35rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-active);
  color: var(--text-hero);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.spatial-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
  .hero-spatial-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead-text {
    margin: 0 auto 2rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-metric-trio {
    max-width: 500px;
    margin: 0 auto;
  }
  .flagship-3d-card {
    grid-template-columns: 1fr;
  }
  .flagship-visual {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
  }
  .credential-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .mobile-nav-btn {
    display: flex;
  }
  .bio-split-card {
    padding: 2rem 1.5rem;
  }
  .collab-executive-box {
    padding: 2.5rem 1.5rem;
  }
}
