*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 0; }
body { margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 6px; border-radius: 2px; }
img { display: block; max-width: 100%; height: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
ul { padding: 0; margin: 0; list-style: none; }
li, p, h1, h2, h3, a { overflow-wrap: break-word; }
.site-header, .hero, .content, .site-footer, .tutorial-hero { min-width: 0; }
.section-nav { display: flex; flex-wrap: wrap; }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.email { display: inline-flex; align-items: center; gap: 1rem; max-width: 100%; min-height: 44px; overflow-wrap: anywhere; }
.email svg { width: 18px; height: 18px; flex: 0 0 18px; }
.content-section { scroll-margin-top: calc(var(--header-height, 106px) + 16px); }
.publication-copy, .section-body { min-width: 0; }
.publication-copy a { display: inline-block; padding-block: 4px; }
.publication-copy a + a { margin-inline-start: 12px; }
.paper-title { font-weight: 500; }
.social-links svg { width: 32px; height: 32px; }
.social-links > p { display: flex; gap: 14px; }
.social-links > p a { display: grid; place-items: center; width: 48px; height: 48px; }
.social-links > p img { max-height: 28px; width: auto; }
.magazine-cover { max-width: 115px; margin-block: 20px; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; background: var(--ink, #111); color: var(--paper, #fff); padding: .7rem 1rem; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.tutorial-hero { padding-block: 32px; }
.tutorial-hero h1 { max-width: 17ch; font-size: clamp(2.125rem, 4vw, 3.5rem); letter-spacing: -.045em; }
.tutorial-hero p { margin-top: 12px; font-size: 1.125rem; }
.tutorial .section-body p + p { margin-top: 1.5rem; }
.tutorial .section-body ul { margin-block: 1rem; }
.tutorial .section-body li { padding-block: .4rem; }
.tutorial .section-body ul ul { margin: .5rem 0 .5rem 1.5rem; list-style: disc; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a { transition: color 160ms ease, background-color 160ms ease; }
}
@media print {
  .site-header, .skip-link, .portrait-decoration { display: none !important; }
  body { background: white !important; color: black !important; }
  .site-shell { width: 100% !important; padding: 0 !important; }
  .hero { min-height: 0 !important; padding-block: 1rem !important; }
  .content-section { break-inside: auto; }
  .section-heading { position: static !important; }
  a { color: black !important; }
}

/* Editorial profile */
:root { --paper: #f7f5ef; --ink: #262722; --muted: #6b6c62; --accent: #a64729; --line: #d9d9cf; }
body { background: var(--paper); color: var(--ink); }
::selection { background: #dfbfa7; color: #262722; }
.site-shell { width: min(100% - 64px, 1320px); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-bottom: 1px solid var(--line); }
.section-nav { gap: 32px; font-size: 0.8125rem; }
.section-nav a { position: relative; color: var(--muted); }
.section-nav a:hover, .section-nav a[aria-current] { color: var(--ink); }
.section-nav a[aria-current]::after { content: ""; position: absolute; bottom: 6px; left: 0; width: 100%; height: 1px; background: currentColor; }
.menu-toggle { display: none; }
.menu-toggle[hidden] { display: none; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon { display: none; }
.menu-toggle[aria-expanded="true"] .close-icon { display: block; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 168px; align-items: center; gap: 40px; padding-block: 28px; }
.hero-copy { min-width: 0; }
.role { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.75rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px; }
.role::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 400; line-height: .98; letter-spacing: -.06em; }
.hero h1 span { display: inline; }
.tagline { max-width: none; margin-top: 10px; font-size: 1.125rem; line-height: 1.4; letter-spacing: -.035em; }
.email { margin-top: 10px; color: var(--muted); font-size: 0.8125rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.email:hover { color: var(--accent); border-color: var(--accent); }
.hero-portrait { position: relative; padding: 8px; border: 1px solid var(--line); }
.hero-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; }
.portrait-decoration { position: absolute; width: 24px; height: 24px; right: -12px; bottom: 20px; background: var(--paper); border: 1px solid var(--accent); border-radius: 50%; }
.portrait-decoration::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--accent); border-radius: 50%; }
.content-section { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding-block: 24px 28px; border-top: 1px solid var(--line); }
.section-heading { align-self: start; position: sticky; top: calc(var(--header-height, 72px) + 24px); }
.section-heading h2 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: 1.5rem; letter-spacing: -.035em; max-width: 13ch; }

.section-body { min-width: 0; font-size: 0.9375rem; line-height: 1.55; }
.section-body h3 { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; line-height: 1.5; margin-bottom: 12px; color: var(--muted); }
.section-body > h3:not(:first-child) { margin-top: 28px; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.timeline li:first-child { padding-top: 0; }
.timeline li:last-child { border-bottom: 0; }
.timeline em { font-size: 0.75rem; color: var(--muted); font-style: normal; font-variant-numeric: tabular-nums; padding-top: 3px; }
.timeline li:first-child em { color: var(--accent); }
.timeline li:first-child span { font-weight: 500; }
.research-interests { margin-top: 20px; padding: 16px 20px; background: #eeeee6; border-radius: 2px; }
.research-interests h3 { margin-bottom: 8px; }
.research-interests p { color: #52564a; line-height: 1.6; }
.pub li { padding-block: 12px; border-bottom: 1px solid var(--line); }
.pub li:first-child { padding-top: 0; }
.pub .venue { display: inline; color: var(--accent); font-size: 0.8125rem; font-weight: 500; margin-inline-end: 6px; }
.publication-copy { display: inline; color: #64665c; }
.paper-title { color: var(--ink); }
.publication-copy a { color: var(--ink); margin-inline-start: 4px; }
.publication-copy a:hover, .section-body a:hover { color: var(--accent); }
.section-body > ul:not(.timeline):not(.pub):not(.archive-list) > li { margin-block: 10px; }
.section-body ul ul { padding-inline-start: 20px; margin-block: 10px; }
.section-body ul ul li { margin-block: 10px; }
.social-links { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; }
.social-links h3 { max-width: 44ch; }
.social-links > p a { border: 1px solid var(--line); border-radius: 50%; }
.social-links > p a:hover { background: #e8e8de; }
.linkedin-link { margin-top: 10px; }
.archive-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.archive-list b { font-size: 0.75rem; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; padding-top: 3px; }
.panel-figure { max-width: 720px; margin: 16px 0; }
.panel-figure figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: 0.8125rem; }
.panel-photo { width: 100%; display: block; outline: 1px solid rgb(0 0 0 / .1); outline-offset: -1px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.6875rem; }
.tutorial-hero h1 { font-family: "Iowan Old Style", Georgia, serif; }

@media (max-width: 1050px) {
  .site-shell { width: calc(100% - 64px); }
  .hero { gap: 28px; grid-template-columns: minmax(0, 1fr) 144px; }
  .hero h1 { font-size: clamp(2.25rem, 4vw, 3rem); }
  .content-section { gap: 24px; grid-template-columns: 160px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .site-shell { width: calc(100% - 40px); }
  .site-header { min-height: 84px; gap: 20px; }
  .section-nav { gap: 2px 17px; justify-content: flex-end; font-size: 0.75rem; }
  .section-nav a { min-height: 44px; }
  .hero { grid-template-columns: minmax(0, 1fr) 72px; gap: 12px; padding-block: 24px; align-items: start; }
  .hero-copy { display: contents; }
  .hero h1 { font-size: clamp(2.125rem, 9vw, 2.5rem); letter-spacing: -.045em; }
  .role { grid-column: 1; grid-row: 1; font-size: 0.75rem; margin: 0; align-self: center; }
  .tagline { grid-column: 1 / -1; grid-row: 3; font-size: 1.125rem; max-width: 28ch; margin-top: 0; }
  .email { grid-column: 1 / -1; grid-row: 4; justify-self: start; margin-top: 0; }
  .hero-portrait { grid-column: 2; grid-row: 1; width: 72px; justify-self: end; margin-top: 0; padding: 5px; }
  .hero-portrait img { aspect-ratio: 1; }
  .portrait-decoration { display: none; }
  .hero .role { max-width: none; letter-spacing: .05em; }
  .hero h1 { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
  .content-section { display: block; padding-block: 20px 24px; }
  .section-heading { position: static; margin-bottom: 14px; }

  .section-heading h2 { font-size: 1.5rem; max-width: none; }
  .section-body { font-size: 1rem; }
  .timeline li { grid-template-columns: 80px 1fr; gap: 12px; }
  .timeline em { font-size: 0.6875rem; }
  .research-interests { padding: 16px; }
  .archive-list li { gap: 12px; grid-template-columns: 44px 1fr; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: 2.125rem; }
  .hero-portrait { width: 64px; }
  .section-nav { column-gap: 12px; }
  .site-header { gap: 12px; }
}

@media (max-width: 60rem) {
  .site-header.menu-enabled { min-height: 64px; }
  .menu-enabled .menu-toggle:not([hidden]) { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
  .menu-toggle:hover { background: #eeeee6; }
  .menu-toggle:focus-visible { border-radius: 50%; }
  .menu-enabled .section-nav { display: none; position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - var(--header-height, 64px) - 16px); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; justify-content: flex-start; flex-wrap: nowrap; gap: 0; padding: 12px 0 20px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 20px -20px rgb(0 0 0 / .18); }
  .menu-enabled .menu-toggle[aria-expanded="true"] + .section-nav { display: flex; }
  .menu-enabled .section-nav a { min-height: 52px; padding: 10px 16px; font-size: 1rem; line-height: 1.5; color: var(--ink); border-radius: 2px; }
  .menu-enabled .section-nav a:hover, .menu-enabled .section-nav a[aria-current] { background: #eeeee6; }
  .menu-enabled .section-nav a:focus-visible { outline-offset: -3px; }
  .menu-enabled .section-nav a[aria-current]::after { display: none; }
}
.brand-links { display: flex; gap: 4px; margin-left: -12px; }
.brand-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--muted); }
.brand-links a:hover { color: var(--accent); }
.brand-links svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.content-section h2 { overflow-wrap: normal; }
