:root {
  --paper: #fbfaf8;
  --surface: #fff;
  --ink: #273843;
  --muted: #5c666d;
  --accent: #416d67;
  --line: #dfe3e2;
  --soft: #edf2ee;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.7; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible, .news-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 54px); letter-spacing: -1.8px; margin-bottom: 20px; }
h2 { font-size: 30px; letter-spacing: -.6px; margin-bottom: 12px; }
h3 { font-size: 23px; letter-spacing: -.35px; }
p { margin-bottom: 18px; }
.shell { max-width: 1020px; padding: 0 36px; margin: 0 auto; }
.skip-link { position: absolute; top: -70px; left: 16px; background: var(--surface); padding: 10px 18px; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 108px; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; letter-spacing: -.4px; }
.site-nav { display: flex; gap: 30px; }
.site-nav a { padding: 9px 0; color: var(--muted); font-size: 14px; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-color: #66879a; }
main { padding-top: 60px; padding-bottom: 68px; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 1.7px; text-transform: uppercase; margin-bottom: 15px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 212px; gap: 56px; align-items: start; }
.bio { max-width: 630px; }
.bio p { font-size: 16px; }
.portrait { width: 212px; height: 258px; object-fit: cover; object-position: center 34%; border-radius: 5px; margin-top: 11px; }
.portrait-caption { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.contact-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 23px; font-size: 14px; }
.contact-links a { text-decoration: none; }
.interests { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.interests li { color: var(--accent); background: var(--soft); border-radius: 3px; padding: 4px 11px; font-size: 12px; }
.interests li:nth-child(1) { color: #44647b; background: #edf2f5; }
.interests li:nth-child(2) { color: #6a587d; background: #f0edf4; }
.interests li:nth-child(3) { color: #426b59; background: #edf2ee; }
.news-section { margin-top: 60px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.section-heading h2 { margin: 0; }
.quiet { font-size: 13px; color: var(--muted); }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-window { position: relative; padding: 8px 25px 0; background: #f7faf8; border: 1px solid #e5ece7; border-radius: 18px; }
.news-window::before, .news-window::after { content: ""; position: absolute; left: 24px; right: 24px; z-index: 1; pointer-events: none; transition: opacity .2s ease; }
.news-window::before { top: 9px; height: 30px; background: linear-gradient(#f7faf8, transparent); opacity: 0; }
.news-window::after { bottom: 0; height: 95px; background: linear-gradient(transparent, #f7faf8 65%); border-radius: 0 0 18px 18px; }
.news-window.is-scrolled::before { opacity: 1; }
.news-scroll { max-height: 370px; overflow-y: auto; overscroll-behavior-y: auto; padding: 5px 17px 76px 0; }
.news-scroll:focus-visible { outline: 2px solid #a4b7aa; outline-offset: 4px; border-radius: 10px; }
.news-scroll::-webkit-scrollbar { width: 4px; }
.news-scroll::-webkit-scrollbar-track { background: transparent; margin: 18px 0 76px; }
.news-scroll::-webkit-scrollbar-thumb { background: #c9d6ce; border-radius: 6px; min-height: 35px; }
.news-scroll::-webkit-scrollbar-thumb:hover { background: #a4b7aa; }
.news-controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 17px; display: flex; justify-content: center; pointer-events: none; }
.news-more { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 12px; font-weight: 500; color: #4b6658; background: #fff; border: 1px solid #e5ece7; border-radius: 999px; padding: 9px 17px; box-shadow: 0 3px 12px rgba(40, 65, 50, .045); cursor: pointer; pointer-events: auto; transition: background .15s ease, box-shadow .15s ease; }
.news-more svg { width: 14px; height: 14px; }
.news-window.at-end .news-more svg { transform: rotate(180deg); }
.news-more:hover { background: #edf4ef; box-shadow: 0 4px 16px rgba(40, 65, 50, .08); }
.news-more:focus-visible { outline: 2px solid #8aa595; outline-offset: 3px; }
.news-more[hidden] { display: none; }
.news-item { position: relative; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 38px; padding: 17px 0; font-size: 14px; }
.news-item::before { content: ""; position: absolute; left: 98px; top: 25px; width: 6px; height: 6px; border-radius: 50%; background: #9fb5a7; box-shadow: 0 0 0 4px #f7faf8; z-index: 1; }
.news-item::after { content: ""; position: absolute; left: 100.5px; top: 31px; bottom: -25px; width: 1px; background: #dfe9e2; }
.news-item:last-child::after { display: none; }
.news-item time { color: #63766a; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .4px; text-transform: uppercase; padding-top: 3px; white-space: nowrap; }
.news-item p { margin: 0; }
.news-item a { color: #3f6b56; font-weight: 500; text-decoration: none; }
.news-item strong { font-weight: 600; }
.page-intro { max-width: 750px; margin-bottom: 38px; }
.page-intro h1 { font-size: 44px; }
.page-intro p:last-child { margin-bottom: 0; color: var(--muted); }
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.paper-card { --card-tone: #44647b; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid #a4bac6; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.paper-card:nth-child(3n + 2) { --card-tone: #6a587d; border-top-color: #b7abc6; }
.paper-card:nth-child(3n) { --card-tone: #426b59; border-top-color: #a6bbae; }
.paper-figure { display: block; background: #fff; height: 225px; padding: 22px 18px; border-bottom: 1px solid var(--line); }
.paper-figure img { height: 100%; width: 100%; min-height: 0; min-width: 0; object-fit: contain; }
.paper-figure:hover img { opacity: .85; }
.paper-body { padding: 25px 25px 24px; display: flex; flex-direction: column; flex: 1; }
.paper-body .eyebrow { color: var(--card-tone); font-size: 10px; letter-spacing: 1.2px; margin-bottom: 10px; }
.paper-body h3 { margin-bottom: 12px; }
.paper-body h3 a { color: var(--ink); text-decoration: none; }
.paper-body .paper-subtitle { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: -4px; }
.paper-body .description { color: var(--muted); font-size: 14px; line-height: 1.65; }
.paper-actions { display: flex; gap: 22px; margin-top: auto; padding-top: 6px; font-size: 13px; }
.paper-actions a { text-decoration: none; }
.selected-section { margin-top: 62px; }
.selected-section > p { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.publication-year { font-family: inherit; font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 1px; margin: 30px 0 10px; }
.publication-list { list-style: none; padding: 0; margin: 0; }
.publication-list li { border-top: 1px solid var(--line); padding: 17px 0; }
.publication-list a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.5; }
.publication-list a:hover { color: var(--accent); }
.venue { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.venue .recognition { color: var(--accent); font-weight: 600; }
.scholar-link { margin-top: 25px; font-size: 14px; }
.cv-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 27px 0 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border: 1px solid var(--accent); border-radius: 3px; font-size: 14px; font-weight: 500; text-decoration: none; }
.button.primary { background: var(--accent); color: #fff; }
.button:hover { text-decoration: none; filter: brightness(.92); }
.cv-meta { font-size: 12px; color: var(--muted); }
.cv-preview { margin: 0; }
.cv-page { background: #fff; border: 1px solid var(--line); border-radius: 4px; margin: 0 0 24px; }
.cv-page img { width: 100%; height: auto; }
.cv-preview figcaption { font-size: 12px; color: var(--muted); margin-top: 12px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer a { text-decoration: none; }
@media (max-width: 760px) {
  .shell { padding: 0 24px; }
  .site-header { min-height: 90px; }
  .site-nav { gap: 20px; }
  main { padding-top: 40px; padding-bottom: 48px; }
  .hero { grid-template-columns: minmax(0, 1fr) 145px; gap: 25px; }
  .portrait { width: 145px; height: 185px; }
  .bio p { font-size: 15px; }
  .featured-grid { gap: 18px; }
  .paper-body { padding: 20px; }
  .paper-figure { height: 180px; padding: 15px; }
  .paper-body h3 { font-size: 21px; }
}
@media (max-width: 580px) {
  .shell { padding: 0 21px; }
  .site-header { flex-wrap: wrap; gap: 8px; padding: 22px 0 17px; }
  .brand { width: 100%; }
  .site-nav { gap: 26px; }
  .site-nav a { padding: 4px 0; }
  .hero { display: flex; flex-direction: column; gap: 25px; }
  .hero-photo { order: -1; display: flex; align-items: end; gap: 18px; }
  .portrait { width: 112px; height: 135px; margin: 0; }
  .portrait-caption { margin-bottom: 2px; }
  .bio h1 { font-size: 41px; }
  .eyebrow { font-size: 10px; }
  .news-section { margin-top: 42px; }
  .section-heading .quiet { display: none; }
  .news-section .section-heading .quiet { display: block; font-size: 11px; }
  .news-window { padding: 8px 15px 0; border-radius: 15px; }
  .news-window::before, .news-window::after { left: 15px; right: 15px; }
  .news-item { grid-template-columns: 64px minmax(0, 1fr); gap: 26px; font-size: 13px; }
  .news-item::before { left: 74px; }
  .news-item::after { left: 76.5px; }
  .news-item time { font-size: 10px; }
  .news-scroll { max-height: 355px; padding-right: 8px; }
  .featured-grid { grid-template-columns: 1fr; gap: 24px; }
  .paper-figure { height: 210px; }
  .paper-body { padding: 23px; }
  .paper-body h3 { font-size: 23px; }
  .page-intro h1 { font-size: 38px; }
  .site-footer { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .news-window::before, .news-window::after, .news-more { transition: none; } }
@media print {
  .site-nav, .cv-actions, .site-footer, .skip-link { display: none; }
  body { background: #fff; }
  .shell { max-width: none; padding: 0; }
  .site-header { min-height: 55px; }
  main { padding: 25px 0; }
  .paper-card, .news-item, .publication-list li { break-inside: avoid; }
  .news-scroll { max-height: none; overflow: visible; background: #fff; }
  .news-window::before, .news-window::after, .news-controls { display: none; }
}
