:root {
  --text: #172033;
  --muted: #5f6b7a;
  --line: #d8dee8;
  --link: #174a7c;
  --bg-soft: #f6f8fb;
  --max: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 54px 0 42px;
}

.intro-text {
  max-width: 760px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.role {
  margin-bottom: 18px;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 650;
}

.lead {
  max-width: 760px;
  margin-bottom: 18px;
  color: #2a3444;
  font-size: 1.08rem;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-line span::before,
.contact-line a + span::before,
.contact-line span + a::before {
  color: var(--muted);
}

.portrait {
  width: 132px;
  height: 132px;
  flex: 0 0 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

main {
  padding-top: 18px;
}

section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

h2 {
  margin-bottom: 16px;
  font-size: 1.42rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.35;
}

p {
  margin-bottom: 14px;
}

ul,
ol {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

li {
  margin-bottom: 11px;
}

li:last-child {
  margin-bottom: 0;
}

.focus-list {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 12px 28px;
}

.focus-list dt {
  font-weight: 700;
}

.focus-list dd {
  margin: 0;
  color: #2b3545;
}

.publications li {
  margin-bottom: 16px;
}

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

.entry {
  margin-bottom: 22px;
}

.entry:last-child {
  margin-bottom: 0;
}

.entry p:last-child {
  margin-bottom: 0;
}

.compact li {
  margin-bottom: 8px;
}

.footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .intro {
    align-items: flex-start;
    padding: 38px 0 30px;
  }

  .portrait {
    width: 84px;
    height: 84px;
    flex-basis: 84px;
  }

  .focus-list {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  .focus-list dd {
    margin-bottom: 16px;
  }
}

@media (max-width: 520px) {
  .intro {
    display: block;
  }

  .portrait {
    margin-top: 24px;
  }
}
