@import url('fonts.css');

:root {
  --paper: #faf9f5;
  --ink: #282c26;
  --muted: #73766b;
  --green: #315b45;
  --line: #e1e2d9;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.8; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #111e14; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
p { margin: 0 0 17px; }
img { max-width: 100%; display: block; }
::selection { background: #dde5d3; }
.site-header { border-bottom: 1px solid var(--line); }
.nav { max-width: 1120px; margin: auto; padding: 23px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { font-family: var(--serif); font-size: 24px; line-height: 1; letter-spacing: -.6px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.navlinks { display: flex; align-items: center; gap: 30px; }
.navlinks a { color: var(--muted); font-size: 12px; text-decoration: none; line-height: 1.5; }
.navlinks a[aria-current=page] { color: var(--green); }
.navlinks a[aria-current=page]::after { content: ''; display: block; height: 2px; width: 14px; background: var(--green); margin-top: 5px; margin-bottom: -7px; }
.navlinks a:hover { color: var(--green); }
.navlinks .cv { color: var(--green); border: 1px solid #cdd5c7; border-radius: 4px; padding: 5px 12px; }
main { max-width: 1120px; margin: auto; padding: 0 40px 80px; min-height: calc(100vh - 170px); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 65px; align-items: center; padding: 76px 0 60px; }
.kicker { color: var(--green); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; margin: 0 0 19px; }
h1, h2, h3 { font-weight: 400; }
h1 { font-family: var(--serif); font-size: clamp(54px, 5.6vw, 74px); line-height: 1.05; letter-spacing: -2.8px; margin: 0 0 12px; }
.role { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.intro { max-width: 650px; font-size: 15px; line-height: 1.85; }
.intro p:last-child { margin-bottom: 0; }
.links { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 27px; }
.links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 12px; }
.links svg { width: 13px; height: 13px; opacity: .75; }
.hero-art { margin: 0; align-self: center; }
.hero-art .art-frame { overflow: hidden; border-radius: 50% 50% 3px 3px; border: 1px solid #e1e6da; background: #f1f3ec; aspect-ratio: 1 / 1.16; display: flex; align-items: center; }
.hero-art .art-frame img { width: 100%; height: auto; transform: scale(1.1); }
.hero-art figcaption { font-size: 10px; color: var(--muted); text-align: center; margin-top: 12px; letter-spacing: .025em; }
.hero-art.portrait .art-frame { aspect-ratio: 4 / 5; border-radius: 7px; }
.hero-art.portrait img { object-fit: cover; width: 100%; height: 100%; transform: none; }
.research-line { display: flex; gap: 24px; align-items: baseline; padding: 21px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.research-line h2 { font-size: 10px; font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0; flex-shrink: 0; }
.topics { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.topics span { font-size: 12px; color: #4e5d48; }
.topics span + span::before { content: '·'; color: #9da795; margin-right: 24px; }
.publications-section { margin: 54px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 30px; }
h2 { font-family: var(--serif); font-size: 33px; letter-spacing: -.7px; line-height: 1.2; margin: 0; }
.section-head > a { font-size: 11px; text-decoration: none; white-space: nowrap; }
.section-head > a span { margin-left: 8px; }
.paper { display: grid; grid-template-columns: 245px minmax(0,1fr); align-items: center; gap: 34px; padding: 28px 0; border-top: 1px solid var(--line); }
.paper:first-child { border-top: 0; padding-top: 0; }
.paper-figure { display: flex; align-items: center; justify-content: center; background: #f2f3ed; border: 1px solid #e6e7df; border-radius: 5px; aspect-ratio: 1.6; overflow: hidden; }
.paper-figure img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.paper-figure:hover img { transform: scale(1.025); }
.paper-figure.ssm { background: #fff; padding: 14px; }
.paper-meta { font-size: 10px; line-height: 1.5; color: var(--muted); margin-bottom: 9px; display: flex; gap: 8px; flex-wrap: wrap; }
.paper-meta .venue { color: var(--green); }
.paper h3 { font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: -.35px; margin: 0 0 9px; }
.paper h3 a { color: var(--ink); text-decoration: none; }
.paper h3 a:hover { color: var(--green); }
.authors { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 0 0 8px; }
.authors strong { font-weight: 500; color: var(--ink); }
.paper-description { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0; }
.paper .links { margin-top: 13px; gap: 17px; }
.paper .links a { font-size: 11px; border-bottom: 1px solid #cdd4c5; line-height: 1.8; }
.lower-grid { display: grid; grid-template-columns: 1fr; gap: 64px; padding-top: 37px; border-top: 1px solid var(--line); margin-top: 28px; }
.lower-grid h2 { font-size: 29px; margin-bottom: 19px; }
.lower-grid p { font-size: 13px; color: var(--muted); }
.lower-grid .small-link { font-size: 11px; text-decoration: none; }
.empty-note { margin-top: 24px; border-left: 2px solid #cad3bf; padding-left: 20px; }
.empty-note p { margin-bottom: 6px; }
.empty-note .subtle { font-size: 12px; color: #767a70; }
.contact-strip { margin-top: 46px; padding: 24px 0; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 25px; }
.contact-strip p { font-family: var(--serif); font-size: 23px; margin: 0; letter-spacing: -.3px; }
.contact-strip a { font-size: 12px; text-decoration: none; }
footer { max-width: 1040px; margin: auto; padding: 25px 0 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; }
footer a { color: var(--muted); text-decoration: none; }
footer .footer-links { display: flex; gap: 20px; }
.page-intro { padding-top: 65px; margin-bottom: 45px; }
.page-intro h1 { font-size: 56px; letter-spacing: -1.8px; margin-bottom: 20px; }
.page-intro p:not(.kicker) { max-width: 600px; color: var(--muted); font-size: 14px; }
.contact-layout { max-width: 760px; }
.contact-grid { margin: 0; }
.contact-item { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 15px; }
.contact-item dt { font-size: 11px; color: var(--muted); }
.contact-item dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.contact-item a { text-decoration: none; }
.contact-aside { background: #f0f2eb; border-radius: 5px; padding: 30px; height: fit-content; }
.contact-aside h2 { font-size: 26px; margin-bottom: 18px; }
.contact-aside p { font-size: 13px; color: var(--muted); margin: 0; }
.writing-empty { padding: 40px 0 60px; border-top: 1px solid var(--line); max-width: 680px; }
.writing-empty h2 { font-size: 30px; margin-bottom: 15px; }
.writing-empty p { font-size: 14px; color: var(--muted); }
.note-row { display: grid; grid-template-columns: 100px 1fr; gap: 30px; border-top: 1px solid var(--line); padding: 27px 0; text-decoration: none; }
.note-row time { color: var(--muted); font-size: 12px; }
.note-row h2 { font-size: 27px; margin-bottom: 10px; }
.note-row p { color: var(--muted); font-size: 13px; }
.prose { max-width: 730px; font-size: 16px; }
.prose h2 { margin: 35px 0 17px; }
.prose pre { overflow: auto; background: #eff1e9; padding: 20px; border-radius: 4px; }
.prose code { font-size: 13px; }
.prose blockquote { border-left: 2px solid var(--green); padding-left: 20px; margin-left: 0; color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.skip { position: absolute; left: 10px; top: -80px; z-index: 2; padding: 10px; background: var(--paper); }
.skip:focus { top: 10px; }
@media (min-width: 1500px) { .hero { padding-top: 95px; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0,1fr) 220px; gap: 35px; padding-top: 55px; }
  .hero-art .art-frame { aspect-ratio: 1; }
  .paper { grid-template-columns: 200px minmax(0,1fr); gap: 27px; }
  .lower-grid { gap: 35px; }
  footer { margin: 0 40px; }
}
@media (max-width: 640px) {
  .nav { padding: 21px 23px; gap: 22px; flex-wrap: wrap; }
  .brand { font-size: 25px; }
  .navlinks { width: 100%; justify-content: space-between; gap: 12px; }
  .navlinks a { font-size: 11px; }
  .navlinks .cv { padding: 3px 9px; }
  main { padding: 0 23px 45px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding: 45px 0 32px; gap: 30px; }
  h1 { font-size: 58px; letter-spacing: -2px; }
  .role { font-size: 12px; margin-bottom: 23px; }
  .intro { font-size: 14px; }
  .hero-art { width: 100%; }
  .hero-art .art-frame { border-radius: 5px; aspect-ratio: 2.1; }
  .hero-art .art-frame img { transform: none; }
  .hero-art figcaption { display: none; }
  .hero-art.portrait { width: 160px; order: -1; }
  .hero-art.portrait .art-frame { aspect-ratio: 4/5; }
  .links { gap: 22px; }
  .research-line { flex-direction: column; gap: 8px; padding: 17px 0; }
  .topics { gap: 6px 15px; }
  .topics span { font-size: 11px; }
  .topics span + span::before { margin-right: 15px; }
  .publications-section { margin-top: 34px; }
  h2 { font-size: 30px; }
  .section-head { gap: 14px; margin-bottom: 24px; }
  .section-head > a { font-size: 10px; }
  .paper { grid-template-columns: 1fr; gap: 20px; padding: 27px 0; }
  .paper-figure { aspect-ratio: 2; }
  .paper h3 { font-size: 17px; }
  .paper-meta { font-size: 10px; }
  .paper-description { font-size: 13px; }
  .lower-grid { grid-template-columns: 1fr; gap: 35px; margin-top: 15px; padding-top: 30px; }
  .contact-strip { flex-direction: column; gap: 8px; margin-top: 30px; }
  footer { margin: 0 23px; flex-wrap: wrap; gap: 12px; }
  .page-intro { padding-top: 40px; margin-bottom: 30px; }
  .page-intro h1 { font-size: 47px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .note-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .paper-figure img { transition: none; } }
.navlinks a, .section-head h2 { white-space: nowrap; }
.section-head h2 { flex-shrink: 0; }
.contact-strip p { flex-shrink: 0; }
.topics { flex: 1; }
.navlinks { flex-shrink: 0; }
.contact-strip p { white-space: nowrap; }
@media (max-width: 640px) {
  .section-head { flex-wrap: wrap; gap: 10px; }
  .contact-strip p { white-space: normal; }
}

.news-section { margin-top: 45px; }
.news-section .section-head { margin-bottom: 23px; }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 25px; padding: 17px 0; border-top: 1px solid var(--line); }
.news-item time { font-size: 11px; color: var(--muted); line-height: 1.8; padding-top: 2px; font-variant-numeric: tabular-nums; }
.news-heading { display: flex; align-items: baseline; gap: 15px; flex-wrap: wrap; }
.news-heading h3 { font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.6; margin: 0; letter-spacing: -.15px; }
.news-heading h3 a { text-decoration: none; color: var(--ink); }
.news-heading h3 a:hover { color: var(--green); }
.news-heading h3 a span { font-size: 11px; color: var(--green); padding-left: 4px; }
.news-category { font-size: 9px; letter-spacing: .06em; color: var(--muted); }
.news-category.contribution { color: var(--green); }
.news-copy p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 5px 0 0; }
@media (max-width: 640px) {
  .news-section { margin-top: 32px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .news-item time { font-size: 10px; padding: 0; }
  .news-copy p { font-size: 13px; }
}

.research-columns { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 42px; align-items: start; margin-top: 48px; }
.research-columns .publications-section, .research-columns .news-section { margin-top: 0; }
.research-columns .paper { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: start; }
.releases-sidebar { border-left: 1px solid var(--line); padding-left: 24px; }
.releases-sidebar h2 { font-size: 25px; letter-spacing: -.45px; }
.releases-sidebar .section-head { margin-bottom: 23px; }
.releases-sidebar .news-item { grid-template-columns: 1fr; gap: 7px; padding: 18px 0; }
.releases-sidebar .news-heading { gap: 8px 12px; }
.releases-sidebar .news-heading h3 { font-size: 14px; }
.releases-sidebar .news-copy p { font-size: 11px; line-height: 1.9; }
.releases-sidebar .news-category { font-size: 8px; }
@media (max-width: 900px) {
  .research-columns { grid-template-columns: 1fr; gap: 36px; }
  .research-columns .paper { grid-template-columns: 200px minmax(0, 1fr); gap: 27px; }
  .releases-sidebar { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .releases-sidebar h2 { font-size: 29px; }
  .releases-sidebar .news-copy p { font-size: 12px; }
}
@media (max-width: 640px) {
  .research-columns { margin-top: 34px; gap: 30px; }
  .research-columns .paper { grid-template-columns: 1fr; gap: 20px; }
  .releases-sidebar .news-copy p { font-size: 13px; }
}
