/* CSS Reset & Variables */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #fafaf9;
  --color-bg-alt: #f5f5f4;
  --color-text: #44403c;
  --color-text-muted: #78716c;
  --color-text-dark: #1c1917;
  --color-accent: #0d9488;
  --color-accent-hover: #0f766e;
  --color-border: #e7e5e4;
  --font-serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, Cambria, "Times New Roman", Times, ui-serif, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --max-width: 900px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: scroll;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--color-accent-hover);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  height: var(--header-height);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-desktop {
  display: flex;
}

.mobile-nav {
  display: none;
  align-items: center;
}

.mobile-nav > summary {
  list-style: none;
}

.mobile-nav > summary::-webkit-details-marker {
  display: none;
}

.menu-toggle {
  display: none;
  position: relative;
  font-size: 0;
  color: transparent;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
  border-radius: 8px;
  width: 56px;
  height: 40px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-text-dark);
  transform: translate(-50%, -50%);
  box-shadow: 0 -8px 0 var(--color-text-dark), 0 8px 0 var(--color-text-dark);
}

.menu-toggle:hover {
  background-color: var(--color-border);
}

@media (min-width: 761px) {
  .nav-desktop {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-dark);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 1px;
}

/* Main */
.main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--color-border);
}

.hero-greeting {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.hero-intro {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-border);
  flex-shrink: 0;
}

.hero-text {
  flex: 1;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.6;
}

.hero-description {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-text);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  font-family: var(--font-sans);
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

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

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

/* Sections */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 32px;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
  transition: color 0.2s ease;
}

.section-link:hover {
  color: var(--color-accent-hover);
}

/* About Section */
.about-content {
  display: grid;
  gap: 48px;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1.5fr 1fr;
  }
}

.about-text p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.75;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-contact {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.resume-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--color-accent);
}

.contact-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  background-color: rgba(13, 148, 136, 0.1);
  border-radius: 4px;
}

.contact-icon-email {
  font-size: 1.5rem;
}

.skills-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-category h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.skill-category p {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Timeline / Experience */
.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -29px;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: var(--color-accent);
  border-radius: 50%;
  border: 2px solid var(--color-bg);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 4px 0;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.timeline-description {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* Project Cards (Preview) */
.projects-preview {
  display: grid;
  gap: 24px;
}

@media (min-width: 600px) {
  .projects-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background-color: var(--color-bg-alt);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.project-card-image {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-content {
  padding: 20px;
}

.project-card-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.project-card-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.project-tech {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* Page Header */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--color-border);
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.page-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 550px;
}

/* Full Project Cards */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.projects-category {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.projects-category-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.project-full {
  display: grid;
  gap: 24px;
  padding: 24px;
  background-color: var(--color-bg-alt);
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

@media (min-width: 650px) {
  .project-full {
    grid-template-columns: 200px 1fr;
    padding: 32px;
  }
}

.project-full-image {
  height: 160px;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

@media (min-width: 650px) {
  .project-full-image {
    height: 100%;
    min-height: 180px;
  }
}

.project-visual {
  position: relative;
  isolation: isolate;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-size: cover;
  background-position: center;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(28, 25, 23, 0.08), rgba(28, 25, 23, 0.58));
  z-index: -1;
}

.project-visual-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5f5f4;
  background-color: rgba(28, 25, 23, 0.38);
  border: 1px solid rgba(245, 245, 244, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(2px);
}

.project-visual-aphasia {
  background-image:
    linear-gradient(135deg, #0f766e, #0c4a6e),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 14px);
}

.project-visual-vr {
  background-image:
    linear-gradient(135deg, #14532d, #134e4a),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 2px, transparent 2px, transparent 18px);
}

.project-visual-gem {
  background-image:
    linear-gradient(135deg, #312e81, #701a75),
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.2), transparent 28%);
}

.project-visual-neural-network {
  background-image:
    linear-gradient(135deg, #0b3b5b, #1d4ed8),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 12px);
}

.project-visual-naive-bayes {
  background-image:
    linear-gradient(135deg, #14532d, #0f766e),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 10px);
}

.project-visual-arff {
  background-image:
    linear-gradient(135deg, #4c1d95, #7c3aed),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 11px);
}

.project-visual-audio {
  background-image:
    linear-gradient(135deg, #7f1d1d, #9a3412),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 9px);
}

.project-visual-database {
  background-image:
    linear-gradient(135deg, #0c4a6e, #166534),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 10px);
}

.project-visual-autograder {
  background-image:
    linear-gradient(135deg, #78350f, #991b1b),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 12px);
}

.project-visual-public-tasks {
  background-image:
    linear-gradient(135deg, #0c4a6e, #0f766e),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 14px);
}

.project-visual-personal-site {
  background-image:
    linear-gradient(135deg, #292524, #44403c),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 12px);
}

.project-visual-user-input {
  background-image:
    linear-gradient(135deg, #7f1d1d, #9a3412),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 9px);
}

.project-visual-codon {
  background-image:
    linear-gradient(135deg, #831843, #4c1d95),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 11px);
}

.project-full-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.project-link-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.project-full-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.project-link-btn {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  white-space: nowrap;
}

.project-link-btn:hover {
  color: var(--color-accent-hover);
}

.project-full-description {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  background-color: var(--color-bg);
  color: var(--color-text);
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

/* Blog */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-post {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.blog-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-post-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  background-color: rgba(13, 148, 136, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-post-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-post-title a {
  color: var(--color-text-dark);
  transition: color 0.2s ease;
}

.blog-post-title a:hover {
  color: var(--color-accent);
}

.blog-post-excerpt {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-read-more {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
}

.blog-read-more:hover {
  color: var(--color-accent-hover);
}

/* Resume Page */
.resume-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.resume-viewer-wrapper {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background-color: var(--color-bg-alt);
  overflow: hidden;
}

.resume-viewer {
  width: 100%;
  height: 75vh;
  min-height: 540px;
  border: 0;
}

.resume-fallback {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
  margin-top: 64px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Blog post page styles */
.post {
  max-width: 720px;
  margin: 0 auto;
}

.post-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.back-link {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

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

.post-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.post-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.post-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.post-content {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.post-content p {
  margin-bottom: 24px;
}

.post-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 48px 0 20px;
}

.post-content h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 32px 0 16px;
}

.post-content ul,
.post-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 8px;
}

.code-block {
  background-color: #1c1917;
  color: #e7e5e4;
  padding: 20px 24px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-x: auto;
  margin: 24px 0;
}

.quote {
  border-left: 3px solid var(--color-accent);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--color-text-muted);
}

.post-figure {
  margin: 32px 0;
}

.post-figure img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.post-figure figcaption {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 12px;
}

.post-footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.share-link {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 500;
}

.share-link:hover {
  color: var(--color-accent-hover);
}

.related-posts {
  padding: 48px 0;
  max-width: 720px;
  margin: 0 auto;
}

.related-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 500px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.related-card:hover {
  border-color: var(--color-accent);
}

.related-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.related-post-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

@media (max-width: 760px) {
  .nav-desktop {
    display: none;
  }

  .logo {
    font-size: 1rem;
    max-width: calc(100% - 84px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav .nav-mobile {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: rgba(250, 250, 249, 0.98);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 8px 24px;
  }

  .mobile-nav:not([open]) > .nav-mobile {
    display: none;
  }

  .mobile-nav[open] > .nav-mobile {
    display: flex;
  }

  .mobile-nav .nav-link {
    display: block;
    padding: 12px 0;
  }

  .mobile-nav .nav-link.active::after {
    bottom: 8px;
    left: 0;
    right: auto;
    width: 24px;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 48px 0;
  }

  .section {
    padding: 48px 0;
  }

  .hero-intro {
    flex-direction: column;
    text-align: center;
  }

  .hero-photo {
    width: 120px;
    height: 120px;
  }

  .resume-viewer {
    height: 65vh;
    min-height: 420px;
  }
}
