:root {
  --bg: #fbfbfa;
  --text: #242424;
  --muted: #818181;
  --line: #dddddd;
  --link: #242424;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 26px 36px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 54px;
  font-size: 15px;
}

nav .brand {
  color: var(--text);
  font-weight: 700;
  margin-right: 4px;
}

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

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

.hero {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.headshot {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  background: #fbfbfa;
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

h1 {
  margin: 0;
  font-size: 58px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.tagline {
  max-width: 700px;
  margin: 0 0 56px;
  color: #5f5f5f;
  font-size: 17px;
  line-height: 1.45;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.section-title {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: #8a8a8a;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  margin-bottom: 26px;
}

.year {
  padding-top: 2px;
  color: #919191;
  font-size: 13px;
  white-space: nowrap;
}

.item h3 {
  margin: 0 0 5px;
  color: #292929;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.28;
}

.item p {
  margin: 0;
  color: #858585;
  font-size: 14px;
  line-height: 1.45;
}

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

.item a:hover {
  text-decoration: underline;
}

.page-title {
  margin: 0 0 28px;
  color: var(--text);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.interests-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 14px;
  align-items: start;
}

.left-stack {
  display: grid;
  gap: 14px;
}

.small-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card {
  background: transparent;
}

.card img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #e8e8e8;
}

.large img {
  height: 270px;
}

.small img {
  height: 205px;
}

.tall img {
  height: 513px;
}

.caption {
  margin-top: 6px;
  color: #7d7d7d;
  font-size: 13px;
}

.caption strong {
  color: #303030;
  font-weight: 500;
}

.paper-list {
  max-width: 700px;
}

.paper-entry {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.paper-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.paper-entry h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.paper-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

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

.paper-entry a:hover {
  text-decoration: underline;
}

footer {
  margin-top: 50px;
  color: var(--muted);
  font-size: 13px;
}

footer a {
  margin-right: 16px;
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

@media (max-width: 800px) {
  .wrap {
    padding: 22px 20px 38px;
  }

  nav {
    gap: 20px;
    margin-bottom: 40px;
    font-size: 15px;
  }

  .hero {
    gap: 16px;
  }

  .headshot {
    width: 78px;
    height: 78px;
  }

  h1 {
    font-size: 42px;
  }

  .tagline {
    margin-bottom: 42px;
    font-size: 16px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-title {
    font-size: 44px;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .tall img {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .small-grid {
    grid-template-columns: 1fr;
  }

  .large img,
  .small img,
  .tall img {
    height: auto;
  }
}

.soccer-photo {
  object-position: center 72%;
}
