:root {
  --paper: #faf9f5;
  --surface: #ffffff;
  --ink: #202d2b;
  --muted: #63706b;
  --green: #2d5d50;
  --green-dark: #204638;
  --line: #dedfd6;
  --soft: #edf0e8;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.7 var(--sans); }
button, input, select { font: inherit; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--green-dark); }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { color: var(--green-dark); background: #dce7db; }

.container { width: min(1120px, calc(100% - 96px)); margin: 0 auto; }
.skip-link { position: absolute; top: -70px; left: 16px; z-index: 10; padding: 8px 16px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: rgba(250, 249, 245, .96); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -.7px; white-space: nowrap; }
.wordmark span { display: inline-block; color: var(--green); margin-left: 5px; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { color: #4d5752; text-decoration: none; font-size: 13px; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--green); }
.main-nav .nav-cv { padding-left: 24px; border-left: 1px solid var(--line); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; font-size: 14px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; display: inline-block; width: 15px; margin-left: 12px; }
.mobile-nav[open] summary::after { content: "−"; }
.mobile-nav nav { position: absolute; right: 0; top: 44px; width: 210px; padding: 12px 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 30px #24372d12; }
.mobile-nav nav a { display: block; padding: 8px 0; text-decoration: none; font-size: 14px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 306px; align-items: center; column-gap: 104px; padding: 80px 0 76px; }
.eyebrow { color: var(--green); text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 650; margin: 0 0 18px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-family: var(--serif); font-size: clamp(58px, 6.2vw, 82px); font-weight: 500; line-height: 1.06; letter-spacing: -3px; margin-bottom: 23px; }
.affiliation { font-size: 15px; line-height: 1.7; margin-bottom: 25px; color: #3d4842; }
.affiliation a { color: inherit; text-decoration: none; }
.affiliation a:hover { text-decoration: underline; }
.hero-summary { max-width: 605px; font-family: var(--serif); font-size: 25px; line-height: 1.5; letter-spacing: -.3px; margin-bottom: 29px; }
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; padding: 10px 18px; text-decoration: none; border: 1px solid var(--green); border-radius: 3px; background: var(--green); color: white; font-size: 12px; font-weight: 600; }
.button:hover { background: var(--green-dark); border-color: var(--green-dark); color: white; }
.button-plain { background: transparent; border: 0; padding-left: 0; padding-right: 0; color: var(--green); }
.button-plain:hover { color: var(--green-dark); background: transparent; }
.hero-email { display: inline-block; color: var(--muted); font-size: 12px; text-decoration: none; margin-top: 23px; }
.hero-email:hover { color: var(--green); text-decoration: underline; }
.portrait-wrap { position: relative; margin: 0; padding: 0 0 17px 17px; }
.portrait-wrap::before { position: absolute; content: ""; left: 0; bottom: 0; width: calc(100% - 17px); height: calc(100% - 17px); border: 1px solid #b9c5b9; }
.portrait { position: relative; z-index: 1; width: 289px; height: 365px; object-fit: cover; object-position: 34% 25%; }
.portrait-caption { position: relative; z-index: 1; margin: 12px 0 -5px; color: var(--muted); font-size: 10px; letter-spacing: 1.2px; text-align: right; text-transform: uppercase; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .3px; }
.hero-bottom .discipline { display: flex; gap: 27px; }
.hero-bottom .discipline span + span::before { content: "/"; margin-right: 27px; color: #9ea79b; }
.location { white-space: nowrap; }
.location::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 9px; background: #819271; border-radius: 50%; vertical-align: 2px; }

.section { padding: 75px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 11px; }
h2 { font-family: var(--serif); font-size: 40px; line-height: 1.18; letter-spacing: -1px; font-weight: 500; margin-bottom: 0; }
.text-link { color: var(--green); font-size: 12px; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 37px; }
.research-item { padding-top: 21px; border-top: 1px solid #a5b2a2; }
.research-number { color: #7b8e79; font-size: 11px; margin-bottom: 15px; }
.research-item h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -.35px; margin-bottom: 14px; }
.research-item p { color: var(--muted); font-size: 13px; line-height: 1.9; margin-bottom: 0; }

.publication-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 35px 0 24px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-button { border: 1px solid transparent; background: transparent; color: var(--muted); border-radius: 3px; padding: 7px 12px; font-size: 12px; line-height: 1.5; }
.filter-button[aria-pressed="true"] { border-color: #b7c4b4; background: var(--soft); color: var(--green-dark); }
.filter-button:hover { color: var(--green); background: #edf0e88a; }
.filter-count { font-size: 10px; margin-left: 6px; opacity: .7; }
.search-wrap { position: relative; flex: 0 1 287px; }
.search-wrap svg { position: absolute; left: 11px; top: 12px; color: #7f8b80; width: 15px; height: 15px; pointer-events: none; }
.search-wrap input { width: 100%; min-height: 39px; padding: 8px 12px 8px 35px; border: 1px solid var(--line); border-radius: 3px; background: #fff9; font-size: 12px; color: var(--ink); }
.search-wrap input::placeholder { color: #7e877f; }
.publication-summary { color: var(--muted); font-size: 11px; margin: 0 0 12px; }
.publication-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.publication { display: grid; grid-template-columns: 51px minmax(0, 1fr) 88px; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.publication-year { color: #74826f; font-size: 11px; padding-top: 5px; }
.publication-title { margin: 0 0 7px; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.4; letter-spacing: -.15px; }
.publication-title a { color: var(--ink); text-decoration: none; }
.publication-title a:hover { color: var(--green); }
.publication-authors { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 0 0 5px; }
.publication-citation { color: #59665c; font-size: 11px; line-height: 1.7; margin: 0; }
.publication-citation em { color: #405b46; font-style: normal; }
.publication-links { display: flex; flex-direction: column; align-items: end; gap: 7px; padding-top: 5px; }
.publication-links a { text-decoration: none; font-size: 11px; white-space: nowrap; }
.publication-links a:hover { text-decoration: underline; }
.publication-kind { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; color: #819075; }
.empty-state { padding: 35px 0; color: var(--muted); font-size: 14px; }
.clear-filters { border: 0; padding: 0; color: var(--green); text-decoration: underline; text-underline-offset: 4px; background: transparent; font-size: 13px; }

.teaching-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 60px; }
.teaching-intro p { margin: 24px 0 0; max-width: 245px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.institution-heading { margin-bottom: 15px; }
.institution-heading h3 { font-family: var(--serif); font-size: 23px; line-height: 1.4; font-weight: 500; margin-bottom: 5px; }
.institution-period { color: #7b877b; text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }
.course-list { list-style: none; padding: 0; margin: 0; }
.course-list li { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 25px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.7; }
.course-list .course-terms { color: var(--muted); text-align: right; font-size: 11px; }
.course-code { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.teaching-archive { margin-top: 25px; }
.teaching-archive summary { padding: 14px 0; cursor: pointer; color: var(--green); font-size: 12px; border-top: 1px solid var(--line); }
.teaching-archive .institution { padding: 24px 0 8px; }

.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; }
.about-copy { color: var(--muted); font-size: 14px; line-height: 1.95; margin-top: 26px; }
.about-copy strong { font-weight: 500; color: var(--ink); }
.about-actions { margin-top: 25px; }
.timeline { margin: 4px 0 0; }
.timeline-row { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.timeline-row:first-child { padding-top: 0; }
.timeline-year { color: #7b8775; font-size: 11px; padding-top: 3px; }
.timeline-title { color: var(--ink); font-size: 13px; margin: 0; }
.timeline-detail { color: var(--muted); font-size: 11px; margin: 4px 0 0; }
.talks-list { list-style: none; padding: 0; margin: 0; }
.talks-list li { padding: 19px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 22px; }
.talk-date { color: var(--muted); font-size: 11px; }
.talk-event { font-family: var(--serif); font-size: 20px; line-height: 1.45; margin-bottom: 5px; }
.talk-title { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.talks-more { margin-top: 25px; }

.contact-section { margin-top: -1px; padding: 65px 0; background: var(--green-dark); color: #f7f8ef; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 45px; }
.contact-section .eyebrow { color: #b7cdb0; }
.contact-section h2 { margin-bottom: 23px; }
.contact-email { color: #f9faf2; font-family: var(--serif); font-size: clamp(23px, 3vw, 32px); letter-spacing: -.5px; text-decoration: none; }
.contact-email:hover { color: #d5e4ca; }
.contact-address { font-size: 12px; color: #cad5c5; line-height: 1.9; margin: 4px 0 18px; }
.contact-profile { color: #d7e3d1; font-size: 12px; text-decoration: none; }
.contact-profile:hover { color: white; text-decoration: underline; }
.copy-email { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; padding: 0; color: #cddac8; background: transparent; border: 0; font-size: 11px; }
.copy-email:hover { color: white; }
.copy-email svg { width: 13px; height: 13px; }
.copy-status { font-size: 11px; color: #d7e3d1; min-height: 20px; margin: 5px 0 0; }
.site-footer { padding: 23px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 10px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--green); text-decoration: underline; }

.cv-page { max-width: 880px; padding-top: 65px; padding-bottom: 70px; }
.cv-header { padding-bottom: 35px; border-bottom: 1px solid var(--line); margin-bottom: 35px; }
.cv-header h1 { font-family: var(--serif); font-size: 57px; letter-spacing: -2px; font-weight: 500; line-height: 1.1; margin-bottom: 17px; }
.cv-header p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.cv-tools { display: flex; gap: 25px; align-items: center; margin-top: 23px; }
.cv-section { margin: 0 0 42px; }
.cv-section h2 { font-size: 29px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cv-section > h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-top: 25px; }
.cv-page .timeline-row { grid-template-columns: 125px 1fr; }
.cv-page .publication { grid-template-columns: 42px 1fr; padding: 19px 0; gap: 18px; }
.cv-page .publication-title { font-size: 19px; }
.cv-page .publication-links { grid-column: 2; flex-direction: row; align-items: start; padding-top: 0; gap: 16px; }
.cv-page .publication-kind { display: none; }
.cv-page .course-list li { grid-template-columns: 1fr 180px; }
.cv-page .institution + .institution { margin-top: 30px; }
.cv-note { color: #526057; font-size: 13px; line-height: 1.9; margin-top: 22px; }
.plain-list { padding-left: 19px; color: #526057; font-size: 13px; }
.plain-list li { margin-bottom: 9px; }
.cv-page .talk-event { font-size: 17px; }
.cv-page .talks-list li { padding: 13px 0; }
.screen-reader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 1000px) {
  .container { width: min(100% - 60px, 1120px); }
  .hero { column-gap: 55px; grid-template-columns: minmax(0, 1fr) 260px; padding-top: 65px; }
  .portrait { width: 243px; height: 330px; }
  .hero-summary { font-size: 22px; }
  .main-nav { gap: 19px; }
  .main-nav .nav-cv { padding-left: 18px; }
  .research-grid { gap: 25px; }
  .about-layout { gap: 55px; }
  .teaching-layout { grid-template-columns: 220px 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 85px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; }
  .wordmark { font-size: 23px; }
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { padding: 48px 0 40px; grid-template-columns: minmax(0, 1fr) 150px; column-gap: 25px; align-items: start; }
  .hero h1 { font-size: clamp(39px, 8vw, 54px); letter-spacing: -2px; margin-bottom: 19px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 16px; }
  .affiliation { font-size: 12px; margin-bottom: 0; }
  .hero-summary { grid-column: 1 / -1; font-size: 23px; margin-top: 29px; margin-bottom: 22px; }
  .hero-content { display: contents; }
  .hero-name { grid-column: 1; }
  .portrait-wrap { grid-column: 2; grid-row: 1; padding: 0 0 9px 9px; }
  .portrait-wrap::before { width: calc(100% - 9px); height: calc(100% - 9px); }
  .portrait { width: 141px; height: 195px; }
  .portrait-caption { display: none; }
  .hero-actions, .hero-email { grid-column: 1 / -1; }
  .hero-email { margin-top: 12px; }
  .hero-bottom { padding: 16px 0; font-size: 10px; }
  .hero-bottom .discipline { gap: 13px; }
  .hero-bottom .discipline span + span::before { margin-right: 13px; }
  .hero-bottom .discipline span:last-child { display: none; }
  .section { padding: 49px 0; }
  h2 { font-size: 33px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading .text-link { display: none; }
  .research-grid { grid-template-columns: 1fr; gap: 27px; }
  .research-item { display: grid; grid-template-columns: 27px 1fr; gap: 0 14px; padding-top: 18px; }
  .research-number { grid-row: 1 / 3; padding-top: 4px; }
  .research-item h3 { font-size: 24px; margin-bottom: 10px; }
  .research-item p { grid-column: 2; font-size: 13px; }
  .publication-toolbar { flex-direction: column; align-items: stretch; gap: 17px; margin: 27px 0 22px; }
  .filters { gap: 4px; }
  .filter-button { padding: 7px 10px; font-size: 11px; }
  .search-wrap { flex: auto; }
  .publication { grid-template-columns: 35px minmax(0, 1fr); gap: 13px; padding: 23px 0; }
  .publication-title { font-size: 20px; }
  .publication-links { grid-column: 2; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 0; }
  .publication-kind { margin-bottom: 0; }
  .publication-authors, .publication-citation { font-size: 11px; }
  .teaching-layout, .about-layout, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .teaching-intro p { max-width: none; margin-top: 18px; }
  .course-list li { gap: 16px; grid-template-columns: minmax(0, 1fr) 105px; }
  .about-copy { margin-top: 21px; }
  .timeline-row { grid-template-columns: 91px 1fr; gap: 15px; }
  .talks-list li { grid-template-columns: 80px 1fr; gap: 15px; }
  .talk-event { font-size: 18px; }
  .contact-section { padding: 45px 0; }
  .contact-inner { gap: 25px; }
  .contact-email { font-size: 27px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 11px; }
  .cv-page { padding-top: 38px; }
  .cv-header h1 { font-size: 45px; }
  .cv-tools { flex-wrap: wrap; gap: 10px 22px; }
  .cv-page .timeline-row { grid-template-columns: 92px 1fr; }
  .cv-page .course-list li { grid-template-columns: 1fr 105px; }
}

@media (max-width: 380px) {
  .hero { grid-template-columns: minmax(0, 1fr) 120px; gap: 20px; }
  .hero h1 { font-size: 36px; }
  .portrait { width: 111px; height: 170px; }
  .button { padding-left: 13px; padding-right: 13px; }
  .hero-actions { gap: 17px; }
  .contact-email { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  :root { --paper: #fff; --ink: #111; --muted: #444; --green: #222; --line: #ccc; }
  body { background: white; font-size: 10pt; }
  .site-header, .site-footer, .cv-tools, .skip-link { display: none; }
  .container, .cv-page { width: 100%; max-width: none; padding: 0; }
  .cv-header { margin-bottom: 22px; padding-bottom: 18px; }
  .cv-header h1 { font-size: 28pt; }
  .cv-header p, .plain-list { font-size: 9pt; }
  .cv-section { margin-bottom: 23px; }
  .cv-section h2 { font-size: 17pt; break-after: avoid; }
  .cv-section h3 { font-size: 12pt; break-after: avoid; }
  .cv-page .publication { padding: 10px 0; break-inside: avoid; }
  .cv-page .publication-title { font-size: 11pt; }
  .cv-page .publication-links { display: none; }
  .timeline-row, .course-list li, .talks-list li { break-inside: avoid; }
  a { color: #111; text-decoration: none; }
  @page { margin: 18mm; }
}
