:root {
  --page: #ffffff;
  --band: #eeeeee;
  --text: #333333;
  --muted: #666666;
  --blue: #07569a;
  --line: #d8d8d8;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.85;
}

a {
  color: inherit;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--blue);
}

.hero-header {
  padding: 54px 24px 32px;
  text-align: center;
}

.hero-header h1 {
  margin: 0;
  color: #444444;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.title-rule {
  width: min(744px, 62vw);
  height: 12px;
  margin: 16px auto 0;
  background: var(--blue);
}

.intro-band {
  background: var(--band);
  padding: 24px 24px 0;
}

.intro-layout {
  display: grid;
  grid-template-columns: 464px minmax(0, 1fr);
  gap: 38px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.portrait {
  margin: 0;
}

.profile-photo {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.intro-copy {
  padding-top: 12px;
  max-width: 650px;
}

.intro-copy p {
  margin: 0 0 24px;
}

.interest-list {
  margin: -10px 0 0;
  padding-left: 24px;
}

.contact-block {
  margin-top: 54px;
}

.contact-block h2,
.content-section h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1.25;
}

.contact-block p {
  margin-bottom: 16px;
}

.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 44px 24px;
  border-bottom: 1px solid var(--line);
}

.content-section h3 {
  margin: 0 0 22px;
  color: #333333;
  font-size: 1.22rem;
  line-height: 1.35;
}

.content-section h4 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  line-height: 1.45;
}

.authors {
  margin-top: -4px;
  color: var(--muted);
  font-style: italic;
}

.teaching-entry {
  margin-bottom: 24px;
}

.teaching-entry h3 {
  margin-bottom: 2px;
}

.teaching-entry p {
  margin: 0;
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 0;
}

.paper-links a[aria-disabled="true"] {
  color: var(--muted);
  cursor: default;
  text-decoration: none;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .intro-layout {
    grid-template-columns: 38vw minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .hero-header {
    padding-top: 38px;
  }

  .title-rule {
    width: min(520px, 72vw);
    height: 9px;
  }

  .intro-layout {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 430px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .contact-block {
    margin-top: 36px;
  }
}
