:root { --ink: #203342; --muted: #526473; --accent: #215c80; --line: #dce5ea; --tint: #f5f8fa; --white: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #153d56; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b57b1d; outline-offset: 5px; border-radius: 2px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 4.3vw, 3.5rem); margin-bottom: 24px; font-weight: 650; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 1.18rem; font-weight: 650; margin-bottom: 10px; }
p { margin-bottom: 16px; }
li { padding-left: 3px; margin-bottom: 8px; }
ul { padding-left: 21px; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.navigation { display: flex; gap: 26px; align-items: center; justify-content: space-between; min-height: 78px; }
.wordmark { color: var(--ink); font-weight: 700; font-size: 1.12rem; text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; gap: 23px; flex-wrap: wrap; }
.nav-links a { text-decoration: none; font-size: .88rem; color: var(--muted); padding-block: 12px; }
.nav-links a:hover { color: var(--accent); text-decoration: underline; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 20; background: var(--white); padding: 12px 20px; }
.skip-link:focus { top: 10px; }
.section { padding-block: 76px; border-bottom: 1px solid var(--line); }
.tinted { background: var(--tint); }
.hero { padding-block: 82px 76px; }
.hero-grid, .section-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 76px; }
.profile { text-align: center; padding-top: 8px; }
.portrait { display: block; width: 216px; height: 216px; margin: 0 auto 23px; border-radius: 50%; object-fit: cover; object-position: center; background: var(--tint); }
.profile-name { font-size: 1.55rem; font-weight: 650; margin-bottom: 4px; }
.profile-role { font-size: .98rem; margin-bottom: 22px; }
.profile-role span { color: var(--muted); font-size: .92rem; }
.profile-links { display: flex; flex-wrap: wrap; gap: 9px 17px; justify-content: center; font-size: .85rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .72rem; letter-spacing: .13em; font-weight: 700; margin-bottom: 15px; }
.lead { font-size: 1.2rem; line-height: 1.55; }
.small { font-size: .82rem; line-height: 1.6; }
.muted { color: var(--muted); }
.highlights { display: flex; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0 13px; padding: 20px 0; }
.highlights a { flex: 1; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; padding-right: 12px; }
.highlights strong { font-size: 2rem; font-weight: 550; line-height: 1.2; }
.highlights span { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.highlights a:hover span { text-decoration: underline; }
.section-heading > p:not(.eyebrow) { font-size: .93rem; color: var(--muted); }
.section-heading > a { font-size: .9rem; }
.section-heading .small { margin-top: 20px; font-size: .8rem !important; }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.theme-grid article { border-top: 2px solid #b8cdd9; padding-top: 20px; }
.theme-grid p { font-size: .95rem; margin-bottom: 0; }
.entry + .entry { border-top: 1px solid var(--line); padding-top: 27px; margin-top: 27px; }
.date { font-size: .78rem; color: var(--accent); font-weight: 650; margin-bottom: 9px; letter-spacing: .02em; }
.organisation { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.entry p:last-child, .entry ul:last-child { margin-bottom: 0; }
.publication-list, .patent-list { margin: 0; padding: 0; list-style: none; }
.publication, .patent { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.publication:last-child, .patent:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.publication h3 a { color: var(--ink); text-decoration: none; }
.publication h3 a:hover { color: var(--accent); text-decoration: underline; }
.authors { font-size: .85rem; color: var(--muted); line-height: 1.65; margin-bottom: 8px; }
.authors strong { color: var(--ink); }
.venue { font-size: .86rem; margin-bottom: 12px; }
.resource-links { display: flex; flex-wrap: wrap; gap: 10px; }
.resource-links a { border: 1px solid #bdcdd7; border-radius: 4px; padding: 3px 11px; font-size: .75rem; text-decoration: none; background: var(--white); }
.resource-links a:hover { border-color: var(--accent); }
.badge { display: inline-block; font-size: .7rem; font-weight: 650; letter-spacing: .03em; padding: 3px 9px; color: #255a48; background: #e8f2ed; border-radius: 3px; margin-bottom: 13px; }
.badge.application { color: #745417; background: #faf2df; }
.patent p { margin-bottom: 9px; }
.patent details { margin-top: 12px; font-size: .84rem; color: var(--muted); }
.patent summary { cursor: pointer; color: var(--accent); width: fit-content; padding: 3px 0; }
.patent details p { margin-top: 9px; }
.patent-record { display: inline-block; font-size: .8rem; margin-top: 8px; }
.email { overflow-wrap: anywhere; font-size: 1.08rem; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 30px; font-size: .78rem; color: var(--muted); }
.site-footer p { margin: 0; }
@media (max-width: 960px) {
  .navigation { flex-direction: column; gap: 0; align-items: flex-start; padding-block: 12px 8px; }
  .nav-links { gap: 8px 22px; }
  .nav-links a { padding-block: 5px; }
  .hero-grid, .section-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .portrait { width: 190px; height: 190px; }
  .theme-grid { grid-template-columns: 1fr; }
  html { scroll-padding-top: 125px; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 40px); }
  .site-header { position: static; }
  .navigation { padding-block: 18px 13px; }
  .nav-links { gap: 2px 18px; margin-top: 8px; }
  .nav-links a { font-size: .82rem; }
  .hero-grid, .section-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-top: 35px; }
  .profile { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
  .portrait { width: 170px; height: 170px; }
  .section { padding-block: 45px; }
  .section-heading h2 br { display: none; }
  .section-heading h2 { margin-bottom: 12px; }
  .section-heading > p:last-child { margin-bottom: 0; }
  .highlights { gap: 8px; }
  .highlights a { padding-right: 0; }
  .highlights span { font-size: .7rem; }
  .site-footer { flex-direction: column; gap: 10px; }
  html { scroll-padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .skip-link, .site-footer, .resource-links { display: none; }
  .container { width: 100%; }
  .section { padding-block: 22px; }
  .hero-grid, .section-grid { display: block; }
  .profile { margin-bottom: 25px; }
  .theme-grid { display: block; }
  .tinted { background: white; }
  h2, h3 { break-after: avoid; }
  .publication, .patent, .entry { break-inside: avoid; }
}
