body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #050505;
  color: #f4f4f5;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Newsreader', 'Playfair Display', Georgia, serif;
  letter-spacing: -0.015em;
}

.font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.font-brand {
  font-family: 'Cinzel', 'Playfair Display', serif;
}

code, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom subtle dark scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

.radial-subtle {
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.radial-subtle-glow {
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 75%);
}
.glow-emerald {
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

/* Scroll reveal animation (replaces framer-motion whileInView) */
.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header scrolled state */
#site-header.is-scrolled {
  background-color: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.nav-link.is-active {
  color: #fff;
  font-weight: 600;
}
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: #fff;
}

/* Floating dashboard button entrance */
#floating-dashboard-btn.is-visible {
  opacity: 1;
  transform: scale(1);
}
#floating-dashboard-btn {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.skill-bar {
  transition: width 0.8s ease-out 0.1s;
}
