/* ============================================================
   五量度 · about-team 页 Apple 流体视觉层（2026-11-03）
   依赖 home-apple.css 的 .ah 设计令牌与通用组件（body 同时挂 ah / tmpage）。
   角色卡直接复用 .ah-svc（聚光 hover），本文件只写页面专属块：
   首屏微调 / 实景 bento / 四步调度 stepper / 品牌识别带 / 加入我们 / 相关页
   注意：tm- 前缀，不与旧 style.css 的 .about/.svc/.faq/.scene 等类名冲突。
   ============================================================ */

/* ============ 首屏微调 ============ */
.tmpage .ah-stage-photo { aspect-ratio: 4 / 3.1; border-radius: 28px; }
.tmpage .ah-glass { width: min(330px, 90%); }

/* ============ 工程师实景：宽幅合影 + 三格日常 ============ */
.tm-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tm-shot {
  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;
}
.tm-shot:hover { transform: translateY(-5px); box-shadow: var(--ah-shadow-2); }
.tm-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ah-ease); }
.tm-shot:hover img { transform: scale(1.05); }
.tm-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,24,38,0) 50%, rgba(6,24,38,.62) 100%); }
.tm-shot-cap {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 13px; color: #fff;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
}
.tm-shot-cap b { font-size: 14.5px; letter-spacing: -.01em; }
.tm-shot-cap span { font-size: 12px; color: rgba(255,255,255,.84); }
.tm-shot-tag {
  position: absolute; z-index: 2; left: 14px; top: 14px; font-size: 11.5px; letter-spacing: .04em;
  color: #fff; padding: 4px 10px; border-radius: 999px;
  background: rgba(8,26,42,.44); border: 1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tm-shot-wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.tm-shot-wide .tm-shot-cap { left: 22px; right: 22px; bottom: 18px; }
.tm-shot-wide .tm-shot-cap b { font-size: 17px; }
.tm-shot-wide .tm-shot-cap span { font-size: 12.5px; }
.tm-shot-cell { aspect-ratio: 4 / 3; }
.tm-shots-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 20px; padding: 16px 20px; border-radius: 16px;
  background: var(--ah-paper-2); border: 1px solid var(--ah-line-soft);
}
.tm-shots-note p { margin: 0; font-size: 13.5px; color: var(--ah-ink-2); }

/* ============ 调度机制：四步 stepper（滚动点亮） ============ */
.tm-flow { position: relative; margin-top: clamp(26px, 3vw, 40px); }
.tm-flow-rail { position: absolute; left: 34px; right: 34px; top: 21px; height: 2px; background: var(--ah-line); border-radius: 2px; overflow: hidden; }
.tm-flow-rail i {
  display: block; height: 100%; width: var(--p, 0%);
  background: linear-gradient(90deg, var(--ah-brand), #3fbfb2);
  transition: width .25s linear;
}
.tm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; }
.tm-step { position: relative; text-align: center; padding: 0 4px; }
.tm-step-n {
  position: relative; z-index: 2; width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; font-weight: 800; color: var(--ah-ink-3);
  background: #fff; border: 2px solid var(--ah-line);
  transition: transform .55s var(--ah-spring-soft), border-color .4s, background .4s, color .4s, box-shadow .4s;
}
.tm-step h3 { margin: 0; font-size: 15px; color: var(--ah-ink); letter-spacing: -.01em; transition: color .4s; }
.tm-step p { margin: 7px 0 0; font-size: 12.5px; color: var(--ah-ink-3); line-height: 1.7; }
.tm-step.on .tm-step-n {
  border-color: var(--ah-brand); background: var(--ah-brand); color: #fff;
  transform: scale(1.12); box-shadow: 0 8px 20px rgba(22,166,199,.32);
}
.tm-step.on h3 { color: var(--ah-brand-deep); }
/* 有 JS 才启用渐入；无 JS 全部可见 */
.tm-steps--js .tm-step { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ah-ease), transform .55s var(--ah-ease); }
.tm-steps--js .tm-step.on { opacity: 1; transform: none; }
.tm-flow-cta { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.tm-flow-cta p { margin: 0; font-size: 13px; color: var(--ah-ink-3); }

/* ============ 品牌识别（深色，logo 反相适配深底） ============ */
.tm-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;
}
.tm-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%);
}
.tm-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);
}
/* 品牌 mark 以白色托片承载，保留全彩配色：适配周边配色、不做简单图片装载 */
.tm-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);
}
.tm-brand-card .tm-brand-name { margin-top: 16px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.tm-brand-card .tm-brand-tag { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.78); }
.tm-brand-side { position: relative; }
.tm-brand-side .ah-kicker { color: rgba(255,255,255,.72); }
.tm-brand-side .ah-kicker::before, .tm-brand-side .ah-kicker::after { background: rgba(255,255,255,.5); }
.tm-brand-side h2 { margin: 14px 0 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.22; color: #fff; }
.tm-brand-side p { margin: 14px 0 0; font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.8; }
.tm-brand-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tm-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; }

/* ============ 加入我们 ============ */
.tm-join {
  position: relative; overflow: hidden; border-radius: 26px; padding: clamp(28px, 3.6vw, 48px);
  background: linear-gradient(135deg, #eaf7fa 0%, #f0f7ff 60%, #eef4fb 100%);
  border: 1px solid var(--ah-line-soft); box-shadow: var(--ah-shadow-1);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px;
}
.tm-join::before {
  content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(22,166,199,.16), transparent 70%); pointer-events: none;
}
.tm-join-copy { position: relative; max-width: 560px; }
.tm-join-copy h2 { margin: 12px 0 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; color: var(--ah-ink); letter-spacing: -.01em; }
.tm-join-copy p { margin: 12px 0 0; font-size: 14px; color: var(--ah-ink-2); line-height: 1.8; }
.tm-join-copy p b { color: var(--ah-ink); }
.tm-join-acts { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
.tm-join-note { position: relative; font-size: 12.5px; color: var(--ah-ink-3); }

/* ============ 相关页面 ============ */
.tm-sib { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 8px 0 4px; }
.tm-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;
}
.tm-sib a:hover { transform: translateY(-4px); box-shadow: var(--ah-shadow-2); border-color: rgba(22,166,199,.3); }
.tm-sib b { font-size: 15px; color: var(--ah-ink); }
.tm-sib span { font-size: 12.5px; color: var(--ah-brand-deep); }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .tm-brand { grid-template-columns: minmax(0, 1fr); }
  .tm-sib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tm-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .tm-flow-rail { display: none; }
}
@media (max-width: 620px) {
  .tmpage .ah-stage-photo { border-radius: 20px; }
  .tm-shots { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tm-shot-wide { aspect-ratio: 16 / 9; }
  .tm-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tm-step { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; text-align: left; padding: 0; }
  .tm-step-n { margin: 0; }
  .tm-step h3 { padding-top: 2px; }
  .tm-brand { border-radius: 22px; }
  .tm-sib { grid-template-columns: minmax(0, 1fr); }
  .tm-join { flex-direction: column; align-items: flex-start; }
}

/* ============ 无障碍：减弱动效 ============ */
@media (prefers-reduced-motion: reduce) {
  .tm-flow-rail i { transition: none; }
  .tm-steps--js .tm-step { opacity: 1 !important; transform: none !important; }
  .tm-step-n, .tm-shot, .tm-shot img, .tm-sib a { transition-duration: .001ms !important; }
}
