:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --paper: #ffffff;
  --ink: #17212b;
  --muted: #5f6975;
  --line: #d9dee5;
  --navy: #0d3b66;
  --green: #245c50;
  --gold: #b48722;
  --red: #8b3a32;
  --shadow: 0 18px 42px rgba(23, 33, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(13, 59, 102, 0.32);
  outline-offset: 4px;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--navy);
  color: white;
  padding: 0.6rem 0.9rem;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns 180ms ease;
}

.site-shell.is-nav-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.content {
  width: min(100%, 1120px);
  justify-self: start;
  padding: 4rem;
}

.hero,
.section {
  border-bottom: 1px solid var(--line);
  padding: 4.5rem 0;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.scope,
.period {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p,
li,
a,
span,
button {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
p,
ul,
figure {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.75rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1.5rem;
  color: var(--navy);
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.3;
}

h4 {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
}

.lead {
  max-width: 790px;
  margin-bottom: 0.8rem;
  color: var(--green);
  font-size: 1.75rem;
  font-weight: 750;
  line-height: 1.25;
}

.subtitle {
  max-width: 720px;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.summary {
  max-width: 760px;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.summary p,
.section-intro,
.focus-grid p,
.strength-grid p,
.proof-grid p,
.intervention-list p,
.publication-list p,
.document-band p,
.org-line,
.plain-list {
  color: var(--muted);
}

.summary p,
.section-intro,
.focus-grid p,
.strength-grid p,
.proof-grid p,
.intervention-list p,
.publication-list p,
.document-band p,
.org-line {
  margin-bottom: 0;
}

.language-switch {
  width: fit-content;
  display: inline-flex;
  gap: 0.2rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 0.25rem;
  box-shadow: var(--shadow);
}

.language-switch a {
  min-width: 48px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.language-switch a:hover {
  background: #edf1f5;
}

.language-switch a.is-active {
  background: var(--navy);
  color: white;
}

.tag-row,
.contact-row,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tag-row span {
  border-left: 3px solid var(--gold);
  padding-left: 0.65rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
}

.card-tags {
  gap: 0.45rem;
  margin: 0.65rem 0 0.8rem;
}

.card-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid #d5c18a;
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  background: #fff9e9;
  color: #5e4610;
  font-size: 0.78rem;
  font-weight: 800;
}

.material-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.material-links a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  background: #f7f8fa;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.material-links a:hover {
  border-color: rgba(13, 59, 102, 0.32);
  background: #edf1f5;
}

.contact-row {
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-row > * {
  border-left: 3px solid var(--line);
  padding-left: 0.7rem;
}

.portrait-panel {
  width: 280px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: 210px;
  height: 210px;
  display: block;
  border: 5px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.section-intro {
  max-width: 680px;
  font-size: 1.08rem;
}

.role-list,
.plain-list {
  padding-left: 1.1rem;
}

.role-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  color: var(--ink);
  font-weight: 700;
}

.plain-list {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.plain-list.compact {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.focus-grid,
.strength-grid,
.proof-grid {
  display: grid;
  gap: 1rem;
}

.focus-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.strength-grid,
.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.focus-grid article,
.strength-grid article,
.proof-grid article,
.intervention-list article,
.publication-list article,
.side-facts article,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.focus-grid article,
.strength-grid article,
.proof-grid article,
.intervention-list article,
.publication-list article,
.side-facts article {
  padding: 1.2rem;
}

.proof-grid a,
.intervention-list a,
.publication-list a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.experience-stack {
  display: grid;
  gap: 2rem;
}

.experience-group > h3 {
  border-left: 4px solid var(--gold);
  padding-left: 0.85rem;
  color: var(--navy);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.35rem;
  padding: 1.15rem;
}

.timeline-item ul {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.period {
  color: var(--red);
}

.org-line {
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.publication-list {
  display: grid;
  gap: 0.85rem;
}

.profile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.profile-links a {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.profile-links span {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
}

.profile-links small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.intervention-list {
  display: grid;
  gap: 0.85rem;
}

.intervention-list article {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1.2rem;
}

.publication-list article {
  padding: 1rem 1.15rem;
}

.side-facts {
  display: grid;
  gap: 1rem;
}

.document-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.project-page {
  max-width: 920px;
}

.project-hero {
  min-height: 72vh;
  grid-template-columns: minmax(0, 1fr);
}

.language-switch-project {
  margin: 1rem 0 0;
}

.back-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  color: var(--navy);
  font-weight: 850;
}

.project-actions {
  justify-content: flex-start;
  margin-top: 1.4rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 6px;
  padding: 0.65rem 0.95rem;
  background: var(--navy);
  color: white;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
}

.button.secondary {
  background: var(--paper);
  color: var(--navy);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle-floating {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  display: none;
  box-shadow: var(--shadow);
}

.side-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: start;
  width: 280px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  padding: 1.35rem 1.15rem;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-shell.is-nav-collapsed .side-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
}

.site-shell.is-nav-collapsed .nav-toggle-floating {
  display: inline-flex;
}

.side-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 0.88rem;
}

.side-nav nav {
  display: grid;
  gap: 0.35rem;
}

.side-nav nav a,
.language-link,
.print-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.side-nav nav a:hover,
.language-link:hover,
.print-link:hover {
  background: #edf1f5;
}

.side-nav-footer {
  display: grid;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.language-link {
  color: var(--navy);
  font-weight: 800;
}

.print-link {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-overlay {
  display: none;
}

@media (max-width: 1040px) {
  .content {
    padding: 3rem 2rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .portrait-panel {
    order: -1;
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-shell {
    display: block;
  }

  .site-shell,
  .site-shell.is-nav-collapsed {
    grid-template-columns: none;
  }

  .nav-toggle-floating {
    display: inline-flex;
  }

  .side-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    width: min(84vw, 320px);
    height: 100vh;
    border-right: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
    box-shadow: var(--shadow);
  }

  .site-shell.is-nav-open .side-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .site-shell.is-nav-open .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: block;
    background: rgba(23, 33, 43, 0.36);
  }

  .content {
    padding: 4.75rem 1rem 1rem;
  }

  .hero,
  .section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .lead {
    font-size: 1.38rem;
  }

  .portrait-panel {
    width: min(100%, 260px);
  }

  .portrait-panel img {
    width: 190px;
    height: 190px;
  }

  .focus-grid,
  .strength-grid,
  .proof-grid,
  .profile-links,
  .intervention-list article,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .document-band {
    align-items: stretch;
    flex-direction: column;
  }

  .document-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.55rem;
  }

  .contact-row,
  .tag-row,
  .card-tags,
  .material-links {
    display: grid;
  }

  .button {
    width: 100%;
  }
}

@media print {
  .side-nav,
  .nav-toggle,
  .nav-overlay,
  .skip-link,
  .language-switch,
  .document-actions .secondary {
    display: none !important;
  }

  .site-shell,
  .site-shell.is-nav-collapsed {
    display: block;
  }

  .content {
    width: 100%;
    padding: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero,
  .section {
    break-inside: avoid;
    padding: 1.2rem 0;
  }

  .focus-grid article,
  .strength-grid article,
  .proof-grid article,
  .intervention-list article,
  .publication-list article,
  .profile-links a,
  .side-facts article,
  .timeline-item,
  .portrait-panel {
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
