@charset "utf-8";

.about-profile {
  --apf-red: #d11919;
  --apf-bg: #292929;
  --apf-text: #fff;
  --apf-muted: #dedede;
  --apf-card: #eeeeee;
  --apf-left: 756px;
  --apf-gap: 58px;
  background: var(--apf-bg);
  color: var(--apf-text);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

@keyframes about-profile-orbit-roll {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.about-profile .profile-orbit {
  position: absolute;
  left: max(20px, calc((100% - 1600px) / 2 - 130px));
  bottom: 100px;
  width: 536px;
  height: 536px;
  z-index: 0;
  pointer-events: none;
}

.about-profile .profile-orbit img {
  display: block;
  width: 100%;
  height: auto;
  animation: about-profile-orbit-roll 20s linear infinite;
}

.about-profile .profile-orbit.is-offscreen-paused img {
  animation-play-state: paused;
}

.about-profile .profile-main {
  position: relative;
  padding-bottom: 200px;
  margin-bottom: 56px;
  z-index: 1;
}

.about-profile .profile-cheetah {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 640px;
  height: 480px;
  background: url(../images/about/cheetah-outline.svg) right bottom / contain no-repeat;
  opacity: 0;
  transform-origin: 70% 80%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* 粒子槽位：落地后继续显示粒子豹子（由 showFormed 瞬间成形，不再播入场） */
.about-profile .profile-cheetah.is-particles {
  background: none;
  opacity: 0;
  overflow: hidden;
  width: 800px;
  height: 580px;
  right: -40px;
  bottom: -10px;
}

.about-profile .profile-cheetah.is-particles.is-on {
  opacity: 1;
}

.about-profile .profile-cheetah.is-particles canvas {
  width: 100% !important;
  height: 100% !important;
}

/*
 * body 级独立舞台：唯一电影感粒子实例
 * 全屏成形 → transform 飞向槽位 → 淡出销毁
 */
.about-cheetah-stage {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  overflow: hidden;
}

.about-cheetah-stage.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.about-cheetah-stage.is-active {
  visibility: visible;
  opacity: 1;
}

.about-cheetah-stage-view {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  overflow: hidden;
  background: none;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
}

.about-cheetah-stage-view.is-flying {
  z-index: 61;
}

.about-cheetah-stage-view canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* 等待豹子落地：正文/数据先压住，避免抢戏 */
.about-profile.is-awaiting-cheetah .profile-stats,
.about-profile.is-awaiting-cheetah .profile-card,
.about-profile.is-awaiting-cheetah .profile-arc,
.about-profile.is-awaiting-cheetah .about-lead,
.about-profile.is-awaiting-cheetah .profile-desc {
  opacity: 0 !important;
  pointer-events: none;
}

.about-profile .profile-arc {
  position: absolute;
  right: -40px;
  bottom: 0;
  width: 860px;
  height: 110px;
  background: url(../images/about/profile-arc.png) right bottom / contain no-repeat;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.about-profile .profile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--apf-gap);
  position: relative;
  z-index: 1;
}

.about-profile .profile-left {
  flex: 0 1 var(--apf-left);
  width: var(--apf-left);
  max-width: var(--apf-left);
  min-width: 0;
}

.about-profile .about-title-sub {
  margin-bottom: 140px;
}

.about-profile .about-lead {
  margin-bottom: 40px;
}

.about-profile .profile-desc {
  margin: 0;
  max-width: 726px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0;
  text-align: left;
  color: rgba(222, 222, 222, 1);
  padding-left: 24px;
}

.about-profile .profile-desc p {
  margin: 0 0 20px;
}

.about-profile .profile-desc p:last-child {
  margin-bottom: 0;
}

.about-profile .profile-right {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding-top: 100px;
  padding-bottom: 120px;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}

.about-profile .profile-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 44px;
  min-width: 360px;
}

.about-profile .profile-stats li {
  text-align: left;
}

.about-profile .profile-stats .label {
  display: block;
  margin-bottom: 4px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(141, 141, 141, 1);
}

.about-profile .profile-stats .num-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-profile .profile-stats .num {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 92px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 1);
}

.about-profile .profile-stats em {
  font-style: normal;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(141, 141, 141, 1);
  line-height: 1;
  position: relative;
  top: 20px;
}

.about-profile .profile-quote {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 80px auto;
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-width: 720px;
}

.about-profile .profile-quote-bar {
  flex: 0 0 4px;
  width: 4px;
  align-self: stretch;
  min-height: 48px;
  background: var(--apf-red);
  border-radius: 2px;
}

.about-profile .profile-quote-title {
  margin: 0 0 16px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  line-height: 1.45;
}

.about-profile .profile-quote-text {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: #dedede;
}

.about-profile .profile-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  position: relative;
  z-index: 1;
}

.about-profile .profile-card {
  display: flex;
  gap: 36px;
  background: var(--apf-card);
  border-radius: 4px;
  padding: 40px;
  color: #292929;
  opacity: 0;
  transform: translateY(28px);
}

.about-profile .profile-card.is-visible {
  opacity: 1;
  transform: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-profile .profile-card.is-visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.about-profile .profile-card-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--apf-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-profile .profile-card-icon img {
  width: 32px;
  height: 32px;
  display: block;
}

.about-profile .profile-card-body {
  min-width: 0;
}

.about-profile .profile-card-title {
  margin: 0 0 8px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #292929;
  line-height: 1.5;
}

.about-profile .profile-card-desc {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  color: rgba(102, 102, 102, 1);
}

@media only screen and (max-width: 1599px) {
  .about-profile .profile-left {
    flex: 1 1 48%;
    width: auto;
    max-width: none;
  }

  .about-profile .profile-cheetah {
    width: 46vw;
    height: 34vw;
  }

  .about-profile .profile-cheetah.is-particles {
    width: min(800px, 58vw);
    height: min(580px, 42vw);
    right: -28px;
    bottom: -6px;
  }

  .about-profile .profile-arc {
    width: min(800px, 72vw);
  }

  .about-profile .profile-right {
    padding-top: 60px;
  }
}

@media only screen and (max-width: 1199px) {
  .about-profile .profile-top {
    flex-direction: column;
    gap: 36px;
  }

  .about-profile .profile-left {
    width: 100%;
    max-width: none;
  }

  .about-profile .profile-right {
    width: 100%;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: 80px;
  }

  .about-profile .profile-cheetah {
    width: min(480px, 55vw);
    height: min(360px, 42vw);
    right: 0;
  }

  .about-profile .profile-cheetah.is-particles {
    width: min(800px, 72vw);
    height: min(520px, 48vw);
    right: -16px;
    bottom: 0;
  }

  .about-profile .profile-arc {
    width: min(640px, 70vw);
  }

  .about-profile .about-title-en {
    font-size: clamp(28px, 4vw, 40px);
  }
}

@media only screen and (max-width: 991px) {
  .about-profile {
    padding: 72px 0 80px;
  }

  .about-profile .profile-main {
    padding-bottom: 48px;
    margin-bottom: 32px;
  }

  .about-profile .profile-top {
    flex-direction: column;
    gap: 40px;
  }

  .about-profile .about-lead-text,
  .about-profile .profile-lead-text {
    font-size: 24px;
    line-height: 40px;
  }

  .about-profile .profile-right {
    width: 100%;
    justify-content: flex-start;
    padding-top: 0;
  }

  .about-profile .profile-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px 48px;
  }

  .about-profile .profile-stats .num {
    font-size: 48px;
    line-height: 1.2;
  }

  .about-profile .profile-cheetah {
    width: min(420px, 88vw);
    height: min(300px, 62vw);
    right: -8px;
    bottom: 0;
    /* 尺寸/位置仅由此改；可见性由 JS 写入，勿在此强制 0 */
  }

  .about-profile .profile-arc {
    width: min(560px, 100vw);
    right: -20px;
  }

  .about-profile .profile-quote {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: none;
  }

  .about-profile .profile-cards {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 767px) {
  .about-profile {
    padding: 56px 0 64px;
  }

  .about-profile .about-lead-text,
  .about-profile .profile-lead-text {
    font-size: 20px;
    line-height: 34px;
  }

  .about-profile .about-lead-bar,
  .about-profile .profile-lead-bar {
    height: 36px;
    margin-top: 0;
  }

  .about-profile .profile-card {
    padding: 22px 18px;
  }

  .about-profile .profile-orbit {
    left: -40px;
    top: 120px;
    bottom: auto;
    width: 360px;
    height: 360px;
  }

  .about-profile .profile-orbit img {
    animation: none;
  }
}
