@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --page-font-sans: "Suisse Int'l", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-font-mono: "Suisse Int'l Mono", "IBM Plex Mono", "SFMono-Regular", "Ubuntu Mono", monospace;
  --page-bg: #ecf3fb;
  --page-glass-white: rgba(255, 255, 255, 0.76);
  --page-glass-silver: rgba(233, 240, 247, 0.72);
  --page-glass-stroke: rgba(255, 255, 255, 0.88);
  --page-panel: rgba(255, 255, 255, 0.72);
  --page-panel-strong: rgba(255, 255, 255, 0.9);
  --page-line: rgba(189, 214, 242, 0.8);
  --page-line-strong: rgba(156, 189, 228, 0.92);
  --page-heading: #143b67;
  --page-text: #325d81;
  --page-text-soft: #6388af;
  --page-accent: #4683c6;
  --page-accent-deep: #266aaf;
  --page-accent-alt: #77b2eb;
  --page-accent-teal: #7fb8d2;
  --page-accent-mist: #d3e9fd;
  --page-accent-steel: #6c98c6;
  --page-silver: #f2f5f9;
  --page-silver-strong: #dde5ee;
  --page-silver-deep: #b0bccb;
  --page-silver-glow: rgba(242, 246, 250, 0.92);
  --page-accent-soft: rgba(232, 241, 255, 0.95);
  --page-shadow: 0 32px 80px rgba(25, 46, 77, 0.13), 0 10px 26px rgba(25, 46, 77, 0.06);
  --page-shadow-soft: 0 18px 44px rgba(33, 62, 99, 0.08);
  --page-shadow-card: 0 22px 58px rgba(22, 48, 82, 0.08), 0 8px 18px rgba(22, 48, 82, 0.04);
  --page-shadow-card-hover: 0 28px 60px rgba(22, 48, 82, 0.11), 0 12px 26px rgba(22, 48, 82, 0.06);
  --radius-xl: 34px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 106px 24px 44px;
  background:
    radial-gradient(circle at 16% 14%, rgba(244, 247, 250, 0.84), transparent 21%),
    radial-gradient(circle at top left, rgba(103, 160, 232, 0.24), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(120, 180, 231, 0.22), transparent 23%),
    radial-gradient(circle at 88% 16%, rgba(242, 246, 250, 0.72), transparent 20%),
    radial-gradient(circle at 65% 100%, rgba(183, 219, 251, 0.24), transparent 24%),
    radial-gradient(circle at 20% 82%, rgba(192, 223, 251, 0.22), transparent 18%),
    radial-gradient(circle at 84% 72%, rgba(236, 240, 245, 0.64), transparent 16%),
    linear-gradient(180deg, #edf3f9 0%, #f8f9fb 46%, #edf4fb 100%);
  color: var(--page-text);
  font: 16.3px/1.72 var(--page-font-sans);
  font-weight: 470;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: auto auto 6% -6%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 233, 239, 0.74), rgba(80, 142, 220, 0.18), transparent 72%);
  pointer-events: none;
  filter: blur(4px);
}

body::after {
  content: "";
  position: fixed;
  top: -8%;
  right: -5%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 251, 253, 0.88), rgba(221, 228, 235, 0.36), rgba(102, 156, 226, 0.14), transparent 72%);
  pointer-events: none;
  filter: blur(10px);
}

a {
  color: var(--page-accent);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

p,
ul,
ol,
table,
pre,
dl {
  margin: 0 0 1rem;
}

p,
li,
td,
.profile-affiliation,
.profile-subline,
.profile-bio,
.profile-research-list li,
.profile-last-updated,
.about-callout__text,
.feature-main p,
.teaching-shell__intro p:last-child,
.teaching-card p,
.course-term {
  font-weight: 490;
}

strong {
  color: var(--page-heading);
  font-weight: 700;
}

small {
  font-size: 0.82rem;
}

img {
  max-width: 100%;
}

blockquote {
  margin: 1.4rem 0;
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--page-accent);
  border-radius: 0 16px 16px 0;
  background: var(--page-accent-soft);
  color: var(--page-heading);
}

code,
pre,
email {
  font-family: var(--page-font-mono);
}

pre {
  overflow-x: auto;
  padding: 1rem 1.1rem;
  border: 1px solid var(--page-line);
  border-radius: 18px;
  background: #f4f8ff;
}

.wrapper {
  width: min(1380px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px, 360px) minmax(0, 1fr);
  gap: clamp(1.8rem, 3vw, 3.2rem);
  align-items: start;
}

.site-sidebar {
  position: sticky;
  top: 96px;
  width: auto;
  float: none;
  padding: 0;
  text-align: center;
}

.site-header-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 90;
  background: rgba(247, 250, 254, 0.72);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 28px rgba(33, 62, 99, 0.08);
}

.site-header-bar__inner {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.82rem 0;
}

.site-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  color: var(--page-heading);
  flex-shrink: 0;
}

.site-header-brand:hover {
  color: var(--page-heading);
}

.site-header-brand__mark {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
}

.site-header-brand__name {
  font-size: 1.52rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.015em;
  background: linear-gradient(270deg, #266aaf, #4683c6, #77b2eb, #7fb8d2, #89b8ff, #6c98c6, #266aaf);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headerBrandFlow 4s ease infinite;
  text-shadow: 0 0 18px rgba(127, 184, 210, 0.14);
}

@keyframes headerBrandFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.profile-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  border: 1px solid var(--page-glass-stroke);
  border-radius: var(--radius-xl);
  background: linear-gradient(148deg, rgba(255, 255, 255, 0.86), rgba(248, 251, 255, 0.8) 24%, rgba(236, 245, 253, 0.8) 56%, rgba(224, 236, 248, 0.82));
  box-shadow: 0 36px 88px rgba(25, 46, 77, 0.13), 0 12px 28px rgba(25, 46, 77, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.96), inset 0 -1px 0 rgba(194, 210, 229, 0.34);
  text-align: center;
  backdrop-filter: blur(34px) saturate(175%);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.18) 24%, rgba(218, 231, 246, 0.18) 100%);
  pointer-events: none;
}

.profile-card::after {
  display: none;
}

.image {
  display: inline-block;
  position: relative;
  border: 0;
}

.profile-avatar-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  align-self: center;
  width: fit-content;
  margin: 0 auto 1.4rem !important;
}

.image.avatar {
  display: block;
  margin: 0 auto !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.image.avatar:before {
  display: none;
}

.image.avatar img {
  display: block;
  width: 176px !important;
  max-width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center center;
  margin: 0 auto !important;
  padding: 0;
  border: 1px solid rgba(245, 247, 250, 0.94);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(23, 49, 81, 0.14), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.profile-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: 100%;
}

.profile-tag {
  display: inline-flex;
  align-items: center;
  margin: 0.34rem 0 0.18rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--page-text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--page-heading);
  line-height: 1.15;
  font-family: var(--page-font-sans);
}

h1 {
  margin: 0;
  font-size: clamp(2.05rem, 2.7vw, 2.24rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.3vw, 1.96rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.profile-affiliation,
.profile-subline {
  margin: 0.28rem 0 0;
  color: var(--page-text-soft);
}

.profile-affiliation a,
.profile-subline a {
  color: inherit;
}

.profile-affiliation {
  font-size: 1rem;
  line-height: 1.42;
  max-width: 18rem;
  margin-top: 0.2rem;
}

.profile-subline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.profile-subline i {
  width: 1rem;
  text-align: center;
  color: var(--page-accent);
}

.profile-bio {
  margin: 0.72rem 0 0;
  color: var(--page-text);
  font-size: 0.99rem;
  line-height: 1.66;
  max-width: 18rem;
}

.profile-research {
  width: 100%;
  max-width: 17.75rem;
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(219, 226, 236, 0.86);
}

.profile-research-label {
  margin: 0;
  color: var(--page-text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-research-copy {
  margin: 0.5rem 0 0;
  color: var(--page-text);
  font-size: 0.96rem;
  line-height: 1.72;
  text-wrap: balance;
}

.profile-research-list {
  margin: 0.52rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.16rem;
}

.profile-research-list li {
  color: var(--page-text);
  font-size: 0.96rem;
  line-height: 1.58;
}

.social-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  align-items: center;
  column-gap: 0.82rem;
  row-gap: 0.88rem;
  width: min(100%, 15.6rem);
  margin-top: 1.06rem;
}

.profile-last-updated {
  width: 100%;
  margin: 1.2rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(219, 226, 236, 0.84);
  color: var(--page-text-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.social-icons a {
  display: grid;
  width: 2.72rem;
  height: 2.72rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(246, 248, 251, 0.82) 46%, rgba(232, 239, 246, 0.82));
  color: var(--page-accent) !important;
  font-size: 1rem;
  line-height: 1;
  margin: 0;
  box-shadow: 0 14px 28px rgba(24, 47, 79, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(203, 215, 228, 0.3);
  backdrop-filter: blur(18px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.social-icons a:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(70, 131, 198, 0.95), rgba(119, 178, 235, 0.92));
  color: #fff !important;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 28px rgba(38, 104, 176, 0.21);
}

.content-column {
  width: auto;
  float: none;
  padding: 0;
}

.page-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.45rem;
  justify-content: flex-end;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.page-nav::before {
  display: none;
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0;
  color: #6f7f95;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.24s ease;
}

.page-nav a:hover {
  color: var(--page-accent-deep);
}

.content-stack {
  display: grid;
  gap: 1.25rem;
}

.content-section {
  position: relative;
  overflow: hidden;
  padding: clamp(1.45rem, 2.8vw, 2.35rem);
  border: 1px solid var(--page-glass-stroke);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(246, 248, 251, 0.76) 30%, rgba(239, 244, 249, 0.74) 64%, rgba(229, 237, 245, 0.72));
  box-shadow: 0 26px 62px rgba(22, 48, 82, 0.09), 0 10px 24px rgba(22, 48, 82, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(204, 214, 226, 0.3);
  backdrop-filter: blur(28px) saturate(172%);
}

.content-section::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1) 20%, rgba(222, 231, 240, 0.12) 100%);
  pointer-events: none;
}

.content-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 210px;
  height: 210px;
  border-radius: 0 0 0 100%;
  background: radial-gradient(circle at top right, rgba(120, 164, 238, 0.12), rgba(123, 185, 202, 0.06), rgba(120, 164, 238, 0));
  pointer-events: none;
}

.content-section > * {
  position: relative;
  z-index: 1;
}

.content-section--hero {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(241, 247, 255, 0.95) 58%, rgba(234, 245, 255, 0.93));
}

#about {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.84), rgba(245, 248, 252, 0.82) 28%, rgba(240, 245, 250, 0.76) 56%, rgba(235, 244, 255, 0.68));
}

#news {
  background: linear-gradient(156deg, rgba(255, 255, 255, 0.84), rgba(245, 248, 252, 0.8) 28%, rgba(240, 246, 250, 0.74) 60%, rgba(233, 246, 249, 0.68));
}

#publications {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.84), rgba(245, 248, 252, 0.8) 28%, rgba(241, 246, 250, 0.74) 62%, rgba(237, 244, 255, 0.68));
}

#awards {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(245, 248, 252, 0.82) 30%, rgba(241, 246, 250, 0.74) 58%, rgba(238, 248, 252, 0.68));
}

#services {
  background: linear-gradient(156deg, rgba(255, 255, 255, 0.84), rgba(245, 248, 252, 0.82) 30%, rgba(241, 246, 250, 0.74) 58%, rgba(236, 243, 255, 0.68));
}

#teaching {
  background: linear-gradient(156deg, rgba(255, 255, 255, 0.84), rgba(245, 248, 252, 0.82) 28%, rgba(241, 246, 250, 0.74) 56%, rgba(235, 246, 255, 0.68));
}

#about::after,
#news::after,
#publications::after {
  display: block;
  width: 228px;
  height: 228px;
  background:
    radial-gradient(circle at top right, rgba(133, 186, 240, 0.2) 0%, rgba(171, 205, 239, 0.14) 30%, rgba(221, 234, 247, 0.09) 52%, rgba(133, 186, 240, 0) 74%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 62%);
}

#about::after {
  opacity: 1;
}

#news::after {
  opacity: 0.96;
}

#publications::after {
  opacity: 0.98;
}

#awards::after {
  background: radial-gradient(circle at top right, rgba(95, 159, 195, 0.16), rgba(130, 186, 255, 0.08), rgba(95, 159, 195, 0));
}

#services::after {
  background: radial-gradient(circle at top right, rgba(111, 136, 184, 0.14), rgba(138, 181, 223, 0.08), rgba(111, 136, 184, 0));
}

#teaching::after {
  background: radial-gradient(circle at top right, rgba(79, 143, 214, 0.16), rgba(95, 159, 195, 0.08), rgba(79, 143, 214, 0));
}

.content-section--hero p {
  font-size: 1.02rem;
}

#about p {
  text-align: justify;
  text-justify: inter-word;
}

#about a {
  color: var(--page-accent-deep);
  font-weight: 600;
  padding: 0.04em 0.2em;
  margin: -0.04em -0.2em;
  border-radius: 0.42em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: inset 0 -0.16em 0 rgba(119, 178, 235, 0.28);
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, text-shadow 0.22s ease, transform 0.22s ease;
}

#about .about-emphasis {
  color: var(--page-heading);
  font-weight: 600;
}

#about a:hover,
#about a:focus-visible {
  color: #145ea9;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(228, 240, 253, 0.98) 52%, rgba(213, 232, 252, 0.92));
  box-shadow: inset 0 -0.18em 0 rgba(119, 178, 235, 0.62), 0 10px 22px rgba(54, 112, 184, 0.16);
  text-shadow: 0 0 14px rgba(119, 178, 235, 0.22);
  transform: translateY(-1px);
}

#about em {
  color: #40608a;
  font-style: italic;
}

#about p + p {
  margin-top: 0.85rem;
}

.about-callout {
  position: relative;
  overflow: hidden;
  margin-top: 1.15rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.72rem;
  padding: 0.96rem 1.08rem;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(247, 249, 252, 0.8) 44%, rgba(233, 240, 247, 0.84));
  box-shadow: 0 20px 42px rgba(25, 46, 77, 0.08), 0 8px 18px rgba(25, 46, 77, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.86), inset 0 -1px 0 rgba(206, 217, 230, 0.26);
  backdrop-filter: blur(22px) saturate(170%);
}

.about-callout::before {
  display: none;
}

.about-callout::after {
  display: none;
}

.about-callout__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.06rem;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(230, 237, 246, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 8px 18px rgba(43, 70, 110, 0.08);
  color: #d15a69;
  font-size: 0.9rem;
}

.about-callout__text {
  position: relative;
  z-index: 1;
  flex: 1;
}

.about-callout__text {
  margin: 0;
  color: var(--page-heading);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.56;
  white-space: normal;
  text-align: left !important;
  text-wrap: pretty;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.4rem 0.82rem;
  border: 1px solid var(--page-line-strong);
  border-radius: 999px;
  background: var(--page-accent-soft);
  color: var(--page-accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #347ddd, #7ab3ff);
}

.content-section ul:not(.bibliography),
.content-section ol:not(.bibliography) {
  padding-left: 1.2rem;
}

.content-section li + li {
  margin-top: 0.45rem;
}

.recent-news-scroll {
  position: relative;
  max-height: 11.7rem;
  overflow: auto;
  margin-top: 0.2rem;
  padding: 0.22rem 0.24rem 0.24rem;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(246, 249, 252, 0.78) 38%, rgba(238, 245, 251, 0.76) 66%, rgba(232, 241, 249, 0.72));
  box-shadow: 0 14px 30px rgba(22, 48, 82, 0.05), 0 6px 14px rgba(22, 48, 82, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px) saturate(160%);
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 143, 214, 0.7) rgba(221, 235, 249, 0.75);
}

.recent-news-scroll ul {
  list-style: none;
  padding: 0 0.5rem;
  margin: 0;
  display: grid;
  gap: 0;
}

.recent-news-scroll li {
  position: relative;
  padding: 0.42rem 0 0.43rem;
  font-size: 0.97rem;
  line-height: 1.36;
}

.recent-news-scroll li + li {
  margin-top: 0;
}

.recent-news-scroll li:not(:last-child) {
  border-bottom: 1px dashed rgba(132, 171, 214, 0.32);
}

.recent-news-scroll li::before {
  display: none;
}

.recent-news-scroll strong {
  display: inline-block;
  margin-right: 0.32rem;
  margin-bottom: 0;
  padding: 0.08rem 0.32rem 0.09rem;
  border: 1px solid rgba(179, 201, 229, 0.78);
  border-radius: 0.5rem;
  background: rgba(241, 246, 252, 0.82);
  color: var(--page-accent-deep);
  box-shadow: none;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  vertical-align: baseline;
}

.recent-news-scroll::-webkit-scrollbar {
  width: 9px;
}

.recent-news-scroll::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(235, 243, 252, 0.88), rgba(228, 240, 251, 0.72));
  border-radius: 999px;
}

.recent-news-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(79, 143, 214, 0.88), rgba(95, 159, 195, 0.78));
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.recent-news-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(42, 105, 184, 0.92), rgba(79, 143, 214, 0.84));
  background-clip: padding-box;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.1rem;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.72rem;
  padding: 1.15rem 1.15rem 1.08rem;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(246, 248, 251, 0.78) 38%, rgba(239, 244, 249, 0.78) 66%, rgba(231, 238, 246, 0.74));
  box-shadow: 0 18px 40px rgba(22, 48, 82, 0.06), 0 8px 18px rgba(22, 48, 82, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(165%);
}

.feature-card::after {
  display: none;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-eyebrow {
  margin: 0;
  color: var(--page-text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h3,
.teaching-shell__intro h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.22;
}

.feature-body {
  display: grid;
  gap: 0.56rem;
}

.feature-row {
  display: grid;
  gap: 0.22rem;
}

.feature-main strong {
  display: block;
  margin: 0;
  color: var(--page-heading);
  font-size: 0.96rem;
  font-weight: 700;
}

.feature-main p {
  margin: 0.18rem 0 0;
  color: var(--page-text);
  font-size: 0.92rem;
  line-height: 1.48;
}

.service-link-emphasis {
  font-weight: 600;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(243, 246, 250, 0.78), rgba(232, 239, 246, 0.8));
  color: var(--page-accent-deep);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
}

.teaching-shell {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.teaching-shell__intro {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  padding: 1.15rem 1.15rem 1.08rem;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.84), rgba(246, 248, 251, 0.8) 38%, rgba(239, 244, 249, 0.78) 64%, rgba(232, 239, 247, 0.74));
  box-shadow: 0 18px 40px rgba(22, 48, 82, 0.06), 0 8px 18px rgba(22, 48, 82, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(22px) saturate(165%);
}

.teaching-shell__intro > :not(.teaching-shell__logo) {
  position: relative;
  z-index: 1;
}

.teaching-shell__intro .feature-eyebrow {
  color: var(--page-text-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
}

.teaching-shell__intro h3 {
  max-width: 13rem;
  font-size: 1.02rem;
  line-height: 1.18;
}

.teaching-shell__logo {
  position: absolute;
  top: 0.62rem;
  right: 0.62rem;
  width: clamp(70px, 5.2vw, 84px);
  height: auto;
  opacity: 0.28;
  object-fit: contain;
  pointer-events: none;
  filter: grayscale(100%) saturate(0) brightness(0.98) contrast(1.06);
  z-index: 0;
}

.teaching-shell__intro p:last-child {
  margin: 0;
  color: var(--page-text);
  font-size: 0.93rem;
  line-height: 1.58;
  max-width: none;
  text-align: left !important;
  text-justify: auto;
}

.teaching-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.teaching-card {
  display: grid;
  gap: 0.44rem;
  padding: 1rem 1rem 0.96rem;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(246, 248, 251, 0.78) 38%, rgba(239, 244, 249, 0.76) 64%, rgba(232, 239, 246, 0.72));
  box-shadow: 0 16px 34px rgba(22, 48, 82, 0.06), 0 7px 16px rgba(22, 48, 82, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
}

.teaching-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.course-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-width: 0;
}

.course-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(236, 241, 247, 0.9), rgba(231, 241, 255, 0.92));
  color: var(--page-accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.course-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 214, 233, 0.95);
  background: linear-gradient(145deg, rgba(238, 243, 249, 0.94), rgba(233, 242, 255, 0.96));
  color: var(--page-accent-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.course-term {
  color: var(--page-text-soft);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.teaching-card h4 {
  margin: 0;
  color: var(--page-heading);
  font-size: 0.84rem;
  line-height: 1.3;
  font-weight: 700;
}

.teaching-card p {
  margin: 0;
  color: var(--page-text);
  font-size: 0.88rem;
  line-height: 1.48;
}

footer {
  display: none;
}

@media print, screen and (max-width: 1080px) {
  body {
    padding: 100px 16px 34px;
  }

  body::after {
    display: none;
  }

  .wrapper {
    grid-template-columns: 1fr;
  }

  .site-sidebar {
    position: static;
  }

  .profile-card::before {
    display: none;
  }

  .site-header-bar__inner {
    width: min(100%, calc(100% - 32px));
    padding: 0.72rem 0;
  }

  .feature-grid--services,
  .teaching-shell,
  .teaching-grid {
    grid-template-columns: 1fr;
  }

  .teaching-shell__logo {
    top: 0.62rem;
    right: 0.62rem;
    width: 78px;
  }
}

@media print, screen and (max-width: 720px) {
  body {
    padding-top: 126px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .profile-card,
  .content-section {
    padding: 1.25rem;
    border-radius: 24px;
  }

  .site-header-bar__inner {
    width: min(100%, calc(100% - 28px));
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 1rem;
    padding: 0.68rem 0;
  }

  .site-header-brand {
    gap: 0.58rem;
  }

  .site-header-brand__mark {
    width: 2.4rem;
    height: 2.4rem;
  }

  .site-header-brand__name {
    font-size: 1.28rem;
  }

  .page-nav {
    gap: 0.52rem 1.1rem;
    justify-content: center;
  }

  .page-nav a {
    padding: 0;
    font-size: 0.96rem;
  }

  .image.avatar img {
    width: min(100%, 164px) !important;
  }

  .teaching-shell__logo {
    top: 0.58rem;
    right: 0.58rem;
    width: 70px;
  }

  .teaching-shell__intro {
    padding-right: 1.15rem;
  }

  .recent-news-scroll {
    padding: 0.2rem 0.18rem 0.22rem;
    border-radius: 20px;
  }

  .recent-news-scroll ul {
    padding: 0 0.42rem;
  }

  .recent-news-scroll li {
    padding: 0.4rem 0 0.42rem;
  }
}

@media print {
  body {
    padding: 0;
    background: #fff;
    color: #000;
  }

  .site-header-bar {
    position: static;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .wrapper {
    display: block;
  }

  .site-sidebar,
  .page-nav {
    position: static;
  }
}
