:root {
  color-scheme: light;
  --bg-light: #f3f1ec;
  --bg-paper: rgba(255, 255, 255, 0.72);
  --bg-dark: #0d1117;
  --panel-dark: rgba(15, 22, 33, 0.88);
  --ink: #101521;
  --muted: #556072;
  --line: rgba(16, 21, 33, 0.12);
  --accent: #2a6cf0;
  --accent-soft: rgba(42, 108, 240, 0.14);
  --copper: #b46a3c;
  --glow: rgba(85, 149, 255, 0.18);
  --dark-ink: #eff5ff;
  --dark-muted: #8f9db2;
  --dark-line: rgba(177, 197, 227, 0.16);
  --dark-accent: #7cb2ff;
  --dark-accent-soft: rgba(124, 178, 255, 0.12);
  --max-width: 1200px;
  --shadow-soft: 0 24px 90px rgba(19, 33, 56, 0.1);
  --shadow-dark: 0 24px 90px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
}

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

.selector-body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(42, 108, 240, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(180, 106, 60, 0.12), transparent 26%),
    linear-gradient(180deg, #f8f6f2 0%, #ece8df 100%);
}

.selector-shell,
.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.selector-shell {
  padding: 72px 0 96px;
}

.selector-hero {
  max-width: 760px;
  margin-bottom: 40px;
}

.selector-hero h1,
.hero h1,
.section-heading h2,
.footer h2,
.bio-card h2,
.feature-copy h2,
.papers-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.selector-hero h1 {
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: 0.95;
}

.selector-copy,
.lede,
.feature-copy p,
.paper-card p,
.archive-table p,
.stack-row p,
.signal-card p,
.bio-card p,
.timeline-list p,
.dashboard-grid p,
.archive-columns p,
.recent-strip p {
  color: var(--muted);
  line-height: 1.7;
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.selector-archive {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 24px;
  border: 1px solid rgba(16, 21, 33, 0.08);
  background: rgba(255, 255, 255, 0.5);
}

.archive-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.archive-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 21, 33, 0.16);
}

.selector-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(16, 21, 33, 0.08);
  box-shadow: var(--shadow-soft);
}

.selector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.selector-card-a {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(248, 246, 241, 0.9)),
    var(--bg-paper);
}

.selector-card-a::before {
  background:
    linear-gradient(135deg, rgba(42, 108, 240, 0.15), transparent 42%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 18px,
      rgba(16, 21, 33, 0.03) 18px,
      rgba(16, 21, 33, 0.03) 19px
    );
}

.selector-card-b {
  color: var(--dark-ink);
  background:
    radial-gradient(circle at top, rgba(124, 178, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #0f141e 0%, #0a0d13 100%);
}

.selector-card-b::before {
  background:
    linear-gradient(180deg, rgba(124, 178, 255, 0.1), transparent 30%),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 14px,
      rgba(177, 197, 227, 0.05) 14px,
      rgba(177, 197, 227, 0.05) 15px
    );
}

.selector-badge,
.eyebrow,
.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.selector-card ul,
.feature-card ul {
  margin: 18px 0 28px;
  padding-left: 18px;
  color: inherit;
  line-height: 1.8;
}

.selector-card a,
.primary-link,
.secondary-link,
.link-row a,
.text-link,
.contact-links a,
.signal-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid currentColor;
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.selector-card a:hover,
.primary-link:hover,
.secondary-link:hover,
.link-row a:hover,
.text-link:hover,
.contact-links a:hover,
.signal-links a:hover {
  transform: translateY(-2px);
}

.concept-a-body {
  position: relative;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(42, 108, 240, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f4ee 0%, #eeebe4 100%);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle, rgba(16, 21, 33, 0.06) 1px, transparent 1px);
  background-size: auto, 10px 10px;
  mix-blend-mode: soft-light;
}

.concept-a-shell,
.concept-b-shell {
  padding-bottom: 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar nav a,
.brand {
  font-size: 0.95rem;
  font-weight: 700;
}

.topbar-light nav a {
  color: var(--muted);
}

.hero {
  display: grid;
  gap: 28px;
}

.hero-a {
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
  align-items: end;
  padding: 32px 0 42px;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  line-height: 0.92;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy {
  position: relative;
}

.hero-actions,
.link-row,
.signal-links,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link {
  color: white;
  background: linear-gradient(135deg, var(--accent), #4e87f1);
  border-color: transparent;
}

.secondary-link {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(16, 21, 33, 0.18);
}

.hero-panel,
.band-light,
.feature-card-a,
.paper-card,
.archive-table,
.timeline-band,
.footer-light,
.selector-card-a {
  backdrop-filter: blur(18px);
}

.hero-panel-a,
.band-light,
.feature-card-a,
.archive-table,
.timeline-band,
.footer-light {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(16, 21, 33, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-panel-a {
  padding: 24px;
  border-radius: 30px;
}

.profile-mini,
.bio-card {
  display: flex;
  gap: 16px;
  align-items: center;
}

.avatar-placeholder {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(42, 108, 240, 0.18), rgba(180, 106, 60, 0.12));
}

.stats-grid,
.theme-grid,
.paper-grid,
.recent-strip,
.archive-columns,
.dashboard-grid {
  display: grid;
  gap: 18px;
}

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

.stats-grid div,
.theme-grid article,
.paper-card,
.archive-table div,
.timeline-list article,
.dashboard-grid article,
.recent-strip article,
.archive-columns div,
.stack-panel,
.signal-card,
.bio-card,
.footer {
  border-radius: 24px;
}

.stats-grid div dt,
.stack-row span,
.dashboard-grid article span,
.recent-strip article span,
.archive-table span,
.timeline-list span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stats-grid div dd {
  margin: 0;
  font-weight: 700;
}

.band,
.feature-split,
.publications-block,
.timeline-band,
.dashboard-band,
.papers-panel,
.profile-rail,
.footer {
  margin-top: 24px;
  padding: 28px;
}

.theme-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.theme-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(16, 21, 33, 0.08);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.feature-card-a,
.paper-card,
.archive-table div,
.timeline-list article,
.dashboard-grid article,
.recent-strip article,
.archive-columns div {
  padding: 22px;
}

.feature-card-a {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(233, 239, 251, 0.7)),
    rgba(255, 255, 255, 0.58);
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.paper-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.paper-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 21, 33, 0.08);
}

.paper-card.highlight {
  position: relative;
}

.paper-card.highlight::after {
  content: "";
  position: absolute;
  inset: auto 22px 0 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
}

.archive-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.timeline-band {
  display: grid;
  gap: 26px;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-light {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.concept-b-body {
  color: var(--dark-ink);
  background:
    radial-gradient(circle at top, rgba(124, 178, 255, 0.15), transparent 24%),
    linear-gradient(180deg, #090c12 0%, #0f1520 100%);
}

.academic-a-body {
  color: #19202c;
  background:
    radial-gradient(circle at top left, rgba(161, 181, 226, 0.16), transparent 26%),
    linear-gradient(180deg, #faf8f3 0%, #f1eee8 100%);
}

.academic-shell {
  padding-bottom: 48px;
}

.academic-topbar nav a,
.academic-brand {
  color: #516072;
}

.academic-hero,
.project-strip,
.agenda-grid,
.scholar-band,
.cv-rail {
  margin-top: 24px;
}

.academic-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.academic-main,
.academic-sidecard,
.scholar-band,
.agenda-grid,
.project-strip,
.cv-rail article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 21, 33, 0.08);
  box-shadow: var(--shadow-soft);
}

.academic-main,
.academic-sidecard,
.scholar-band,
.agenda-grid,
.project-strip {
  padding: 28px;
  border-radius: 28px;
}

.academic-main h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(3.8rem, 8vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.identity-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.identity-line span,
.citation-year,
.meta-list span,
.cv-rail span,
.themes-ledger span,
.ledger-grid span,
.academic-b-facts span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.identity-line span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(42, 108, 240, 0.08);
}

.academic-summary,
.identity-stack {
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #556072;
}

.academic-sidecard {
  display: grid;
  gap: 22px;
}

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

.meta-list p,
.citation-meta,
.archive-inline p,
.project-strip-card p,
.cv-rail p,
.themes-ledger p,
.ledger-grid p,
.artifact-panel p,
.artifact-card p,
.academic-b-facts p,
.dark-meta {
  margin: 8px 0 0;
  line-height: 1.7;
}

.citation-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.citation-list article {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 21, 33, 0.1);
}

.citation-list article:first-child {
  padding-top: 0;
  border-top: none;
}

.citation-list h3,
.ledger-grid h3,
.agenda-cards h3,
.themes-ledger h3,
.project-strip-card h3,
.artifact-card h3 {
  margin: 0;
}

.citation-meta {
  color: #6b778b;
  font-weight: 700;
}

.archive-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 21, 33, 0.1);
}

.archive-inline a {
  font-weight: 800;
}

.agenda-cards,
.cv-rail,
.themes-ledger,
.ledger-grid,
.profile-ledger {
  display: grid;
  gap: 18px;
}

.agenda-cards,
.themes-ledger,
.ledger-grid,
.profile-ledger {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agenda-cards {
  margin-top: 24px;
}

.agenda-cards article,
.project-strip-card,
.cv-rail article,
.themes-ledger article,
.ledger-grid article,
.artifact-card,
.profile-ledger article {
  padding: 22px;
  border-radius: 24px;
}

.agenda-cards article,
.project-strip-card,
.cv-rail article {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(16, 21, 33, 0.08);
}

.project-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.cv-rail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.academic-b-body {
  color: var(--dark-ink);
  background:
    radial-gradient(circle at top, rgba(124, 178, 255, 0.11), transparent 20%),
    linear-gradient(180deg, #0a0d13 0%, #121824 100%);
}

.round3a-body,
.round3b-body {
  color: #1a2230;
  background:
    radial-gradient(circle at top left, rgba(154, 178, 222, 0.12), transparent 25%),
    linear-gradient(180deg, #fbf8f1 0%, #f1ede5 100%);
}

.round3-shell {
  padding-bottom: 48px;
}

.round3a-hero,
.round3a-papers,
.round3a-themes,
.round3a-sidepanel,
.rail-card,
.round3b-hero,
.round3b-featureband,
.round3b-column {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 21, 33, 0.08);
  box-shadow: var(--shadow-soft);
}

.round3a-hero,
.round3b-hero,
.round3b-featureband {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
}

.round3a-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
  gap: 24px;
}

.round3a-titleblock h1,
.round3b-heading h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.round3a-subline,
.round3b-deck {
  margin: 16px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.round3a-summary,
.round3b-note p {
  margin: 16px 0 0;
  max-width: 760px;
  line-height: 1.8;
  color: #586679;
}

.round3a-sidepanel {
  padding: 22px;
  border-radius: 24px;
}

.round3a-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.round3a-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 21, 33, 0.12);
  font-weight: 700;
}

.small-links a {
  min-height: 36px;
}

.round3a-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.round3a-maincol {
  display: grid;
  gap: 24px;
}

.round3a-papers,
.round3a-themes {
  padding: 28px;
  border-radius: 28px;
}

.compact-citations article {
  gap: 16px;
}

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

.round3a-rail {
  display: grid;
  gap: 18px;
}

.rail-card {
  padding: 20px;
  border-radius: 24px;
}

.rail-card h3,
.round3b-column h3,
.round3b-featureband h2 {
  margin: 0;
}

.round3b-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.55fr);
  gap: 20px;
  align-items: start;
}

.round3b-note {
  padding-left: 18px;
  border-left: 1px solid rgba(16, 21, 33, 0.12);
}

.round3b-featureband {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 24px;
}

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

.round3b-right article,
.round3b-column {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(16, 21, 33, 0.08);
}

.round3b-right article span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.round3b-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.round3b-column ul {
  margin: 16px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}

.round4-body {
  background:
    radial-gradient(circle at top left, rgba(167, 189, 229, 0.14), transparent 24%),
    linear-gradient(180deg, #fcfaf5 0%, #f2eee6 100%);
  color: #19202c;
}

.round4-shell {
  padding-bottom: 48px;
}

.round4-topbar {
  gap: 18px;
}

.theme-toggle-mock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 21, 33, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.theme-toggle-mock span {
  font-size: 0.8rem;
  font-weight: 700;
}

.theme-toggle-mock button {
  width: 34px;
  height: 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7deea, #94a6c5);
}

.round4-hero,
.round4-panel,
.round4-facts article,
.secondary-papers article,
.round4-theme-grid article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 21, 33, 0.08);
  box-shadow: var(--shadow-soft);
}

.round4-hero,
.round4-panel {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
}

.round4-hero {
  display: grid;
  gap: 24px;
}

.round4-hero-a {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.round4-hero-b {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.75fr);
  align-items: end;
}

.round4-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.round4-hero-a h1 {
  font-family: "Literata", serif;
}

.round4-hero-b h1 {
  font-family: "Fraunces", serif;
}

.round4-role {
  margin-top: 14px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #4d5b6f;
}

.round4-summary,
.round4-callout p {
  margin-top: 16px;
  line-height: 1.8;
  color: #586679;
}

.round4-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.round4-facts article,
.secondary-papers article,
.round4-theme-grid article {
  padding: 18px;
  border-radius: 22px;
}

.round4-facts span,
.round4-citation-list article > span,
.secondary-papers span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.round4-grid-a,
.round4-editorial-layout,
.round4-lower-grid {
  display: grid;
  gap: 20px;
}

.round4-grid-a {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
}

.round4-side-a {
  display: grid;
  gap: 20px;
}

.compact-panel {
  margin-top: 24px;
}

.round4-citation-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.round4-citation-list article {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 21, 33, 0.1);
}

.round4-citation-list article:first-child {
  padding-top: 0;
  border-top: none;
}

.round4-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.round4-editorial-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.feature-paper h2,
.feature-paper h3 {
  margin: 0;
}

.feature-paper h3 {
  margin-top: 18px;
}

.secondary-papers {
  display: grid;
  gap: 14px;
}

.secondary-papers article {
  background: rgba(255, 255, 255, 0.54);
}

.round4-callout {
  padding-left: 18px;
  border-left: 1px solid rgba(16, 21, 33, 0.12);
}

.round4-lower-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
}

.round5-body {
  background:
    radial-gradient(circle at top left, rgba(170, 190, 228, 0.14), transparent 25%),
    linear-gradient(180deg, #fdfaf4 0%, #f2ede4 100%);
  color: #19202c;
}

.round5-shell {
  padding-bottom: 48px;
}

.round5-hero,
.round5-panel,
.round5-intro-rail article,
.round5-band {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 21, 33, 0.08);
  box-shadow: var(--shadow-soft);
}

.round5-hero,
.round5-panel,
.round5-band {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
}

.round5-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 20px;
}

.round5-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-family: "Literata", serif;
}

.round5-summary {
  margin-top: 16px;
  line-height: 1.8;
  color: #586679;
}

.round5-intro-rail {
  display: grid;
  gap: 14px;
}

.round5-intro-rail article {
  padding: 18px;
  border-radius: 22px;
}

.round5-intro-rail span,
.round5-work-meta span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.round5-work-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.round5-work-list article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 21, 33, 0.1);
}

.round5-work-list article:first-child {
  padding-top: 0;
  border-top: none;
}

.round5-work-list ul {
  margin: 14px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}

.round5-project-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 20px;
  align-items: start;
}

.round5-project-details ul {
  margin: 14px 0;
  padding-left: 18px;
  line-height: 1.8;
}

.round5-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.8fr);
  gap: 20px;
}

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

.round5-theme-grid article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(16, 21, 33, 0.08);
}

.round5-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: 24px;
  align-items: start;
}

.alt-band {
  background: rgba(247, 245, 239, 0.88);
}

.round5-band-content h3,
.round5-band-intro h2 {
  margin: 0;
}

.round5-band-content p,
.round5-band-intro p {
  line-height: 1.8;
}

.compact-work-list article {
  grid-template-columns: 140px minmax(0, 1fr);
}

.home-reference-body {
  --reference-bg: #f6f1e8;
  --reference-surface: rgba(255, 252, 247, 0.74);
  --reference-surface-strong: rgba(255, 250, 243, 0.9);
  --reference-text: #1f2530;
  --reference-muted: #5d6676;
  --reference-border: rgba(31, 37, 48, 0.14);
  --reference-accent: #965f34;
  color: var(--reference-text);
  background:
    radial-gradient(circle at top left, rgba(150, 95, 52, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(72, 112, 170, 0.12), transparent 26%),
    linear-gradient(180deg, #faf6ee 0%, #efe7dc 100%);
  overflow-x: clip;
}

.home-reference-body[data-theme='dark'] {
  --reference-bg: #11161f;
  --reference-surface: rgba(18, 23, 33, 0.84);
  --reference-surface-strong: rgba(26, 33, 47, 0.94);
  --reference-text: #edf2f8;
  --reference-muted: #a6b1c2;
  --reference-border: rgba(201, 214, 234, 0.16);
  --reference-accent: #d79a66;
  background:
    radial-gradient(circle at top left, rgba(215, 154, 102, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(112, 155, 224, 0.16), transparent 28%),
    linear-gradient(180deg, #091018 0%, #131a24 100%);
}

.reference-shell {
  width: calc(100% - clamp(28px, 5vw, 72px));
  margin: 0 auto;
  padding: 48px 0 88px;
}

.reference-panel {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  --reference-panel-fill: transparent;
  --reference-panel-wash: transparent;
  --reference-panel-glow: transparent;
  --reference-row-wash: transparent;
  --reference-stamp-bg: transparent;
  --reference-stamp-border: transparent;
}

.reference-panel--hero {
  --reference-accent: #965f34;
  --reference-panel-fill: rgba(150, 95, 52, 0.07);
}

.reference-panel--timeline {
  --reference-accent: #8a5a2d;
  --reference-panel-fill: rgba(138, 90, 45, 0.075);
  --reference-row-wash: rgba(138, 90, 45, 0.045);
}

.reference-panel--bio {
  --reference-accent: #476f95;
  --reference-panel-fill: rgba(71, 111, 149, 0.085);
  --reference-row-wash: rgba(71, 111, 149, 0.05);
}

.reference-panel--projects {
  --reference-accent: #9a5858;
  --reference-panel-fill: rgba(154, 88, 88, 0.075);
  --reference-row-wash: rgba(154, 88, 88, 0.04);
}

.reference-panel--papers {
  --reference-accent: #5d7750;
  --reference-panel-fill: rgba(93, 119, 80, 0.075);
  --reference-row-wash: rgba(93, 119, 80, 0.04);
}

.reference-panel--patents {
  --reference-accent: #6f5f9f;
  --reference-panel-fill: rgba(111, 95, 159, 0.09);
  --reference-row-wash: rgba(111, 95, 159, 0.055);
  --reference-stamp-bg: rgba(111, 95, 159, 0.12);
  --reference-stamp-border: rgba(111, 95, 159, 0.22);
}

.reference-panel--service {
  --reference-accent: #4d7286;
  --reference-panel-fill: rgba(77, 114, 134, 0.09);
  --reference-row-wash: rgba(77, 114, 134, 0.055);
  --reference-stamp-bg: rgba(77, 114, 134, 0.12);
  --reference-stamp-border: rgba(77, 114, 134, 0.2);
}

.reference-panel--awards {
  --reference-accent: #8b6a1d;
  --reference-panel-fill: rgba(139, 106, 29, 0.09);
  --reference-row-wash: rgba(139, 106, 29, 0.06);
  --reference-stamp-bg: rgba(139, 106, 29, 0.1);
  --reference-stamp-border: rgba(139, 106, 29, 0.18);
}

.home-reference-body[data-theme='dark'] .reference-panel--hero {
  --reference-accent: #d79a66;
  --reference-panel-fill: rgba(215, 154, 102, 0.09);
}

.home-reference-body[data-theme='dark'] .reference-panel--timeline {
  --reference-accent: #d0a169;
  --reference-panel-fill: rgba(208, 161, 105, 0.1);
  --reference-row-wash: rgba(208, 161, 105, 0.06);
}

.home-reference-body[data-theme='dark'] .reference-panel--bio {
  --reference-accent: #88b2ff;
  --reference-panel-fill: rgba(136, 178, 255, 0.1);
  --reference-row-wash: rgba(136, 178, 255, 0.06);
}

.home-reference-body[data-theme='dark'] .reference-panel--projects {
  --reference-accent: #d98989;
  --reference-panel-fill: rgba(217, 137, 137, 0.09);
  --reference-row-wash: rgba(217, 137, 137, 0.05);
}

.home-reference-body[data-theme='dark'] .reference-panel--papers {
  --reference-accent: #97c485;
  --reference-panel-fill: rgba(151, 196, 133, 0.09);
  --reference-row-wash: rgba(151, 196, 133, 0.05);
}

.home-reference-body[data-theme='dark'] .reference-panel--patents {
  --reference-accent: #b7a7ef;
  --reference-panel-fill: rgba(183, 167, 239, 0.11);
  --reference-row-wash: rgba(183, 167, 239, 0.065);
  --reference-stamp-bg: rgba(183, 167, 239, 0.14);
  --reference-stamp-border: rgba(183, 167, 239, 0.24);
}

.home-reference-body[data-theme='dark'] .reference-panel--service {
  --reference-accent: #8dc1d7;
  --reference-panel-fill: rgba(141, 193, 215, 0.11);
  --reference-row-wash: rgba(141, 193, 215, 0.07);
  --reference-stamp-bg: rgba(141, 193, 215, 0.14);
  --reference-stamp-border: rgba(141, 193, 215, 0.24);
}

.home-reference-body[data-theme='dark'] .reference-panel--awards {
  --reference-accent: #e0b96d;
  --reference-panel-fill: rgba(224, 185, 109, 0.11);
  --reference-row-wash: rgba(224, 185, 109, 0.07);
  --reference-stamp-bg: rgba(224, 185, 109, 0.14);
  --reference-stamp-border: rgba(224, 185, 109, 0.22);
}

.reference-hero {
  position: relative;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  isolation: isolate;
}

.reference-hero::after {
  content: '';
  position: absolute;
  top: -18px;
  bottom: -22px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background: var(--reference-panel-fill);
  z-index: -1;
}

.reference-intro {
  position: relative;
  padding-right: 104px;
}

.reference-utility {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reference-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.reference-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.reference-intro h1,
.reference-entry h3 {
  margin: 0;
  font-family: 'Literata', serif;
  color: var(--reference-text);
}

.reference-intro h1 {
  font-size: clamp(2.8rem, 6vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.reference-intro h2 {
  margin: 12px 0 0;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--reference-muted);
}

.reference-intro p,
.reference-entry p,
.reference-prose p,
.reference-fact p,
.reference-subline,
.reference-bullets {
  color: var(--reference-muted);
  line-height: 1.78;
}

.reference-affiliation,
.reference-hero-note {
  margin: 10px 0 0;
}

.reference-affiliation {
  font-weight: 700;
  color: var(--reference-text);
}

.reference-hero-note {
  color: var(--reference-muted);
}

.reference-label {
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reference-accent);
}

.reference-links,
.reference-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reference-links {
  margin-top: 16px;
  align-items: center;
}

.reference-mini-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--reference-border);
  background: transparent;
  color: var(--reference-text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.reference-mini-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(150, 95, 52, 0.42);
  color: var(--reference-accent);
}

.reference-mini-toggle--theme {
  min-width: 30px;
  width: 30px;
  padding: 0;
}

.reference-theme-icon {
  width: 14px;
  height: 14px;
}

.reference-theme-icon--moon,
.home-reference-body[data-theme='dark'] .reference-theme-icon--sun {
  display: none;
}

.home-reference-body[data-theme='dark'] .reference-theme-icon--moon {
  display: block;
}

.reference-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--reference-text);
  background: transparent;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.reference-icon-link svg {
  width: 20px;
  height: 20px;
}

.reference-links .theme-switch {
  min-height: 34px;
  min-width: 58px;
  padding: 0 12px;
  background: transparent;
  color: var(--reference-text);
  border-color: var(--reference-border);
  box-shadow: none;
}

.reference-icon-link:hover,
.reference-inline-links a:hover,
.reference-text-link:hover {
  transform: translateY(-1px);
  border-color: rgba(150, 95, 52, 0.42);
  color: var(--reference-accent);
}

.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;
}

.reference-fact span,
.reference-stamp {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reference-fact span {
  margin-bottom: 8px;
  color: var(--reference-accent);
}

.reference-fact p,
.reference-subline {
  margin: 0;
}

.reference-section {
  margin-top: 0;
  padding-top: 22px;
  border-top: 1px solid var(--reference-border);
}

.reference-section.reference-panel {
  padding-top: 22px;
  border-top: none;
  isolation: isolate;
}

.reference-section.reference-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--reference-accent) 28%, var(--reference-border));
}

.reference-section.reference-panel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background: var(--reference-panel-fill);
  z-index: -1;
}

.reference-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.reference-text-link {
  min-height: auto;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  color: var(--reference-accent);
  font-weight: 600;
}

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

.reference-timeline--dense article {
  grid-template-columns: 116px minmax(0, 1fr);
}

.reference-timeline--dense::before {
  left: 110px;
}

.reference-timeline--dense article::before {
  left: 106px;
}

.reference-timeline article,
.reference-list article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
}

.reference-item-link {
  margin-top: 2px;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--reference-accent) 22%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--reference-accent) 8%, transparent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  white-space: nowrap;
  align-self: start;
}

.reference-item-link:hover,
.reference-item-link:focus-visible {
  border-color: color-mix(in srgb, var(--reference-accent) 42%, transparent);
  background: color-mix(in srgb, var(--reference-accent) 14%, transparent);
}

.reference-timeline {
  position: relative;
  gap: 0;
}

.reference-timeline::before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 122px;
  width: 1px;
  background: var(--reference-border);
}

.reference-timeline article {
  position: relative;
  padding: 12px 0;
  border: none;
  background: linear-gradient(90deg, var(--reference-row-wash), transparent 82%);
  box-shadow: none;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
}

.reference-timeline article::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 118px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--reference-bg);
  border: 1.5px solid var(--reference-accent);
}

.reference-timeline article + article {
  border-top: 1px solid var(--reference-border);
}

.reference-stamp {
  color: var(--reference-accent);
  position: relative;
  z-index: 1;
}

.reference-entry h3 {
  font-size: 1.22rem;
  line-height: 1.32;
}

.reference-entry-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 14px;
  row-gap: 6px;
}

.reference-entry-head h3 {
  min-width: 0;
}

.reference-entry p {
  margin: 10px 0 0;
}

.reference-inline-links {
  margin-top: 10px;
}

.reference-inline-links a,
.reference-text-link {
  margin-top: 2px;
  padding: 3px 10px;
  min-height: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--reference-accent);
  font-weight: 600;
  white-space: nowrap;
  border-radius: 0;
}

.reference-list article {
  padding: 16px 0;
  border: none;
  border-top: 1px solid var(--reference-border);
  background: linear-gradient(90deg, var(--reference-row-wash), transparent 80%);
  box-shadow: none;
  gap: 18px;
}

.reference-list article:first-child {
  padding-top: 0;
  border-top: none;
}

.reference-project-list article {
  grid-template-columns: 120px minmax(0, 1fr);
}

.reference-bio-list article {
  grid-template-columns: 100px minmax(0, 1fr);
}

.reference-patent-list article {
  grid-template-columns: 120px minmax(0, 1fr);
}

.reference-bio-list .reference-entry h3,
.reference-timeline .reference-entry h3,
.reference-patent-list .reference-entry h3 {
  font-size: 1rem;
  line-height: 1.45;
}

.reference-panel--hero .reference-photo {
  box-shadow: 0 14px 32px rgba(150, 95, 52, 0.12);
}

.home-reference-body[data-theme='dark'] .reference-panel--hero .reference-photo {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.reference-panel--timeline .reference-timeline::before {
  background: linear-gradient(180deg, color-mix(in srgb, var(--reference-accent) 42%, transparent), var(--reference-border));
}

.reference-panel--bio .reference-list article {
  padding-left: 12px;
  border-left: 2px solid color-mix(in srgb, var(--reference-accent) 30%, transparent);
}

.reference-panel--bio .reference-list article:first-child {
  border-top: none;
}

.reference-panel--projects .reference-list article {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--reference-accent) 12%, transparent), transparent 44%),
    linear-gradient(90deg, var(--reference-row-wash), transparent 78%);
}

.reference-panel--papers .reference-list article {
  background:
    linear-gradient(90deg, var(--reference-row-wash), transparent 74%),
    linear-gradient(180deg, color-mix(in srgb, var(--reference-accent) 8%, transparent), transparent 56%);
}

.reference-panel--service .reference-timeline::before {
  background: repeating-linear-gradient(
    to bottom,
    color-mix(in srgb, var(--reference-accent) 42%, transparent) 0 8px,
    transparent 8px 16px
  );
}

.reference-panel--service .reference-timeline article::before {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transform: rotate(45deg);
}

.reference-panel--service .reference-stamp {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--reference-stamp-border);
  border-radius: 999px;
  background: var(--reference-stamp-bg);
  letter-spacing: 0.1em;
}

.reference-panel--patents .reference-list article {
  background:
    linear-gradient(90deg, var(--reference-row-wash), transparent 76%),
    radial-gradient(circle at left center, color-mix(in srgb, var(--reference-accent) 12%, transparent), transparent 34%);
}

.reference-panel--patents .reference-stamp {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--reference-stamp-border);
  border-radius: 999px;
  background: var(--reference-stamp-bg);
  letter-spacing: 0.08em;
}

.reference-panel--awards .reference-timeline article {
  background:
    linear-gradient(90deg, var(--reference-row-wash), transparent 72%),
    radial-gradient(circle at left center, color-mix(in srgb, var(--reference-accent) 14%, transparent), transparent 34%);
}

.reference-panel--awards .reference-timeline article::before {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: rotate(45deg);
}

.reference-panel--awards .reference-stamp {
  display: inline-flex;
  align-items: center;
  padding: 0 0 4px;
  border-bottom: 1px solid var(--reference-stamp-border);
}

.reference-publication-list {
  margin-top: 8px;
}

.reference-publication-list article {
  grid-template-columns: 90px minmax(0, 1fr);
}

.reference-publication-list .reference-entry h3 {
  font-size: 1.05rem;
  line-height: 1.4;
}

.reference-citation {
  margin-top: 6px;
  font-size: 0.98rem;
}

.reference-highlight {
  margin: 8px 0 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--reference-accent);
}

.compact-inline-links {
  margin-top: 10px;
}

.compact-inline-links a {
  min-height: auto;
  padding: 0;
  font-size: 0.88rem;
}

.reference-prose {
  max-width: none;
}

.reference-prose p + p {
  margin-top: 16px;
}

.reference-bullets {
  margin: 12px 0 0;
  padding-left: 18px;
}

.reference-bullets li + li {
  margin-top: 8px;
}

.reference-stack-section {
  display: block;
}

.reference-subsection + .reference-subsection {
  margin-top: 26px;
}

.compact-bullets {
  margin-top: 0;
}

/* Minimal academic refinement: one visual language, fewer decorative gestures. */
.home-reference-body {
  --reference-bg: #ffffff;
  --reference-surface: transparent;
  --reference-surface-strong: transparent;
  --reference-text: #1f2430;
  --reference-muted: #5f6775;
  --reference-border: rgba(31, 36, 48, 0.12);
  --reference-accent: #3f587f;
  background: #ffffff;
}

.home-reference-body[data-theme='dark'] {
  --reference-bg: #000000;
  --reference-surface: transparent;
  --reference-surface-strong: transparent;
  --reference-text: #edf1f6;
  --reference-muted: #a8b1bf;
  --reference-border: rgba(222, 230, 242, 0.16);
  --reference-accent: #b4cbff;
  background: #000000;
}

.reference-shell {
  width: min(1080px, calc(100% - clamp(32px, 5vw, 72px)));
  padding: 40px 0 72px;
}

.reference-panel--hero,
.reference-panel--timeline,
.reference-panel--bio,
.reference-panel--projects,
.reference-panel--papers,
.reference-panel--service,
.reference-panel--patents,
.reference-panel--awards,
.reference-panel--credentials {
  --reference-accent: #3f587f;
  --reference-panel-fill: transparent;
  --reference-panel-rule: var(--reference-border);
  --reference-row-wash: transparent;
  --reference-stamp-bg: transparent;
  --reference-stamp-border: transparent;
}

.home-reference-body[data-theme='dark'] .reference-panel--hero,
.home-reference-body[data-theme='dark'] .reference-panel--timeline,
.home-reference-body[data-theme='dark'] .reference-panel--bio,
.home-reference-body[data-theme='dark'] .reference-panel--projects,
.home-reference-body[data-theme='dark'] .reference-panel--papers,
.home-reference-body[data-theme='dark'] .reference-panel--service,
.home-reference-body[data-theme='dark'] .reference-panel--patents,
.home-reference-body[data-theme='dark'] .reference-panel--awards,
.home-reference-body[data-theme='dark'] .reference-panel--credentials {
  --reference-accent: #b4cbff;
  --reference-panel-fill: transparent;
  --reference-panel-rule: var(--reference-border);
  --reference-row-wash: transparent;
  --reference-stamp-bg: transparent;
  --reference-stamp-border: transparent;
}

.reference-panel--timeline,
.reference-panel--projects,
.reference-panel--service {
  --reference-panel-fill: #eef2f7;
  --reference-panel-rule: rgba(63, 88, 127, 0.18);
}

.home-reference-body[data-theme='dark'] .reference-panel--timeline,
.home-reference-body[data-theme='dark'] .reference-panel--projects,
.home-reference-body[data-theme='dark'] .reference-panel--service {
  --reference-panel-fill: #18263c;
  --reference-panel-rule: rgba(180, 203, 255, 0.22);
}

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

.reference-section.reference-panel::after {
  display: block;
}

.reference-section.reference-panel::before {
  display: none;
  left: 0;
  width: 100%;
  transform: none;
  background: var(--reference-panel-rule, var(--reference-border));
}

.reference-timeline,
.reference-list {
  gap: 8px;
}

.reference-hero {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
}

.reference-intro {
  padding-right: 84px;
}

.reference-utility {
  position: absolute;
  top: 0;
  right: 0;
  justify-content: flex-end;
  margin-bottom: 0;
}

.reference-photo {
  display: block;
  border: 1px solid var(--reference-border);
}

.reference-panel--hero .reference-photo,
.home-reference-body[data-theme='dark'] .reference-panel--hero .reference-photo {
  box-shadow: none;
}

.reference-intro h1 {
  font-size: clamp(2.55rem, 4.8vw, 3.55rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--reference-accent) 62%, var(--reference-text));
}

.reference-intro h2 {
  margin-top: 10px;
  max-width: 40rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.55;
  color: color-mix(in srgb, var(--reference-accent) 34%, var(--reference-text));
}

.reference-hero-note {
  max-width: 40rem;
  margin-top: 10px;
  border-top: none;
  line-height: 1.65;
}

.reference-affiliation {
  max-width: 40rem;
  margin-top: 10px;
  font-weight: 500;
  color: var(--reference-muted);
}

.reference-label {
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--reference-accent) 76%, var(--reference-text));
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

html:lang(zh-CN) .home-reference-body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

html:lang(zh-CN) .reference-intro h1,
html:lang(zh-CN) .reference-intro h2,
html:lang(zh-CN) .reference-entry h3,
html:lang(zh-CN) .reference-prose p,
html:lang(zh-CN) .reference-citation,
html:lang(zh-CN) .reference-highlight {
  font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', serif;
  letter-spacing: 0;
}

html:lang(zh-CN) .reference-intro h1 {
  font-weight: 600;
  letter-spacing: 0;
}

html:lang(zh-CN) .reference-intro h2 {
  max-width: 34rem;
  font-size: 1.18rem;
  line-height: 1.68;
}

html:lang(zh-CN) .reference-hero-note {
  font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', serif;
  font-size: 1.02rem;
  line-height: 1.74;
}

html:lang(zh-CN) .reference-intro p,
html:lang(zh-CN) .reference-entry p,
html:lang(zh-CN) .reference-bullets,
html:lang(zh-CN) .reference-subline,
html:lang(zh-CN) .reference-label,
html:lang(zh-CN) .reference-stamp,
html:lang(zh-CN) .reference-inline-links a,
html:lang(zh-CN) .reference-text-link,
html:lang(zh-CN) .reference-affiliation {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  letter-spacing: 0;
}

html:lang(zh-CN) .reference-entry h3 {
  line-height: 1.46;
}

html:lang(zh-CN) .reference-entry p,
html:lang(zh-CN) .reference-subline,
html:lang(zh-CN) .reference-bullets {
  line-height: 1.82;
}

html:lang(zh-CN) .reference-prose p {
  font-size: 1rem;
  line-height: 1.92;
}

.reference-links {
  margin-top: 14px;
  gap: 14px;
}

.reference-icon-link {
  width: auto;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--reference-accent) 56%, var(--reference-text));
}

.reference-icon-link svg {
  width: 18px;
  height: 18px;
}

.reference-icon-link:hover,
.reference-inline-links a:hover,
.reference-text-link:hover {
  transform: none;
  border-color: transparent;
}

.reference-mini-toggle {
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
}

.reference-mini-toggle--theme {
  width: 28px;
  min-width: 28px;
}

.reference-section,
.reference-section.reference-panel {
  padding-top: 18px;
}

.reference-section-head {
  gap: 10px;
}

.reference-text-link {
  color: var(--reference-accent);
  font-weight: 500;
}

.reference-timeline article,
.reference-list article {
  gap: 12px;
  padding: 7px 0;
  background: none !important;
  box-shadow: none;
}

.reference-timeline article + article,
.reference-list article + article {
  border-top: none;
}

.reference-timeline::before,
.reference-panel--timeline .reference-timeline::before,
.reference-panel--service .reference-timeline::before {
  left: 114px;
  background: var(--reference-border) !important;
}

.reference-timeline article {
  grid-template-columns: 124px minmax(0, 1fr);
}

.reference-panel--timeline .reference-timeline::before,
.reference-panel--timeline .reference-timeline article::before {
  display: none;
}

.reference-panel--timeline .reference-timeline article {
  grid-template-columns: 118px 46px minmax(0, 1fr);
  align-items: start;
}

.reference-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--reference-border);
  border-radius: 10px;
  background: color-mix(in srgb, white 88%, var(--reference-bg));
}

.home-reference-body[data-theme='dark'] .reference-mark {
  background: color-mix(in srgb, white 10%, var(--reference-bg));
}

.reference-mark img {
  display: block;
  max-width: 32px;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.reference-timeline--dense article {
  grid-template-columns: 108px minmax(0, 1fr);
}

.reference-timeline--dense article::before {
  left: 98px;
}

.reference-timeline article::before,
.reference-panel--service .reference-timeline article::before,
.reference-panel--awards .reference-timeline article::before {
  top: 18px;
  left: 110px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: none;
  background: var(--reference-bg);
  border: 1px solid var(--reference-accent);
}

.reference-stamp {
  min-height: auto !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--reference-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
}

.reference-entry h3 {
  font-size: 1rem;
  line-height: 1.34;
  font-weight: 600;
  color: color-mix(in srgb, var(--reference-accent) 24%, var(--reference-text));
}

.reference-entry p,
.reference-bullets,
.reference-citation {
  font-size: 0.96rem;
  line-height: 1.48;
}

.reference-entry p {
  margin: 3px 0 0;
}

.reference-entry-head {
  column-gap: 8px;
}

.reference-item-link,
.reference-inline-links a,
.reference-text-link {
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--reference-muted);
}

.reference-item-link:hover,
.reference-item-link:focus-visible,
.reference-inline-links a:hover,
.reference-text-link:hover {
  color: var(--reference-accent);
}

.reference-inline-links {
  margin-top: 6px;
  gap: 12px;
}

.reference-panel--bio .reference-prose {
  max-width: 1040px;
}

.reference-panel--bio .reference-prose p {
  font-size: 0.98rem;
  line-height: 1.62;
}

.reference-panel--bio .reference-prose p + p {
  margin-top: 12px;
}

.reference-panel--projects .reference-entry h3,
.reference-panel--papers .reference-entry h3 {
  color: color-mix(in srgb, var(--reference-accent) 38%, var(--reference-text));
}

.reference-panel--papers .reference-subline {
  max-width: 1040px;
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.58;
}

.reference-panel--papers .reference-publication-list {
  margin-top: 4px;
}

.reference-panel--papers .reference-publication-list.reference-timeline::before {
  left: 42px;
  top: 10px;
  bottom: 10px;
  background: color-mix(in srgb, var(--reference-accent) 22%, var(--reference-border));
}

.reference-panel--papers .reference-publication-list article {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  padding: 6px 0;
}

.reference-panel--papers .reference-publication-list article::before {
  left: 39px;
  top: 14px;
  width: 6px;
  height: 6px;
}

.reference-panel--papers .reference-entry h3 {
  font-size: 0.97rem;
  line-height: 1.32;
}

.reference-panel--papers .reference-stamp {
  color: color-mix(in srgb, var(--reference-accent) 64%, var(--reference-muted));
}

.reference-panel--papers .reference-citation {
  display: inline;
  font-size: 0.9rem;
  line-height: 1.46;
}

.reference-panel--papers .compact-inline-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 0 8px;
  vertical-align: baseline;
}

.reference-panel--papers .compact-inline-links a {
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--reference-accent) 82%, var(--reference-muted));
}

.reference-panel--papers .reference-highlight {
  margin-top: 3px;
  color: color-mix(in srgb, var(--reference-accent) 78%, var(--reference-text));
}

.reference-credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.reference-mini-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--reference-accent) 72%, var(--reference-text));
}

.reference-panel--credentials .reference-subline {
  margin: 0 0 6px;
  max-width: none;
  font-size: 0.82rem;
  line-height: 1.36;
}

.reference-timeline--mini {
  position: relative;
  gap: 0;
}

.reference-timeline--mini::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 54px;
  width: 1px;
  background: color-mix(in srgb, var(--reference-accent) 24%, var(--reference-border));
}

.reference-timeline--mini article {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding: 3px 0;
}

.reference-timeline--mini article::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 51px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--reference-bg);
  border: 1px solid color-mix(in srgb, var(--reference-accent) 70%, transparent);
}

.reference-timeline--mini-wide::before {
  left: 90px;
}

.reference-timeline--mini-wide article {
  grid-template-columns: 100px minmax(0, 1fr);
}

.reference-timeline--mini-wide article::before {
  left: 87px;
}

.reference-panel--credentials .reference-stamp {
  color: color-mix(in srgb, var(--reference-accent) 62%, var(--reference-muted));
  font-size: 0.62rem;
  line-height: 1.2;
}

.reference-panel--credentials .reference-entry h3 {
  font-size: 0.83rem;
  line-height: 1.24;
  font-weight: 500;
  color: color-mix(in srgb, var(--reference-accent) 34%, var(--reference-text));
}

.reference-highlight {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.reference-bio-list article {
  grid-template-columns: 84px minmax(0, 1fr);
}

.reference-project-list article {
  grid-template-columns: 104px minmax(0, 1fr);
}

.reference-patent-list article {
  grid-template-columns: 118px minmax(0, 1fr);
}

.reference-publication-list article {
  grid-template-columns: 68px minmax(0, 1fr);
}

.reference-panel--bio .reference-list article {
  padding-left: 0;
  border-left: none;
}

@media (max-width: 1024px) {
  .reference-hero {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .reference-credentials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .reference-shell {
    width: calc(100% - 24px);
    padding: 28px 0 64px;
  }

  .reference-hero,
  .reference-timeline article,
  .reference-list article,
  .reference-stack-section {
    grid-template-columns: 1fr;
  }

  .reference-panel {
    padding: 0;
  }

  .reference-intro {
    padding-right: 0;
  }

  .reference-utility {
    position: static;
    justify-content: flex-end;
    margin-bottom: 14px;
  }

  .reference-timeline::before,
  .reference-timeline article::before {
    display: none;
  }

  .reference-photo {
    max-width: 148px;
  }

  .reference-intro h1 {
    font-size: clamp(2.4rem, 14vw, 3.5rem);
  }

  .reference-section-head {
    display: block;
  }

  .reference-text-link {
    display: inline-block;
    margin-top: 8px;
  }
}

.home-body {
  --home-bg: #fcfaf4;
  --home-surface: rgba(255, 255, 255, 0.76);
  --home-surface-strong: rgba(246, 242, 234, 0.9);
  --home-text: #19202c;
  --home-muted: #5b6879;
  --home-border: rgba(16, 21, 33, 0.08);
  --home-accent: #2f67d8;
  background:
    radial-gradient(circle at top left, rgba(167, 189, 229, 0.16), transparent 24%),
    linear-gradient(180deg, #fcfaf4 0%, #f1ece4 100%);
  color: var(--home-text);
}

.home-body[data-theme='dark'] {
  --home-bg: #0f141c;
  --home-surface: rgba(20, 26, 38, 0.88);
  --home-surface-strong: rgba(26, 34, 49, 0.92);
  --home-text: #edf3ff;
  --home-muted: #9dadc3;
  --home-border: rgba(177, 197, 227, 0.14);
  --home-accent: #88b2ff;
  background:
    radial-gradient(circle at top left, rgba(136, 178, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #091018 0%, #121a26 100%);
}

.home-shell {
  padding-bottom: 56px;
}

.home-topbar {
  gap: 18px;
}

.home-topbar nav a,
.home-brand {
  color: var(--home-muted);
}

.theme-switch {
  min-width: 84px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  color: var(--home-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.home-hero,
.home-panel,
.home-hero-rail article,
.home-project-card,
.home-list-grid article,
.home-timeline article {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  box-shadow: var(--shadow-soft);
}

.home-hero,
.home-panel {
  margin-top: 24px;
  padding: 30px;
  border-radius: 30px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.8fr);
  gap: 22px;
}

.home-hero h1 {
  margin: 0;
  font-family: 'Literata', serif;
  font-size: clamp(4rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--home-text);
}

.home-kicker {
  margin: 14px 0 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--home-text);
}

.home-summary,
.home-project-card p,
.home-timeline p,
.home-list-grid p,
.home-footnote,
.home-theme-grid p,
.home-work-list p {
  color: var(--home-muted);
  line-height: 1.8;
}

.home-hero-rail,
.home-project-grid,
.home-theme-grid,
.home-timeline,
.home-lower-grid,
.home-list-grid {
  display: grid;
  gap: 18px;
}

.home-hero-rail article,
.home-list-grid article,
.home-theme-grid article,
.home-timeline article {
  padding: 20px;
  border-radius: 24px;
}

.home-hero-rail span,
.home-work-meta span,
.home-timeline span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-theme-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.home-theme-grid article {
  background: var(--home-surface-strong);
}

.home-work-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.home-work-list article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--home-border);
}

.home-work-list article:first-child {
  padding-top: 0;
  border-top: none;
}

.home-work-list h3,
.home-project-card h3,
.home-timeline h3 {
  margin: 0;
  color: var(--home-text);
}

.home-work-meta p {
  margin: 0;
}

.home-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.home-inline-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--home-border);
  color: var(--home-text);
  background: transparent;
  font-weight: 700;
}

.home-project-panel {
  display: grid;
  gap: 24px;
}

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

.home-project-card {
  padding: 24px;
  border-radius: 26px;
  background: var(--home-surface-strong);
}

.home-project-card ul,
.home-work-list ul {
  margin: 14px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}

.home-timeline {
  margin-top: 22px;
}

.home-lower-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
}

.home-contact-links {
  margin-top: 16px;
}

.home-footnote {
  margin-top: 18px;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .home-hero,
  .home-theme-grid,
  .home-work-list article,
  .home-project-grid,
  .home-lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-hero,
  .home-panel {
    padding: 20px;
  }

  .home-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.1rem);
  }
}

.academic-b-shell {
  padding-bottom: 48px;
}

.academic-b-hero,
.paper-ledger,
.artifact-panel,
.profile-ledger {
  margin-top: 24px;
}

.academic-b-hero,
.paper-ledger,
.artifact-panel,
.profile-ledger article,
.themes-ledger article,
.ledger-grid article,
.artifact-card,
.academic-b-facts {
  background: rgba(16, 22, 33, 0.88);
  border: 1px solid var(--dark-line);
  box-shadow: var(--shadow-dark);
}

.academic-b-hero,
.paper-ledger,
.artifact-panel {
  padding: 28px;
  border-radius: 28px;
}

.academic-b-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  gap: 20px;
}

.academic-b-title h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.8rem, 8vw, 6.4rem);
  line-height: 0.92;
}

.academic-b-facts {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
}

.ledger-grid,
.themes-ledger,
.profile-ledger {
  margin-top: 24px;
}

.dark-meta,
.identity-stack,
.academic-b-facts p,
.themes-ledger p,
.artifact-panel p,
.artifact-card p,
.profile-ledger p,
.ledger-grid p {
  color: var(--dark-muted);
}

.artifact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.artifact-card,
.profile-ledger article,
.themes-ledger article,
.ledger-grid article {
  border-radius: 24px;
}

.concept-b-shell {
  position: relative;
}

.concept-b-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 3px,
      rgba(177, 197, 227, 0.03) 3px,
      rgba(177, 197, 227, 0.03) 4px
    );
}

.topbar-dark nav a,
.brand-dark,
.eyebrow-bright,
.dark-link,
.dark-links a {
  color: var(--dark-ink);
}

.hero-b {
  padding: 28px 0 20px;
}

.hero-grid-b {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 24px;
}

.lede-dark,
.section-heading-dark p,
.section-heading-dark .lede,
.stack-row p,
.dashboard-grid p,
.recent-strip p,
.archive-columns p,
.dark-timeline p {
  color: var(--dark-muted);
}

.stack-panel,
.signal-card,
.dashboard-band,
.papers-panel,
.profile-rail,
.footer-dark {
  background: var(--panel-dark);
  border: 1px solid var(--dark-line);
  box-shadow: var(--shadow-dark);
}

.stack-panel,
.signal-card {
  padding: 22px;
}

.stack-row + .stack-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--dark-line);
}

.signal-card {
  margin-top: 22px;
  background:
    linear-gradient(135deg, rgba(124, 178, 255, 0.09), rgba(255, 255, 255, 0.02)),
    var(--panel-dark);
}

.dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.dashboard-grid article,
.recent-strip article,
.archive-columns div,
.dark-timeline article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--dark-line);
}

.recent-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.archive-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.profile-rail {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.avatar-dark {
  color: var(--dark-ink);
  background: linear-gradient(135deg, rgba(124, 178, 255, 0.24), rgba(180, 106, 60, 0.08));
}

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

.footer-dark {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading-dark h2,
.hero-b h1,
.signal-card h2,
.papers-panel h2,
.footer-dark h2,
.bio-card h2 {
  color: var(--dark-ink);
}

.text-link,
.contact-links a,
.signal-links a {
  font-size: 0.92rem;
  font-weight: 700;
}

.dark-link,
.dark-links a,
.signal-links a {
  border-color: var(--dark-line);
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 980px) {
  .selector-grid,
  .hero-a,
  .feature-split,
  .hero-grid-b,
  .profile-rail,
  .academic-hero,
  .project-strip,
  .academic-b-hero,
  .artifact-panel,
  .round3a-hero,
  .round3a-layout,
  .round3b-hero,
  .round3b-featureband,
  .round3b-right,
  .round3b-columns,
  .round4-hero,
  .round4-facts,
  .round4-grid-a,
  .round4-editorial-layout,
  .round4-lower-grid,
  .round4-theme-grid,
  .round5-hero,
  .round5-work-list article,
  .round5-project-panel,
  .round5-lower-grid,
  .round5-theme-grid,
  .round5-band,
  .paper-grid,
  .archive-table,
  .timeline-list,
  .dashboard-grid,
  .recent-strip,
  .archive-columns,
  .theme-grid,
  .agenda-cards,
  .cv-rail,
  .themes-ledger,
  .ledger-grid,
  .profile-ledger {
    grid-template-columns: 1fr;
  }

  .footer-light,
  .footer-dark,
  .split-heading,
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .selector-shell,
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .selector-shell {
    padding-top: 40px;
  }

  .selector-card,
  .band,
  .feature-split,
  .publications-block,
  .timeline-band,
  .dashboard-band,
  .papers-panel,
  .profile-rail,
  .footer,
  .hero-panel-a,
  .stack-panel,
  .signal-card,
  .academic-main,
  .academic-sidecard,
  .scholar-band,
  .agenda-grid,
  .project-strip,
  .paper-ledger,
  .artifact-panel,
  .academic-b-hero,
  .round3a-hero,
  .round3a-papers,
  .round3a-themes,
  .round3b-hero,
  .round3b-featureband,
  .round4-hero,
  .round4-panel,
  .round5-hero,
  .round5-panel,
  .round5-band {
    padding: 20px;
  }

  .hero-copy h1,
  .selector-hero h1 {
    font-size: clamp(2.4rem, 14vw, 3.8rem);
  }

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

  .citation-list article {
    grid-template-columns: 1fr;
  }

  .round4-citation-list article {
    grid-template-columns: 1fr;
  }

  .compact-work-list article,
  .round5-work-list article {
    grid-template-columns: 1fr;
  }

}

  .academic-body {
    margin: 0;
    background: #ffffff;
    color: #212630;
    font-family: 'Raleway', 'Noto Sans SC', sans-serif;
    line-height: 1.72;
  }

  .academic-body p {
    margin: 0 0 1rem;
    font-size: 0.98rem;
  }

  .academic-body h1,
  .academic-body h4,
  .academic-body h5 {
    margin: 0;
  }

  .academic-body a {
    color: inherit;
  }

  .academic-shell {
    width: min(100%, 800px);
    margin: 0 auto;
    padding: 0 20px;
  }

  .academic-shell--nav {
    overflow-x: auto;
  }

  .site-header {
    padding: 56px 0 48px;
  }

  .site-header-grid {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .profile-column {
    display: grid;
    gap: 10px;
    align-content: start;
  }

  .profile-frame {
    margin: 0;
  }

  .profile-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.16);
  }

  .intro-eyebrow {
    margin-bottom: 10px;
    color: #6a7380;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .site-title {
    font-size: clamp(2.4rem, 4.2vw, 3.2rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .intro-meta {
    margin-top: 4px;
    margin-bottom: 0;
    color: #586271;
  }

  .intro-summary {
    max-width: 36rem;
    margin-top: 14px;
    color: #343c48;
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .intro-summary--slogan {
    margin-top: 16px;
    padding-left: 12px;
    border-left: 2px solid rgba(63, 100, 134, 0.34);
    color: #294760;
    font-size: 1.06rem;
    line-height: 1.54;
    letter-spacing: -0.01em;
    font-weight: 500;
  }

  .intro-slogan-accent {
    color: #365978;
    font-style: italic;
    font-weight: 600;
  }

  .intro-note {
    max-width: 36rem;
    margin-top: 8px;
    margin-bottom: 0;
    color: #5d6673;
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }

  .profile-icon-link,
  .body-link,
  .section-link,
  .project-links a,
  .publication-links a {
    color: #476683;
    text-decoration: none;
  }

  .profile-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #4d6782;
  }

  .profile-icon-link svg {
    width: 14px;
    height: 14px;
    display: block;
  }

  .profile-icon-link--orcid {
    color: #a6ce39;
  }

  .profile-icon-link:hover,
  .body-link:hover,
  .section-link:hover,
  .project-links a:hover,
  .publication-links a:hover,
  .site-nav a:hover,
  .site-nav a.is-active {
    color: #2f5378;
  }

  .site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
  }

  .site-nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 54px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
  }

  .site-nav a,
  .language-switch {
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .site-nav a {
    text-decoration: none;
    color: #222222;
  }

  .nav-utility {
    margin-left: auto;
  }

  .language-switch {
    border: 1px solid #d7dde6;
    background: #ffffff;
    color: #32475f;
    padding: 6px 10px;
    cursor: pointer;
  }

  .docs-section {
    padding: 30px 0;
    border-top: 1px solid #eeeeee;
    scroll-margin-top: 82px;
  }

  .docs-section--vitae {
    padding-bottom: 40px;
  }

  .docs-section h4 {
    margin-bottom: 16px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .section-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
  }

  .section-note {
    margin: 0;
    color: #687180;
    font-size: 0.86rem;
  }

  .news-list,
  .vitae-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .news-list {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #c3ccd7 transparent;
  }

  .news-list::-webkit-scrollbar {
    width: 8px;
  }

  .news-list::-webkit-scrollbar-thumb {
    background: #c3ccd7;
  }

  .news-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .news-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 8px 0;
  }

  .news-item + .news-item {
    border-top: 1px solid #f1f2f4;
  }

  .news-date,
  .publication-year,
  .vitae-time {
    color: #6a7280;
    font-size: 0.83rem;
    font-weight: 700;
  }

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

  .publication-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 14px 0 10px;
    border-bottom: 1px solid #eceff3;
  }

  .publication-tab {
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #516171;
    padding: 0 0 8px;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .publication-tab.is-active {
    border-bottom-color: #8297ad;
    color: #24364a;
  }

  .publication-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 6px 0;
  }

  .publication-title {
    color: #263242;
    font-weight: 700;
  }

  .publication-meta {
    margin-top: 4px;
    color: #5d6674;
  }

  .publication-links {
    display: flex;
    gap: 10px;
    margin-top: 4px;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
  }

  .project-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .project-figure {
    display: block;
    padding: 3px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #ffffff;
  }

  .project-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #f6f7f9;
  }

  .project-caption h5 {
    margin-bottom: 4px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #263242;
  }

  .project-caption p {
    margin-bottom: 0;
    color: #4e5663;
  }

  .project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 6px;
    font-size: 0.82rem;
  }

  .vitae-timeline {
    position: relative;
    padding-top: 4px;
  }

  .vitae-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #e3e7ec;
  }

  .vitae-item {
    position: relative;
    width: 50%;
    padding: 0 24px 12px 0;
  }

  .vitae-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 12px 24px;
  }

  .vitae-item::before {
    content: '';
    position: absolute;
    top: 18px;
    right: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid #59708a;
    background: #ffffff;
  }

  .vitae-item:nth-child(even)::before {
    right: auto;
    left: -5px;
  }

  .vitae-card {
    padding: 0;
    border: none;
    background: transparent;
  }

  .vitae-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
  }

  .vitae-place {
    color: #263242;
    font-weight: 700;
  }

  .vitae-role {
    margin-bottom: 4px;
    color: #374455;
    font-weight: 600;
  }

  .site-footer {
    padding: 20px 0 46px;
    border-top: 1px solid #eeeeee;
    color: #6b7481;
  }

  html:lang(zh-CN) .academic-body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  }

  html:lang(zh-CN) .site-title {
    letter-spacing: 0;
  }

  @media (max-width: 760px) {
    .site-header {
      padding: 32px 0 36px;
    }

    .site-header-grid,
    .news-item,
    .publication-item,
    .projects-grid {
      grid-template-columns: 1fr;
    }

    .profile-photo {
      max-width: 150px;
    }

    .profile-column {
      justify-items: start;
    }

    .site-nav-list {
      gap: 18px;
      min-height: 54px;
    }

    .nav-utility {
      margin-left: 0;
    }

    .section-row,
    .vitae-head {
      display: block;
    }

    .section-note {
      margin-top: 6px;
    }

    .news-list {
      max-height: 460px;
      padding-right: 6px;
    }

    .publication-tabs {
      gap: 12px;
    }

    .publication-tab {
      font-size: 0.72rem;
      letter-spacing: 0.02em;
    }

    .vitae-timeline::before,
    .vitae-item::before {
      display: none;
    }

    .vitae-item,
    .vitae-item:nth-child(even) {
      width: 100%;
      margin-left: 0;
      padding: 0 0 16px;
    }
  }