* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #494e52; --link: #327f94; --line: #f0f1f2; }
body { margin: 0; background: #e8d9f8; color: var(--ink); font: 18px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { max-width: 1280px; margin: auto; padding: 22px 32px; display: flex; align-items: center; gap: 65px; }
.site-title { color: var(--ink); font-size: 20px; font-weight: 700; }
nav { display: flex; gap: 32px; }
nav a { color: #6b7176; font-size: 18px; font-weight: 600; }
nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.layout { width: 100%; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 230px minmax(0, 820px); gap: 55px; padding: 38px 32px 80px; flex: 1; align-items: start; }
.sidebar { position: sticky; top: 30px; font-size: 14px; }
.profile-photo { display: block; width: 180px; height: 180px; border-radius: 50%; object-fit: cover; padding: 5px; border: 1px solid #eee; }
.profile-name { font-size: 20px; line-height: 1.3; margin: 18px 0 8px; font-weight: 700; }
.profile-bio { font-size: 14px; line-height: 1.5; margin: 0 0 18px; }
.profile-links { list-style: none; padding: 0; margin: 0; }
.profile-links li { display: flex; align-items: center; gap: 10px; margin: 9px 0; overflow-wrap: anywhere; }
.profile-links a { color: var(--ink); }
.icon { width: 16px; height: 16px; line-height: 16px; font-size: 18px; text-align: center; flex-shrink: 0; color: #6b7176; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 24px; font-weight: 700; }
p { margin: 0 0 22px; }
h2 { font-size: 25px; line-height: 1.3; margin: 35px 0 18px; }
.news-list, .publication-list { padding-left: 25px; margin: 0; }
.news-list li { padding-left: 4px; margin-bottom: 14px; }
.publication-list li { margin-bottom: 24px; }
.site-footer { background: #b092cd;; border-top: 1px solid #e4e6e7; color: #6b7176; font-size: 13px; padding: 30px 32px; }
.site-footer div { max-width: 1216px; margin: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 8px; background: white; z-index: 2; }
.skip-link:focus { top: 5px; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 195px minmax(0,1fr); gap: 30px; padding: 30px 24px 60px; }
  .masthead-inner { padding: 20px 24px; gap: 45px; }
  body { font-size: 17px; }
  .profile-photo { width: 160px; height: 160px; }
}
@media (max-width: 640px) {
  .masthead-inner { gap: 25px; flex-wrap: wrap; padding: 18px 20px; }
  nav { gap: 22px; }
  nav a { font-size: 16px; }
  .layout { display: block; padding: 28px 20px 50px; }
  .sidebar { position: static; margin-bottom: 35px; }
  .profile-photo { width: 130px; height: 130px; }
  h1 { font-size: 28px; }
  h2 { font-size: 23px; }
}
