:root {
  --bg: #f8f6f0;
  --ink: #172239;
  --muted: #566071;
  --blue: #1134A6;
  --blue-dark: #0b267d;
  --wash: #e8edf8;
  --line: #d8d9d3;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --mono: 'DM Mono', monospace;
  --c1: #1134A6; --c3: #5972cc; --c4: #8192c9; --c8: #a4afd0;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--blue); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 2px; }
::selection { background: #dbe3ff; color: var(--blue-dark); }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--bg); padding: 10px 18px; z-index: 200; }
.skip-link:focus { top: 12px; }
nav { max-width: 1200px; margin: auto; padding: 24px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.nav-name { color: var(--ink); font: 400 20px/1.3 var(--serif); text-decoration: none; letter-spacing: -.6px; }
.name-dot { color: var(--blue); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; }
.nav-links a { position: relative; display: inline-block; text-decoration: none; color: var(--muted); font-size: 14px; padding: 4px 0; }
.nav-links a::after, .view-all::after { content: ''; position: absolute; bottom: 0; left: 0; height: 1px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-links a:hover::after, .nav-links a.active::after, .view-all:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue); }
.hero, .page-header, .page-body, footer { width: min(1104px, calc(100% - 96px)); margin-inline: auto; }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 52px; align-items: center; padding: 76px 0 80px; }
.eyebrow { font: 400 12px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.hero-name { font: 400 clamp(40px, 5.5vw, 70px)/1.15 var(--serif); letter-spacing: -.045em; color: var(--blue); margin: 0 0 27px; }
.hero-period { color: var(--blue); }
.hero-title { font-weight: 500; font-size: 17px; line-height: 1.6; }
.hero-title span { font-size: 15px; font-weight: 400; color: var(--muted); }
.hero-contact { display: inline-block; margin-top: 22px; font: 400 13px/1.7 var(--mono); text-decoration: none; }
.hero-contact span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.hero-contact:hover span { transform: translate(2px,-2px); }
.hero-visual { position: relative; min-height: 430px; display: flex; justify-content: center; align-items: center; }
.hero-photo-wrap { position: relative; isolation: isolate; width: 70%; max-width: 296px; aspect-ratio: 148/188; padding: 7px; }
.hero-photo-wrap::before { content: ''; position: absolute; inset: 7px; transform: translate(12px, 12px); border: 2px solid var(--blue); opacity: .22; z-index: -1; pointer-events: none; }
.hero-photo-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-body { padding-bottom: 80px; counter-reset: section; }
.section { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 44px; padding: 38px 0 48px; border-top: 1px solid var(--line); }
.section-heading { font: 400 18px/1.45 var(--serif); color: var(--blue); }
.section-heading::before { counter-increment: section; content: '0' counter(section); display: block; font: 400 11px/1.4 var(--mono); letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.section-content { max-width: 760px; min-width: 0; }
.bio-text { line-height: 1.85; }
.bio-text + .bio-text { margin-top: 17px; }
.timeline { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.timeline-heading { font: 400 25px/1.3 var(--serif); margin-bottom: 25px; color: var(--blue); letter-spacing: -.6px; }
.tl-track { margin-left: 5px; }
.tl-line { display: none; }
.tl-item { position: relative; border-left: 1px solid var(--line); padding: 0 0 32px 25px; }
.tl-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.tl-dot { position: absolute; top: 4px; left: -5px; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 4px var(--bg); }
.tl-year { font: 400 12px/1.5 var(--mono); color: var(--blue); margin-bottom: 7px; }
.tl-org { font-size: 15px; font-weight: 600; line-height: 1.5; margin-bottom: 3px; }
.tl-role { font-size: 14px; line-height: 1.5; }
.tl-loc { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 5px; }
.tl-tag { display: inline-block; font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.tl-tag.current { color: var(--blue); }
.paper-item + .paper-item { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px; }
.paper-title { font: 400 26px/1.35 var(--serif); letter-spacing: -.7px; margin-bottom: 12px; }
.paper-meta { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.paper-status { display: inline-block; font: 400 11px/1.5 var(--mono); color: var(--blue-dark); padding: 5px 9px; background: var(--wash); }
.view-all, .paper-link { position: relative; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; margin-top: 22px; }
.view-all { padding-bottom: 3px; }
.view-all svg, .paper-link svg, .cv-btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.view-all:hover svg { transform: translateX(3px); }
.cv-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; background: var(--wash); }
.cv-label { font: 400 25px/1.3 var(--serif); color: var(--blue-dark); }
.cv-sub { font: 400 12px/1.6 var(--mono); color: var(--muted); margin-top: 8px; }
.cv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; color: white; background: var(--blue); padding: 12px 18px; font-size: 14px; transition: background .2s; }
.cv-btn:hover { background: var(--blue-dark); color: white; }
footer { border-top: 1px solid var(--line); padding: 25px 0 35px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
footer a { text-decoration: none; }
.page-header { padding: 68px 0 53px; }
.page-header .eyebrow { margin-bottom: 17px; }
.page-header h1 { font: 400 clamp(55px, 7vw, 82px)/1.12 var(--serif); color: var(--blue); letter-spacing: -.055em; margin-bottom: 17px; }
.page-header > p:last-child { color: var(--muted); font-size: 16px; }
.research-page .section { padding-top: 40px; padding-bottom: 45px; }
.abstract { margin-top: 18px; }
.abstract summary { display: inline-flex; align-items: center; gap: 20px; cursor: pointer; color: var(--blue); font-size: 14px; padding: 6px 0; list-style: none; }
.abstract summary::-webkit-details-marker { display: none; }
.abstract summary span { font-size: 20px; line-height: 1; transition: transform .25s; }
.abstract[open] summary span { transform: rotate(45deg); }
.abstract-text { font-size: 15px; line-height: 1.85; padding: 18px 22px; margin-top: 12px; background: #efeee8; border-left: 2px solid var(--blue); }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-text, .page-header { animation: arrive .65s ease both; }
  .section.is-visible .section-content { animation: arrive .5s ease both; }
  .abstract[open] .abstract-text { animation: arrive .25s ease both; }
}
@media (max-width: 900px) {
  .hero, .page-header, .page-body, footer { width: calc(100% - 64px); }
  nav { padding-inline: 32px; }
  .hero { gap: 20px; padding-block: 60px; }
  .hero-visual { min-height: 350px; }
  .section { grid-template-columns: 135px minmax(0,1fr); gap: 28px; }
}
@media (max-width: 640px) {
  nav { padding: 20px 24px; flex-wrap: wrap; gap: 15px; }
  .nav-name { font-size: 19px; }
  .nav-links { gap: 24px; }
  .hero, .page-header, .page-body, footer { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; padding: 44px 0; gap: 28px; }
  .hero-name { font-size: clamp(38px, 10vw, 60px); }
  .hero-visual { min-height: 320px; width: min(100%, 360px); justify-self: center; }
  .hero-photo-wrap { width: 61%; }
  .section { grid-template-columns: 1fr; gap: 23px; padding: 29px 0 36px; }
  .section-heading { display: flex; align-items: baseline; gap: 14px; font-size: 20px; }
  .section-heading::before { margin: 0; }
  .paper-title { font-size: 24px; }
  .cv-row { padding: 22px; flex-wrap: wrap; gap: 18px; }
  .page-header { padding: 43px 0 36px; }
  .page-body { padding-bottom: 32px; }
  footer { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
