@font-face{font-family:'Instrument Serif';src:url('./fonts/InstrumentSerif-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;}
@font-face{font-family:'Instrument Serif';src:url('./fonts/InstrumentSerif-Italic.woff2') format('woff2');font-style:italic;font-weight:400;font-display:swap;}
@font-face{font-family:'IBM Plex Sans';src:url('./fonts/IBMPlexSans-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;}
@font-face{font-family:'IBM Plex Sans';src:url('./fonts/IBMPlexSans-Medium.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap;}
@font-face{font-family:'IBM Plex Mono';src:url('./fonts/IBMPlexMono-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;}

/* Bernardo D’Auria — an original, content-led academic interface. */
/* All fonts and icons are bundled locally. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #f6f8f8;
  --soft: #edf3f3;
  --ink: #263740;
  --muted: #60717a;
  --accent: #086f6c;
  --accent-soft: #eaf5f3;
  --line: #e0e7e8;
  --line-strong: #bdcbcf;
  --focus: #087c77;
  --sidebar: #172a33;
  --sidebar-ink: #f1f6f7;
  --sidebar-muted: #b3c4cc;
  --sidebar-active: #25444b;
  --sidebar-accent: #7ed3c7;
  --sans: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --serif: 'Instrument Serif', Georgia, serif;
  --sidebar-width: 254px;
  --content-width: 1090px;
  --gutter: 54px;
}
html[data-theme='dark'] {
  color-scheme: dark;
  --paper: #18252d;
  --surface: #1f2e36;
  --soft: #25363d;
  --ink: #e3eced;
  --muted: #a9bbc0;
  --accent: #87d4c8;
  --accent-soft: #233f41;
  --line: #35464e;
  --line-strong: #536970;
  --focus: #9ce1d5;
  --sidebar: #101e26;
  --sidebar-active: #25444b;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; min-width: 0; overflow-wrap: break-word; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, select, textarea { font: inherit; }
button, input, select, textarea, main, section, article, nav { min-width: 0; }
a, h1, h2, h3, h4 { overflow-wrap: anywhere; }
button, a, summary { touch-action: manipulation; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
input:focus-visible, select:focus-visible { outline-offset: 2px; }
::selection { color: var(--ink); background: var(--accent-soft); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; line-height: 1.3; }
ul, ol { padding-left: 1.3em; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
svg { vertical-align: middle; }
[hidden] { display: none !important; }
.icon { display: inline-block; width: 19px; height: 19px; flex: 0 0 auto; vertical-align: -.2em; background-color: currentColor; -webkit-mask: var(--icon-mask) center / contain no-repeat; mask: var(--icon-mask) center / contain no-repeat; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; transform: translateY(-180%); background: var(--paper); color: var(--ink); border: 2px solid var(--accent); padding: 10px 16px; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.js-only { display: none !important; }
.js-enabled .js-only { display: revert !important; }
.js-enabled .theme-toggle.js-only, .js-enabled .citation-button.js-only, .js-enabled .view-controls.js-only, .js-enabled .button.js-only, .js-enabled .text-button.js-only { display: inline-flex !important; }
.js-enabled .menu-toggle.js-only { display: none !important; }
.js-enabled .sort-controls.js-only { display: flex !important; }
.muted { color: var(--muted); }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 500; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.text-link, .action-link, .text-button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; color: var(--accent); font-size: 13px; font-weight: 500; text-decoration: none; }
.text-button { border: 0; padding: 5px 0; background: transparent; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink); background: var(--paper); font-size: 13px; font-weight: 500; line-height: 1.45; text-decoration: none; }
.button:hover { border-color: var(--accent); text-decoration: none; }
.button-primary { border-color: var(--accent); background: var(--accent); color: var(--paper); }
.button-primary:hover { filter: brightness(.94); }
.button-secondary { background: transparent; color: var(--accent); }
.link-row, .inline-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 18px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--accent); background: var(--accent-soft); font-size: 11px; line-height: 1.6; text-decoration: none; }

/* Persistent identity and primary navigation. */
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; display: flex; flex-direction: column; width: var(--sidebar-width); padding: 39px 25px 24px; overflow-y: auto; background: var(--sidebar); color: var(--sidebar-ink); }
.sidebar a { color: inherit; }
.identity { display: flex; flex-direction: column; align-items: stretch; gap: 17px; color: var(--sidebar-ink); text-decoration: none; }
.identity:hover { text-decoration: none; }
.monogram { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid #54727a; border-radius: 50%; color: var(--sidebar-accent); font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.identity-name { font-size: 24px; font-weight: 500; letter-spacing: -.035em; line-height: 1.2; }
.identity-role { margin-top: 11px; color: var(--sidebar-muted); font-size: 12px; }
.identity-institution { display: block; margin-top: 3px; color: var(--sidebar-muted) !important; font-size: 12px; line-height: 1.6; text-decoration: none; }
.identity-location { display: flex; align-items: center; gap: 6px; margin-top: 13px; color: var(--sidebar-muted); font-family: var(--mono); font-size: 10px; }
.identity-location .icon { width: 13px; height: 13px; }
.side-nav { display: grid; gap: 4px; margin: 32px -12px 30px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 10px 12px; border-radius: 4px; color: var(--sidebar-muted) !important; font-size: 13px; line-height: 1.4; text-decoration: none; }
.nav-link .icon { width: 18px; height: 18px; opacity: .85; }
.nav-link:hover { background: #203a43; color: var(--sidebar-ink) !important; text-decoration: none; }
.nav-link[aria-current='page'] { color: var(--sidebar-ink) !important; background: var(--sidebar-active); }
.nav-link[aria-current='page']::before { position: absolute; left: -13px; top: 11px; bottom: 11px; width: 3px; border-radius: 0 2px 2px 0; background: var(--sidebar-accent); content: ''; }
.nav-link[aria-current='page'] .icon { color: var(--sidebar-accent); opacity: 1; }
.nav-count { margin-left: auto; color: var(--sidebar-muted); font-family: var(--mono); font-size: 10px; }
.sidebar-bottom { margin-top: auto; padding-top: 22px; border-top: 1px solid #354b55; }
.social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.social-links a, .theme-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 7px; border: 1px solid transparent; border-radius: 4px; color: var(--sidebar-muted); background: transparent; text-decoration: none; }
.social-links a:hover, .theme-toggle:hover { color: var(--sidebar-ink); border-color: #48636d; text-decoration: none; }
.social-links a:not(:has(svg)) { font-family: var(--mono); font-size: 11px; }
.theme-toggle { margin-left: auto; }
.sidebar-bottom > .theme-toggle { margin-top: 6px; margin-left: -7px; }
.sidebar-note { margin-top: 12px; color: var(--sidebar-muted); font-size: 10px; line-height: 1.65; }
.sidebar :focus-visible { outline-color: var(--sidebar-accent); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 10px; border: 1px solid #48636d; border-radius: 4px; background: transparent; color: var(--sidebar-ink); }

/* The small-screen controls reuse the same language link and menu button. */
.mobile-header-controls { display: none; }

/* A restrained document frame, shared by every page. */
.site-main { min-height: 100vh; margin-left: var(--sidebar-width); }
.page-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.breadcrumb { color: var(--muted); font-size: 12px; }
.topbar-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; min-width: 0; gap: 8px 20px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--muted); font-size: 11px; text-decoration: none; }
.topbar-links a:hover { color: var(--accent); text-decoration: underline; }
.topbar-links .icon { width: 15px; height: 15px; }
.content-wrap { width: min(var(--content-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.page-heading { padding: 40px 0 27px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.page-heading h1 { margin-top: 7px; font-size: clamp(30px, 2.8vw, 39px); letter-spacing: -.035em; line-height: 1.2; }
.page-heading .page-lead { max-width: 760px; margin-top: 13px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.page-body { min-width: 0; padding-bottom: 34px; }
.site-footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; padding: 23px 0 27px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.section-block { margin-top: 38px; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 17px; }
.section-header h2 { font-size: 23px; letter-spacing: -.025em; }
.section-header .text-link { font-size: 12px; }

/* Profile: biography first, compact facts beside it. */
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 218px; gap: 40px; align-items: start; }
.bio { min-width: 0; }
.bio p { margin-bottom: 15px; font-size: 15px; line-height: 1.85; }
.bio strong { font-weight: 500; }
.bio .link-row { margin-top: 20px; }
.profile-aside { padding-left: 25px; border-left: 1px solid var(--line); }
.profile-aside > .eyebrow { margin-bottom: 18px; }
.profile-aside > h2, .profile-facts > h2 { margin-bottom: 19px; font-size: 14px; }
.profile-facts, .profile-facts dl { margin: 0; }
.profile-facts dt { margin-top: 18px; color: var(--muted); font-size: 11px; }
.profile-facts dt:first-child { margin-top: 0; }
.profile-facts dd { overflow-wrap: anywhere; margin: 3px 0 0; color: var(--ink); font-size: 13px; line-height: 1.65; }
.profile-facts dd a { text-decoration: none; }
.profile-note { margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.7; }
.topic-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.topic-card { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 7px 14px; padding: 19px 20px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); text-decoration: none; }
.topic-card:hover { border-color: var(--accent); background: var(--surface); text-decoration: none; }
.topic-icon { color: var(--accent); }
.topic-icon svg { width: 32px; height: 32px; }
.topic-card .topic-icon { grid-column: 1; grid-row: 1 / span 3; padding-top: 1px; }
.topic-card h3 { grid-column: 2; font-size: 16px; letter-spacing: -.015em; }
.topic-card p { grid-column: 2; color: var(--muted); font-size: 12px; line-height: 1.65; }
.topic-count { grid-column: 2; margin-top: 3px; color: var(--accent); font-family: var(--mono); font-size: 10px; }
.recent-list { border-top: 1px solid var(--line); }
.recent-publication { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 19px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.recent-year { padding-top: 2px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.recent-publication h3 { font-size: 16px; font-weight: 500; line-height: 1.5; }
.recent-publication h3 a { color: var(--ink); text-decoration: none; }
.recent-publication h3 a:hover { color: var(--accent); text-decoration: underline; }
.recent-publication p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.recent-publication .inline-links { display: block; margin-top: 4px; font-size: 12px; }

/* Bibliographic archive and combined filters. */
.archive-summary { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.archive-toolbar { padding: 21px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.search-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.search-field label, .filter-grid label { display: block; color: var(--muted); font-size: 12px; }
.search-field input, .filter-grid select { display: block; width: 100%; min-width: 0; min-height: 43px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink); background: var(--paper); font-size: 14px; line-height: 1.5; }
.search-field input::placeholder { color: var(--muted); opacity: .9; }
.filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 15px; }
.filter-grid label { margin-bottom: 6px; }
.filter-grid label select { margin-top: 6px; }
.archive-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; min-height: 58px; padding: 7px 0 15px; border-bottom: 1px solid var(--line-strong); }
.result-summary { color: var(--muted); font-size: 12px; }
.sort-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 17px; }
.sort-controls select { min-height: 36px; max-width: 180px; padding: 5px 20px 5px 7px; border: 1px solid transparent; border-radius: 3px; background: var(--paper); color: var(--muted); font-size: 12px; }
.sort-controls .text-button { min-height: 36px; font-size: 12px; }
.view-controls { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 4px; }
.view-controls button { min-height: 31px; padding: 5px 9px; border: 0; border-radius: 3px; color: var(--muted); background: transparent; font-size: 11px; }
.view-controls button[aria-pressed='true'] { background: var(--soft); color: var(--ink); }
.publication-list { margin: 0; padding: 0; }
.publication { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 19px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.pub-index { padding-top: 4px; color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.6; }
.pub-body { min-width: 0; }
.pub-title { max-width: 880px; font-size: 18px; font-weight: 500; letter-spacing: -.018em; line-height: 1.5; text-wrap: pretty; }
.pub-title a { color: var(--ink); text-decoration: none; }
.pub-title a:hover { color: var(--accent); text-decoration: underline; }
.pub-authors { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.pub-authors strong { color: var(--ink); font-weight: 500; }
.pub-authors a { color: var(--muted); text-decoration: none; }
.pub-authors a:hover { color: var(--accent); text-decoration: underline; }
.pub-venue { margin-top: 4px; color: var(--muted); font-size: 12px; }
.pub-venue em { color: var(--ink); font-style: normal; }
.pub-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.pub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1px 19px; margin-top: 6px; }
.pub-actions .action-link, .citation-button { min-height: 35px; font-size: 12px; }
.pub-actions .icon { width: 16px; height: 16px; }
.citation-button { display: inline-flex; align-items: center; gap: 7px; padding: 5px 0; border: 0; background: transparent; color: var(--accent); font-weight: 500; }
.pub-details { max-width: 800px; margin-top: 2px; font-size: 13px; }
.pub-details summary { width: fit-content; min-height: 35px; padding: 5px 0; color: var(--muted); cursor: pointer; font-size: 12px; }
.pub-details summary:hover { color: var(--accent); }
.pub-details p { padding: 5px 0 4px; color: var(--muted); line-height: 1.8; }
.publication-list[data-density='compact'] .publication { padding-block: 16px; }
.publication-list[data-density='compact'] .pub-title { font-size: 16px; }
.publication-list[data-density='compact'] .pub-tags { margin-top: 6px; }
.publication-list[data-density='compact'] .pub-authors { margin-top: 4px; }
.publication-list[data-density='compact'] .pub-actions { margin-top: 2px; }
.empty-state { margin: 18px 0; padding: 28px 22px; border: 1px dashed var(--line-strong); border-radius: 4px; color: var(--muted); font-size: 14px; }
.empty-state strong { display: block; margin-bottom: 5px; color: var(--ink); font-weight: 500; }
.archive-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; }
.archive-footer p { max-width: 540px; color: var(--muted); font-size: 12px; }
.archive-footer .link-row { gap: 7px 14px; }

/* Software is presented as a scholarly resource, with related works nearby. */
.project-list { border-top: 1px solid var(--line); }
.software-item { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 25px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.software-mark { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 17px; font-weight: 400; }
.software-mark svg { width: 35px; height: 35px; }
.software-item[data-status='historical'] .software-mark { color: var(--muted); background: var(--surface); }
.software-body { min-width: 0; }
.project-kind { color: var(--muted); font-family: var(--mono); font-size: 10px; line-height: 1.5; }
.project-title { margin-top: 5px; font-size: 24px; letter-spacing: -.025em; }
.project-title a { color: var(--ink); text-decoration: none; }
.project-title a:hover { color: var(--accent); }
.project-description { max-width: 790px; margin-top: 11px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.project-links { display: flex; flex-wrap: wrap; gap: 3px 21px; margin-top: 12px; }
.project-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; color: var(--accent); font-size: 12px; font-weight: 500; text-decoration: none; }
.project-related { margin-top: 15px; padding: 12px 15px; border-left: 2px solid var(--line-strong); background: var(--surface); color: var(--muted); font-size: 12px; }
.project-related small { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: .03em; }
.project-related a { display: inline-block; line-height: 1.65; }
.project-meta { margin-top: 7px; color: var(--muted); font-size: 11px; }

/* Research topics and the optional mathematical illustration. */
.research-list { display: grid; gap: 0; }
.research-item { position: relative; padding: 0 0 27px 53px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.research-item > .topic-icon { position: absolute; left: 0; top: 1px; }
.research-item h2 { margin-bottom: 10px; font-size: 23px; letter-spacing: -.025em; }
.research-item > p, .research-item > div > p { max-width: 780px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.related-list { margin: 15px 0 0; padding: 0; list-style: none; }
.related-list li { margin-top: 8px; font-size: 13px; line-height: 1.7; }
.related-list small { margin-left: 8px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.demo-panel { padding: 24px 27px; margin-top: 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.demo-panel h2, .demo-panel h3 { font-size: 20px; letter-spacing: -.02em; }
.demo-panel > p { max-width: 760px; margin-top: 10px; color: var(--muted); font-size: 13px; }
#bridge-art { display: block; width: 100%; height: auto; max-height: 310px; margin-top: 10px; overflow: visible; color: var(--accent); }
#bridge-art text { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
#bridge-art .axis { stroke: var(--line-strong); }
.bridge-line { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.figure-caption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; color: var(--ink); font-size: 12px; }
.figure-caption small { color: var(--muted); font-size: 11px; }
.figure-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 20px; padding-top: 11px; margin-top: 12px; border-top: 1px solid var(--line); }
.figure-formula { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.figure-controls .text-button { font-size: 12px; }
.demo-caption { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.75; }

/* Career, qualifications and visits preserve the precision of their dates. */
.cv-section { margin-top: 35px; }
.cv-section:first-child { margin-top: 0; }
.cv-section > h2 { padding-bottom: 15px; margin-bottom: 0; border-bottom: 1px solid var(--line-strong); font-size: 23px; letter-spacing: -.025em; }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline-item { display: grid; grid-template-columns: 147px minmax(0, 1fr); gap: 26px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.timeline-date { position: relative; padding: 3px 0 0 14px; color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.8; }
.timeline-date::before { position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); content: ''; }
.timeline-body h3 { font-size: 17px; letter-spacing: -.015em; line-height: 1.5; }
.timeline-body h3 a { color: var(--ink); text-decoration: none; }
.timeline-body h3 a:hover { color: var(--accent); text-decoration: underline; }
.timeline-body p { margin-top: 6px; color: var(--muted); font-size: 13px; }
.timeline-body .timeline-location { margin-top: 4px; font-size: 11px; }
.education-list article { display: grid; grid-template-columns: 147px minmax(0, 1fr); gap: 5px 26px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.education-year { grid-column: 1; grid-row: 1 / span 2; padding-top: 3px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.education-list h3 { font-size: 17px; }
.education-list p { grid-column: 2; margin-top: 5px; color: var(--muted); font-size: 13px; }

/* Relationships are derived from the publication archive. */
.collaboration-layout { display: grid; grid-template-columns: minmax(230px, .82fr) minmax(0, 1.3fr); gap: 35px; align-items: start; }
.js-enabled .collaboration-layout.js-only { display: grid !important; }
.collaborator-list { display: grid; gap: 5px; }
.collaborator { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 43px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); text-align: left; }
.collaborator:hover { border-color: var(--accent); background: var(--surface); }
.collaborator[aria-pressed='true'] { border-color: var(--accent); background: var(--accent-soft); }
.collaborator-name { color: var(--ink); font-size: 12px; line-height: 1.5; }
.collaborator-count { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.collaborator[aria-pressed='true'] .collaborator-name, .collaborator[aria-pressed='true'] .collaborator-count { color: var(--accent); }
.collaboration-detail { position: sticky; top: 30px; min-width: 0; min-height: 210px; padding: 23px 25px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.collaboration-detail h2, .collaboration-detail h3 { margin: 0 0 11px; font-size: 22px; letter-spacing: -.025em; }
.collaboration-detail > .eyebrow + h2, .collaboration-detail > .eyebrow + h3 { margin-top: 13px; }
.collaboration-detail p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.collaboration-detail ul { padding: 0; margin: 18px 0 0; list-style: none; }
.collaboration-detail li { padding: 13px 0; border-top: 1px solid var(--line); }
.collaboration-detail li a { color: var(--ink); font-size: 14px; line-height: 1.6; text-decoration: none; }
.collaboration-detail li a:hover { color: var(--accent); text-decoration: underline; }
.collaboration-detail small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.collaboration-detail .text-link { margin-top: 13px; }
.collaboration-note { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.collaborator-fallback { padding-left: 18px; }
.collaborator-fallback li { margin-bottom: 16px; font-size: 13px; }

/* Direct, useful contact details. */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; }
.contact-card { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 5px; }
.contact-card h2 { margin-bottom: 19px; font-size: 21px; letter-spacing: -.02em; }
.contact-card > p { margin-top: 11px; color: var(--muted); font-size: 14px; }
.contact-card dl { margin: 0; }
.contact-card dt { margin-top: 20px; color: var(--muted); font-size: 11px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.contact-primary { background: var(--surface); }
.contact-email { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; max-width: 100%; min-height: 40px; font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 15px; }
.contact-links a { max-width: 100%; overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 8px; min-height: 35px; font-size: 13px; text-decoration: none; }

/* Citation tools and explanatory pages. */
.citation-dialog { width: min(710px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 28px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 70px rgb(0 0 0 / .2); }
.citation-dialog::backdrop { background: rgb(12 28 36 / .62); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-header h2 { font-size: 24px; letter-spacing: -.025em; }
.dialog-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; margin: -6px -7px -6px 0; border: 0; border-radius: 4px; color: var(--muted); background: transparent; }
.dialog-close:hover { background: var(--surface); color: var(--ink); }
.dialog-body { margin-top: 21px; }
.dialog-body pre { padding: 19px; margin: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font-family: var(--mono); font-size: 11px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; overflow: auto; }
.status-message { min-height: 1.6em; margin-top: 11px; color: var(--muted); font-size: 12px; }
.dialog-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 11px; margin-top: 17px; }
.prose { max-width: 850px; }
.prose h2 { margin-top: 32px; margin-bottom: 13px; font-size: 24px; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 15px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.prose li { margin-bottom: 10px; color: var(--muted); font-size: 14px; }

/* Professional activities: semantic lists with optional detail. */
.identity-portrait { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 5px; border: 1px solid #54727a; }
.section-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 32px; padding: 0 0 17px; border-bottom: 1px solid var(--line); font-size: 12px; }
.section-nav a { color: var(--accent); text-underline-offset: 4px; }
.section-intro { margin: 0 0 28px; }
.archive-record { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 25px; padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.record-date { color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.7; }
.record-body { min-width: 0; }
.record-body h3 { font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: -.015em; overflow-wrap: anywhere; }
.record-body p { margin-top: 7px; font-size: 13px; line-height: 1.7; }
.record-body .record-meta { color: var(--muted); font-size: 12px; }
.record-honours { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.record-details { margin-top: 11px; font-size: 12px; }
.record-details summary { width: fit-content; color: var(--accent); cursor: pointer; text-underline-offset: 4px; }
.record-details summary:hover { text-decoration: underline; }
.record-details[open] { padding-bottom: 3px; }
.record-details p { font-size: 12px; }
.record-links a { color: var(--accent); font-size: 12px; }
.archive-note { margin-top: 35px; max-width: 72ch; color: var(--muted); font-size: 12px; line-height: 1.8; }
.language-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.language-list dt { font-size: 14px; font-weight: 500; }
.language-list dd { margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.journal-list { columns: 2; column-gap: 35px; padding-left: 18px; margin-top: 20px; font-size: 13px; }
.journal-list li { margin-bottom: 8px; break-inside: avoid; }
.type-tag { background: transparent; color: var(--muted); border: 1px solid var(--line); }
@media (max-width: 640px) {
  .identity-portrait { width: 34px; height: 42px; }
  .archive-record { grid-template-columns: 1fr; gap: 8px; padding-block: 21px; }
  .record-body h3 { font-size: 16px; }
  .section-nav { gap: 10px 18px; }
  .language-list { grid-template-columns: 1fr; gap: 17px; }
  .journal-list { columns: 1; }
}
@media print {
  .section-nav { display: none; }
  .archive-record { grid-template-columns: 120px 1fr; gap: 20px; break-inside: avoid; }
  .record-body h3 { font-size: 11pt; }
  .record-body p, .record-date { font-size: 9pt; }
  .record-details { display: none; }
}

@media (min-width: 1600px) {
  :root { --sidebar-width: 280px; }
  .sidebar { padding-inline: 33px; }
  .page-heading { padding-top: 49px; }
}
@media (max-width: 1200px) {
  :root { --sidebar-width: 232px; --gutter: 35px; }
  .sidebar { padding-inline: 23px; }
  .identity-name { font-size: 22px; }
  .profile-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 27px; }
  .profile-aside { padding-left: 21px; }
  .topic-card { padding: 16px; gap: 7px 10px; }
  .collaboration-layout { gap: 23px; }
  .contact-grid { gap: 16px; }
  .contact-card { padding: 20px; }
  .contact-email { font-size: 16px; }
}
/* The target-language flag remains useful before enhancement and in snapshots. */
.language-switch, .topbar-links .language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 8px;
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.language-switch:hover, .topbar-links .language-switch:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.language-switch svg { display: block; flex-shrink: 0; width: 23px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / .12); }
.language-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1000px) {
  :root { --gutter: 32px; --sidebar-width: 0px; }
  html { scroll-padding-top: 94px; }
  .sidebar {
    position: sticky;
    inset: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 18px;
    width: 100%;
    min-height: 74px;
    padding: 12px var(--gutter);
    padding-top: max(12px, env(safe-area-inset-top));
    overflow: visible;
    border-bottom: 1px solid #354b55;
    box-shadow: 0 1px 5px rgb(0 0 0 / .06);
  }
  .identity { grid-column: 1; grid-row: 1; flex-direction: row; align-items: center; gap: 12px; min-width: 0; width: fit-content; max-width: 100%; }
  .identity-name { min-width: 0; font-size: 22px; line-height: 1.2; }
  .identity-portrait { width: 36px; height: 45px; flex: 0 0 36px; border-radius: 4px; }
  .monogram { width: 44px; height: 44px; flex: 0 0 44px; font-size: 27px; }
  .identity-role, .identity-institution, .identity-location, .sidebar-note { display: none; }
  .sidebar[data-mobile-layout='ready'] .mobile-header-controls { display: flex; grid-column: 2; grid-row: 1; align-items: center; gap: 7px; }
  .js-enabled .menu-toggle.js-only { display: inline-flex !important; }
  .menu-toggle { position: static; grid-column: 2; grid-row: 1; width: 44px; height: 44px; padding: 11px; border-radius: 5px; }
  .menu-toggle:hover, .menu-toggle[aria-expanded='true'] { background: var(--sidebar-active); border-color: var(--sidebar-accent); }
  .mobile-header-controls .language-switch { min-width: 44px; min-height: 44px; padding: 10px; border-color: #48636d; color: var(--sidebar-ink); background: transparent; }
  .mobile-header-controls .language-switch:hover { border-color: var(--sidebar-accent); background: var(--sidebar-active); }
  .mobile-header-controls .language-switch > span { display: none; }
  .mobile-header-controls .language-switch svg { width: 24px; height: 17px; }
  .mobile-header-controls .language-switch:focus-visible { outline-color: var(--sidebar-accent); }
  .side-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    max-height: calc(100vh - 158px);
    max-height: calc(100svh - 158px);
    margin: 13px -6px 0;
    padding: 12px 0 1px;
    border-top: 1px solid #354b55;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
  }
  .nav-link { gap: 9px; min-width: 0; min-height: 46px; padding: 10px; font-size: 12px; }
  .nav-link .icon { width: 17px; height: 17px; }
  .nav-link[aria-current='page']::before { left: 0; top: 12px; bottom: 12px; width: 2px; }
  .nav-count { flex-shrink: 0; font-size: 10px; }
  .js-enabled .side-nav { display: none; }
  .js-enabled .side-nav[data-open='true'] { display: grid; }
  .sidebar-bottom { position: static; grid-column: 1 / -1; grid-row: 3; padding: 9px 0 0; margin: 10px 0 0; border-top: 1px solid #354b55; }
  .js-enabled .sidebar-bottom { display: none; }
  .js-enabled .sidebar[data-menu-open='true'] .sidebar-bottom { display: block; }
  .sidebar-bottom .social-links { gap: 6px; }
  .sidebar-bottom .social-links a, .sidebar-bottom .theme-toggle { min-width: 44px; min-height: 44px; }
  .sidebar :focus-visible { outline-offset: 2px; }
  .site-main { margin-left: 0; min-height: calc(100vh - 74px); }
  .page-topbar { gap: 6px 18px; min-height: 51px; padding-block: 5px; }
  .breadcrumb { font-size: 12px; }
  .topbar-links { gap: 6px 16px; }
  .topbar-links a, .topbar-links .text-button { min-height: 40px; }
  .page-heading { padding-top: 30px; margin-bottom: 27px; }
  .page-heading h1 { font-size: 35px; }
  .profile-layout { grid-template-columns: minmax(0, 1fr) 215px; gap: 28px; }
  .profile-aside { padding-left: 21px; }
  .collaboration-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; }
  .collaboration-detail { top: 98px; }
  .search-field input, .filter-grid select { min-height: 46px; font-size: 16px; }
  .filter-grid > * { min-width: 0; }
  .sort-controls select { max-width: 100%; min-height: 44px; font-size: 14px; }
  .sort-controls .text-button, .view-controls button { min-height: 44px; }
  .pub-actions .action-link, .citation-button, .project-links a, .record-details summary, .pub-details summary { min-height: 44px; }
  .record-details summary, .pub-details summary { padding-block: 9px; }
  .section-nav { gap: 4px 20px; }
  .section-nav a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
  .button, .dialog-close { min-height: 44px; }
  .dialog-close { width: 44px; height: 44px; }
}
@media (max-width: 640px) {
  :root { --gutter: 22px; }
  body { font-size: 15px; }
  .sidebar { column-gap: 10px; min-height: 72px; padding-block: 12px; }
  .identity { gap: 10px; }
  .identity-name { font-size: 19px; }
  .identity-portrait { width: 34px; height: 43px; flex-basis: 34px; }
  .monogram { width: 40px; height: 40px; flex-basis: 40px; font-size: 25px; }
  .sidebar[data-mobile-layout='ready'] .mobile-header-controls { gap: 6px; }
  .side-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  .nav-link { min-height: 48px; font-size: 13px; }
  .page-topbar { min-height: 47px; padding-block: 2px; gap: 4px 12px; }
  .breadcrumb { font-size: 11px; }
  .topbar-links { gap: 6px 12px; margin-left: auto; }
  .topbar-links > a:not(.language-switch) { display: none; }
  .topbar-links .text-button { min-height: 42px; font-size: 11px; }
  .topbar-links .language-switch { min-height: 42px; padding-inline: 9px; }
  .page-heading { padding: 26px 0 23px; margin-bottom: 25px; }
  .page-heading h1 { font-size: clamp(29px, 7.8vw, 34px); }
  .page-heading .page-lead { margin-top: 12px; font-size: 15px; line-height: 1.75; }
  .page-body { padding-bottom: 22px; }
  .section-block { margin-top: 32px; }
  .section-header { gap: 4px 15px; margin-bottom: 14px; }
  .section-header h2 { font-size: 22px; }
  .profile-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bio p { font-size: 15px; line-height: 1.8; }
  .profile-aside { padding: 19px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
  dl.profile-facts, .profile-facts > dl { display: grid; grid-template-columns: minmax(0, 92px) minmax(0, 1fr); gap: 10px 15px; }
  .profile-facts dt, .profile-facts dd { margin: 0; overflow-wrap: anywhere; }
  .profile-facts dd { font-size: 13px; }
  .topic-overview { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .topic-card { padding: 17px; gap: 5px 13px; }
  .topic-card h3 { font-size: 17px; }
  .topic-card p { font-size: 13px; }
  .recent-publication { grid-template-columns: 39px minmax(0, 1fr); gap: 13px; padding-block: 18px; }
  .recent-year { font-size: 11px; }
  .recent-publication h3 { font-size: 16px; }
  .recent-publication p { font-size: 12px; }
  .archive-summary { font-size: 13px; line-height: 1.75; }
  .archive-toolbar { padding: 16px; }
  .filter-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 14px; }
  .archive-controls { gap: 7px 14px; padding-bottom: 12px; }
  .sort-controls { width: 100%; justify-content: space-between; gap: 4px 12px; }
  .sort-controls select { min-width: 0; padding-left: 0; font-size: 16px; }
  .view-controls { max-width: 100%; margin-top: 3px; }
  .view-controls button { padding-inline: 12px; font-size: 12px; }
  .publication { grid-template-columns: 27px minmax(0, 1fr); gap: 10px; padding-block: 23px; }
  .pub-index { font-size: 10px; }
  .pub-title { font-size: 18px; line-height: 1.45; }
  .pub-authors { font-size: 13px; line-height: 1.75; }
  .pub-venue { font-size: 12px; }
  .pub-tags { gap: 5px; }
  .tag { max-width: 100%; font-size: 11px; }
  .pub-actions { gap: 1px 17px; }
  .pub-details { font-size: 13px; }
  .publication-list[data-density='compact'] .pub-title { font-size: 16px; }
  .archive-footer { margin-top: 21px; }
  .archive-footer p { font-size: 12px; }
  .software-item { grid-template-columns: 52px minmax(0, 1fr); gap: 17px; padding-block: 26px; }
  .software-mark { width: 52px; height: 52px; font-size: 13px; border-radius: 6px; }
  .software-mark svg { width: 27px; height: 27px; }
  .project-title { font-size: 23px; }
  .project-description { font-size: 14px; }
  .project-links { gap: 1px 14px; }
  .project-related { margin-left: -69px; margin-top: 17px; padding: 12px 14px; }
  .project-meta { font-size: 11px; }
  .research-item { padding-left: 43px; padding-bottom: 24px; margin-bottom: 24px; }
  .research-item > .topic-icon svg { width: 28px; height: 28px; }
  .research-item h2 { font-size: 22px; }
  .research-item > p, .research-item > div > p { font-size: 14px; }
  .related-list li { font-size: 13px; }
  .demo-panel { padding: 20px 16px; }
  .demo-panel h2, .demo-panel h3 { font-size: 20px; }
  #bridge-art { margin-top: 5px; }
  .figure-controls { gap: 3px 13px; }
  .figure-formula { max-width: 100%; font-size: 10px; overflow-wrap: anywhere; }
  .demo-caption { font-size: 12px; }
  .cv-section { margin-top: 30px; }
  .cv-section > h2 { font-size: 22px; padding-bottom: 14px; }
  .timeline-item { grid-template-columns: minmax(0, 1fr); gap: 9px; padding-block: 21px; }
  .timeline-date { padding-top: 0; font-size: 11px; }
  .timeline-date::before { top: 7px; }
  .timeline-body { padding-left: 14px; }
  .timeline-body h3 { font-size: 17px; }
  .timeline-body p { font-size: 13px; }
  .education-list article, .archive-record { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 21px; }
  .education-year { grid-column: 1; grid-row: auto; }
  .education-list h3, .record-body h3 { font-size: 17px; }
  .education-list p { grid-column: 1; font-size: 13px; }
  .record-body p { font-size: 14px; }
  .record-body .record-meta, .record-details p { font-size: 12px; }
  .collaboration-layout, .js-enabled .collaboration-layout.js-only { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .collaborator-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .collaborator { gap: 8px; min-height: 48px; padding: 11px; }
  .collaborator-name { min-width: 0; font-size: 12px; overflow-wrap: anywhere; }
  .collaborator-count { flex-shrink: 0; font-size: 11px; }
  .collaboration-detail { position: static; min-height: 0; padding: 20px; }
  .collaboration-detail h2, .collaboration-detail h3 { font-size: 22px; }
  .collaboration-detail li a { font-size: 14px; }
  .collaboration-note { font-size: 12px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .contact-card { padding: 21px; }
  .contact-card h2 { margin-bottom: 16px; font-size: 21px; }
  .contact-email { font-size: 18px; }
  .contact-links a { min-height: 44px; }
  .citation-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 20px; }
  .dialog-header { gap: 12px; }
  .dialog-header h2 { font-size: 22px; }
  .dialog-body { margin-top: 17px; }
  .dialog-body pre { padding: 13px; font-size: 11px; }
  .dialog-actions { justify-content: flex-start; gap: 9px; }
  .dialog-actions .button { flex: 1 1 140px; min-width: 0; padding-inline: 12px; font-size: 13px; }
  .prose h2 { font-size: 22px; }
  .prose p, .prose li { font-size: 14px; }
  .site-footer { margin-top: 20px; padding-block: 21px; font-size: 11px; }
}
@media (max-width: 420px) {
  :root { --gutter: 18px; }
  .identity-name { font-size: 18px; }
  .collaborator-list { grid-template-columns: minmax(0, 1fr); }
  .collaborator-name { font-size: 13px; }
  .archive-footer > .link-row { width: 100%; }
  .archive-footer > .link-row .button { flex: 1 1 auto; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .sidebar { column-gap: 9px; }
  .identity { gap: 9px; }
  .identity-name { font-size: 17px; }
  .identity-portrait { width: 31px; height: 41px; flex-basis: 31px; }
  .monogram { width: 36px; height: 36px; flex-basis: 36px; font-size: 24px; }
  .nav-link { gap: 7px; padding-inline: 8px; font-size: 12px; }
  .publication { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pub-index { padding-top: 0; }
  .research-item { padding-left: 37px; }
  .profile-aside { padding: 16px; }
  dl.profile-facts, .profile-facts > dl { grid-template-columns: minmax(0, 80px) minmax(0, 1fr); gap: 10px 12px; }
  .contact-card { padding: 18px; }
  .contact-email { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  :root, html[data-theme='dark'] { color-scheme: light; --paper: #fff; --surface: #fff; --soft: #f5f5f5; --ink: #111; --muted: #444; --accent: #222; --line: #ccc; --line-strong: #999; --accent-soft: #fff; }
  @page { margin: 16mm; }
  body { font-size: 10pt; line-height: 1.5; }
  .sidebar, .page-topbar, .skip-link, .archive-toolbar, .archive-controls, .js-enabled .sort-controls.js-only, .js-enabled .view-controls.js-only, .js-enabled .theme-toggle.js-only, .js-enabled .menu-toggle.js-only, .view-controls, .js-only, .js-enabled .js-only, .js-enabled .citation-button.js-only, .js-enabled .button.js-only, .js-enabled .text-button.js-only, .figure-controls, .dialog-actions, dialog, .empty-state { display: none !important; }
  .site-main { margin: 0; min-height: 0; }
  .content-wrap { width: 100%; max-width: none; }
  .page-heading { padding: 0 0 18px; margin-bottom: 21px; }
  .page-heading h1 { font-size: 26pt; }
  .page-heading .page-lead, .bio p { font-size: 10pt; }
  .section-block { margin-top: 25px; }
  .section-header h2, .cv-section > h2 { font-size: 16pt; }
  .profile-layout { grid-template-columns: 1fr 170px; gap: 25px; }
  .profile-aside { padding: 0 0 0 18px; border: 0; border-left: 1px solid #ccc; }
  dl.profile-facts, .profile-facts > dl { display: block; }
  .profile-facts dt { margin-top: 12px; font-size: 8pt; }
  .profile-facts dd { margin-top: 3px; font-size: 9pt; }
  .topic-overview { grid-template-columns: 1fr 1fr; gap: 12px; }
  .topic-card { break-inside: avoid; padding: 12px; }
  .topic-card h3 { font-size: 11pt; }
  .topic-card p { font-size: 8pt; }
  .publication, .publication[hidden] { display: grid !important; grid-template-columns: 37px minmax(0, 1fr); gap: 15px; padding-block: 16px; break-inside: avoid; }
  .pub-title, .publication-list[data-density='compact'] .pub-title { font-size: 11pt; }
  .pub-authors, .pub-venue { font-size: 9pt; }
  .pub-tags { display: none; }
  .pub-actions .action-link { min-height: 22px; font-size: 8pt; }
  .software-item { grid-template-columns: 53px 1fr; gap: 19px; break-inside: avoid; }
  .software-mark { width: 53px; height: 53px; }
  .project-title { font-size: 16pt; }
  .project-description { font-size: 9pt; }
  .project-related { margin-left: 0; }
  .timeline-item, .education-list article { grid-template-columns: 120px 1fr; gap: 20px; padding-block: 16px; break-inside: avoid; }
  .timeline-body { padding: 0; }
  .timeline-body h3, .education-list h3 { font-size: 11pt; }
  .education-year { grid-column: 1; grid-row: 1 / span 2; }
  .education-list p { grid-column: 2; }
  .js-enabled .collaboration-layout.js-only, .collaboration-layout { display: grid !important; grid-template-columns: 200px 1fr; gap: 25px; }
  .collaborator-list { grid-template-columns: 1fr; }
  .collaborator { min-height: 25px; padding: 5px 0; border: 0; border-bottom: 1px solid #ccc; }
  .collaborator-name { font-size: 8pt; }
  .collaboration-detail { position: static; min-height: 0; padding: 0; border: 0; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { break-inside: avoid; }
  .contact-email { font-size: 11pt; }
  .demo-panel { break-inside: avoid; }
  #bridge-art { max-height: 190px; }
  .site-footer { margin-top: 20px; padding-block: 12px; font-size: 8pt; }
  .site-footer .footer-links { display: none; }
  a { text-decoration: none; }
  .icon { width: 13px; height: 13px; }
}
