/* ============================================================
   五量度 · about-history 页 Apple 流体视觉层（2026-11-04）
   依赖 home-apple.css 的 .ah 设计令牌与通用组件（body 同时挂 ah / hispage）。
   区块：首屏 / 发展历程时间线 / 关键数据 / 关键时刻实景 / 品牌识别 / FAQ
   ============================================================ */

/* ============ 首屏：竖版主图 + 玻璃成立卡 ============ */
.hispage .ah-stage-photo { aspect-ratio: 3 / 4; border-radius: 28px; }
.hispage .ah-stage-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hispage .ah-glass { width: min(300px, 86%); }
.hispage .ah-glass-addr { margin: 10px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ah-ink-2); }
.hispage .ah-glass-addr b { color: var(--ah-ink); }
.hispage .ah-badge-live { left: auto; right: 16px; }

/* ============ 发展历程时间线 ============ */
.his-timeline {
  position: relative;
  max-width: 980px;
  margin: 6px auto 0;
  padding-left: 0;
}
.his-spine {
  position: absolute; top: 6px; bottom: 6px; left: 199px; width: 3px;
  background: var(--ah-line); border-radius: 3px; overflow: hidden;
}
.his-spine i {
  position: absolute; left: 0; top: 0; width: 100%; height: 0;
  background: linear-gradient(180deg, var(--ah-brand), #4ecdc4 70%, var(--ah-accent));
  transition: height .15s linear;
}
.his-node {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 14px 0 44px;
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ah-ease), transform .7s var(--ah-spring);
}
.his-node.in { opacity: 1; transform: none; }
.his-node:last-child { padding-bottom: 6px; }
.his-dot {
  position: absolute; left: 192px; top: 30px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; border: 3px solid var(--ah-line);
  box-shadow: 0 4px 12px rgba(10,30,55,.08); transition: all .4s var(--ah-spring); z-index: 2;
}
.his-node.in .his-dot {
  border-color: var(--ah-brand);
  background: radial-gradient(circle at 50% 50%, var(--ah-brand) 0 4px, #fff 5px);
  box-shadow: 0 0 0 6px rgba(22,166,199,.16), 0 6px 16px rgba(10,30,55,.12);
}
.his-year-col { text-align: right; padding-top: 18px; }
.his-year {
  font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1;
  background: linear-gradient(135deg, var(--ah-deep), var(--ah-brand-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.his-tag {
  display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--ah-brand-deep); background: rgba(22,166,199,.10);
  padding: 5px 12px; border-radius: 999px;
}
.his-card {
  position: relative; padding: 22px 22px 20px; border-radius: 22px;
  background: #fff; border: 1px solid var(--ah-line); box-shadow: var(--ah-shadow-1);
  overflow: hidden; transition: transform .6s var(--ah-spring), box-shadow .5s, border-color .3s;
}
.his-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px 200px at 100% 0%, rgba(22,166,199,.08), transparent 68%);
}
.his-card:hover { transform: translateY(-5px); box-shadow: var(--ah-shadow-2); border-color: rgba(22,166,199,.3); }
.his-card h3 { position: relative; margin: 0 0 8px; font-size: clamp(18px, 2vw, 23px); color: var(--ah-ink); letter-spacing: -.01em; }
.his-card p { position: relative; margin: 0; font-size: 14.5px; line-height: 1.82; color: var(--ah-ink-2); }
.his-thumb {
  position: relative; margin-top: 16px; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 9; background: #e7eef4;
}
.his-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ah-ease); }
.his-card:hover .his-thumb img { transform: scale(1.05); }
.his-thumb-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px;
  font-size: 12px; color: #fff; background: linear-gradient(180deg, transparent, rgba(6,24,38,.62));
}

/* ============ 关键数据 ============ */
.his-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.his-stat {
  position: relative; padding: 24px 18px; border-radius: 20px; text-align: center;
  background: #fff; border: 1px solid var(--ah-line); box-shadow: var(--ah-shadow-1);
  transition: transform .55s var(--ah-spring), box-shadow .45s, border-color .3s;
}
.his-stat:hover { transform: translateY(-5px); box-shadow: var(--ah-shadow-2); border-color: rgba(22,166,199,.3); }
.his-stat b { display: block; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--ah-deep), var(--ah-brand-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.his-stat span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ah-ink-2); }

/* ============ 关键时刻实景 bento ============ */
.his-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.his-cell {
  position: relative; display: block; overflow: hidden; border-radius: 20px;
  background: #e7eef4; box-shadow: var(--ah-shadow-1);
  transition: transform .6s var(--ah-spring), box-shadow .5s;
}
.his-cell:hover { transform: translateY(-5px); box-shadow: var(--ah-shadow-2); }
.his-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ah-ease); }
.his-cell:hover img { transform: scale(1.05); }
.his-bento-wide { grid-column: 1 / -1; aspect-ratio: 16 / 7.4; }
.his-bento-wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,24,38,.02) 0%, rgba(6,24,38,0) 36%, rgba(6,24,38,.66) 100%); }
.his-bento-wide .his-cell-cap {
  position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; color: #fff;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
}
.his-bento-wide .his-cell-cap b { font-size: 17px; letter-spacing: -.01em; }
.his-bento-wide .his-cell-cap span { font-size: 12.5px; color: rgba(255,255,255,.82); }
.his-bento-cell { aspect-ratio: 4 / 3; }
.his-bento-cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,24,38,0) 52%, rgba(6,24,38,.58) 100%); }
.his-bento-cell .his-cell-cap { position: absolute; z-index: 2; left: 15px; right: 15px; bottom: 12px; color: #fff; font-size: 13.5px; font-weight: 600; }

/* ============ 品牌识别（深色，logo 适配周边配色） ============ */
.his-brand {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3.4vw, 52px); align-items: center; padding: clamp(28px, 3.6vw, 52px);
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, var(--ah-brand-deep), #0a2438); color: #fff;
}
.his-brand::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 240px at 12% 0%, rgba(78,205,196,.30), transparent 60%),
              radial-gradient(360px 220px at 100% 100%, rgba(244,167,44,.18), transparent 60%);
}
.his-brand-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30px; border-radius: 22px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.his-brand-card img {
  width: auto; height: 104px; padding: 20px 24px; border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f2f8fb);
  box-shadow: 0 16px 38px rgba(3,20,34,.42), inset 0 0 0 1px rgba(11,42,64,.06);
}
.his-brand-card .his-brand-name { margin-top: 16px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.his-brand-card .his-brand-tag { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.78); }
.his-brand-side { position: relative; }
.his-brand-side .ah-kicker { color: rgba(255,255,255,.72); }
.his-brand-side .ah-kicker::before, .his-brand-side .ah-kicker::after { background: rgba(255,255,255,.5); }
.his-brand-side h2 { margin: 14px 0 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.22; color: #fff; }
.his-brand-side p { margin: 14px 0 0; font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.8; }
.his-brand-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.his-brand-chips span { font-size: 12.5px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; }

/* ============ 相关页面 ============ */
.his-sib { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 8px 0 4px; }
.his-sib a {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--ah-line); box-shadow: 0 1px 2px rgba(10,30,55,.03);
  text-decoration: none; transition: transform .5s var(--ah-spring), box-shadow .4s, border-color .3s;
}
.his-sib a:hover { transform: translateY(-4px); box-shadow: var(--ah-shadow-2); border-color: rgba(22,166,199,.3); }
.his-sib b { font-size: 15px; color: var(--ah-ink); }
.his-sib span { font-size: 12.5px; color: var(--ah-brand-deep); }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .his-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .his-brand { grid-template-columns: minmax(0, 1fr); }
  .his-sib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .his-spine { left: 8px; }
  .his-dot { left: 1px; top: 26px; }
  .his-node { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 6px 0 30px 34px; }
  .his-year-col { text-align: left; padding-top: 0; }
  .his-year { font-size: 30px; }
  .his-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hispage .ah-stage-photo { border-radius: 20px; }
  .his-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .his-bento { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .his-bento-wide { aspect-ratio: 16 / 10; }
  .his-sib { grid-template-columns: minmax(0, 1fr); }
}

/* ============ 无障碍：减弱动效 ============ */
@media (prefers-reduced-motion: reduce) {
  .his-node, .his-cell, .his-cell img, .his-stat, .his-sib a, .his-brand-card { transition-duration: .001ms !important; }
  .his-node { opacity: 1 !important; transform: none !important; }
}
