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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #2a2a28;
  color: #f8f8f6;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

/* Main Container */
.work-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radial Navigation */
.radial-nav {
  position: relative;
  width: 90vmin;
  height: 90vmin;
  max-width: 900px;
  max-height: 900px;
}

.radial-svg {
  width: 100%;
  height: 100%;
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation Grid (ROTATED 45°) */
.nav-grid {
  stroke: rgba(248, 248, 246, 0.08);
  stroke-width: 1;
  fill: none;
  pointer-events: none;
}

/* Cardinal lines */
.cardinal-line {
  stroke: rgba(248, 248, 246, 0.12);
  stroke-width: 2;
  fill: none;
  pointer-events: none;
}

/* Cardinal markers */
.cardinal {
  fill: rgba(248, 248, 246, 0.4);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.2em;
  pointer-events: none;
}

/* Nautical decorative elements */
.nautical-mark {
  stroke: rgba(248, 248, 246, 0.15);
  stroke-width: 1;
  fill: none;
  pointer-events: none;
}

/* Compass Rose */
.compass-rose {
  stroke: rgba(248, 248, 246, 0.15);
  fill: rgba(248, 248, 246, 0.08);
  pointer-events: none;
}

.compass-major {
  stroke: rgba(248, 248, 246, 0.25);
  stroke-width: 2;
}

.compass-minor {
  stroke: rgba(248, 248, 246, 0.12);
  stroke-width: 1.5;
}

.compass-text {
  fill: rgba(248, 248, 246, 0.3);
  font-size: 10px;
  font-weight: 400;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.1em;
}

/* Measurement scale (SM / NM / KM) */
.measurement-scale {
  stroke: rgba(248, 248, 246, 0.25);
  stroke-width: 1.5;
  fill: none;
  pointer-events: none;
}

.scale-text {
  fill: rgba(248, 248, 246, 0.3);
  font-size: 7px;
  font-weight: 300;
  pointer-events: none;
  font-family: 'IBM Plex Mono', monospace;
}

.scale-major {
  stroke: rgba(248, 248, 246, 0.3);
  stroke-width: 2;
}

.scale-minor {
  stroke: rgba(248, 248, 246, 0.2);
  stroke-width: 1;
}

/* Ring Hit Targets - invisible clickable areas */
.ring-hit-target {
  fill: none;
  stroke: transparent;
  stroke-width: 60; /* Wide for easy clicking */
  cursor: pointer;
  pointer-events: all;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Visual feedback on hover (optional - makes hit area briefly visible) */
.ring-hit-target:hover {
  stroke: rgba(20, 184, 166, 0.05); /* Subtle glow on hover */
}

/* When active, add subtle visual feedback */
.ring-hit-target.active {
  stroke: rgba(20, 184, 166, 0.08);
}

/* Rings - THICKER, with aquatic colors and water ripple effect (VISUAL ONLY) */
.ring {
  fill: none;
  pointer-events: none; /* Not clickable - hit targets handle clicks */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: url(#glow) url(#water-ripple);
}

/* Ring 1: Companies - teal, DOUBLE THICKNESS */
.ring-1 {
  stroke: rgba(20, 184, 166, 0.2);
  stroke-width: 44;
  animation: pulse-teal 4s ease-in-out infinite, ripple-1 8s ease-in-out infinite;
  stroke-dasharray: 3 2;
}

.ring-1:hover {
  stroke: rgba(20, 184, 166, 0.4);
  stroke-width: 48;
}

.ring-1.active {
  stroke: rgba(20, 184, 166, 0.6);
  stroke-width: 48;
}

@keyframes pulse-teal {
  0%, 100% { 
    stroke: rgba(20, 184, 166, 0.2);
  }
  50% { 
    stroke: rgba(20, 184, 166, 0.28);
  }
}

@keyframes ripple-1 {
  0%, 100% { 
    stroke-dashoffset: 0;
  }
  50% { 
    stroke-dashoffset: 10;
  }
}

/* Ring 2: Patents - cyan, DOUBLE THICKNESS */
.ring-2 {
  stroke: rgba(34, 211, 238, 0.18);
  stroke-width: 40;
  animation: pulse-cyan 5s ease-in-out infinite, ripple-2 10s ease-in-out infinite;
  stroke-dasharray: 4 3;
}

.ring-2:hover {
  stroke: rgba(34, 211, 238, 0.35);
  stroke-width: 44;
}

.ring-2.active {
  stroke: rgba(34, 211, 238, 0.55);
  stroke-width: 44;
}

@keyframes pulse-cyan {
  0%, 100% { 
    stroke: rgba(34, 211, 238, 0.18);
  }
  50% { 
    stroke: rgba(34, 211, 238, 0.25);
  }
}

@keyframes ripple-2 {
  0%, 100% { 
    stroke-dashoffset: 0;
  }
  50% { 
    stroke-dashoffset: 14;
  }
}

/* Ring 3: Awards - blue, DOUBLE THICKNESS */
.ring-3 {
  stroke: rgba(59, 130, 246, 0.15);
  stroke-width: 32;
  animation: pulse-blue 6s ease-in-out infinite, ripple-3 12s ease-in-out infinite;
  stroke-dasharray: 2 1;
}

.ring-3:hover {
  stroke: rgba(59, 130, 246, 0.3);
  stroke-width: 36;
}

.ring-3.active {
  stroke: rgba(59, 130, 246, 0.5);
  stroke-width: 36;
}

@keyframes pulse-blue {
  0%, 100% { 
    stroke: rgba(59, 130, 246, 0.15);
  }
  50% { 
    stroke: rgba(59, 130, 246, 0.22);
  }
}

@keyframes ripple-3 {
  0%, 100% { 
    stroke-dashoffset: 0;
  }
  50% { 
    stroke-dashoffset: 6;
  }
}

/* Ring 4: Speaking - emerald, DOUBLE THICKNESS */
.ring-4 {
  stroke: rgba(16, 185, 129, 0.2);
  stroke-width: 48;
  animation: pulse-emerald 5.5s ease-in-out infinite, ripple-4 9s ease-in-out infinite;
  stroke-dasharray: 5 3;
}

.ring-4:hover {
  stroke: rgba(16, 185, 129, 0.4);
  stroke-width: 52;
}

.ring-4.active {
  stroke: rgba(16, 185, 129, 0.6);
  stroke-width: 52;
}

@keyframes pulse-emerald {
  0%, 100% { 
    stroke: rgba(16, 185, 129, 0.2);
  }
  50% { 
    stroke: rgba(16, 185, 129, 0.28);
  }
}

@keyframes ripple-4 {
  0%, 100% { 
    stroke-dashoffset: 0;
  }
  50% { 
    stroke-dashoffset: 16;
  }
}

/* Ring Labels - fade out on click */
.ring-label {
  fill: rgba(248, 248, 246, 0.6);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  pointer-events: none;
  text-transform: lowercase;
  transition: all 0.3s;
  font-family: 'IBM Plex Mono', monospace;
}

.ring-label.faded {
  opacity: 0;
}

.ring:hover + .ring-label:not(.faded),
.ring.active + .ring-label:not(.faded) {
  fill: rgba(248, 248, 246, 0.95);
  font-weight: 700;
}

/* Floating orbital elements - CIRCLES (reverted from fish) */
.floating-element {
  cursor: pointer;
  transition: all 0.3s;
}

.floating-circle {
  fill: rgba(20, 184, 166, 0.3);
  stroke: rgba(20, 184, 166, 0.6);
  stroke-width: 2;
  transition: all 0.3s;
}

.floating-element:hover .floating-circle {
  fill: rgba(20, 184, 166, 0.5);
  stroke: rgba(20, 184, 166, 0.9);
  stroke-width: 2.5;
}

.floating-label {
  fill: rgba(248, 248, 246, 0.6);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  pointer-events: none;
  transition: all 0.3s;
  font-family: 'IBM Plex Mono', monospace;
}

.floating-element:hover .floating-label {
  fill: rgba(20, 184, 166, 0.9);
  font-weight: 400;
}

/* Dotted trace for floating elements */
.orbital-trace {
  fill: none;
  stroke: rgba(248, 248, 246, 0.08);
  stroke-width: 1;
  stroke-dasharray: 3, 6;
  pointer-events: none;
  opacity: 0.6;
}

/* Orbital trail dots (MUCH BRIGHTER - increased base alpha) */
.trail-dot {
  fill: rgba(20, 184, 166, 1.0);
  pointer-events: none;
}

/* Nodes (items on rings) */
.node {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.node circle {
  fill: rgba(248, 248, 246, 0.4);
  stroke: rgba(20, 184, 166, 0.5);
  stroke-width: 1.5;
  transition: all 0.3s;
}

.node:hover circle {
  fill: rgba(20, 184, 166, 0.6);
  stroke: rgba(20, 184, 166, 0.9);
  stroke-width: 2;
  r: 7;
}

.node text {
  fill: rgba(248, 248, 246, 0.7);
  font-size: 10px;
  font-weight: 300;
  pointer-events: none;
  transition: all 0.3s;
  font-family: 'IBM Plex Mono', monospace;
}

.node:hover text {
  fill: rgba(248, 248, 246, 1);
  font-weight: 400;
}

/* Center Info */
.center-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  transition: all 0.4s;
}

.center-name {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(248, 248, 246, 0.7);
  margin-bottom: 0.5rem;
  text-transform: lowercase;
  font-family: 'IBM Plex Mono', monospace;
  transition: opacity 0.3s, font-size 0.3s;
}

.center-name.faded {
  opacity: 0.5;
  font-size: 0.7rem;
}

.center-subtitle {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(248, 248, 246, 0.3);
  text-transform: lowercase;
  font-family: 'IBM Plex Mono', monospace;
}

/* Bio Overlay (TOP-RIGHT, appears for 9 seconds, will occlude CV) */
.bio-overlay {
  position: absolute;
  top: 60px;
  right: 60px;
  max-width: 540px;
  padding: 1.75rem 2rem;
  background: rgba(248, 248, 246, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(42, 42, 40, 0.1);
  border-radius: 3px;
  color: #2a2a28;
  z-index: 30;
  transition: all 0.4s;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  opacity: 1;
  pointer-events: none;
}

.bio-overlay.hidden {
  opacity: 0;
}

.bio-overlay p {
  font-size: 0.925rem;
  line-height: 1.55;
  color: #3a3a38;
  font-weight: 300;
  margin: 0;
}

/* CV Button and Note */
.cv-container {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 20;
}

.cv-button {
  padding: 0.75rem 1.5rem;
  background: rgba(248, 248, 246, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 248, 246, 0.2);
  border-radius: 2px;
  color: rgba(248, 248, 246, 0.7);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
}

.cv-button:hover {
  background: rgba(20, 184, 166, 0.2);
  border-color: rgba(20, 184, 166, 0.4);
  color: rgba(248, 248, 246, 0.9);
  transform: translateY(-2px);
}

.cv-button::before {
  content: '↓';
  font-size: 1rem;
}

.note-icon {
  width: 32px;
  height: 32px;
  background: rgba(248, 248, 246, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 248, 246, 0.2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  color: rgba(248, 248, 246, 0.6);
  position: relative;
}

.note-icon:hover {
  background: rgba(20, 184, 166, 0.2);
  border-color: rgba(20, 184, 166, 0.4);
  color: rgba(248, 248, 246, 0.9);
  transform: translateY(-2px);
}

.note-popup {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  right: 0;
  width: 240px;
  padding: 0.75rem 1rem;
  background: rgba(42, 42, 40, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(248, 248, 246, 0.15);
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
}

.note-popup.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.note-popup p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(248, 248, 246, 0.85);
  font-weight: 300;
  font-family: 'IBM Plex Mono', monospace;
}

/* Detail Panel (floating pane style like rest of site) */
.detail-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  background: rgba(248, 248, 246, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(42, 42, 40, 0.1);
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  overflow-y: auto;
}

.detail-panel.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.detail-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #7a7a76;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.detail-close:hover {
  color: #2a2a28;
  transform: rotate(90deg);
}

.detail-content {
  padding: 3rem 3rem 2rem 3rem;
  color: #2a2a28;
}

.detail-content h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: #1a1a18;
}

.detail-content h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #2a2a28;
  border-top: 1px solid rgba(42, 42, 40, 0.1);
  padding-top: 1.5rem;
}

.detail-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #4a4a48;
}

.detail-content .meta {
  font-size: 0.85rem;
  color: #0d9488;
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  font-family: 'IBM Plex Mono', monospace;
}

.detail-content .item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(42, 42, 40, 0.1);
}

.detail-content .item:last-child {
  border-bottom: none;
}

.detail-content .item-title {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #1a1a18;
}

.detail-content .item-meta {
  font-size: 0.8rem;
  color: #7a7a76;
  margin-bottom: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
}

.detail-content .item-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a4a48;
}

.detail-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-content li {
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
}

.detail-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #14b8a6;
}

/* Category Overview Panel */
.category-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  background: rgba(248, 248, 246, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(42, 42, 40, 0.1);
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
  overflow-y: auto;
}

.category-panel.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.category-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #7a7a76;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.category-close:hover {
  color: #2a2a28;
  transform: rotate(90deg);
}

.category-content {
  padding: 3rem;
  color: #2a2a28;
}

.category-content h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: #1a1a18;
}

.category-content .category-subtitle {
  font-size: 0.9rem;
  color: #0d9488;
  margin-bottom: 2rem;
  font-weight: 300;
  font-family: 'IBM Plex Mono', monospace;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(42, 42, 40, 0.1);
  border: 1px solid rgba(42, 42, 40, 0.1);
  border-radius: 2px;
}

.category-item {
  padding: 1.25rem 1.5rem;
  background: rgba(248, 248, 246, 0.8);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-item:hover {
  background: rgba(238, 238, 234, 1);
  padding-left: 2rem;
}

.category-item-title {
  font-size: 1rem;
  font-weight: 400;
  color: #2a2a28;
}

.category-item-meta {
  font-size: 0.8rem;
  color: #7a7a76;
  font-weight: 300;
  font-family: 'IBM Plex Mono', monospace;
}

.category-item-arrow {
  font-size: 1.2rem;
  color: #7a7a76;
  transition: all 0.2s;
}

.category-item:hover .category-item-arrow {
  color: #14b8a6;
  transform: translateX(4px);
}

/* Instructions - always visible */
.instructions {
  position: fixed;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-55%); /* Shifted slightly left to avoid CV button */
  max-width: 500px; /* Prevent getting too wide */
  background: rgba(248, 248, 246, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: 2px;
  border: 1px solid rgba(248, 248, 246, 0.2);
  opacity: 1;
  transition: background 0.5s, border-color 0.5s; /* Smooth transition for pro-tip style */
  pointer-events: none;
}

/* Hidden state no longer used - keeping for compatibility */
.instructions.hidden {
  opacity: 0;
}

.instructions p {
  font-size: 0.85rem;
  color: rgba(248, 248, 246, 0.7);
  margin: 0;
  letter-spacing: 0.05em;
  font-family: 'IBM Plex Mono', monospace;
  transition: all 0.4s ease, opacity 0.4s ease;
}

/* Pro tip stage - brighter, slightly larger */
.instructions.pro-tip {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.3);
  animation: subtle-pulse 2s ease-in-out infinite;
}

.instructions.pro-tip p {
  color: rgba(20, 184, 166, 0.95);
  font-weight: 400;
}

@keyframes subtle-pulse {
  0%, 100% { 
    transform: translateX(-55%) scale(1);
  }
  50% { 
    transform: translateX(-55%) scale(1.02);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .radial-nav {
    width: 95vmin;
    height: 95vmin;
  }
  
  .ring-1 { stroke-width: 40; }
  .ring-2 { stroke-width: 36; }
  .ring-3 { stroke-width: 28; }
  .ring-4 { stroke-width: 44; }
  
  .ring-label {
    font-size: 13px;
    font-weight: 600;
  }
  
  .center-name {
    font-size: 1.5rem;
  }
  
  .center-subtitle {
    font-size: 0.6rem;
  }
  
  .bio-overlay {
    top: 30px;
    right: 30px;
    left: 30px;
    max-width: none;
    padding: 1.5rem;
  }
  
  .bio-overlay p {
    font-size: 0.85rem;
  }
  
  .cv-container {
    bottom: 2rem;
    right: 2rem;
  }
  
  .cv-button {
    padding: 0.65rem 1.25rem;
    font-size: 0.8rem;
  }
  
  .note-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  
  .note-popup {
    width: 200px;
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
  }
  
  .detail-panel,
  .category-panel {
    width: 95%;
    max-height: 90vh;
  }
  
  .detail-content,
  .category-content {
    padding: 2.5rem 2rem;
  }
  
  .detail-content h2,
  .category-content h2 {
    font-size: 1.5rem;
  }
  
  .detail-close,
  .category-close {
    top: 1rem;
    right: 1rem;
  }
  
  .node text {
    font-size: 8px;
  }
  
  .cardinal {
    font-size: 11px;
  }
  
  .instructions {
    bottom: 2rem;
    padding: 0.75rem 1.5rem;
    max-width: 400px;
    transform: translateX(-55%);
  }
  
  .instructions p {
    font-size: 0.75rem;
  }
  
  .scale-text {
    font-size: 6px;
  }
  
  .compass-text {
    font-size: 8px;
  }
}

/* Very small mobile */
@media (max-width: 480px) {
  .node text {
    display: none;
  }
  
  .ring-label {
    font-size: 11px;
    font-weight: 600;
  }
  
  .cardinal {
    font-size: 9px;
  }
  
  .cv-container {
    flex-direction: column;
    gap: 0.5rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .cv-button {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .note-icon {
    width: 24px;
    height: 24px;
  }
  
  .note-popup {
    width: 180px;
  }
  
  .bio-overlay {
    top: 20px;
    left: 20px;
    right: 20px;
    padding: 1.25rem;
  }
  
  .bio-overlay p {
    font-size: 0.8rem;
  }
  
  .instructions {
    max-width: 300px;
    transform: translateX(-55%);
  }
}

/* Connection Lines */
.connection-line {
  fill: none;
  stroke-width: 1.5;
  opacity: 0;
  pointer-events: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: opacity 0.3s ease;
}

.connection-line.visible {
  opacity: 1;
  animation: drawLine 0.8s ease-out forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Connection line colors by source category */
.connection-line.from-patents {
  stroke: rgba(34, 211, 238, 0.6); /* cyan */
}

.connection-line.from-companies {
  stroke: rgba(20, 184, 166, 0.6); /* teal */
}

.connection-line.from-awards {
  stroke: rgba(59, 130, 246, 0.6); /* blue */
}

.connection-line.from-speaking {
  stroke: rgba(16, 185, 129, 0.6); /* emerald */
}

/* Connection count badge on nodes */
.node-badge {
  fill: rgba(20, 184, 166, 0.9);
  stroke: rgba(248, 248, 246, 0.3);
  stroke-width: 1;
}

.node-badge-text {
  fill: rgba(248, 248, 246, 1);
  font-size: 9px;
  font-weight: 500;
  font-family: 'IBM Plex Mono', monospace;
  pointer-events: none;
}

/* Highlight connected nodes */
.node.connected circle {
  fill: rgba(20, 184, 166, 0.8);
  stroke: rgba(20, 184, 166, 1);
  stroke-width: 2.5;
  r: 7;
}

.node.connected text {
  fill: rgba(248, 248, 246, 1);
  font-weight: 500;
}
