:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #293742;
  background: #fff;
  font-synthesis: none;
  line-height: 1.75;
  --accent: #704091;
  --nav-height: 80px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}
* { box-sizing: border-box; }
body { max-width: 860px; margin: 0 auto; padding: 52px 32px 24px; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:hover { color: #48265f; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
header { border-top: 3px solid var(--accent); padding-top: 27px; margin-bottom: 28px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: 42px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -.02em; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: .13em; margin: 0 0 12px; }
.subtitle { color: #626d75; margin: 0; font-size: 15px; line-height: 1.7; }
.main-nav { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 0 24px; padding: 12px 0; border-bottom: 1px solid #dce2e6; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); }
.main-nav a { position: relative; font-size: 14px; text-decoration: none; padding: 7px 0; border-bottom: 2px solid transparent; color: #626d75; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--accent); border-color: var(--accent); }
main { padding-top: 32px; }
section { margin: 0 0 40px; }
h2 { font-size: 27px; line-height: 1.3; margin: 0 0 18px; }
h3 { font-size: 16px; line-height: 1.65; font-weight: 600; margin: 0 0 7px; }
p { font-size: 16px; margin: 0 0 13px; }
.muted { color: #626d75; font-size: 15px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-links a { text-decoration: none; border: 1px solid #e4dbea; border-radius: 4px; padding: 6px 14px; font-size: 15px; background: #fcfafd; }
.profile-links a:hover { border-color: #b8a0ca; background: #f6f0fa; }
.publication { display: grid; grid-template-columns: 44px 1fr; gap: 22px; border-left: 2px solid #e6d9ee; padding-left: 18px; }
.publication-year { font-size: 14px; color: #626d75; padding-top: 2px; }
.publication p { margin: 3px 0; }
.publication h3 a { text-decoration: none; }
.publication h3 a:hover { text-decoration: underline; }
.material-links { list-style: none; margin: 18px 0 0; padding: 0; }
.material-links li { border-top: 1px solid #e3e8ec; padding: 16px 0 8px; }
.material-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; text-decoration: none; font-weight: 500; }
.material-links a:hover span:first-child { text-decoration: underline; }
.material-links p { margin: 4px 0 8px; }
.file-type { font-size: 12px; font-weight: 400; color: #626d75; flex-shrink: 0; }
footer { border-top: 1px solid #dce2e6; padding-top: 18px; margin-top: 44px; }
footer p { color: #707b83; font-size: 13px; }
.skip { position: absolute; top: -100px; background: #fff; padding: 8px; z-index: 4; }
.skip:focus { top: 8px; }
.cv-header { margin-bottom: 0; }
.cv-header .back-link { display: inline-block; font-size: 14px; margin-bottom: 28px; }
.cv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 24px 0 6px; }
.download-link { display: inline-block; background: var(--accent); color: white; padding: 8px 17px; border-radius: 4px; text-decoration: none; font-size: 15px; }
.download-link:hover { background: #48265f; color: white; }
.cv-entry { margin: 0 0 23px; }
.cv-entry p { margin: 3px 0; }
.cv-entry .entry-date { color: #626d75; font-size: 14px; margin-bottom: 5px; }
.entry { margin-bottom: 22px; }
@media (max-width: 540px) {
  body { padding: 28px 22px 20px; }
  h1 { font-size: 36px; }
  .main-nav { gap: 0 18px; padding: 8px 0; }
  .main-nav a { font-size: 14px; }
  .publication { grid-template-columns: 1fr; gap: 5px; padding-left: 14px; }
  h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  a { transition: none; }
}
@media print {
  body { max-width: none; padding: 0; color: #000; }
  header { border: 0; }
  .main-nav, .skip, footer, .cv-actions, .back-link { display: none; }
  section, article { break-inside: avoid; }
}
