:root {
  --ink: #292929;
  --muted: #777;
  --link: #2867e8;
  --rule: #e3e3e3;
  --max-width: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
p, h1, h2 { margin-top: 0; }
.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;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 7px 10px;
  color: #fff;
  background: #222;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  min-height: 38px;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
}
.header-inner {
  width: min(calc(100% - 32px), var(--max-width));
  min-height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { color: #252525; font-size: 15px; font-weight: 700; white-space: nowrap; }
.brand:hover { text-decoration: none; }
nav { display: flex; align-items: stretch; gap: 20px; align-self: stretch; }
nav a {
  display: flex;
  align-items: center;
  color: #37465a;
  font-size: 10px;
  border-bottom: 2px solid transparent;
}
nav a.active { color: var(--link); border-bottom-color: var(--link); }
nav a:hover { color: var(--link); text-decoration: none; }
.profile-layout {
  width: min(calc(100% - 24px), var(--max-width));
  margin: 0 auto;
  padding: 46px 0 24px;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 28px;
}
.identity { text-align: center; }
.portrait-frame {
  width: 145px;
  height: 145px;
  margin: 0 auto 14px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}
.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.28);
}
.identity h1 {
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -.02em;
}
.role { margin-bottom: 1px; color: var(--muted); font-size: 14px; }
.institution { display: block; max-width: 205px; margin: 0 auto; font-size: 13px; line-height: 1.38; }
.profile-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
}
.profile-links a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  transition: background-color 150ms ease, transform 150ms ease;
}
.profile-links a:hover,
.profile-links a:focus-visible {
  background: #edf3ff;
  text-decoration: none;
  transform: translateY(-1px);
}
.profile-links img {
  display: block;
  width: 23px;
  height: 23px;
}
.content { min-width: 0; }
.intro { max-width: 720px; font-size: 13px; line-height: 1.58; }
.intro p { margin-bottom: 12px; }
.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 38px;
  margin-top: 30px;
}
.content h2 { margin-bottom: 8px; font-size: 18px; line-height: 1.25; font-weight: 700; }
.content ul { margin: 0; padding-left: 20px; }
.content li { margin: 1px 0; }
.education-item { position: relative; padding-left: 18px; }
.education-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
}
.education-item p { margin-bottom: 1px; color: var(--muted); font-size: 11px; }
.education-item .degree { color: var(--ink); font-size: 12px; }
.contact { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); }
.contact p { margin-bottom: 0; }
.site-footer {
  width: min(calc(100% - 24px), var(--max-width));
  margin: 12px auto 0;
  padding: 18px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #888;
  font-size: 12px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 760px) {
  .details-grid { gap: 28px; }
}
@media (max-width: 620px) {
  .site-header, .header-inner { min-height: 48px; }
  .header-inner { width: min(calc(100% - 24px), var(--max-width)); justify-content: space-between; }
  .brand { font-size: 17px; }
  nav { gap: 12px; }
  nav a { font-size: 11px; }
  .profile-layout { width: min(calc(100% - 32px), var(--max-width)); display: block; padding-top: 30px; }
  .identity { margin-bottom: 34px; }
  .portrait-frame { width: 145px; height: 145px; margin-bottom: 16px; }
  .identity h1 { font-size: 25px; }
  .intro { font-size: 15px; }
  .site-footer { width: min(calc(100% - 32px), var(--max-width)); flex-direction: column; gap: 5px; }
}
@media (max-width: 390px) {
  .brand { font-size: 15px; }
  nav { gap: 9px; }
  nav a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
