
:root {
  --ink: #18212b;
  --muted: #65717d;
  --line: #dfe5e9;
  --paper: #fbfcfa;
  --white: #ffffff;
  --accent: #176b87;
  --accent-soft: #e8f2f5;
  --max: 1120px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  font-size: 16px;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251,252,250,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(223,229,233,.9);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 20px;
}
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

main { max-width: var(--max); margin: 0 auto; padding: 0 28px 90px; }

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center;
  padding: 82px 0 72px;
}
.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .73rem;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 6vw, 5.3rem);
  line-height: 1.01;
  letter-spacing: -.045em;
  font-weight: 400;
  margin: 0 0 28px;
  max-width: 800px;
}
.hero .lede {
  margin: 28px 0 0;
  max-width: 700px;
  font-size: 1.16rem;
  line-height: 1.75;
  color: #4c5754;
}
.hero-questions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.pill {
  border: 1px solid #cfd9d5;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .84rem;
  color: #3e4946;
  background: #fff;
}
.visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: #f0f5f2;
  overflow: hidden;
}
.visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.visual::before,
.visual::after { display: none; }
.visual:before, .visual:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}
.visual:before {
  width: 420px;
  height: 420px;
  right: -100px;
  top: -50px;
  background: radial-gradient(circle at 35% 40%, rgba(23,107,135,.34), rgba(23,107,135,0) 62%);
}
.visual:after {
  width: 500px;
  height: 500px;
  left: -180px;
  bottom: -210px;
  background: radial-gradient(circle, rgba(26,43,40,.16), rgba(26,43,40,0) 68%);
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(24,32,31,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(24,32,31,.08) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: skewY(-12deg) scale(1.2);
  opacity: .55;
}
.orbit {
  position: absolute;
  left: 13%;
  top: 19%;
  width: 74%;
  height: 58%;
  border: 1px solid rgba(20,125,115,.55);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.orbit.o2 {
  left: 22%;
  top: 29%;
  width: 55%;
  height: 40%;
  transform: rotate(24deg);
  border-color: rgba(24,32,31,.34);
}
.node {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(20,125,115,.12);
}
.node.n1 { left: 27%; top: 35%; }
.node.n2 { right: 25%; top: 31%; }
.node.n3 { left: 48%; bottom: 20%; }
.node.n4 { right: 15%; bottom: 36%; }

.section { padding: 76px 0 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 30px;
}
.section h2 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 500;
  margin: 0;
  letter-spacing: -.025em;
}
.section-intro { color: var(--muted); max-width: 720px; margin: 0 0 34px; }

.research-grid {
  display: block;
}
.research-card {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.research-card:first-child { border-top: none; }
.research-card:last-child { border-bottom: 1px solid var(--line); }
.research-card h3 { margin: 0 0 8px; font-size: 24px; }
.research-card p { color: var(--muted); margin: 0; font-size: 15px; max-width: 820px; }
.research-card .research-question { color: var(--ink); font-size: 17px; font-weight: 600; margin-bottom: 10px; }

.updates { display: grid; gap: 0; }
.update {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.update time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.update p { margin: 0; }
.update a { color: var(--accent); text-decoration: none; }

.page-head { padding: 78px 0 44px; }
.page-head h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}
.page-head p { max-width: 720px; color: var(--muted); font-size: 18px; }

.people-group { margin-top: 56px; }
.people-group h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin-bottom: 22px; }
.people-grid {
  display: grid;
  gap: 18px;
  background: transparent;
  border: none;
}
.person {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  background: var(--white);
  padding: 18px 20px;
  border: 1px solid var(--line);
  min-height: 0;
}
.person-body {
  display: grid;
  gap: 6px;
}
.avatar {
  width: 108px; height: 108px; border-radius: 14px;
  background: linear-gradient(145deg, var(--accent-soft), #edf5f8);
  color: var(--accent);
  display: grid; place-items: center; font-weight: 800;
  font-size: 24px;
  margin: 0;
  border: 1px solid rgba(23,107,135,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.people-current .person {
  grid-template-columns: 134px minmax(0, 1fr);
}
.people-current .avatar {
  width: 120px;
  height: 120px;
}
.person-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.person h3 { margin: 0; font-size: 21px; line-height: 1.2; }
.person .role {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.person .degrees {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.person .degrees span {
  display: block;
  position: relative;
  padding-left: 24px;
}
.person .degrees span::before {
  content: "\f19d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  color: var(--muted);
}
.person-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.icon-link {
  color: #36a2ce;
  text-decoration: none;
  line-height: 1;
  transition: color .6s ease, transform .2s ease;
}
.icon-link .big-icon {
  font-size: 16px;
}
.icon-link:hover {
  color: #247394;
  transform: scale(1.2);
}
.person-links a[href="https://www.linkedin.com"],
.person-links a[href="https://github.com"] { display: none; }
.person p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.person p strong {
  color: var(--text);
  font-weight: 700;
}
.person a { text-decoration: none; color: var(--accent); }

.publications { display: grid; gap: 0; }
.pub-year {
  font-family: var(--serif);
  font-size: 28px;
  margin: 48px 0 14px;
}
.pub {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.pub-thumb {
  width: 250px;
  height: 140px;
  flex: 0 0 250px;
  flex-shrink: 0;
  background: var(--white);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain !important;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
}
.pub-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  object-fit: contain !important;
  object-position: center !important;
}
.pub-thumb video {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  object-fit: contain !important;
  object-position: center !important;
}
.section .publications {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.section .publications .pub {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.section .publications .pub:first-child { border-top: 0; }
.section .publications .pub-thumb {
  width: 250px;
  height: 140px;
  flex: 0 0 250px;
}
.section .publications .pub > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .88rem;
  line-height: 1.55;
}
.section .publications .pub h3 { font-size: 19px; line-height: 1.35; margin: 0 0 8px; }
.pub h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.35; }
.pub h3 a { text-decoration: none; }
.pub > div:last-child { flex: 1 1 auto; min-width: 0; font-size: .88rem; line-height: 1.55; }
.pub .authors { color: var(--muted); font-size: .88rem; margin-bottom: .12rem; }
.pub .venue { font-size: .88rem; font-weight: 650; margin-bottom: .18rem; }
.links { display: flex; gap: 12px; flex-wrap: wrap; }
.links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
}
.pub .venue a { color: inherit; text-decoration: none; }

.talks { display: grid; gap: 0; }
.talk {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.talk-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 30px;
}
.talk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
a.talk-thumb:hover img { transform: scale(1.04); }
.talk-thumb.placeholder { opacity: .7; }
.talk h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.talk-meta { color: var(--muted); font-size: 14px; }
.talk-speaker { color: var(--muted); font-size: 14px; font-style: italic; margin-top: 2px; }
.talk-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.talk-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease;
}
.talk-link:hover { border-color: var(--accent); background: var(--accent-soft); }

.join-box {
  margin-top: 48px;
  background: #edf5f7;
  border: 1px solid #d4e6eb;
  padding: 34px;
}
.join-box h2 { margin-top: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.join-box p { max-width: 760px; }
.email {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 28px 50px;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; }
.footer-inner a { text-decoration: none; }

@media (max-width: 800px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { gap: 14px; }
  .hero { grid-template-columns: 1fr; padding-top: 58px; }
  .visual { max-width: 520px; }
  .research-grid, .people-grid { grid-template-columns: 1fr; }
  .pub { flex-direction: column; }
  .pub-thumb { width: 100%; height: auto; flex: none; aspect-ratio: 250 / 140; }
  .section .publications .pub { display: flex; }
  .section .publications .pub-thumb { width: 100%; height: auto; flex: none; aspect-ratio: 250 / 140; }
  .update { grid-template-columns: 1fr; gap: 5px; }
  .talk { grid-template-columns: 1fr; gap: 14px; }
  main { padding-left: 20px; padding-right: 20px; }
  .footer-inner { flex-direction: column; }
}
