:root {
  --bg: #0b0d11;
  --surface: #13161d;
  --surface2: #1a1e28;
  --blue: #4a9eff;
  --amber: #f5a623;
  --red: #e84545;
  --text: #f0f2f7;
  --muted: #8892a4;
  --border: rgba(255,255,255,0.08);
  --font-head: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  height: 76px;
  background: rgba(11,13,17,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 52px; }
.nav-logo span { font-family: var(--font-head); font-size: 23px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { background: var(--blue); color: #000; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 20px; border-radius: 4px; text-decoration: none; transition: opacity .2s; }
.nav-cta:hover { opacity: 0.85; }

/* PAGE HEADER (inner pages) */
.page-header {
  padding: 140px 72px 80px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-header .section-label { margin-bottom: 12px; }
.page-header h1 {
  font-family: var(--font-head); font-size: clamp(40px, 5vw, 72px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 16px;
}
.page-header p {
  color: var(--muted); font-weight: 300; font-size: 21px; max-width: 600px;
}

/* HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 124px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  transform-origin: center;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  display: block;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,13,17,0.95) 0%, rgba(11,13,17,0.45) 45%, rgba(11,13,17,0.1) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 72px; max-width: 900px; }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--blue); }
.hero h1 {
  font-family: var(--font-head); font-size: clamp(52px, 7vw, 96px);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  font-size: 21px; color: rgba(240,242,247,0.75); max-width: 520px;
  font-weight: 300; line-height: 1.7; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; }
.btn-primary {
  background: var(--blue); color: #000; font-family: var(--font-head);
  font-weight: 700; font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 4px; text-decoration: none; transition: opacity .2s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.25); color: var(--text);
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 4px; text-decoration: none; transition: border-color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); }
.hero-logos {
  position: absolute; bottom: 36px; right: 72px; z-index: 2;
  display: flex; align-items: center; gap: 24px;
}
.hero-logos img { height: 32px; opacity: 0.7; filter: brightness(10); }
/* Polytechnique logo is supplied as white artwork — show it as-is (no
   brightness filter, no background chip). */
.uni-logo { filter: none !important; opacity: 1 !important; }
.hero-logos .uni-logo { height: 40px; }

/* STATS BAR */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  padding: 40px 48px; border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head); font-size: 60px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1; color: var(--text);
}
.stat-num span { color: var(--blue); }
.stat-label {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-top: 8px;
}

/* SECTION COMMON */
section { padding: 100px 72px; }
.section-label {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--blue); }
h2 {
  font-family: var(--font-head); font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 48px;
}

/* RESEARCH */
#research { background: var(--surface); }
.research-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.research-header h2 { margin-bottom: 0; max-width: 480px; }
.research-intro { max-width: 340px; color: var(--muted); font-weight: 300; line-height: 1.7; }
.research-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.research-card {
  background: var(--surface2); padding: 40px 32px;
  transition: background .25s;
  cursor: default;
}
.research-card:hover { background: #202535; }
.research-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: rgba(74,158,255,0.12); display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.research-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.5; }
.research-card h3 { font-family: var(--font-head); font-size: 23px; font-weight: 700; margin-bottom: 12px; }
.research-card p { color: var(--muted); font-size: 17px; line-height: 1.65; font-weight: 300; }

/* PEOPLE */
#people { background: var(--bg); }
.professors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 64px; }
.prof-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: transform .25s, border-color .25s;
}
.prof-card:hover { transform: translateY(-4px); border-color: rgba(74,158,255,0.3); }
.prof-photo {
  width: 92px; height: 92px; border-radius: 50%;
  margin: 28px 0 0 28px; border: 1px solid var(--border);
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.prof-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.prof-photo-placeholder {
  width: 100%; height: 100%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--blue);
}
.prof-info { padding: 18px 28px 28px; }
.prof-info h3 { font-family: var(--font-head); font-size: 25px; font-weight: 700; margin-bottom: 4px; }
.prof-title { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.prof-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  font-size: 14px; font-family: var(--font-mono); padding: 4px 10px;
  border-radius: 3px; background: rgba(74,158,255,0.1); color: var(--blue);
  letter-spacing: 0.04em;
}
.prof-info p { color: var(--muted); font-size: 16px; line-height: 1.65; font-weight: 300; }

/* STUDENTS */
.students-section { padding: 100px 72px; background: var(--bg); }
.students-section h2 { margin-bottom: 48px; }
.student-level-group { margin-bottom: 56px; }
.student-level-label {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.student-level-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--blue); }
.students-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.student-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  padding: 20px; transition: border-color .2s;
}
.student-card:hover { border-color: rgba(74,158,255,0.3); }
.student-photo-wrap {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-bottom: 14px;
}
.student-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.student-initials {
  font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--blue);
}
.student-card h4 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.student-supervisor { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 8px; }
.student-topic { color: var(--muted); font-size: 15px; font-weight: 300; line-height: 1.5; }
.student-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.student-tags .tag { font-size: 12px; padding: 2px 8px; }

/* ALUMNI */
.alumni-section { padding: 60px 72px 100px; }
.alumni-table { width: 100%; border-collapse: collapse; }
.alumni-table th {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--border);
  text-align: left;
}
.alumni-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 16px; color: var(--muted); }
.alumni-table td:first-child { color: var(--text); font-weight: 500; }
.alumni-table tr:hover td { background: var(--surface); }

.team-photo-strip {
  border-radius: 8px; overflow: hidden; position: relative; height: 360px;
}
.team-photo-strip img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.team-photo-strip-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,13,17,0.8) 0%, transparent 50%);
  display: flex; align-items: center; padding: 48px;
}
.team-strip-text h3 { font-family: var(--font-head); font-size: 41px; font-weight: 800; margin-bottom: 12px; }
.team-strip-text p { color: var(--muted); max-width: 360px; font-weight: 300; }
.team-strip-stats { display: flex; gap: 40px; margin-top: 24px; }
.strip-stat .num { font-family: var(--font-head); font-size: 41px; font-weight: 800; color: var(--amber); }
.strip-stat .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* FIELD MISSIONS */
#missions { background: var(--surface); }
.missions-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 8px;
}
.mission-tile {
  overflow: hidden; border-radius: 6px; position: relative; cursor: default;
}
.mission-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.mission-tile:hover img { transform: scale(1.04); }
.mission-tile-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(to top, rgba(11,13,17,0.85) 0%, transparent 100%);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8);
}
.m1 { grid-column: span 5; height: 340px; }
.m2 { grid-column: span 7; height: 340px; }
.m3 { grid-column: span 4; height: 280px; }
.m4 { grid-column: span 4; height: 280px; }
.m5 { grid-column: span 4; height: 280px; }
.m6 { grid-column: span 6; height: 300px; }
.m7 { grid-column: span 3; height: 300px; }
.m8 { grid-column: span 3; height: 300px; }

.missions-partners { display: flex; gap: 24px; margin-top: 48px; flex-wrap: wrap; }
.partner-badge {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 4px; color: var(--muted);
}

/* PUBLICATIONS */
#publications { background: var(--bg); }
.pub-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.pub-aside h2 { margin-bottom: 16px; }
.pub-aside p { color: var(--muted); font-weight: 300; margin-bottom: 32px; }
.pub-big-num { font-family: var(--font-head); font-size: 138px; font-weight: 800; line-height: 1; color: var(--blue); opacity: 0.15; letter-spacing: -0.05em; }
.pub-list { display: flex; flex-direction: column; gap: 0; }
.pub-item {
  padding: 24px 0; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: start;
  transition: opacity .2s; text-decoration: none; color: var(--text);
}
.pub-item:hover { opacity: 0.8; }
.pub-year { font-family: var(--font-mono); font-size: 14px; color: var(--blue); padding-top: 4px; }
.pub-title { font-size: 17px; font-weight: 400; line-height: 1.5; }
.pub-title span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; font-weight: 300; }
.pub-venue { font-family: var(--font-mono); font-size: 13px; color: var(--amber); letter-spacing: 0.06em; padding-top: 4px; }

/* PROJECTS */
.projects-section { padding: 60px 72px 100px; background: var(--bg); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.project-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: border-color .25s, transform .25s;
}
.project-card:hover { border-color: rgba(74,158,255,0.3); transform: translateY(-3px); }
.project-img { height: 200px; background: var(--surface2); overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-img img { transform: scale(1.04); }
.project-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: 0.12em;
}
.project-body { padding: 28px; }
.project-body h3 { font-family: var(--font-head); font-size: 23px; font-weight: 700; margin-bottom: 10px; }
.project-body p { color: var(--muted); font-size: 16px; line-height: 1.65; font-weight: 300; margin-bottom: 16px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.project-links { display: flex; gap: 12px; }
.project-link {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em;
  color: var(--blue); text-decoration: none; padding: 6px 12px;
  border: 1px solid rgba(74,158,255,0.3); border-radius: 3px; transition: border-color .2s;
}
.project-link:hover { border-color: var(--blue); }

/* NEWS */
#news { background: var(--surface); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: transform .25s, border-color .25s;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(74,158,255,0.25); }
.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 24px; }
.news-date { font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 10px; }
.news-card h3 { font-family: var(--font-head); font-size: 21px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.news-card p { color: var(--muted); font-size: 16px; font-weight: 300; line-height: 1.6; }
.news-tag { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }

/* TEACHING */
#teaching { background: var(--bg); }
.teaching-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 32px;
  transition: border-color .2s;
}
.course-card:hover { border-color: rgba(74,158,255,0.3); }
.course-code { font-family: var(--font-mono); font-size: 13px; color: var(--amber); letter-spacing: 0.12em; margin-bottom: 12px; }
.course-card h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.course-card p { color: var(--muted); font-size: 16px; font-weight: 300; line-height: 1.6; }

/* SPIN-OFFS */
.spinoff-card {
  background: transparent; border: 1px solid var(--border); border-radius: 6px;
  padding: 20px; text-decoration: none; color: var(--text);
  transition: border-color .25s; display: block;
}
.spinoff-card:hover { border-color: rgba(255,255,255,0.2); }
.spinoff-placeholder { cursor: default; }
.spinoff-placeholder:hover { border-color: var(--border); }
.spinoff-logo-wrap { margin-bottom: 12px; }
.spinoff-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.spinoff-desc { color: var(--muted); font-size: 15px; line-height: 1.6; font-weight: 300; display: block; margin-bottom: 12px; }
.spinoff-link { font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }

/* CONTACT */
#contact { background: var(--surface); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-text h2 { margin-bottom: 20px; }
.contact-text p { color: var(--muted); font-weight: 300; line-height: 1.75; margin-bottom: 32px; font-size: 20px; }
.contact-actions { display: flex; flex-direction: column; gap: 16px; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; border: 1px solid var(--border); border-radius: 8px;
  text-decoration: none; color: var(--text); transition: border-color .2s, background .2s;
}
.contact-link:hover { border-color: var(--blue); background: rgba(74,158,255,0.05); }
.contact-link-icon { width: 40px; height: 40px; border-radius: 6px; background: rgba(74,158,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-link-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.5; }
.contact-link-text strong { display: block; font-family: var(--font-head); font-size: 17px; font-weight: 700; }
.contact-link-text span { font-size: 15px; color: var(--muted); }
.contact-hero-img { border-radius: 8px; overflow: hidden; }
.contact-hero-img img { width: 100%; height: 420px; object-fit: cover; object-position: center 10%; }

/* FOOTER */
footer {
  padding: 32px 72px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logos { display: flex; align-items: center; gap: 24px; }
.footer-logos img { height: 28px; opacity: 0.5; filter: brightness(10); }
.footer-logos img.lab-logo { filter: none; opacity: 0.7; }
.footer-logos .uni-logo { height: 34px; }
footer p { color: var(--muted); font-size: 15px; }
.footer-funders { display: flex; gap: 12px; flex-wrap: wrap; }
.funder { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); padding: 4px 10px; border: 1px solid var(--border); border-radius: 3px; }

/* MIST ACRONYM (big, top-left of the hero) */
.hero-acronym {
  position: relative; z-index: 2; padding: 0 72px; max-width: 1200px; margin: 0;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(52px, 7vw, 96px); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--text);
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.32em; row-gap: 0;
}
.hero-acronym .mist-word { transition: opacity .3s ease; }
.hero-acronym .mist-word::first-letter { color: var(--blue); }
.hero-acronym-lab { color: var(--blue); }
.mist-word.exiting, .mist-word.entering { opacity: 0; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.revealed { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* PERSON PAGE */
.person-page { padding: 120px 72px 100px; max-width: 960px; margin: 0 auto; }
.person-back {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.06em;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.person-back:hover { color: var(--blue); }
.person-header { display: flex; gap: 40px; margin: 32px 0 48px; align-items: flex-start; }
.person-photo {
  width: 200px; height: 200px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-photo-placeholder {
  font-family: var(--font-head); font-size: 64px; font-weight: 800; color: var(--blue);
}
.person-meta h1 { font-family: var(--font-head); font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.person-title { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.person-supervisor { color: var(--muted); font-size: 16px; font-weight: 300; margin-top: 8px; }
.person-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.person-links a {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em;
  color: var(--blue); text-decoration: none; border: 1px solid rgba(74,158,255,0.3);
  padding: 7px 14px; border-radius: 4px; transition: background .2s, border-color .2s;
}
.person-links a:hover { background: rgba(74,158,255,0.1); border-color: var(--blue); }
.person-body { color: var(--text); font-weight: 300; line-height: 1.8; font-size: 18px; }
.person-body h2 { font-family: var(--font-head); font-size: 25px; font-weight: 700; margin: 40px 0 16px; }
.person-body h3 { font-family: var(--font-head); font-size: 21px; font-weight: 700; margin: 28px 0 12px; }
.person-body p { color: var(--muted); margin-bottom: 16px; }
.person-body a { color: var(--blue); text-decoration: none; }
.person-body a:hover { text-decoration: underline; }
.person-body ul { padding-left: 22px; margin-bottom: 16px; color: var(--muted); }
.person-body li { margin-bottom: 8px; }
.person-body strong { color: var(--text); font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  section, .stats-bar, .students-section, .alumni-section { padding-left: 24px; padding-right: 24px; }
  .hero-content { padding: 0 24px; }
  .professors-grid, .research-grid, .students-grid, .news-grid, .teaching-grid,
  .spinoffs-grid, .pub-layout, .contact-layout { grid-template-columns: 1fr !important; }
  .missions-grid { grid-template-columns: repeat(2, 1fr); }
  .missions-grid .mission-tile { grid-column: auto !important; grid-row: auto !important; }
  .person-page { padding: 100px 24px 80px; }
  .person-header { flex-direction: column; gap: 24px; }
}
