:root {
  --paper: #f7f7f4;
  --surface: #ffffff;
  --ink: #17191d;
  --muted: #5d646f;
  --line: #d9d8d2;
  --blue: #0b5570;
  --green: #3f684f;
  --rust: #8a3f2d;
  --gold: #a5742d;
  --max-width: 1120px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration-color: rgba(11, 85, 112, 0.45);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rust);
  text-decoration-color: currentColor;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.1rem;
  font-weight: 500;
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}

h4 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

p {
  color: var(--muted);
  overflow-wrap: break-word;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  padding: 0.55rem 0.75rem;
  background: var(--ink);
  color: var(--surface);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 244, 0.94);
  backdrop-filter: blur(12px);
}

.nav-wrap,
.hero,
.section,
.site-footer {
  width: calc(100% - 2rem);
  max-width: var(--max-width);
  margin-inline: auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 64px;
}

.brand {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 2.75rem;
  padding: 5.5rem 0 4.5rem;
}

.hero-copy {
  max-width: 780px;
}

.lede {
  max-width: 760px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.affiliation {
  margin-bottom: 1.25rem;
}

.hero-actions,
.inline-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.hero-actions a,
.inline-links a,
.text-link {
  font-weight: 700;
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 210px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(23, 25, 29, 0.12);
}

.section {
  padding: 4.25rem 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100% - var(--max-width)) / 2));
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.8rem;
  background: var(--blue);
}

#news .section-heading h2::after {
  background: var(--gold);
}

#talks .section-heading h2::after,
#background .section-heading h2::after {
  background: var(--green);
}

#professional-activities .section-heading h2::after {
  background: var(--rust);
}

.summary-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.summary-panel li {
  margin-bottom: 0.55rem;
  padding-left: 0.2rem;
}

.split-section {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.split-section .section-heading {
  margin-bottom: 0;
}

.split-section .text-link {
  grid-column: 2;
}

.timeline,
.pub-list,
.compact-list,
.news-list {
  display: grid;
  gap: 1.35rem;
}

.timeline-item,
.pub-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.5rem;
  padding-bottom: 1.35rem;
  padding-left: 0.85rem;
  border-left: 2px solid transparent;
}

.timeline-item {
  border-left-color: rgba(165, 116, 45, 0.35);
}

.pub-item {
  border-left-color: rgba(11, 85, 112, 0.28);
}

.timeline-item time,
.pub-year,
.story time {
  color: var(--gold);
  font-size: 0.94rem;
  font-weight: 700;
}

.timeline-item h3 a,
.pub-item h3 a {
  color: var(--ink);
}

.timeline-item p,
.pub-item p,
.compact-list p {
  margin-bottom: 0;
}

.pub-item h3,
.compact-list h3,
.compact-list h4,
.timeline-item h3 {
  color: var(--ink);
}

.subsection-heading {
  margin: 2rem 0 1rem;
  color: var(--green);
}

.authors {
  color: var(--ink);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 3rem;
  align-items: start;
}

.summary-panel {
  border-left: 3px solid var(--green);
  padding-left: 1.4rem;
}

.summary-panel h2 {
  font-size: 1.45rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer span {
  display: block;
}

.page-title {
  padding: 4.5rem 0 3rem;
}

.page-title h1 {
  margin-bottom: 0.85rem;
}

.page-title p {
  max-width: 740px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.48;
}

.news-list {
  padding-bottom: 4rem;
}

.story {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 1.75rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.story:first-child {
  border-top: 0;
}

.story-body h2 {
  margin-bottom: 0.85rem;
  font-size: 1.45rem;
}

.story-body p {
  max-width: 760px;
}

.story-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 1.5rem;
  align-items: start;
}

.story figure {
  margin: 0;
}

.story figure img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
}

.story figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 860px) {
  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero,
  .split-section,
  .two-column,
  .story,
  .story-media {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2rem;
    padding-top: 3.8rem;
  }

  .portrait {
    order: -1;
  }

  .portrait img {
    width: 175px;
  }

  .split-section .text-link {
    grid-column: auto;
  }

  .timeline-item,
  .pub-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .section,
  .page-title {
    padding-top: 2.35rem;
    padding-bottom: 2.35rem;
  }

  .hero {
    gap: 1.45rem;
    padding-bottom: 1.2rem;
  }

  .band {
    padding-top: 1.45rem;
  }

  .hero-copy {
    max-width: 22rem;
  }

  .page-title,
  .story-body {
    max-width: 22rem;
  }

  .lede,
  .page-title p {
    font-size: 1.17rem;
  }
}
