:root {
  --bg: #f7f9fa;
  --bg-soft: #eef4f5;
  --panel: #ffffff;
  --panel-strong: #eef7f8;
  --line: rgba(15, 39, 66, 0.13);
  --text: #182230;
  --muted: #667085;
  --navy: #0f2742;
  --teal: #087e8b;
  --teal-soft: #087e8b;
  --green: #34a853;
  --gold: #d9a441;
  --shadow: 0 22px 70px rgba(15, 39, 66, 0.12);
  --max: 1110px;
  --site-left: clamp(103px, 8.5vw, 129px);
  --hero-photo-top: 120px;
  --brand-size: 100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 76px;
  background:
    linear-gradient(180deg, rgba(15, 39, 66, 0.045), transparent 380px),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid rgba(15, 39, 66, 0.08);
  border-left: 1px solid rgba(15, 39, 66, 0.08);
  border-radius: 0 0 18px 18px;
}

.home-page {
  padding-top: 0;
}

.site-header:empty {
  display: none;
}

.home-page .site-header {
  position: absolute;
  left: 0;
  top: calc(var(--hero-photo-top) - var(--brand-size));
  z-index: 90;
  width: 100%;
  height: var(--brand-size);
  transform: none;
  align-items: flex-start;
  padding-left: var(--site-left);
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.home-page .brand strong {
  color: #ffffff;
}

.home-page .site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.home-page .site-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.home-page .menu-button {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.home-page .menu-button span {
  background: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-page .brand {
  height: var(--brand-size);
  align-items: flex-start;
}

.brand-photo {
  display: block;
  width: var(--brand-size);
  height: var(--brand-size);
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
  cursor: zoom-in;
  line-height: 0;
}

.brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-page .brand-photo img {
  mix-blend-mode: multiply;
}

.logo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(2, 8, 9, 0.82);
  backdrop-filter: blur(12px);
}

.logo-lightbox.is-open {
  display: grid;
}

.logo-lightbox img {
  width: min(86vw, 620px);
  max-height: 78vh;
  padding: clamp(16px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.55);
  object-fit: contain;
}

.logo-lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
}

.logo-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.15;
}

.brand small {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  background: var(--panel-strong);
  color: var(--navy);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.media-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  overflow: hidden;
  background: #6f92ad;
  border-bottom: 1px solid rgba(15, 39, 66, 0.16);
}

.media-hero::before {
  display: none;
}

.media-hero::after {
  display: none;
}

.media-hero-content {
  display: grid;
  grid-template-columns:
    var(--site-left)
    202px
    clamp(28px, 4vw, 52px)
    clamp(360px, 34vw, 430px)
    26px
    minmax(280px, 520px)
    minmax(22px, 1fr);
  align-items: center;
  width: 100%;
  min-height: inherit;
  margin: 0 auto;
  padding: var(--hero-photo-top) 0 88px;
}

.media-photo-block {
  grid-column: 4;
  width: clamp(360px, 34vw, 430px);
  margin: 0;
}

.media-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 62% top;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 24px 56px rgba(15, 39, 66, 0.24);
  clip-path: inset(0 0 0 6%);
}

.media-identity {
  grid-column: 6;
  width: min(44vw, 520px);
  min-height: clamp(360px, 34vw, 430px);
  margin: 0;
  padding: 0;
  color: #ffffff;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.media-identity h1 {
  max-width: none;
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(44px, 4vw, 46px);
  font-weight: 700;
  line-height: 0.98;
}

.media-identity p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.22;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  justify-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 34px 0 76px;
}

.education-section {
  width: 100%;
  max-width: none;
  grid-template-columns: var(--site-left) 202px clamp(28px, 4vw, 52px) minmax(0, 1110px) minmax(22px, 1fr);
  align-items: start;
  justify-items: stretch;
  gap: 0;
  padding-top: 56px;
  padding-right: 0;
  padding-left: 0;
}

.hero-copy {
  grid-column: 4;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8f9 100%);
  box-shadow: var(--shadow);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(15, 39, 66, 0.08);
  border-radius: 50%;
}

.section-menu {
  grid-column: 2;
  display: grid;
  gap: 48px;
  width: 100%;
  margin-top: 167px;
  padding: 34px 0;
  border-top: 1px solid rgba(15, 39, 66, 0.28);
  border-right: 0;
  border-bottom: 1px solid rgba(15, 39, 66, 0.28);
  background: transparent;
  justify-self: start;
}

.section-menu a {
  display: block;
  padding: 7px 0;
  color: #111111;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
}

.section-menu a:hover {
  color: #00aeef;
}

.section-menu a.is-active,
.section-menu a.is-active:hover,
.section-menu a.is-active.is-overview,
.section-menu a.is-active.is-blue {
  color: #ec008c;
}

.section-menu a.is-overview.is-active,
.section-menu a[aria-current="page"] {
  color: #ec008c;
}

.hero-avatar {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border: 2px solid rgba(8, 126, 139, 0.65);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 0 6px rgba(8, 126, 139, 0.08);
}

.education-list {
  display: grid;
  gap: 18px;
}

.education-list article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.education-list .degree-entry {
  position: relative;
  margin-top: 16px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(15, 39, 66, 0.1);
  border-left: 4px solid var(--teal);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(8, 126, 139, 0.055), rgba(15, 39, 66, 0.025)),
    #ffffff;
}

.education-list .degree-entry-master {
  border-left-color: var(--teal);
  background:
    linear-gradient(135deg, rgba(8, 126, 139, 0.06), rgba(15, 39, 66, 0.025)),
    #ffffff;
}

.education-list .degree-entry-doctorate {
  border-left-color: var(--navy);
  background:
    linear-gradient(135deg, rgba(15, 39, 66, 0.08), rgba(8, 126, 139, 0.04)),
    #ffffff;
}

.degree-entry-master .degree-badge {
  background: var(--teal);
  box-shadow:
    0 12px 28px rgba(8, 126, 139, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.degree-entry-master .erasmus-badge {
  background: #0f2742 !important;
  box-shadow:
    0 12px 28px rgba(15, 39, 66, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.degree-entry-doctorate .doctorate-badge {
  background: var(--navy) !important;
  box-shadow:
    0 12px 28px rgba(15, 39, 66, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.education-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.degree-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: max-content;
  margin-top: -38px;
  margin-bottom: 14px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: var(--teal);
  color: #ffffff;
  box-shadow:
    0 12px 28px rgba(8, 126, 139, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-style: normal;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.education-list h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--navy);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.12;
}

.education-list h2 img {
  width: 42px;
  height: 42px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(15, 39, 66, 0.09);
  background: #ffffff;
  object-fit: contain;
  flex: 0 0 auto;
}

.education-list p {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.education-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: justify;
}

.education-note a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(8, 126, 139, 0.38);
  text-underline-offset: 3px;
}

.education-note strong {
  color: var(--navy);
  font-weight: 900;
}

.advisor-note {
  font-size: 15px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(8, 126, 139, 0.09);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(44px, 7vw, 78px);
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 52px);
}

.title-line {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: clamp(19px, 2.3vw, 28px);
  font-weight: 900;
  line-height: 1.28;
}

.lead,
.prose p,
.quick-links small,
.quick-links p,
.card p,
.page-hero p,
.about-hero p,
.portrait figcaption span {
  color: var(--muted);
}

.hero-copy .lead {
  color: var(--muted);
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 900;
}

.button.primary {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 39, 66, 0.18);
}

.button.secondary {
  border: 1px solid rgba(8, 126, 139, 0.26);
  background: #ffffff;
  color: var(--teal);
}

.portrait,
.hero-info,
.profile-card {
  width: min(100%, 260px);
  justify-self: center;
}

.profile-card {
  display: grid;
  justify-items: center;
  text-align: center;
  margin: 0;
  margin-top: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.profile-card img {
  display: block;
  width: 100%;
  height: 255px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-soft);
}

.profile-card figcaption {
  display: grid;
  gap: 2px;
  padding: 13px 4px 12px;
}

.profile-card strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.35;
}

.profile-card span,
.affiliation-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.affiliation-card {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(8, 126, 139, 0.18);
  border-radius: 16px;
  background: rgba(8, 126, 139, 0.07);
}

.affiliation-card strong {
  color: var(--teal);
  font-size: 14px;
}

.hero-info {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-info span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.hero-info strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.hero-info p {
  margin-bottom: 0;
  color: var(--muted);
}

.portrait {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.portrait img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  background: var(--bg-soft);
}

.portrait figcaption {
  display: grid;
  gap: 2px;
  padding: 16px 6px 4px;
}

.portrait figcaption strong {
  color: var(--text);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 26px 22px 18px;
}

.quick-links a,
.card,
.list-panel,
.section {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.quick-links a {
  display: grid;
  gap: 9px;
  min-height: 154px;
  padding: 20px;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.quick-links a:hover,
.card:hover {
  border-color: rgba(8, 126, 139, 0.34);
  background: rgba(8, 126, 139, 0.06);
  transform: translateY(-2px);
}

.quick-links span,
.card span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.quick-links strong {
  color: var(--text);
  font-size: 21px;
}

.quick-links p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.45;
}

.section {
  width: min(calc(100% - 44px), var(--max));
  margin: 44px auto 72px;
  padding: clamp(28px, 4vw, 42px);
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
}

.compact {
  margin-top: 0;
}

.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 34px 22px 76px;
}

.side-page {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: var(--site-left) 202px clamp(28px, 4vw, 52px) minmax(0, 1110px) minmax(22px, 1fr);
  align-items: start;
  justify-items: stretch;
  gap: 0;
  padding: 56px 0 76px;
}

.side-page > .section-menu {
  grid-column: 2;
}

.side-page-content {
  grid-column: 4;
  min-width: 0;
}

.page-hero,
.about-hero {
  margin-bottom: 24px;
  padding: clamp(30px, 5vw, 50px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.publications-page {
  max-width: 1180px;
}

.publications-page.side-page {
  max-width: none;
}

.publications-hero {
  margin-bottom: 28px;
  padding: 40px 24px 34px;
  text-align: center;
  border-bottom: 1px solid rgba(8, 126, 139, 0.24);
}

.publications-hero h1 {
  color: var(--teal);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(44px, 7vw, 70px);
  font-weight: 900;
  line-height: 1.05;
}

.publications-hero p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
}

.publication-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 48px 0 40px;
  padding: 20px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: rgba(8, 126, 139, 0.06);
}

.publication-stats article {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 39, 66, 0.09);
}

.stat-icon {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #ffffff;
  font-weight: 900;
}

.publication-stats strong {
  color: var(--navy);
  font-size: 36px;
  line-height: 1;
}

.publication-stats small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 54px;
}

.tabs a {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

.tabs a:hover {
  border-color: rgba(8, 126, 139, 0.34);
  background: rgba(8, 126, 139, 0.08);
}

.publication-section {
  margin: 0 0 70px;
  scroll-margin-top: 100px;
}

.page-hero,
.about-hero,
.publications-hero {
  scroll-margin-top: 100px;
}

.publication-section h2 {
  max-width: 820px;
  margin: 0 auto 28px;
  padding-bottom: 24px;
  text-align: center;
  border-bottom: 1px solid rgba(8, 126, 139, 0.24);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--navy);
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 38px;
  margin: 0 0 18px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 900;
}

.publication-list {
  display: grid;
  gap: 16px;
}

.publication-card {
  padding: 24px 26px;
  border: 1px solid rgba(15, 39, 66, 0.11);
  border-left: 4px solid var(--teal);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(15, 39, 66, 0.08);
}

.publication-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.45;
}

.publication-card p {
  margin-bottom: 8px;
  color: var(--text);
}

.publication-card .pub-meta {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
}

.publication-card span {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(8, 126, 139, 0.22);
  border-radius: 999px;
  background: rgba(8, 126, 139, 0.08);
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.page-hero {
  max-width: none;
}

.page-hero h1,
.about-hero h1 {
  font-size: clamp(44px, 7vw, 82px);
}

.page-hero p,
.about-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.about-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}

.about-hero img {
  width: 104px;
  height: 104px;
  margin-bottom: 18px;
  border: 3px solid rgba(8, 126, 139, 0.62);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 0 7px rgba(8, 126, 139, 0.1);
}

.about-hero p {
  margin-right: auto;
  margin-left: auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  min-height: 250px;
  padding: 26px;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.card h2 {
  margin-top: 62px;
  font-family: Inter, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.list-panel {
  display: grid;
  overflow: hidden;
}

.list-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 900;
}

.list-panel a:last-child {
  border-bottom: 0;
}

.list-panel span {
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 26px 22px 40px;
  color: var(--muted);
  border-top: 1px solid rgba(8, 126, 139, 0.24);
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 900px) {
  :root {
    --site-left: 40px;
    --hero-photo-top: 92px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 22px;
    left: 22px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
  }

  .home-page .site-nav {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(15, 39, 66, 0.96);
  }

  .home-page .site-header {
    padding-left: var(--site-left);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero,
  .two-column,
  .card-grid,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .media-hero {
    min-height: 500px;
  }

  .media-hero-content {
    grid-template-columns: 40px 0 24px 330px 22px minmax(260px, 1fr) 22px;
    padding: var(--hero-photo-top) 0 70px;
  }

  .media-photo-block {
    width: 330px;
  }

  .media-identity {
    width: min(48vw, 430px);
    min-height: 330px;
  }

  .media-identity h1 {
    font-size: clamp(40px, 5.2vw, 46px);
  }

  .media-identity p {
    font-size: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .education-section {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100%, var(--max));
    padding-right: 22px;
    padding-left: 22px;
  }

  .side-page {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100%, var(--max));
    padding-right: 22px;
    padding-left: 22px;
  }

  .section-menu {
    grid-column: auto;
    grid-template-columns: repeat(4, max-content);
    gap: 14px;
    padding: 14px 0;
    overflow-x: auto;
  }

  .side-page-content {
    grid-column: auto;
  }

  .hero-copy {
    grid-column: auto;
  }

  .portrait {
    width: min(100%, 240px);
  }

  .portrait img {
    height: 255px;
  }

  .hero-info {
    width: 100%;
    justify-self: stretch;
  }

  .profile-card {
    width: min(100%, 240px);
    margin-top: 0;
  }

  .profile-card img {
    height: 245px;
  }

  .publication-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-copy,
  .page-hero,
  .about-hero,
  .section {
    padding: 28px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  :root {
    --hero-photo-top: 92px;
  }

  .media-hero {
    min-height: auto;
  }

  .media-hero-content {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 22px;
    padding: var(--hero-photo-top) 22px 58px;
  }

  .media-photo-block {
    grid-column: 1;
    width: min(100%, 300px);
  }

  .media-identity {
    grid-column: 1;
    width: min(100%, 520px);
    min-height: auto;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .media-hero-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .media-photo-block {
    width: min(100%, 250px);
  }

  .media-identity {
    text-align: center;
  }

  .media-identity h1 {
    font-size: clamp(36px, 10vw, 44px);
  }

  .media-identity p {
    font-size: 18px;
  }

  .title-line {
    font-size: 20px;
  }

  .hero,
  .page {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-copy,
  .page-hero,
  .about-hero,
  .section {
    border-radius: 22px;
    padding: 24px;
  }

  .education-list h2 {
    gap: 10px;
    font-size: 21px;
  }

  .education-list h2 img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .portrait {
    width: min(100%, 210px);
  }

  .portrait img {
    height: 225px;
    border-radius: 16px;
  }

  .hero-avatar {
    width: 68px;
    height: 68px;
  }

  .about-hero img {
    width: 86px;
    height: 86px;
  }

  .profile-card {
    width: min(100%, 210px);
  }

  .profile-card img {
    height: 220px;
  }

  .publication-stats article {
    grid-template-columns: 58px 1fr;
    padding: 18px;
  }

  .stat-icon {
    width: 56px;
    height: 56px;
  }
}
