:root {
  color-scheme: light;
  --paper: #f2f3f4;
  --paper-deep: #e7e9eb;
  --ink: #141719;
  --ink-soft: #4e5459;
  --ink-faint: #777f85;
  --line: #aeb4b9;
  --line-soft: #d4d8db;
  --blue: #123b6d;
  --blue-bright: #0b4e8e;
  --teal: #0c6b68;
  --plum: #70466f;
  --white: #f9faf9;
  --latin: "Times New Roman", Times, serif;
  --cn: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1380px, calc(100vw - 150px));
  --rail: 54px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--latin);
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:root[data-lang="cn"] body {
  font-family: var(--cn);
  letter-spacing: 0.015em;
}

.latin-title,
.folio-name,
.identity strong {
  font-family: var(--latin);
  letter-spacing: normal;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

.editorial-shell {
  width: var(--shell);
  margin-right: auto;
  margin-left: auto;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: var(--rail);
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue-bright);
  pointer-events: none;
}

.folio-rail {
  position: fixed;
  z-index: 80;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: var(--rail);
  padding: 18px 0;
  align-items: center;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.folio-rail .folio-name {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

.site-header,
main,
.site-footer {
  margin-left: var(--rail);
}

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 8px 26px rgba(18, 59, 109, 0.035);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  width: var(--shell);
  min-height: 78px;
  margin: 0 auto;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.identity {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 16px;
  transition: transform 180ms ease;
}

.identity strong {
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.identity span {
  padding-left: 16px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.primary-nav {
  display: flex;
  padding: 3px;
  align-items: center;
  gap: 3px;
  grid-column: 3;
  justify-self: end;
  border: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--white) 48%, transparent);
}

.primary-nav a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-width: 102px;
  height: 42px;
  padding: 0 15px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  z-index: -1;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--blue);
  content: "";
  transition: transform 180ms ease;
}

.primary-nav a:hover:not([aria-current="page"]) {
  background: color-mix(in srgb, var(--blue) 6%, transparent);
  color: var(--blue);
  transform: translateY(-1px);
}

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

.primary-nav a[aria-current="page"] {
  background: var(--blue);
  box-shadow: 0 6px 15px rgba(18, 59, 109, 0.15);
  color: var(--white);
}

.primary-nav span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--blue) 28%, transparent);
  background: color-mix(in srgb, var(--blue) 6%, transparent);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.primary-nav a[aria-current="page"] span {
  border-color: color-mix(in srgb, var(--white) 36%, transparent);
  background: color-mix(in srgb, var(--white) 12%, transparent);
  color: var(--white);
}

.primary-nav b {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.header-language-control {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-self: start;
  gap: 14px;
}

.header-language-control > span {
  padding-left: 10px;
  border-left: 3px solid var(--blue);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-language-control .language-switch {
  flex: 0 0 auto;
  align-self: auto;
  justify-self: auto;
}

.language-switch {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 112px;
  height: 32px;
  padding: 2px;
  align-self: center;
  justify-self: end;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--blue);
  background: color-mix(in srgb, var(--white) 78%, transparent);
  grid-template-columns: repeat(2, 1fr);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.language-switch::before {
  position: absolute;
  z-index: -1;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(50% - 2px);
  background: var(--blue);
  content: "";
  transform: translateX(0);
  transition: transform 260ms cubic-bezier(0.22, 0.8, 0.24, 1);
}

:root[data-lang="cn"] .language-switch::before {
  transform: translateX(100%);
}

.language-switch > span {
  display: none;
}

.language-switch button {
  position: relative;
  z-index: 1;
  height: 26px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  color: var(--ink-faint);
  font-size: 11px;
  transition: color 180ms ease, transform 180ms ease;
}

.language-switch button[aria-pressed="true"] {
  color: var(--white);
}

.language-switch button[aria-pressed="false"]:hover,
.language-switch button[aria-pressed="false"]:focus-visible {
  color: var(--blue);
  transform: translateY(-1px);
}

.cursor-tracker {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  display: grid;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  opacity: 0;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  pointer-events: none;
  transition: width 180ms ease, height 180ms ease, margin 180ms ease, opacity 180ms ease,
    background-color 180ms ease;
}

.cursor-tracker::before,
.cursor-tracker::after {
  position: absolute;
  background: var(--blue);
  content: "";
}

.cursor-tracker::before {
  width: 8px;
  height: 1px;
}

.cursor-tracker::after {
  width: 1px;
  height: 8px;
}

.cursor-tracker span {
  color: var(--white);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.cursor-tracker.is-visible {
  opacity: 0.82;
}

.cursor-tracker.is-active {
  width: 82px;
  height: 82px;
  margin: -41px 0 0 -41px;
  background: var(--blue);
  opacity: 0.94;
}

.cursor-tracker.is-active::before,
.cursor-tracker.is-active::after {
  opacity: 0;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor-ready,
  .cursor-ready a,
  .cursor-ready button {
    cursor: none;
  }
}

.section-code {
  margin: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 82px);
  padding: 0 0 clamp(72px, 7vw, 104px);
  grid-template-columns: repeat(14, minmax(0, 1fr));
  grid-template-rows: 1fr;
  gap: 0 26px;
  align-items: start;
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(57.142% + 2px);
  width: 1px;
  background: var(--line-soft);
  content: "";
}

.hero-avatar {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  background: var(--paper-deep);
}

.hero-avatar::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 20px;
  height: 20px;
  border-right: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  content: "";
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / 9;
  grid-row: 1;
  padding-top: clamp(68px, 7vw, 106px);
  padding-right: clamp(14px, 2.4vw, 40px);
}

.profile-heart-widget {
  position: absolute;
  z-index: 4;
  top: clamp(18px, 2vw, 30px);
  left: -88px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-heart {
  display: grid;
  width: 64px;
  height: 64px;
  padding: 8px 0 7px;
  align-content: center;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: color-mix(in srgb, var(--paper) 92%, white);
  color: #9b3e55;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(18, 59, 109, 0.06);
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.profile-heart:hover,
.profile-heart:focus-visible {
  border-color: #9b3e55;
  outline: 0;
  box-shadow: 0 9px 22px rgba(103, 34, 54, 0.13);
  transform: translateY(-2px);
}

.profile-heart:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.profile-heart.is-unavailable {
  border-color: #aab2b8;
  color: #7f898f;
  cursor: not-allowed;
}

.profile-heart-icon {
  font-family: var(--latin);
  font-size: 25px;
  line-height: 0.8;
}

.profile-heart-count {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.profile-heart.is-liked {
  border-color: #9b3e55;
  background: #9b3e55;
  color: var(--white);
}

.profile-heart.is-popping {
  animation: profile-heart-pop 420ms cubic-bezier(0.2, 0.82, 0.28, 1.2);
}

@keyframes profile-heart-pop {
  45% {
    transform: translateY(-2px) scale(1.16);
  }
}

.profile-heart-hint {
  color: var(--ink-soft);
  font-size: 13px;
  font-style: italic;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-intro-heading {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-greeting {
  margin: 0;
  color: var(--blue);
  font-family: var(--latin);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1;
}

.hero-lead {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--ink);
  font-family: var(--latin);
  font-size: clamp(46px, 4.25vw, 62px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

:root[data-lang="cn"] .hero-lead {
  font-family: var(--cn);
  font-size: clamp(46px, 4.4vw, 64px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

.hero-motto {
  max-width: calc(100% - 102px);
  margin: 10px 0 0 102px;
  color: var(--blue);
  font-family: var(--cn);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.45;
}

.hero-biography {
  display: grid;
  max-width: 760px;
  margin: clamp(10px, 1vw, 14px) 0 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 14px;
}

.hero-biography p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.58;
}

.hero-biography .hero-origin {
  color: var(--ink);
  font-size: clamp(18px, 1.3vw, 21px);
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.hero-biography .hero-research-fields {
  color: var(--ink);
  font-size: clamp(20px, 1.48vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.44;
}

.research-term {
  padding: 0 0.04em;
  color: var(--blue-bright);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(transparent 78%, rgba(18, 59, 109, 0.13) 78%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.research-term.term-teal {
  color: var(--teal);
  background-image: linear-gradient(transparent 78%, rgba(12, 107, 104, 0.13) 78%);
}

.research-term.term-plum {
  color: var(--plum);
  background-image: linear-gradient(transparent 78%, rgba(112, 70, 111, 0.13) 78%);
}

:root[data-lang="cn"] .research-term {
  font-style: normal;
  font-weight: 600;
}

:root[data-lang="cn"] .hero-biography p {
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.62;
}

.hero-news {
  max-width: 760px;
  margin: clamp(30px, 3vw, 42px) 0 0 28px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero-news > header {
  position: relative;
  padding: 11px 0 10px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-news > header::after {
  position: absolute;
  top: -1px;
  right: 0;
  width: 44px;
  height: 7px;
  background: var(--blue);
  content: "";
}

.hero-news h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--latin);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

:root[data-lang="cn"] .hero-news h2 {
  font-family: var(--cn);
  font-weight: 600;
}

.hero-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-news-list li {
  display: grid;
  padding: 10px 0 11px;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
}

.hero-news-list li + li {
  border-top: 1px solid var(--line-soft);
}

.hero-news-list time {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.hero-news-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

.hero-news-list .news-focus {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.section-tail a,
.public-note a,
.project-principle a {
  display: inline-flex;
  padding: 8px 0 6px;
  align-items: baseline;
  gap: 26px;
  border-bottom: 1px solid var(--ink);
  font-size: 15px;
  transition: color 160ms ease, border-color 160ms ease, transform 180ms ease;
}

.section-tail a:hover,
.public-note a:hover,
.project-principle a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.section-tail i,
.public-note i,
.project-principle i {
  font-family: var(--latin);
  font-style: normal;
}

.hero-code {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 9 / 15;
  grid-row: 1;
  width: 100%;
  min-height: clamp(570px, 49vw, 700px);
  align-self: stretch;
  padding: 108px 17px 68px;
  align-content: start;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-code::before {
  position: absolute;
  top: 34px;
  right: 17px;
  left: 17px;
  height: 1px;
  background: var(--blue);
  content: "";
}

.hero-code::after {
  position: absolute;
  top: 30px;
  left: 17px;
  width: 68px;
  height: 9px;
  background: var(--blue);
  content: "";
}

@media (min-width: 861px) {
  .hero-code {
    width: calc(100% + 28px);
    margin-left: -14px;
    padding-right: 31px;
    padding-left: 31px;
  }

  .hero-code::before {
    right: 31px;
    left: 31px;
  }

  .hero-code::after {
    left: 31px;
  }
}

.terminal-window {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #c6d0d9;
  border-radius: 14px;
  background: #f8fafb;
  box-shadow: 0 16px 38px rgba(18, 59, 109, 0.07);
  color: #505b66;
  font-family: Consolas, "Lucida Console", monospace;
}

.terminal-bar {
  display: flex;
  min-height: 54px;
  padding: 0 18px;
  align-items: center;
  gap: 17px;
  border-bottom: 1px solid #d6dde3;
  background: #e8edf1;
  color: #78838d;
  font-size: 13px;
  font-weight: 600;
}

.terminal-lights {
  display: flex;
  gap: 8px;
}

.terminal-lights i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d7635a;
}

.terminal-lights i:nth-child(2) {
  background: #d5a63d;
}

.terminal-lights i:nth-child(3) {
  background: #409c62;
}

.terminal-body {
  min-height: 334px;
  padding: 23px 20px 27px;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.7;
}

.terminal-command {
  margin: 0;
  color: var(--ink);
  white-space: nowrap;
}

.terminal-command strong {
  color: var(--blue-bright);
  font-weight: 600;
}

.terminal-command-demo {
  position: relative;
}

.terminal-command-entry {
  position: relative;
  display: inline-flex;
  min-width: 1ch;
  align-items: baseline;
}

.terminal-demo-caret {
  display: none;
  width: 0.62em;
  height: 1.08em;
  margin-left: 2px;
  translate: 0 0.18em;
  background: var(--blue-bright);
}

.terminal-demo-pointer {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 0;
  display: none;
  width: 22px;
  height: 28px;
  pointer-events: none;
  filter: drop-shadow(0 3px 3px rgba(18, 59, 109, 0.22));
  opacity: 0;
  transform-origin: 3px 3px;
}

.terminal-demo-pointer svg {
  display: block;
  width: 100%;
  height: 100%;
}

.terminal-demo-pointer::after {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(18, 59, 109, 0.58);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transform: scale(0.35);
}

.terminal-window.is-demo-running .terminal-demo-pointer,
.terminal-window.is-demo-typing .terminal-demo-caret,
.terminal-window.is-demo-entering .terminal-demo-caret {
  display: block;
}

.terminal-window.is-demo-typing .terminal-demo-caret {
  animation: terminal-caret-blink 720ms steps(1, end) infinite;
}

.terminal-window.is-demo-clicking .terminal-demo-pointer::after {
  animation: terminal-demo-click 170ms ease-out both;
}

.terminal-window.is-demo-entering .terminal-demo-caret {
  animation: terminal-demo-enter 180ms ease-out both;
}

.terminal-window.is-demo-preparing .terminal-output p {
  visibility: hidden;
}

.terminal-window.is-demo-output .terminal-output p {
  animation: terminal-line-reveal 320ms ease-out both;
}

.terminal-window.is-demo-output .terminal-output p:nth-child(2) {
  animation-delay: 55ms;
}

.terminal-window.is-demo-output .terminal-output p:nth-child(3) {
  animation-delay: 110ms;
}

.terminal-window.is-demo-output .terminal-output p:nth-child(4) {
  animation-delay: 165ms;
}

.terminal-window.is-demo-output .terminal-output p:nth-child(5) {
  animation-delay: 220ms;
}

.terminal-window.is-demo-output .terminal-output p:nth-child(6) {
  animation-delay: 275ms;
}

@keyframes terminal-caret-blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes terminal-demo-click {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }

  35% {
    opacity: 0.75;
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes terminal-demo-enter {
  0%,
  100% {
    translate: 0 0.18em;
  }

  50% {
    translate: 2px 0.18em;
  }
}

@keyframes terminal-line-reveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.terminal-output {
  display: grid;
  min-height: calc(10.2em + 10px);
  margin: 24px 0 25px 20px;
  align-content: start;
  gap: 2px;
}

.terminal-output p {
  display: grid;
  margin: 0;
  grid-template-columns: 52px 12px minmax(0, 1fr);
}

.terminal-output span,
.terminal-output i {
  color: #6b747c;
  font-style: normal;
  font-weight: 600;
}

.terminal-output .terminal-value {
  min-width: 0;
  color: #505b66;
  font-style: normal;
  font-weight: 400;
}

.terminal-output strong {
  color: #176e68;
  font-weight: 500;
}

.terminal-command-last {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}

.terminal-command-last label {
  color: var(--blue-bright);
  font-weight: 600;
  white-space: nowrap;
}

.terminal-command-last input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  caret-color: var(--blue-bright);
  color: var(--ink);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.terminal-hint {
  display: flex;
  margin: 14px 0 0;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: #8a949c;
  font-size: 11px;
}

.terminal-hint-prompt {
  color: #6f7e88;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.terminal-hint-prompt strong {
  color: var(--blue);
  font-weight: 700;
}

.terminal-hint-prompt span {
  color: #657d7b;
}

.terminal-hint-commands {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.terminal-hint button {
  position: relative;
  min-height: 27px;
  padding: 4px 8px 3px 10px;
  border: 1px solid #c3ccd3;
  background: rgba(247, 249, 250, 0.46);
  box-shadow: inset 2px 0 0 #9aadaa;
  color: #4e606d;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  line-height: 1;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease,
    color 140ms ease, transform 140ms ease;
}

.terminal-hint button:hover,
.terminal-hint button:focus-visible {
  border-color: #869cab;
  background: #f0f4f6;
  box-shadow: inset 2px 0 0 var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.terminal-hint button:focus-visible {
  outline: 1px dashed var(--blue);
  outline-offset: 2px;
}

.terminal-hint button.is-active {
  border-color: #9aabb7;
  background: #e9eef2;
  box-shadow: inset 2px 0 0 var(--blue);
  color: var(--blue);
  font-weight: 700;
}

.terminal-hint button.is-active::after {
  position: absolute;
  right: 9px;
  bottom: 4px;
  left: 11px;
  height: 1px;
  background: currentColor;
  content: "";
}

.terminal-message {
  display: block !important;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.terminal-message strong {
  color: var(--blue);
  font-weight: 600;
}

.contact-labels {
  position: relative;
  width: min(100%, 540px);
  min-height: 238px;
  margin: 34px auto 0;
  isolation: isolate;
}

.paper-label {
  --label-rotation: -4deg;
  --label-hover-rotation: -1deg;
  position: absolute;
  isolation: isolate;
  display: grid;
  width: 96px;
  height: 66px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(60, 66, 71, 0.28);
  border-radius: 1px 2px 2px 1px;
  background-color: #f4f1e9;
  background-image:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), transparent 54%),
    repeating-linear-gradient(
      0deg,
      rgba(53, 60, 65, 0.018) 0,
      rgba(53, 60, 65, 0.018) 1px,
      transparent 1px,
      transparent 4px
    ),
    radial-gradient(circle, rgba(46, 53, 58, 0.05) 0 0.6px, transparent 0.75px),
    linear-gradient(
      315deg,
      rgba(35, 42, 47, 0.13) 0 4px,
      rgba(255, 255, 255, 0.46) 4px 5px,
      transparent 5px
    );
  background-position: center, center, 1px 2px, right bottom;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
  background-size: auto, auto, 8px 8px, 12px 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(44, 51, 56, 0.08),
    0 2px 3px rgba(24, 32, 39, 0.12),
    0 14px 22px rgba(24, 32, 39, 0.14);
  color: #1e252b;
  cursor: pointer;
  transform: rotate(var(--label-rotation)) translateZ(0);
  transform-origin: 50% -5px;
  transition:
    transform 360ms cubic-bezier(0.17, 0.84, 0.24, 1.16),
    box-shadow 320ms ease,
    filter 260ms ease;
}

.paper-label::before {
  position: absolute;
  z-index: 2;
  top: -8px;
  left: 50%;
  width: 43px;
  height: 17px;
  border: 1px solid rgba(128, 139, 146, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.25), transparent 38%, rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 4px,
      rgba(255, 255, 255, 0.12) 4px,
      rgba(255, 255, 255, 0.12) 5px
    ),
    rgba(190, 199, 203, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 2px 3px rgba(30, 38, 44, 0.11);
  clip-path: polygon(3% 10%, 98% 0, 95% 91%, 0 100%);
  content: "";
  transform: translateX(-50%) rotate(1.8deg);
  transition: transform 320ms ease, opacity 240ms ease, filter 240ms ease;
}

.paper-label::after {
  position: absolute;
  z-index: 5;
  bottom: -35px;
  left: 50%;
  width: max-content;
  max-width: 250px;
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  background: rgba(249, 250, 249, 0.96);
  box-shadow: 0 6px 14px rgba(24, 32, 39, 0.09);
  color: var(--ink-soft);
  content: attr(data-tooltip);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity 140ms ease, transform 180ms ease;
  white-space: nowrap;
}

.paper-label img {
  position: relative;
  z-index: 1;
  display: block;
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.75))
    drop-shadow(0 2px 2px rgba(27, 34, 39, 0.08));
  transition: transform 320ms cubic-bezier(0.17, 0.84, 0.24, 1.16);
}

.paper-label:hover,
.paper-label:focus-visible,
.paper-label.is-copied {
  z-index: 4;
  outline: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(44, 51, 56, 0.08),
    0 7px 10px rgba(24, 32, 39, 0.14),
    0 29px 40px rgba(24, 32, 39, 0.22);
  filter: saturate(1.1) brightness(1.015);
  transform:
    perspective(620px)
    translateY(-9px)
    rotateX(12deg)
    rotateZ(var(--label-hover-rotation))
    scale(1.055);
}

.paper-label:hover::before,
.paper-label:focus-visible::before,
.paper-label.is-copied::before {
  opacity: 0.84;
  filter: brightness(1.03);
  transform: translateX(-50%) translateY(-1px) rotate(-0.7deg) scaleX(0.96);
}

.paper-label:hover img,
.paper-label:focus-visible img,
.paper-label.is-copied img {
  transform: translateY(-2px) scale(1.06);
}

.paper-label:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(44, 51, 56, 0.1),
    0 7px 12px rgba(24, 32, 39, 0.12),
    0 1px 2px rgba(24, 32, 39, 0.12);
  transform: translateY(2px) rotate(1deg) scale(0.96);
  transition-duration: 80ms;
}

.paper-label:hover::after,
.paper-label:focus-visible::after,
.paper-label.is-copied::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.contact-github {
  --label-rotation: -5deg;
  --label-hover-rotation: -1.5deg;
  top: 18px;
  left: 4%;
}

.contact-gmail {
  --label-rotation: 3.5deg;
  --label-hover-rotation: 1deg;
  top: 23px;
  left: 37%;
  background-color: #f8f1eb;
  animation-delay: -1.4s;
}

.contact-qq {
  --label-rotation: 5deg;
  --label-hover-rotation: 1.5deg;
  top: 17px;
  right: 5%;
  background-color: #edf2f5;
  animation-delay: -2.7s;
}

.contact-netease {
  --label-rotation: 3deg;
  --label-hover-rotation: 0.8deg;
  top: 135px;
  left: 4%;
  width: 112px;
  background-color: #f7eeee;
  animation-delay: -3.5s;
}

.contact-netease img {
  width: 82px;
  height: auto;
}

.contact-wechat {
  --label-rotation: -3deg;
  --label-hover-rotation: -0.8deg;
  top: 139px;
  left: 37%;
  background-color: #edf4ee;
  animation-delay: -4.1s;
}

.contact-xiaohongshu {
  --label-rotation: 4deg;
  --label-hover-rotation: 1deg;
  top: 136px;
  right: 5%;
  background-color: #f8edef;
  animation-delay: -4.8s;
}

body.contact-qr-open {
  overflow: hidden;
}

body.contact-qr-open .cursor-tracker {
  opacity: 0 !important;
  visibility: hidden;
}

.contact-qr-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 18px;
  place-items: center;
  opacity: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
  visibility: hidden;
}

.contact-qr-modal[hidden] {
  display: none;
}

.contact-qr-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-qr-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(19, 25, 31, 0.62);
  cursor: zoom-out;
}

.contact-qr-dialog {
  position: relative;
  display: grid;
  max-width: calc(100vw - 36px);
  max-height: calc(100dvh - 36px);
  place-items: center;
  box-shadow: 0 34px 90px rgba(11, 19, 27, 0.36);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
}

.contact-qr-modal.is-open .contact-qr-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-qr-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(20, 33, 46, 0.2);
  border-radius: 50%;
  background: rgba(249, 250, 249, 0.92);
  box-shadow: 0 5px 18px rgba(15, 23, 31, 0.12);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--latin);
  font-size: 28px;
  line-height: 1;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.contact-qr-close:hover,
.contact-qr-close:focus-visible {
  outline: 0;
  background: var(--blue);
  color: var(--white);
  transform: rotate(4deg) scale(1.04);
}

.contact-qr-card {
  display: block;
  width: auto;
  max-width: calc(100vw - 36px);
  height: auto;
  max-height: calc(100dvh - 36px);
  border: 1px solid rgba(20, 33, 46, 0.2);
  background: var(--white);
  user-select: none;
}

.archive-section {
  padding: clamp(88px, 9vw, 138px) 0;
}

.archive-section + .archive-section {
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  margin-bottom: 58px;
  grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1.48fr) minmax(270px, 0.95fr);
  gap: clamp(34px, 4vw, 64px);
  align-items: start;
}

.section-label {
  min-height: 100%;
  padding-right: 24px;
  border-right: 1px solid var(--line-soft);
}

.section-label .section-code {
  font-size: 11px;
}

.section-facts {
  margin: 42px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 15px;
  list-style: none;
}

.section-facts li {
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
}

.section-intro h2 {
  max-width: 670px;
  margin: -7px 0 0;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

:root[data-lang="cn"] .section-intro h2 {
  max-width: 620px;
  font-size: clamp(38px, 3.75vw, 54px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.22;
}

.section-intro > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.72;
}

.section-intro-offset h2 {
  transform: translateX(2%);
}

.publication-section {
  padding: clamp(24px, 2.4vw, 36px) 0 clamp(88px, 8vw, 120px);
}

.publication-index-strip {
  position: relative;
  display: grid;
  min-height: 76px;
  padding: 16px 0 17px;
  align-items: center;
  border-top: 1px solid var(--ink);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
}

.publication-index-strip::after {
  position: absolute;
  top: -1px;
  right: 0;
  width: 78px;
  height: 8px;
  background: var(--blue);
  content: "";
}

.publication-section-number {
  color: var(--blue-bright);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.publication-index-strip h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--latin);
  font-size: clamp(28px, 2.35vw, 34px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

:root[data-lang="cn"] .publication-index-strip h2 {
  font-family: var(--cn);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.publication-index-meta {
  margin: 0;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.work-list {
  border-top: 1px solid var(--ink);
}

.publication-row {
  position: relative;
  display: grid;
  padding: clamp(30px, 3.2vw, 44px) 0;
  align-items: start;
  border-bottom: 1px solid var(--ink);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.55fr);
  gap: clamp(36px, 5vw, 76px);
}

.publication-row:last-child::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 56px;
  height: 7px;
  background: var(--blue);
  content: "";
}

.publication-visual {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.publication-index {
  font-family: var(--mono);
}

.publication-section {
  font-family: var(--latin);
  letter-spacing: 0;
}

.publication-index {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.publication-image-frame {
  position: relative;
  display: grid;
  width: 100%;
  height: clamp(220px, 18vw, 270px);
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 200ms ease, transform 220ms ease;
}

.publication-image-frame::after {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 38px;
  height: 38px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  content: "";
  pointer-events: none;
}

.publication-image-frame img {
  display: block;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.publication-visual:hover .publication-image-frame {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.publication-copy {
  display: flex;
  min-height: 100%;
  padding-top: 27px;
  flex-direction: column;
}

.publication-venue {
  display: grid;
  margin-top: 20px;
  padding: 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
}

.publication-venue small {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-venue strong {
  width: fit-content;
  padding: 6px 9px 7px;
  justify-self: start;
  background: var(--blue);
  color: var(--white);
  font-family: var(--latin);
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.publication-venue small {
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}

.publication-copy h3 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(20px, calc(3vw - 9px), 35px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.publication-authors {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.publication-authors strong {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.publication-authors sup {
  position: relative;
  top: -0.1em;
  margin-left: 1px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.58em;
  line-height: 0;
}

.publication-summary {
  max-width: 760px;
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--blue);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.publication-resources {
  display: flex;
  margin: 19px 0 0 16px;
  flex-wrap: wrap;
  gap: 12px 26px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.publication-resources a {
  display: inline-flex;
  padding-bottom: 1px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.publication-resources a[aria-disabled="true"] {
  border-bottom-color: color-mix(in srgb, var(--blue) 38%, transparent);
  opacity: 0.76;
  cursor: default;
  pointer-events: none;
}

.publication-resources a:hover,
.publication-resources a:focus-visible {
  border-color: var(--blue);
}

.publication-resources a span {
  font-size: 13px;
  line-height: 1;
}

.contribution-ledger {
  display: grid;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  grid-template-columns: repeat(3, 1fr);
}

.contribution-ledger article {
  min-height: 300px;
  padding: 25px 27px 32px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.contribution-ledger article > span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.contribution-ledger h3 {
  margin: 72px 0 0;
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.contribution-ledger p {
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.62;
}

.project-index {
  display: grid;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  grid-template-columns: repeat(2, 1fr);
}

.project-index > a {
  position: relative;
  display: grid;
  min-height: 320px;
  padding: 24px 28px 28px;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 56px 1fr auto;
  grid-template-rows: auto auto 1fr;
  transition: background-color 200ms ease, color 200ms ease;
}

.project-index > a::after {
  position: absolute;
  right: -22px;
  bottom: -58px;
  color: transparent;
  font-family: var(--latin);
  font-size: 190px;
  font-style: italic;
  line-height: 1;
  content: attr(href);
  opacity: 0;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--white) 35%, transparent);
  transition: opacity 200ms ease;
}

.project-index > a:hover {
  background: var(--blue);
  color: var(--white);
}

.project-index > a:hover::after {
  opacity: 0.05;
}

.project-index > a > span {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
}

.project-index h3 {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.project-index > a > p {
  margin: 7px 0 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  grid-column: 2 / 3;
}

.project-index small {
  max-width: 440px;
  margin-top: 76px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.58;
  grid-column: 2 / 3;
}

.project-index > a > i {
  font-size: 24px;
  font-style: normal;
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  transition: transform 200ms ease;
}

.project-index > a:hover > i {
  transform: translate(4px, -4px);
}

.project-index > a:hover > span,
.project-index > a:hover > p,
.project-index > a:hover small {
  color: color-mix(in srgb, var(--white) 78%, transparent);
}

.section-tail {
  display: flex;
  margin: 44px 0 0;
  justify-content: flex-end;
}

.background-section {
  padding: clamp(100px, 11vw, 160px) 0;
  border-top: 1px solid var(--line);
}

.background-section > header {
  display: grid;
  margin-bottom: 64px;
  grid-template-columns: 1fr 3fr;
}

.background-section > header h2 {
  max-width: 760px;
  margin: -8px 0 0;
  font-size: clamp(45px, 5.5vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.background-columns {
  display: grid;
  margin-left: 25%;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 1fr 1fr;
}

.background-columns > section {
  padding: 28px 30px 36px 0;
}

.background-columns > section + section {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.background-columns h3 {
  margin: 0 0 42px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.background-columns dl {
  margin: 0;
}

.background-columns dl > div,
.honor-list li {
  display: grid;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  grid-template-columns: 90px 1fr;
  gap: 18px;
}

.background-columns dt,
.honor-list span {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.background-columns dd {
  margin: 0;
}

.background-columns dd strong,
.background-columns dd span {
  display: block;
}

.background-columns dd strong,
.honor-list strong {
  font-size: 15px;
  font-weight: 400;
}

.background-columns dd span {
  margin-top: 5px;
  color: var(--ink-faint);
  font-size: 12px;
}

.honor-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.manifesto,
.project-principle {
  margin-left: var(--rail);
  background: var(--blue);
  color: var(--white);
}

.manifesto {
  margin-left: 0;
}

.manifesto-inner {
  display: grid;
  min-height: 500px;
  padding: clamp(78px, 8vw, 116px) 0;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: 1fr auto;
  gap: 30px;
  align-items: start;
}

.manifesto .section-code,
.project-principle .section-code {
  color: color-mix(in srgb, var(--white) 70%, transparent);
}

.manifesto blockquote {
  max-width: 980px;
  margin: -15px 0 0;
  font-size: clamp(45px, 5.4vw, 80px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

:root[data-lang="cn"] .manifesto blockquote {
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.25;
}

.manifesto-inner > p:last-child {
  max-width: 620px;
  margin: 0;
  color: color-mix(in srgb, var(--white) 70%, transparent);
  font-size: 14px;
  grid-column: 2 / 3;
}

.site-footer {
  border-top: 1px solid var(--ink);
}

.footer-inner {
  display: grid;
  min-height: 150px;
  padding: 34px 0;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: end;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.footer-inner p:nth-child(2) {
  color: var(--ink-faint);
  font-style: italic;
}

.footer-inner a {
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
}

.page-title {
  position: relative;
  display: grid;
  min-height: 610px;
  padding: clamp(90px, 10vw, 140px) 0 90px;
  overflow: hidden;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: end;
}

.page-title::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
}

.page-title h1 {
  max-width: 950px;
  margin: 22px 0 0;
  font-size: clamp(84px, 12vw, 184px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.76;
}

:root[data-lang="cn"] .page-title h1 {
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

.page-title-number {
  position: absolute;
  top: 28px;
  right: 0;
  color: transparent;
  font-size: clamp(180px, 25vw, 370px);
  font-weight: 700;
  line-height: 0.8;
  -webkit-text-stroke: 1px var(--line-soft);
  user-select: none;
}

.page-title-copy {
  position: relative;
  z-index: 1;
}

.page-title-copy > p {
  margin: 0;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.28;
}

.page-title-copy > span {
  display: block;
  margin-top: 34px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-archive {
  padding: 60px 0 130px;
}

.research-article {
  display: grid;
  padding: 70px 0 80px;
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 0.7fr 2.1fr 0.62fr;
  gap: 48px;
}

.research-article:first-child {
  border-top: 1px solid var(--ink);
}

.research-article > header {
  display: grid;
  align-content: space-between;
}

.article-number {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.research-article > header strong {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-article > header p {
  margin: 7px 0 0;
  color: var(--ink-faint);
  font-size: 13px;
}

.article-body h2 {
  max-width: 930px;
  margin: 0;
  font-size: clamp(36px, 4.3vw, 64px);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 0.99;
}

.article-body > p {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.68;
}

.article-body > .publication-authors {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.55;
}

.method-line {
  display: flex;
  margin: 36px 0 0;
  padding: 14px 0 0;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  list-style: none;
  text-transform: uppercase;
}

.method-line li {
  position: relative;
}

.method-line li + li::before {
  position: absolute;
  left: -14px;
  content: "/";
}

.research-article > aside {
  display: grid;
  padding-left: 22px;
  align-content: end;
  border-left: 1px solid var(--line);
  gap: 6px;
}

.research-article > aside span {
  margin-top: 16px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-article > aside strong {
  font-size: 13px;
  font-weight: 400;
}

.question-section {
  padding: 120px 0 140px;
  border-top: 1px solid var(--ink);
  background: var(--paper-deep);
}

.question-intro {
  display: grid;
  margin-bottom: 76px;
  grid-template-columns: 0.7fr 2fr 0.65fr;
  gap: 48px;
}

.question-intro h2 {
  margin: -10px 0 0;
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.question-intro > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.question-list {
  display: grid;
  margin-left: 23%;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  grid-template-columns: repeat(3, 1fr);
}

.question-list article {
  min-height: 310px;
  padding: 25px 26px 32px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.question-list article > span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
}

.question-list h3 {
  margin: 68px 0 0;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.05;
}

.question-list p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.public-note {
  display: grid;
  padding: 120px 0;
  grid-template-columns: 1.5fr 1fr;
  gap: 100px;
}

.public-note h2 {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.public-note > div:last-child {
  align-self: end;
}

.public-note > div:last-child p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.systems-archive {
  padding: 60px 0 130px;
  border-top: 1px solid var(--ink);
}

.system-row {
  position: relative;
  display: grid;
  min-height: 260px;
  padding: 32px 15px 34px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 0.38fr 1.2fr 1.05fr 0.6fr 35px;
  gap: 26px;
  transition: padding 220ms ease, background-color 220ms ease, color 220ms ease;
}

.system-row::before {
  position: absolute;
  top: 50%;
  left: 0;
  color: transparent;
  font-family: var(--latin);
  font-size: 180px;
  font-style: italic;
  line-height: 0.6;
  opacity: 0;
  content: attr(data-cursor-text);
  transform: translateY(-50%);
  -webkit-text-stroke: 1px color-mix(in srgb, var(--white) 28%, transparent);
  transition: opacity 220ms ease, transform 300ms ease;
}

.system-row:hover {
  padding-right: 28px;
  padding-left: 20px;
  background: var(--blue);
  color: var(--white);
}

.system-row:hover::before {
  opacity: 0.4;
  transform: translate(35px, -50%);
}

.system-number {
  position: relative;
  z-index: 1;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
}

.system-title {
  position: relative;
  z-index: 1;
}

.system-title > p {
  margin: 0 0 13px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-title h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
  transition: font-style 180ms ease, transform 220ms ease;
}

.system-row > p {
  position: relative;
  z-index: 1;
  margin: 35px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.62;
}

.system-row > ul {
  position: relative;
  z-index: 1;
  margin: 35px 0 0;
  padding: 0;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  list-style: none;
  text-transform: uppercase;
}

.system-row > ul li + li {
  margin-top: 7px;
}

.system-row > i {
  position: relative;
  z-index: 1;
  align-self: end;
  font-size: 26px;
  font-style: normal;
  transition: transform 200ms ease;
}

.system-row:hover .system-title h2 {
  font-style: italic;
  transform: translateX(7px);
}

.system-row:hover > i {
  transform: translate(4px, -4px);
}

.system-row:hover .system-number,
.system-row:hover .system-title > p,
.system-row:hover > p,
.system-row:hover > ul {
  color: color-mix(in srgb, var(--white) 76%, transparent);
}

.notes-page-title {
  min-height: 570px;
}

.notes-archive {
  padding: 58px 0 130px;
}

.notes-ledger {
  display: flex;
  min-height: 58px;
  padding: 0 2px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notes-ledger p {
  margin: 0;
}

.note-row {
  position: relative;
  display: grid;
  min-height: 280px;
  padding: 42px 14px 44px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  grid-template-columns: minmax(150px, 0.7fr) minmax(115px, 0.48fr) minmax(0, 2fr) 44px;
  gap: 28px;
  transition: background-color 220ms ease, padding 220ms ease;
}

.note-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: var(--blue);
  content: "";
  transition: width 220ms ease;
}

.note-row:hover {
  padding-right: 24px;
  padding-left: 18px;
  background: color-mix(in srgb, var(--white) 54%, transparent);
}

.note-row:hover::before {
  width: 4px;
}

.note-row-meta,
.note-row-type {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.note-row-meta {
  justify-content: space-between;
}

.note-row-meta time,
.note-row-meta span,
.note-row-type strong,
.note-row-type span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.note-row-meta time,
.note-row-type span {
  color: var(--ink-faint);
}

.note-row-meta span {
  color: var(--blue);
}

.note-row-type {
  gap: 9px;
}

.note-row-type strong {
  display: inline-block;
  padding: 4px 7px 3px;
  background: var(--blue);
  color: var(--white);
  font-weight: 500;
}

.note-row-copy {
  position: relative;
  z-index: 1;
}

.note-row-copy h2 {
  max-width: 720px;
  margin: -7px 0 0;
  font-size: clamp(42px, 5.2vw, 78px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

:root[data-lang="cn"] .note-row-copy h2 {
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.08;
}

.note-row-copy h2 a {
  transition: color 180ms ease;
}

.note-row-copy h2 a:hover {
  color: var(--blue);
}

.note-row-copy > p {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.note-row-link {
  display: inline-flex;
  margin-top: 30px;
  padding-bottom: 4px;
  align-items: baseline;
  gap: 28px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.note-row-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateX(4px);
}

.note-row-link i,
.note-row-arrow,
.note-article-back i,
.note-prose-back i {
  font-style: normal;
}

.note-row-arrow {
  position: relative;
  z-index: 1;
  align-self: end;
  color: var(--blue);
  font-size: 27px;
  line-height: 1;
  transition: transform 180ms ease;
}

.note-row-arrow:hover {
  transform: translate(4px, -4px);
}

.notes-future {
  margin: 0;
  padding: 28px 2px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.note-article {
  padding: 52px 0 140px;
}

.note-article-back,
.note-prose-back {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

.note-article-back:hover,
.note-prose-back:hover {
  transform: translateX(-4px);
}

.note-article-header {
  display: grid;
  min-height: 470px;
  padding: clamp(75px, 9vw, 126px) 0 72px;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.7fr);
  gap: 80px;
  align-items: end;
}

.note-article-header h1 {
  max-width: 930px;
  margin: 24px 0 0;
  font-size: clamp(64px, 9vw, 136px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.86;
}

:root[data-lang="cn"] .note-article-header h1 {
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

.note-article-header > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.42;
}

.note-article-rule {
  position: relative;
  height: 1px;
  background: var(--ink);
}

.note-article-rule::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 66px;
  height: 10px;
  background: var(--blue);
  content: "";
}

.note-article-content {
  display: grid;
  padding-top: 68px;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 2fr) minmax(90px, 0.4fr);
  gap: 54px;
}

.note-article-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.note-article-meta time,
.note-article-meta span,
.note-article-meta strong {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.note-article-meta time,
.note-article-meta span {
  color: var(--ink-faint);
}

.note-article-meta strong {
  margin-top: 7px;
  padding: 4px 7px 3px;
  background: var(--blue);
  color: var(--white);
  font-weight: 500;
}

.note-prose {
  max-width: 780px;
}

.note-prose > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 1.65vw, 23px);
  line-height: 1.75;
}

.note-prose > p + p,
.note-prose blockquote + p {
  margin-top: 32px;
}

.note-prose blockquote {
  margin: 54px 0;
  padding: 25px 30px 27px;
  border-left: 5px solid var(--blue);
  background: color-mix(in srgb, var(--blue) 7%, transparent);
  color: var(--blue);
  font-family: var(--cn);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.note-prose-back {
  margin-top: 64px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--blue);
}

.project-principle {
  margin-left: 0;
}

.project-principle > .editorial-shell {
  display: grid;
  min-height: 650px;
  padding: 120px 0;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto 1fr;
  gap: 42px;
}

.project-principle blockquote {
  max-width: 1050px;
  margin: -12px 0 0;
  font-size: clamp(51px, 6.7vw, 102px);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.95;
}

.project-principle > .editorial-shell > div {
  display: flex;
  max-width: 850px;
  align-self: end;
  justify-content: space-between;
  gap: 60px;
  grid-column: 2 / 3;
}

.project-principle > .editorial-shell > div p {
  max-width: 570px;
  margin: 0;
  color: color-mix(in srgb, var(--white) 72%, transparent);
  font-size: 14px;
  line-height: 1.65;
}

.project-principle a {
  flex: 0 0 auto;
  border-color: var(--white);
}

.js.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  :root {
    --shell: min(100% - 64px, 1080px);
  }

  .header-inner {
    min-height: 78px;
    padding-top: 0;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
  }

  .identity span {
    display: none;
  }

  .primary-nav {
    order: initial;
    grid-column: 3;
    justify-self: end;
  }

  .site-header {
    position: sticky;
  }

  .primary-nav a {
    min-width: 92px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    grid-column: 1 / 9;
  }

  .hero-code {
    grid-column: 9 / 15;
    min-height: 580px;
  }

  .section-intro {
    grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1.4fr) minmax(220px, 0.9fr);
    gap: 28px;
  }

  .section-intro > p:last-child {
    max-width: none;
    margin-left: 0;
    grid-column: auto;
  }

  .section-intro-offset h2 {
    transform: none;
  }

  .publication-row {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.45fr);
    gap: 40px;
  }

  .research-article {
    grid-template-columns: 0.55fr 2fr;
  }

  .research-article > aside {
    display: none;
  }

  .system-row {
    grid-template-columns: 0.3fr 1.25fr 1fr 0.55fr 28px;
  }
}

@media (max-width: 860px) {
  :root {
    --rail: 0px;
    --shell: calc(100% - 36px);
  }

  .folio-rail {
    display: none;
  }

  .site-header,
  main,
  .site-footer,
  .manifesto,
  .project-principle {
    margin-left: 0;
  }

  .scroll-progress {
    left: 0;
  }

  .header-inner {
    min-height: 126px;
    padding-top: 14px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .site-header {
    position: relative;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .primary-nav a {
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    flex: 1;
  }

  .primary-nav b {
    font-size: 13px;
  }

  .primary-nav span {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
    font-size: 11px;
  }

  .header-inner {
    min-height: 126px;
  }

  .hero {
    display: block;
    padding-top: 72px;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    padding: 0;
    padding-top: 54px;
  }

  .profile-heart-widget {
    top: 0;
    right: 0;
    left: auto;
    flex-direction: row-reverse;
  }

  .hero-lead {
    max-width: 760px;
    font-size: clamp(42px, 7vw, 58px);
  }

  .hero-biography {
    margin-left: 0;
  }

  .hero-biography {
    max-width: 680px;
    margin-top: 12px;
  }

  .hero-news {
    max-width: 680px;
    margin-left: 0;
  }

  .publication-section {
    padding: 32px 0 88px;
  }

  .hero-code {
    min-height: auto;
    margin-top: 58px;
    padding: 72px 16px 64px;
  }

  .hero-code .terminal-window {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .section-intro,
  .background-section > header,
  .page-title,
  .question-intro,
  .public-note {
    display: block;
  }

  .section-intro h2,
  .background-section > header h2 {
    margin-top: 32px;
  }

  .section-intro > p:last-child {
    margin: 30px 0 0;
  }

  .section-label {
    min-height: 0;
    padding-right: 0;
    border-right: 0;
  }

  .section-facts {
    display: flex;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 8px 22px;
  }

  .section-facts li {
    padding: 7px 0;
    border-top: 1px solid var(--line-soft);
  }

  .publication-row {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: 30px;
  }

  .publication-image-frame {
    height: 220px;
  }

  .publication-copy h3 {
    font-size: clamp(18px, calc(4.4vw - 9px), 27px);
  }

  .contribution-ledger {
    grid-template-columns: 1fr;
  }

  .contribution-ledger article {
    min-height: 240px;
  }

  .contribution-ledger h3 {
    margin-top: 45px;
  }

  .project-index {
    grid-template-columns: 1fr;
  }

  .project-index > a {
    min-height: 280px;
  }

  .background-columns {
    display: block;
    margin-left: 0;
  }

  .background-columns > section + section {
    padding-left: 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .manifesto-inner,
  .project-principle > .editorial-shell {
    display: block;
    min-height: 0;
  }

  .manifesto blockquote,
  .project-principle blockquote {
    margin-top: 50px;
  }

  .manifesto-inner > p:last-child {
    margin-top: 70px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner p:nth-child(2) {
    order: 3;
    grid-column: 1 / -1;
  }

  .page-title {
    min-height: 560px;
  }

  .page-title h1 {
    margin-top: 26px;
    font-size: clamp(76px, 19vw, 130px);
  }

  .page-title-copy {
    max-width: 580px;
    margin: 74px 0 0 auto;
  }

  .research-article {
    display: block;
  }

  .research-article > header {
    display: flex;
    margin-bottom: 56px;
    justify-content: space-between;
    gap: 30px;
  }

  .article-body h2 {
    font-size: clamp(36px, 7.5vw, 58px);
  }

  .question-intro h2 {
    margin-top: 28px;
  }

  .question-intro > p:last-child {
    max-width: 540px;
    margin-top: 34px;
  }

  .question-list {
    margin-left: 0;
    grid-template-columns: 1fr;
  }

  .question-list article {
    min-height: 230px;
  }

  .question-list h3 {
    margin-top: 45px;
  }

  .public-note > div:last-child {
    max-width: 560px;
    margin: 60px 0 0 auto;
  }

  .systems-archive {
    padding-top: 40px;
  }

  .system-row {
    grid-template-columns: 48px 1fr 28px;
  }

  .system-title {
    grid-column: 2 / 3;
  }

  .system-row > p {
    grid-column: 2 / 3;
  }

  .system-row > ul {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 8px 18px;
    grid-column: 2 / 3;
  }

  .system-row > ul li + li {
    margin: 0;
  }

  .system-row > i {
    grid-column: 3 / 4;
    grid-row: 1 / 4;
  }

  .note-row {
    grid-template-columns: 125px 95px minmax(0, 1fr) 32px;
    gap: 22px;
  }

  .note-article-header {
    display: block;
    min-height: 0;
  }

  .note-article-header > p {
    max-width: 620px;
    margin: 64px 0 0 auto;
  }

  .note-article-content {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 42px;
  }

  .project-principle > .editorial-shell > div {
    display: block;
    margin-top: 70px;
  }

  .project-principle a {
    margin-top: 34px;
  }
}

@media (max-width: 540px) {
  :root {
    --shell: calc(100% - 28px);
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 116px;
    gap: 12px;
  }

  .header-language-control {
    gap: 9px;
  }

  .header-language-control > span {
    padding-left: 7px;
    border-left-width: 2px;
    font-size: 11px;
  }

  .identity strong {
    font-size: 19px;
  }

  .language-switch {
    width: 104px;
  }

  .primary-nav a {
    height: 38px;
    padding-right: 5px;
    padding-left: 5px;
    justify-content: center;
    gap: 5px;
  }

  .primary-nav span {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    font-size: 11px;
  }

  .primary-nav b {
    font-size: 12px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-copy {
    padding-top: 24px;
  }

  .profile-heart-widget {
    top: -28px;
  }

  .profile-heart {
    width: 52px;
    height: 52px;
    padding-top: 7px;
  }

  .profile-heart-icon {
    font-size: 22px;
  }

  .profile-heart-count {
    margin-top: 3px;
    font-size: 8px;
  }

  .profile-heart-hint {
    max-width: 126px;
    font-size: 11px;
    text-align: right;
    white-space: normal;
  }

  .hero-avatar {
    width: 68px;
    height: 68px;
  }

  .hero-lead {
    font-size: clamp(36px, 9.5vw, 40px);
    line-height: 1;
  }

  :root[data-lang="cn"] .hero-lead {
    font-size: 38px;
    line-height: 1.16;
  }

  .hero-intro-heading {
    align-items: flex-start;
    gap: 17px;
  }

  .hero-greeting {
    font-size: 20px;
  }

  .hero-motto {
    max-width: calc(100% - 85px);
    margin-top: 8px;
    margin-left: 85px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .hero-biography {
    margin-top: 10px;
    padding-top: 20px;
    gap: 14px;
  }

  .hero-biography p {
    font-size: 16px;
  }

  .hero-biography .hero-origin {
    font-size: 18px;
  }

  .hero-biography .hero-research-fields {
    font-size: 20px;
    line-height: 1.48;
  }

  .hero-news {
    margin-top: 28px;
  }

  .hero-news-list li {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .hero-news h2 {
    font-size: 18px;
  }

  .hero-news-list p {
    font-size: 14px;
  }

  .hero-news-list time {
    font-size: 14px;
  }

  .publication-section {
    padding: 28px 0 76px;
  }

  .publication-index-strip {
    min-height: 0;
    padding: 14px 0;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px 11px;
  }

  .publication-section-number {
    font-size: 12px;
  }

  .publication-index-strip h2 {
    font-size: 27px;
  }

  .publication-index-meta {
    margin-top: 2px;
    font-size: 11px;
    grid-column: 1 / -1;
    text-align: left;
  }

  .hero-code {
    min-height: auto;
    padding: 56px 9px 52px;
  }

  .contact-labels {
    min-height: 224px;
  }

  .paper-label {
    width: 82px;
    height: 58px;
  }

  .contact-netease {
    width: 100px;
  }

  .contact-netease img {
    width: 72px;
  }

  .contact-gmail {
    left: 31%;
  }

  .contact-netease {
    left: 0;
  }

  .contact-wechat {
    right: auto;
    left: 34%;
  }

  .contact-xiaohongshu {
    right: 0;
  }

  .terminal-bar {
    min-height: 50px;
    padding: 0 14px;
  }

  .terminal-body {
    min-height: 270px;
    padding: 21px 14px 24px;
    font-size: 13px;
  }

  .terminal-output {
    margin-left: 6px;
  }

  .terminal-output p {
    grid-template-columns: 46px 11px minmax(0, 1fr);
  }

  .archive-section {
    padding: 90px 0;
  }

  .section-intro {
    margin-bottom: 48px;
  }

  .section-intro h2,
  .background-section > header h2 {
    font-size: 42px;
  }

  .publication-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .publication-venue {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .publication-venue strong {
    font-size: 18px;
    line-height: 1.1;
  }

  .publication-venue small {
    white-space: normal;
  }

  .publication-image-frame {
    height: min(68vw, 270px);
  }

  .publication-copy h3 {
    font-size: 22px;
  }

  .publication-copy {
    padding-top: 0;
  }

  .project-index > a {
    min-height: 270px;
    padding: 21px 18px 24px;
    grid-template-columns: 42px 1fr auto;
  }

  .project-index h3 {
    font-size: 39px;
  }

  .project-index small {
    margin-top: 54px;
  }

  .background-columns dl > div,
  .honor-list li {
    grid-template-columns: 70px 1fr;
  }

  .manifesto-inner {
    padding: 88px 0;
  }

  .manifesto blockquote,
  .project-principle blockquote {
    font-size: 49px;
  }

  .page-title {
    min-height: 500px;
    padding-top: 72px;
  }

  .page-title h1 {
    font-size: 76px;
  }

  .page-title-copy {
    margin-top: 66px;
  }

  .research-article {
    padding: 52px 0 58px;
  }

  .research-article > header {
    margin-bottom: 40px;
  }

  .article-body h2 {
    font-size: 35px;
  }

  .article-body > p {
    margin-top: 27px;
  }

  .method-line {
    gap: 7px 20px;
  }

  .question-section {
    padding: 90px 0;
  }

  .question-intro h2,
  .public-note h2 {
    font-size: 48px;
  }

  .question-list article {
    min-height: 250px;
  }

  .public-note {
    padding: 90px 0;
  }

  .system-row {
    display: block;
    padding: 25px 0 32px;
  }

  .system-title {
    margin-top: 40px;
  }

  .system-title h2 {
    font-size: 45px;
  }

  .system-row > p {
    margin-top: 30px;
  }

  .notes-page-title {
    min-height: 470px;
  }

  .notes-archive {
    padding-top: 40px;
    padding-bottom: 90px;
  }

  .note-row {
    display: grid;
    min-height: 0;
    padding: 30px 0 34px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px 18px;
  }

  .note-row:hover {
    padding-right: 10px;
    padding-left: 10px;
  }

  .note-row-meta {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    grid-column: 1 / 2;
  }

  .note-row-type {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    grid-column: 2 / 3;
  }

  .note-row-copy {
    grid-column: 1 / 3;
  }

  .note-row-copy h2 {
    margin-top: 0;
    font-size: 40px;
  }

  .note-row-copy > p {
    margin-top: 20px;
    font-size: 14px;
  }

  .note-row-link {
    margin-top: 24px;
  }

  .note-row-arrow {
    display: none;
  }

  .note-article {
    padding-top: 34px;
    padding-bottom: 92px;
  }

  .note-article-header {
    padding: 64px 0 54px;
  }

  .note-article-header h1 {
    font-size: 56px;
    line-height: 0.94;
  }

  .note-article-header > p {
    margin-top: 42px;
    font-size: 18px;
  }

  .note-article-content {
    display: block;
    padding-top: 42px;
  }

  .note-article-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
  }

  .note-article-meta strong {
    margin-top: 0;
  }

  .note-prose {
    margin-top: 38px;
  }

  .note-prose > p {
    font-size: 17px;
    line-height: 1.72;
  }

  .note-prose blockquote {
    margin: 38px 0;
    padding: 20px 20px 22px;
    font-size: 23px;
  }

  .system-row > ul {
    display: flex;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 6px 15px;
  }

  .system-row > i {
    position: absolute;
    top: 22px;
    right: 0;
  }

  .system-row:hover {
    padding-right: 14px;
    padding-left: 14px;
  }

  .project-principle > .editorial-shell {
    padding: 90px 0;
  }

  .footer-inner {
    min-height: 170px;
  }
}

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

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

  .cursor-tracker {
    display: none;
  }
}
