@font-face { font-family: "Nexus Sans Pro"; src: url("/fonts/NexusSansPro.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nexus Sans Pro"; src: url("/fonts/NexusSansPro-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nexus Serif Pro"; src: url("/fonts/NexusSerifPro.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nexus Serif Pro"; src: url("/fonts/NexusSerifPro-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nexus Serif Pro"; src: url("/fonts/NexusSerifPro-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
:root{--sans:"Nexus Sans Pro",Arial,sans-serif;--serif:"Nexus Serif Pro",Georgia,serif}
:root{--green:#163f33;--ink:#1a322a;--muted:#516157;--paper:#fff;--line:#d6d9cd}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 var(--sans)}.bar,.wrap{max-width:1320px;width:89%;margin:auto}a{color:inherit;text-decoration:none}header{border-bottom:1px solid var(--line)}.bar,nav,.brand,.actions,.label,.contact{display:flex;align-items:center}.bar{min-height:82px;justify-content:space-between;gap:20px}.brand{font:23px var(--serif);gap:13px}.brand b{background:var(--green);color:var(--paper);padding:10px 7px;font:21px var(--serif);border-radius:3px;letter-spacing:-2px}nav{gap:30px;font-size:14px}.contact,.button{border-radius:4px;background:var(--green);color:white;padding:10px 18px;gap:14px}.hero{display:grid;grid-template-columns:1.08fr 1fr;gap:5%;align-items:center;padding:64px 0}.label,figcaption,small{font:11px/1.5 var(--sans);letter-spacing:1.6px;text-transform:uppercase}.label{gap:10px;font-weight:bold;color:#46624d}.label i{width:25px;height:2px;background:#aa8858}h1,h2,h3,.role,.uni,footer a{font-family:var(--serif);font-weight:400}h1{font-size:clamp(58px,6.3vw,96px);line-height:1.04;letter-spacing:-.064em;margin:18px 0 14px}h2{font-size:clamp(38px,3.7vw,54px);letter-spacing:-.047em;line-height:1.15;margin:12px 0 30px}h3{font-size:25px;line-height:1.2;letter-spacing:-.03em;margin:12px 0}.role,.uni{font-size:clamp(20px,1.7vw,27px);line-height:1.4;margin:0}.uni{font-style:italic;color:#5a715b}.bio{max-width:535px;margin:22px 0 27px}.bio,p{color:var(--muted)}.actions{gap:25px;flex-wrap:wrap}.button,.link{font-size:14px;font-weight:600}.button{padding:12px 20px}.button span,.link span{margin-left:9px}.link{border-bottom:1px solid #97a495;padding-bottom:3px}figure{position:relative;margin:0;background:#103c32;border-radius:5px;overflow:hidden}figure img{width:100%;display:block}figcaption{position:absolute;bottom:6%;left:6%;color:#dce7ce;font-size:10px;letter-spacing:1px}figcaption span{color:#c2b588;margin-right:10px}.section{border-top:1px solid var(--line);padding:45px 0 52px}.themes,.split{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.themes article{border:1px solid var(--line);border-radius:4px;padding:24px;background:#f5f5ed}.themes p,.split p,.row p{margin:8px 0 0}.icon{color:#355f49;background:#e5eadc;border:1px solid #cad4c3;width:43px;height:43px;border-radius:6px;display:grid;place-content:center;font-size:28px;line-height:1}.themes h3{margin-top:20px}.row{display:grid;grid-template-columns:80px 1fr auto;gap:20px;padding:23px 0;border-top:1px solid var(--line)}.row h3{margin:0}.row p{font-size:14px}.row small{color:#55735b}.project,.split{display:grid;grid-template-columns:1fr 1.4fr;gap:7%}.project p{margin-top:0}.split{grid-template-columns:1fr 1fr}.split .link{display:inline-block;margin-top:12px}footer{background:var(--green);padding:46px 0 20px;color:white}footer .label,footer p{color:#d4dece}footer h2{margin-bottom:10px}footer a{font-size:24px}.bottom{border-top:1px solid #537063;margin-top:32px;padding-top:17px;display:flex;justify-content:space-between;font-size:12px;color:#d4dece}a:hover{text-decoration:underline;text-underline-offset:4px}a:focus-visible{outline:3px solid #bb9057;outline-offset:4px}@media(max-width:820px){nav{gap:15px}.hero{gap:4%;padding:42px 0}.themes{gap:10px}.themes article{padding:17px}h3{font-size:22px}}@media(max-width:690px){.bar{display:block;padding:15px 0}.brand{font-size:21px}.brand b{padding:7px}.bar nav{margin-top:15px;justify-content:space-between;font-size:12px;gap:4px}.contact{padding:5px 8px;gap:4px}.hero,.themes,.project,.split{grid-template-columns:1fr}.hero{gap:30px}.project,.split{gap:18px}.themes{gap:14px}.hero figure{max-height:370px}.row{grid-template-columns:40px 1fr auto;gap:8px}.bottom{display:grid;gap:6px}.section{padding:35px 0}.actions{gap:18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.about{display:grid;grid-template-columns:minmax(170px,.6fr) 2fr;align-items:start;gap:5%}.identity{display:flex;flex-direction:column;align-items:center;gap:18px;padding:12px}.identity img{border-radius:50%;object-fit:cover;outline:1px solid var(--line);outline-offset:5px}.identity .button span{font:10px monospace;letter-spacing:1px}.about h2{margin-bottom:18px}.about p{max-width:78ch}.profiles{display:flex;gap:22px;flex-wrap:wrap;margin:20px 0 10px}.career-jump{font-size:14px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}.career{display:grid;grid-template-columns:1.4fr 1fr;gap:7%}.career ol{list-style:none;padding:0}.career li{padding:15px 0;border-top:1px solid var(--line)}.career h4{font:23px/1.25 var(--serif);margin:4px 0}.career p{margin:0}.career small{color:#526853}@media(max-width:720px){.bar{display:block;padding:15px 0}.bar nav{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:12px}.about,.career{grid-template-columns:1fr}.identity{flex-direction:row;justify-content:flex-start;gap:26px;padding:4px 0 20px}.identity img{width:100px;height:100px}.profiles{gap:12px 18px}}
.profile{display:grid;grid-template-columns:minmax(235px,.7fr) 2fr;gap:7%;align-items:start;padding:58px 0}.profile-card{display:flex;flex-direction:column;align-items:center;text-align:center}.profile-card img{border-radius:50%;width:min(100%,224px);height:auto;outline:1px solid #bcc8b7;outline-offset:5px}.profile-card .button{margin:26px 0 8px}.profile-card .button span{font:11px monospace}.profile-card .profiles{justify-content:center;gap:10px 18px}.profile-copy h1{margin-top:0}.profile-copy>p:not(.role):not(.uni){max-width:74ch}.profile-copy .actions{margin-top:24px;gap:14px 22px}.project figure{max-width:350px}@media(max-width:690px){.profile{display:flex;flex-direction:column;gap:24px;padding:32px 0}.profile-card{width:100%}.profile-card img{grid-row:span 2}.profile-card .button{justify-self:start;margin:0;padding:5px 12px}.profile-card .profiles{margin:0;justify-content:flex-start;gap:5px 12px}.profile-card .link{font-size:13px}}
.bar nav{gap:clamp(12px,1.5vw,25px);flex-wrap:wrap}.bar a[aria-current]{font-weight:700;text-decoration:underline;text-decoration-color:#9c8053;text-decoration-thickness:2px;text-underline-offset:7px}.topic{padding:46px 0 52px}.topic h1{margin-top:0;font-size:clamp(48px,5vw,76px)}.lead{font:clamp(20px,2vw,26px)/1.45 var(--serif);max-width:54ch;margin-bottom:34px}.detail{border-top:1px solid var(--line);padding:24px 0 30px}.detail h2,.topic .themes h2{font-size:29px;margin:12px 0}.detail p,.detail li{max-width:78ch}.topic .themes{margin-bottom:26px}.topic .row:last-of-type{margin-bottom:18px}@media(max-width:930px){.bar{display:block;padding:16px 0}.bar nav{margin:13px 0 0;justify-content:flex-start;gap:10px 16px}}
.profile-icons{display:flex;justify-content:center;gap:2px;flex-wrap:wrap;margin:22px 0 0}.profile-icons a{width:40px;height:44px;display:grid;place-items:center;border-radius:5px;color:var(--green)}.profile-icons a:hover,.profile-icons a:focus-visible{background:#dce5d7}.profile-icons svg{width:23px;height:23px}.profile-copy #profile-name{font-size:clamp(46px,5vw,70px);margin-bottom:17px}.profile-copy .appointment{border-left:3px solid #ab8e63;padding-left:15px;font:clamp(18px,1.6vw,23px)/1.45 var(--serif);color:var(--green);margin:0 0 22px}.appointment em{color:#56705a}@media(max-width:690px){.profile-icons{justify-content:flex-start;margin:0}.profile-card img{grid-row:auto}.profile-icons a{width:36px}}

body { font-variant-numeric: lining-nums; }
h1, h2, h3 { letter-spacing: normal; }
.profile-copy #profile-name { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 3.3vw, 3.2rem); }
.topic h1 { font-family: var(--sans); font-size: clamp(2rem, 3.4vw, 3.2rem); }
.topic .themes h2, .section h2, footer h2 { font-family: var(--sans); }
.row h3, .detail h2 { font-family: var(--serif); }
.profile-copy .appointment, .lead, footer a { font-family: var(--sans); }
.appointment em { font-style: normal; }

:root { color-scheme: light; }
.appearance { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; color: var(--ink); border-radius: 50%; }
.appearance:hover { background: var(--line); }
.appearance select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.appearance:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 930px) {
  .bar { display: grid; grid-template-columns: 1fr auto; }
  .bar nav { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .appearance { grid-column: 2; grid-row: 1; }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111a17;
  --ink: #eef3ee;
  --muted: #bfcdc4;
  --line: #43554b;
  --green: #b1d6ba;
}
[data-theme="dark"] .themes article { background: #1c2923; }
[data-theme="dark"] :is(.icon, .profile-icons a:hover, .profile-icons a:focus-visible) { background: #304638; color: #cce7d1; border-color: var(--line); }
[data-theme="dark"] :is(.label, .uni, .appointment em, .career small, .row small) { color: #b1cbb7; }
[data-theme="dark"] :is(.button, .contact) { color: var(--paper); }
[data-theme="dark"] footer { background: #102c24; }


.profile { grid-template-columns: minmax(260px, .85fr) 2fr; }
.profile-card #profile-name { font: 700 clamp(1.65rem, 2.4vw, 2.2rem)/1.15 var(--serif); margin: 22px 0 8px; }
.profile-card .appointment { font: 1.1rem/1.45 var(--sans); color: var(--ink); margin: 0; }
.profile-card .appointment em { color: var(--muted); }
.profile-card .profile-icons { justify-content: center; margin-top: 14px; }
.profile-copy > p:first-child { margin-top: 0; }
@media (max-width: 690px) {
  .profile-card img { width: min(180px, 100%); }
}

.section-tabs {
  display: flex;
  justify-content: center;
  gap: .35rem;
  flex-wrap: wrap;
  padding-top: .5rem;
  border-top: 1px solid var(--line);
}
.section-tabs a {
  padding: .65rem .9rem;
  border-bottom: 3px solid transparent;
  font-size: .96rem;
}
.section-tabs a[aria-current="page"], .section-tabs a[aria-current="location"] {
  border-color: var(--green);
  color: var(--green);
  font-weight: 700;
}
@media (max-width: 690px) {
  .section-tabs { gap: 0 .15rem; }
  .section-tabs a { padding: .5rem .6rem; }
}

.project-list { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.project-entry { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(.8rem, 2vw, 1.5rem); row-gap: .65rem; --summary-inset: .85rem; min-width: 0; }
.project-list > li + li { margin-block-start: 1.75rem; }
.project-symbol { align-self: center; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--line); border-radius: .5rem; color: var(--green); }
.project-symbol svg { width: 1.6rem; height: 1.6rem; }
.project-entry h2 { margin: 0; font-size: 1.75rem; }
.project-entry p { margin: .4rem 0 0; max-width: 70ch; }

.project-summary { border-inline-start: 3px solid var(--project-accent); padding-inline-start: var(--summary-inset); }
.project-facts { display: flex; flex-wrap: wrap; gap: .65rem 1.75rem; margin: .85rem 0 0; }
.project-entry > .link { grid-column: 2; justify-self: start; margin-inline-start: calc(var(--summary-inset) + 3px); }
.project-facts dt { color: var(--muted); font-size: .85rem; }
.project-facts dd { margin: 0; max-width: 44ch; }
.project-facts a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .18em; }

.header-identity { display: flex; align-items: center; gap: .85rem; }
.university-mark { width: clamp(96px, 12vw, 144px); }
.university-mark img { display: block; width: 100%; height: auto; }
.university-mark .napier-dark, [data-theme="dark"] .university-mark .napier-light { display: none; }
[data-theme="dark"] .university-mark .napier-dark { display: block; }

.publications-intro { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1rem 0 2rem; }
.publications-intro p { margin: 0; }
.row[hidden] { display: none; }

.publication-pages { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.publications-intro + .publication-pages { margin-bottom: 1rem; }
.publication-pages a { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--line); border-radius: .25rem; }
.publication-pages a[aria-current="page"] { color: var(--paper); background: var(--green); font-weight: 700; }

.profile-copy p a {
  color: #00675d;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}
[data-theme="dark"] .profile-copy p a { color: #8fe3d0; }
.profile-copy p a:hover { text-decoration-thickness: 0.15em; }
.profile-copy p a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.conference-tabs { justify-content: center; }
.conference-engagements .project-summary h4 { margin: 0; font: 400 1.25rem/1.3 var(--serif); }

.research-overview section { margin-block-start: 2.25rem; }
.research-overview h1 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); }
.research-overview h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: .6rem; }
.research-overview ul { padding-inline-start: 1.4rem; }
.research-overview li + li { margin-top: .7rem; }
.research-overview a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }

.project-intro {
  border-inline-start: 3px solid var(--green);
  padding-inline-start: 1rem;
  font-size: 1.125rem;
  color: var(--ink);
}
.project-intro a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: .16em; }
