:root {
  --bg: #fafaf8;
  --paper: #ffffff;
  --ink: #202b33;
  --muted: #647078;
  --accent: #315a61;
  --accent-soft: #e9f0ef;
  --line: #e1e5e3;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #173f45; }
a:focus-visible { outline: 3px solid #92aeb0; outline-offset: 4px; border-radius: 2px; }
strong { font-weight: 650; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(250,250,248,.98); }
.header-inner { max-width: 1080px; min-height: 76px; padding: 0 42px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 24px; text-decoration: none; letter-spacing: -.7px; white-space: nowrap; }
.brand span { color: var(--accent); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 550; letter-spacing: .015em; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--accent); }
.site-nav a.nav-cv { padding: 7px 13px; border: 1px solid #cbd9d8; border-radius: 4px; color: var(--accent); }
.site-nav a.nav-cv:hover { background: var(--accent-soft); }
.page-shell { max-width: 1080px; margin: 0 auto; padding: 0 42px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(245px, .78fr); gap: clamp(35px, 8vw, 100px); padding: 82px 0 78px; align-items: start; }
.eyebrow, .section-number, .small-label { text-transform: uppercase; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .17em; }
.eyebrow { margin: 0 0 21px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--serif); letter-spacing: -2.8px; font-weight: 500; font-size: clamp(54px, 7.1vw, 80px); line-height: 1.08; margin: 0 0 24px; }
.hero-lead { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 29px); line-height: 1.38; letter-spacing: -.45px; max-width: 630px; color: #324950; margin: 0 0 25px; }
.hero p.body-copy { color: #536168; max-width: 635px; margin: 0 0 15px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 27px; }
.quick-links a { font-size: 13.5px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #9db1b4; padding-bottom: 2px; }
.quick-links a::after { content: ' ↗'; font-weight: 400; }
.hero-aside { border-top: 2px solid var(--accent); padding-top: 17px; margin-top: 10px; }
.hero-aside .small-label { margin-bottom: 19px; }
.profile-fact { border-bottom: 1px solid var(--line); padding: 0 0 15px; margin-bottom: 15px; }
.profile-fact:last-child { border: 0; margin: 0; padding: 0; }
.profile-fact dt { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: #879198; margin-bottom: 4px; }
.profile-fact dd { font-size: 14px; margin: 0; line-height: 1.55; }
.content-section { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 26px; border-top: 1px solid var(--line); padding: 45px 0 59px; scroll-margin-top: 30px; }
.section-title { margin: 3px 0 0; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.22; letter-spacing: -.8px; }
.section-kicker { margin: 0 0 8px; }
.section-content { min-width: 0; }
.experience-item { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 24px; padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
.experience-item:last-child { border: 0; padding-bottom: 0; margin-bottom: 0; }
.item-title { font-size: 17px; font-weight: 650; color: var(--ink); margin-bottom: 2px; line-height: 1.4; }
.item-subtitle { color: var(--accent); font-weight: 600; font-size: 13px; margin: 0 0 7px; }
.item-description { color: #59676e; margin: 8px 0 0; font-size: 14px; line-height: 1.7; }
.item-date { text-align: right; font-size: 12px; color: var(--muted); line-height: 1.6; white-space: nowrap; padding-top: 3px; }
.publication { padding: 3px 0 0 19px; border-left: 2px solid var(--accent); display: flow-root; }
.publication + .publication { margin-top: 36px; }
.publication-link { margin: 7px 0 0; font-size: 13px; font-weight: 600; }
.publication-link a { color: var(--accent); text-underline-offset: 3px; }
.publication-title { font-weight: 650; font-size: 15px; line-height: 1.56; margin-bottom: 5px; }
.publication-authors { color: #57666d; font-size: 13.5px; margin-bottom: 6px; }
.publication-venue { display: inline-block; color: var(--accent); font-size: 12.5px; font-weight: 650; }
.mini-note { font-size: 12.5px; color: #7b878d; margin: 18px 0 0; }
.education-item { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.education-item:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.education-item h3 { font-size: 16px; font-weight: 650; margin: 0 0 2px; }
.education-item p { font-size: 13.5px; color: var(--muted); margin: 0; }
.education-item time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.contact-content { color: #526169; }
.contact-content p { margin-bottom: 12px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 21px; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); margin-top: 4px; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 24px 42px 32px; display: flex; justify-content: space-between; gap: 12px; color: #7c888d; font-size: 12px; }
.footer-inner a { text-decoration: none; color: #66777b; }

@media (max-width: 820px) {
 .header-inner, .page-shell, .footer-inner { padding-left: 25px; padding-right: 25px; }
 .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 60px; padding-bottom: 55px; }
 .hero-aside { margin-top: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px 24px; }
 .hero-aside .small-label { grid-column: 1/-1; margin-bottom: 6px; }
 .content-section { grid-template-columns: 155px minmax(0, 1fr); }
 .site-nav { gap: 14px; }
}
@media (max-width: 600px) {
 .header-inner { align-items: flex-start; gap: 11px; flex-direction: column; padding-top: 17px; padding-bottom: 16px; }
 .brand { font-size: 22px; }
 .site-nav { gap: 10px 19px; }
 .site-nav a { font-size: 12px; }
 .page-shell, .header-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
 .hero { padding-top: 45px; }
 h1 { letter-spacing: -1.9px; }
 .hero-aside { grid-template-columns: 1fr; }
 .content-section { grid-template-columns: 1fr; gap: 23px; padding: 36px 0 43px; }
 .section-title { font-size: 27px; }
 .experience-item { grid-template-columns: 1fr; gap: 2px; }
 .item-date { grid-row: 1; text-align: left; padding: 0; margin-bottom: 8px; }
 .education-item { display: block; }
 .education-item time { display: block; padding-top: 6px; }
 .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
