
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --white:#ffffff;
  --bg:#fafafa;
  --ink:#0f0f0f;
  --ink2:#3a3a3a;
  --ink3:#6b6b6b;
  --rule:#e8e8e8;
  --accent:#1d4ed8;
  --accent-h:#1e40af;
  --accent-lt:#eff6ff;
  --green:#059669;
  --green-lt:#ecfdf5;
  --gold:#b45309;
  --gold-lt:#fffbeb;
  --purple:#7c3aed;
  --purple-lt:#f5f3ff;
  --max:900px;
  --nav-h:56px;
}
html{font-size:15px;scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;background:var(--bg);color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* ── NAV ── */
nav{
  position:sticky;top:0;z-index:50;
  background:rgba(250,250,250,0.9);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--rule);
  height:var(--nav-h);
}
.nav-inner{
  max-width:var(--max);margin:0 auto;
  padding:0 1.5rem;
  height:100%;
  display:flex;align-items:center;justify-content:space-between;
}
.nav-name{font-size:.875rem;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.nav-links{display:flex;gap:1.5rem;list-style:none}
.nav-links a{font-size:.8rem;font-weight:500;color:var(--ink3);transition:color .15s}
.nav-links a:hover,.nav-links a.active{color:var(--ink)}

/* ── HERO ── */
.hero{
  max-width:var(--max);margin:0 auto;
  padding:4rem 1.5rem 3rem;
  display:grid;
  grid-template-columns:1fr 160px;
  gap:2.5rem;
  align-items:start;
}
.hero-tag{
  font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--accent);margin-bottom:.75rem;
}
.hero-name{
  font-size:2.4rem;font-weight:700;color:var(--ink);
  letter-spacing:-.03em;line-height:1.1;margin-bottom:.6rem;
}
.hero-role{font-size:.9rem;color:var(--ink2);line-height:1.6;margin-bottom:1rem}
.hero-role a{color:var(--accent);border-bottom:1px solid transparent;transition:border-color .15s}
.hero-role a:hover{border-color:var(--accent)}
.hero-bio{font-size:.875rem;color:var(--ink2);line-height:1.8;margin-bottom:1.25rem;max-width:58ch}
.hero-bio a{color:var(--accent)}
.hero-bio a:hover{text-decoration:underline}
.badge-row{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.25rem}
.badge{
  display:inline-flex;align-items:center;gap:.3rem;
  font-size:.68rem;font-weight:500;
  padding:.22rem .6rem;border-radius:99px;border:1px solid;
}
.badge-blue{color:var(--accent);background:var(--accent-lt);border-color:#bfdbfe}
.badge-gold{color:var(--gold);background:var(--gold-lt);border-color:#fde68a}
.badge-purple{color:var(--purple);background:var(--purple-lt);border-color:#ddd6fe}
.badge-green{color:var(--green);background:var(--green-lt);border-color:#a7f3d0}
.link-row{display:flex;flex-wrap:wrap;gap:.5rem}
.link-btn{
  display:inline-flex;align-items:center;gap:.35rem;
  font-size:.75rem;font-weight:500;
  padding:.3rem .75rem;border-radius:6px;
  border:1px solid var(--rule);
  background:var(--white);color:var(--ink2);
  transition:all .15s;
}
.link-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-lt)}
.link-btn svg{opacity:.7;flex-shrink:0}
.link-btn:hover svg{opacity:1}
.hero-photo-wrap{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding-top:.5rem}
.hero-photo{
  width:140px;height:140px;border-radius:50%;
  object-fit:cover;
  border:3px solid var(--white);
  box-shadow:0 0 0 1px var(--rule),0 8px 24px rgba(0,0,0,.1);
}
.hero-affil{font-size:.7rem;color:var(--ink3);text-align:center;line-height:1.5}
.hero-affil a{color:var(--accent)}
.status-dot{
  display:inline-flex;align-items:center;gap:.35rem;
  font-size:.68rem;font-weight:500;color:var(--green);
}
.status-dot::before{
  content:'';width:6px;height:6px;border-radius:50%;
  background:var(--green);animation:pulse 2s ease-in-out infinite;flex-shrink:0;
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ── SECTIONS ── */
.container{max-width:var(--max);margin:0 auto;padding:0 1.5rem}
.section{padding:2.5rem 0;border-top:1px solid var(--rule)}
.section:first-child{border-top:none}
.section-label{
  font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink3);margin-bottom:1.25rem;
}

/* ── NEWS ── */
.news-list{display:flex;flex-direction:column}
.news-item{
  display:grid;grid-template-columns:90px 1fr;
  gap:0 1rem;padding:.6rem 0;border-bottom:1px solid var(--rule);
  align-items:baseline;
}
.news-item:last-child{border-bottom:none}
.news-date{font-size:.7rem;color:var(--ink3);white-space:nowrap;font-variant-numeric:tabular-nums}
.news-text{font-size:.8rem;color:var(--ink2);line-height:1.6}
.news-text a{color:var(--accent)}
.news-text a:hover{text-decoration:underline}
.news-text strong{color:var(--ink);font-weight:600}
.tag{
  display:inline-block;font-size:.6rem;font-weight:600;
  padding:.08rem .35rem;border-radius:3px;
  margin-right:.3rem;vertical-align:middle;position:relative;top:-1px;
}
.t-award{background:var(--gold-lt);color:var(--gold)}
.t-pub{background:var(--purple-lt);color:var(--purple)}
.t-press{background:var(--accent-lt);color:var(--accent)}
.t-ms{background:#f4f4f5;color:#52525b}

/* ── RESEARCH AREAS ── */
.area-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.6rem}
.area-card{
  background:var(--white);border:1px solid var(--rule);border-radius:10px;
  padding:.85rem .75rem;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:.35rem;
  transition:border-color .15s,box-shadow .15s;
}
.area-card:hover{border-color:var(--accent);box-shadow:0 4px 12px rgba(29,78,216,.08)}
.area-icon{font-size:1.4rem;line-height:1}
.area-label{font-size:.65rem;font-weight:600;color:var(--ink2);line-height:1.3}
.area-sub{font-size:.58rem;color:var(--ink3);line-height:1.3}

/* ── PUBLICATIONS (homepage preview) ── */
.pub-preview{display:flex;flex-direction:column;gap:.85rem}
.pub-row{
  display:grid;grid-template-columns:64px 1fr;gap:0 1rem;
  padding:.85rem;background:var(--white);border:1px solid var(--rule);
  border-radius:10px;align-items:start;
  transition:border-color .15s,box-shadow .15s;
}
.pub-row:hover{border-color:var(--accent);box-shadow:0 4px 16px rgba(29,78,216,.07)}
.pub-thumb{
  width:64px;height:64px;border-radius:6px;
  object-fit:cover;border:1px solid var(--rule);flex-shrink:0;
}
.pub-thumb-ph{
  width:64px;height:64px;border-radius:6px;border:1px solid var(--rule);
  background:linear-gradient(135deg,var(--accent-lt),#dbeafe);
  display:flex;align-items:center;justify-content:center;font-size:1.4rem;flex-shrink:0;
}
.pub-info{}
.pub-title{font-size:.8rem;font-weight:600;color:var(--ink);line-height:1.4;margin-bottom:.2rem}
.pub-authors{font-size:.7rem;color:var(--ink3);margin-bottom:.2rem}
.pub-authors strong{color:var(--ink2);font-weight:600}
.pub-venue{font-size:.7rem;color:var(--ink2);font-style:italic;margin-bottom:.35rem}
.pub-tags{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:.35rem}
.pt{font-size:.6rem;font-weight:500;padding:.1rem .4rem;border-radius:3px;background:#f4f4f5;color:#52525b}
.pt.blue{background:var(--accent-lt);color:var(--accent)}
.pt.gold{background:var(--gold-lt);color:var(--gold)}
.pt.purple{background:var(--purple-lt);color:var(--purple)}
.pub-links{display:flex;gap:.35rem;flex-wrap:wrap}
.pl{
  font-size:.65rem;font-weight:600;padding:.18rem .55rem;border-radius:4px;
  text-decoration:none;transition:background .12s;
}
.pl.solid{background:var(--ink);color:#fff}
.pl.solid:hover{background:#333}
.pl.outline{background:transparent;color:var(--ink2);border:1px solid var(--rule)}
.pl.outline:hover{background:var(--accent-lt);color:var(--accent);border-color:transparent}

/* ── TIMELINE ── */
.timeline{display:flex;flex-direction:column;gap:0;border-left:2px solid var(--rule);margin-left:6px;padding-left:1.5rem}
.tl{position:relative;padding-bottom:1.5rem}
.tl:last-child{padding-bottom:0}
.tl::before{content:'';position:absolute;left:-1.75rem;top:.4rem;width:8px;height:8px;border-radius:50%;background:var(--accent);border:2px solid var(--bg);box-shadow:0 0 0 1.5px var(--accent)}
.tl-year{font-size:.65rem;font-weight:600;color:var(--accent);margin-bottom:.1rem}
.tl-role{font-size:.82rem;font-weight:600;color:var(--ink)}
.tl-place{font-size:.72rem;color:var(--ink2);margin-bottom:.25rem}
.tl-place a{color:var(--accent)}
.tl-desc{font-size:.7rem;color:var(--ink3);line-height:1.65;max-width:56ch}

/* ── MEDIA CARDS ── */
.media-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.media-card{
  background:var(--white);border:1px solid var(--rule);border-radius:10px;
  overflow:hidden;text-decoration:none;display:flex;flex-direction:column;
  transition:border-color .15s,box-shadow .15s;
}
.media-card:hover{border-color:var(--accent);box-shadow:0 4px 16px rgba(29,78,216,.07)}
.media-img{width:100%;aspect-ratio:16/9;object-fit:cover}
.media-ph{width:100%;aspect-ratio:16/9;background:linear-gradient(135deg,#1e3a5f,#1d4ed8);display:flex;align-items:center;justify-content:center;font-size:2rem}
.media-body{padding:.75rem}
.media-src{font-size:.6rem;font-weight:600;color:var(--ink3);letter-spacing:.04em;text-transform:uppercase;margin-bottom:.25rem}
.media-hl{font-size:.72rem;font-weight:600;color:var(--ink);line-height:1.4}
.media-date{font-size:.62rem;color:var(--ink3);margin-top:.35rem}

/* ── FOOTER ── */
footer{
  max-width:var(--max);margin:0 auto;
  padding:1.5rem;
  border-top:1px solid var(--rule);
  display:flex;align-items:center;justify-content:space-between;
  font-size:.7rem;color:var(--ink3);
}
footer a{color:var(--accent)}

/* ── RESPONSIVE ── */
@media(max-width:700px){
  .hero{grid-template-columns:1fr;gap:1.5rem}
  .hero-photo-wrap{flex-direction:row;justify-content:flex-start;padding-top:0}
  .hero-photo{width:80px;height:80px}
  .hero-name{font-size:1.75rem}
  .area-grid{grid-template-columns:repeat(3,1fr)}
  .media-row{grid-template-columns:1fr}
  .nav-links{gap:.85rem}
  .news-item{grid-template-columns:75px 1fr}
  footer{flex-direction:column;gap:.5rem;text-align:center}
}
@media(max-width:480px){
  .area-grid{grid-template-columns:repeat(2,1fr)}
  .pub-row{grid-template-columns:1fr}
  .pub-thumb,.pub-thumb-ph{display:none}
}
@media(prefers-reduced-motion:reduce){.status-dot::before{animation:none}*{transition:none!important}}
