:root {
  --bg: #fbfaf8;
  --text: #1e1e1e;
  --muted: #66615b;
  --line: #ded8cf;
  --accent: #6d3f1f;
  --accent-soft: #f0e5dc;
  --card: #fff;
  --max: 900px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 155px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.6 Georgia, "Times New Roman", serif; }
a { color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 8px 16px; background: white; z-index: 20; }
.skip-link:focus { top: 8px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.banner { max-width: var(--max); margin: auto; padding: 18px 24px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 1.2rem; font-weight: bold; color: var(--text); text-decoration: none; }
.contact-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .94rem; }
.tabs { display: flex; max-width: var(--max); margin: auto; padding: 0 24px; gap: 28px; }
.tabs a { padding: 10px 0 12px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; font-size: 1rem; }
.tabs a:hover { color: var(--accent); }
.tabs a[aria-current="page"] { color: var(--accent); border-color: var(--accent); font-weight: bold; }
.page { max-width: var(--max); margin: auto; padding: 38px 24px 54px; min-height: calc(100vh - 120px); }
.profile { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.portrait { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: var(--accent-soft); }
h1 { margin: 0 0 14px; font-size: 2.45rem; line-height: 1.15; letter-spacing: -.03em; }
.profile h1 { margin-bottom: 10px; }
.subtitle { margin: 0; color: var(--muted); font-size: 1.03rem; }
.page-title { margin-bottom: 0; }
section { padding: 28px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
h2 { margin: 0 0 14px; font-size: 1.28rem; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
ul { margin: 0; padding-left: 1.1em; }
li { margin: 0 0 10px; }
.paper, .talk { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 14px 0; }
.title { font-weight: bold; }
.meta { color: var(--muted); font-size: .96rem; margin-top: 2px; }
.links { margin-top: 8px; font-size: .96rem; }
.links a { margin-right: 12px; }
.summary { margin: 8px 0 0; font-size: .96rem; }
.small { color: var(--muted); font-size: .95rem; }
#news { padding-top: 0; }
.news-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item > time { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 6px; }
.news-item h2 { margin-bottom: 8px; }
.news-item p { margin: 0; }
footer { padding-top: 30px; color: var(--muted); font-size: .92rem; }
@media (max-width: 650px) {
  body { font-size: 17px; }
  .banner { padding: 12px 18px 8px; flex-wrap: wrap; gap: 4px 16px; }
  .brand { font-size: 1.1rem; }
  .contact-links { gap: 14px; font-size: .88rem; }
  .tabs { padding: 0 18px; gap: 0; justify-content: space-between; }
  .tabs a { font-size: .9rem; padding: 10px 0; }
  .page { padding: 28px 18px 40px; }
  .profile { grid-template-columns: 1fr; gap: 18px; padding-bottom: 26px; }
  .portrait { width: 122px; height: 122px; }
  h1 { font-size: 2rem; }
  .paper, .talk { padding: 16px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
