@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --white: #fffdf7;
  --ink: #221f1a;
  --muted: #5e574d;
  --accent: #98482f;
  --border: #d7cfc1;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: .06em; text-underline-offset: .23em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
section[id], article[id], li[id] { scroll-margin-block-start: 2rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font: 400 2.35rem/1.06 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
p + p { margin-top: .75rem; }
ul, ol { padding-left: 1.25rem; }
.wrap { width: min(100% - 5rem, 77.5rem); margin-inline: auto; }
.body-width { max-width: 61rem; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .55rem .9rem; color: var(--ink); background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 5.1rem; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 2.25rem; }
.brand { display: flex; align-items: center; gap: .75rem; width: fit-content; text-decoration: none; font-size: 1.03rem; font-weight: 700; white-space: nowrap; }
.brand-mark { width: 2.15rem; height: 2.15rem; flex: none; object-fit: contain; }
.header-inner nav { display: flex; gap: clamp(1rem, 3vw, 2.65rem); align-items: center; justify-content: center; }
.header-inner nav a, .header-contact { text-decoration: none; font-size: .94rem; font-weight: 600; }
.header-inner nav [aria-current="page"] { color: var(--accent); text-decoration: underline; }
.header-contact { justify-self: end; text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 5vw, 5.9rem); padding-block: clamp(2.5rem, 5.1vw, 5.3rem); }
.eyebrow { font: 700 .86rem/1.4 var(--sans); letter-spacing: .115em; text-transform: uppercase; color: var(--accent); }
.hero-role { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.45rem; }
.hero-role span { width: 1.65rem; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(3.6rem, 7.15vw, 7.15rem); line-height: .89; letter-spacing: -.035em; text-wrap: initial; }
.hero h1 em { font-weight: 400; color: var(--accent); }
.lede { max-width: 36rem; font-size: clamp(1.08rem, 1.45vw, 1.24rem); color: var(--muted); }
.hero .lede { margin-top: 1.65rem; max-width: 29rem; }
.hero-actions, .text-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.hero-actions { margin-top: 1.9rem; }
.button { display: inline-block; border: 1px solid transparent; border-radius: .2rem; padding: .68rem 1.1rem; font: 700 .91rem/1.4 var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.primary { background: var(--ink); color: var(--white); }
.primary:hover { background: var(--accent); color: var(--white); }
.secondary { border-color: #a49a8b; background: transparent; color: var(--ink); }
.secondary:hover { border-color: var(--accent); color: var(--accent); background: var(--white); }
.paper-carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: .45rem;
  background: var(--white);
}
.paper-carousel-toggle {
  position: absolute;
  z-index: 1;
  inset: .75rem .75rem auto auto;
  min-height: 2.75rem;
  padding: .5rem .75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: .25rem;
  color: var(--ink);
  font: 600 .9rem/1.2 var(--sans);
  cursor: pointer;
}
.paper-carousel-toggle:not(:focus) { clip-path: inset(50%); pointer-events: none; }
.paper-deck { display: grid; overflow: hidden; }
.paper-slide { grid-area: 1 / 1; min-width: 0; visibility: hidden; }
.paper-slide[data-current] { visibility: visible; }
.paper-slide-link { display: block; text-decoration: none; }
.paper-slide-link:focus-visible { outline-offset: -4px; }
.paper-slide-image {
  aspect-ratio: 1200 / 850;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.paper-slide-image img { width: 100%; height: 100%; object-fit: contain; }
.paper-slide-caption { padding: .75rem .85rem; }
.paper-slide-finding { color: var(--ink); font-weight: 600; line-height: 1.4; }
.paper-slide-citation {
  margin-top: .3rem;
  color: var(--accent);
  font-size: .92rem;
  font-weight: 600;
}
.paper-slide-link:hover .paper-slide-citation,
.paper-slide-link:focus-visible .paper-slide-citation { text-decoration: underline; }
.paper-deck[data-rotated] .paper-slide[data-current] { animation: paper-enter .4s ease-out both; }
@keyframes paper-enter {
  from { opacity: .35; transform: translateX(1.75rem); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .paper-deck[data-rotated] .paper-slide[data-current] { animation: none; }
}

.theme-band { border-block: 1px solid var(--border); background: #eee9dc; padding-block: 2.2rem 2.6rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; margin-bottom: 1.15rem; }
.section-heading h2 { font-size: clamp(2.2rem, 4vw, 3.25rem); }
.quiet-link, .text-links a, .project-links a { color: var(--accent); font-size: .93rem; font-weight: 700; }
.quiet-link:hover, .text-links a:hover, .project-links a:hover { color: var(--ink); }
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.theme { padding: 1.4rem 1.8rem .15rem; min-width: 0; }
.theme:first-child { padding-left: 0; }
.theme:last-child { padding-right: 0; }
.theme + .theme { border-left: 1px solid var(--border); }
.theme h3 { margin: .35rem 0 .65rem; font-size: 2.05rem; text-wrap: pretty; }
.theme h3 a, .pub-list h2 a, .pub-list h3 a { text-decoration: none; }
.theme h3 a:hover, .pub-list h2 a:hover, .pub-list h3 a:hover { text-decoration: underline; }
.theme > p:last-child { color: var(--muted); max-width: 34ch; }

.home-work { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, .75fr); gap: clamp(2rem, 6vw, 6rem); padding-block: 4.25rem; align-items: start; }
.pub-list, .timeline { list-style: none; padding: 0; margin-block: 0; }
.pub-brief { padding: .95rem 0 1.1rem; border-top: 1px solid var(--border); }
.pub-brief h3 { margin: .1rem 0; font-size: 1.85rem; text-wrap: pretty; }
.pub-venue { color: var(--accent); font-size: .88rem; font-weight: 700; }
.category { display: inline-block; width: fit-content; padding: .08rem .42rem; background: #ede2d2; color: #673921; border-radius: .16rem; font-size: .82rem; line-height: 1.5; }
.profile-card { display: grid; grid-template-columns: 6.4rem 1fr; gap: 1.1rem; align-items: start; background: var(--white); border: 1px solid var(--border); padding: 1.2rem; margin-top: .35rem; border-radius: .25rem; }
.profile-card img { width: 100%; height: auto; border-radius: .15rem; }
.profile-card h2 { font-size: 2rem; }
.profile-card p { margin: .35rem 0 .65rem; color: var(--muted); font-size: .94rem; }
.site-footer { border-top: 1px solid var(--border); background: #eee9dc; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; padding-block: 1.75rem; color: var(--muted); font-size: .88rem; }
.footer-name { color: var(--ink); font: 1.75rem var(--serif); }
.footer-name + p { margin-top: -.15rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; }

.page-intro { padding-block: clamp(2.85rem, 6vw, 5.8rem) clamp(1.9rem, 4.5vw, 3.5rem); }
.page-intro h1 { font-size: clamp(4rem, 8vw, 7rem); line-height: .91; margin-bottom: .85rem; }
.page-intro .eyebrow { margin-bottom: .75rem; }
.page-intro .text-links, .page-intro .button { margin-top: 1rem; }
.section-end { padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.projects { padding-bottom: 2rem; }
.project { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: 2.75rem; border-top: 1px solid var(--border); }
.project h2 { font-size: clamp(2.3rem, 4.5vw, 3.8rem); margin: .44rem 0 .8rem; text-wrap: pretty; }
.project p:not(.eyebrow) { color: var(--muted); max-width: 56ch; }
.research-figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .25rem; background: radial-gradient(ellipse at center, #5a4440, #272125); }
.research-figure img[src*="lattice"] { background: radial-gradient(ellipse at center, #496354, #20302a); }
.research-figure img[src*="cofactors"] { background: radial-gradient(ellipse at center, #4d3a52, #28212d); }
.research-figure figcaption { color: var(--muted); font-size: .86rem; margin-top: .45rem; }
.project-links { margin: .9rem 0 0; }
.project-links li + li { margin-top: .35rem; }

.publication-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .55rem 1rem; align-items: center; padding-bottom: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button { border: 1px solid var(--border); border-radius: .2rem; padding: .45rem .72rem; cursor: pointer; background: var(--white); color: var(--ink); font: 600 .88rem/1.5 var(--sans); }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--ink); border-color: var(--ink); }
.result-count { font-size: .9rem; color: var(--muted); }
.publication, .timeline-item { display: grid; grid-template-columns: minmax(8.5rem, .27fr) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 4vw, 3.5rem); border-top: 1px solid var(--border); padding: 1.35rem 0 1.55rem; }
.pub-meta { display: grid; gap: .32rem; }
.publication h2, .timeline-item h2 { text-wrap: pretty; margin-bottom: .38rem; }
.publication .authors, .timeline-item p { color: var(--muted); }
.publication .text-links, .timeline-item .quiet-link { margin-top: .5rem; }
.timeline-item time { color: var(--accent); font-weight: 700; }
.timeline-item .quiet-link { display: inline-block; }
.cv section { display: grid; grid-template-columns: minmax(8.5rem, .27fr) minmax(0, 1fr); align-items: start; gap: .65rem clamp(1rem, 4vw, 3.5rem); border-top: 1px solid var(--border); padding: 1.4rem 0; }
.cv section > a { grid-column: 2; }
.cv section > :is(ul, dl) { margin: 0; }
.cv li + li { margin-top: .35rem; }
.cv dt { font-weight: 700; }
.cv dd { margin: 0; color: var(--muted); }
.cv dd + dt { margin-top: 1rem; }
.cv .timeline-item { grid-template-columns: 1fr; gap: .25rem; padding: .6rem 0; }
.cv .timeline-item:first-child { border-top: 0; padding-top: 0; }
.cv .timeline-item h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.muted { color: var(--muted); }

@media (max-width: 59rem) {
  .wrap { width: min(100% - 3.5rem, 77.5rem); }
  .hero { gap: 1.5rem; }
  .hero-break { display: none; }
  .home-work { gap: 1.8rem; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-card img { width: 6.25rem; }
}
@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2.2rem); }
  .header-inner { grid-template-columns: 1fr 1fr; gap: .35rem .75rem; padding-block: .65rem; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: .25rem; }
  .header-inner nav a { padding-block: .42rem; }
  .header-contact { grid-row: 1; grid-column: 2; }
  .hero, .home-work, .project, .theme-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 2.3rem 1.5rem; gap: 1.65rem; }
  .hero-role { margin-bottom: .95rem; }
  .hero h1 { font-size: clamp(3.3rem, 12.8vw, 5.6rem); }
  .hero .lede { margin-top: 1rem; }
  .hero-actions { margin-top: 1.2rem; }
  .theme-band { padding-block: 1.6rem; }
  .theme { padding: .95rem 0; }
  .theme + .theme { border-left: 0; border-top: 1px solid var(--border); }
  .theme > p:last-child { max-width: 52ch; }
  .home-work { padding-block: 2.3rem; }
  .profile-card { grid-template-columns: 6rem 1fr; }
  .project { gap: 1rem; padding-block: 1.5rem; }
  .research-figure img { max-height: 17.5rem; }
  .publication, .timeline-item, .cv section { grid-template-columns: 1fr; gap: .55rem; }
  .pub-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
  .cv section > a { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  @page { margin: .55in; }
  body { background: white; color: black; font-size: 10pt; }
  .site-header, .site-footer, .skip-link, .print-button { display: none !important; }
  .wrap { width: 100%; max-width: none; }
  .page-intro { padding: 0 0 .3rem; }
  .page-intro h1 { font-size: 31pt; }
  .page-intro .lede { color: black; font-size: 11pt; }
  .cv section { grid-template-columns: 8.5rem 1fr; gap: .45rem; padding: .55rem 0; break-inside: avoid; }
  .cv h2 { font-size: 17pt; }
  .cv .timeline-item { padding: .22rem 0; }
  .cv .quiet-link { display: none; }
  .section-end { padding-bottom: 0; }
}

.research-figure img[src*="/research/"] {
  aspect-ratio: auto;
  max-height: none;
  object-fit: contain;
  background: white;
  padding: .45rem;
  border: 1px solid var(--border);
}
.project.project-text { grid-template-columns: minmax(0, 1fr); }
.talk-meta { display: flex; flex-direction: column; align-items: start; gap: .35rem; }
.talk-event { font-weight: 700; }
.timeline-item .text-links { margin-top: .65rem; }
.cv-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.cv .timeline-item h3 a { text-decoration: none; }
.cv .timeline-item h3 a:hover { text-decoration: underline; }
@media print {
  .cv-actions { display: none; }
}
.cv-publications { margin-block: .65rem; padding-left: 1.1rem; }
.cv-publications li + li { margin-top: .7rem; }
.author-legend, .cv-byline { color: var(--muted); font-size: .9rem; }
.cv-byline { margin-top: .15rem; }
.author-marks { vertical-align: super; margin-left: .08em; font-size: .78em; line-height: 0; }
.author-marks span + span { margin-left: .08em; }

.motor-study { align-items: start; margin-top: 2rem; padding-block: 1.5rem 0; row-gap: 1rem; }
.motor-copy h3 { font-size: clamp(1.85rem, 2.7vw, 2.35rem); margin-bottom: .45rem; text-wrap: pretty; }
.motor-study .motor-protein { font: italic 400 2rem/1.1 var(--serif); color: var(--accent); }

.project-media .research-figure img[src*="/research/"] {
  aspect-ratio: 998 / 430;
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .9rem 1.5rem;
  padding-block: 1rem;
  border-block: 1px solid var(--border);
  font-size: .92rem;
}
.news-jump, .news-jump ul, .news-filter { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .8rem; }
.news-jump ul, .news-entries { list-style: none; margin: 0; padding: 0; }
.news-jump a { display: inline-block; padding: .3rem .15rem; color: var(--accent); }
.news-filter label { font-weight: 600; }
.news-filter select {
  appearance: none;
  padding: .4rem 1.9rem .4rem .6rem;
  border: 1px solid var(--muted);
  border-radius: .25rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23221f1a' stroke-width='1.5'/%3E%3C/svg%3E") right .6rem center / .65rem no-repeat;
  color: var(--ink);
  font: inherit;
}
.news-filter select:focus-visible, .news-sources summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.news-result-count { color: var(--muted); min-width: 4rem; }
.news-year { margin-top: 2rem; }
.news-year h2 { font-size: clamp(2.7rem, 5vw, 3.5rem); padding-bottom: .6rem; }
.news-item {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: .45rem 1.2rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--border);
}
.news-item time, .news-meta, .news-related, .news-sources { color: var(--muted); font-size: .92rem; }
.news-item time { font-variant-numeric: tabular-nums; }
.news-meta strong { color: var(--ink); }
.news-item h3 { font-size: clamp(1.75rem, 3vw, 2.1rem); margin: .3rem 0 .55rem; }
.news-item a { text-underline-offset: .14em; }
.news-related a, .news-sources a { color: var(--accent); }
.news-sources { margin-top: .45rem; }
.news-sources summary { width: fit-content; cursor: pointer; padding-block: .25rem; font-weight: 600; }
.news-sources ul { margin: .25rem 0 .1rem; }
.news-sources li + li { margin-top: .25rem; }

@media (max-width: 640px) {
  .news-item { grid-template-columns: 1fr; }
  .news-year { margin-top: 1.55rem; }
}

.project-follow-up { margin-top: 1.5rem; }
.project-follow-up summary {
  width: fit-content;
  padding-block: .25rem;
  cursor: pointer;
  font: 400 1.65rem/1.2 var(--serif);
}
.project-follow-up summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
