/* ==========================================================================
   p-about.css — 公司简介页专属（几何数值取自 01_公司简介.psd，1rem=100px）
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 外壳校正（与 download / join 一致的「关于我们」系列标准）
      banner：PSD 已把压暗层合进图里，去掉 CSS 叠加遮罩；标题 80px，红块压在字后
   -------------------------------------------------------------------------- */
/* banner 压暗交给 sub.css 的统一遮罩（30.2% 纯黑），素材本身不含压暗与文字 *//* banner 标题块（80px + 红斜块压在字后）统一由 sub.css 定义，本页不再覆写 */

.wrap { width: 14.42rem; margin-inline: auto; }

/* PSD：banner 底(601) 与 二级栏(641-702) 之间有 40px 空带 */

/* 内容区：上 821-701=120，下 2029-1913=116 */
.about-sec { padding-block: 1.2rem 1.17rem; }

.about-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  /* PSD 正文区高 493（821-1314），保住下方大图与页脚的起始位置 */
  min-height: 4.93rem;
}
.a-info {
  flex: none;
  width: 3.98rem;
}
.a-title {
  font-size: 0.48rem;
  line-height: 1.02;
  font-weight: 400;
  color: var(--c-ink);
}

/* 数据列：纵向堆叠（覆盖首页横向 .stats） */
.a-stats {
  flex-direction: column;
  gap: 0.49rem;
  margin-top: 0.74rem;
}
.a-stats .stat-num {
  font-family: var(--ff-en);
  font-size: 0.42rem;
  font-weight: 700;
  color: var(--c-primary);
}
/* 单位：18px、常规字重、#333；PSD 里三段单位位置各不相同，按块分别给左间距 */
.a-stats .stat-unit {
  font-size: 0.18rem;
  font-weight: 400;
  color: #333;
  vertical-align: 0.06rem;
}
.a-stats .stat:nth-child(1) .stat-unit { margin-left: 0.38rem; }
.a-stats .stat:nth-child(2) .stat-unit { margin-left: 0.27rem; }
.a-stats .stat:nth-child(3) .stat-unit { margin-left: 0.48rem; }
.a-stats .stat-label {
  margin-top: 0.14rem;
  padding-left: 0.02rem;
  color: var(--c-ink-3);
}

/* 右侧长文：超过设计高度（453px）时在框内滚动，
   原生滚动条隐藏，用右缘那根装饰竖线当滚动指示器（见 p-about.js） */
.a-body {
  /* PSD 正文文本框 637-1640（宽 1003），右缘留出竖线与留白 */
  flex: none;
  width: 10.03rem;
  /* 正文实高 504：设计稿 498 会切掉最后一行 6px，看着像「没显示全」，
     这里给到 506 让整段一次读完；以后文案再长就会重新出现滚动 + 渐隐 */
  max-height: 5.06rem;
  margin-top: -0.11rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-size: 0.18rem;   /* PSD 正文 18/36 */
  line-height: 0.36rem;
}
.a-body::-webkit-scrollbar { display: none; }
.a-body:focus-visible {
  outline: 0.02rem solid var(--c-primary);
  outline-offset: 0.08rem;
}
.a-body p { margin: 0; }
.a-body p + p { margin-top: 0.36rem; }

/* 正文底部的白色渐隐：只在正文确实超高时出现（.about-top 加 is-scroll），
   不然会把最后一行洗白，看着像被裁掉 */
.a-fade { display: none; }
.about-top.is-scroll .a-fade { display: block; }
.a-fade {
  position: absolute;
  left: 3.98rem;
  top: 4.47rem;
  width: 10.03rem;
  height: 0.5rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.86) 58%,
    #fff 100%
  );
  pointer-events: none;
}

/* 右缘装饰竖线：灰轨道 + 蓝色滑块（滚动时滑块随内容移动） */
.a-vbar {
  position: absolute;
  right: 0.01rem;
  top: 0;
  width: 0.04rem;
  height: 4.53rem;
  background: #e5eff7;
}
.a-vbar::after {
  content: "";
  position: absolute;
  left: -0.01rem;
  top: 0;
  width: 0.06rem;
  height: var(--a-thumb, 0.63rem);
  background: var(--c-primary);
  transform: translateY(var(--a-y, 0));
  transition: transform 0.12s linear;
}

/* 大图：文字块底约 1314 → 图 1361；播放按钮（PSD 椭圆 8）落在图片正中。
   素材已换成 1440x616 的新裁图，高度跟着走 6.16rem，否则上下会被 object-fit 裁掉 */
.a-pic {
  position: relative;
  margin-top: 0.47rem;
  width: 100%;
  height: 6.16rem;
}
.a-pic img {
  /* PSD 像素层 240-1680（1440），比形状层 239-1682 内缩 1px */
  width: 14.4rem;
  height: 100%;
  margin-left: 0.01rem;
  object-fit: cover;
}
/* 播放按钮：62px 蓝盘 + 白色三角（与稿一致），hover 加白环与轻微放大 */
.a-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 0.62rem;
  height: 0.62rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1e71b9;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}
.a-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.01rem;
  border-left: 0.11rem solid #fff;
  border-top: 0.08rem solid transparent;
  border-bottom: 0.08rem solid transparent;
}
/* 呼吸光圈：只在 hover / 键盘聚焦时跑，静态截图与设计稿保持一致 */
.a-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
@keyframes a-play-pulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 113, 185, 0.55); }
  70% { box-shadow: 0 0 0 0.18rem rgba(30, 113, 185, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 113, 185, 0); }
}
.a-play:hover::after,
.a-play:focus-visible::after {
  animation: a-play-pulse 1.8s ease-out infinite;
}
.a-play:hover {
  background: #0f61a6;
  box-shadow: 0 0 0 0.06rem rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%) scale(1.06);
}
.a-play:focus-visible {
  outline: 0.02rem solid #fff;
  outline-offset: 0.08rem;
}
@media (prefers-reduced-motion: reduce) {
  .a-play:hover::after,
  .a-play:focus-visible::after { animation: none; }
}

/* 响应式 */
@media (max-width: 1024px) {
  .wrap { width: calc(100% - 0.4rem); }
  .about-top { flex-direction: column; gap: 0.5rem; min-height: 0; }
  .a-info { width: 100%; }
  .a-stats { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
  .a-vbar { display: none; }
  .a-fade { display: none; }
  .a-pic { height: 4rem; }
}
@media (max-width: 768px) {
  .about-sec { padding-block: 0.6rem 0.7rem; }
  .a-title { font-size: 0.36rem; }
  .a-body {
    width: auto;
    max-height: none;
    margin-top: 0;
    overflow: visible;
    font-size: 0.24rem;
    line-height: 0.44rem;
  }
  .a-stats { gap: 0.3rem; }
  .a-stats .stat-num { font-size: 0.42rem; }
  .a-stats .stat-label { font-size: 0.24rem; }
  .a-pic { height: 2.6rem; }
}
