/* ─── TOKENS ──────────────────────────────────────────────────────────── */
:root {
  --bg:        #080c14;
  --bg-2:      #0d1627;
  --bg-card:   #0f1e30;
  --bg-card-2: #0a1828;
  --text:      #e2e8f4;
  --text-2:    #8896a9;
  --text-3:    #5a6a7a;
  --accent:    #4f8ef7;
  --accent-h:  #3a7ae8;
  --amber:     #f0a040;
  --green:     #3fb27f;
  --border:    #1a2d45;
  --border-2:  #243d55;
  --shadow:    rgba(0,0,0,0.5);
  --radius:    12px;
  --radius-sm: 8px;
  --font:      'Inter', sans-serif;
  --mono:      'JetBrains Mono', monospace;
  --nav-h:     64px;
}

/* ─── RESET ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ─── LAYOUT ──────────────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-dark { background: var(--bg-2); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 60%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub { color: var(--text-2); font-size: 1rem; margin-bottom: 56px; }
.section-header { margin-bottom: 56px; }

/* ─── SCROLL ANIMATIONS ───────────────────────────────────────────────── */
/* Only hide when JS is confirmed running - content visible by default */
.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.js-ready .reveal.visible { opacity: 1; transform: none; }

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--border-2); color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-icon {
  width: 44px; height: 44px; padding: 0; border-radius: 8px;
  border: 1.5px solid var(--border-2); display: inline-flex;
  align-items: center; justify-content: center; color: var(--text-2);
}
.btn-icon:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }

/* ─── TAGS ────────────────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 500;
}
.tag-blue  { background: rgba(79,142,247,0.12); color: var(--accent); border: 1px solid rgba(79,142,247,0.25); }
.tag-amber { background: rgba(240,160,64,0.12);  color: var(--amber);  border: 1px solid rgba(240,160,64,0.25); }
.tag-gray  { background: rgba(255,255,255,0.06); color: var(--text-2); border: 1px solid var(--border); }
.tag-green { background: rgba(63,178,127,0.12);  color: var(--green);  border: 1px solid rgba(63,178,127,0.25); }

/* ─── NAVIGATION ──────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  background: rgba(8,12,20,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 24px;
}
.nav-brand {
  font-size: 1.1rem; font-weight: 800; color: var(--accent);
  letter-spacing: 0.05em; flex-shrink: 0;
}
.nav-links {
  display: flex; gap: 28px; margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-2);
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transition: transform 0.2s; border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
  margin-left: 12px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text-2);
  border-radius: 2px; transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: grayscale(20%) brightness(0.35);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,12,20,0.85) 40%, rgba(8,12,20,0.55) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; padding-top: 32px; padding-bottom: 32px;
  width: 100%;
}
.hero-text { max-width: 600px; }
.hero-greeting { color: var(--accent); font-size: 1rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.hero-name {
  font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; line-height: 1.1;
  background: linear-gradient(135deg, #fff 50%, #a8c8ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px;
}
.hero-title { font-size: 1.25rem; color: var(--text-2); font-weight: 400; margin-bottom: 12px; }
.hero-sub {
  font-size: 1rem; color: var(--text-2); min-height: 1.65em; margin-bottom: 28px;
  font-family: var(--mono);
}
.hero-sub::after { content: '|'; animation: blink 1s step-end infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-tags span {
  padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 500;
  background: rgba(79,142,247,0.1); border: 1px solid rgba(79,142,247,0.2); color: var(--accent);
}

.hero-photo { flex-shrink: 0; text-align: center; }
.photo-ring {
  width: 260px; height: 260px; border-radius: 50%;
  border: 3px solid var(--accent);
  padding: 4px; box-shadow: 0 0 60px rgba(79,142,247,0.2);
  background: var(--bg-card);
  overflow: hidden;
}
.photo-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.photo-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 6px 16px; border-radius: 20px;
  background: rgba(63,178,127,0.1); border: 1px solid rgba(63,178,127,0.3);
  color: var(--green); font-size: 0.82rem; font-weight: 500;
}
.badge-dot {
  width: 7px; height: 7px; background: var(--green); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.3); } }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--text-3); animation: bounce 2s ease-in-out infinite; z-index: 1;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ─── ABOUT ───────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
.about-text p { color: var(--text-2); margin-bottom: 16px; line-height: 1.8; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 16px; text-align: center;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: var(--accent); }
.stat-num { display: block; font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.78rem; color: var(--text-2); margin-top: 4px; }

.about-info { display: flex; flex-direction: column; gap: 10px; }
.info-row {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-2); font-size: 0.88rem;
}
.info-row svg { flex-shrink: 0; color: var(--accent); }

/* ─── EXPERIENCE ──────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border-2);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
  position: absolute; left: -25px; top: 20px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg-2);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.2);
}
.timeline-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px;
  transition: border-color 0.25s;
}
.timeline-card:hover { border-color: var(--border-2); }
.exp-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 14px; flex-wrap: wrap;
}
.exp-header h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 3px; }
.exp-org { font-size: 0.85rem; color: var(--accent); font-weight: 500; }
.exp-date {
  flex-shrink: 0; font-size: 0.78rem; color: var(--text-3);
  font-family: var(--mono); white-space: nowrap;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 20px;
}
.exp-type { font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 6px; }
.exp-list { list-style: none; padding: 0; margin-bottom: 16px; }
.exp-list li {
  position: relative; padding-left: 16px; margin-bottom: 8px;
  font-size: 0.88rem; color: var(--text-2); line-height: 1.75;
}
.exp-list li::before {
  content: '›'; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.exp-list li strong { color: var(--text); }
.exp-list:last-child { margin-bottom: 0; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ─── RESEARCH ────────────────────────────────────────────────────────── */
.research-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.research-desc h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.research-advisor { font-size: 0.85rem; color: var(--accent); margin-bottom: 14px !important; }
.research-desc p { color: var(--text-2); margin-bottom: 14px; line-height: 1.8; }
.method-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.schlieren-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px;
}
.schlieren-fig { margin: 0; }
.schlieren-fig--wide { grid-column: 1 / -1; }
.schlieren-fig img {
  width: 100%; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  filter: brightness(1.1) contrast(1.05);
  transition: transform 0.3s;
}
.schlieren-fig:hover img { transform: scale(1.02); }
figcaption { font-size: 0.72rem; color: var(--text-3); margin-top: 6px; font-family: var(--mono); }

.rig-fig { margin: 10px 0 0; }
.rig-fig img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.img-caption { font-size: 0.72rem; color: var(--text-3); margin-top: 6px; font-family: var(--mono); }

/* ─── CAD PORTFOLIO ───────────────────────────────────────────────────── */
.cad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.cad-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.cad-card:hover { border-color: var(--border-2); transform: translateY(-2px); }

.cad-card-header {
  padding: 20px 20px 0;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.cad-card-header h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.cad-card-header p { font-size: 0.8rem; color: var(--text-2); }
.part-count {
  flex-shrink: 0; font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(79,142,247,0.1); color: var(--accent); border: 1px solid rgba(79,142,247,0.2);
}

.tab-nav {
  display: flex; gap: 0; padding: 16px 20px 0; border-bottom: 1px solid var(--border);
}
.tab-btn {
  padding: 8px 14px; font-size: 0.82rem; font-weight: 500;
  color: var(--text-2); border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; margin-bottom: -1px;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-btn:hover { color: var(--text); }

.tab-content { min-height: 300px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Gallery / Slider */
.img-slider { position: relative; overflow: hidden; height: 300px; }
.slides-wrap { width: 100%; height: 100%; position: relative; }
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; background: var(--bg-card-2);
  opacity: 0; transition: opacity 0.4s;
}
.slide.active { opacity: 1; }
.slide-prev, .slide-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(8,12,20,0.7); border: 1px solid var(--border);
  color: var(--text); border-radius: 6px;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; z-index: 2; transition: background 0.2s;
}
.slide-prev { left: 10px; }
.slide-next { right: 10px; }
.slide-prev:hover, .slide-next:hover { background: var(--accent); border-color: var(--accent); }
.slide-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3); transition: background 0.2s, transform 0.2s;
}
.dot.active { background: var(--accent); transform: scale(1.3); }

/* Video */
.video-wrap { height: 300px; background: #000; }
.video-wrap video { width: 100%; height: 100%; object-fit: contain; }

/* 3D Viewer */
.viewer-wrap {
  position: relative; height: 300px; background: var(--bg-card-2);
  display: flex; align-items: center; justify-content: center;
}
.viewer-canvas { position: absolute; inset: 0; }
.viewer-canvas canvas { width: 100% !important; height: 100% !important; }

.viewer-loading {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: var(--bg-card-2); z-index: 2;
}
.viewer-loading.hidden { display: none; }
.spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid var(--border-2);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-pct { font-size: 0.8rem; color: var(--text-2); font-family: var(--mono); }

.export-guide {
  position: absolute; inset: 0; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--bg-card-2); padding: 24px; text-align: center; z-index: 2;
}
.export-guide svg { color: var(--accent); opacity: 0.6; }
.export-guide p { font-size: 0.82rem; color: var(--text-2); }
.export-guide code {
  font-family: var(--mono); font-size: 0.78rem;
  background: rgba(79,142,247,0.08); color: var(--accent);
  padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(79,142,247,0.2);
}

.viewer-controls {
  position: absolute; bottom: 10px; right: 10px;
  display: flex; gap: 6px; z-index: 3;
}
.ctrl-btn {
  width: 28px; height: 28px; border-radius: 4px;
  background: rgba(8,12,20,0.7); border: 1px solid var(--border);
  color: var(--text-2); font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.ctrl-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ─── PROJECTS ────────────────────────────────────────────────────────── */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.project-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.project-card:hover { border-color: var(--border-2); transform: translateY(-2px); }

.project-icon { font-size: 1.8rem; margin-bottom: 12px; }
.project-meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.project-date { font-size: 0.78rem; color: var(--text-3); font-family: var(--mono); }
.project-doi {
  font-size: 0.78rem; color: var(--accent);
  background: rgba(79,142,247,0.1); padding: 2px 8px; border-radius: 4px;
}
.project-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.project-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.75; margin-bottom: 16px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ─── SKILLS ──────────────────────────────────────────────────────────── */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.skill-group { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.skill-group-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-2); margin-bottom: 16px;
}
.skill-group-title svg { color: var(--accent); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span {
  padding: 5px 12px; border-radius: 6px; font-size: 0.82rem; font-weight: 500;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-2); color: var(--text);
  transition: border-color 0.2s, color 0.2s;
}
.skill-tags span:hover { border-color: var(--accent); color: var(--accent); }

/* ─── PUBLICATION ─────────────────────────────────────────────────────── */
.pub-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; max-width: 780px;
  border-left: 3px solid var(--accent);
}
.pub-badge {
  display: inline-flex; margin-bottom: 16px;
  padding: 3px 10px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(79,142,247,0.1); color: var(--accent); border: 1px solid rgba(79,142,247,0.2);
}
.pub-citation { color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }
.pub-citation strong { color: var(--text); }
.pub-citation em { color: var(--text); font-style: italic; }

/* ─── AWARDS ──────────────────────────────────────────────────────────── */
.awards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

.award-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.award-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.award-card--featured { grid-column: span 1; }
.award-img {
  width: 100%; border-radius: var(--radius-sm); margin-bottom: 16px;
  border: 1px solid var(--border); object-fit: cover; max-height: 180px;
}
.award-body .award-icon { font-size: 1.6rem; margin-bottom: 10px; }
.award-icon { font-size: 2rem; margin-bottom: 12px; }
.award-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.award-card p { font-size: 0.85rem; color: var(--text-2); margin-bottom: 10px; line-height: 1.6; }
.award-date { font-size: 0.75rem; color: var(--text-3); font-family: var(--mono); }

/* ─── LEADERSHIP ──────────────────────────────────────────────────────── */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lead-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.lead-media { min-height: 300px; position: relative; }
.lead-media .img-slider { height: 100%; min-height: 360px; border-radius: 0; }
.lead-media .slides-wrap { height: 100%; }
.lead-media .slide { height: 100%; border-radius: 0; background: #000; }
.lead-media .slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; border-radius: 0; background: #000; }
.lead-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--text-3);
  font-size: 0.85rem; gap: 10px; height: 100%;
}
.lead-body {
  padding: 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.lead-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.lead-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.lead-icon { color: var(--accent); margin-bottom: 4px; }
.lead-role {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent);
}
.lead-card h3, .lead-body h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.lead-org { font-size: 0.84rem; color: var(--text-2); }
.lead-date { font-size: 0.75rem; color: var(--text-3); font-family: var(--mono); }
.lead-card p, .lead-body p { font-size: 0.87rem; color: var(--text-2); line-height: 1.7; }
.lead-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ─── CONTACT ─────────────────────────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-text h2 { margin-bottom: 20px; }
.contact-text p { color: var(--text-2); margin-bottom: 14px; line-height: 1.8; }
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-2); transition: border-color 0.2s, color 0.2s;
}
.contact-item:hover { border-color: var(--accent); color: var(--accent); }
.contact-item svg { flex-shrink: 0; color: var(--accent); }
.contact-item span { font-size: 0.9rem; }
.contact-location { cursor: default; }
.contact-location:hover { border-color: var(--border); color: var(--text-2); }

/* ─── FOOTER ──────────────────────────────────────────────────────────── */
footer {
  padding: 24px 0; border-top: 1px solid var(--border);
  text-align: center; font-size: 0.82rem; color: var(--text-3);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-tags { justify-content: center; }
  .photo-ring { width: 200px; height: 200px; }

  .about-grid { grid-template-columns: 1fr; }
  .research-layout { grid-template-columns: 1fr; }
  .cad-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .leadership-grid { grid-template-columns: 1fr; }
  .lead-card--featured { grid-template-columns: 1fr; }
  .lead-media { min-height: 240px; }
}

@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; gap: 0; position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(8,12,20,0.97); border-bottom: 1px solid var(--border); padding: 16px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-inner .btn-outline { display: none; }

  .section { padding: 72px 0; }
  .schlieren-grid { grid-template-columns: 1fr; }
  .schlieren-fig--wide { grid-column: auto; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .hero-name { font-size: 2.2rem; }
  .photo-ring { width: 160px; height: 160px; }
  .cad-grid, .project-grid { gap: 16px; }
}
