@font-face {
  font-family: "Lato";
  src: url("../fonts/lato/Lato-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/lato/Lato-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/lato/Lato-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 699;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/lato/Lato-BoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500 699;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/lato/Lato-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/lato/Lato-BoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --ink: #352925;
  --muted: #75635c;
  --line: #ead8d0;
  --line-soft: #f3e7e1;
  --paper: #ffffff;
  --wash: #ffffff;
  --blue: #c43d3d;
  --blue-bright: #a7272d;
  --blue-soft: #ffe9e5;
  --gold: #a76b22;
  --gold-soft: #fff2d9;
  --standard-red: #ee0000;
  --font-bump: 1px;
  --date-font-size: 15px;
  --header-height: 66px;
  --content-width: 1180px;
}

html[data-theme="dark"] {
  --ink: #f3eae6;
  --muted: #bcaea7;
  --line: #4a3933;
  --line-soft: #332722;
  --paper: #171311;
  --wash: #1d1816;
  --blue: #ee746f;
  --blue-bright: #ff9a94;
  --blue-soft: #3c2523;
  --gold: #e4ad57;
  --gold-soft: #3a2b18;
  --standard-red: #ff6868;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(1rem + var(--font-bump));
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-bright); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }
.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;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(234, 216, 208, 0.94);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--content-width));
  height: 100%;
  margin: 0 auto;
}

.site-title {
  color: var(--ink);
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 1.23rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  position: relative;
  color: #665b52;
  font-size: calc(0.84rem + var(--font-bump));
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  background: #c43d3d;
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active { color: var(--blue); }
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 7px;
  border: 1px solid #dfc4ba;
  border-radius: 50%;
  color: #632f3a;
  background: #fff3ef;
  cursor: pointer;
}

.theme-toggle:hover { color: var(--blue); border-color: var(--blue); }
.theme-toggle:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.theme-icon { display: block; width: 20px; height: 20px; fill: currentColor; }
.theme-icon--sun { display: none; }
html[data-theme="dark"] .theme-icon--moon { display: none; }
html[data-theme="dark"] .theme-icon--sun { display: block; }

.page-shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 64px;
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.profile {
  padding-top: 54px;
  border-right: 1px solid var(--line-soft);
}

.profile-sticky {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  padding-right: 34px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 148px;
  aspect-ratio: 1;
  margin-bottom: 20px;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 2.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  overflow: hidden;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.profile h1 {
  margin: 0 0 5px;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 1.55rem;
  line-height: 1.25;
}

.profile-role {
  margin: 0 0 11px;
  color: #665b52;
  font-size: calc(0.92rem + var(--font-bump));
  line-height: 1.5;
}

.profile-location {
  margin: 0;
  color: var(--muted);
  font-size: calc(0.82rem + var(--font-bump));
}

.profile-location span {
  margin-right: 7px;
  color: #cf303b;
  font-size: 0.55rem;
  vertical-align: 2px;
}

.contact-list {
  display: grid;
  gap: 5px;
  margin: 24px 0;
  padding: 17px 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
  color: #62584f;
  font-size: calc(0.87rem + var(--font-bump));
  text-decoration: none;
}

.contact-list a:hover { color: var(--blue); }
.contact-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

.content { min-width: 0; padding: 0 0 40px; }
.section {
  padding: 56px 0;
  border-bottom: 0;
}
.section--first { padding-top: 66px; }

.section h2 {
  margin: 0;
  color: #3d3028;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(1.62rem, 3vw, 2.05rem);
  line-height: 1.2;
}

.section h3 { color: #44372f; }
.section > p {
  width: 100%;
  max-width: none;
  margin: 18px 0 0;
  color: #51473f;
}

.section--first > p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(1rem + var(--font-bump));
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 27px;
}

.section-heading--about { margin-bottom: 15px; }

.section-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.section-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-more {
  margin-left: auto;
  color: var(--muted);
  font-size: calc(0.73rem + var(--font-bump));
  font-weight: 650;
  text-decoration: none;
}

.section-more:hover { color: var(--blue); }

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 31px;
}

.interest-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ead8d0;
  border-top: 3px solid #a7272d;
  border-radius: 9px;
  background: #fff;
}

.interest-card__head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 15px 16px 12px;
}

.interest-card__head span {
  color: #cf3d3f;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(0.78rem + var(--font-bump));
  font-weight: 700;
}

.interest-card__head strong {
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(1rem + var(--font-bump));
}

.interest-card__visual {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: #ffffff;
}

.interest-card__visual::after {
  position: absolute;
  inset: 0;
  background: transparent;
  content: "";
  pointer-events: none;
}

.interest-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
}

.interest-card small {
  display: block;
  min-height: 61px;
  padding: 12px 16px 15px;
  color: var(--muted);
  font-size: calc(0.82rem + var(--font-bump));
  line-height: 1.45;
}

.news-list {
  position: relative;
  height: 228px;
  padding: 0 12px 0 0;
  overflow-y: scroll;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  scrollbar-color: #ce4a4d #f5e8e2;
  scrollbar-width: auto;
}

.news-list::-webkit-scrollbar { width: 12px; }
.news-list::-webkit-scrollbar-track { border-radius: 10px; background: #f5e8e2; }
.news-list::-webkit-scrollbar-thumb {
  border: 3px solid #f5e8e2;
  border-radius: 10px;
  background: #c43d3d;
}
.news-list::-webkit-scrollbar-thumb:hover { background: #a7272d; }

.news-list article {
  display: grid;
  grid-template-columns: 32px 76px 1fr;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 4px;
}

.news-icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: none;
}
.news-list time {
  color: var(--blue);
  font-size: var(--date-font-size);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.news-list p { margin: 0; color: #554a42; font-size: calc(0.95rem + var(--font-bump)); }
.news-highlight {
  color: var(--standard-red);
  font-weight: 800;
}
.news-plain {
  color: var(--ink);
  font-weight: 400;
}

.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  position: absolute;
  top: 9px;
  bottom: 12px;
  left: 5px;
  width: 1px;
  background: #dfc4af;
  content: "";
}
.timeline article { position: relative; padding: 0 0 30px; }
.timeline article:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  top: 7px;
  left: -28px;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
}
.timeline-date {
  color: var(--blue);
  font-size: var(--date-font-size);
  font-weight: 800;
  letter-spacing: 0.025em;
}
.timeline h3 { margin: 3px 0 2px; font-size: calc(1.02rem + var(--font-bump)); }
.timeline p { margin: 0; color: #5c5149; font-size: calc(0.94rem + var(--font-bump)); }
.timeline small { color: var(--muted); font-size: calc(0.79rem + var(--font-bump)); }
.rank-highlight {
  color: #ee0000;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 800;
}

.experience-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}
.experience-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.experience-label {
  color: var(--blue);
  font-size: calc(0.7rem + var(--font-bump));
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.experience-card h3 { margin: 3px 0 0; font-size: calc(1.05rem + var(--font-bump)); }
.experience-card time { color: var(--muted); font-size: calc(0.78rem + var(--font-bump)); white-space: nowrap; }
.experience-card > p { margin: 7px 0 12px; color: var(--muted); font-size: calc(0.88rem + var(--font-bump)); }
.experience-card ul { margin: 0; padding-left: 1.25rem; color: #554b43; font-size: calc(0.93rem + var(--font-bump)); }
.experience-card li + li { margin-top: 5px; }

.publication-group { margin-top: 39px; }
.publications-section > .section-heading + .publication-group { margin-top: 8px; }
.publication-group--collab {
  margin-top: 62px;
  padding-top: 38px;
  border-top: 0;
}
.publication-group-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 7px;
  padding-bottom: 15px;
  border-bottom: 2px solid #c33b3e;
}
.publication-group-title > div { display: flex; align-items: baseline; gap: 13px; }
.publication-group-title h3 {
  margin: 0;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(1.18rem + var(--font-bump));
}
.group-index {
  color: #cf4b4c;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(0.8rem + var(--font-bump));
  font-weight: 700;
}
.group-count {
  color: var(--muted);
  font-size: calc(0.72rem + var(--font-bump));
  white-space: nowrap;
}

.publication {
  display: grid;
  grid-template-columns: 53px minmax(0, 1fr);
  gap: 17px;
  padding: 22px 3px 23px;
  border-bottom: 1px solid var(--line-soft);
}
.publication:last-child { border-bottom: 0; }
.publication--review { background: #ffffff; }
.pub-year {
  padding-top: 2px;
  color: #9a8778;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(0.77rem + var(--font-bump));
  font-weight: 700;
}
.pub-title {
  color: #70402f;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(1rem + var(--font-bump));
  font-weight: 700;
  line-height: 1.43;
  text-decoration: none;
}
.pub-title:hover { color: var(--blue-bright); text-decoration: underline; }
.pub-authors,
.pub-venue { margin: 5px 0 0; color: #6e6259; font-size: calc(0.84rem + var(--font-bump)); line-height: 1.52; }
.pub-authors strong { color: #3c3029; }
.pub-venue { margin-top: 2px; color: #7b6f66; }
.pub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.pub-tags a,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 7px;
  border: 1px solid #ddcfc2;
  border-radius: 4px;
  color: #6c5f55;
  background: #fffdf9;
  font-size: calc(0.66rem + var(--font-bump));
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}
.pub-tags a:hover { color: var(--blue); border-color: #d3a78e; background: var(--blue-soft); }
.tag--primary { color: #fff; border-color: var(--blue); background: var(--blue); }
.tag--blue { color: #8d4c34; border-color: #e2bda8; background: var(--blue-soft); }
.tag--award { color: var(--gold); border-color: #efd6a7; background: var(--gold-soft); }
.tag--esi { color: var(--standard-red); border-color: var(--standard-red); background: #fff5f5; }
.tag--muted { color: #6f7378; border-color: #d6dade; background: #f3f5f6; }

.detail-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 13px 86px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 8px 0;
}

.detail-list__dot {
  width: 8px;
  height: 8px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: #bd6845;
}

.detail-list li:nth-child(3n + 2) .detail-list__dot {
  background: #cf8b3d;
}

.detail-list li:nth-child(3n) .detail-list__dot {
  background: #9d6b58;
}

.detail-list time,
.detail-list__meta {
  padding-top: 0.05rem;
  color: var(--blue);
  font-size: calc(0.68rem + var(--font-bump));
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.detail-list p { margin: 0; color: #574c44; font-size: calc(0.93rem + var(--font-bump)); line-height: 1.58; }
.detail-list strong { color: #3f332c; }

.service-groups { display: grid; gap: 30px; }
.service-group h3 {
  margin: 0 0 12px;
  color: #44372f;
  font-size: calc(1rem + var(--font-bump));
}
.service-group ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.25rem;
  color: #574c44;
  font-size: calc(0.93rem + var(--font-bump));
  line-height: 1.58;
}
.service-group li::marker { color: #8f1f2d; }
.service-group li span { color: #b52f3b; font-weight: 600; }

.honor-list .detail-list__dot,
.honor-list li:nth-child(n) .detail-list__dot {
  background: #8f1f2d;
}

.honor-list time { font-size: var(--date-font-size); }

.teaching-list li {
  grid-template-columns: 13px minmax(0, 1fr);
}
.teaching-list .detail-list__dot { background: #8f1f2d; }

.talk-list li { grid-template-columns: 13px 92px minmax(0, 1fr); }
.talk-list h3 {
  margin: 0 0 5px;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(1rem + var(--font-bump));
  line-height: 1.42;
}
.talk-list p { color: var(--muted); }
.talk-list .talk-title-zh { margin-top: 5px; color: var(--blue); font-size: calc(0.82rem + var(--font-bump)); }

.interest-card__head span,
.news-list time,
.timeline-date,
.experience-label,
.group-index,
.detail-list time,
.detail-list__meta,
.talk-list .talk-title-zh {
  color: #b52f3b;
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.news-list time,
.timeline-date,
.experience-label,
.honor-list time {
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 10px;
  color: #9a8b7f;
  font-size: calc(0.71rem + var(--font-bump));
}
.site-footer p { margin: 0; }

html[data-theme="dark"] .site-header { border-bottom-color: rgba(74, 57, 51, 0.95); }
html[data-theme="dark"] .site-nav a,
html[data-theme="dark"] .profile-role,
html[data-theme="dark"] .contact-list a { color: #cbbdb6; }
html[data-theme="dark"] .theme-toggle { color: #f0c978; border-color: var(--line); background: var(--paper); }
html[data-theme="dark"] .avatar,
html[data-theme="dark"] .interest-card,
html[data-theme="dark"] .news-list,
html[data-theme="dark"] .experience-card,
html[data-theme="dark"] .publication--review { background: var(--wash); }
html[data-theme="dark"] .interest-card { border-color: #4a3933; border-top-color: #dc5d5d; }
html[data-theme="dark"] .interest-card__visual { background: #ffffff; }
html[data-theme="dark"] .section h2,
html[data-theme="dark"] .section h3,
html[data-theme="dark"] .section > p,
html[data-theme="dark"] .news-list p,
html[data-theme="dark"] .news-plain,
html[data-theme="dark"] .timeline p,
html[data-theme="dark"] .experience-card ul,
html[data-theme="dark"] .pub-authors strong,
html[data-theme="dark"] .detail-list strong,
html[data-theme="dark"] .service-group h3 { color: var(--ink); }
html[data-theme="dark"] .pub-title { color: #efa58c; }
html[data-theme="dark"] .pub-year,
html[data-theme="dark"] .pub-authors,
html[data-theme="dark"] .pub-venue,
html[data-theme="dark"] .detail-list p,
html[data-theme="dark"] .service-group ul { color: #c7b9b2; }
html[data-theme="dark"] .timeline::before { background: #60463d; }
html[data-theme="dark"] .timeline-marker { border-color: var(--paper); }
html[data-theme="dark"] .publication-group-title { border-bottom-color: #d85959; }
html[data-theme="dark"] .pub-tags a,
html[data-theme="dark"] .tag { color: #d8cbc4; border-color: #5a463e; background: #211b18; }
html[data-theme="dark"] .tag--primary { color: #fff; border-color: #c64f4f; background: #c64f4f; }
html[data-theme="dark"] .tag--award { color: #f0bd68; border-color: #785c2f; background: #322717; }
html[data-theme="dark"] .tag--esi { color: #ff7a7a; border-color: #b94747; background: #351e1e; }
html[data-theme="dark"] .tag--muted { color: #bbb1ac; border-color: #50433d; background: #26211e; }
html[data-theme="dark"] .news-list { scrollbar-color: #c34f52 #31231f; }
html[data-theme="dark"] .news-list::-webkit-scrollbar-track { background: #31231f; }
html[data-theme="dark"] .news-list::-webkit-scrollbar-thumb { border-color: #31231f; background: #c34f52; }
html[data-theme="dark"] .contact-icon { filter: brightness(0) saturate(100%) invert(66%) sepia(45%) saturate(1013%) hue-rotate(315deg) brightness(107%); }

@media (max-width: 980px) {
  .site-nav { gap: 0.78rem; }
  .header-actions { gap: 12px; }
  .page-shell { grid-template-columns: 205px minmax(0, 1fr); gap: 38px; }
  .profile-sticky { padding-right: 24px; }
  .avatar { width: 130px; }
  .interest-grid { grid-template-columns: 1fr; }
  .interest-card { min-height: 0; }
  .interest-card__visual { height: 190px; }
}

@media (max-width: 780px) {
  :root { --header-height: 60px; }
  .header-inner { width: min(calc(100% - 30px), var(--content-width)); }
  .nav-toggle {
    display: grid;
    gap: 4px;
    width: 38px;
    height: 38px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 16px; height: 2px; background: #654d40; }
  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .site-nav.is-open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 16px; }
  .site-nav a { padding: 9px 5px; }
  .site-nav a::after { display: none; }
  .page-shell { display: block; width: min(calc(100% - 30px), var(--content-width)); }
  .profile { padding: 30px 0 27px; border-right: 0; border-bottom: 1px solid var(--line); }
  .profile-sticky {
    position: static;
    display: grid;
    grid-template-columns: 102px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 22px;
    padding: 0;
  }
  .avatar { grid-row: 1 / span 3; width: 102px; margin: 0; font-size: 2rem; }
  .profile h1 { align-self: end; font-size: 1.4rem; }
  .profile-role { margin: 2px 0 4px; }
  .contact-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    gap: 22px;
    margin: 20px 0 0;
    padding: 14px 0 0;
    border-bottom: 0;
  }
  .section--first { padding-top: 44px; }
}

@media (max-width: 560px) {
  html { font-size: 16px; }
  body { font-size: calc(1rem + var(--font-bump)); }
  .section { padding: 44px 0; }
  .profile-sticky { grid-template-columns: 82px 1fr; column-gap: 17px; }
  .avatar { width: 82px; font-size: 1.65rem; }
  .profile h1 { font-size: 1.25rem; }
  .profile-role { font-size: calc(0.8rem + var(--font-bump)); }
  .profile-location { font-size: calc(0.73rem + var(--font-bump)); }
  .contact-list { gap: 14px; }
  .contact-list a { gap: 5px; font-size: calc(0.78rem + var(--font-bump)); }
  .section-more { display: none; }
  .interest-grid { gap: 8px; }
  .interest-card__visual { height: 165px; }
  .news-list { padding: 5px 14px; }
  .news-list article { grid-template-columns: 28px 58px 1fr; gap: 8px; }
  .news-icon { width: 27px; height: 27px; }
  .experience-card { padding: 0; }
  .experience-head { display: block; }
  .experience-card time { display: block; margin-top: 5px; }
  .publication { grid-template-columns: 1fr; gap: 2px; padding: 19px 0 21px; }
  .pub-year { font-size: calc(0.69rem + var(--font-bump)); }
  .publication-group-title { align-items: flex-start; }
  .publication-group-title > div { align-items: flex-start; }
  .publication-group-title h3 { font-size: calc(1.02rem + var(--font-bump)); }
  .detail-list li { grid-template-columns: 12px 78px minmax(0, 1fr); gap: 8px; }
  .service-groups { gap: 25px; }
  .talk-list li { grid-template-columns: 12px 72px minmax(0, 1fr); }
  .site-footer { display: block; }
  .site-footer p + p { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media print {
  html { color-scheme: light; }
  html[data-theme="dark"] { --ink: #352925; --muted: #75635c; --line: #ead8d0; --line-soft: #f3e7e1; --paper: #ffffff; }
  .site-header,
  .profile,
  .news-list,
  .site-footer { display: none; }
  .page-shell { display: block; width: 100%; }
  .section { break-inside: avoid; padding: 24px 0; }
  .content { padding: 0; }
  a { color: inherit; text-decoration: none; }
}
