:root {
  --text: #333;
  --muted: #666;
  --link: #2f628e;
  --rule: #dedede;
  --background: #fff;
  --sidebar: #f7f7f7;
  --site-frame: 1400px;
  --project-copy: 1120px;
  --project-media: 1240px;
  --header-height: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 2rem); }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #1e4567; }
h1, h2, h3 { color: #222; font-weight: 600; line-height: 1.3; }
h2 { margin: 0 0 1.25rem; font-size: 1.85rem; }
h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
p { margin: 0 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 200; padding: .6rem .9rem; background: #222; color: #fff; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  align-items: center;
  column-gap: 4.5rem;
  padding: 0 max(1.5rem, calc((100vw - var(--site-frame)) / 2));
  border-bottom: 1px solid var(--rule);
  background: #fff;
  box-shadow: 0 2px 10px rgba(31, 49, 64, .05);
}
.brand { color: #222; font-size: 1.3rem; font-weight: 900; text-decoration: none; }
.site-nav { display: flex; align-items: center; justify-content: flex-start; gap: 1.6rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: var(--header-height); color: #444; font-size: .92rem; text-decoration: none; }
.site-nav a:hover { color: var(--link); }
.site-nav a.active { color: var(--link); box-shadow: inset 0 -2px var(--link); }
.nav-toggle { display: none; border: 0; background: transparent; padding: .5rem; }
.nav-toggle > span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px; background: #333; }

.page-shell {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 4.5rem;
  width: min(var(--site-frame), calc(100% - 3rem));
  max-width: none;
  margin: 0 auto;
  padding: 2.25rem 0 5rem;
}
.content { min-width: 0; max-width: 100%; }
.profile-card { position: sticky; top: calc(var(--header-height) + 2rem); align-self: start; font-size: .92rem; }
.avatar, .profile-photo { width: 150px; height: 150px; border-radius: 50%; margin: 0 0 1.25rem; }
.avatar { display: grid; place-items: center; color: #fff; background: #657b83; font-size: 2.6rem; font-weight: 700; }
.profile-photo-link { display: block; width: 150px; height: 150px; margin-bottom: 1.25rem; border-radius: 50%; }
.profile-photo { display: block; margin: 0; object-fit: cover; object-position: center; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--rule), 0 8px 24px rgba(31, 49, 64, .12); transition: transform .18s ease, box-shadow .18s ease; }
.profile-photo-link:hover .profile-photo, .profile-photo-link:focus-visible .profile-photo { transform: translateY(-2px); box-shadow: 0 0 0 1px #aebdca, 0 10px 28px rgba(31, 49, 64, .18); }
.profile-card h1 { margin: 0 0 .2rem; font-size: 1.55rem; font-weight: 900; }
.role, .location { color: var(--muted); margin: 0 0 .25rem; }
.profile-links { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; margin: 1.15rem 0; }
.profile-links a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.profile-links img { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; }
.profile-links a:hover,
.profile-links a:focus-visible,
.content p a:hover,
.content p a:focus-visible,
.content li a:hover,
.content li a:focus-visible {
  text-decoration: underline;
}
.button { display: inline-block; padding: .45rem .75rem; border: 1px solid #bbb; border-radius: 3px; background: #f5f5f5; color: #333; font-size: .88rem; text-decoration: none; }
.button:hover { background: #e9e9e9; color: #222; }

.section { padding: 0 0 3.5rem; margin: 0 0 3.5rem; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--header-height) + 2rem); }
.section:last-child { border-bottom: 0; }
.view-section[hidden] { display: none; }
.lead { font-size: 1.05rem; }
.hero h3, #current-work h3 { margin-top: 2rem; font-size: 1.18rem; }
.current-work-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: .75rem 0 2.5rem; }
.button-primary { border-color: var(--link); background: var(--link); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: #1e4567; color: #fff; }
.current-work-feature { margin: 1.6rem 0 .75rem; padding: .75rem; border: 1px solid var(--rule); background: #fafafa; }
.current-work-feature img { display: block; width: 100%; max-height: 330px; object-fit: contain; background: #fff; }
.current-work-feature figcaption, .current-work-gallery figcaption { padding: .7rem .15rem .1rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.current-work-feature figcaption strong, .current-work-gallery figcaption strong { color: var(--text); }
.current-work-feature a:first-child, .current-work-gallery figure > a { display: block; overflow: hidden; }
.current-work-feature img, .current-work-gallery img { transition: transform .2s ease; }
.current-work-feature a:hover img, .current-work-feature a:focus-visible img, .current-work-gallery a:hover img, .current-work-gallery a:focus-visible img { transform: scale(1.015); }
.current-work-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.6rem 0 2.5rem; }
.current-work-gallery figure { margin: 0; padding: .65rem; border: 1px solid var(--rule); background: #fafafa; }
.current-work-gallery img { display: block; width: 100%; height: 185px; object-fit: contain; background: #fff; }
.trustworthy-ai-figures { display: grid; gap: 1.5rem; margin: 1.6rem 0 2.5rem; }
.trustworthy-ai-figures figure { margin: 0; padding: .65rem; border: 1px solid var(--rule); background: #fafafa; }
.trustworthy-ai-figures a:first-child { display: block; overflow: hidden; background: #fff; }
.trustworthy-ai-figures img { display: block; width: 100%; height: auto; max-height: 620px; margin: 0 auto; object-fit: contain; background: #fff; transition: transform .2s ease; }
.trustworthy-ai-figures a:hover img, .trustworthy-ai-figures a:focus-visible img { transform: scale(1.01); }
.trustworthy-ai-figures figcaption { padding: .7rem .15rem .1rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.trustworthy-ai-figures figcaption strong { color: var(--text); }
.hero { position: relative; }
.hero::before { content: ""; display: block; width: 54px; height: 3px; margin-bottom: 1.15rem; background: var(--link); }
.hero .eyebrow { margin-bottom: .35rem; color: var(--link); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero h2 { margin-bottom: .65rem; font-size: 2.15rem; font-weight: 900; }
.hero .lead { max-width: 920px; margin-bottom: 1.4rem; color: #444; font-size: 1.16rem; line-height: 1.65; }
.hero > p:not(.eyebrow):not(.lead) { max-width: 1040px; }
.recognition-block { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.hero .recognition-block h3 { margin: 0 0 .55rem; color: var(--link); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.recognition-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; margin: 0; }
.recognition-list > div { padding: .7rem 0; border-top: 1px solid #ececec; }
.recognition-list dt { color: #333; font-size: .88rem; font-weight: 700; line-height: 1.4; }
.recognition-list dd { margin: .18rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.section-intro { max-width: 960px; color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.text-link { font-size: .9rem; }

.timeline { border-top: 1px solid var(--rule); }
.timeline article { display: grid; grid-template-columns: 115px 1fr; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.timeline article p { margin: 0; color: var(--muted); }
.timeline-date { font-size: .9rem; }
.experience-body { display: block; }
.experience-note { margin-top: .35rem !important; font-size: .86rem; }
.education-note { margin-top: .3rem !important; font-size: .82rem; }

.talk-group-title { margin: 2.5rem 0 1rem; font-size: 1.25rem; }
.talk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.talk-card { padding: 1.25rem; border: 1px solid var(--rule); background: #fafafa; }
.talk-date { margin-bottom: .25rem; color: var(--muted); font-size: .78rem; }
.talk-type, .visualisation-source { display: inline-block; margin-bottom: .55rem; color: var(--link); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.talk-card h3 { font-size: 1.05rem; }
.talk-card p { color: var(--muted); font-size: .88rem; }
.talk-summary { margin-top: .75rem !important; padding-top: .75rem; border-top: 1px solid var(--rule); }
.talk-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1rem; }

.visualisation-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.visualisation-card { display: grid; grid-template-columns: minmax(220px, 42%) 1fr; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.visualisation-card img { display: block; width: 100%; height: 170px; object-fit: contain; border: 1px solid var(--rule); background: #fff; }
.visualisation-card h3 { font-size: 1.12rem; }
.visualisation-card p { color: var(--muted); }
.subheading { margin-top: 2.5rem; font-size: 1.4rem; }

.project-list { border-top: 1px solid var(--rule); }
.project-card { display: grid; grid-template-columns: 170px 1fr; gap: 1.4rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
.project-card p { margin: 0 0 .5rem; }
.project-card > a { font-size: 1.15rem; text-decoration: none; }
.project-card h3 a { color: #222; text-decoration: none; }
.project-card h3 a:hover, .project-card h3 a:focus-visible { color: var(--link); text-decoration: underline; }
.project-year { margin-bottom: .2rem !important; color: var(--link); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-meta { color: var(--muted); font-size: .85rem; font-style: italic; }
.project-thumbnail { display: block; width: 170px; height: 118px; overflow: hidden; border: 1px solid var(--rule); background: #f4f4f4; }
.project-thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease; }
.project-thumbnail.is-diagram img { padding: .3rem; object-fit: contain; background: #fff; }
.project-thumbnail:hover img, .project-thumbnail:focus-visible img { transform: scale(1.025); }
.project-card > div:first-child:last-child { grid-column: 1 / -1; }
.project-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .85rem; }
.project-actions a { padding: .35rem .65rem; border: 1px solid #bbb; border-radius: 3px; background: #fafafa; font-size: .85rem; text-decoration: none; }
.project-actions a:hover { background: #eee; }
.project-site { min-height: 100vh; background: #fff; color: #303030; }
.project-topbar { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--rule); background: #fff; box-shadow: 0 2px 10px rgba(31, 49, 64, .05); }
.project-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(var(--site-frame), calc(100% - 3rem)); min-height: 58px; margin: 0 auto; }
.project-topbar a { color: #3f5264; font-size: .9rem; font-weight: 700; text-decoration: none; }
.project-topbar a:hover, .project-topbar a:focus-visible { color: var(--link); text-decoration: underline; }
.project-page.project-landing { width: min(var(--site-frame), calc(100% - 3rem)); max-width: none; margin: 0 auto; padding: 0 0 6rem; }
.project-hero { max-width: var(--project-media); margin: 0; padding: 4rem 0 4.25rem; border: 0; text-align: left; }
.project-kicker { margin: 0 0 1rem; color: var(--link); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-hero h1 { max-width: 1180px; margin: 0 0 1.2rem; color: #252525; font-size: clamp(2.45rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.project-deck { max-width: var(--project-copy); margin: 0 0 1.4rem; color: #5f6368; font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.55; text-wrap: balance; }
.project-authors { max-width: var(--project-copy); margin: 0 0 .35rem; color: #2785d2; font-size: 1.08rem; line-height: 1.55; }
.project-authors a { color: #2785d2; }
.project-affiliation, .project-venue { max-width: var(--project-copy); margin: 0 0 .35rem; color: #494949; font-size: .98rem; }
.project-venue { margin-top: .75rem; font-weight: 700; }
.project-resource-links { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .55rem; margin-top: 1.4rem; }
.project-resource-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .55rem 1rem; border: 1px solid #363636; border-radius: 999px; background: #363636; color: #fff; font-size: .88rem; font-weight: 700; line-height: 1; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.project-resource-links a:hover, .project-resource-links a:focus-visible { background: #202020; color: #fff; transform: translateY(-1px); }
.project-hero-thumbnail { width: min(960px, 100%); margin: 2rem 0 0; padding: .6rem; border: 1px solid #e1e4e6; background: #fafafa; text-align: left; }
.project-hero-thumbnail > a { display: block; overflow: hidden; background: #fff; }
.project-hero-thumbnail img { display: block; width: 100%; height: 250px; margin: 0 auto; object-fit: contain; background: #fff; }
.project-hero-thumbnail figcaption { padding: .65rem .2rem .05rem; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.project-section { max-width: var(--project-media); margin: 0; padding: 2.7rem 0; }
.project-section h2 { margin: 0 0 1.7rem; color: #2b2b2b; font-size: clamp(1.75rem, 3.5vw, 2.2rem); font-weight: 700; text-align: left; }
.project-section > p, .project-section > h3, .project-section > ul, .project-section > ol, .project-copy, .project-abstract-copy { max-width: var(--project-copy); margin-left: 0; margin-right: 0; }
.project-section > p, .project-copy p { color: #444; line-height: 1.72; text-align: left; }
.project-section > h3 { margin-top: 1.8rem; font-size: 1.18rem; }
.project-abstract > p, .project-abstract-copy { color: #444; font-size: 1.02rem; line-height: 1.72; text-align: left; }
.project-teaser { max-width: var(--project-media); margin: 1.5rem 0 1.8rem; text-align: left; }
.project-teaser > a { display: block; }
.project-teaser img { display: block; width: 100%; max-height: 650px; margin: 0 auto; object-fit: contain; background: #fff; }
.project-teaser figcaption { max-width: var(--project-copy); margin: .75rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.project-highlights { max-width: var(--project-copy); margin: 1.8rem 0 0; }
.project-highlights > div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid #ededed; }
.project-highlights dt { color: #303030; font-weight: 900; }
.project-highlights dd { margin: 0; color: #4e4e4e; }
.project-flow { display: flex; align-items: stretch; justify-content: flex-start; gap: .65rem; max-width: var(--project-media); margin: 1.7rem 0 2rem; padding: 1.1rem; border: 1px solid #e1e1e1; border-radius: 10px; background: #fafafa; }
.project-flow-stage { flex: 1; display: grid; align-content: center; min-height: 104px; padding: .9rem; border: 1px solid #dcdcdc; border-radius: 8px; background: #fff; text-align: left; }
.project-flow-stage strong { color: #303030; font-size: .94rem; }
.project-flow-stage span { margin-top: .2rem; color: var(--muted); font-size: .82rem; }
.project-flow > b { align-self: center; color: var(--link); font-size: 1.25rem; font-weight: 400; }
.project-result-list, .project-page .result-list { max-width: var(--project-copy); margin: 1rem 0; padding-left: 1.25rem; }
.project-result-list li, .project-page .result-list li { margin-bottom: .7rem; }
.project-output-list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .7rem; max-width: var(--project-copy); margin: 1.5rem 0 0; }
.project-output-list a { display: inline-flex; align-items: center; min-height: 42px; padding: .55rem .85rem; border: 1px solid #cfd5da; border-radius: 6px; background: #fafafa; color: #2f628e; font-size: .88rem; text-decoration: none; }
.project-output-list a:hover, .project-output-list a:focus-visible { border-color: #8ea8bf; background: #f1f5f8; text-decoration: underline; }
.project-output-figure { max-width: var(--project-media); margin: 2rem 0 1rem; text-align: left; }
.project-output-figure img { display: block; width: 100%; height: auto; margin: 0 auto; }
.project-output-figure figcaption { max-width: var(--project-copy); margin: .75rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.project-figure-grid { display: grid; gap: 2.25rem; max-width: var(--project-media); margin: 1.8rem 0 2.25rem; }
.project-paper-figure { margin: 0; text-align: left; }
.project-paper-figure > a { display: flex; justify-content: flex-start; overflow: hidden; border: 1px solid #e4e7e9; background: #fff; }
.project-paper-figure img { display: block; width: auto; max-width: 100%; height: auto; max-height: 760px; margin: 0; object-fit: contain; }
.project-paper-figure figcaption { max-width: var(--project-copy); margin: .8rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.project-paper-figure figcaption strong { color: #363636; }
.project-table-wrap { max-width: var(--project-media); margin: 1.8rem 0 .75rem; overflow-x: auto; border-top: 2px solid #555; border-bottom: 1px solid #777; scrollbar-width: thin; }
.project-table-wrap:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.project-data-table { width: 100%; min-width: 680px; border-collapse: collapse; color: #363636; font-size: .88rem; font-variant-numeric: tabular-nums; }
.project-data-table caption { padding: .8rem .15rem .85rem; color: #333; font-size: .94rem; line-height: 1.45; text-align: left; }
.project-data-table th, .project-data-table td { padding: .62rem .72rem; border-bottom: 1px solid #e1e1e1; text-align: right; vertical-align: middle; }
.project-data-table thead th { border-bottom: 1px solid #777; background: #f6f7f8; color: #2f2f2f; font-weight: 900; white-space: nowrap; }
.project-data-table th:first-child, .project-data-table td:first-child { text-align: left; }
.project-data-table tbody tr:last-child th, .project-data-table tbody tr:last-child td { border-bottom: 0; }
.project-data-table tbody tr:hover { background: #f8fafb; }
.project-table-note { margin-top: .65rem !important; color: var(--muted) !important; font-size: .82rem; line-height: 1.55 !important; text-align: left !important; }
.project-citation { max-width: var(--project-copy); margin: 1rem 0 0; padding: 1rem 1.1rem; border-left: 3px solid var(--link); background: #f7f8f9; color: #4d4d4d; font-size: .9rem; overflow-wrap: anywhere; }
.project-bibtex pre { max-width: var(--project-copy); margin: 0; padding: 1.15rem 1.25rem; overflow-x: auto; border: 1px solid #dfe3e6; border-radius: 4px; background: #f6f7f8; color: #263238; font-size: .82rem; line-height: 1.55; text-align: left; tab-size: 2; }
.project-bibtex code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; white-space: pre; }
.project-bibtex .project-table-note { max-width: var(--project-copy); margin-right: 0; margin-left: 0; }
.embedded-project-view { min-width: 0; scroll-margin-top: calc(var(--header-height) + 2rem); }
.project-frame-shell { position: relative; min-width: 0; }
.embedded-project-toolbar { margin: 0 0 1.1rem; padding: 0 0 .8rem; border-bottom: 1px solid var(--rule); }
.project-back-link { display: inline-flex; align-items: center; color: var(--link); font-size: .9rem; font-weight: 700; text-decoration: none; }
.project-back-link:hover, .project-back-link:focus-visible { color: #1e4567; text-decoration: underline; }
.embedded-project-frame {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity .15s ease;
}
.project-frame-shell.is-loaded .embedded-project-frame { opacity: 1; }
.project-frame-shell.is-loaded .project-detail-status { display: none; }
.project-detail-status { margin: .25rem 0; padding: 1rem 1.15rem; border-left: 3px solid var(--link); background: #f7f8f9; color: var(--muted); }
html.is-embedded-project body.project-site { min-height: 0; }
html.is-embedded-project .project-topbar { display: none; }
html.is-embedded-project .project-page.project-landing { width: 100%; margin: 0; padding: 0 0 3rem; }
html.is-embedded-project .project-hero { padding-top: .5rem; }

.publication-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.publication-list li { display: grid; grid-template-columns: 55px 1fr auto; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.publication-list h3, .publication-list p { margin: 0 0 .25rem; }
.publication-list h3 a { color: #222; text-decoration: none; }
.publication-list h3 a:hover, .publication-list h3 a:focus { color: var(--link); text-decoration: underline; }
.publication-list p { color: var(--muted); font-size: .88rem; }
.publication-list a { font-size: .88rem; }
.year { color: var(--muted); font-size: .9rem; }
.publication-type { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.more-link { margin-top: 1rem; font-size: .9rem; }

.poster-figure { margin: 0; }
.poster-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.poster-figure figcaption { padding: 1rem 0; color: var(--muted); font-size: .92rem; }
.poster-figure figcaption strong { color: var(--text); }

.contact-section { margin-bottom: 0; }
footer { padding: 1.5rem max(1.5rem, calc((100vw - var(--site-frame)) / 2)); border-top: 1px solid var(--rule); color: var(--muted); text-align: left; font-size: .82rem; }

@media (max-width: 1000px) {
  .site-header { display: flex; justify-content: space-between; gap: 1rem; padding: 0 1.25rem; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 5; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--rule); background: #fff; }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: auto; padding: .75rem 1.25rem; }
  .site-nav a.active { box-shadow: inset 3px 0 var(--link); }
}

@media (max-width: 760px) {
  .page-shell { grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-top: 2.5rem; }
  .profile-card { position: static; text-align: left; }
  .avatar, .profile-photo, .profile-photo-link { margin-left: 0; margin-right: 0; }
  .profile-links { flex-direction: row; justify-content: flex-start; align-items: center; flex-wrap: wrap; }
  .profile-links .uwa-profile-link { flex-basis: 100%; }
  .recognition-list { grid-template-columns: 1fr; }
  .current-work-gallery { grid-template-columns: 1fr; }
  .current-work-gallery img { height: auto; max-height: 260px; }
  .talk-grid, .talk-grid.compact { grid-template-columns: 1fr; }
  .visualisation-card { grid-template-columns: 1fr; }
  .visualisation-card img { height: auto; max-height: 260px; }
  .project-topbar-inner, .project-page.project-landing { width: min(100% - 2rem, var(--site-frame)); }
  .project-hero { padding: 3.5rem 0 3rem; }
  .project-section { padding: 2.25rem 0; }
  .project-section > p, .project-copy p, .project-abstract > p, .project-abstract-copy { text-align: left; }
  .project-flow { flex-direction: column; }
  .project-flow > b { transform: rotate(90deg); }
  .project-highlights > div { grid-template-columns: 1fr; gap: .15rem; }
  .project-figure-grid { gap: 1.75rem; }
  .project-data-table { min-width: 620px; font-size: .82rem; }
}
@media (max-width: 480px) {
  .section-heading { display: block; }
  .publication-list li { grid-template-columns: 1fr; gap: .25rem; }
  .timeline article { grid-template-columns: 1fr; gap: .25rem; }
  .project-card { grid-template-columns: 1fr; }
  .project-thumbnail { width: 100%; height: 170px; }
  .project-topbar-inner { width: min(100% - 1.5rem, var(--site-frame)); }
  .project-page.project-landing { width: min(100% - 1.5rem, var(--site-frame)); }
  .project-hero h1 { font-size: clamp(2.1rem, 11vw, 2.75rem); }
  .project-resource-links { align-items: stretch; flex-direction: column; max-width: 280px; margin-left: 0; margin-right: 0; }
  .project-resource-links a { width: 100%; }
  .project-hero-thumbnail img { height: 190px; }
  .project-bibtex pre { padding: .9rem; font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-resource-links a, .project-thumbnail img, .trustworthy-ai-figures img, .embedded-project-frame { transition: none; }
}
