:root {
  color-scheme: light;
  --navy-950: #081321;
  --navy-900: #0b1728;
  --navy-800: #12243a;
  --navy-700: #1a3552;
  --ink: #192635;
  --muted: #5c6875;
  --paper: #f4f1e9;
  --paper-light: #fbfaf7;
  --line: #d7d3ca;
  --line-dark: #33475f;
  --accent: #b9944d;
  --link: #185276;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --content-width: 78rem;
  --reading-width: 50rem;
  --radius: 0.35rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(8, 19, 33, 0.022) 1px, transparent 1px);
  background-size: 100% 2rem;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.028em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
  line-height: 1.35;
}

p {
  max-width: 72ch;
}

small {
  font-size: 0.9rem;
  line-height: 1.6;
}

cite {
  font-family: var(--serif);
  font-style: italic;
}

strong {
  font-weight: 700;
}

a {
  color: var(--link);
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a[target="_blank"]::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.22em;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-0.08em);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #f4c45e;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--navy-950);
  border-radius: 0.12rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legacy-anchor {
  display: block;
  height: 0;
}

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--navy-950);
  font-weight: 700;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 4.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(8, 19, 33, 0.975);
  color: var(--white);
}

.header-inner {
  width: min(100% - 2.5rem, var(--content-width));
  min-height: 4.5rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header a {
  color: var(--white);
}

.site-name {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.05rem;
  text-decoration: none;
}

.monogram {
  width: 2.65rem;
  height: 2.65rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #ead39e;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.bibliography-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-underline-offset: 0.28em;
}

.header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 1rem;
}

.language-switcher {
  min-height: 2.75rem;
  gap: 0.34rem;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.language-switcher > span[aria-current="page"] {
  color: #ead39e;
}

.language-switcher a {
  text-underline-offset: 0.24em;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 38rem;
  height: 38rem;
  top: -24rem;
  right: -6rem;
  border: 1px solid rgba(185, 148, 77, 0.2);
  box-shadow: 0 0 0 6rem rgba(255, 255, 255, 0.018), 0 0 0 12rem rgba(255, 255, 255, 0.012);
}

.hero::after {
  width: 22rem;
  height: 22rem;
  bottom: -17rem;
  left: 18%;
  background: rgba(31, 63, 96, 0.35);
  filter: blur(1px);
}

.hero-inner {
  width: min(100% - 2.5rem, var(--content-width));
  margin-inline: auto;
  padding-block: clamp(5rem, 10vw, 8.5rem) clamp(4.5rem, 8vw, 7rem);
}

.eyebrow {
  margin-bottom: 1.45rem;
  color: #e6ca8b;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow a {
  color: inherit;
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(2.75rem, 7vw, 5.8rem);
  line-height: 0.98;
}

.subtitle {
  margin-bottom: 2rem;
  color: #d2dce8;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  letter-spacing: 0.025em;
}

.profile-links {
  max-width: 58rem;
  margin: 2.65rem 0 0;
  padding: 1.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.3rem;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.profile-links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: #f2f5f8;
  font-size: 0.88rem;
  font-weight: 650;
}

.compact-hero .hero-inner {
  padding-block: clamp(3.8rem, 7vw, 6rem) clamp(3.5rem, 6vw, 5rem);
}

.compact-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.hero-note {
  max-width: 60ch;
  margin-bottom: 0;
  color: #becbda;
  font-size: 0.95rem;
}

.cv-layout {
  width: min(100% - 2.5rem, var(--content-width));
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.section-rail {
  min-width: 0;
}

.desktop-toc {
  position: sticky;
  top: 6.5rem;
  padding-top: 0.25rem;
}

.toc-title {
  margin-bottom: 1.05rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.desktop-toc li {
  border-bottom: 1px solid var(--line);
}

.desktop-toc a {
  min-height: 2.85rem;
  padding: 0.62rem 0.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #41505e;
  font-size: 0.83rem;
  font-weight: 620;
  line-height: 1.35;
  text-decoration: none;
}

.desktop-toc a span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.desktop-toc a:hover,
.desktop-toc a[aria-current="true"] {
  color: var(--navy-900);
}

.desktop-toc a[aria-current="true"] {
  box-shadow: inset 3px 0 0 var(--accent);
  padding-left: 0.75rem;
}

.mobile-toc {
  display: none;
}

.cv-content {
  min-width: 0;
  max-width: var(--reading-width);
}

.cv-section {
  padding-block: clamp(3.3rem, 6vw, 6.3rem);
  scroll-margin-top: 5.75rem;
  border-top: 1px solid var(--line);
}

.cv-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.section-heading {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.section-number {
  margin: 0.45rem 0 0;
  color: #80632f;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.section-intro {
  margin-bottom: 2rem;
  color: #44515f;
  font-size: 1.05rem;
}

.section-note {
  margin: -1.5rem 0 2rem 3.7rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: italic;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(12rem, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.current-roles,
.tag-list,
.position-list,
.event-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.current-roles li {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.1rem 1rem;
  border-bottom: 1px solid var(--line);
}

.current-roles .role {
  font-weight: 700;
}

.current-roles .institution {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.91rem;
}

.current-roles .years {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
}

.years {
  color: #71592d;
  font-size: 0.78rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.interests {
  padding: 1.5rem;
  align-self: start;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-700);
  background: rgba(255, 255, 255, 0.38);
}

.tag-list li {
  padding: 0.48rem 0;
  color: #3f4c59;
  border-bottom: 1px solid var(--line);
}

.tag-list li:last-child {
  border-bottom: 0;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline > li {
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.timeline h3,
.timeline p {
  margin-bottom: 0.25rem;
}

.timeline .detail {
  color: var(--muted);
  font-size: 0.93rem;
}

.position-groups {
  display: grid;
  gap: 2.8rem;
}

.position-group h3 {
  margin-bottom: 0.9rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--navy-800);
  font-family: var(--serif);
  font-size: 1.36rem;
  font-weight: 400;
}

.position-list li,
.event-list li {
  padding: 0.9rem 0;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.position-list li:first-child,
.event-list li:first-child {
  border-top: 0;
}

.publication-stats {
  margin: 2.1rem 0 3rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.publication-stats div {
  min-width: 0;
  padding: 1rem 0.8rem;
  border-right: 1px solid var(--line);
}

.publication-stats div:last-child {
  border-right: 0;
}

.publication-stats dt {
  margin-bottom: 0.3rem;
  color: var(--navy-800);
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
}

.publication-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.publication-preview h3 {
  margin-bottom: 1.15rem;
}

.scholar-card {
  margin: -1.35rem 0 3rem;
  padding: 1rem 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  border: 1px solid var(--line);
  border-left: 3px solid #9a783c;
  background: rgba(255, 255, 255, 0.28);
}

.scholar-card h3 {
  margin-bottom: 0.35rem;
  color: var(--navy-800);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 400;
}

.scholar-summary,
.scholar-secondary,
.scholar-meta p {
  margin-bottom: 0;
}

.scholar-summary {
  color: var(--navy-900);
  font-size: 0.94rem;
  font-weight: 700;
}

.scholar-secondary,
.scholar-meta p {
  color: var(--muted);
  font-size: 0.76rem;
}

.scholar-meta {
  text-align: right;
}

.scholar-meta a {
  font-size: 0.82rem;
  font-weight: 650;
}

.publication-title-link {
  color: inherit;
  text-decoration-color: rgba(24, 82, 118, 0.48);
  text-decoration-thickness: 0.055em;
  text-underline-offset: 0.17em;
}

.publication-title-link:hover {
  color: var(--link);
  text-decoration-color: currentColor;
}

@media (max-width: 46rem) {
  .scholar-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .scholar-meta {
    text-align: left;
  }
}
.bibliography {
  margin: 0;
  padding-left: 2.2rem;
}

.bibliography > li {
  padding: 0 0 1.55rem 0.4rem;
  overflow-wrap: anywhere;
}

.bibliography > li::marker {
  color: #806433;
  font-size: 0.79rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.bibliography > li + li {
  padding-top: 1.55rem;
  border-top: 1px solid var(--line);
}

.bibliography cite {
  color: #101e2d;
}

.bibliography .impact {
  margin-top: 0.7rem;
  display: block;
  color: #674f25;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.025em;
}

.bibliography .distinction {
  margin-top: 0.7rem;
  display: block;
  color: #674f25;
  font-size: 0.83rem;
}

.bibliography.compact > li:nth-child(n + 4) {
  display: block;
}

.section-action,
.back-to-cv {
  margin-top: 2rem;
}

.button-link {
  min-height: 3rem;
  padding: 0.7rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #39516b;
  color: var(--navy-900);
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.button-link:hover {
  background: var(--navy-900);
  color: var(--white);
}

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

.event-list li {
  grid-template-columns: 6.8rem minmax(0, 1fr);
}

.compact-events li {
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.8rem;
}

.conference-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.2rem, 5vw, 4.5rem);
}

.conference-columns h3 {
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy-800);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.publications-layout .cv-content {
  max-width: 54rem;
}

.publication-section .section-heading {
  margin-bottom: 2.5rem;
}

.count {
  margin-left: 0.35rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
}

.back-to-cv {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  background: var(--navy-950);
  color: #bdc8d5;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--content-width));
  margin-inline: auto;
  padding-block: 2.6rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.footer-inner strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

@media (max-width: 62rem) {
  html {
    scroll-padding-top: 8rem;
  }

  .publication-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cv-layout {
    display: block;
    padding-top: 0;
  }

  .section-rail {
    position: sticky;
    top: 4.5rem;
    z-index: 50;
    padding-block: 0.85rem;
    background: linear-gradient(var(--paper) 78%, rgba(244, 241, 233, 0));
  }

  .desktop-toc {
    display: none;
  }

  .mobile-toc {
    display: block;
    border: 1px solid var(--line);
    background: var(--paper-light);
  }

  .mobile-toc summary {
    min-height: 3rem;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--navy-900);
    font-size: 0.85rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
  }

  .mobile-toc summary::-webkit-details-marker {
    display: none;
  }

  .mobile-toc summary::after {
    content: "+";
    font-size: 1.15rem;
    font-weight: 400;
  }

  .mobile-toc[open] summary::after {
    content: "−";
  }

  .mobile-toc nav {
    padding: 0.3rem 0.6rem 0.7rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .mobile-toc nav a {
    min-height: 2.75rem;
    padding: 0.55rem 0.45rem;
    display: flex;
    align-items: center;
    color: #334454;
    font-size: 0.8rem;
    font-weight: 650;
    text-decoration: none;
  }

  .mobile-toc nav a[aria-current="true"] {
    color: var(--navy-900);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 0.16rem;
    text-underline-offset: 0.3rem;
  }

  .cv-content,
  .publications-layout .cv-content {
    max-width: none;
  }
}

@media (max-width: 46rem) {
  .profile-grid,
  .conference-columns {
    grid-template-columns: 1fr;
  }

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

  .publication-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .publication-stats div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .publication-stats div:last-child {
    border-bottom: 0;
  }

  .position-list li,
  .event-list li,
  .compact-events li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 34rem) {
  body {
    font-size: 0.96rem;
  }

  .header-inner,
  .hero-inner,
  .cv-layout,
  .footer-inner {
    width: min(100% - 1.5rem, var(--content-width));
  }

  .header-inner {
    gap: 0.7rem;
  }

  .header-actions {
    gap: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

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

  .section-heading {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.6rem;
  }

  .section-note {
    margin-left: 2.6rem;
  }

  .timeline > li {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .current-roles li {
    grid-template-columns: 1fr;
  }

  .current-roles .institution,
  .current-roles .years {
    grid-column: 1;
    grid-row: auto;
  }

  .current-roles .years {
    margin-top: 0.35rem;
  }

  .mobile-toc nav {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 27rem) {
  .site-name > span:last-child {
    display: none;
  }

  .bibliography-link {
    font-size: 0.78rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@page {
  size: A4 portrait;
  margin: 17mm 17mm 18mm;
}

@media print {
  :root {
    --ink: #111111;
    --muted: #404040;
    --line: #b8b8b8;
    --paper: #ffffff;
    --paper-light: #ffffff;
    --link: #111111;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html {
    scroll-behavior: auto;
    scroll-padding-top: 0;
  }

  body {
    margin: 0;
    background: #ffffff !important;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8.75pt;
    line-height: 1.38;
    orphans: 3;
    widows: 3;
    -webkit-print-color-adjust: economy;
    print-color-adjust: economy;
  }

  body::before,
  .site-header,
  .section-rail,
  .skip-link,
  .section-number,
  .legacy-anchor,
  .section-action,
  .back-to-cv,
  .button-link::after {
    display: none !important;
  }

  main,
  .hero,
  .cv-layout,
  .cv-content,
  .publications-layout .cv-content {
    width: auto;
    max-width: none;
  }

  .hero {
    overflow: visible;
    background: #ffffff !important;
    color: #111111;
    border-bottom: 1pt solid #111111;
  }

  .hero::before,
  .hero::after {
    display: none !important;
  }

  .hero-inner,
  .compact-hero .hero-inner {
    width: auto;
    margin: 0;
    padding: 0 0 5mm;
  }

  .eyebrow,
  .hero h1,
  .subtitle,
  .hero-note,
  .profile-links a {
    color: #111111;
  }

  .eyebrow {
    margin-bottom: 2mm;
    font-size: 7pt;
    letter-spacing: 0.1em;
  }

  .compact-hero .eyebrow {
    display: none;
  }

  .hero h1 {
    max-width: none;
    margin-bottom: 1.5mm;
    font-size: 24pt;
    line-height: 1.05;
  }

  .compact-hero h1 {
    max-width: none;
    margin-bottom: 1.5mm;
    font-size: 20pt;
    line-height: 1.08;
  }

  .subtitle {
    margin-bottom: 2mm;
    font-size: 11pt;
  }

  .hero-note {
    font-size: 8.5pt;
  }

  .profile-links {
    margin: 2.5mm 0 0;
    padding: 1.5mm 0 0;
    gap: 1mm 5mm;
    border-color: #999999;
  }

  .profile-links a {
    min-height: 0;
    font-size: 7.4pt;
  }

  .cv-layout {
    margin: 0;
    padding: 4mm 0 0;
    display: block;
  }

  .cv-section {
    padding: 3.25mm 0;
    break-inside: auto;
    scroll-margin-top: 0;
    border-color: #b8b8b8;
  }

  .cv-section:first-child {
    padding-top: 0;
  }

  .section-heading,
  .publication-section .section-heading {
    margin-bottom: 2mm;
    display: block;
    break-after: avoid-page;
    page-break-after: avoid;
  }

  h1,
  h2,
  h3,
  h4,
  .position-group h3,
  .conference-columns h3 {
    break-after: avoid-page;
    page-break-after: avoid;
  }

  h2 {
    font-size: 15pt;
    line-height: 1.12;
  }

  h3,
  h4 {
    font-size: 10.25pt;
    line-height: 1.25;
  }

  p,
  li {
    orphans: 3;
    widows: 3;
  }

  .section-intro,
  .section-note {
    margin: 0 0 3mm;
    font-size: 8pt;
  }

  html[lang="cs"] #konference {
    break-before: page;
    page-break-before: always;
  }

  .profile-grid {
    grid-template-columns: 1.5fr 0.85fr;
    gap: 7mm;
  }

  .current-roles li,
  .timeline > li,
  .position-list li,
  .event-list li,
  .bibliography > li,
  .publication-stats,
  .scholar-card,
  .interests {
    break-inside: avoid-page;
    page-break-inside: avoid;
  }

  .position-group {
    break-inside: auto;
    page-break-inside: auto;
  }

  .current-roles li {
    padding-block: 1mm;
  }

  .current-roles .institution {
    font-size: 8pt;
  }

  .interests {
    padding: 3mm;
    border-width: 0.5pt;
    border-top-width: 1.5pt;
    background: #ffffff !important;
  }

  .interests h3 {
    margin-bottom: 1mm;
  }

  .tag-list li {
    padding-block: 1mm;
  }

  .timeline > li {
    padding-block: 1.35mm;
    grid-template-columns: 23mm minmax(0, 1fr);
    gap: 3mm;
  }

  .timeline .detail {
    font-size: 8.2pt;
  }

  .position-groups {
    gap: 3mm;
  }

  .position-group h3,
  .conference-columns h3 {
    margin-bottom: 1.5mm;
    padding-bottom: 1.2mm;
    border-bottom-width: 0.75pt;
    border-color: #333333;
    font-size: 10.5pt;
  }

  .position-list li,
  .event-list li,
  .compact-events li {
    padding-block: 1mm;
    grid-template-columns: 25mm minmax(0, 1fr);
    gap: 3mm;
  }

  .years {
    color: #333333;
    font-size: 7.5pt;
  }

  .publication-stats {
    margin: 2.5mm 0 4mm;
    background: #ffffff !important;
    border-width: 0.5pt;
  }

  .publication-stats div {
    padding: 1.8mm 2mm;
  }

  .publication-stats dt {
    margin-bottom: 0.8mm;
    font-size: 14pt;
  }

  .publication-stats dd {
    font-size: 6.8pt;
  }

  .scholar-card {
    margin: 2mm 0 4mm;
    padding: 2.5mm 3mm;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3mm 6mm;
    border-width: 0.5pt;
    border-left: 1.5pt solid #444444;
    background: #ffffff !important;
  }

  .scholar-card h3 {
    margin-bottom: 0.8mm;
    color: #111111;
    font-size: 9.5pt;
  }

  .scholar-summary {
    color: #111111;
    font-size: 8.5pt;
  }

  .scholar-secondary,
  .scholar-meta p,
  .scholar-meta a {
    color: #333333;
    font-size: 7pt;
  }

  .bibliography {
    padding-left: 6mm;
    font-size: 8.45pt;
    line-height: 1.34;
  }

  .bibliography > li {
    padding: 0 0 2mm 0.8mm;
    overflow-wrap: normal;
    word-break: normal;
  }

  .bibliography > li + li {
    padding-top: 2mm;
    border-color: #d0d0d0;
  }

  .bibliography > li::marker {
    color: #333333;
    font-size: 7.2pt;
  }

  .bibliography .impact,
  .bibliography .distinction {
    margin-top: 0.8mm;
    color: #333333;
    font-size: 7.1pt;
  }

  .count {
    color: #333333;
    font-size: 7.5pt;
  }

  .conference-columns {
    gap: 6mm;
  }

  a {
    color: #111111;
    text-decoration: underline;
    text-decoration-thickness: 0.5pt;
    text-underline-offset: 1pt;
  }

  a[target="_blank"]::after {
    content: none !important;
    display: none !important;
  }

  .publication-title-link[href^="https://doi.org/"]::after {
    content: " [DOI]" !important;
    display: inline !important;
    margin: 0;
    color: #444444;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 6.6pt;
    font-style: normal;
    font-weight: 700;
    text-decoration: none;
    transform: none;
  }

  .site-footer {
    display: block !important;
    margin-top: 2mm;
    break-before: avoid-page;
    page-break-before: avoid;
    background: #ffffff !important;
    color: #444444;
    border-top: 0.5pt solid #999999;
  }

  .footer-inner {
    width: auto;
    margin: 0;
    padding: 1.5mm 0 0;
    display: block;
  }

  .footer-inner > * {
    display: none;
  }

  .site-footer::after {
    content: "www.drmares.phd \00b7  Updated August 2026";
    display: block;
    color: #444444;
    font-size: 7pt;
    letter-spacing: 0.025em;
    text-align: right;
  }
}