@charset "UTF-8";
/* Import Ultra-Professional Fonts */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark Theme - Ultra Professional */
  --primary: #0EA5E9;
  --primary-rgb: 14, 165, 233;
  --secondary: #8B5CF6;
  --accent: #F59E0B;
  --bg-primary: #09090B;
  --bg-secondary: #18181B;
  --bg-card: #1C1C1F;
  --text-primary: #FAFAFA;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --border-color: #27272A;
  --border-subtle: #1F1F23;
  --shadow: rgba(0, 0, 0, 0.5);
  --sidebar-width: 260px;
}

[data-theme=light] {
  /* Light Theme - Surgical Precision */
  --primary: #0284C7;
  --primary-rgb: 2, 132, 199;
  --secondary: #7C3AED;
  --accent: #D97706;
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAFA;
  --bg-card: #FFFFFF;
  --text-primary: #09090B;
  --text-secondary: #52525B;
  --text-muted: #A1A1AA;
  --border-color: #E4E4E7;
  --border-subtle: #F4F4F5;
  --shadow: rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: auto;
  scroll-snap-type: y proximity;
}

html.enable-smooth-scroll {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
  margin-left: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

/* Theme Toggle - Minimal and Sharp */
.theme-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1002;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  box-shadow: 0 1px 3px var(--shadow);
}

.theme-toggle:hover {
  border-color: var(--primary);
  background: var(--bg-secondary);
}

.theme-toggle:active {
  transform: scale(0.96);
}

body.nav-visible {
  margin-left: var(--sidebar-width);
}

body.article-page {
  margin-left: var(--sidebar-width);
}

/* Vertical Navigation - Clean & Surgical */
.vertical-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 2rem 0;
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-page .vertical-nav,
.vertical-nav.visible {
  transform: translateX(0);
  opacity: 1;
}

.nav-logo {
  padding: 0 1.5rem;
  margin-bottom: 2.5rem;
}

.nav-logo .logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.02em;
}

.nav-logo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary) center 25%/cover no-repeat;
  background-image: url("/me.png");
  transition: all 0.15s ease;
}

.nav-logo:hover .nav-logo-avatar {
  border-color: var(--primary);
}

.nav-menu {
  flex: 0;
  padding: 0 1rem;
  margin-bottom: 0;
}

.nav-item {
  margin-bottom: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0;
  transition: all 0.15s ease;
  border-radius: 4px;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.nav-link.expandable::after {
  content: "›";
  margin-left: auto;
  font-size: 1.2rem;
  transition: transform 0.15s ease;
  opacity: 0;
}

.nav-link.expandable.show-arrow::after {
  opacity: 0.5;
}

.nav-link.expandable.expanded::after {
  transform: rotate(90deg);
  opacity: 1;
}

.blog-vault {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease;
  padding-left: 0.75rem;
  opacity: 0;
}

.blog-vault.expanded {
  max-height: 500px;
  opacity: 1;
}

.vault-item {
  padding: 0.625rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  font-size: 0.75rem;
  border-left: 1px solid var(--border-subtle);
  transition: all 0.15s ease;
  cursor: pointer;
  margin-bottom: 1px;
}

.vault-item:hover {
  color: var(--text-secondary);
  border-left-color: var(--border-color);
}

.vault-item.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
}

.mobile-nav-toggle {
  display: none;
}

/* Hero Section - Sharp & Direct */
.hero-avatar, .section-avatar {
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: var(--bg-card) center 25%/cover no-repeat;
  background-image: url("/me.png");
  transition: all 0.15s ease;
}

.hero-avatar {
  width: 80px;
  height: 80px;
}

.section-avatar {
  width: 48px;
  height: 48px;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
  scroll-snap-align: start;
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-primary);
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.65;
  text-align: left;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  justify-content: center;
}

/* Blog Section - Grid Precision */
.blog-section {
  min-height: 100vh;
  padding: 4rem 0;
  scroll-snap-align: start;
}

.blog-container {
  max-width: 1400px;
  padding: 0 2rem;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin: 1rem auto 0;
}

.blog-description {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.blog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem 0;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 4px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.blog-content {
  position: relative;
}

.category-section {
  margin-bottom: 4rem;
  opacity: 1;
  transition: all 0.3s ease;
}

.category-section.hidden {
  display: none;
}

.category-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.category-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.category-description {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 340px);
  gap: 1.25rem;
  justify-content: start;
}

.blog-content.all-posts-view .posts-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.blog-content.all-posts-view .blog-post {
  flex: 0 0 340px;
  min-width: 340px;
  scroll-snap-align: start;
}

.blog-content.all-posts-view .posts-grid::-webkit-scrollbar {
  height: 6px;
}

.blog-content.all-posts-view .posts-grid::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

.blog-content.all-posts-view .posts-grid::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.blog-content.all-posts-view .posts-grid::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.blog-post {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.5rem;
  transition: all 0.15s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.blog-post:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.12);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.post-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.875rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.post-title-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.post-title-link:hover {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-size: 0.875rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  gap: 0.75rem;
}

.blog-tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-secondary);
  color: var(--text-muted);
  padding: 0.25rem 0.625rem;
  border-radius: 3px;
  font-size: 0.6875rem;
  border: 1px solid var(--border-subtle);
  font-weight: 500;
  letter-spacing: 0;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 0.8125rem;
  transition: all 0.15s ease;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 4px;
  background: transparent;
  white-space: nowrap;
}

.read-more:hover {
  background: var(--primary);
  color: white;
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-published {
  background: var(--primary);
}

.status-draft {
  background: var(--text-muted);
}

.blog-post.draft-post {
  opacity: 0.7;
}

.read-more.draft {
  background: var(--bg-secondary);
  color: var(--text-muted);
  cursor: not-allowed;
  border-color: var(--border-color);
}

.no-posts-message {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 3rem 0;
}

/* Contact Section - Minimal */
.contact-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  padding: 4rem 2rem;
}

.contact-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-grid {
  display: flex;
  gap: 1.25rem;
  width: 100%;
  max-width: 800px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.15s ease;
  min-height: 120px;
  max-width: 240px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.12);
}

.contact-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.contact-info {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Buttons - Sharp & Purposeful */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 0.875rem;
  transition: all 0.15s ease;
  cursor: pointer;
  font-family: inherit;
  border-radius: 4px;
  min-height: 44px;
}

.btn-primary {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

/* Animations - Subtle */
.typing-text {
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  opacity: 0;
}

.typing-text.animate {
  animation: typing 1.2s steps(30, end) forwards;
}

@keyframes typing {
  0% {
    width: 0;
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}
/* Scrollbar - Minimal */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Article Styles - Focused Reading */
.article-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.back-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.15s ease;
  display: inline-block;
  margin-bottom: 2.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.back-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.article-header {
  margin-bottom: 3rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.article-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 3rem;
}

.article-content h2 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin: 2.5rem 0 1.25rem 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding-left: 0.75rem;
  border-left: 2px solid var(--primary);
}

.article-content h3 {
  font-size: 1.375rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem 0;
  font-weight: 600;
}

.article-content p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.article-content ul, .article-content ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.article-content li {
  margin-bottom: 0.625rem;
  line-height: 1.7;
}

.article-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-content pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  font-family: "IBM Plex Mono", "Monaco", monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.article-content pre code {
  color: inherit;
  white-space: pre;
}

.article-content p code,
.article-content li code {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-size: 0.875em;
  font-family: "IBM Plex Mono", monospace;
}

.article-tags {
  display: flex;
  gap: 0.625rem;
  margin: 2.5rem 0 2rem 0;
  flex-wrap: wrap;
}

.article-footer {
  text-align: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
}

/* Callout Boxes */
.callout-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 2px solid var(--primary);
  border-radius: 4px;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.callout-box h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
}

/* Article Navigation */
.article-nav {
  padding: 0 1rem;
  flex: 1;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  overflow-y: auto;
  margin-top: 0.5rem;
}

.article-nav-title {
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

#articleHeadings {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 1rem;
}

.article-nav-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  border-left: 1px solid var(--border-subtle);
  transition: all 0.15s ease;
  cursor: pointer;
  line-height: 1.5;
  margin-bottom: 1px;
}

.article-nav-item:hover {
  color: var(--text-secondary);
  border-left-color: var(--border-color);
}

.article-nav-item.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
}

.article-nav-item.h3 {
  padding-left: 1.75rem;
  font-size: 0.75rem;
}

/* Connect Button */
.nav-connect-section {
  margin-top: auto;
  padding: 1.25rem 1rem;
  border-top: 1px solid var(--border-color);
}

.nav-connect-btn {
  display: block;
  width: 100%;
  padding: 0.625rem 1.25rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.15s ease;
  border: 1px solid var(--border-color);
}

.nav-connect-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Scroll Arrows */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.15s ease;
}

.scroll-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.scroll-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.scroll-arrow.left {
  left: 50%;
  transform: translateX(-170px) translateY(-50%);
}

.scroll-arrow.right {
  right: 50%;
  transform: translateX(170px) translateY(-50%);
}

/* Responsive */
@media (min-width: 769px) {
  .hero h1 {
    font-size: 3.25rem;
  }
}
/* Mobile Styles */
@media (max-width: 768px) {
  body {
    margin-left: 0;
  }
  body.nav-visible,
  body.article-page {
    margin-left: 0;
  }
  .theme-toggle {
    top: 1rem;
    right: 4rem;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .mobile-nav-toggle {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px var(--shadow);
  }
  .vertical-nav {
    transform: translateX(-100%);
  }
  .vertical-nav.open,
  .vertical-nav.visible.open,
  .article-page .vertical-nav.open {
    transform: translateX(0);
  }
  .hero h1 {
    font-size: 2.25rem;
    flex-direction: column;
  }
  .hero-avatar {
    width: 64px;
    height: 64px;
    order: -1;
  }
  .hero, .contact-section, .blog-section {
    padding: 3rem 1.25rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .article-title {
    font-size: 2rem;
  }
  .article-content {
    padding: 2rem 1.5rem;
  }
  .article-container {
    padding: 2rem 1.25rem;
  }
  .article-content h2 {
    font-size: 1.5rem;
  }
  .article-content h3 {
    font-size: 1.25rem;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .blog-content.all-posts-view .posts-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding: 0 1.25rem;
    margin: 0 -1.25rem;
  }
  .blog-content.all-posts-view .blog-post {
    flex: 0 0 calc(100vw - 2.5rem);
    min-width: calc(100vw - 2.5rem);
    max-width: calc(100vw - 2.5rem);
    scroll-snap-align: center;
  }
  .category-section {
    padding: 0 15px;
  }
  .scroll-arrow {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .scroll-arrow.left {
    left: 50%;
    transform: translateX(calc(-50vw + 1.25rem + 15px)) translateY(-50%);
  }
  .scroll-arrow.right {
    right: 50%;
    transform: translateX(calc(50vw - 1.25rem - 15px)) translateY(-50%);
  }
  .nav-connect-section {
    padding: 1rem;
  }
  .nav-connect-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
}
/* Focus States */
.nav-link:focus,
.btn:focus,
.contact-card:focus,
.read-more:focus,
.vault-item:focus,
.article-nav-item:focus,
.theme-toggle:focus,
.filter-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Smooth Theme Transitions */
body,
.vertical-nav,
.nav-link,
.blog-post,
.contact-card,
.filter-btn,
.article-content,
.theme-toggle {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

--- :root {
  /* Override to Light Theme First */
  --primary: #0066CC;
  --primary-rgb: 0, 102, 204;
  --secondary: #0052A3;
  --accent: #0080FF;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-card: #FFFFFF;
  --text-primary: #000000;
  --text-secondary: #3C3C3C;
  --text-muted: #6B6B6B;
  --border-color: #E0E0E0;
  --border-subtle: #F0F0F0;
  --shadow: rgba(0, 0, 0, 0.08);
  --sidebar-width: 260px;
}

[data-theme=dark] {
  /* Dark theme when toggled */
  --primary: #0EA5E9;
  --primary-rgb: 14, 165, 233;
  --secondary: #8B5CF6;
  --accent: #F59E0B;
  --bg-primary: #09090B;
  --bg-secondary: #18181B;
  --bg-card: #1C1C1F;
  --text-primary: #FAFAFA;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --border-color: #27272A;
  --border-subtle: #1F1F23;
  --shadow: rgba(0, 0, 0, 0.5);
}

/* Redesigned Hero Section - Split Layout */
.hero-redesigned {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
  scroll-snap-align: start;
}

.hero-split {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 4rem auto;
  align-items: center;
}

.hero-image-container {
  position: relative;
}

.hero-professional-image {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 2px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary) center center/cover no-repeat;
  background-image: url("/headshot.png");
  box-shadow: 0 4px 16px var(--shadow);
}

.hero-info-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-name {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
  margin: 0;
}

.hero-title {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.credential-item {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.credential-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  min-width: 80px;
}

.credential-value {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 400;
}

.hero-cta-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Quick Navigation Section */
.hero-quick-nav {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.quick-nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: center;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.quick-nav-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.quick-nav-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.12);
  transform: translateY(-2px);
}

.quick-nav-icon {
  font-size: 1.75rem;
}

.quick-nav-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* New Button Styles - Cleaner */
.btn-primary-new {
  padding: 0.75rem 1.75rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  border: 1px solid var(--primary);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-new:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.btn-secondary-new {
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary-new:hover {
  border-color: var(--text-primary);
  background: var(--bg-secondary);
}

/* Labs Section - Renamed from Blog */
.labs-section {
  min-height: 100vh;
  padding: 4rem 0;
  scroll-snap-align: start;
  background: var(--bg-secondary);
}

.labs-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.labs-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-new {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.labs-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem 0;
}

.labs-content {
  position: relative;
}

.category-header-new {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.category-title-new {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.category-description-new {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
}

.posts-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

/* Lab Cards - Cleaner Design */
.lab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.75rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.lab-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.15);
  transform: translateY(-2px);
}

.lab-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.lab-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.lab-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.lab-title-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lab-title-link:hover {
  color: var(--primary);
}

.lab-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.lab-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.lab-tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.tag-new {
  background: var(--bg-secondary);
  color: var(--text-muted);
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--border-subtle);
}

.lab-cta {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lab-cta:hover {
  color: var(--secondary);
}

.lab-cta.draft {
  color: var(--text-muted);
  cursor: not-allowed;
}

.no-labs-message {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 3rem 0;
  font-style: italic;
}

/* Contact Section - Redesigned */
.contact-section-new {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  padding: 4rem 2rem;
  background: var(--bg-primary);
}

.contact-content-new {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.contact-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-card-new {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact-card-new:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 2rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.contact-value {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Navigation Updates */
.vault-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.75rem 0;
}

.vault-section-title {
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Update navigation references */
#labsToggle::after {
  content: "›";
  margin-left: auto;
  font-size: 1.2rem;
  transition: transform 0.15s ease;
  opacity: 0.5;
}

#labsToggle.expanded::after {
  transform: rotate(90deg);
  opacity: 1;
}

#labsVault {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
  padding-left: 0.75rem;
  opacity: 0;
}

#labsVault.expanded {
  max-height: 600px;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-image-container {
    max-width: 400px;
    margin: 0 auto;
  }
  .hero-name {
    font-size: 2.75rem;
    text-align: center;
  }
  .hero-title {
    text-align: center;
  }
  .hero-cta-buttons {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .hero-name {
    font-size: 2.25rem;
  }
  .hero-split {
    gap: 2rem;
  }
  .hero-image-container {
    max-width: 280px;
  }
  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .posts-grid-new {
    grid-template-columns: 1fr;
  }
  .contact-grid-new {
    grid-template-columns: 1fr;
  }
  .hero-credentials {
    gap: 0.5rem;
  }
  .credential-item {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .hero-name {
    font-size: 1.875rem;
  }
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-new,
  .btn-secondary-new {
    width: 100%;
  }
}

/*# sourceMappingURL=style.css.map */