:root {
  --ink: #f3f6f8;
  --muted: #93a3aa;
  --dim: #66757c;
  --bg: #091013;
  --panel: #10171b;
  --panel-2: #151e23;
  --line: #26343a;
  --signal: #b9ff41;
  --cyan: #83d7f2;
  --paper: #f1f0eb;
  --paper-ink: #111617;
  --paper-muted: #626a6c;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--signal); color: var(--bg); }

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.021) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.021) 1px, transparent 1px),
    var(--bg);
  background-size: 40px 40px;
}

.mono {
  font-family: Consolas, "SFMono-Regular", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.container { width: min(calc(100% - 80px), var(--max)); margin: 0 auto; }
.eyebrow { color: var(--signal); font-size: 12px; margin-bottom: 22px; }
.muted { color: var(--muted); }
.cyan { color: var(--cyan); }
.signal { color: var(--signal); }

.site-nav {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(9,16,19,.76);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 10px; height: 10px; border-radius: 2px; background: var(--signal); box-shadow: 0 0 0 4px rgba(185,255,65,.09); }
.nav-links { display: flex; align-items: center; gap: 28px; color: #cbd4d7; font-size: 13px; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--signal); transition: right .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle {
  min-height: 38px;
  border: 1px solid #4b5a60;
  border-radius: 999px;
  padding: 0 14px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.language-toggle:hover { border-color: var(--signal); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--muted); }
.button.primary { background: var(--signal); color: var(--bg); border-color: var(--signal); }
.button.ghost { background: rgba(255,255,255,.03); }

.hero {
  min-height: 820px;
  padding: 148px 0 86px;
  display: grid;
  align-items: center;
}
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 68px; align-items: center; }
.hero-copy h1, .team-intro h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 98px);
  line-height: .96;
  letter-spacing: -.055em;
  max-width: 760px;
}
.hero-copy p { max-width: 600px; margin: 30px 0 0; color: var(--muted); font-size: 17px; line-height: 1.78; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-media { position: relative; min-height: 570px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.83); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(9,16,19,.92)); pointer-events: none; }
.media-label { position: absolute; z-index: 2; top: 22px; left: 22px; padding: 9px 12px; background: rgba(9,16,19,.9); color: var(--cyan); font-size: 11px; border: 1px solid var(--line); }
.media-caption { position: absolute; z-index: 2; left: 25px; right: 25px; bottom: 22px; display: flex; justify-content: space-between; gap: 20px; color: #dce3e5; font-size: 13px; }
.hero-index { position: absolute; z-index: 2; right: 20px; top: 20px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--signal); color: var(--bg); font-weight: 800; }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(16,23,27,.82); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { min-height: 128px; padding: 28px 22px; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-number { color: var(--signal); font-size: 13px; }
.proof-title { margin-top: 20px; font-size: 18px; font-weight: 750; }
.proof-note { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.section { padding: 120px 0; }
.section.paper { background: var(--paper); color: var(--paper-ink); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: end; margin-bottom: 60px; }
.section-heading h2 { margin: 0; max-width: 850px; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.paper .section-heading p { color: var(--paper-muted); }
.paper .eyebrow { color: #3d585f; }

.modules { display: grid; gap: 22px; }
.module { display: grid; grid-template-columns: 1fr 1fr; min-height: 430px; background: #fff; border: 1px solid #c9cac4; }
.module:nth-child(even) .module-media { order: 2; }
.module-media { position: relative; overflow: hidden; min-height: 360px; background: #0d1112; }
.module-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.07); }
.module-body { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.module-id { color: #536064; font-size: 12px; }
.module h3 { margin: 20px 0 14px; font-size: 34px; letter-spacing: -.03em; }
.module p { margin: 0; color: var(--paper-muted); font-size: 15px; line-height: 1.75; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.tag { border: 1px solid #b9bcb7; border-radius: 999px; padding: 7px 11px; color: #454d4f; font-size: 11px; }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.flow-step { position: relative; min-height: 280px; padding: 34px; border-right: 1px solid var(--line); background: rgba(16,23,27,.76); }
.flow-step:last-child { border-right: 0; }
.flow-step .num { color: var(--cyan); font-size: 13px; }
.flow-step h3 { margin: 58px 0 14px; font-size: 25px; }
.flow-step p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center; background: var(--signal); color: var(--bg); }

.evidence-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.evidence-photo { min-height: 480px; border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.evidence-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.evidence-notes { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.evidence-note { padding: 30px; background: var(--panel); }
.evidence-note strong { display: block; margin-bottom: 10px; font-size: 18px; }
.evidence-note p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.team-callout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; padding: 72px; background: var(--signal); color: var(--bg); }
.team-callout h2 { margin: 0; font-size: clamp(38px, 5vw, 70px); line-height: .99; letter-spacing: -.05em; }
.team-callout p { margin: 0 0 28px; line-height: 1.75; color: #26320f; }
.team-callout .button { border-color: var(--bg); color: var(--bg); }

.site-footer { padding: 60px 0 34px; border-top: 1px solid var(--line); background: #060b0d; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-copy { max-width: 390px; margin-top: 16px; color: var(--muted); line-height: 1.65; font-size: 13px; }
.footer-links { display: flex; gap: 48px; color: #bcc7ca; font-size: 13px; }
.footer-links div { display: grid; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: var(--dim); font-size: 11px; }

/* Team page */
.team-hero { padding: 116px 0 0; }
.team-hero-grid { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 720px; border-bottom: 1px solid var(--line); }
.team-intro { padding: 72px 56px 64px 0; display: flex; flex-direction: column; justify-content: center; }
.team-intro p { max-width: 520px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.responsibility-list { margin-top: 58px; display: grid; border-top: 1px solid var(--line); }
.responsibility-list div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.wesley-portrait { position: relative; min-height: 720px; overflow: hidden; background: var(--panel); }
.wesley-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.wesley-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(9,16,19,.94)); pointer-events: none; }
.wesley-nameplate { position: absolute; z-index: 2; left: 36px; right: 36px; bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.wesley-nameplate h2 { margin: 0; font-size: clamp(54px, 7vw, 96px); line-height: .9; letter-spacing: -.05em; }
.wesley-nameplate p { max-width: 310px; margin: 0; color: #c3cdd0; font-size: 13px; line-height: 1.65; }
.spotlight { display: grid; grid-template-columns: .72fr 1.28fr; gap: 74px; }
.spotlight-stat { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 12px; }
.spotlight-copy h2 { margin: 0; max-width: 820px; font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.04em; }
.spotlight-copy p { max-width: 720px; margin: 28px 0 0; color: var(--muted); line-height: 1.8; font-size: 16px; }

.team-map { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #c9cac4; }
.member { min-height: 470px; padding: 30px; border-right: 1px solid #c9cac4; display: flex; flex-direction: column; }
.member:last-child { border-right: 0; }
.member.featured { background: var(--paper-ink); color: var(--paper); }
.member-num { font-size: 12px; color: #6d7779; }
.member.featured .member-num { color: var(--signal); }
.portrait-placeholder { height: 178px; margin: 34px 0 30px; display: grid; place-items: center; border: 1px dashed #aeb1ab; color: #7b8484; font-size: 10px; background: repeating-linear-gradient(135deg, transparent, transparent 12px, rgba(0,0,0,.025) 12px, rgba(0,0,0,.025) 24px); }
.member-thumb { height: 178px; margin: 34px 0 30px; overflow: hidden; border: 1px solid #364249; }
.member-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member h3 { margin: 0; font-size: 30px; letter-spacing: -.03em; }
.member-role { margin-top: 8px; color: #657073; font-size: 11px; }
.member.featured .member-role { color: var(--cyan); }
.member-copy { margin: auto 0 0; padding-top: 28px; color: #626a6c; font-size: 14px; line-height: 1.7; }
.member.featured .member-copy { color: #aebcc0; }
.photo-note { margin-top: 30px; color: var(--paper-muted); font-size: 13px; line-height: 1.7; }

[data-lang="cn"] [data-lang-only="en"],
[data-lang="en"] [data-lang-only="cn"] { display: none !important; }

@media (max-width: 980px) {
  .container { width: min(calc(100% - 40px), var(--max)); }
  .nav-links { display: none; }
  .hero-grid, .section-heading, .evidence-grid, .team-callout, .team-hero-grid, .spotlight { grid-template-columns: 1fr; }
  .hero { padding-top: 118px; }
  .hero-media { min-height: 480px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .module { grid-template-columns: 1fr; }
  .module:nth-child(even) .module-media { order: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: 0; }
  .flow-step:not(:last-child)::after { right: 28px; top: auto; bottom: -16px; transform: rotate(90deg); }
  .team-callout { padding: 46px; }
  .team-intro { padding-right: 0; }
  .team-map { grid-template-columns: 1fr 1fr; }
  .member:nth-child(2) { border-right: 0; }
  .member:nth-child(-n+2) { border-bottom: 1px solid #c9cac4; }
}

@media (max-width: 640px) {
  .site-nav { min-height: 64px; padding: 12px 18px; }
  .brand { font-size: 18px; }
  .nav-actions .button { display: none; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .hero, .section { padding-top: 88px; padding-bottom: 88px; }
  .hero-copy h1, .team-intro h1 { font-size: clamp(44px, 15vw, 66px); }
  .hero-media { min-height: 400px; }
  .media-caption { display: block; }
  .proof-grid, .team-map { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .section-heading { gap: 24px; margin-bottom: 40px; }
  .module-body { padding: 34px 26px; }
  .module-media { min-height: 280px; }
  .team-callout { padding: 36px 26px; gap: 30px; }
  .footer-grid, .footer-bottom { flex-direction: column; }
  .team-hero { padding-top: 88px; }
  .team-intro { padding: 62px 0; }
  .wesley-portrait { min-height: 560px; }
  .wesley-nameplate { left: 20px; right: 20px; bottom: 22px; display: block; }
  .wesley-nameplate p { margin-top: 18px; }
  .member { border-right: 0; border-bottom: 1px solid #c9cac4; }
  .member:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
