:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #555555;
  --rule: #d9d9d9;
  --link: #1a4d8f;
  --container: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  padding: 1.25rem 0 1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-copy {
  display: block;
}

.brand-copy strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

.brand-copy span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

.main {
  padding: 1.75rem 0 3rem;
}

.intro {
  display: grid;
  grid-template-columns: 1.2fr 220px;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.intro h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 600;
}

.role {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.summary {
  margin: 0 0 1rem;
  max-width: 70ch;
}

.links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.97rem;
}

.portrait {
  width: 220px;
  justify-self: end;
}

.portrait img {
  display: block;
  width: 100%;
  border: 1px solid var(--rule);
}

.section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.section p {
  margin-top: 0;
}

.simple-list,
.news-list,
.publication-list,
.detail-list,
.student-list {
  margin: 0;
  padding-left: 1.2rem;
}

.simple-list li,
.news-list li,
.publication-list li,
.detail-list li,
.student-list li {
  margin: 0.35rem 0;
}

.publications-group {
  margin-top: 1rem;
}

.publication-list li strong {
  font-weight: 600;
}

.publication-meta {
  color: var(--muted);
}

.footer {
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-list li::marker {
  color: var(--muted);
}

@media (max-width: 760px) {
  .header-inner,
  .intro {
    grid-template-columns: 1fr;
    display: grid;
  }

  .header-inner {
    align-items: start;
  }

  .portrait {
    width: 180px;
    justify-self: start;
  }

  .site-nav {
    gap: 0.75rem 1rem;
  }
}
