:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #151515;
  background: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }
a { color: inherit; text-decoration: none; }
a:hover { color: #555; }
a:focus-visible { outline: 2px solid #151515; outline-offset: 4px; }

.skip-link { position: absolute; top: -50px; left: 24px; padding: 10px 14px; background: #151515; color: #fff; z-index: 2; }
.skip-link:focus { top: 12px; }
.site-shell { max-width: 960px; margin: 0 auto; padding: 0 40px; }

.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e5e5e5; }
.site-name { font-size: 15px; font-weight: 600; line-height: 1.4; }
.site-mark { color: #555; font-weight: 400; white-space: nowrap; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { font-size: 13px; }

.introduction { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: center; gap: 64px; padding: 94px 0 106px; }
h1, h2, p { margin: 0; }
h1 { font-size: 42px; font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.intro-role { margin-top: 12px; font-size: 14px; line-height: 1.5; color: #555; }
.intro-bio { max-width: 600px; margin-top: 30px; font-size: 15px; line-height: 1.7; color: #555; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.profile-links a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #d9d9d9; border-radius: 50%; }
.profile-links a:hover { border-color: #999; }
.profile-links img { display: block; width: 24px; height: 24px; object-fit: contain; }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }

.content-section { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px; padding: 30px 0 108px; border-top: 1px solid #d9d9d9; scroll-margin-top: 24px; }
h2 { font-size: 15px; line-height: 1.5; font-weight: 600; }
.highlights-section { display: block; padding-bottom: 88px; }
.highlights-section .section-heading { margin-bottom: 22px; }
.highlight-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.highlight-list li { min-width: 0; }
.highlight-list a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #e5e5e5; }
.highlight-list a:hover { border-color: #999; }
.highlight-media { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-bottom: 1px solid #e5e5e5; flex: none; }
.highlight-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.highlight-image-reducibility { object-position: right center; transform: scale(1.38); transform-origin: right bottom; }
.highlight-image-coarse { object-position: 25% center; }
.highlight-image-diversity { object-position: right center; transform: scale(1.22); transform-origin: right center; }
.highlight-list .article-arrow { align-self: flex-end; margin-top: auto; padding: 18px; }
.highlight-detail { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 0; }
.highlight-meta { color: #777; font-size: 12px; }
.highlight-title { font-size: 17px; font-weight: 500; line-height: 1.45; }
.article-list { list-style: none; margin: -9px 0 0; padding: 0; }
.article-list li { border-bottom: 1px solid #e8e8e8; }
.article-list a { display: grid; grid-template-columns: 48px 76px minmax(0, 1fr) 18px; gap: 14px; align-items: center; padding: 16px 0; }
.article-media { display: block; width: 76px; aspect-ratio: 1; overflow: hidden; border: 1px solid #eaeaea; background: #fff; }
.article-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-image-reducibility { object-position: right center; transform: scale(1.38); transform-origin: right bottom; }
.article-image-tuning { object-position: right center; }
.article-image-viruses { object-position: 15% center; }
.article-year, .article-venue { color: #777; font-size: 12px; }
.article-detail { display: flex; flex-direction: column; gap: 7px; }
.article-title { font-size: 15px; font-weight: 500; line-height: 1.48; }
.article-arrow { font-size: 15px; text-align: right; color: #777; }
.all-publications { display: inline-flex; gap: 10px; margin-top: 24px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 13px; }

.essays-section { padding-bottom: 130px; }
.essays-section p { color: #777; font-size: 14px; line-height: 1.7; }

.site-footer { padding: 28px 0 42px; border-top: 1px solid #e5e5e5; font-size: 12px; color: #777; }

@media (max-width: 700px) {
  .site-shell { padding: 0 24px; }
  .introduction { grid-template-columns: minmax(0, 1fr) 190px; gap: 32px; padding: 78px 0 84px; }
  h1 { font-size: 36px; }
  .content-section { grid-template-columns: 1fr; gap: 26px; padding-bottom: 86px; }
  .highlight-list { gap: 10px; }
  .highlight-detail { padding: 14px 14px 0; }
  .highlight-list .article-arrow { padding: 14px; }
  .highlight-meta { font-size: 11px; }
  .highlight-title { font-size: 14px; line-height: 1.4; }
  .article-list { margin-top: 0; }
}

@media (max-width: 560px) {
  .introduction { grid-template-columns: 1fr; gap: 30px; }
  .portrait { order: -1; width: 190px; }
}

@media (max-width: 480px) {
  .site-header { height: auto; min-height: 72px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 0; }
  .site-header nav { gap: 20px; }
  .highlight-list { gap: 8px; }
  .highlight-detail { padding: 11px 11px 0; }
  .highlight-meta { font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
  .highlight-title { font-size: 12px; line-height: 1.35; }
  .highlight-list .article-arrow { padding: 11px; }
  .article-list a { grid-template-columns: 38px 62px minmax(0, 1fr) 14px; gap: 9px; }
  .article-media { width: 62px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
