:root {
  --text: #171717;
  --muted: #666;
  --line: #dedede;
  --background: #fff;
  --header-height: 72px;
  --container: min(1080px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #e8e8e8;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 8px 12px;
  background: var(--text);
  color: var(--background);
  text-decoration: none;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.name {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 24px;
}

.site-nav a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a.active {
  font-weight: 500;
}

.hero,
.page-hero {
  padding: 72px 0 88px;
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.role,
.page-intro {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
}

.introduction {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.links a {
  font-size: 13px;
}

.section {
  padding: 72px 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 48px;
  border-top: 1px solid var(--line);
}

.section > h2,
.section-label {
  margin: 0;
  padding-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.section-content {
  max-width: 760px;
}

.prose p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.prose p:last-child {
  margin-bottom: 0;
}

.content-heading {
  margin-bottom: 28px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.entries {
  border-top: 1px solid var(--line);
}

.entry {
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1fr);
  gap: 24px 32px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.entry:has(.entry-link) {
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1fr) auto;
}

.entry-title {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 500;
}

.entry-meta,
.entry-body,
.history time,
.education p,
.dossier-list time,
.dossier-list p,
.fact-grid p,
.credentials p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.entry-link {
  font-size: 13px;
  white-space: nowrap;
}

.history {
  border-top: 1px solid var(--line);
}

.history-item {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.history-item p {
  margin: 0;
}

.history-item strong,
.education strong {
  font-weight: 500;
}

.education {
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
}

.contact-note {
  margin-bottom: 12px;
  color: var(--muted);
}

.email {
  display: inline-block;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
}

.dossier-list,
.fact-grid {
  border-top: 1px solid var(--line);
}

.dossier-item {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.dossier-item h3,
.fact-grid h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
}

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

.fact-grid > div {
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--line);
}

.fact-grid > div:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.publication-block {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.publication-block h3 {
  max-width: 680px;
  margin: 12px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.publication-block p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.credentials {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

@media (max-width: 820px) {
  :root {
    --container: calc(100% - 32px);
    --header-height: 64px;
  }

  .site-nav {
    gap: 4px 16px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero,
  .page-hero {
    padding: 48px 0 64px;
  }

  .section {
    padding: 56px 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .entry,
  .history-item,
  .dossier-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .entry-link {
    grid-column: 1;
  }

  .education,
  .fact-grid,
  .credentials {
    grid-template-columns: 1fr;
  }

  .fact-grid > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .footer {
    min-height: auto;
    padding: 28px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

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