/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:       #0a0a0b;
  --bg-card:  #111114;
  --bg-hover: #18181c;
  --border:   #1e1e24;
  --border-hover: #2e2e38;

  --text:     #e8e6e0;
  --text-muted: #6b6878;
  --text-dim: #3e3d4a;

  --accent:   #f0a84c;   /* amber gold */
  --accent2:  #e55d3a;   /* burnt orange */
  --accent3:  #4cc9f0;   /* data-blue */

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-mono:    'Space Mono', 'Courier New', monospace;
  --font-body:    'Syne', sans-serif;

  --radius: 8px;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s, background 0.2s;
}

.cursor-trail {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(240,168,76,0.3);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  transform: translate(-50%, -50%) scale(2);
  background: var(--accent2);
}

/* ===== GRID BACKGROUND ===== */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,168,76,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  transition: background 0.3s, border-bottom 0.3s;
}

.nav.scrolled {
  background: rgba(10,10,11,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 100px 48px;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--accent); }

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 64px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 48px 80px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  max-width: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease 0.1s both;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: pulse 2s infinite;
}

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

.hero-main {
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.hero-name .line {
  display: block;
}

.hero-name .italic {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  animation: fadeUp 0.6s ease 0.4s both;
}

.stat-item {
  padding: 0 40px 0 0;
  display: flex;
  flex-direction: column;
}

.stat-item:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--text);
  line-height: 1;
}

.stat-unit {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  display: inline;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin-right: 40px;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 80px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: fadeUp 0.6s ease 0.6s both;
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-viz {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}

#heroCanvas {
  width: 100%;
  height: 100%;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 90px;
}

.about-card-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-initials {
  width: 72px;
  height: 72px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.about-name {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.about-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 4px 10px;
  border: 1px solid var(--border-hover);
  border-radius: 4px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text strong { color: var(--text); }
.about-text em { color: var(--accent); font-style: normal; }

.about-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.link-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 10px 20px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(240,168,76,0.05);
}

/* ===== TIMELINE ===== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  padding: 0 0 64px 48px;
  position: relative;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.timeline-item.active {
  opacity: 1;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-dim);
  border: 2px solid var(--bg);
  transition: background 0.3s;
}

.timeline-item.active::before {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(240,168,76,0.4);
}

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

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
}

.timeline-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.3s;
}

.timeline-item.active .timeline-content {
  border-color: var(--border-hover);
}

.timeline-header h3 {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.timeline-company {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2px;
}

.timeline-location {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.timeline-achievements {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.achievement {
  display: flex;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.achievement-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.achievement strong { color: var(--text); }

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-tags span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 4px 10px;
  background: rgba(240,168,76,0.06);
  border: 1px solid rgba(240,168,76,0.15);
  border-radius: 4px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== SKILLS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.skill-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.skill-card-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.skill-card h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.skill-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.skill-card li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.skill-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
}

/* Proficiency */
.proficiency {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.proficiency-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bar-row {
  display: grid;
  grid-template-columns: 220px 1fr 48px;
  align-items: center;
  gap: 20px;
}

.bar-row > span:first-child {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bar-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  width: 0%;
  transition: width 1.2s ease;
}

.bar-pct {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  text-align: right;
}

/* ===== WORK ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.work-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

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

.work-card:hover::before {
  transform: scaleX(1);
}

.work-card-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.work-impact {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--accent);
}

.work-card-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.work-card-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-tags span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 3px 9px;
  border: 1px solid var(--border-hover);
  border-radius: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== RESEARCH ===== */
.research-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.research-publication {
  background: linear-gradient(135deg, rgba(240,168,76,0.05), rgba(229,93,58,0.03));
  border: 1px solid rgba(240,168,76,0.2);
  border-radius: 16px;
  padding: 40px;
}

.pub-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 4px 12px;
  background: rgba(240,168,76,0.15);
  color: var(--accent);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.pub-journal {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pub-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 14px;
}

.pub-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pub-meta span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 4px 10px;
  border: 1px solid rgba(240,168,76,0.2);
  border-radius: 4px;
  color: var(--accent);
}

/* Certifications */
.certifications {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.certifications h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cert-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--bg);
}

.cert-logo.google  { background: #4285F4; }
.cert-logo.udemy   { background: #EC5252; }
.cert-logo.java    { background: #f89820; }
.cert-logo.python  { background: #3776AB; }
.cert-logo.nptel   { background: #6B46C1; }

.cert-name {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 3px;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Education */
.education {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 40px;
  display: flex;
  gap: 24px;
  align-items: center;
}

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

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

.edu-school {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 8px;
}

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

.edu-meta span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.edu-cgpa {
  background: rgba(240,168,76,0.1);
  padding: 3px 10px;
  border-radius: 4px;
  color: var(--accent) !important;
}

.edu-courses {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ===== CONTACT ===== */
.contact {
  padding-top: 120px;
  padding-bottom: 0;
}

.contact-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 56px;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 32px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s;
}

.contact-card:hover {
  border-color: var(--accent);
  background: rgba(240,168,76,0.04);
  transform: translateX(4px);
}

.contact-card-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-card-value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}

.contact-card-arrow {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 1.1rem;
  transition: color 0.2s, transform 0.2s;
}

.contact-card:hover .contact-card-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

.contact-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-right: 16px;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav { padding: 0 28px; }
  .section { padding: 100px 28px; }
  .hero { padding: calc(var(--nav-h) + 48px) 28px 64px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .hero-viz { display: none; }
  .research-grid { grid-template-columns: 1fr; }
  .footer { padding: 28px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-name { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0; }

  .skills-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }

  .bar-row { grid-template-columns: 1fr 1fr 40px; }
  .bar-row > span:first-child { display: none; }

  .education { flex-direction: column; align-items: flex-start; }
  .footer { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 80px 20px; }
  .hero { padding: calc(var(--nav-h) + 32px) 20px 48px; }
  .nav { padding: 0 20px; }
  .footer { padding: 20px; }
}
