:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --ink: #23313e;
  --muted: #626d75;
  --accent: #49687f;
  --tint: #e9edf0;
  --line: #d9ddde;
  --surface: #fbfbf8;
  --warm: #876951;
  --accent-hover: #36546a;
  --button-fill: #49687f;
  --button-fill-hover: #36546a;
  --on-accent: #f6f5f1;
  --underline: #a6b8c5;
  --shadow-rgb: 35, 49, 62;
  --accent-rgb: 73, 104, 127;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #141b23;
  --ink: #e8edf2;
  --muted: #abb7c3;
  --accent: #a7bfd1;
  --tint: #222e3b;
  --line: #344251;
  --surface: #1b2530;
  --warm: #c7b59d;
  --accent-hover: #c5d6e3;
  --button-fill: #a7bfd1;
  --button-fill-hover: #c5d6e3;
  --on-accent: #152331;
  --underline: #637c90;
  --shadow-rgb: 0, 0, 0;
  --accent-rgb: 167, 191, 209;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.7 var(--sans); }
a { color: var(--accent); text-underline-offset: .24em; text-decoration-thickness: 1px; transition: color .2s ease, background-color .2s ease, border-color .2s ease, text-decoration-color .2s ease, box-shadow .25s ease, transform .25s ease; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--sans); font-weight: 500; }
h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.25rem); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 1.5rem; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.45; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }
strong { font-weight: 600; }
.container { width: min(1180px, calc(100% - 6rem)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 5; }
.skip-link:focus { top: 1rem; }
.site-header { padding-block: 1.4rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2rem; }
.brand { color: var(--ink); font: 600 1.25rem/1.25 var(--sans); white-space: nowrap; text-decoration: none; }
.site-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; justify-self: end; }
.site-nav a { color: var(--ink); text-decoration: none; padding-block: .35rem; font-size: .9375rem; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--accent); border-color: var(--accent); }
.site-nav .cv-link { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: .7rem; padding-left: 1.4rem; border-left: 1px solid var(--line); }
.site-nav .nav-actions a { padding: .3rem .85rem; border: 1px solid var(--line); border-radius: 100px; font-size: .8125rem; }
.site-nav .nav-actions a:hover, .site-nav .nav-actions a[aria-current='page'] { border-color: var(--accent); background: var(--tint); }
.theme-toggle, .back-to-top { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--accent); cursor: pointer; text-decoration: none; }
.theme-toggle:hover, .back-to-top:hover { background: var(--tint); border-color: var(--accent); }
.theme-icon, .back-to-top svg { display: block; width: 22px; height: 22px; }
.theme-sun, .theme-moon { transform-origin: 12px 12px; transition: opacity .4s ease, transform .55s cubic-bezier(.22, .8, .25, 1); }
.theme-moon { opacity: 0; transform: rotate(-45deg) scale(.6); }
[data-theme='dark'] .theme-sun { opacity: 0; transform: rotate(90deg) scale(.6); }
[data-theme='dark'] .theme-moon { opacity: 1; transform: rotate(0) scale(1); }
.back-to-top svg { transition: transform .25s ease; }
.back-to-top:is(:hover, :focus-visible) svg { transform: translateY(-3px); }
::view-transition-group(root), ::view-transition-old(root) { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal .65s cubic-bezier(.22, .8, .25, 1) both; }
@keyframes theme-reveal {
  from { clip-path: circle(0px at var(--theme-x) var(--theme-y)); }
  to { clip-path: circle(var(--theme-radius) at var(--theme-x) var(--theme-y)); }
}
/* Keep the new view's palette stable while the circular reveal is composited. */
.theme-transitioning, .theme-transitioning *, .theme-transitioning *::before, .theme-transitioning *::after { transition: none !important; }
/* Browsers without view transitions still ease the palette change. */
.theme-changing *, .theme-changing *::before, .theme-changing *::after { transition: background-color .5s ease, color .5s ease, border-color .5s ease, fill .5s ease, stroke .5s ease; }
main { padding-block: 3.5rem 4.5rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .75rem; font-weight: 600; letter-spacing: .13em; margin-bottom: 1rem; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; grid-template-areas: 'hero profile' 'approach approach' 'selected selected'; gap: 4.8rem 4.5rem; align-items: start; }
.hero { grid-area: hero; display: flex; flex-direction: column; align-self: stretch; }
.hero-identity { margin-bottom: 2rem; }
.hero h1 { font-size: 2.375rem; font-weight: 600; letter-spacing: -.045em; margin-bottom: 0; }
.research-headline { font: 500 clamp(2.6rem, 4.6vw, 3.65rem)/1.13 var(--sans); letter-spacing: -.05em; margin-bottom: 1.5rem; }
.research-headline > span { display: block; }
.research-headline > span:last-child { color: var(--accent); }
.intro { font-size: 1.0625rem; max-width: 41rem; line-height: 1.85; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.65rem; }
.hero > .intro { margin-bottom: 0; }
.hero > .hero-actions { margin-top: auto; padding-top: 1.65rem; }
.action-link { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; border: 1px solid var(--line); border-radius: .35rem; padding: .55rem 1rem; font-size: .8125rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.action-link:hover { background: var(--tint); border-color: var(--accent); }
.action-link.primary { background: var(--button-fill); color: var(--on-accent); border-color: var(--button-fill); }
.action-link.primary:hover { background: var(--button-fill-hover); }
.text-link { display: inline-block; font-size: .8125rem; text-decoration: none; }
.hero-actions .text-link { margin-left: .5rem; padding-block: .5rem; }
.profile-panel { grid-area: profile; display: flex; flex-direction: column; align-self: stretch; padding-top: .35rem; }
.portrait-frame { width: 11.5rem; max-width: 100%; margin-inline: auto; padding: .35rem; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); box-shadow: 0 8px 28px rgba(var(--shadow-rgb), .035); overflow: hidden; }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 32%; border-radius: 50%; }
.profile-details { margin-top: 1.05rem; text-align: center; }
.profile-role { color: var(--ink); font-size: .875rem; font-weight: 500; line-height: 1.5; margin-bottom: .2rem; }
.profile-lab { color: var(--muted); font-size: .8125rem; margin-bottom: .4rem; }
.profile-lab a { color: var(--muted); }
.profile-affiliations { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .65rem; font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.profile-affiliations a { text-decoration: none; }
.profile-affiliations > span { color: var(--muted); font-weight: 400; opacity: .6; }
.profile-location { color: var(--muted); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .8rem 0; }
.location-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.profile-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; }
.profile-panel > .profile-links { margin-top: auto; }
.social-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: .35rem; color: var(--accent); background: transparent; }
.social-icon:hover { color: var(--ink); border-color: var(--accent); background: var(--tint); }
.social-icon svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.social-icon .icon-knockout { fill: var(--paper); }
.social-icon:hover .icon-knockout { fill: var(--tint); }
.research-approach { grid-area: approach; min-width: 0; }
.research-approach .section-heading { align-items: baseline; margin-bottom: 1.2rem; }
.research-approach .section-heading h2 { margin: 0; font-size: 1.5rem; font-weight: 500; letter-spacing: -.035em; }
.research-approach .section-heading > p { margin: 0; color: var(--muted); font-size: .8125rem; }
.research-map { display: grid; grid-template-columns: minmax(0, 1.3fr) 9rem minmax(0, 1fr); align-items: center; padding: 2rem 2.5rem; border: 1px solid var(--line); border-radius: .65rem; background: linear-gradient(110deg, var(--surface), var(--tint)); --glow-rgb: var(--accent-rgb); }
.research-map > * { position: relative; z-index: 1; }
.research-sources { display: grid; gap: 2rem; }
.research-source { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.research-source h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: .4rem; }
.research-source p { color: var(--muted); font-size: .875rem; line-height: 1.7; margin-bottom: 0; }
.source-art { width: 4.2rem; height: 2.2rem; stroke: var(--accent); stroke-width: 1.6; margin-top: .1rem; }
.source-art circle { fill: var(--accent); stroke: none; }
.approach-axis { opacity: .35; stroke-width: 1; }
.focus-links { display: flex; flex-wrap: wrap; gap: .2rem .8rem; font-size: .6875rem; line-height: 1.7; margin-top: .7rem; }
.focus-links a { color: var(--muted); text-decoration: none; }
.focus-links a:hover { color: var(--accent); }
.research-bridge svg { display: block; width: 100%; height: 260px; }
.bridge-base { stroke: var(--accent); stroke-width: 1; opacity: .25; }
.bridge-flow { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 16 240; animation: map-flow 6s linear infinite; }
.bridge-flow-secondary { animation-delay: -3s; }
.research-destination { padding-left: 1.5rem; }
.direction-label { color: var(--accent); font-size: .6875rem; line-height: 1.7; margin-bottom: .65rem; }
.direction-label > span { margin-inline: .35rem; opacity: .4; }
.discovery-art { display: block; width: 9rem; height: auto; stroke: var(--accent); stroke-width: 1; margin-bottom: .8rem; }
.discovery-art path { opacity: .35; }
.discovery-art circle { fill: var(--tint); }
.discovery-art .discovery-core { fill: var(--accent); }
.discovery-core { animation: discovery-pulse 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.research-destination h3 { font-size: 1.7rem; font-weight: 500; letter-spacing: -.035em; margin-bottom: .5rem; }
.research-destination > p:not(.direction-label) { color: var(--muted); font-size: .875rem; line-height: 1.75; max-width: 20rem; margin-bottom: .9rem; }
.research-map svg * { animation-play-state: paused; }
.motion-playing .research-map svg * { animation-play-state: running; }
@keyframes map-flow { to { stroke-dashoffset: -256; } }
@keyframes discovery-pulse { 0%, 100% { opacity: .65; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }

.link-row { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; font-size: .9375rem; }
.selected-work { grid-area: selected; margin-top: 1rem; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.section-heading > a { font-size: .875rem; }
.selected-actions { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.5rem; font-size: .875rem; }
.motion-toggle { flex-shrink: 0; color: var(--accent); background: transparent; border: 1px solid var(--line); border-radius: 100px; padding: .4rem .9rem; font-size: .8125rem; cursor: pointer; min-height: 36px; transition: background-color .2s ease, color .2s ease, transform .25s ease, box-shadow .25s ease; }
.motion-toggle:hover { background: var(--tint); }
.motion-toggle:disabled { cursor: default; color: var(--muted); }
.work-row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: 3rem; padding-block: 2.5rem; border-top: 1px solid var(--line); align-items: center; }
.work-row .work-meta { color: var(--accent); font-size: .75rem; line-height: 1.7; letter-spacing: .03em; margin-bottom: .55rem; }
.work-meta span { margin-inline: .4rem; color: var(--line); }
.work-title { font: 500 1.55rem/1.35 var(--sans); letter-spacing: -.025em; margin-bottom: .65rem; }
.work-title a { color: var(--ink); text-decoration: none; }
.work-title a:hover { color: var(--accent); text-decoration: underline; }
.work-row p { color: var(--muted); margin-bottom: .8rem; max-width: 45rem; }
.work-visual { --graphic: #49687f; --graphic-faint: #b6c7d2; --graphic-bg: #f0f4f6; --graphic-accent: #b07859; width: 100%; max-width: 28.5rem; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .7rem; background: linear-gradient(145deg, var(--surface), var(--graphic-bg)); }
[data-theme='dark'] .work-visual { --graphic: #b1cbdf; --graphic-faint: #567389; --graphic-bg: #1e2b36; --graphic-accent: #dda986; }
.motion-art { width: 100%; height: auto; display: block; overflow: hidden; }
/* Paper scenes (assets/scenes/*.js) set geometry and opacity each frame; colors and type stay here. */
.motion-art text { fill: var(--muted); font: 500 10.5px/1 var(--sans); letter-spacing: .01em; }
.motion-art .s-label-accent { fill: var(--graphic-accent); }
.motion-art path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.s-axis { stroke: var(--graphic-faint); stroke-width: 1.1; }
.motion-art .s-ink { fill: var(--graphic); }
.motion-art .s-accent { fill: var(--graphic-accent); }
.s-halo { fill: var(--graphic-accent); fill-opacity: .18; }
.motion-art .hg-density { fill: var(--graphic-faint); fill-opacity: .4; stroke: var(--graphic-faint); stroke-width: 1; }
.hg-tick { stroke: var(--graphic); stroke-width: 1.3; }
.hg-dot { fill: var(--graphic); }
.hg-level { stroke: var(--graphic); stroke-width: 1.1; stroke-dasharray: 2 3; }
.hg-first-order { stroke: var(--graphic-faint); stroke-width: 1.6; stroke-dasharray: 4 4; }
.hg-predicted { stroke: var(--graphic-accent); stroke-width: 2.2; stroke-dasharray: 5 4; }
.motion-art .hg-miss { fill: var(--graphic-faint); fill-opacity: .28; stroke: none; }
.hg-observed { fill: var(--graphic); stroke: var(--surface); stroke-width: 1.2; }
.re-exon { fill: var(--graphic-faint); fill-opacity: .55; }
.re-band { fill: var(--graphic-faint); fill-opacity: .22; }
.re-stem { stroke: var(--graphic-faint); stroke-width: 1.6; }
.re-head { fill: var(--graphic-faint); }
.re-stem-risk { stroke: var(--graphic-accent); stroke-width: 1.8; }
.re-stem-protect { stroke: var(--graphic); stroke-width: 1.8; }
.re-density { stroke: var(--graphic); stroke-width: 1.8; }
.motion-art .re-tail { fill: var(--graphic-accent); fill-opacity: .22; }
.re-threshold { stroke: var(--graphic-accent); stroke-width: 1; stroke-dasharray: 3 4; }
.re-trail { stroke: var(--graphic-accent); stroke-width: 1.6; stroke-opacity: .5; }
.re-person { fill: var(--graphic-faint); }
.re-person.re-carrier { fill: var(--graphic); }
.of-tick { stroke: var(--graphic-faint); stroke-width: 1; }
.of-locus { stroke: var(--graphic); stroke-width: 2; }
.of-root { stroke: var(--graphic); stroke-width: 1.3; stroke-opacity: .5; }
.of-causal { stroke: var(--graphic-accent); stroke-width: 1.8; }
.of-node { fill: var(--graphic-faint); }
.of-body { fill: var(--surface); stroke: var(--graphic-faint); stroke-width: 1.4; }
.of-body-shared { fill: var(--graphic-bg); stroke: var(--graphic); }
.of-body-causal { stroke: var(--graphic-accent); stroke-width: 2; }
.ms-threshold { stroke: var(--graphic-accent); stroke-width: 1; stroke-dasharray: 4 4; stroke-opacity: .7; }
.ms-bar { fill: var(--graphic); }
.motion-art .ms-sweep { fill: var(--graphic-accent); fill-opacity: .12; }
.kb-hit { fill: var(--graphic); }
.kb-chromosome { stroke: var(--graphic-faint); stroke-width: 3; }
.kb-chromosome-alt { stroke: var(--graphic); stroke-opacity: .45; }
.publication-links { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; font-size: .875rem; }
.venue { color: var(--ink); }
.status { font-size: .8125rem; color: var(--accent); }
.page-intro { max-width: 45rem; margin-bottom: 3rem; }
.page-intro h1 { font-size: clamp(2.7rem, 5vw, 3.6rem); }
.page-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.8rem 2.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .8125rem; color: var(--muted); }
.publication-year { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.publication-year > h2 { font-size: 1.8rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.publication { position: relative; border-top: 1px solid var(--line); padding: 1.5rem; }
.publication::before { content: ''; position: absolute; left: .5rem; top: 1.5rem; bottom: 1.5rem; width: 3px; border-radius: 2px; background: var(--accent); opacity: 0; transform: scaleY(.75); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.publication:focus-within::before { opacity: 1; transform: scaleY(1); }
.publication { scroll-margin-top: 1.5rem; }
.publication h3 { font-weight: 400; font-size: 1.125rem; }
.publication h3 a { color: var(--ink); text-decoration: none; }
.publication h3 a:hover { color: var(--accent); text-decoration: underline; }
.publication .authors { color: var(--muted); font-size: .9375rem; margin-bottom: .45rem; }
.publication .authors strong { color: var(--ink); }
.publication .publication-links { margin-top: .75rem; }
.publication .venue-line { font-size: .875rem; display: flex; flex-wrap: wrap; gap: .2rem .8rem; align-items: baseline; }
.publication-note { color: var(--muted); font-size: .875rem; }
.publication-topline { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; }
.publication-topline > a { flex-shrink: 0; font-size: .875rem; }
.publication-note { max-width: 48rem; }
.publication-tools { border-top: 1px solid var(--line); padding-top: 1.5rem; margin: 1rem 0 2.5rem; }
.topic-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.topic-filters button { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 100px; padding: .4rem .9rem; font-size: .8125rem; min-height: 40px; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .25s ease, box-shadow .25s ease; }
.topic-filters button:hover { border-color: var(--accent); }
.topic-filters button[aria-pressed='true'] { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.section-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .875rem; margin-block: 1.5rem; }
.section-nav a { color: var(--muted); text-decoration: none; }
.section-nav a:hover { color: var(--accent); text-decoration: underline; }
.year-nav { margin-bottom: .7rem; }
.publication-count { color: var(--muted); font-size: .75rem; margin-bottom: 0; }
.about-actions { margin-top: -1rem; }
.about-bio, .about-section { margin-bottom: 3rem; scroll-margin-top: 1.5rem; }
.about-bio > h2, .about-section > h2 { font-size: 2rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 0; }
.about-bio p { margin-block: 1.25rem 0; }
.about-link { color: var(--accent); }
.about-link:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
.timeline { margin: 0; }
.timeline-entry { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.timeline-entry:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline dt { color: var(--muted); font: .6875rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .03em; padding-top: .2rem; }
.timeline dd { margin: 0; }
.timeline h3 { font-size: 1rem; margin-bottom: .25rem; }
.timeline p { font-size: .9375rem; line-height: 1.6; margin-bottom: .3rem; }
.timeline-location { color: var(--muted); font-size: .8125rem; }
.timeline .timeline-detail { font-size: .8125rem; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.error-page { max-width: 40rem; min-height: 50vh; }
/* The research map and paper graphics react subtly to the cursor. */
.pointer-surface { position: relative; isolation: isolate; }
.pointer-surface::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(300px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(var(--glow-rgb, var(--accent-rgb)), .12), transparent 75%); opacity: 0; transition: opacity .3s ease; }
.focus-links a, .profile-lab a, .profile-affiliations a, .text-link, .about-link, .work-title a, .publication h3 a, .publication-links a, .selected-actions > a, .section-nav a, .publication-topline > a {
  text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-repeat: no-repeat; background-size: 0 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .3s ease, color .2s ease, background-color .2s ease;
}
.about-link { background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--underline), var(--underline)); background-size: 0 1px, 100% 1px; }
:is(.focus-links a, .profile-lab a, .profile-affiliations a, .text-link, .work-title a, .publication h3 a, .publication-links a, .selected-actions > a, .section-nav a, .publication-topline > a):is(:hover, :focus-visible) { background-size: 100% 1px; text-decoration: none; }
.about-link:is(:hover, :focus-visible) { background-size: 100% 1px, 100% 1px; text-decoration: none; }
.work-row { transition: background-color .25s ease, opacity .55s ease, translate .55s ease; }
.work-copy { transition: transform .3s ease; }
.work-visual { transition: transform .3s ease, box-shadow .3s ease, border-color .25s ease; }
.social-icon svg { transition: transform .25s ease; }
.portrait { transition: transform .4s ease, border-color .3s ease, box-shadow .4s ease; }
.site-nav > a { position: relative; }
.site-nav > a::after { content: ''; position: absolute; inset: auto 0 -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav > a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.site-nav > a:hover { border-bottom-color: transparent; }
.site-nav > a[aria-current='page']:hover { border-bottom-color: var(--accent); }
.publication, .timeline-entry { transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease, opacity .55s ease, translate .55s ease; }
.publication:focus-within, .timeline-entry:focus-within { background: rgba(var(--accent-rgb), .055); }
.timeline dt { transition: color .2s ease; }
.timeline-entry:focus-within dt { color: var(--accent); }
.reveal-pending { opacity: 0; translate: 0 12px; }
:is(.research-map, .work-row, .publication, .timeline-entry):focus-within { opacity: 1; translate: none; transition-property: transform, box-shadow, border-color, background-color; }

@media (hover: hover) and (pointer: fine) {
  .pointer-surface.pointer-active::before { opacity: 1; }
  .action-link:hover, .social-icon:hover, .nav-actions a:hover, .motion-toggle:not(:disabled):hover, .topic-filters button:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(var(--shadow-rgb), .09); }
  .social-icon:hover svg { transform: scale(1.08) rotate(-4deg); }
  .portrait:hover { transform: scale(1.025); }
  .work-row:hover .work-visual, .work-row:focus-within .work-visual { transform: translateY(-3px); border-color: var(--graphic); box-shadow: 0 10px 25px rgba(var(--shadow-rgb), .09); }
  .work-row:hover .work-title a { color: var(--accent); }
  .work-row:hover .work-copy { transform: translateX(3px); }
  .publication:hover { background: rgba(var(--accent-rgb), .055); transform: translateX(3px); }
  .publication:hover::before { opacity: 1; transform: scaleY(1); }
  .publication:hover h3 a { color: var(--accent); }
  .timeline-entry:hover { background: rgba(var(--accent-rgb), .045); }
  .timeline-entry:hover dt { color: var(--accent); }
}

@media (max-width: 860px) {
  .container { width: calc(100% - 3rem); }
  .home-layout { grid-template-columns: minmax(0, 1fr) 13rem; gap: 3.5rem 2.5rem; }
  .research-headline { font-size: clamp(2.35rem, 4.3vw, 3rem); }
  .portrait-frame { width: 10.5rem; }
  .profile-role { font-size: .8125rem; }
  .research-map { grid-template-columns: minmax(0, 1.15fr) 5rem minmax(0, 1fr); padding: 1.8rem; }
  .research-source { grid-template-columns: 1fr; gap: .65rem; }
  .research-destination { padding-left: 1rem; }
  .research-destination h3 { font-size: 1.4rem; }
  .site-nav { gap: 1rem; }
  .nav-actions { padding-left: .8rem; }
  .work-row { grid-template-columns: 1fr; gap: 1.4rem; }
  .work-visual { justify-self: center; }
  .publication-year { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .timeline-entry { grid-template-columns: 11rem minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 2.5rem); }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; padding-block: 1.2rem .8rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; gap: .1rem .85rem; }
  .theme-toggle { grid-column: 2; grid-row: 1; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
  .nav-actions { padding: 0; border: 0; gap: .4rem; }
  .site-nav .nav-actions a { min-height: 44px; padding-inline: .6rem; font-size: .75rem; }
  main { padding-block: 2.3rem 3rem; }
  .home-layout { grid-template-columns: 1fr; grid-template-areas: 'hero' 'profile' 'approach' 'selected'; gap: 2.8rem; }
  .hero-identity { margin-bottom: 1.8rem; }
  .hero h1 { font-size: 2rem; }
  .research-headline { font-size: clamp(2rem, 7.5vw, 2.8rem); line-height: 1.17; }
  .research-headline > span { display: inline; }
  .profile-panel { padding: 1.3rem 0; border-block: 1px solid var(--line); }
  .portrait-frame { width: 6rem; padding: .25rem; }
  .profile-details { margin-top: .85rem; }
  .profile-links { gap: .55rem; }
  .hero-actions { gap: .6rem; }
  .hero-actions .text-link { margin-left: 0; }
  .research-approach .section-heading { gap: .5rem; }
  .research-map { grid-template-columns: 1fr; padding: 1.5rem; }
  .research-source { grid-template-columns: 3.3rem minmax(0, 1fr); gap: .9rem; }
  .source-art { width: 3.3rem; }
  .research-sources { gap: 1.5rem; }
  .research-bridge { height: 3rem; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-block: .65rem; }
  .research-bridge svg { width: 4rem; height: 6.5rem; transform: rotate(90deg); }
  .research-destination { padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.3rem; }
  .research-destination h3 { font-size: 1.5rem; }
  .discovery-art { float: right; width: 5.5rem; margin: .5rem 0 .5rem .8rem; }
  .intro { max-width: 100%; }
  .hero-actions .action-link { min-height: 44px; }
  .selected-work { margin-top: 0; }
  .selected-actions { flex-wrap: wrap; gap: .8rem 1.2rem; }
  .motion-toggle { min-height: 44px; }
  .work-row, .publication-year { grid-template-columns: 1fr; gap: 1.2rem; }
  .work-row { padding-block: 1.7rem; }
  .work-title { font-size: 1.5rem; }
  .publication-year { margin-bottom: 2rem; }
  .publication-year > h2 { margin-bottom: .3rem; }
  .publication { padding-inline: 1.125rem; }
  .publication::before { left: .375rem; }
  .publication-list .publication:first-child { border: 0; padding-top: 0; }
  .publication-list .publication:first-child::before { top: 0; }
  .page-intro { margin-bottom: 2rem; }
  .publication-topline { flex-direction: column; gap: 0; }
  .topic-filters button { min-height: 44px; }
  .section-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .timeline-entry { grid-template-columns: 1fr; gap: .35rem; }
  .focus-links a, .profile-links a, .text-link { min-height: 44px; display: inline-flex; align-items: center; }
  .link-row a, .publication-links a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-art *, .research-map svg * { animation: none !important; }
  ::view-transition-group(root), ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  *, *::before, *::after { transition: none !important; }
  .reveal-pending { opacity: 1; translate: none; }
  .research-map, .work-visual, .work-copy, .publication, .portrait, .social-icon svg, .action-link, .social-icon, .nav-actions a, .motion-toggle, .topic-filters button, .back-to-top svg { transform: none !important; }
}
