/* ---- 允许滚动（styles.css 的 body 为 overflow:hidden） ---- */
body.about-page {
  overflow-y: auto;
  overflow-x: hidden;
}

/* ---- 修正 file:// 下 styles.css 绝对路径失效的问题 ---- */
.about-page .bg-grain {
  background-image: url('../assets/grain.svg');
}
.about-page .brand-logo--horizontal {
  -webkit-mask-image: url('../assets/wh-logo.svg');
          mask-image: url('../assets/wh-logo.svg');
}

/* ---- 滚动版 shell：去掉 100vh 约束 ---- */
.shell--scroll {
  height: auto;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  padding-top: 0;
}
@media (max-width: 768px) {
  .shell--scroll { padding: 0 22px; }
}

/* ---- 顶部导航 sticky 吸附 ---- */
.about-page .nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 28px 0 18px;

}

/* ============================================================
   HERO — 首屏
   ============================================================ */

.about-hero {
  position: relative;
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 80px;
}

/* hero 内的四角 meta rail（复用 .rail 基础，重新定位到 hero 内） */
.about-hero .rail {
  position: absolute;
}
.rail--tl,.rail--tr {
  top: 0;
}

/* 背景装饰环 —— 呼应首页 mark 的轨道环 */
.hero-ring {
  position: absolute;
  /* inset: 50% auto auto 50%; */
  transform: translate(-50%, -50%);
  width: min(72vh, 86vw);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
}
.hero-ring svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-ring--a { animation: orbitSpin 42s linear infinite; }
.hero-ring--b { animation: orbitSpin 28s linear infinite reverse; }

.hero-halo {
  position: absolute;
  /* inset: 60% 55%; */
  transform: translate(-50%, -50%);
  width: min(52vh, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(230, 0, 18, 0.22) 0%, rgba(230, 0, 18, 0.05) 45%, transparent 70%);
  filter: blur(12px);
  animation: haloPulse 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-meta);
  color: rgba(237, 232, 221, 0.55);
  margin-bottom: 22px;
  animation: wordmarkIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero__tag::before,
.hero__tag::after {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  background: #E60012;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.6rem, 13vw, 10rem);
  line-height: 0.82;
  letter-spacing: 0.01em;
  color: #EDE8DD;
  text-shadow:
    -2px 0 0 rgba(0, 230, 240, 0.5),
     2px 0 0 rgba(230, 0, 18, 0.6);
  animation: markIntro 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__sub {
  margin-top: 26px;
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  letter-spacing: 0.1em;
  color: #EDE8DD;
  animation: wordmarkIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero__slogan {
  margin-top: 18px;
  font-family: var(--font-cn);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: rgba(237, 232, 221, 0.6);
  letter-spacing: 0.05em;
  animation: wordmarkIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero__slogan-en {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: rgba(237, 232, 221, 0.35);
  margin-left: 6px;
}

/* 底部滚动提示 */
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(237, 232, 221, 0.4);
  animation: wordmarkIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(237, 232, 221, 0.5), transparent);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.about-main {
  position: relative;
  z-index: 10;
}

#who {
  margin-top: 80px;
}
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 0;
}

.section__head {
  margin-bottom: 44px;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-meta);
  color: rgba(237, 232, 221, 0.45);
  margin-bottom: 18px;
}
.section__label::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  background: #E60012;
}
.section__title {
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #EDE8DD;
}
.section__title .en {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.9;
  color: rgba(237, 232, 221, 0.16);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

/* 分隔 hairline */
.section--divider {
  border-bottom: 1px solid var(--hairline);
}

/* ---- 正文 ---- */
.prose {
  font-family: var(--font-cn);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.9;
  color: rgba(237, 232, 221, 0.78);
  max-width: 720px;
}
.prose + .prose { margin-top: 20px; }
.prose strong { color: #EDE8DD; font-weight: 700; }
.prose .hl { color: #E60012; font-weight: 700; }

/* ---- 双栏：左标题右正文 ---- */
.section__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .section__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   STATS — 数字统计
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  background: #0B0B0E;
  padding: 36px 30px;
  transition: background 0.3s ease;
}
.stat:hover { background: #15151A; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.9;
  color: #EDE8DD;
  letter-spacing: 0.01em;
}
.stat__num .unit { color: #E60012; font-size: 0.55em; }
.stat__label {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-meta);
  color: rgba(237, 232, 221, 0.5);
}

/* ============================================================
   VALUES — 价值观卡片
   ============================================================ */

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .values { grid-template-columns: 1fr; }
}
.value {
  position: relative;
  padding: 34px 32px;
  border: 1px solid var(--hairline);
  background: rgba(21, 21, 26, 0.4);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.value:hover {
  border-color: rgba(230, 0, 18, 0.5);
  background: rgba(21, 21, 26, 0.7);
}
.value__no {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #E60012;
  line-height: 1;
  margin-bottom: 20px;
}
.value__title {
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: 1.25rem;
  color: #EDE8DD;
  margin-bottom: 6px;
}
.value__en {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-meta);
  color: rgba(237, 232, 221, 0.4);
  margin-bottom: 16px;
}
.value__desc {
  font-family: var(--font-cn);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(237, 232, 221, 0.6);
}

/* ============================================================
   CAPABILITIES — 能力列表
   ============================================================ */

.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (max-width: 720px) {
  .caps { grid-template-columns: 1fr; }
}
.cap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 30px 30px 30px 0;
  border-top: 1px solid var(--hairline);
}
.cap:nth-child(even) { padding-left: 30px; padding-right: 0; }
@media (max-width: 720px) {
  .cap:nth-child(even) { padding-left: 0; }
}
.cap__idx {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #E60012;
  line-height: 1;
  min-width: 34px;
  padding-top: 2px;
}
.cap__title {
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: 1.1rem;
  color: #EDE8DD;
  margin-bottom: 8px;
}
.cap__desc {
  font-family: var(--font-cn);
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(237, 232, 221, 0.55);
}

/* ============================================================
   CONTACT CTA
   ============================================================ */

.contact {
  text-align: center;
  padding: 90px 0 40px;
}
.contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-meta);
  color: rgba(237, 232, 221, 0.45);
  margin-bottom: 20px;
}
.contact__title {
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #EDE8DD;
  line-height: 1.2;
}
.contact__title .en {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.9;
  color: rgba(237, 232, 221, 0.14);
  margin-bottom: 12px;
}
.contact__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 16px 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-meta);
  color: #0B0B0E;
  background: #EDE8DD;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background 0.2s ease, color 0.2s ease;
}
.contact__cta:hover {
  background: #E60012;
  color: #EDE8DD;
}
.contact__cta svg { transition: transform 0.2s ease; }
.contact__cta:hover svg { transform: translateX(4px); }

/* ============================================================
   Scroll reveal
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-ring--a, .hero-ring--b, .hero__scroll span { animation: none; }
}
