:root {
  --bg: #ffffff;
  --text: #22252a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --link: #1f5f99;
  --link-hover: #123f69;
  --soft: #f7f8fa;
  --max-width: 860px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover, a:focus { color: var(--link-hover); text-decoration: underline; }

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}

.site-nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-name {
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: .01em;
  white-space: nowrap;
}
.site-name:hover { color: var(--text); text-decoration: none; }

.nav-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.nav-links a { color: #4b5563; font-size: 14px; }
.nav-links a:hover { color: var(--link); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; }

main.page-shell { padding: 54px 0 66px; }

.hero {
  display: grid;
  grid-template-columns: 1fr 138px;
  gap: 42px;
  align-items: start;
  margin-bottom: 52px;
}

.hero h1 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.015em;
}

.hero-subtitle {
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 15px;
}

.hero p { margin: 0 0 13px; }
.hero-links { margin-top: 18px; font-size: 14px; }
.hero-links span { color: #c2c7ce; margin: 0 7px; }

.profile-photo-wrap {
  width: 138px;
  height: 138px;
}

.profile-photo {
  width: 138px;
  height: 138px;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.section { margin: 0 0 46px; }
.section:last-child { margin-bottom: 0; }
.section-heading {
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.interest-list { display: grid; gap: 10px; }
.interest-list div { color: #3f4650; }
.interest-list strong { color: var(--text); }

.entry { margin-bottom: 28px; }
.entry:last-child { margin-bottom: 0; }
.entry-title {
  margin: 0 0 3px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 650;
}
.entry-meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}
.entry p { margin: 0 0 9px; color: #3f4650; }
.entry p:last-child { margin-bottom: 0; }
.supervisor { color: var(--muted) !important; font-size: 14px; }

.page-title {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 600;
}
.page-intro { margin: 0 0 38px; color: var(--muted); max-width: 720px; }

.subheading {
  margin: 42px 0 19px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
}
.subheading:first-of-type { margin-top: 0; }

.edu-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 28px;
  margin-bottom: 25px;
}
.edu-school { font-size: 17px; font-weight: 650; }
.edu-date { color: var(--muted); font-size: 14px; text-align: right; }
.edu-detail { grid-column: 1 / -1; color: #3f4650; margin-top: -5px; }
.edu-detail p { margin: 3px 0; }

.course-list { color: #3f4650; }

.more-link { display: inline-block; margin-top: 5px; font-size: 14px; }


.beyond-copy {
  max-width: 760px;
  margin: 0 0 18px;
  color: #3f4650;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.interest-photo {
  margin: 0;
}

.interest-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
}

.interest-photo figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 34px;
  color: var(--muted);
  font-size: 13px;
}
.footer-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; }

@media (max-width: 680px) {
  .site-nav { align-items: flex-start; flex-direction: column; padding: 17px 0; gap: 11px; }
  .nav-links { gap: 14px 18px; }
  main.page-shell { padding: 36px 0 52px; }
  .hero { grid-template-columns: 1fr; gap: 20px; margin-bottom: 42px; }
  .profile-photo-wrap { width: 108px; height: 108px; order: -1; }
  .profile-photo { width: 108px; height: 108px; }
  .photo-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero h1 { font-size: 29px; }
  .page-title { font-size: 27px; }
  .edu-entry { grid-template-columns: 1fr; gap: 2px; }
  .edu-date { text-align: left; }
  .edu-detail { grid-column: 1; margin-top: 3px; }
}
