:root { --ink: #253430; --muted: #65706b; --accent: #315f50; --paper: #fcfbf8; --line: #dedfd7; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.75 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { color: #183c30; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(100% - 64px, 1040px); margin-inline: auto; }
.site-header { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.site-name { font: 27px/1.3 Georgia, serif; text-decoration: none; color: var(--ink); }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a { text-decoration: none; padding-block: 10px; font-size: 15px; }
.site-header nav a[aria-current="page"] { border-bottom: 2px solid var(--accent); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(38px, 5vw, 54px); letter-spacing: -1.5px; margin: 8px 0 24px; }
h2 { font-size: 29px; margin: 0 0 28px; }
h3 { font-size: 23px; margin: 0 0 10px; }
p { margin: 0 0 22px; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.6; margin-bottom: 30px; }
.about-layout { display: grid; grid-template-columns: 240px 1fr; gap: 80px; padding-block: 72px 110px; min-height: 69vh; }
.portrait, .portrait-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.portrait-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; color: #596960; background: #e8ece5; border: 1px solid #d6ddd3; font: 20px Georgia, serif; gap: 12px; }
.portrait-placeholder small { font: 12px system-ui, sans-serif; }
.profile { font-size: 14px; color: var(--muted); }
.profile p { margin-bottom: 16px; }
.profile .profile-name { color: var(--ink); margin-top: 24px; font: 23px Georgia, serif; }
.contact { overflow-wrap: anywhere; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 13px; border: 1px solid var(--accent); border-radius: 3px; font-size: 13px; line-height: 1.4; text-decoration: none; }
.social-links a:hover { color: white; background: var(--accent); }
.intro { padding-top: 8px; }
.intro-links { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 38px; font-size: 15px; }
.intro-links span { margin-left: 8px; }
.page-content { max-width: 840px; padding-block: 64px 100px; min-height: 74vh; }
.section-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; border-block: 1px solid var(--line); padding-block: 20px; margin-block: 38px 50px; font-size: 14px; }
.section-nav a { text-decoration: none; }
.research-section { scroll-margin-top: 30px; margin-top: 52px; }
.paper { border-bottom: 1px solid var(--line); padding-bottom: 30px; margin-bottom: 30px; }
.paper-meta, .date { color: var(--muted); font-size: 14px; }
.paper > p:last-child { margin-bottom: 0; }
summary { color: var(--accent); cursor: pointer; width: fit-content; font-size: 14px; }
details[open] summary { margin-bottom: 16px; }
details p { font-size: 16px; margin-bottom: 0; }
.paper-abstract { margin-top: 20px; }
.paper-abstract summary { padding: 9px 14px; border: 1px solid var(--accent); border-radius: 3px; min-height: 44px; }
.paper-abstract summary:hover { background: var(--accent); color: white; }
.paper-abstract .hide-abstract, .paper-abstract[open] .show-abstract { display: none; }
.paper-abstract[open] .hide-abstract { display: inline; }
.career-history { padding-left: 23px; margin: 0 0 24px; }
.career-history li { margin-bottom: 10px; }
.notice { color: var(--muted); border-left: 2px solid var(--line); padding-left: 20px; font-size: 15px; }
.button { display: inline-block; padding: 10px 20px; background: var(--accent); color: white; text-decoration: none; font-size: 15px; }
.button:hover { background: #244b3e; color: white; }
.cv-section { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.cv-entry { display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.cv-entry p { margin-bottom: 0; }
.cv-entry h3 { font-size: 21px; }
.cv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cv-viewer { display: block; width: 100%; height: 80vh; min-height: 480px; border: 1px solid var(--line); background: white; }
.site-footer { border-top: 1px solid var(--line); padding-block: 25px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 20px; }
.skip-link { position: absolute; top: -100px; left: 20px; background: white; padding: 10px; }
.skip-link:focus { top: 10px; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 108px; flex-wrap: wrap; gap: 12px; padding-block: 24px 18px; }
  .site-header nav { gap: 26px; }
  .about-layout { grid-template-columns: 1fr; gap: 38px; padding-block: 40px 70px; }
  .profile { max-width: 260px; }
  .portrait, .portrait-placeholder { max-width: 200px; }
  .page-content { padding-block: 40px 70px; }
  .cv-entry { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { body { background: white; font-size: 12pt; } .site-header nav, .skip-link, .section-nav { display: none; } .wrap { width: 100%; } .page-content, .about-layout { padding-block: 20px; } }
