:root {
  --accent: #2563eb;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #fff;
  --card: #f8fafc;
  --line: #d8e0eb;
  --shadow: 0 10px 25px #0f172a0a;
  color-scheme: light;
}
[data-theme="dark"] {
  --accent: #8ab4ff;
  --ink: #e2e8f0;
  --muted: #a7b5c9;
  --bg: #0b1220;
  --card: #111d30;
  --line: #34455f;
  --shadow: 0 12px 30px #0003;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #2563eb14, transparent 40%),
    var(--bg);
  line-height: 1.65;
}
main {
  min-height: 60vh;
}
img,
iframe {
  max-width: 100%;
}
a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
a,
button,
input,
textarea,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2.7rem, 5.2vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 1.3rem;
  font-weight: 600;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.1rem;
  line-height: 1.45;
}
p {
  margin-bottom: 1rem;
}
li {
  margin-bottom: 0.3rem;
}
.container {
  width: min(1100px, calc(100% - 3rem));
  margin-inline: auto;
}
.muted,
.text-muted,
.pub-meta,
.footer {
  color: var(--muted);
}
.small {
  font-size: 0.88rem;
}
.kicker {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.tagline {
  font-size: 1.1rem;
  max-width: 66ch;
  color: var(--muted);
}
.role {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-shell {
  scroll-margin-top: 6rem;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-title {
  font-size: 1.5rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}
.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.5;
}
.btn:hover,
button:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.btn-primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.btn-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
}
.card-lite,
.pub {
  padding: 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem;
  background: var(--bg);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
/* Navigation is in normal document flow on small or short screens. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  padding-block: 0.65rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
  min-width: 0;
}
.brand img {
  flex-shrink: 0;
}
.brand span {
  max-width: 14rem;
}
.brand:hover {
  text-decoration: none;
}
#site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-links,
.preferences {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-links a {
  color: var(--ink);
  padding: 0.5rem 0.5rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-links a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.preferences button {
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem;
}
.menu-toggle {
  margin-left: auto;
}
.preferences:empty {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 4rem;
  align-items: center;
  padding: 4.5rem 0 2.5rem;
}
.hero-portrait {
  text-align: center;
}
.avatar {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.location {
  font-size: 0.85rem;
  margin: 0.9rem 0 0.35rem;
}
.socials {
  display: flex;
  gap: 0.15rem 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.socials a {
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.affiliations {
  display: flex;
  gap: 0.6rem 1.25rem;
  flex-wrap: wrap;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
  font-size: 0.83rem;
  color: var(--muted);
}
.affiliations a {
  display: flex;
  align-items: center;
  min-height: 32px;
}
.affiliations > span {
  align-self: center;
}
.home-sections {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  padding: 3rem 0;
}
.recent-list {
  padding: 0;
  list-style: none;
}
.recent-list li {
  margin-bottom: 1.1rem;
}
.recent-list a {
  font-weight: 600;
}
.recent-list p {
  margin: 0.2rem 0;
}
.outlet-line {
  font-weight: 600;
  font-size: 0.9rem;
}
.page-intro {
  padding: 3.5rem 0 1.5rem;
}
.page-intro h1 {
  font-size: 3.1rem;
}
.page-intro .actions {
  margin-block: 1.5rem;
}
.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}
.filter-btn[aria-pressed="true"] {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}
.publication {
  margin-bottom: 1rem;
  scroll-margin-top: 6rem;
}
.pub-title {
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.pub-meta {
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.venue {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
}
.pub-links {
  margin-top: 0.8rem;
}
.pub-summary {
  border-top: 1px solid var(--line);
  padding-top: 0.3rem;
  margin-top: 0.9rem;
}
.pub-summary summary {
  color: var(--accent);
  font-size: 0.9rem;
  min-height: 44px;
  padding: 0.45rem 0;
  width: fit-content;
}
.pub-summary p {
  color: var(--muted);
  margin: 0.3rem 0;
}
.press-list {
  display: grid;
  gap: 0.65rem;
}
.press-link {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
}
.press-link:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.press-outlet {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}
.press-headline {
  font-size: 0.95rem;
}
.press-arrow {
  color: var(--muted);
}
summary {
  min-height: 44px;
  padding-block: 0.6rem;
}
summary.kicker {
  color: var(--accent);
}
.talk-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin-top: 1.2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}
.talk-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-load {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent);
  border: 0;
  font-size: 1.15rem;
}
.video-load:before {
  content: "▶";
  margin-right: 1rem;
}
.talk-video:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.trajectory {
  list-style: none;
  margin: 0;
  padding: 0;
}
.trajectory li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 2rem;
  position: relative;
  padding: 0 0 2rem 2rem;
  border-left: 2px solid var(--line);
  margin-left: 6px;
  margin-bottom: 0;
}
.trajectory li:before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.trajectory li:last-child {
  border-color: transparent;
}
.trajectory h2 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}
.trajectory-role {
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.trajectory-date {
  font-weight: 600;
  color: var(--accent);
}
.current-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
}
.trajectory p {
  max-width: 65ch;
}
.source-note {
  padding: 0 0 2rem;
  font-size: 0.85rem;
}
.archive {
  border-top: 1px solid var(--line);
  padding-block: 0.7rem;
}
.archive > summary {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.archive .container {
  width: 100%;
}
.archive h2 {
  font-size: 1.1rem;
}
.timeline {
  position: relative;
  border-left: 2px solid var(--line);
  margin-left: 6px;
}
.timeline-item {
  padding: 0 0 1.1rem 1.2rem;
  font-size: 0.92rem;
  position: relative;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 2.5rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
}
.contact .card-lite {
  padding: 1.4rem;
}
label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
input,
textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 1rem;
}
textarea {
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row > div {
  min-width: 0;
}
#contact-status {
  font-size: 0.9rem;
  margin: 1rem 0 0;
}
#contact-status[data-state="error"] {
  color: var(--ink);
  border-left: 3px solid #dc2626;
  padding-left: 0.7rem;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.site-footer div {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
/* Small utilities retained by the existing editorial content. */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.row > * {
  min-width: 0;
  flex: 1 1 100%;
}
.h-100 {
  height: 100%;
}
.py-4 {
  padding-block: 1.5rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.pub ul {
  padding-left: 1.2rem;
}
.pub li + li {
  margin-top: 0.6rem;
}
@media (min-width: 768px) {
  .row > .col-md-6 {
    flex: 1 1 calc(50% - 1rem);
  }
  .row > .col-md-4 {
    flex: 1 1 calc(33.333% - 1rem);
  }
}
@media (max-width: 1099px) {
  .site-header {
    position: static;
  }
  .nav-shell {
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .brand {
    flex: 1;
  }
  #site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
  .nav-links {
    flex-wrap: wrap;
  }
  .nav-links a {
    padding: 0.65rem 0.8rem;
  }
  .preferences {
    padding-bottom: 0.5rem;
  }
  .nav-enhanced #site-nav:not(.is-open) {
    display: none;
  }
  .nav-enhanced .menu-toggle:not([hidden]) {
    display: inline-flex;
  }
  .hero {
    gap: 2rem;
  }
  .brand span {
    max-width: none;
  }
}
@media (min-width: 1100px) {
  .menu-toggle {
    display: none !important;
  }
}
@media (max-width: 699px) {
  .container {
    width: calc(100% - 2rem);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    padding: 2.25rem 0 1.75rem;
  }
  .hero-portrait {
    grid-row: 1;
    text-align: left;
    display: grid;
    grid-template-columns: 88px 1fr;
    column-gap: 1rem;
    align-items: center;
  }
  .avatar {
    width: 88px;
    height: 88px;
    grid-row: 1/3;
  }
  .location {
    margin: 0;
    align-self: end;
  }
  .socials {
    justify-content: flex-start;
    align-self: start;
    gap: 0.15rem 0.65rem;
  }
  .socials a {
    min-height: 40px;
  }
  .desktop-break {
    display: none;
  }
  .hero h1 {
    font-size: 2.9rem;
  }
  .tagline {
    font-size: 1rem;
  }
  .home-sections,
  .contact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .home-sections {
    padding: 2rem 0;
  }
  .page-intro {
    padding: 2rem 0 1rem;
  }
  .page-intro h1 {
    font-size: 2.6rem;
  }
  .trajectory li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding-left: 1.3rem;
  }
  .trajectory-date {
    font-size: 0.9rem;
  }
  .current-label {
    display: inline;
    margin-left: 0.6rem;
  }
  .press-link {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.3rem 0.75rem;
  }
  .press-outlet,
  .press-headline {
    grid-column: 1;
  }
  .press-arrow {
    grid-column: 2;
    grid-row: 1/3;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .brand {
    font-size: 0.84rem;
    gap: 0.5rem;
  }
  .brand span {
    max-width: 12rem;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .menu-toggle {
    font-size: 0.85rem;
    padding: 0.45rem 0.6rem;
  }
  .site-footer {
    align-items: flex-start;
  }
  .pub {
    padding: 1rem;
  }
}
@media (max-height: 500px) {
  .site-header {
    position: static;
  }
  .hero {
    padding-top: 1.75rem;
  }
  .page-intro {
    padding-top: 1.75rem;
  }
  html {
    scroll-padding-top: 1rem;
  }
  .section-shell,
  .publication {
    scroll-margin-top: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .filters,
  .preferences,
  .contact,
  .skip-link,
  .video-load {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  .container {
    width: 100%;
  }
  .pub {
    break-inside: avoid;
    box-shadow: none;
    border-color: #aaa;
  }
  .pub-summary:not([open]) > p {
    display: block;
  }
  .hero {
    padding-top: 0;
  }
  .archive {
    content-visibility: visible;
  }
  .avatar {
    width: 100px;
    height: 100px;
  }
}

.talk-video {
  display: none;
}
.video-enhanced .talk-video {
  display: block;
}
/* Keep enlarged text inside grid/flex tracks rather than clipping it. */
body {
  overflow-wrap: anywhere;
}
.hero > *,
.home-sections > *,
.contact > *,
.hero-portrait > *,
.brand span {
  min-width: 0;
}
.btn,
button {
  max-width: 100%;
}
.actions > * {
  min-width: 0;
}
@media (max-width: 699px) {
  .hero,
  .home-sections,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-portrait {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .nav-links a {
    white-space: normal;
  }
}
