:root {
  --black: #000000;
  --white: #ffffff;
  --blue: #0000e5;
  --light-gray: #d9d9d9;
  --rail: 74px;
  --drawer: 220px;
  --border: 2px solid var(--black);
  --chapter-title-width: 120%;
  --chapter-title-height-correction: 0.666667;
  --chapter-title-letter-spacing: -0.02em;
  --display: "Helvetica Neue Expanded", "Arial Black", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --condensed: "Helvetica Neue Condensed Black", "Arial Narrow", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--black);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.25;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

a {
  text-decoration: none;
}

/* “章节标题”格式：横向 120%，纵向 80%，字距略微放宽。 */
.chapter-title {
  letter-spacing: var(--chapter-title-letter-spacing);
}

.chapter-title-text {
  display: inline-block;
  font-size: var(--chapter-title-width);
  transform: scaleY(var(--chapter-title-height-correction));
  transform-origin: left center;
}

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

.brand-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: var(--rail);
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--white);
  border-right: var(--border);
}

.rail-home {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 8px 7px;
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 0;
}

.rail-mark {
  position: relative;
  display: block;
  width: 52px;
  height: 88px;
  flex: 0 0 auto;
}

.mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation-duration: 420ms;
  animation-iteration-count: infinite;
  animation-timing-function: steps(1, end);
}

.mark-a {
  animation-name: mark-a-loop;
}

.mark-b {
  opacity: 0;
  animation-name: mark-b-loop;
}

.rail-mark--shift-1 .mark {
  animation-delay: -140ms;
}

.rail-mark--shift-2 .mark {
  animation-delay: -280ms;
}

@keyframes mark-a-loop {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes mark-b-loop {
  0%,
  49% {
    opacity: 0;
  }
  50%,
  100% {
    opacity: 1;
  }
}

.menu-toggle {
  display: grid;
  width: 100%;
  min-height: 118px;
  cursor: pointer;
  place-items: center;
  padding: 7px 0;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-bottom: var(--border);
}

.menu-symbol {
  font-family: var(--display);
  font-size: 34px;
  line-height: 0.7;
  transition: transform 180ms ease;
}

.menu-word {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
}

body.drawer-open .menu-symbol {
  transform: rotate(45deg);
}

.site-drawer {
  position: fixed;
  inset: 0 auto 0 var(--rail);
  z-index: 20;
  display: flex;
  width: var(--drawer);
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  color: var(--white);
  background: var(--black);
  border-right: 2px solid var(--white);
  transform: translateX(calc(-1 * var(--drawer)));
  transition: transform 260ms cubic-bezier(0.8, 0, 0.2, 1);
}

body.drawer-open .site-drawer {
  transform: translateX(0);
}

.main-nav {
  display: flex;
  flex-direction: column;
}

.nav-link {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 12px;
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  border-bottom: 1px solid var(--light-gray);
  transition: color 100ms linear, background-color 100ms linear;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link--active {
  color: var(--white);
  background: var(--blue);
  outline: none;
}

.nav-link--sub {
  min-height: 48px;
  padding-left: 28px;
  color: var(--white);
  box-shadow: inset 8px 0 0 var(--blue);
  font-family: var(--sans);
  font-size: 17px;
}

.drawer-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px;
  color: var(--white);
  font-family: var(--display);
  font-size: 11px;
  line-height: 1.1;
  border-top: 1px solid var(--light-gray);
}

.page-shell {
  min-width: 0;
  margin-left: var(--rail);
  transition: margin-left 260ms cubic-bezier(0.8, 0, 0.2, 1);
}

body.drawer-open .page-shell {
  margin-left: calc(var(--rail) + var(--drawer));
}

body.drawer-open .hero h1 {
  font-size: clamp(54px, 5.5vw, 88px);
}

.hero {
  min-height: 100svh;
  background: var(--white);
  border-bottom: var(--border);
}

.ticker {
  width: 100%;
  overflow: hidden;
  color: var(--black);
  background: var(--white);
  border-bottom: var(--border);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-move 19s linear infinite;
}

.ticker-group {
  display: flex;
  flex: none;
}

.ticker-sequence {
  display: block;
  flex: none;
  padding: 6px 16px 8px 0;
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 62px);
  font-weight: 900;
  line-height: 0.92;
  white-space: nowrap;
}

.ticker-name,
.ticker-divider,
.ticker-alias {
  color: var(--black);
}

.ticker-alias {
  padding: 0 0.08em;
  background: transparent;
}

@keyframes ticker-move {
  to {
    transform: translateX(-50%);
  }
}

.hero-grid {
  display: grid;
  min-height: calc(100svh - 68px);
  grid-template-columns: minmax(360px, 1.08fr) minmax(340px, 0.92fr);
}

.hero-visual {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 620px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  background: var(--black);
  border-right: var(--border);
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.hero-visual:hover > img {
  animation: welcome-invert 66.667ms steps(1, end) infinite;
}

@keyframes welcome-invert {
  0%,
  49.999% {
    filter: invert(0);
  }
  50%,
  100% {
    filter: invert(1);
  }
}

.hero-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(255, 255, 255, 0.16) 3px,
    transparent 4px
  );
  mix-blend-mode: screen;
}

.hero-visual figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--white);
  background: var(--black);
  border-top: var(--border);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1;
}

.flash-toggle {
  padding: 4px 7px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  font-family: inherit;
  font-size: inherit;
}

.sound-switch {
  padding: 4px 7px;
  cursor: pointer;
  color: var(--white);
  background: var(--blue);
  border: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 900;
  line-height: 1;
}

.sound-switch:hover,
.sound-switch:focus-visible {
  color: var(--white);
  background: var(--black);
  outline: 1px solid var(--white);
}

.hero-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4.6vw, 72px) clamp(18px, 3.5vw, 54px);
  background: var(--white);
}

.hero-index {
  position: absolute;
  inset: 10px 12px auto auto;
  margin: 0;
  color: var(--black);
  font-family: var(--display);
  font-size: 12px;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 6.2vw, 104px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.76;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 .hero-alias {
  width: fit-content;
  margin-top: 0.18em;
  padding: 0.08em 0.09em 0.13em;
  color: var(--white);
  background: var(--blue);
  letter-spacing: -0.06em;
}

.hero-role {
  width: fit-content;
  margin: 34px 0 0;
  padding: 7px 9px;
  color: var(--white);
  background: var(--black);
  font-family: var(--display);
  font-size: clamp(14px, 1.55vw, 24px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-jump {
  width: fit-content;
  margin-top: 42px;
  padding-bottom: 3px;
  font-family: var(--display);
  font-size: 13px;
  border-bottom: 2px solid currentColor;
}

.hero-jump:hover,
.hero-jump:focus-visible {
  color: var(--blue);
  outline: none;
}

.bio-section,
.social-section {
  display: grid;
  grid-template-columns: minmax(180px, 24vw) minmax(0, 1fr);
  border-bottom: var(--border);
}

.section-label {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  padding: 14px;
  color: var(--black);
  background: var(--white);
  border-right: var(--border);
  box-shadow: inset 8px 0 0 var(--blue);
  font-family: var(--display);
  font-size: clamp(23px, 3.2vw, 52px);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.bio-content {
  min-width: 0;
  padding: clamp(26px, 5vw, 78px) clamp(20px, 5vw, 78px);
  background: var(--white);
}

.bio-controls {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 76px);
}

.bio-controls > p {
  max-width: 320px;
  margin: 0;
  color: var(--black);
  font-family: var(--display);
  font-size: 11px;
}

.language-switch {
  display: flex;
  border: var(--border);
}

.language-button {
  min-width: 60px;
  cursor: pointer;
  padding: 8px 10px;
  background: var(--white);
  border: 0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
}

.language-button + .language-button {
  border-left: var(--border);
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  color: var(--white);
  background: var(--blue);
  outline: none;
}

.bio-text {
  max-width: 1180px;
  margin: 0;
  font-family: var(--condensed);
  font-size: clamp(28px, 4.15vw, 62px);
  font-stretch: condensed;
  font-variation-settings: "wdth" 78;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.bio-text p {
  margin: 0;
}

.bio-text p + p {
  margin-top: 0.72em;
}

.bio-glyph {
  display: inline-block;
  transform: scaleY(0.74);
  transform-origin: center;
  vertical-align: baseline;
}

.bio-text[lang="en"] .bio-glyph {
  transform: scaleY(0.63);
}

.bio-text[lang="zh-CN"] {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: clamp(27px, 3.55vw, 54px);
  font-variation-settings: normal;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-break: strict;
  line-height: 0.96;
  word-break: normal;
}

.bio-meta {
  max-width: 820px;
  margin: clamp(36px, 5vw, 76px) 0 0;
  color: var(--black);
  font-family: var(--display);
  font-size: clamp(13px, 1.5vw, 20px);
  font-weight: 900;
}

.social-section {
  color: var(--white);
  background: var(--black);
}

.section-label--dark {
  color: var(--white);
  background: var(--blue);
  border-color: var(--black);
  box-shadow: none;
}

#social-heading {
  font-size: 0.72em;
  letter-spacing: -0.04em;
}

.social-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.social-list a {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 3vw, 46px);
  font-family: var(--display);
  font-size: clamp(25px, 4.2vw, 66px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.9;
  border-bottom: 1px solid var(--light-gray);
  transition: color 100ms linear, background-color 100ms linear;
}

.social-list a:last-child {
  border-bottom: 0;
}

.social-list a:hover,
.social-list a:focus-visible {
  color: var(--white);
  background: var(--blue);
  outline: none;
}

.social-list a span:last-child {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 0.54em;
  letter-spacing: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 13px 14px;
  color: var(--white);
  background: var(--black);
  font-family: var(--display);
  font-size: 11px;
}

.site-footer a {
  justify-self: end;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
  background: var(--blue);
  outline: none;
}

.route-notice {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  max-width: min(420px, calc(100vw - 100px));
  padding: 11px 13px;
  color: var(--white);
  background: var(--blue);
  border: var(--border);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 140ms linear, transform 140ms linear;
}

.route-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --rail: 60px;
    --drawer: min(240px, calc(100vw - var(--rail)));
  }

  body.drawer-open .page-shell {
    margin-left: var(--rail);
  }

  .site-drawer {
    border-right-color: var(--black);
    box-shadow: 14px 0 0 var(--blue);
  }

  .rail-mark {
    width: 42px;
    height: 72px;
  }

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

  .hero-visual {
    min-height: 62svh;
    border-right: 0;
    border-bottom: var(--border);
  }

  .hero-copy {
    min-height: 56svh;
  }

  .hero h1 {
    font-size: clamp(64px, 15vw, 118px);
  }

  .bio-section,
  .social-section {
    grid-template-columns: 1fr;
  }

  .section-label {
    min-height: 86px;
    flex-direction: row;
    border-right: 0;
    border-bottom: var(--border);
  }

  .section-label--dark {
    border-bottom-color: var(--light-gray);
  }
}

@media (max-width: 580px) {
  :root {
    --rail: 52px;
  }

  .rail-home {
    justify-content: flex-start;
    gap: 30px;
    padding-top: 14px;
  }

  .rail-mark {
    width: 36px;
    height: 64px;
  }

  .rail-mark--shift-2 {
    display: none;
  }

  .menu-toggle {
    min-height: 92px;
  }

  .ticker span {
    font-size: 28px;
  }

  .hero-visual {
    min-height: 54svh;
  }

  .hero-copy {
    min-height: 50svh;
    padding: 42px 18px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .hero-visual > img {
    transform: none;
  }

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

  .bio-content {
    padding: 28px 16px 38px;
  }

  .bio-controls {
    flex-direction: column-reverse;
    margin-bottom: 36px;
  }

  .bio-text {
    font-size: clamp(31px, 10vw, 52px);
  }

  .social-list a {
    min-height: 88px;
    font-size: clamp(23px, 8vw, 40px);
  }

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

  .site-footer a {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

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

  .mark,
  .ticker-track,
  .hero-visual > img:hover {
    animation: none;
  }

  .mark-b {
    display: none;
  }

  .site-drawer,
  .page-shell,
  .route-notice,
  .menu-symbol {
    transition: none;
  }
}
