:root {
  color-scheme: light;
  --bg: #fbfcfb;
  --surface: #ffffff;
  --surface-soft: #f6faf8;
  --ink: #173f3a;
  --ink-strong: #102d2a;
  --text: #263d39;
  --muted: #6d7d78;
  --line: #dfe9e4;
  --line-strong: #c3d4cd;
  --accent: #a64b59;
  --accent-soft: #fff5f2;
  --violet: #5c557d;
  --gold: #9b6b23;
  --shadow: 0 18px 48px rgba(23, 63, 58, 0.09);
  --shadow-soft: 0 10px 28px rgba(23, 63, 58, 0.06);
  --radius: 8px;
  --content: 1260px;
  --sidebar: 270px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, #f4f8f6 100%);
  color: var(--text);
  font-family:
    "Avenir Next", Avenir, "Trebuchet MS", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
}

strong,
b {
  font-weight: 560;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration-color: rgba(166, 75, 89, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-130%);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
}

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

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 56px;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(195, 212, 205, 0.72);
  background: rgba(251, 252, 251, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  color: var(--ink-strong);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand::before {
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(166, 75, 89, 0.1);
  content: "";
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 400;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  content: "";
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  min-height: 40px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 400;
  padding: 7px 12px;
}

.page-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: 36px;
  width: min(var(--content), calc(100vw - 48px));
  margin: 0 auto;
  padding: 24px 0 52px;
}

.profile-panel {
  position: sticky;
  top: 76px;
  align-self: start;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 251, 0.98)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.profile-panel::before {
  display: block;
  width: calc(100% + 36px);
  height: 4px;
  margin: -18px -18px 16px;
  background: linear-gradient(90deg, var(--ink), var(--accent), var(--gold));
  content: "";
  transition: filter 180ms ease;
}

.profile-photo-frame {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 999px;
  background: #edf5f2;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 12px 30px rgba(23, 63, 58, 0.12);
}

.profile-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-copy {
  padding-top: 14px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-copy h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.48rem;
  line-height: 1.08;
}

.affiliation,
.location {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 400;
}

.affiliation span {
  font-weight: 700;
}

.location {
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: none;
}

.sidebar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent);
  flex: 0 0 21px;
}

.sidebar-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.profile-link:hover {
  color: var(--accent);
}

.is-disabled {
  color: #879891;
  cursor: default;
}

.quick-facts {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
}

.quick-facts > div {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.fact-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.28;
}

.content-flow {
  min-width: 0;
}

.section {
  scroll-margin-top: 74px;
  padding: 0 0 34px;
}

.section h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-strong);
  font-size: 1.22rem;
  line-height: 1.18;
}

.section h2::before {
  width: 7px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
  content: "";
  flex: 0 0 7px;
}

.section h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1rem;
  line-height: 1.35;
}

.section-kicker {
  display: none;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-header h2 {
  flex: 1;
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.about-text {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 400;
}

.about-text p {
  margin: 0 0 11px;
}

.about-text p:first-child {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 400;
}

.about-text strong {
  color: var(--ink);
  font-weight: 560;
}

.research-interests {
  position: relative;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.research-interests::before {
  position: absolute;
  right: 14px;
  top: 6px;
  color: rgba(166, 75, 89, 0.13);
  content: "Research";
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  transition: color 180ms ease;
}

.research-interests h3 {
  position: relative;
  margin-bottom: 10px;
}

.research-statement {
  position: relative;
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.83rem;
  line-height: 1.48;
}

.research-emphasis {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.tag-list,
.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list span,
.paper-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 400;
  padding: 2px 8px;
}

.tag-list span::before,
.paper-tags span::before {
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.feature-card {
  min-height: 146px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 250, 0.98)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-card.accent {
  border-top: 3px solid var(--violet);
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.feature-title h3 {
  font-size: 1.06rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ink), var(--violet));
  color: #fff;
  font-size: 0;
  font-weight: 400;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.feature-card ul {
  margin: 0;
  padding-left: 18px;
}

.feature-card li {
  margin: 5px 0;
}

.feature-card li::marker,
.news-list li::marker {
  color: var(--gold);
}

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

.news-list li {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.38;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.news-list li::before {
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.news-list li:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
  background: linear-gradient(90deg, rgba(166, 75, 89, 0.055), rgba(255, 255, 255, 0));
  box-shadow: -8px 0 0 rgba(166, 75, 89, 0.055);
}

.news-list li:hover::before {
  transform: scale(1.45);
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(155, 107, 35, 0.12);
}

.news-list time {
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
}

.news-entry-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 3px;
  min-width: 0;
}

.news-type {
  align-self: baseline;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent);
  font-size: 0.62rem;
  line-height: 1.25;
  padding: 1px 7px;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.news-title {
  min-width: 0;
  color: var(--ink-strong);
  font-weight: 560;
  transition: color 180ms ease;
}

.news-list li:hover .news-type {
  border-color: rgba(166, 75, 89, 0.5);
  background: var(--accent-soft);
  color: var(--ink);
}

.news-list li:hover .news-title,
.news-list li:hover .news-text {
  color: var(--accent);
}

.news-entry-body p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.news-entry-body.plain {
  display: block;
}

.news-text {
  color: var(--ink);
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.segmented-control {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.segmented-control button {
  min-height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 400;
  padding: 3px 9px;
}

.segmented-control button:hover,
.segmented-control button[aria-pressed="true"] {
  border-color: rgba(166, 75, 89, 0.45);
  background: var(--accent-soft);
  color: var(--ink);
}

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

.publication-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.publication-card:hover {
  border-color: var(--line-strong);
  border-left-color: var(--accent);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.publication-index {
  display: grid;
  align-content: start;
  gap: 3px;
  padding-top: 2px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 400;
}

.publication-index time {
  color: var(--muted);
  font-size: 0.7rem;
  font-style: italic;
}

.publication-body {
  min-width: 0;
}

.publication-body h3 {
  margin: 0 0 3px;
  color: var(--ink-strong);
  font-size: 0.92rem;
}

.publication-body p {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 0.82rem;
}

.publication-body .authors {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.paper-tags {
  margin-top: 6px;
}

.paper-tags span {
  min-height: 22px;
  font-size: 0.68rem;
  padding: 1px 7px;
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.paper-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 400;
  text-decoration: none;
  padding: 2px 8px;
}

.paper-link:hover {
  border-color: rgba(166, 75, 89, 0.45);
  background: var(--accent-soft);
}

.timeline-list {
  display: grid;
  gap: 0;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid var(--line);
}

.timeline-item:first-child {
  border-top: 1px solid var(--line);
}

.timeline-item::before {
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.timeline-item time {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.timeline-item p {
  margin: 3px 0 0;
  color: var(--text);
  font-size: 0.84rem;
}

.timeline-item .institution {
  color: var(--muted);
  font-weight: 700;
}

.service-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.service-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.service-item ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.service-item li {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.74rem;
  line-height: 1.2;
  padding: 2px 8px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.profile-panel,
.research-interests,
.feature-card,
.publication-card,
.service-item,
.cv-sheet {
  will-change: transform;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.profile-panel:hover,
.research-interests:hover,
.feature-card:hover,
.publication-card:hover,
.service-item:hover,
.cv-sheet:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.profile-panel:hover::before {
  filter: saturate(1.25);
}

.research-interests:hover {
  border-left-color: var(--gold);
}

.research-interests:hover::before {
  color: rgba(166, 75, 89, 0.19);
}

.feature-card:hover {
  border-top-color: var(--accent);
}

.feature-card:hover .feature-icon {
  transform: translateY(-1px) rotate(-4deg);
  background: linear-gradient(135deg, var(--accent), var(--gold));
}

.publication-card:hover {
  border-left-color: var(--accent);
}

.service-item li:hover {
  transform: translateY(-1px);
  border-color: rgba(166, 75, 89, 0.45);
  background: var(--accent-soft);
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .profile-panel,
  .research-interests,
  .feature-card,
  .publication-card,
  .service-item,
  .cv-sheet,
  .news-list li,
  .service-item li,
  .feature-icon {
    transition: none;
  }

  .profile-panel:hover,
  .research-interests:hover,
  .feature-card:hover,
  .publication-card:hover,
  .service-item:hover,
  .cv-sheet:hover,
  .news-list li:hover,
  .service-item li:hover,
  .feature-card:hover .feature-icon {
    transform: none;
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--content), calc(100vw - 48px));
  margin: 0 auto;
  padding: 16px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.cv-page {
  width: min(960px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.cv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.back-link,
.print-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 400;
  text-decoration: none;
  padding: 7px 12px;
}

.cv-sheet {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.cv-identity {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--ink);
}

.cv-identity h1 {
  margin: 0;
  color: var(--ink);
  font-size: 2.2rem;
  line-height: 1.1;
}

.cv-identity p {
  margin: 8px 0 0;
  color: var(--muted);
}

.cv-contact {
  max-width: 360px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
  overflow-wrap: anywhere;
  text-align: right;
}

.cv-section {
  padding-top: 24px;
}

.cv-section h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1rem;
  text-transform: uppercase;
}

.cv-section p {
  margin: 0 0 10px;
}

.cv-entry {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

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

.cv-entry.compact {
  display: block;
}

.cv-entry time {
  color: var(--muted);
  font-weight: 400;
}

.cv-entry h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.cv-entry p {
  margin: 3px 0 0;
  color: var(--text);
}

@media (max-width: 1100px) {
  :root {
    --sidebar: 250px;
  }

  .page-shell {
    gap: 24px;
    width: min(100% - 28px, 940px);
  }

  .about-grid,
  .feature-grid,
  .service-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 15px;
  }

  .site-topbar {
    justify-content: space-between;
    min-height: 52px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand,
  .nav-links a {
    min-height: 42px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 6px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 6px 9px;
  }

  .nav-links a::after {
    display: none;
  }

  .page-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100% - 22px, 680px);
    padding-top: 16px;
  }

  .profile-panel {
    position: static;
  }

  .profile-panel::before {
    width: calc(100% + 48px);
  }

  .profile-photo-frame {
    width: 132px;
    height: 132px;
  }

  .profile-copy {
    text-align: center;
  }

  .profile-actions {
    justify-items: center;
  }
}

@media (max-width: 620px) {
  .site-topbar {
    min-height: 50px;
  }

  .profile-panel {
    padding: 14px;
  }

  .profile-panel::before {
    width: calc(100% + 28px);
    margin: -14px -14px 14px;
  }

  .section {
    padding-bottom: 28px;
  }

  .section h2 {
    font-size: 1.08rem;
  }

  .research-interests,
  .feature-card,
  .service-item {
    padding: 12px;
  }

  .publication-card,
  .timeline-item,
  .cv-entry {
    grid-template-columns: 1fr;
  }

  .publication-index {
    display: flex;
    gap: 8px;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .segmented-control {
    justify-content: flex-start;
  }

  .site-footer,
  .cv-identity {
    flex-direction: column;
  }

  .cv-contact {
    text-align: left;
  }

  .cv-sheet {
    padding: 18px;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .cv-page {
    width: auto;
    padding: 0;
  }

  .cv-header {
    display: none;
  }

  .cv-sheet {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .cv-section {
    break-inside: avoid;
  }

  a {
    color: #000;
  }
}
