:root {
  color-scheme: dark;
  --bg: #111214;
  --surface: #191a1d;
  --surface-raised: #202126;
  --text: #f1f0eb;
  --muted: #a7a8ad;
  --faint: #777980;
  --line: rgba(241, 240, 235, 0.14);
  --line-strong: rgba(241, 240, 235, 0.28);
  --blue: #8fa6ff;
  --blue-soft: #cbd4ff;
  --paper: #e7e4da;
  --warm-paper: #efe8dc;
  --sand: #d9b27c;
  --moss: #7e8b73;
  --ink: #25262a;
  --max-width: 1220px;
  --pad: clamp(20px, 4.5vw, 72px);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 83% 7%, rgba(217, 178, 124, 0.09), transparent 30rem),
    radial-gradient(circle at 18% 42%, rgba(143, 166, 255, 0.045), transparent 34rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

button {
  color: inherit;
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(17, 18, 20, 0.86);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wordmark-en {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.7vw, 36px);
  align-items: center;
}

.site-nav a {
  position: relative;
  display: grid;
  gap: 1px;
  color: #d8d8d2;
}

.nav-zh {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.nav-en {
  color: #777980;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover .nav-en,
.site-nav a[aria-current="page"] .nav-en {
  color: var(--blue-soft);
}

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

.menu-button {
  display: none;
}

main,
.site-footer {
  width: min(100%, calc(var(--max-width) + var(--pad) * 2));
  margin: 0 auto;
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.kicker,
.eyebrow,
.project-meta,
.board-label,
.scene-caption,
.prototype-label {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: 100svh;
  padding-top: 140px;
  padding-bottom: 86px;
  grid-template-columns: minmax(0, 1.36fr) minmax(320px, 0.64fr);
  gap: clamp(38px, 5vw, 76px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: hero-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-page .hero .kicker {
  color: var(--blue);
}

.hero h1 {
  max-width: none;
  margin: 24px 0 42px;
  font-size: clamp(48px, 5.6vw, 86px);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.062em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 .hero-title-accent {
  color: var(--blue);
  margin-bottom: 0.22em;
  font-size: 0.72em;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.hero-intro {
  max-width: 720px;
  margin: 0;
  color: #d2d1cb;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.9;
}

.hero-intro strong {
  color: var(--warm-paper);
  font-weight: 620;
  white-space: nowrap;
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
  font-size: 13px;
}

.text-links a,
.inline-link,
.download-link,
.publication-item > a {
  width: fit-content;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 160ms ease, border-color 160ms ease;
}

.text-links a:hover,
.inline-link:hover,
.download-link:hover,
.publication-item > a:hover {
  border-color: var(--blue);
  color: var(--blue-soft);
}

.hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(26px, 3.2vw, 46px);
  margin-top: clamp(58px, 7.5vh, 82px);
  align-items: flex-start;
}

.hero-nav a {
  position: relative;
  display: grid;
  gap: 3px;
  color: #d8d8d2;
  transition: color 160ms ease;
}

.hero-nav-zh {
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hero-nav-en {
  color: #85878c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.hero-nav a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--blue-soft);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.hero-nav a:hover {
  color: var(--text);
}

.hero-nav a:hover .hero-nav-en {
  color: var(--blue-soft);
}

.hero-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-window {
  position: relative;
  width: min(100%, 470px);
  margin: 8px 0 0 auto;
  padding: 0;
  animation: board-in 720ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  aspect-ratio: 0.86;
  overflow: hidden;
  background: var(--bg);
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 52% 47%, #000 48%, rgba(0, 0, 0, 0.9) 65%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 78% at 52% 47%, #000 48%, rgba(0, 0, 0, 0.9) 65%, transparent 100%);
}

.hero-photo-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to right, rgba(17, 18, 20, 0.72), transparent 22%, transparent 78%, rgba(17, 18, 20, 0.7)),
    linear-gradient(to bottom, rgba(17, 18, 20, 0.52), transparent 22%, transparent 73%, rgba(17, 18, 20, 0.84));
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  filter: brightness(0.82) contrast(1.13) saturate(0.72);
}

.section {
  padding: clamp(96px, 12vw, 166px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  margin-bottom: clamp(42px, 7vw, 82px);
  grid-template-columns: minmax(170px, 0.38fr) 1fr;
  gap: 32px;
  align-items: end;
}

.section-heading-primary {
  display: block;
}

.section-heading p,
.content-label p {
  margin: 0;
}

.section-heading h2,
.research-teaser h2,
.about-section h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 5.1vw, 68px);
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.section-heading-primary h2,
.research-teaser > div:first-child h2 {
  max-width: none;
  font-size: clamp(58px, 8.6vw, 118px);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-heading-primary h2 {
  display: flex;
  width: fit-content;
  gap: clamp(16px, 2vw, 28px);
  align-items: baseline;
}

.section-title-en {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(10px, 1.1vw, 14px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-stack {
  position: relative;
  display: grid;
  gap: clamp(32px, 5vw, 66px);
}

.project-card {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.2);
}

.project-tiptap {
  grid-template-columns: 0.76fr 1.24fr;
  background:
    radial-gradient(circle at 16% 18%, rgba(217, 178, 124, 0.08), transparent 24rem),
    var(--surface);
}

.project-cloud {
  grid-template-columns: 1.14fr 0.86fr;
}

.project-copy {
  position: relative;
  z-index: 3;
  display: flex;
  padding: clamp(34px, 5vw, 68px);
  flex-direction: column;
  justify-content: center;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.project-copy h3 {
  margin: 26px 0 15px;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -0.055em;
}

.project-lead {
  max-width: 520px;
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
}

.project-description {
  max-width: 570px;
  margin: 0;
  color: #c4c4c0;
  line-height: 1.85;
}

.project-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.project-copy .inline-link {
  margin-top: 28px;
  font-size: 13px;
}

.fact-row {
  display: grid;
  padding: 0;
  margin: 38px 0 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
}

.fact-row li {
  display: flex;
  padding: 18px 14px 0 0;
  flex-direction: column;
}

.fact-row strong {
  font-size: 13px;
  font-weight: 650;
}

.fact-row span {
  color: var(--muted);
  font-size: 10px;
}

.tiptap-scene {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 178, 124, 0.22), transparent 20rem),
    radial-gradient(circle at 18% 78%, rgba(143, 166, 255, 0.22), transparent 24rem),
    #20232b;
}

.desktop-menubar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 8;
  display: flex;
  height: 32px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  color: rgba(241, 240, 235, 0.78);
  background: rgba(17, 18, 20, 0.58);
  backdrop-filter: blur(16px);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.desktop-brand {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-weight: 650;
}

.desktop-brand i,
.live-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #91d6a2;
  box-shadow: 0 0 0 3px rgba(145, 214, 162, 0.12);
}

.desktop-canvas {
  position: absolute;
  inset: 32px 0 0;
  overflow: hidden;
  background:
    linear-gradient(138deg, transparent 42%, rgba(241, 240, 235, 0.035) 42.2%, transparent 42.6%),
    linear-gradient(40deg, rgba(143, 166, 255, 0.08), transparent 47%);
}

.desktop-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(241, 240, 235, 0.22);
  border-radius: 15px;
  background: rgba(239, 232, 220, 0.9);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.window-main {
  top: 58px;
  left: 8%;
  width: 74%;
  height: 316px;
  transform: rotate(-0.6deg);
}

.window-bar {
  display: flex;
  height: 31px;
  padding: 0 11px;
  gap: 5px;
  align-items: center;
  color: rgba(37, 38, 42, 0.56);
  border-bottom: 1px solid rgba(37, 38, 42, 0.1);
  background: rgba(255, 255, 255, 0.28);
  font-size: 8px;
}

.window-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(37, 38, 42, 0.18);
}

.window-bar span {
  margin-left: 6px;
}

.window-body {
  padding: 30px 28px;
}

.copy-line {
  display: block;
  height: 7px;
  margin-bottom: 13px;
  border-radius: 5px;
  background: rgba(37, 38, 42, 0.16);
}

.line-long { width: 82%; }
.line-mid { width: 62%; }
.line-short { width: 43%; }

.window-card {
  width: 82%;
  height: 100px;
  margin-top: 31px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(143, 166, 255, 0.74) 0 35%, transparent 35%),
    rgba(37, 38, 42, 0.08);
}

.window-side {
  top: 300px;
  right: 6%;
  width: 43%;
  height: 164px;
  background: rgba(203, 212, 255, 0.92);
  transform: rotate(1.4deg);
}

.mini-grid {
  display: grid;
  padding: 18px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-grid i {
  height: 42px;
  border-radius: 6px;
  background: rgba(37, 38, 42, 0.12);
}

.context-panel {
  position: absolute;
  bottom: 112px;
  left: 5%;
  z-index: 3;
  display: flex;
  min-width: 190px;
  padding: 14px 16px;
  flex-direction: column;
  border: 1px solid rgba(241, 240, 235, 0.22);
  border-radius: 13px;
  background: rgba(17, 18, 20, 0.56);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.context-panel span,
.context-panel small {
  color: rgba(241, 240, 235, 0.54);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.context-panel strong {
  margin: 5px 0 2px;
  color: var(--text);
  font-size: 12px;
  font-weight: 580;
}

.dock-line {
  position: absolute;
  right: 11%;
  bottom: 20px;
  left: 11%;
  display: flex;
  height: 62px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(241, 240, 235, 0.28);
  border-radius: 19px;
  background: rgba(239, 232, 220, 0.14);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.dock-line i {
  width: 32px;
  height: 32px;
  border-radius: 8px 10px 7px 9px;
  background: rgba(239, 232, 220, 0.72);
  box-shadow: inset 0 0 0 1px rgba(37, 38, 42, 0.11);
}

.dock-line i:nth-child(2),
.dock-line i:nth-child(5) {
  background: rgba(143, 166, 255, 0.82);
}

.dock-line i:nth-child(3) {
  background: rgba(217, 178, 124, 0.82);
}

.dock-line i:nth-child(4) {
  background: rgba(126, 139, 115, 0.86);
}

.scene-peanut {
  position: absolute;
  left: 45%;
  bottom: 70px;
  z-index: 6;
  width: 94px;
  filter: drop-shadow(0 11px 12px rgba(0, 0, 0, 0.24));
  animation: desktop-patrol 9s ease-in-out infinite;
}

.live-status {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 4;
  display: inline-flex;
  padding: 7px 10px;
  gap: 7px;
  align-items: center;
  color: rgba(241, 240, 235, 0.72);
  border: 1px solid rgba(241, 240, 235, 0.17);
  border-radius: 999px;
  background: rgba(17, 18, 20, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.cloud-collage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 30%, rgba(143, 166, 255, 0.16), transparent 24rem),
    #15171c;
}

.prototype-shot {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: #f4f4f2;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  opacity: 1;
  transition:
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 520ms ease,
    box-shadow 260ms ease;
}

.prototype-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-library {
  top: 52px;
  left: 8%;
  width: 78%;
  height: 344px;
  transform: rotate(-2.2deg);
}

.shot-workspace {
  right: -15%;
  bottom: 44px;
  width: 75%;
  height: 306px;
  transform: rotate(2.4deg);
}

.project-cloud:not(.is-in-view) .shot-library {
  opacity: 0.58;
  transform: translateY(24px) rotate(-3deg);
}

.project-cloud:not(.is-in-view) .shot-workspace {
  opacity: 0.46;
  transform: translateY(34px) rotate(3.4deg);
}

.project-cloud.is-in-view:hover .shot-library,
.project-cloud.is-in-view:focus-within .shot-library {
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px) rotate(-1.7deg);
}

.project-cloud.is-in-view:hover .shot-workspace,
.project-cloud.is-in-view:focus-within .shot-workspace {
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px) rotate(1.9deg);
}

.prototype-label {
  position: absolute;
  bottom: 28px;
  left: 36px;
  z-index: 4;
  padding-left: 12px;
  color: var(--blue-soft);
  border-left: 1px solid rgba(203, 212, 255, 0.52);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-teaser,
.about-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(50px, 9vw, 140px);
  align-items: end;
}

.research-teaser h2,
.about-section h2 {
  margin-top: 15px;
}

.research-teaser {
  align-items: start;
}

.teaser-copy h3 {
  max-width: 560px;
  margin: 2px 0 22px;
  color: var(--text);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 540;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.teaser-copy,
.about-copy {
  color: #c5c5c1;
  font-size: 17px;
}

.teaser-copy p,
.about-copy p {
  margin-top: 0;
}

.teaser-copy .inline-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--text);
  font-size: 13px;
}

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

.timeline-item {
  display: grid;
  padding: 30px 0;
  grid-template-columns: 110px minmax(220px, 0.8fr) 1.2fr;
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.timeline-main h3 {
  margin: 0 0 2px;
  font-size: 21px;
  font-weight: 560;
  letter-spacing: -0.025em;
}

.timeline-main p,
.timeline-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.timeline-note {
  padding-top: 5px;
}

.about-copy .text-links {
  margin-top: 34px;
}

.site-footer {
  display: flex;
  padding-top: 28px;
  padding-bottom: 34px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.site-footer p {
  margin: 0;
}

/* Research & Writing */
.inner-page {
  padding-top: 150px;
}

.page-intro {
  max-width: 980px;
  padding: 80px 0 clamp(108px, 14vw, 182px);
}

.page-intro h1 {
  margin: 24px 0 42px;
  font-size: clamp(52px, 6.6vw, 90px);
  font-weight: 550;
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.page-intro > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #c8c8c3;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.75;
}

.content-section {
  display: grid;
  padding: clamp(78px, 10vw, 132px) 0;
  grid-template-columns: minmax(170px, 0.31fr) 1fr;
  gap: clamp(34px, 7vw, 100px);
  border-top: 1px solid var(--line);
}

.content-label span {
  display: block;
  margin-top: 10px;
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.bilingual-kicker {
  display: grid;
  gap: 4px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

.bilingual-kicker small,
.bilingual-label small,
.content-role small,
.research-details dt small,
.cv-aside h2 small,
.cv-section > h2 small,
.download-link small,
.site-footer small {
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bilingual-label {
  display: grid;
  gap: 3px;
}

.content-label .bilingual-label span {
  margin: 0;
  color: #d8d8d2;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

.content-label .content-role {
  display: grid;
  gap: 2px;
}

.content-role strong {
  color: #bfc0bc;
  font-family: inherit;
  font-size: 12px;
  font-weight: 520;
}

.content-role small,
.bilingual-label small {
  display: block;
  margin: 0;
}

.research-details dt small {
  display: block;
  margin-top: 2px;
}

.doctoral-copy h2,
.content-title,
.public-project h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 520;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.doctoral-copy > p {
  max-width: 760px;
  margin: 30px 0 0;
  color: #c4c4c0;
  font-size: 18px;
  line-height: 1.85;
}

.research-details {
  display: grid;
  max-width: 760px;
  margin: 54px 0 0;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.research-details div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.research-details dt {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.research-details dd {
  margin: 8px 0 0;
  font-size: 13px;
}

.publication-list {
  margin-top: 42px;
  border-top: 1px solid var(--line-strong);
}

.publication-item {
  display: grid;
  padding: 26px 0;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.publication-year {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.publication-item h3 {
  margin: 0 0 6px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 530;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.publication-item .publication-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.publication-item .publication-summary {
  max-width: 780px;
  margin: 16px 0 4px;
  color: #c9c8c2;
  font-size: 15px;
  line-height: 1.85;
}

.journalism-grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.journalism-grid a {
  position: relative;
  min-height: 226px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.012);
  transition: background 180ms ease;
}

.journalism-grid a::after {
  position: absolute;
  right: -26px;
  bottom: -36px;
  width: 126px;
  height: 126px;
  content: "";
  border: 1px solid rgba(143, 166, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(143, 166, 255, 0.035), 0 0 0 40px rgba(143, 166, 255, 0.02);
}

.journalism-grid a:hover {
  background: rgba(143, 166, 255, 0.07);
}

.journalism-grid span {
  color: var(--blue-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.journalism-grid h3 {
  max-width: 440px;
  margin: 48px 0 0;
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 520;
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.public-project {
  display: grid;
  padding: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr 0.52fr;
  gap: 60px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.public-project p {
  color: #c4c4c0;
}

.public-project h2 + p {
  max-width: 680px;
  margin: 26px 0 0;
}

.project-outcome {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-outcome > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.project-outcome .text-links {
  margin-top: 22px;
}

/* Experience */
.experience-page {
  padding-top: clamp(132px, 13vw, 184px);
}

.experience-page .content-section {
  padding: clamp(54px, 6vw, 78px) 0;
  grid-template-columns: minmax(190px, 0.27fr) 1fr;
  column-gap: clamp(44px, 7vw, 96px);
  row-gap: clamp(36px, 4vw, 50px);
  border-top: 0;
}

.experience-page .content-section:first-child {
  padding-top: 28px;
  border-top: 0;
}

.experience-entry {
  position: relative;
  display: grid;
  padding: clamp(28px, 3.4vw, 42px) 0;
  grid-column: 1 / -1;
  grid-template-columns: minmax(190px, 0.27fr) 1fr;
  gap: clamp(44px, 7vw, 96px);
  isolation: isolate;
}

.experience-entry::before {
  position: absolute;
  z-index: -1;
  inset: 0 -24px;
  content: "";
  border-radius: 20px;
  background:
    linear-gradient(112deg, rgba(143, 166, 255, 0.085), rgba(255, 255, 255, 0.026) 52%, rgba(255, 255, 255, 0.012)),
    var(--surface);
  box-shadow: inset 0 0 0 1px rgba(203, 212, 255, 0.08);
}

.experience-entry::after {
  position: absolute;
  top: 0;
  left: -24px;
  width: 76px;
  height: 2px;
  content: "";
  border-radius: 20px 0;
  background: var(--blue);
}

.experience-story {
  min-width: 0;
  grid-column: 2;
}

.experience-page .content-label {
  align-self: start;
}

.experience-page .content-label > .experience-index {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 680;
  line-height: 0.85;
  letter-spacing: -0.055em;
}

.experience-page .content-label .eyebrow,
.experience-page .content-label > span,
.experience-page .content-role strong,
.experience-page .content-role small {
  color: var(--blue-soft);
}

.experience-page .content-label .eyebrow {
  font-size: 12px;
  letter-spacing: 0.11em;
}

.experience-page .content-label > span {
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.55;
}

.experience-page .content-label .content-role {
  margin-top: 24px;
}

.experience-page .content-role strong {
  font-size: 15px;
  font-weight: 620;
  line-height: 1.5;
}

.experience-page .content-role small {
  max-width: 180px;
  margin-top: 5px;
  font-size: 9px;
  line-height: 1.55;
}

.experience-entry-copy > h1,
.experience-entry-copy > h2 {
  margin: 0;
  font-size: clamp(38px, 4.7vw, 60px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -0.052em;
}

.experience-entry-copy > .company-title-long {
  font-size: clamp(34px, 3.75vw, 50px);
}

.experience-lead {
  max-width: 880px;
  margin: 18px 0 0;
  color: #d0cfc9;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.75;
}

.experience-grid {
  display: grid;
  margin-top: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 46px);
  border: 0;
}

.experience-grid section {
  padding: 4px 0 0;
}

.experience-grid section + section {
  padding-left: 0;
  border-left: 0;
}

.experience-grid h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.experience-grid h3::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 11px;
  content: "";
  background: var(--blue);
  transform: rotate(45deg);
  vertical-align: 0.16em;
}

.experience-grid p {
  margin: 0;
  color: #b8b8b4;
  font-size: 14px;
  line-height: 1.9;
}

.experience-story > .inline-link {
  display: inline-block;
  margin-top: 34px;
  font-size: 13px;
}

.experience-group-title {
  margin: 0 0 20px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 540;
  letter-spacing: -0.035em;
}

.experience-lanes {
  display: grid;
  margin-top: 0;
  grid-template-columns: 1fr;
  gap: 8px;
}

.experience-lane {
  display: grid;
  min-width: 0;
  padding: 24px 0;
  grid-template-columns: minmax(120px, 0.2fr) minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 18px clamp(22px, 3.5vw, 48px);
  align-items: start;
}

.experience-lane + .experience-lane {
  padding-left: 0;
  border-left: 0;
}

.work-record-label {
  margin: 5px 0 0;
  color: var(--blue-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.work-record-main h2 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 570;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.process-flow {
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: 8px 0;
  color: var(--blue-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  line-height: 1.6;
  list-style: none;
}

.process-flow li {
  display: inline-flex;
  align-items: center;
}

.process-flow li:not(:last-child)::after {
  margin: 0 8px;
  color: rgba(203, 212, 255, 0.44);
  content: "→";
}

.experience-points {
  display: grid;
  padding: 0;
  margin: 2px 0 0;
  gap: 13px;
  color: #b9b9b5;
  font-size: 14px;
  line-height: 1.78;
  list-style: none;
}

.experience-points li {
  position: relative;
  padding-left: 17px;
}

.experience-points li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--blue);
}

.case-timeline {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
}

.case-timeline li {
  display: grid;
  padding: 0;
  padding-left: 0;
  grid-template-columns: 46px minmax(104px, 0.32fr) minmax(0, 1fr);
  gap: 10px 14px;
  align-items: start;
}

.case-timeline li::before {
  display: none;
  content: none;
}

.case-timeline span {
  display: inline-flex;
  align-items: center;
  color: var(--blue-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.case-timeline span::before {
  content: none;
}

.case-timeline h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 620;
}

.case-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.secondary-work {
  margin-top: clamp(46px, 5vw, 64px);
}

.secondary-work > h2 {
  margin: 0 0 24px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 540;
  letter-spacing: -0.035em;
}

.secondary-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.secondary-work-grid article {
  display: grid;
  padding: 24px 0;
  border-radius: 0;
  background: transparent;
  grid-template-columns: minmax(120px, 0.2fr) minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 18px clamp(22px, 3.5vw, 48px);
  align-items: start;
}

.secondary-work-grid .eyebrow {
  margin: 5px 0 0;
  color: var(--blue-soft);
}

.secondary-work-grid .secondary-work-featured {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(36px, 5vw, 70px);
  padding-top: 24px;
  padding-bottom: 30px;
  background: transparent;
}

.featured-task-intro {
  grid-column: 1;
}

.featured-task-copy {
  margin-top: 18px;
}

.featured-task-copy > p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.secondary-work-featured .case-timeline {
  grid-column: 2;
}

.secondary-work-grid h3 {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 23px);
  font-weight: 580;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.secondary-work-grid ul {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
  list-style: none;
}

.secondary-work-grid li {
  position: relative;
  padding-left: 14px;
}

.secondary-work-grid li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--blue);
}

.secondary-work-grid .case-timeline li {
  padding-left: 0;
}

.secondary-work-grid .case-timeline li::before {
  display: none;
  content: none;
}

.secondary-work-grid .case-timeline h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.capability-tags {
  display: flex;
  padding: 0;
  margin: clamp(38px, 5vw, 56px) 0 0;
  flex-wrap: wrap;
  gap: 9px 18px;
  list-style: none;
}

.capability-tags li {
  color: var(--blue-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.015em;
}

.experience-company-legal {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.experience-compact {
  padding-bottom: clamp(90px, 11vw, 142px);
}

/* CV */
.cv-intro {
  display: grid;
  padding: 72px 0 clamp(92px, 12vw, 146px);
  grid-template-columns: 1fr 0.65fr;
  gap: 60px;
  align-items: end;
}

.cv-intro h1 {
  margin: 18px 0 0;
  font-size: clamp(58px, 8vw, 108px);
  font-weight: 550;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.cv-intro h1 span {
  color: var(--muted);
  font-size: 0.48em;
  letter-spacing: -0.045em;
}

.cv-summary p {
  margin: 0 0 26px;
  color: #cacac5;
  font-size: 18px;
}

.cv-summary {
  display: flex;
  gap: 28px;
  align-items: center;
}

.cv-avatar {
  position: relative;
  width: 154px;
  min-width: 154px;
  height: 154px;
  margin: 0;
  border-radius: 50%;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.24));
}

.cv-avatar::before {
  position: absolute;
  inset: -6px -4px -5px -7px;
  z-index: 2;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(143, 166, 255, 0.58);
  border-right-color: rgba(143, 166, 255, 0.16);
  border-radius: 47% 53% 49% 51%;
  transform: rotate(-8deg);
}

.cv-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 27% 74%;
  border-radius: 50%;
}

.education-entry > div:last-child > p:first-of-type {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cv-entry .cv-coursework {
  max-width: 720px;
  margin: 13px 0 0;
  color: #b7b7b2;
  font-size: 12px;
  line-height: 1.75;
}

.cv-coursework span {
  display: inline-block;
  margin-right: 10px;
  color: var(--blue-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-link {
  display: inline-block;
  font-size: 13px;
}

.cv-layout {
  display: grid;
  padding-bottom: 130px;
  grid-template-columns: minmax(190px, 0.3fr) 1fr;
  gap: clamp(50px, 9vw, 132px);
  border-top: 1px solid var(--line);
}

.cv-aside {
  padding-top: 62px;
}

.cv-aside section {
  padding: 0 0 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.cv-aside h2 {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cv-aside h2 span {
  display: block;
  color: #d8d8d2;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

.cv-aside h2 small {
  display: block;
  margin-top: 3px;
}

.cv-aside a,
.cv-aside p {
  display: block;
  margin: 4px 0;
  color: #c6c6c1;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.cv-aside a:hover {
  color: var(--blue-soft);
}

.cv-section {
  padding: 62px 0 70px;
  border-bottom: 1px solid var(--line);
}

.cv-section > h2 {
  margin: 0 0 38px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 520;
  letter-spacing: -0.045em;
}

.cv-section > h2 span,
.cv-section > h2 small {
  display: block;
}

.cv-section > h2 small {
  margin-top: 7px;
}

.download-link small {
  margin-left: 8px;
}

.site-footer small {
  display: block;
  margin-top: 2px;
}

.cv-entry {
  display: grid;
  padding: 30px 0;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.cv-entry.compact {
  padding: 22px 0;
}

.cv-date {
  padding-top: 5px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.cv-entry h3 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 550;
}

.cv-role,
.cv-entry.compact p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cv-entry ul {
  padding-left: 18px;
  margin: 18px 0 0;
  color: #c2c2be;
  font-size: 14px;
}

.cv-entry li + li {
  margin-top: 8px;
}

.cv-entry div > p:not(.cv-role) {
  max-width: 720px;
  color: #c2c2be;
}

.cv-publications {
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
}

.cv-publications p {
  display: grid;
  padding: 18px 0;
  margin: 0;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.cv-publications span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

/* 2026 content revision */
.site-nav .nav-zh {
  font-size: 14px;
}

.research-page {
  padding-top: clamp(118px, 12vw, 164px);
}

.research-intro {
  max-width: 1030px;
  padding: 48px 0 clamp(96px, 12vw, 150px);
}

.research-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(54px, 7vw, 94px);
  font-weight: 540;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.research-intro-copy {
  display: grid;
  max-width: 940px;
  margin-top: clamp(42px, 6vw, 72px);
  gap: 18px;
}

.research-intro-copy p {
  margin: 0;
  color: var(--blue-soft);
  font-size: clamp(17px, 1.75vw, 21px);
  line-height: 1.9;
}

.content-label-title {
  margin: 0;
  color: #e4e3de;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.research-page .content-label > span {
  margin-top: 14px;
}

.research-page .doctoral-copy > p {
  max-width: 820px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.95;
}

.research-page .doctoral-copy > h2 + p {
  margin-top: 34px;
}

.data-writing-content {
  min-width: 0;
}

.research-subsection + .research-subsection {
  margin-top: clamp(72px, 9vw, 112px);
}

.research-subsection-heading {
  display: flex;
  margin-bottom: 28px;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.research-subsection-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 520;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.research-subsection-heading span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.data-writing-block .journalism-grid {
  margin-top: 0;
  gap: 0 clamp(26px, 4vw, 54px);
}

.data-writing-block .journalism-grid a {
  min-height: 0;
  padding: 26px 0 30px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.data-writing-block .journalism-grid a::after {
  content: none;
}

.data-writing-block .journalism-grid a:hover {
  background: transparent;
}

.data-writing-block .journalism-grid h3 {
  margin-top: 18px;
  font-size: clamp(17px, 1.75vw, 22px);
  line-height: 1.55;
}

.data-writing-block .public-project {
  padding: 34px 0;
  gap: 48px;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.data-writing-block .public-project h2 {
  font-size: clamp(28px, 3.7vw, 44px);
}

.experience-page .content-section,
.experience-page .content-section:first-child {
  padding: clamp(44px, 5.5vw, 70px) 0;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 52px);
}

.experience-page .content-section:first-child {
  padding-top: 22px;
}

.experience-entry {
  position: relative;
  display: grid;
  min-height: 250px;
  padding: clamp(34px, 4.5vw, 54px);
  overflow: hidden;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
  border-radius: 22px;
  isolation: isolate;
}

.experience-entry::before {
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(112deg, rgba(143, 166, 255, 0.09), rgba(255, 255, 255, 0.025) 54%, rgba(255, 255, 255, 0.012)),
    var(--surface);
  box-shadow: inset 0 0 0 1px rgba(203, 212, 255, 0.07);
}

.experience-entry::after {
  z-index: 3;
  left: 0;
  width: 78px;
}

.experience-entry > * {
  position: relative;
  z-index: 2;
}

.experience-entry > .experience-index {
  position: absolute;
  right: clamp(14px, 2.5vw, 34px);
  bottom: -0.2em;
  z-index: 1;
  color: rgba(143, 166, 255, 0.075);
  font-size: clamp(118px, 15vw, 198px);
  font-weight: 720;
  line-height: 0.8;
  letter-spacing: -0.09em;
  pointer-events: none;
}

.experience-identity h1,
.experience-identity h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 540;
  line-height: 1.08;
  letter-spacing: -0.052em;
}

.experience-identity .company-title-long {
  font-size: clamp(28px, 3.35vw, 43px);
  line-height: 1.18;
}

.experience-role {
  margin: 22px 0 0;
  color: var(--blue-soft);
  font-size: 15px;
  font-weight: 600;
}

.experience-date {
  margin: 5px 0 0;
  color: #92949b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.experience-identity .experience-company-legal {
  margin: 10px 0 0;
  font-size: 12px;
}

.experience-entry-copy {
  align-self: center;
}

.experience-entry-copy .experience-lead {
  max-width: 760px;
  margin: 0;
  font-size: clamp(17px, 1.75vw, 21px);
  line-height: 1.85;
}

.experience-story {
  min-width: 0;
  grid-column: 1 / -1;
}

.qcraft-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(34px, 5vw, 70px);
}

.qcraft-track {
  min-width: 0;
}

.qcraft-track > h2,
.experience-grid h3 {
  display: flex;
  margin: 0 0 20px;
  align-items: center;
  gap: 12px;
}

.qcraft-track > h2 {
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 550;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.qcraft-track > h2::before,
.experience-grid h3::before {
  width: 7px;
  height: 7px;
  margin: 0;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: var(--blue);
  transform: none;
}

.qcraft-track > p {
  min-height: 150px;
  margin: 0;
  color: #bdbdb8;
  font-size: 15px;
  line-height: 1.9;
}

.experience-case {
  padding: clamp(24px, 3vw, 34px);
  margin-top: 28px;
  border-radius: 19px;
  background:
    radial-gradient(circle at 90% 8%, rgba(143, 166, 255, 0.13), transparent 17rem),
    rgba(255, 255, 255, 0.035);
}

.experience-case-emergency {
  background:
    radial-gradient(circle at 92% 5%, rgba(217, 178, 124, 0.11), transparent 18rem),
    rgba(255, 255, 255, 0.035);
}

.case-type {
  margin: 0;
  color: var(--blue-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.experience-case h3 {
  margin: 12px 0 24px;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.experience-case dl {
  display: grid;
  margin: 0;
  gap: 15px;
}

.experience-case dl > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.experience-case dt {
  color: var(--blue-soft);
  font-size: 11px;
}

.experience-case dd {
  margin: 0;
  color: #c1c1bd;
  font-size: 13px;
  line-height: 1.75;
}

.workflow-note {
  display: grid;
  padding: 22px 26px;
  margin-top: clamp(28px, 4vw, 46px);
  grid-template-columns: 112px 1fr;
  gap: 24px;
  border-radius: 15px;
  background: rgba(143, 166, 255, 0.055);
}

.workflow-note .case-type {
  padding-top: 4px;
}

.workflow-note h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 580;
  letter-spacing: -0.025em;
}

.workflow-note div > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.78;
}

.experience-grid {
  gap: clamp(26px, 4vw, 54px);
}

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

.experience-grid h3 {
  font-size: 19px;
}

.experience-page .experience-compact {
  padding-bottom: clamp(44px, 5.5vw, 70px);
}

.experience-page .content-section:last-child {
  padding-bottom: clamp(96px, 11vw, 142px);
}

.cv-kicker {
  color: var(--blue);
  font-family: inherit;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: none;
}

.cv-summary {
  justify-content: flex-end;
}

.cv-summary .download-link {
  flex: 0 0 auto;
}

.cv-aside h2 {
  color: #d8d8d2;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

.cv-section > h2 {
  font-size: clamp(32px, 4.1vw, 50px);
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes board-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes desktop-patrol {
  0%, 100% { transform: translate(-34px, 0) rotate(-1.5deg); }
  46% { transform: translate(40px, -3px) rotate(1deg); }
  54% { transform: translate(40px, -3px) rotate(-1deg); }
}

@keyframes companion-breathe {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1.5deg); }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 174px;
    grid-template-columns: 1fr;
  }

  .hero-window {
    width: min(70vw, 520px);
    margin-top: 22px;
    margin-right: auto;
  }

  .project-tiptap,
  .project-cloud {
    grid-template-columns: 1fr;
  }

  .tiptap-scene,
  .cloud-collage {
    min-height: 560px;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .project-cloud .cloud-collage {
    order: 2;
  }

  .research-teaser,
  .about-section {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 80px 0.8fr 1.2fr;
  }

  .content-section {
    grid-template-columns: 150px 1fr;
  }

  .qcraft-work-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .qcraft-track > p {
    min-height: 0;
  }

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

  .cv-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .menu-button {
    position: relative;
    z-index: 52;
    display: block;
    width: 36px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    transition: opacity 160ms ease, transform 180ms ease;
  }

  .menu-button span:not(.sr-only) {
    position: absolute;
    left: 6px;
    display: block;
    width: 24px;
    height: 1px;
    background: var(--text);
    transition: transform 180ms ease, top 180ms ease;
  }

  .menu-button span:nth-child(2) { top: 11px; }
  .menu-button span:nth-child(3) { top: 20px; }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    top: 16px;
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    top: 16px;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 51;
    display: flex;
    width: 100vw;
    height: 100svh;
    padding: 110px var(--pad) 52px;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    justify-content: flex-start;
    background: rgba(17, 18, 20, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 180ms ease;
  }

  .site-nav a {
    gap: 3px;
  }

  .site-nav .nav-zh {
    font-size: 23px;
  }

  .site-nav .nav-en {
    font-size: 8px;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 72px;
    gap: 54px;
  }

  .hero h1 {
    margin-top: 18px;
    margin-bottom: 30px;
    font-size: clamp(30px, 9.7vw, 58px);
    line-height: 1.08;
  }

  .hero-intro {
    font-size: 17px;
  }

  .hero-nav {
    gap: 18px 14px;
    margin-top: 52px;
  }

  .hero-nav-zh {
    font-size: 17px;
  }

  .hero-nav-en {
    font-size: 8px;
  }

  .hero-window {
    width: min(92%, 500px);
  }

  .section {
    padding: 88px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading-primary h2,
  .research-teaser > div:first-child h2 {
    font-size: clamp(52px, 16vw, 80px);
  }

  .project-card {
    min-height: auto;
    border-radius: 20px;
  }

  .project-copy {
    padding: 32px 24px 38px;
  }

  .project-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .project-copy h3 {
    margin-top: 22px;
    font-size: 48px;
  }

  .fact-row {
    grid-template-columns: 1fr;
  }

  .fact-row li {
    display: grid;
    grid-template-columns: 105px 1fr;
  }

  .tiptap-scene,
  .cloud-collage {
    min-height: 430px;
  }

  .window-main {
    top: 44px;
    left: 5%;
    width: 82%;
    height: 244px;
  }

  .window-side {
    top: 230px;
    right: 4%;
    width: 48%;
    height: 142px;
  }

  .dock-line {
    right: 22px;
    bottom: 18px;
    left: 22px;
  }

  .scene-peanut {
    left: 44%;
    bottom: 66px;
    width: 76px;
  }

  .context-panel {
    bottom: 88px;
    left: 4%;
    min-width: 160px;
    padding: 11px 12px;
  }

  .shot-library {
    top: 42px;
    left: 6%;
    width: 88%;
    height: 250px;
  }

  .shot-workspace {
    right: -20%;
    bottom: 38px;
    width: 88%;
    height: 216px;
  }

  .prototype-label {
    bottom: 20px;
    left: 22px;
  }

  .timeline-item {
    padding: 26px 0;
    grid-template-columns: 58px 1fr;
    gap: 18px;
  }

  .timeline-note {
    grid-column: 2;
  }

  .site-footer {
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .inner-page {
    padding-top: 104px;
  }

  .page-intro {
    padding-top: 62px;
    padding-bottom: 108px;
  }

  .page-intro h1 {
    font-size: clamp(47px, 14.5vw, 74px);
  }

  .research-intro {
    padding-top: 42px;
    padding-bottom: 96px;
  }

  .research-intro h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .research-intro-copy {
    margin-top: 38px;
    gap: 16px;
  }

  .research-intro-copy p {
    font-size: 17px;
    line-height: 1.85;
  }

  .content-section {
    padding: 74px 0;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .experience-page {
    padding-top: 112px;
  }

  .experience-page .content-section,
  .experience-page .content-section:first-child {
    padding: 36px 0 50px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .experience-entry {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .experience-entry > .experience-index {
    right: 12px;
    bottom: -0.1em;
    font-size: 112px;
  }

  .experience-identity h1,
  .experience-identity h2,
  .experience-identity .company-title-long {
    max-width: calc(100% - 52px);
    font-size: clamp(31px, 9.5vw, 44px);
  }

  .experience-role {
    margin-top: 16px;
  }

  .experience-entry::before {
    inset: 0;
    border-radius: 16px;
  }

  .experience-entry::after {
    left: 0;
    width: 58px;
  }

  .experience-story {
    grid-column: 1;
  }

  .qcraft-work-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .qcraft-track > p {
    min-height: 0;
  }

  .workflow-note {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .experience-entry .content-label {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 14px;
    align-items: start;
  }

  .experience-page .content-label > .experience-index {
    margin: 4px 0 0;
    grid-row: 1 / 4;
    grid-column: 1;
    font-size: 27px;
  }

  .experience-entry .content-label .eyebrow,
  .experience-entry .content-label > span:not(.experience-index) {
    grid-column: 2;
  }

  .experience-page .content-label .content-role {
    margin-top: 16px;
  }

  .experience-page .content-role small {
    max-width: none;
  }

  .experience-entry-copy > h1,
  .experience-entry-copy > h2 {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  .experience-entry-copy > .company-title-long {
    font-size: clamp(30px, 8.8vw, 42px);
  }

  .experience-lanes {
    margin-top: 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .experience-lane {
    padding: 18px 0;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .experience-lane + .experience-lane {
    padding-top: 0;
    padding-left: 0;
    border-left: 0;
  }

  .experience-points {
    margin-top: 8px;
  }

  .process-flow {
    display: flex;
    gap: 7px 0;
  }

  .process-flow li {
    display: inline-flex;
  }

  .process-flow li:not(:last-child)::after {
    margin: 0 7px;
    content: "→";
  }

  .case-timeline {
    padding: 0;
    margin-top: 4px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-timeline li {
    grid-template-columns: 36px 1fr;
    gap: 4px 10px;
  }

  .case-timeline span {
    grid-row: 1 / 3;
  }

  .case-timeline h3 {
    margin-top: 0;
  }

  .case-timeline p {
    grid-column: 2;
  }

  .secondary-work-grid {
    grid-template-columns: 1fr;
  }

  .secondary-work-grid article {
    padding: 20px 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .secondary-work-grid .secondary-work-featured {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .featured-task-intro {
    grid-column: auto;
  }

  .featured-task-copy,
  .secondary-work-featured .case-timeline {
    grid-column: auto;
  }

  .featured-task-copy {
    margin-top: 14px;
  }

  .secondary-work-grid .case-timeline h3 {
    white-space: normal;
  }

  .capability-tags {
    gap: 8px 14px;
  }

  .research-details,
  .journalism-grid {
    grid-template-columns: 1fr;
  }

  .publication-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .journalism-grid a {
    min-height: 190px;
    padding: 24px;
  }

  .journalism-grid h3 {
    margin-top: 36px;
  }

  .public-project {
    padding: 28px 24px;
    gap: 30px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .experience-grid-two {
    grid-template-columns: 1fr;
  }

  .experience-grid section,
  .experience-grid section + section {
    padding: 2px 0 0;
    border-left: 0;
  }

  .experience-grid section + section {
    border-top: 0;
  }

  .cv-intro {
    padding-top: 54px;
  }

  .cv-summary {
    align-items: flex-start;
  }

  .cv-avatar {
    width: 126px;
    min-width: 126px;
    height: 126px;
  }

  .cv-layout {
    padding-bottom: 80px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cv-aside {
    display: grid;
    padding-top: 44px;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .cv-aside section {
    margin: 0;
  }

  .cv-entry {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cv-publications p {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 430px) {
  .wordmark-en {
    display: none;
  }

  .hero-nav {
    gap: 16px 14px;
  }

  .cv-aside {
    grid-template-columns: 1fr;
  }

  .cv-summary {
    flex-direction: column;
  }

}

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

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #151515;
    background: #fff;
  }

  body::before,
  .site-header,
  .site-footer,
  .download-link {
    display: none;
  }

  .inner-page {
    padding-top: 0;
  }

  .cv-intro,
  .cv-layout,
  .cv-section,
  .cv-entry,
  .cv-aside section,
  .cv-publications,
  .cv-publications p {
    border-color: #ddd;
  }

  .cv-summary p,
  .cv-entry div > p,
  .cv-entry ul,
  .cv-role,
  .cv-aside a,
  .cv-aside p,
  .cv-date,
  .cv-publications span {
    color: #444 !important;
  }
}
