:root {
  --page: #faf9f6;
  --ink: #252c30;
  --muted: #657074;
  --accent: #236b63;
  --line: #dedfd9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
strong, b { font-weight: 600; }
.page { width: min(100% - 96px, 1040px); margin: 0 auto; }
.skip-link { position: absolute; left: 20px; top: -80px; padding: 10px 18px; background: white; z-index: 2; }
.skip-link:focus { top: 12px; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 208px; gap: 64px; align-items: center; padding: 60px 0 48px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 5vw, 62px); line-height: 1.1; font-weight: 400; letter-spacing: -2px; }
.affiliation { margin-top: 12px; color: var(--muted); font-size: 16px; }
.bio { margin-top: 22px; line-height: 1.85; }
.research-focus { margin-top: 18px; line-height: 1.85; }
.research-focus > strong { color: var(--accent); }
.publication-note { margin: -8px 0 25px; font-size: 12px; color: var(--muted); }
.publication-note span { display: block; margin-top: 4px; }
.portrait { width: 208px; height: 240px; object-fit: cover; border-radius: 5px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 22px; font-size: 13px; font-weight: 600; }
.profile-links span, .paper-links span { margin-left: 4px; font-size: 12px; }
.section { padding-top: 30px; margin-bottom: 34px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 400; letter-spacing: -.6px; line-height: 1.3; }
.section-link { font-size: 12px; white-space: nowrap; }
.news-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.news-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; }
.news-archive { margin-top: 16px; }
.news-archive summary { width: fit-content; color: var(--accent); font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 0; }
.news-archive summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-archive summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.news-archive .hide-older { display: none; }
.news-archive[open] .show-older { display: none; }
.news-archive[open] .hide-older { display: inline; }
.news-archive[open] .news-list { margin-top: 10px; }
time, .record-date { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
time { padding-top: 3px; }
.publication { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.publication:first-of-type { padding-top: 0; }
.publication:last-child { border-bottom: 0; padding-bottom: 0; }
.paper-image { display: flex; justify-content: center; align-items: center; align-self: start; min-height: 140px; padding: 9px; background: #fff; border: 1px solid #e8e9e3; border-radius: 4px; }
.paper-image img { width: 100%; height: 124px; object-fit: contain; }
h3 { font-size: 16px; font-weight: 600; line-height: 1.45; }
.authors { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.65; }
.authors b { color: var(--ink); }
.venue { margin-top: 5px; color: var(--accent); font-size: 13px; font-weight: 500; }
.paper-summary { margin-top: 10px; font-size: 13px; line-height: 1.75; color: #586166; }
.paper-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.paper-links a { padding: 3px 10px; border: 1px solid #cddbd5; border-radius: 3px; font-size: 11px; font-weight: 600; background: #f2f6f1; }
.paper-links a:hover { background: #e6eee7; text-decoration: none; }
.background-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.record-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 21px; }
.record-list h3 { margin: 3px 0; font-size: 15px; }
.record-list h3.company-name { font-weight: 400; }
.record-list p { color: var(--muted); font-size: 13px; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 14px; }
.plain-list li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; }
.plain-list span { color: var(--muted); }
.contact { padding: 28px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact h2 { margin-bottom: 10px; }
.back-to-top { font-size: 12px; color: var(--muted); }
footer { padding: 22px 0 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 11px; }
@media (max-width: 760px) {
  .page { width: calc(100% - 48px); }
  .profile { grid-template-columns: minmax(0, 1fr) 150px; gap: 28px; padding-top: 40px; }
  .portrait { width: 150px; height: 180px; }
  .bio, .research-focus { font-size: 14px; }
  .publication { grid-template-columns: 160px minmax(0, 1fr); gap: 20px; }
  .paper-image { min-height: 110px; }
  .paper-image img { height: 100px; }
  .background-grid { gap: 28px; }
}
@media (max-width: 540px) {
  .page { width: calc(100% - 36px); }
  .profile { grid-template-columns: minmax(0, 1fr) 90px; align-items: start; gap: 18px; padding: 32px 0; }
  .profile-copy { display: contents; }
  h1, .affiliation { grid-column: 1; }
  h1 { grid-row: 1; font-size: 44px; margin-top: 6px; }
  .affiliation { grid-row: 2; font-size: 12px; margin-top: 0; }
  .portrait { grid-column: 2; grid-row: 1 / 3; width: 90px; height: 112px; }
  .bio, .research-focus, .profile-links { grid-column: 1 / -1; margin-top: 0; }
  .profile-links { gap: 12px 21px; font-size: 12px; }
  .section { padding-top: 24px; margin-bottom: 28px; }
  h2 { font-size: 26px; }
  .section-heading { gap: 12px; margin-bottom: 20px; }
  .section-link { font-size: 11px; }
  #publication .section-heading { flex-wrap: wrap; gap: 6px; }
  .news-list { font-size: 13px; gap: 11px; }
  .news-list li { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .publication { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .paper-image { min-height: 0; width: 100%; padding: 12px; }
  .paper-image img { height: 155px; }
  .paper-content h3 { font-size: 16px; }
  .paper-links a { padding: 7px 12px; }
  .background-grid { grid-template-columns: 1fr; gap: 0; }
  .plain-list li { grid-template-columns: 1fr; gap: 2px; }
  .contact { align-items: end; gap: 12px; }
  .contact > div > a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
