:root {
  --ink: #252a2d;
  --muted: #626a70;
  --accent: #994b19;
  --accent-hover: #6b3210;
  --accent-light: #fff6ed;
  --line: #e4e5e6;
  --paper: #fff;
  --font: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.7 var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b8652c; outline-offset: 5px; border-radius: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
p { margin-bottom: 1rem; }
h1, h2, h3 { line-height: 1.3; }
h2 { font-size: 1.6rem; font-weight: 650; letter-spacing: -.035em; }
h3 { font-size: 1.05rem; font-weight: 650; }
strong { font-weight: 650; }
.site-header, .page-container { width: min(100% - 64px, 1240px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-block: 29px; border-bottom: 1px solid var(--line); }
.wordmark { color: var(--ink); font-size: 1.5rem; font-weight: 750; letter-spacing: -.06em; flex-shrink: 0; }
.wordmark span { color: var(--accent); }
.wordmark:hover { text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.site-header nav a { font-size: .875rem; color: var(--muted); }
.site-header nav a:hover { color: var(--accent); }
.page-section { margin-bottom: 66px; scroll-margin-top: 28px; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) 175px; gap: 38px; padding-top: 66px; margin-bottom: 62px; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .13em; color: var(--accent); margin-bottom: 17px; }
h1 { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 650; letter-spacing: -.055em; margin-bottom: 9px; }
.name-dot { color: var(--accent); }
.role { font-size: 1.08rem; color: var(--muted); margin-bottom: 24px; }
.bio > p:not(.eyebrow):not(.role) { line-height: 1.8; }
.contact-links { display: flex; flex-wrap: wrap; gap: 9px 20px; align-items: center; margin-top: 25px; }
.email-link { display: inline-flex; gap: 9px; align-items: center; overflow-wrap: anywhere; max-width: 100%; font-size: .9375rem; }
.email-link svg { width: 19px; height: 19px; flex-shrink: 0; }
.scholar-link { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border: 1px solid #e4c1a8; border-radius: 5px; background: var(--accent-light); font-size: .875rem; }
.scholar-link svg { width: 20px; height: 20px; }
.scholar-link:hover { background: #ffecdc; text-decoration: none; }
.profile-note { align-self: start; padding-top: 6px; }
.profile-photo { display: block; width: 100%; height: auto; aspect-ratio: 11 / 13; object-fit: cover; border-radius: 8px; margin-bottom: 23px; border: 1px solid #e7dace; background: #fcf8f3; }
.profile-label { color: var(--muted); font-size: .75rem; letter-spacing: .12em; font-weight: 650; }
.focus-list { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .875rem; line-height: 2; }
.profile-location { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; display: flex; align-items: center; gap: 8px; }
.location-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 13px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; }
.section-note, .author-note { color: var(--muted); font-size: .8125rem; }
.publication-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.tag-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-btn { padding: 6px 13px; font-size: .875rem; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #fff; }
.tag-btn:hover { border-color: #bb7544; color: var(--accent); }
.tag-btn.active { color: var(--accent); background: var(--accent-light); border-color: #e4c1a8; }
.tag-count { font-size: .75rem; margin-left: 7px; opacity: .8; }
.author-note { margin: 0; }
.publication-list { display: grid; gap: 22px; }
.publication { display: grid; grid-template-columns: 208px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.paper-visual { margin: 0; background: #fafbfc; border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.paper-visual a { display: block; background: #fff; border: 1px solid #eceff1; border-radius: 4px; overflow: hidden; }
.paper-visual img { display: block; width: 100%; height: auto; }
.paper-visual figcaption { color: #515960; font-size: .8125rem; line-height: 1.6; }
.paper-visual figcaption span { display: block; font-size: .75rem; color: var(--muted); margin-top: 3px; }
.paper-content { padding: 23px 26px 24px; min-width: 0; }
.paper-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 11px; font-size: .8125rem; color: var(--muted); }
.venue-badge { font-size: .75rem; font-weight: 650; background: var(--accent-light); color: var(--accent); padding: 2px 7px; border-radius: 3px; }
.paper-content h3 { margin-bottom: 9px; font-size: 1.1rem; line-height: 1.45; letter-spacing: -.01em; }
.paper-content h3 a { color: var(--ink); }
.paper-content h3 a:hover { color: var(--accent); }
.authors { font-size: .875rem; margin-bottom: 5px; }
.journal { color: var(--muted); font-size: .8125rem; line-height: 1.65; margin-bottom: 13px; }
.paper-summary { font-size: .9375rem; line-height: 1.7; margin-bottom: 14px; color: #50585e; }
.paper-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .875rem; font-weight: 600; }
.timeline { display: grid; gap: 29px; }
.timeline-entry { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 30px; }
.entry-date { font-size: .875rem; color: var(--muted); padding-top: 2px; }
.timeline-entry h3 { margin-bottom: 6px; }
.timeline-entry p { margin-bottom: 6px; }
.entry-place { font-size: .9375rem; color: var(--accent); }
.timeline-entry p:not(.entry-date):not(.entry-place) { color: #50585e; font-size: .9375rem; }
.entry-detail { font-size: .875rem !important; color: var(--muted) !important; }
.talk-list { display: grid; gap: 23px; }
.talk { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 25px; }
.talk-year { align-self: start; border-radius: 4px; background: var(--accent-light); color: var(--accent); font-size: .8125rem; text-align: center; padding: 3px 7px; }
.talk h3 { margin-bottom: 5px; line-height: 1.5; }
.talk p { font-size: .9375rem; color: #50585e; margin-bottom: 4px; }
.mountain-footer { position: relative; min-height: 385px; background: #263d51; overflow: hidden; color: #fff; }
.mountain-footer picture { position: absolute; inset: 0; }
.mountain-img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.mountain-footer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,35,48,.54), rgba(19,35,48,.78)); }
.footer-content { position: relative; z-index: 1; padding: 62px 24px 32px; text-align: center; }
.footer-content .eyebrow { color: #f4d4b6; }
.footer-content h2 { font: 2rem/1.3 Georgia, serif; letter-spacing: -.02em; margin-bottom: 25px; }
.contact-button { display: inline-flex; gap: 26px; padding: 9px 23px; border: 1px solid #d9e1e6; border-radius: 5px; background: #fff; color: #293f50; font-size: .9375rem; }
.contact-button:hover { background: #edf2f5; color: #172c3c; text-decoration: none; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 5px 22px; justify-content: center; margin-top: 55px; color: #e0e7ed; font-size: .75rem; }
.footer-meta a { color: inherit; text-decoration: underline; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 2px 12px #0000000a; z-index: 5; font-size: 1.2rem; }
.back-to-top:hover { text-decoration: none; border-color: var(--accent); }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 10px); padding: 10px 20px; border-radius: 6px; background: #25343c; color: #fff; font-size: .875rem; opacity: 0; pointer-events: none; z-index: 10; transition: opacity .2s, transform .2s; max-width: calc(100% - 100px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; padding: 8px 16px; background: #fff; z-index: 20; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 215px; gap: 50px; align-items: start; }
.academic-content { min-width: 0; }
.news-sidebar { padding-top: 73px; }
.news-panel { border-left: 1px solid var(--line); padding-left: 24px; }
.news-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.news-heading h2 { font-size: 1.2rem; margin: 0; }
.news-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li + li { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.news-list time { display: block; margin-bottom: 7px; color: var(--muted); font-size: .75rem; letter-spacing: .07em; }
.news-list p { font-size: .875rem; line-height: 1.75; margin: 0; }
.news-list a { font-weight: 600; }
.personal-page { max-width: 1060px; padding-top: 57px; padding-bottom: 55px; }
.personal-intro { max-width: 660px; margin-bottom: 42px; }
.personal-intro h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
.personal-intro > p:last-child { color: var(--muted); margin-top: 20px; }
.site-header nav [aria-current="page"] { color: var(--accent); }
.photo-journal { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.photo-slot { margin: 0; min-width: 0; }
.photo-slot:first-child { grid-row: span 2; }
.photo-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; min-height: 190px; height: calc(100% - 40px); background: #f7f8fa; border: 1px dashed #c7cdd1; border-radius: 8px; color: #757f86; }
.photo-slot:first-child .photo-placeholder { min-height: 475px; background: #faf7f3; border-color: #d9c9b9; color: #94765c; }
.photo-placeholder svg { width: 30px; height: 30px; opacity: .7; }
.photo-placeholder span { font-size: .8125rem; }
.photo-slot figcaption { padding-top: 11px; color: var(--muted); font-size: .875rem; }
.photo-slot > img { display: block; width: 100%; height: calc(100% - 40px); object-fit: cover; border-radius: 8px; }
.personal-footer { width: min(100% - 64px, 1060px); margin: 0 auto; padding: 24px 0 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .875rem; }
@media (max-width: 1100px) {
  .home-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 30px; }
  .about { grid-template-columns: minmax(0, 1fr) 145px; gap: 25px; }
  .news-panel { padding-left: 20px; }
  .publication { grid-template-columns: 170px minmax(0, 1fr); }
  .site-header nav { gap: 17px; }
}
@media (max-width: 900px) {
  .home-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .news-sidebar { padding-top: 0; margin-bottom: 45px; }
  .news-panel { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 23px; }
  .news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
  .news-list li + li { border-top: 0; padding-top: 0; margin-top: 0; }
  .about { grid-template-columns: minmax(0, 1fr) 180px; }
}
@media (max-width: 800px) {
  .about { grid-template-columns: minmax(0, 1fr) 175px; gap: 30px; }
  .publication { grid-template-columns: 175px minmax(0, 1fr); }
  .paper-content { padding: 20px; }
  .site-header nav { gap: 15px; }
  .timeline-entry { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 620px) {
  .site-header, .page-container { width: calc(100% - 36px); }
  .site-header { align-items: flex-start; gap: 20px; padding-block: 20px; }
  .site-header nav { justify-content: flex-end; gap: 7px 14px; }
  .site-header nav a { font-size: .8125rem; padding-block: 4px; }
  .about { grid-template-columns: minmax(0, 1fr); padding-top: 32px; gap: 25px; margin-bottom: 45px; }
  .profile-note { grid-row: 1; display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .profile-photo { grid-row: 1 / 4; margin: 0; }
  .profile-label { margin-top: 2px; }
  .eyebrow { font-size: .75rem; letter-spacing: .08em; }
  .focus-list { font-size: .8125rem; line-height: 1.8; }
  .profile-location { margin-top: 13px; padding-top: 10px; }
  .page-section { margin-bottom: 44px; }
  .section-heading { flex-direction: column; gap: 5px; }
  h2 { font-size: 1.4rem; }
  .publication { grid-template-columns: minmax(0, 1fr); }
  .paper-visual { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 18px 20px; gap: 12px; }
  .paper-visual a { max-width: 310px; width: 100%; margin-inline: auto; }
  .paper-visual img { max-height: 220px; object-fit: contain; }
  .paper-visual figcaption { text-align: center; }
  .timeline-entry { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .timeline-entry .entry-date { margin-bottom: 0; font-size: .8125rem; }
  .talk { grid-template-columns: 49px minmax(0, 1fr); gap: 15px; }
  .footer-content h2 { font-size: 1.6rem; }
  .footer-meta { flex-direction: column; margin-top: 38px; }
  .back-to-top { right: 13px; bottom: 13px; width: 38px; height: 38px; }
}
@media (max-width: 620px) {
  .news-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .news-list li + li { border-top: 1px solid var(--line); padding-top: 18px; }
  .personal-page { padding-top: 36px; }
  .personal-intro { margin-bottom: 28px; }
  .photo-journal { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .photo-slot:first-child { grid-row: auto; }
  .photo-placeholder, .photo-slot:first-child .photo-placeholder { min-height: 240px; aspect-ratio: 4 / 3; }
  .personal-footer { width: calc(100% - 36px); flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print {
  body { font-size: 10pt; }
  .site-header, .tag-filter, .back-to-top, .toast, .mountain-footer { display: none !important; }
  .page-container { width: 100%; }
  .home-layout { display: block; }
  .news-sidebar { padding-top: 0; }
  .about { padding-top: 0; }
  .page-section { margin-bottom: 25px; }
  .publication[hidden] { display: grid !important; }
  .publication, .timeline-entry, .talk { break-inside: avoid; }
  a { color: inherit; }
}
