/* Homepage design system (December 2026).
   Light pages alternate with black bands; one live element (Second Light) carries the motion. */

:root {
  --ink: #1d1d1f;
  --graphite: #6e6e73;
  --mist: #f5f5f7;
  --line: #d2d2d7;
  --paper: #ffffff;
  --black: #000000;
  --tile-dark: #1d1d1f;
  --on-dark: #f5f5f7;
  --on-dark-muted: #a1a1a6;
  --link: #0066cc;
  --link-dark: #2997ff;
  --button: #0071e3;
  --button-hover: #0077ed;
  --focus: #0071e3;
  --radius-xl: 28px;
  --radius-l: 20px;
  --radius-m: 14px;
  --wide: 1180px;
  --narrow: 860px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 48px;
  --font: "Inter Variable", "Noto Sans SC Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:lang(zh) body,
body:lang(zh) {
  letter-spacing: 0;
  line-height: 1.7;
}

img,
picture,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.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: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

main:focus {
  outline: none;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--wide));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2 * var(--gutter), var(--narrow));
  margin-inline: auto;
}

/* ---------- Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(100% - 2 * var(--gutter), var(--wide));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand-avatar img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 11px;
  color: rgba(29, 29, 31, 0.82);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="location"] {
  color: var(--ink);
  text-decoration: none;
}

.primary-nav a[aria-current="location"] {
  background: rgba(0, 0, 0, 0.05);
}

.primary-nav .nav-play {
  color: var(--link);
}

.primary-nav .nav-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-nav .nav-icon .nav-icon-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.primary-nav .nav-cta {
  margin-left: 6px;
  padding: 0 14px;
  color: #fff;
  background: var(--button);
}

.primary-nav .nav-cta:hover {
  color: #fff;
  background: var(--button-hover);
}

.menu-toggle {
  display: none;
}

@media (max-width: 1020px) {
  .menu-toggle {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    place-content: center;
    gap: 6px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
  }

  .menu-toggle span[aria-hidden] {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 240ms ease;
  }

  .menu-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(2) {
    transform: translateY(3.75px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(3) {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: var(--nav-h) 0 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
    background: #fff;
  }

  .primary-nav.is-open {
    display: flex;
  }

  /* A backdrop filter would make the header the containing block of the fixed menu. */
  .site-header.menu-active {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;
  }

  .primary-nav a {
    min-height: 56px;
    padding: 0;
    color: var(--ink);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-radius: 0;
  }

  .primary-nav a[aria-current="location"] {
    background: none;
  }

  .primary-nav .nav-icon .nav-icon-label {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
  }

  .primary-nav .nav-icon svg {
    width: 22px;
    height: 22px;
  }

  .primary-nav .nav-cta {
    justify-content: center;
    min-height: 50px;
    margin: 24px 0 0;
    color: #fff;
    font-size: 17px;
    border-radius: 999px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* ---------- Buttons and links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  color: #fff;
  background: var(--button);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.button:hover {
  color: #fff;
  background: var(--button-hover);
  text-decoration: none;
}

.button-quiet {
  color: var(--link);
  background: transparent;
  border-color: var(--link);
}

.button-quiet:hover {
  color: #fff;
  background: var(--link);
}

.button-on-dark {
  color: var(--ink);
  background: var(--on-dark);
}

.button-on-dark:hover {
  color: var(--ink);
  background: #fff;
}

.button-outline-dark {
  color: var(--on-dark);
  background: transparent;
  border-color: rgba(245, 245, 247, 0.5);
}

.button-outline-dark:hover {
  color: var(--ink);
  background: var(--on-dark);
}

.button img {
  width: 18px;
  height: 18px;
}

.button-on-dark img,
.button-outline-dark:hover img {
  filter: none;
}

.chevron-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
  font-weight: 400;
}

.chevron-link svg {
  width: 9px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.on-dark .chevron-link,
.on-dark a:not(.button) {
  color: var(--link-dark);
}

/* ---------- Section rhythm ---------- */

.section {
  padding-block: clamp(80px, 11vw, 136px);
}

.section-mist {
  background: var(--mist);
}

.on-dark {
  color: var(--on-dark);
  background: var(--black);
}

.section-head {
  max-width: 820px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}

.section-label {
  margin-bottom: 12px;
  color: var(--graphite);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.on-dark .section-label {
  color: var(--on-dark-muted);
}

.section-head h2,
.statement {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

:lang(zh) .section-head h2,
:lang(zh) .statement,
:lang(zh) h1 {
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-sub {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--graphite);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.45;
  text-wrap: pretty;
}

.on-dark .section-sub {
  color: var(--on-dark-muted);
}

.section-head .chevron-link {
  margin-top: 18px;
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 9vw, 112px);
  text-align: center;
}

.hero-portrait {
  display: block;
  width: 136px;
  height: 136px;
  margin: 0 auto 24px;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .hero-portrait {
    width: 112px;
    height: 112px;
  }
}

.hero-name {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero h1 {
  margin: 10px auto 0;
  font-size: clamp(46px, 8.2vw, 96px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 720px;
  margin: 26px auto 0;
  color: var(--graphite);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 34px;
}

.profile-location {
  margin-top: 22px;
  color: var(--graphite);
  font-size: 14px;
}

.hero-strengths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: clamp(56px, 8vw, 88px) auto 0;
  text-align: left;
  border-top: 1px solid var(--line);
}

.strength-panel {
  padding: 26px 28px 0 0;
}

.strength-panel + .strength-panel {
  padding: 26px 0 0 28px;
  border-left: 1px solid var(--line);
}

.strength-role {
  display: block;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 500;
}

.strength-panel h3 {
  margin-top: 6px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.strength-panel p {
  margin-top: 6px;
  color: var(--graphite);
  font-size: 15px;
}

/* ---------- Second Light band ---------- */

.sl-band {
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 120px);
}

.sl-band-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.sl-band-new {
  margin-bottom: 14px;
  color: #f5a623;
  font-size: 17px;
  font-weight: 600;
}

.sl-band h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.sl-band-copy > p:not(.sl-band-new) {
  margin-top: 20px;
  max-width: 470px;
  color: var(--on-dark-muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
}

.sl-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 32px;
}

.sl-teaser {
  position: relative;
  display: block;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
  color: inherit;
  background: #000;
  border-radius: var(--radius-xl);
  cursor: crosshair;
  touch-action: pan-y;
}

.sl-teaser:hover {
  text-decoration: none;
}

.sl-teaser img,
.sl-teaser canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl-teaser canvas {
  opacity: 0;
  transition: opacity 600ms ease;
}

.sl-teaser.is-live canvas {
  opacity: 1;
}

.sl-teaser-dial {
  position: absolute;
  right: 12%;
  bottom: 30px;
  left: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 2px, transparent 2px calc((100% - 2px) / 9)), rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.sl-teaser-sun {
  position: absolute;
  top: 1px;
  left: 44%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 196, 92, 0.35), 0 0 18px 6px rgba(255, 196, 92, 0.45);
  opacity: 0;
  transition: opacity 300ms ease;
}
.sl-teaser.is-live .sl-teaser-sun {
  opacity: 1;
}

.sl-teaser-hint {
  position: absolute;
  right: 0;
  bottom: 46px;
  left: 0;
  color: rgba(245, 245, 247, 0.7);
  font-size: 13px;
  text-align: center;
  pointer-events: none;
}

/* ---------- Profile ---------- */

.about-layout .section-label {
  text-align: center;
}

.statement {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.12;
  text-align: center;
}

.about-lead {
  max-width: 760px;
  margin: clamp(28px, 4vw, 40px) auto 0;
  color: var(--graphite);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.012em;
  text-align: center;
  text-wrap: pretty;
}

/* ---------- Expertise ---------- */

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

.expertise-card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
  border-radius: var(--radius-l);
}

.expertise-card h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.expertise-card p {
  margin-top: 12px;
  color: var(--graphite);
  font-size: 15.5px;
  line-height: 1.55;
}

.expertise-featured {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  color: var(--on-dark);
  background: var(--tile-dark);
}

.expertise-featured h3 {
  max-width: 520px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.expertise-featured p {
  max-width: 560px;
  color: var(--on-dark-muted);
  font-size: 17px;
}

.leadership-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
  margin-top: 40px;
}

.leadership-band p {
  color: var(--graphite);
  font-size: 15px;
  font-weight: 600;
}

.leadership-band ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.leadership-band li {
  padding: 9px 16px;
  background: var(--paper);
  border-radius: 999px;
  font-size: 15px;
}

/* ---------- Selected work ---------- */

.work-list {
  display: grid;
  gap: 24px;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4.4vw, 56px);
  background: var(--mist);
  border-radius: var(--radius-xl);
}

.work-card-text {
  grid-template-columns: minmax(0, 1fr);
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 14px;
  font-size: 15px;
}

.work-org {
  font-weight: 600;
}

.work-meta time {
  color: var(--graphite);
}

.work-kicker {
  color: var(--graphite);
  font-size: 15px;
}

.work-body h3 {
  margin-top: 6px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.work-body > p:not(.work-kicker):not(.work-note) {
  margin-top: 16px;
  color: #424245;
  font-size: 17px;
  line-height: 1.6;
}

.work-featured .work-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px clamp(28px, 5vw, 64px);
  align-items: start;
}

.work-featured .work-body > :not(.work-scope-groups) {
  grid-column: 1;
}

.work-featured .work-scope-groups {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
}

.work-featured h3 {
  font-size: clamp(30px, 3.6vw, 44px);
}

.work-scope-groups {
  display: grid;
  gap: 18px;
  margin-top: 4px;
}

.work-scope-group {
  padding: 20px 22px;
  background: var(--paper);
  border-radius: var(--radius-m);
}

.work-scope-group h4 {
  font-size: 15px;
  font-weight: 600;
}

.work-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.work-scope li {
  padding: 6px 12px;
  color: #424245;
  background: var(--mist);
  border-radius: 999px;
  font-size: 14px;
}

.work-body > .work-scope li {
  background: var(--paper);
}

.work-note {
  margin-top: 16px;
  color: var(--graphite);
  font-size: 13px;
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 20px;
  font-size: 15px;
}

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

.work-pair .work-card {
  align-items: start;
}

.work-tier-heading {
  margin: clamp(32px, 5vw, 56px) 0 4px;
  text-align: center;
}

.work-tier-heading p {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.work-tier-heading span {
  display: block;
  margin-top: 4px;
  color: var(--graphite);
}

.work-media img {
  width: 100%;
  border-radius: var(--radius-m);
}

.work-media figcaption,
.propeller-viewer figcaption {
  margin-top: 10px;
  color: var(--graphite);
  font-size: 13px;
  line-height: 1.5;
}

.work-xag {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.work-media-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.work-media-duo {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.work-media-inset img {
  image-rendering: auto;
}

/* P20 propeller viewer */

.propeller-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 240px;
  color: #fff;
  background: radial-gradient(90% 90% at 50% 40%, #2a2a2e, #000 70%);
  border-radius: var(--radius-l);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.propeller-stage:active {
  cursor: grabbing;
}

.propeller-stage canvas,
.propeller-stage .propeller-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.propeller-stage canvas {
  z-index: 2;
}

.propeller-stage .propeller-poster {
  z-index: 1;
  object-fit: contain;
  border-radius: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.propeller-viewer.is-ready .propeller-poster,
.propeller-viewer.is-ready .propeller-status {
  opacity: 0;
  visibility: hidden;
}

.propeller-viewer-topline {
  position: absolute;
  top: 16px;
  right: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
}

.propeller-viewer-topline span:first-child {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.propeller-viewer-topline i {
  width: 7px;
  height: 7px;
  background: #30d158;
  border-radius: 50%;
}

.propeller-status {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: min(80%, 280px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.propeller-viewer.has-error .propeller-status {
  top: auto;
  right: 14px;
  bottom: 14px;
  left: 14px;
  width: auto;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  font-size: 13px;
  text-align: left;
  transform: none;
}

.propeller-viewer.has-error .propeller-controls,
.propeller-viewer.has-error .propeller-hint {
  display: none;
}

.propeller-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: flex;
  gap: 2px;
  padding: 4px;
  background: rgba(40, 40, 44, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.propeller-viewer.is-ready .propeller-controls {
  opacity: 1;
  pointer-events: auto;
}

.propeller-controls button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
}

.propeller-controls button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.propeller-controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.propeller-hint {
  position: absolute;
  bottom: 22px;
  left: 18px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  pointer-events: none;
}

.propeller-viewer figcaption strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.propeller-noscript {
  margin-top: 8px;
  color: var(--graphite);
  font-size: 13px;
}

/* ---------- Experience ---------- */

.timeline {
  max-width: 980px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-xl);
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 8px 32px;
  padding: clamp(24px, 3.4vw, 36px) clamp(22px, 4vw, 44px);
}

.timeline-item + .timeline-item {
  border-top: 1px solid #e8e8ed;
}

.timeline-logo-slot {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.institution-logo img {
  width: auto;
  max-width: 130px;
  max-height: 40px;
  object-fit: contain;
}

.institution-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.institution-logo-group .institution-logo img {
  max-width: 64px;
  max-height: 44px;
}

.institution-logo-group .institution-logo-avic img {
  max-width: 70px;
}

.timeline-date {
  grid-column: 3;
  grid-row: 1;
  color: var(--graphite);
  font-size: 15px;
  white-space: nowrap;
}

.timeline-content {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.timeline-place strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.timeline-place span {
  display: block;
  color: var(--graphite);
  font-size: 14px;
}

.timeline-content > h3,
.timeline-role h3 {
  margin-top: 12px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.timeline-content > p:not(.timeline-place),
.timeline-role-description {
  margin-top: 6px;
  color: var(--graphite);
  font-size: 15.5px;
  line-height: 1.55;
}

.timeline-roles {
  display: grid;
  gap: 18px;
  margin-top: 4px;
}

.timeline-role {
  padding-left: 16px;
  border-left: 2px solid #e8e8ed;
}

.timeline-role:first-child {
  border-left-color: var(--button);
}

.timeline-role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 2px;
  color: var(--graphite);
  font-size: 14px;
}

.timeline-role-team {
  color: var(--ink);
  font-weight: 500;
}

.education-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 24px auto 0;
}

.education-strip > div {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 26px 28px;
  background: var(--paper);
  border-radius: var(--radius-l);
}

.education-logo {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 10px;
}

.education-logo img {
  width: auto;
  max-width: 150px;
  max-height: 44px;
  object-fit: contain;
}

.education-strip span:not(.education-logo) {
  color: var(--graphite);
  font-size: 14px;
}

.education-strip strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.education-strip small {
  color: var(--graphite);
  font-size: 14px;
}

/* ---------- Research ---------- */

.research-groups {
  display: grid;
  gap: clamp(48px, 6vw, 72px);
  max-width: 980px;
  margin: 0 auto;
}

.research-group-heading {
  padding-bottom: 14px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}

.research-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 8px 28px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8ed;
}

.research-year {
  color: var(--graphite);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.research-type {
  color: var(--graphite);
  font-size: 14px;
}

.research-copy h4 {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.research-copy p {
  margin-top: 6px;
  color: var(--graphite);
  font-size: 15px;
}

.research-link {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  white-space: nowrap;
}

.research-link:hover {
  text-decoration: none;
  border-color: var(--link);
}

.research-note {
  max-width: 980px;
  margin: 28px auto 0;
  color: var(--graphite);
  font-size: 13px;
}

/* ---------- Lab ---------- */

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

.lab-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  color: var(--on-dark);
  background: var(--tile-dark);
  border-radius: var(--radius-xl);
}

.lab-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}

.lab-feature-copy h3 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lab-feature-copy p {
  margin-top: 14px;
  color: var(--on-dark-muted);
  font-size: 17px;
  line-height: 1.55;
}

.lab-feature-copy .sl-band-actions {
  margin-top: 26px;
}

.lab-feature-media {
  position: relative;
  min-height: 320px;
  background: #000;
}

.lab-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.development-project {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 3.6vw, 44px);
  background: var(--tile-dark);
  border-radius: var(--radius-xl);
}

.development-category,
.development-stack {
  color: var(--on-dark-muted);
  font-size: 14px;
}

.development-identity h3 {
  margin: 6px 0 4px;
  font-size: clamp(26px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.development-copy p {
  color: #d2d2d7;
  font-size: 16px;
  line-height: 1.6;
}

.development-copy .development-status {
  margin-top: 14px;
  color: var(--on-dark-muted);
  font-size: 14px;
}

.development-copy .development-status + .development-status {
  margin-top: 4px;
}

.development-status strong {
  display: inline;
  margin-right: 8px;
  color: var(--on-dark);
  font-weight: 600;
}

.development-repository {
  margin-top: auto;
}

/* ---------- Decision framework ---------- */

.gate-comparison {
  max-width: var(--wide);
  margin: clamp(36px, 5vw, 56px) auto 0;
}

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

.gate-comparison-grid > div {
  padding: 28px 30px;
  background: var(--paper);
  border-radius: var(--radius-l);
}

.gate-comparison-grid span {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 500;
}

.gate-comparison-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.gate-comparison-grid p {
  margin-top: 8px;
  color: var(--graphite);
  font-size: 15px;
}

.gate-return {
  margin-top: 22px;
  color: var(--graphite);
  font-size: 15px;
  text-align: center;
  text-wrap: balance;
}

/* Break the Chinese headline at its comma, not inside 之前. */
:lang(zh) .decision-framework h2 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ---------- Beyond ---------- */

.journey-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.journey-card-portrait {
  grid-row: span 2;
}

.journey-card img,
.beyond-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-l);
}

.journey-card-portrait picture,
.journey-card-portrait img {
  height: 100%;
}

.journey-card,
.beyond-card {
  display: flex;
  flex-direction: column;
}

.journey-card picture,
.beyond-card picture {
  flex: 1;
  min-height: 0;
}

.journey-card figcaption,
.beyond-card figcaption {
  padding: 12px 4px 0;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.5;
}

.journey-card figcaption strong,
.beyond-card figcaption strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.journey-milestone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--mist);
  border-radius: var(--radius-l);
}

.journey-milestone strong {
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.journey-milestone h3 {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.journey-milestone p {
  margin-top: 8px;
  color: var(--graphite);
  font-size: 15.5px;
}

.beyond-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.beyond-card-wide img {
  aspect-ratio: 4 / 3;
}

.beyond-card-portrait img {
  aspect-ratio: 3 / 4;
}

/* ---------- Contact ---------- */

.contact-section {
  padding-block: clamp(96px, 12vw, 160px);
  text-align: center;
}

.contact-section h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.contact-copy p {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--on-dark-muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.contact-actions .button-on-dark img {
  filter: brightness(0);
}

.contact-actions .button-outline-dark img {
  filter: invert(1);
}

.contact-actions .button-outline-dark:hover img {
  filter: brightness(0);
}

.private-access {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin-top: 44px;
  font-size: 14px;
}

.private-access p {
  width: 100%;
  color: var(--on-dark-muted);
}

.private-access a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.private-access svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 28px 0 40px;
  color: var(--graphite);
  background: var(--mist);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-layout {
  display: grid;
  gap: 14px;
}

.footer-layout strong {
  color: var(--ink);
  font-weight: 600;
}

.footer-note {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-featured {
    grid-row: auto;
  }

  .expertise-card:last-child {
    grid-column: span 2;
  }

  .work-featured .work-body,
  .work-card,
  .work-xag {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-featured .work-scope-groups {
    grid-column: 1;
    grid-row: auto;
  }

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

  .lab-feature-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .hero-strengths,
  .work-pair,
  .education-strip,
  .gate-comparison-grid,
  .lab-grid,
  .sl-band-layout,
  .beyond-gallery,
  .journey-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .strength-panel,
  .strength-panel + .strength-panel {
    padding: 20px 0 0;
    border-left: 0;
  }

  .strength-panel + .strength-panel {
    margin-top: 20px;
    border-top: 1px solid var(--line);
  }

  .sl-band-copy {
    text-align: center;
  }

  .sl-band-copy > p:not(.sl-band-new) {
    margin-inline: auto;
  }

  .sl-band-actions {
    justify-content: center;
  }

  .expertise-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .expertise-featured,
  .expertise-card:last-child {
    grid-column: auto;
    min-height: 0;
  }

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

  .timeline-logo-slot,
  .timeline-date,
  .timeline-content {
    grid-column: 1;
    grid-row: auto;
  }

  .timeline-date {
    order: -1;
  }

  .timeline-logo-slot {
    order: -2;
  }

  .research-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .research-link {
    justify-self: start;
  }

  .journey-card-portrait {
    grid-row: auto;
  }

  .work-media-duo {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-meta {
    flex-direction: column;
  }

  .propeller-hint {
    display: none;
  }
}

@media print {
  .site-header,
  .sl-band,
  .propeller-controls {
    display: none;
  }
}

/* ---------- Profile additions (homepage markup) ---------- */

.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--wide);
  margin: clamp(40px, 6vw, 64px) auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.profile-facts strong {
  display: block;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.profile-facts span {
  display: block;
  margin-top: 4px;
  color: var(--graphite);
  font-size: 15px;
}

@media (max-width: 760px) {
  .profile-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Details on demand ("+" disclosures) ---------- */

.expertise-card {
  display: flex;
  flex-direction: column;
}

.expertise-card .expertise-line {
  margin-top: 10px;
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.45;
}

.expertise-featured .expertise-line {
  max-width: 520px;
  color: var(--on-dark-muted);
  font-size: clamp(17px, 1.6vw, 21px);
}

.expertise-card .more {
  margin-top: auto;
  padding-top: 14px;
}

.expertise-featured .more {
  margin-top: 0;
}

.more {
  margin-top: 14px;
}

.more > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  user-select: none;
  border-radius: 999px;
}

.more > summary::-webkit-details-marker {
  display: none;
}

.more > summary:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}

.more-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  transition: transform 240ms ease, background-color 200ms ease;
}

.more-icon::before,
.more-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  content: "";
  background: currentColor;
  border-radius: 1px;
}

.more-icon::after {
  transform: rotate(90deg);
}

.more > summary:hover .more-icon {
  background: #424245;
}

.more[open] .more-icon {
  transform: rotate(45deg);
}

.more-body {
  padding-top: 4px;
}

.more-body p + p {
  margin-top: 10px;
}

.more[open] .more-body {
  animation: more-in 260ms ease both;
}

@keyframes more-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.on-dark .more > summary,
.expertise-featured .more > summary {
  color: #fff;
}

.on-dark .more-icon,
.expertise-featured .more-icon {
  color: var(--ink);
  background: #fff;
}

.on-dark .more > summary:hover .more-icon,
.expertise-featured .more > summary:hover .more-icon {
  background: #d2d2d7;
}

@media (prefers-reduced-motion: reduce) {
  .more-icon {
    transition: none;
  }

  .more[open] .more-body {
    animation: none;
  }
}

@media print {
  .more > summary {
    display: none;
  }
}
