:root {
  --text: #24211d;
  --muted: #6d665e;
  --line: #dfd1c4;
  --link: #0000ff;
  --link-hover: #0000b8;
  --bg: #ffefd5;
  --soft: #f2e4d8;
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}
.site-shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header { padding: 46px 0 0; }
.site-title { margin: 0; font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; font-size: clamp(2.05rem, 4vw, 2.75rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; }
.site-title a { color: inherit; text-decoration: none; }
.site-affiliation { margin-top: 8px; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 0.98rem; line-height: 1.4; }
.site-affiliation a { color: inherit; text-decoration: none; }
.site-affiliation a:hover, .site-affiliation a:focus-visible { color: var(--link-hover); text-decoration: underline; text-underline-offset: 2px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 27px; margin-top: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.site-nav a { color: var(--text); text-decoration: none; font-size: 0.98rem; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: var(--link-hover); border-bottom-color: var(--link); }
main { padding: 44px 0 58px; }
.home-grid { display: grid; grid-template-columns: minmax(230px, 315px) 1fr; gap: 52px; align-items: start; }
.portrait { display: block; width: 100%; max-width: 315px; height: auto; }
.intro { padding-top: 3px; }
.intro p:first-child { margin-top: 0; }
.intro p { margin: 0 0 1.15em; }
.intro a, .content a, .paper-links a, .contact a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.intro a:hover, .content a:hover, .paper-links a:hover, .contact a:hover,
.intro a:focus-visible, .content a:focus-visible, .paper-links a:focus-visible, .contact a:focus-visible { color: var(--link-hover); }
.contact { margin-top: 35px; }
.contact h2, .page-title { font-size: 1.42rem; font-weight: 500; margin: 0 0 13px; }
.contact p { margin: 0.2em 0; }
.page-title { font-size: 1.75rem; letter-spacing: -0.015em; margin-bottom: 26px; }
.page-note { color: var(--muted); margin: -12px 0 34px; max-width: 800px; }
.paper-list { list-style: none; margin: 0; padding: 0; }
.paper { position: relative; padding: 0 0 28px 45px; margin: 0 0 27px; border-bottom: 1px solid rgba(80,64,45,.14); }
.paper::before { content: attr(data-number) "."; position: absolute; left: 0; top: 0; width: 32px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.paper-title { font-size: 1.03rem; font-weight: 600; line-height: 1.5; }
.paper-meta { margin-top: 4px; color: #37322c; }
.paper-meta strong em { font-weight: 700; }
.paper-links { margin-top: 7px; font-size: 0.93rem; color: var(--muted); }
.paper-extra { margin-top: 8px; font-size: 0.95rem; }
.abstract-toggle { appearance: none; border: 0; background: none; padding: 0; margin: 0; color: var(--link); font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; cursor: pointer; }
.abstract-toggle:hover, .abstract-toggle:focus-visible { color: var(--link-hover); text-decoration-thickness: 2px; }
.paper-abstract { margin: 14px 0 0; padding: 14px 17px; background: var(--soft); border-left: 3px solid #b99e84; font-size: 0.95rem; line-height: 1.58; }
.paper-abstract[hidden] { display: none; }
.other-texts { margin-top: 46px; }
.other-texts h2 { font-size: 1.4rem; font-weight: 500; margin-bottom: 20px; }
.other-list { list-style: none; padding: 0; margin: 0; }
.other-paper { padding: 0 0 25px; margin: 0 0 24px; border-bottom: 1px solid rgba(80,64,45,.14); }
.teaching-group { margin-bottom: 34px; }
.teaching-group h2 { margin: 0 0 10px; font-size: 1.18rem; font-weight: 600; }
.teaching-group ul { margin: 0; padding-left: 22px; }
.teaching-group li { margin: 5px 0; }
.canvas-note { margin-top: 18px; font-style: italic; }
.teaching-links p { margin-top: 0; }
@media (max-width: 700px) {
  .site-shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { padding-top: 30px; }
  .home-grid { grid-template-columns: 1fr; gap: 30px; }
  .portrait { max-width: 300px; }
  main { padding-top: 34px; }
  .paper { padding-left: 38px; }
}
@media print {
  .site-nav, .abstract-toggle { display: none; }
  body { font-size: 11pt; background: white; }
  .paper-abstract[hidden] { display: block; }
}
