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

:root {
  --bg:        #07070f;
  --bg-alt:    #0b0b18;
  --primary:   #3b82f6;
  --accent:    #8b5cf6;
  --grad:      linear-gradient(135deg, #3b82f6, #8b5cf6);
  --text:      #e2e8f0;
  --muted:     #64748b;
  --border:    rgba(255,255,255,0.07);
  --card:      rgba(255,255,255,0.03);
  --radius:    14px;
  --nav-h:     68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  cursor: none;
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
strong { color: var(--text); }

/* ─────────────────────────────────────────────
   Stars Canvas
───────────────────────────────────────────── */
#starsCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   Custom Cursor
───────────────────────────────────────────── */
/* Rocket cursor */
.cursor-dot {
  width: 34px;
  height: 34px;
  background: url('../assets/rocket-cursor.svg') no-repeat center/contain;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  /* With rotate(-45): nose is at upper-left ~(8,8) in 34px div */
  transform: translate(-8px, -8px);
  transition: transform 0.05s ease;
}

/* Exhaust glow trail */
.cursor-ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,160,16,0.55) 0%, transparent 70%);
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s;
  filter: blur(2px);
}

.cursor-ring.hovered {
  width: 32px;
  height: 32px;
}

.cursor-dot.clicked  { transform: translate(-40px,-10px) scale(0.85); }
.cursor-ring.clicked { transform: translate(-50%,-50%) scale(2); opacity: 0.7; }

/* ─────────────────────────────────────────────
   Navbar
───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7,7,15,0.75);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--grad);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  color: var(--primary) !important;
  border: 1px solid rgba(59,130,246,0.35);
  padding: 0.45rem 1.2rem !important;
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s !important;
}

.nav-cta:hover {
  background: rgba(59,130,246,0.12);
  border-color: var(--primary);
}

.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: 0.3s;
}

/* ─────────────────────────────────────────────
   Sections / Container
───────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 7rem 0;
}

.section-alt { background: rgba(255,255,255,0.012); }

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

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 0;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

/* ─────────────────────────────────────────────
   Hero
───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  padding: var(--nav-h) 3rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
}

.hero-content {
  text-align: left;
}

.hero-buttons { justify-content: flex-start; }
.hero-socials  { justify-content: flex-start; }

.hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s ease forwards;
}

.banner-img {
  width: 100%;
  max-width: 560px;
}

.hero-greeting {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s ease forwards;
}

.hero-name {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(160deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s ease forwards;
}

.hero-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  color: var(--accent);
  height: 2rem;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.6s ease forwards;
}

.cursor-blink {
  color: var(--primary);
  animation: blink 1s step-end infinite;
}

.hero-desc {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.8s ease forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.6s 1s ease forwards;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(59,130,246,0.35);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.hero-socials {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s 1.2s ease forwards;
}

.social-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.social-link:hover { color: var(--primary); }
.social-sep { color: var(--border); font-size: 0.85rem; }

.scroll-indicator {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.6s 1.6s ease forwards;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px; height: 38px;
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 3px; height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollAnim 2s ease-in-out infinite;
}

/* ─────────────────────────────────────────────
   About
───────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  position: relative;
  display: flex;
  justify-content: center;
}

.photo-frame {
  width: 280px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.photo-img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.about-text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.about-text a:hover {
  border-bottom-color: var(--accent);
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat { text-align: center; }

.stat-number {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-plus {
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────────
   Skills
───────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}

.skill-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
}

.skill-card:hover::before { opacity: 1; }

.skill-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.skill-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.tag {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  color: #93c5fd;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.tag:hover {
  background: rgba(59,130,246,0.18);
  border-color: var(--primary);
}

.tag-sm { padding: 0.22rem 0.7rem; font-size: 0.74rem; }

/* ─────────────────────────────────────────────
   Experience / Timeline
───────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 1.5rem;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.marker-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(59,130,246,0.5);
  flex-shrink: 0;
  z-index: 1;
}

.marker-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, rgba(59,130,246,0.4), rgba(139,92,246,0.1));
  margin-top: 6px;
  min-height: 40px;
}

.timeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  margin-bottom: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.timeline-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateX(5px);
}

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

.tc-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.tc-part {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
}

.tc-company {
  display: block;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 2px;
}

.tc-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
  margin-top: 4px;
}

.tc-bullets {
  padding-left: 1.1rem;
  margin-bottom: 1.2rem;
}

.tc-bullets li {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.45rem;
  list-style: disc;
}

.tc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ─────────────────────────────────────────────
   Projects
───────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.project-card:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.project-links-row {
  display: flex;
  gap: 0.6rem;
}

.project-link-icon {
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}

.project-link-icon:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.project-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.project-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   Certifications
───────────────────────────────────────────── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cert-img-wrap {
  display: block;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.cert-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.cert-card:hover .cert-img {
  transform: scale(1.03);
}

.cert-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.cert-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.cert-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cert-issuer-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #0a66c2;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.cert-issuer-logo--hr {
  background: #2ec866;
  color: #fff;
}

.cert-issuer {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.cert-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.cert-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cert-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.cert-link:hover { opacity: 0.75; }

/* More Projects tile */
.project-card--more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.more-projects-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.more-projects-icon {
  color: var(--accent);
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}

.project-card--more:hover .more-projects-icon {
  opacity: 1;
  transform: scale(1.1);
}

.project-card--more h3 {
  color: var(--accent);
  margin-bottom: 0;
}

.project-card--more p {
  font-size: 0.85rem;
  flex: unset;
}

.more-projects-cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}

/* ─────────────────────────────────────────────
   Education
───────────────────────────────────────────── */
.education-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 680px;
}

.edu-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.edu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}

.edu-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateX(5px);
}

.edu-card:hover::before { opacity: 1; }

.edu-icon { font-size: 2.4rem; flex-shrink: 0; }

.edu-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.edu-degree {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.edu-institution {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.edu-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ─────────────────────────────────────────────
   Contact
───────────────────────────────────────────── */
.contact-container { text-align: center; }

.contact-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.cc-icon { font-size: 1.4rem; flex-shrink: 0; }

.cc-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cc-value {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   Footer
───────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   Reveal Animation
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   Keyframes
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes scrollAnim {
  0%   { transform: translateY(0);    opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ─────────────────────────────────────────────
   Responsive
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content   { text-align: center; }
  .hero-buttons   { justify-content: center; }
  .hero-socials   { justify-content: center; }
  .hero-banner    { order: -1; }
  .banner-img     { max-width: 420px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1.5rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(7,7,15,0.97);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .nav-hamburger { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-stats { justify-content: center; gap: 2rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .section { padding: 5rem 0; }

  .timeline-item { grid-template-columns: 24px 1fr; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.6rem; }
  .tc-header { flex-direction: column; }
  .tc-date   { margin-top: 0; }
}
