:root {
  --ink: #25282d;
  --muted: #62676e;
  --accent: #285e96;
  --line: #e7e9ec;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 14px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
main { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.intro {
  display: grid;
  grid-template-columns: 1fr 185px;
  gap: 48px;
  align-items: center;
  padding: 54px 0 20px;
}
h1 { font-size: 32px; line-height: 1.25; font-weight: 600; margin: 0 0 12px; }
.degree { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 10px; }
.role { margin: 0 0 15px; }
.intro-copy { margin: 0; }
.social { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; font-size: 13px; }
.portrait { margin: 0; }
.portrait img { display: block; width: 185px; height: 205px; object-fit: contain; }
figcaption { margin-top: 8px; text-align: center; font-size: 11px; color: var(--muted); }

.section { margin-top: 38px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
h2 { font-size: 21px; line-height: 1.4; font-weight: 550; margin: 0; }
.section-heading > a { font-size: 12px; }
.publication {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.publication > img {
  width: 150px;
  height: 118px;
  object-fit: contain;
  background: #fff;
  align-self: start;
}
.publication h3 { font-size: 15px; line-height: 1.5; font-weight: 600; margin: 0 0 7px; color: var(--ink); }
.publication h3:hover { color: var(--accent); }
.publication p { margin: 8px 0 0; }
.publication .paper-authors { margin: 0; }
.publication strong { color: var(--ink); }
.publication em { display: inline-block; font-style: normal; color: var(--ink); margin-top: 7px; }
.publication .author-note { font-size: 11px; }

.about { padding-top: 6px; }
.about h2 { margin-bottom: 14px; }
.about p { margin: 0 0 13px; }
.news { display: grid; grid-template-columns: 76px 1fr; gap: 12px 16px; padding: 18px 0; }
.news time { font-size: 11px; color: var(--muted); padding-top: 3px; }
.news p { margin: 0; font-size: 13px; }
summary { cursor: pointer; color: var(--accent); width: fit-content; }
.section > details { font-size: 12px; }
footer { margin-top: 42px; padding: 22px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
.skip { position: absolute; top: -60px; left: 20px; background: white; padding: 10px; z-index: 5; }
.skip:focus { top: 10px; }

@media (max-width: 600px) {
  main { padding: 0 22px; }
  .intro { grid-template-columns: 1fr 110px; gap: 20px; padding-top: 32px; }
  h1 { font-size: 27px; }
  .degree { display: block; margin: 5px 0 0; font-size: 13px; }
  .portrait img { width: 110px; height: 135px; }
  .role { font-size: 13px; }
  .intro-copy { font-size: 13px; }
  .social { gap: 15px; }
  .publication { grid-template-columns: 110px 1fr; gap: 18px; }
  .publication > img { width: 110px; height: 90px; }
}

@media (max-width: 420px) {
  .publication { grid-template-columns: 1fr; gap: 12px; }
  .publication > img { width: 140px; height: 100px; }
  .section-heading { gap: 12px; }
  footer { font-size: 10px; }
}

@media (max-width: 600px) {
  .section-heading { flex-wrap: wrap; gap: 6px 16px; }
}

.coffee-chat {
  margin: 20px 0 0;
  padding-left: 12px;
  border-left: 2px solid #bacbdf;
  font-size: 13px;
  line-height: 1.65;
}
.coffee-chat strong { font-weight: 600; }
