:root {
  color-scheme: light;
  --paper: #f9f8f4;
  --ink: #252d2a;
  --muted: #646b64;
  --green: #285548;
  --line: #d8dcd3;
  --soft: #eef0e9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; border-top: 3px solid var(--green); background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #dbe5d9; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #102f27; text-decoration-color: currentColor; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; border-radius: 1px; }
a span[aria-hidden] { display: inline-block; margin-left: .3em; }
img { max-width: 100%; height: auto; }
p, h1, h2, h3, ul, dl { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(48px, 5.5vw, 72px); line-height: 1.07; letter-spacing: -.045em; margin-bottom: 26px; }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 18px; }
h3 { font-size: 25px; line-height: 1.35; letter-spacing: -.015em; }
.container { width: min(1100px, calc(100% - 112px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 32px 30px; border-bottom: 1px solid var(--line); }
.site-name { font: 25px/1.2 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -.025em; }
.site-name span { display: block; font: 12px/1.6 var(--sans); letter-spacing: .01em; color: var(--muted); margin-top: 6px; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 14px; padding-block: 12px; border-bottom: 1px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--green); border-bottom-color: var(--green); }
.site-header nav a[aria-current] { font-weight: 600; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--green); font-weight: 600; margin-bottom: 22px; }
.standfirst { font: 24px/1.55 var(--serif); letter-spacing: -.012em; max-width: 700px; margin-bottom: 28px; }
.prose { font-size: 16px; line-height: 1.8; }
.prose p { margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { text-decoration-color: #aabbb0; }
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) 258px; gap: 90px; padding-block: 64px 62px; }
.about-intro .standfirst { max-width: 635px; }
.profile { padding-top: 7px; }
.portrait { display: block; width: 258px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; border-radius: 2px; filter: saturate(.78); }
.contact-block { font-size: 13px; padding-top: 24px; }
.contact-block > a { display: block; width: fit-content; margin-bottom: 7px; text-decoration: none; }
.contact-block > a:hover { text-decoration: underline; }
address { font-style: normal; color: var(--muted); line-height: 1.75; margin-top: 20px; font-size: 12px; }
.text-links { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 28px; }
.text-links a, .text-link { font-size: 14px; font-weight: 500; text-decoration: none; }
.text-links a:hover, .text-link:hover { text-decoration: underline; }
.section-row { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 60px; border-top: 1px solid var(--line); padding-block: 44px 50px; }
.section-label .eyebrow { margin-bottom: 12px; }
.section-note { font-size: 13px; color: var(--muted); max-width: 200px; }
.small-link { font-size: 13px; text-decoration: none; }
.small-link:hover { text-decoration: underline; }
.news-item + .news-item { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 26px; }
.news-item time { display: block; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.news-item h3 { font-size: 22px; margin-bottom: 9px; }
.news-item h3 a { color: var(--ink); text-decoration: none; }
.news-item h3 a:hover { color: var(--green); text-decoration: underline; }
.news-item h3 a span { font: 17px var(--sans); color: var(--green); }
.news-item p { font-size: 14px; color: var(--muted); margin-bottom: 0; max-width: 630px; }
.elsewhere { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 16px; font-size: 14px; }
summary { cursor: pointer; color: var(--green); }
.plain-links { padding-left: 19px; margin: 14px 0 0; }
.plain-links li + li { margin-top: 7px; }
.page-intro { padding-block: 62px 46px; }
.page-intro .standfirst { margin-bottom: 0; }
.research-overview { padding-top: 34px; }
.research-topics { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 25px; color: var(--muted); font-size: 12px; }
.research-topics span { border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.pub-year { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 20px; }
.pub-year + .pub-year { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.pub-year h3 { font: 13px/1.6 var(--sans); color: var(--muted); padding-top: 3px; }
.pub-year ol { list-style: none; margin: 0; padding: 0; }
.pub-year li + li { margin-top: 24px; }
.pub-title { display: inline; font: 19px/1.4 var(--serif); color: var(--ink); text-decoration: none; }
.pub-title:hover { color: var(--green); text-decoration: underline; }
.pub-authors, .pub-venue { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 5px 0 0; }
.pub-authors + .pub-venue { margin-top: 1px; }
.earlier-publications { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 20px; }
.earlier-publications > summary { font-size: 14px; }
.earlier-publications[open] > summary { margin-bottom: 30px; }
.category-links { columns: 2; column-gap: 30px; padding-left: 18px; font-size: 13px; margin-top: 20px; }
.category-links li { break-inside: avoid; padding-left: 3px; margin-bottom: 10px; }
.section-nav { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 30px; font-size: 13px; }
.section-nav a { text-decoration: none; border-bottom: 1px solid #aabbb0; padding-block: 5px; }
.section-nav a:hover { border-bottom-color: var(--green); }
.project-section { border-top: 1px solid var(--line); display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 60px; padding-block: 50px 56px; }
.project-logo { display: block; width: 64px; height: 64px; object-fit: contain; margin-bottom: 20px; }
.matcha-logo { width: 72px; height: 72px; margin-top: -4px; margin-left: -4px; margin-bottom: 16px; }
.project-identity h2 { font-size: 31px; margin-bottom: 8px; }
.project-category { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.role { color: var(--green); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; margin: 0 0 18px; }
.project-content h3 { font-size: 32px; line-height: 1.25; margin-bottom: 22px; }
.project-content .text-link { display: inline-block; margin-top: 24px; }
.lettermark { width: 64px; height: 64px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; background: var(--soft); font: 44px/1 var(--serif); color: var(--green); border-radius: 2px; }
.philai-mark span { font: 12px var(--sans); margin: 17px 0 0 2px; }
.phil-mark { font-size: 27px; background: #ebece8; }
.phil-mark span { color: #7f7053; font-size: 35px; margin-top: -10px; }
.project-directory { margin-top: 28px; }
.project-directory > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding-block: 17px; border-top: 1px solid var(--line); }
.project-directory dt { font: 18px/1.5 var(--serif); }
.project-directory dt a { text-decoration: none; }
.project-directory dt a:hover { text-decoration: underline; }
.project-directory dt span { font: 12px var(--sans); }
.project-directory dd { font-size: 13px; color: var(--muted); margin: 0; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid var(--line); padding-block: 26px 32px; font-size: 11px; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--green); color: white; padding: 10px 20px; z-index: 10; }
.skip-link:focus { top: 12px; }
@media (max-width: 960px) {
  .container { width: calc(100% - 72px); }
  .about-intro { grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; }
  .section-row, .project-section { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .standfirst { font-size: 22px; }
  .project-directory > div { grid-template-columns: 1fr; gap: 3px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .site-header { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 25px 0; }
  .site-header nav { gap: 28px; }
  .site-header nav a { padding-block: 0 15px; }
  h1 { font-size: clamp(44px, 10vw, 60px); }
  .about-intro { display: flex; flex-direction: column; gap: 36px; padding-block: 38px; }
  .profile { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 24px; padding-top: 0; }
  .portrait { width: 100%; }
  .contact-block { padding-top: 0; font-size: 12px; }
  address { font-size: 11px; margin-top: 12px; }
  .section-row, .project-section { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 38px; }
  .section-label h2 br { display: none; }
  .section-label h2 { margin-bottom: 0; }
  .section-note { max-width: 100%; margin-block: 14px 8px; }
  .section-note br { display: none; }
  .page-intro { padding-block: 38px 32px; }
  .standfirst { font-size: 22px; }
  .project-identity { position: relative; min-height: 80px; padding-left: 88px; }
  .project-logo, .lettermark { position: absolute; left: 0; top: 0; }
  .project-identity h2 { font-size: 29px; }
  .project-identity h2 br { display: none; }
  .project-content h3 { font-size: 29px; }
  .project-content h3 br { display: none; }
  .project-directory > div { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
  .role { font-size: 10px; }
  .category-links { columns: 1; }
  .site-footer { justify-content: flex-start; font-size: 10px; gap: 6px 20px; }
}
@media (max-width: 380px) {
  .profile { grid-template-columns: 1fr; }
  .portrait { width: 180px; }
  .project-directory > div { grid-template-columns: 1fr; gap: 3px; }
  .pub-year { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; color: black; border: 0; }
  .container { width: 100%; }
  .site-header nav, .section-nav, .skip-link, .site-footer { display: none; }
  a { color: inherit; }
  .page-intro, .about-intro, .section-row, .project-section { padding-block: 22px; }
  .project-section, .pub-year li { break-inside: avoid; }
  .earlier-publications::details-content { content-visibility: visible; display: block; }
}
