.home-hero {
  --hh-accent: #0649ff;
  --hh-ink: #171e27;
  --hh-muted: #56606e;
  --hh-rule: #c5cdd8;
  position: relative;
  padding: clamp(48px, 5.6vw, 96px) 0 0;
  background: radial-gradient(ellipse at 78% 60%, #e6ecf4 0, transparent 60%), #f3f6fa;
  color: var(--hh-ink);
}
.home-hero .wrap { width: 88%; max-width: 1560px; padding-inline: 0; }
.home-hero .hh-grid {
  display: grid;
  grid-template-columns: minmax(0, .38fr) minmax(0, .62fr);
  gap: clamp(28px, 3.4vw, 64px);
  align-items: stretch;
}
.home-hero .hh-grid > * { min-width: 0; }
.home-hero .hh-intro { padding-top: 2px; }
.home-hero .hh-copy-content { display: flow-root; }
.home-hero .hh-kicker {
  margin: 0 0 clamp(22px, 2.2vw, 36px);
  min-height: 1.5em;
  font-size: clamp(16px, 1.5vw, 25px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--hh-accent);
}
.home-hero .hh-title {
  margin: 0 0 clamp(24px, 2.4vw, 40px);
  min-height: 0;
  font-family: var(--f-display);
  font-size: clamp(40px, 4vw, 76px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
  white-space: pre-line;
  text-wrap: balance;
}
html:lang(zh) .home-hero .hh-title { font-size: clamp(32px, 3.25vw, 58px); line-height: 1.16; }
.home-hero .hh-lede {
  margin: 0 0 clamp(28px, 3vw, 50px);
  min-height: 5.1em;
  font-size: clamp(16px, 1.5vw, 25px);
  line-height: 1.7;
  white-space: pre-line;
  color: var(--hh-muted);
}
.home-hero .hh-actions { display: flex; gap: clamp(12px, 1.5vw, 26px); margin-bottom: 26px; }
.home-hero .hh-btn {
  flex: 1 1 0;
  justify-content: space-between;
  gap: 8px;
  min-height: clamp(52px, 4vw, 66px);
  padding: 14px clamp(12px, 1.6vw, 28px);
  border: 1px solid var(--hh-accent);
  border-radius: 3px;
  font-size: clamp(14px, 1.35vw, 22px);
  white-space: nowrap;
  background: var(--hh-accent);
  color: #fff;
}
.home-hero .hh-btn.btn-ghost { border-color: #7b8696; background: transparent; color: var(--hh-ink); }
.home-hero .hh-btn:hover { background: #0739c5; border-color: #0739c5; }
.home-hero .hh-btn.btn-ghost:hover { background: #e6ecf4; border-color: var(--hh-ink); color: var(--hh-ink); }
.home-hero .hh-terms { margin: 0; font-size: clamp(13px, 1.25vw, 21px); line-height: 1.6; color: var(--hh-muted); }
.home-hero .hh-copy-details { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.home-hero .hh-copy-details p { margin: 0; min-height: 0; white-space: pre-line; }
.home-hero .hh-copy-details .hh-accent { font-size: clamp(17px, 1.4vw, 23px); line-height: 1.5; font-weight: 600; }
.home-hero .hh-copy-details .hh-promise { font-size: clamp(15px, 1.1vw, 18px); line-height: 1.65; color: var(--hh-accent); }
.home-hero .hh-copy-details .hh-lede { font-size: clamp(15px, 1.1vw, 18px); line-height: 1.75; }
.home-hero .hh-copy-details ul { margin: 0; padding-left: 1.2em; font-size: clamp(14px, 1vw, 16px); line-height: 1.65; color: var(--hh-muted); }
.home-hero .hh-copy-details .hh-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.home-hero .hh-copy-details .hh-terms { font-size: clamp(12px, .95vw, 15px); line-height: 1.65; }
.home-hero .hh-spec { white-space: pre-line; }
.home-hero .hh-showcase { position: relative; display: flex; flex-direction: column; min-width: 0; }
.home-hero .hh-stage { position: relative; display: flex; flex: 1 1 auto; min-width: 0; padding-inline: 56px; }
.home-hero .hh-arrows { display: contents; }
.home-hero .hh-arrows[hidden] { display: none; }
.home-hero .hh-arrows .hh-ctrl { position: absolute; z-index: 2; top: calc(50% + 32px); transform: translateY(-50%); border-radius: 50%; background: #f3f6fa; }
.home-hero .hh-arrows .hh-prev { left: 0; }
.home-hero .hh-arrows .hh-next { right: 0; }
.home-hero .hh-arrows .hh-ctrl:hover { background: #e4ebf5; }
.home-hero .hh-viewport { position: relative; overflow: hidden; flex: 1 1 auto; min-height: clamp(360px, 30vw, 510px); touch-action: pan-y; }
.home-hero .hh-track { display: flex; position: absolute; inset: 0; will-change: transform; }
.home-hero .hh-slide { flex: 0 0 100%; display: flex; flex-direction: column; min-width: 0; height: 100%; }
.home-hero .hh-slide[hidden] { display: none; }
.home-hero .hh-caption { position: relative; flex: none; padding-left: 22px; margin: 0 0 24px 2%; }
.home-hero .hh-range { margin: 0 0 4px; font-family: var(--f-display); font-size: clamp(20px, 1.7vw, 29px); font-weight: 700; line-height: 1.35; }
.home-hero .hh-range-mark { position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--hh-accent); }
.home-hero .hh-spec { margin: 0; font-size: clamp(16px, 1.5vw, 25px); line-height: 1.5; color: var(--hh-muted); }
.home-hero .hh-media { position: relative; flex: 1 1 auto; display: grid; place-items: center; width: 100%; min-height: 0; min-width: 0; }
.home-hero .hh-media img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.home-hero .hh-media:not(.hh-media--multi):not(.hh-media--composition) img { position: absolute; inset: 0; }
.home-hero .hh-media--composition { display: block; }
.home-hero .hh-media--composition > img { position: absolute; object-fit: contain; }
.home-hero .hh-media--volume::before {
  content: ""; position: absolute; left: 3%; right: 3%; bottom: 4%; height: 18%;
  background: radial-gradient(ellipse, #6f819829 0, transparent 70%); pointer-events: none;
}
/* 用同一比例的场景承载三件实拍产品，避免宽窄视口的高度差改变遮挡关系。 */
.home-hero .hh-media--brand { container-type: size; }
.home-hero .hh-brand-scene { position: absolute; left: 50%; bottom: 0; width: min(100cqw, 125cqh); aspect-ratio: 5 / 4; transform: translateX(-50%); isolation: isolate; }
.home-hero .hh-brand-scene::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse, #34445a40, transparent 70%) 0% 100% / 76% 10% no-repeat,
    radial-gradient(ellipse, #34445a38, transparent 70%) 100% 65% / 67% 10% no-repeat,
    radial-gradient(ellipse, #34445a36, transparent 70%) 100% 95% / 22% 9% no-repeat;
}
.home-hero .hh-brand-scene > img { position: absolute; height: auto; }
.home-hero .hh-brand-scene > img:nth-child(1) { left: 0; bottom: 4%; width: 74%; z-index: 3; filter: drop-shadow(0 8px 5px #34445a24); }
.home-hero .hh-brand-scene > img:nth-child(2) { right: 0; top: 2%; width: 75%; z-index: 1; }
.home-hero .hh-brand-scene > img:nth-child(3) { right: 0; bottom: 5%; width: 20%; max-width: 180px; z-index: 2; filter: drop-shadow(0 6px 4px #34445a24); }
.home-hero .hh-media--racks { container-type: size; }
/* 两款产品共用固定比例场景，上下错位但不互相遮挡。 */
.home-hero .hh-racks-scene { position: absolute; left: 50%; bottom: 28px; width: min(100cqw, calc((100cqh - 28px) * 1.25)); aspect-ratio: 5 / 4; transform: translateX(-50%); isolation: isolate; }
.home-hero .hh-racks-scene::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse, #34445a38, transparent 70%) 0% 58% / 91% 8% no-repeat, radial-gradient(ellipse, #34445a30, transparent 70%) 100% 97% / 80% 7% no-repeat; }
.home-hero .hh-racks-scene > img { position: absolute; height: auto; }
.home-hero .hh-racks-scene > img:nth-child(1) { left: 0; top: 3%; width: 90%; filter: drop-shadow(0 6px 4px #34445a24); }
.home-hero .hh-racks-scene > img:nth-child(2) { right: -3%; bottom: 0; width: 93%; clip-path: polygon(7.812% 39.806%, 12.000% 14.887%, 89.688% 20.065%, 93.438% 44.498%, 93.000% 48.382%, 90.938% 49.515%, 90.750% 57.605%, 88.688% 59.709%, 88.062% 73.625%, 87.250% 78.641%, 85.625% 81.553%, 81.125% 82.686%, 16.000% 79.450%, 14.000% 77.670%, 12.938% 74.272%, 12.875% 66.667%, 13.625% 61.327%, 13.375% 57.282%, 11.500% 55.016%, 10.750% 50.485%, 8.562% 48.058%, 7.812% 45.307%); }
.home-hero .hh-image-note { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 13px; line-height: 1.5; color: var(--hh-muted); }
.home-hero .hh-media--module > img { left: 50%; top: 48%; transform: translate(-50%, -50%); width: min(78%, 394px); height: min(85%, 423px); filter: drop-shadow(0 14px 10px #34445a22); }
.home-hero .hh-media--instrument > img { left: 0; top: 50%; transform: translateY(-50%); width: 100%; height: auto; }
/* 轮廓裁切只作用于浏览器展示，屏幕、铭牌、透明盖板与机身仍是同一张相机原片。 */
.home-hero .hh-brand-scene > img:nth-child(2), .home-hero .hh-media--instrument > img {
  clip-path: polygon(52.5% 2.7%, 94% 8.4%, 94% 13%, 92.5% 16%, 93.3% 18%, 90.3% 47%, 94.6% 50%, 95% 52%, 91% 52%, 90% 57%, 86.5% 61%, 77% 72%, 77% 84%, 75% 91%, 71% 94%, 66% 93%, 64.5% 90%, 57.5% 94.5%, 55% 96%, 53% 95%, 52% 92%, 16% 74%, 14.5% 74%, 14.3% 72%, 7.7% 66%, 7.3% 55%, 15.6% 11.5%, 23.5% 9.5%, 24% 8.8%);
}
.home-hero .hh-media--liquid { container-type: size; }
.home-hero .hh-liquid-scene { position: absolute; left: 50%; bottom: 0; width: min(100cqw, 125cqh); aspect-ratio: 5 / 4; transform: translateX(-50%); isolation: isolate; }
.home-hero .hh-liquid-scene::before { content: ""; position: absolute; left: 43%; right: 0; bottom: 0; height: 9%; background: radial-gradient(ellipse, #34445a35, transparent 70%); pointer-events: none; }
.home-hero .hh-liquid-scene > img { position: absolute; right: 0; bottom: 4%; width: 56%; height: auto; z-index: 1; filter: drop-shadow(0 5px 4px #34445a16); }
.home-hero .hh-detail-link { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #0649ff66; stroke-width: 1; z-index: 2; pointer-events: none; }
.home-hero .hh-detail-link path, .home-hero .hh-detail-link circle { vector-effect: non-scaling-stroke; }
.home-hero .hh-detail-link circle { fill: #f3f6fa; stroke: var(--hh-accent); }
.home-hero .hh-workspace-detail { position: absolute; left: 0; top: 43%; width: 39%; margin: 0; z-index: 3; }
.home-hero .hh-workspace-crop { position: relative; width: 100%; aspect-ratio: 1.6; border: 1px solid #b6c1d0; border-radius: 3px; overflow: hidden; background: #e9eff7; }
/* 局部只取同一张原图底部的孔板与载台，避免重复展示整机上方的大块面板。 */
.home-hero .hh-workspace-crop img { position: absolute; left: -18%; top: -218%; width: 160%; height: auto; max-width: none; }
.home-hero .hh-workspace-detail figcaption { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--hh-muted); }
/* 固定外层命中区域，只变换内层，避免图片移动后丢失悬浮状态而反复闪动。 */
.home-hero .hh-workspace-detail:focus-visible { outline: none; }
.home-hero .hh-workspace-zoom { margin: 0; transform-origin: left bottom; transform: translateY(0) scale(1); transition: transform 420ms cubic-bezier(.22, 1, .36, 1); }
.home-hero .hh-workspace-crop { transition: box-shadow 320ms ease, border-color 240ms ease; }
.home-hero .hh-workspace-detail:focus-visible .hh-workspace-zoom { transform: translateY(-32%) scale(1.45); outline: 2px solid var(--hh-accent); outline-offset: 5px; }
.home-hero .hh-workspace-detail:focus-visible .hh-workspace-crop { border-color: #0649ff80; box-shadow: 0 14px 32px #263d642b, 0 3px 8px #263d6417; }
@media (hover: hover) and (pointer: fine) {
  .home-hero .hh-workspace-detail { cursor: zoom-in; }
  .home-hero .hh-workspace-detail:hover .hh-workspace-zoom { transform: translateY(-32%) scale(1.45); }
  .home-hero .hh-workspace-detail:hover .hh-workspace-crop { border-color: #0649ff80; box-shadow: 0 14px 32px #263d642b, 0 3px 8px #263d6417; }
}

.home-hero .hh-media--device-detail > img { left: 50%; top: 46%; transform: translate(-50%, -50%); width: min(94%, 514px); height: min(75%, 249px); }
.home-hero .hh-media--device-detail .hh-image-note { bottom: 12%; }
/* 三件产品共用底部基线；后方系统保留完整高度，前景磁力架按实物比例呈现。 */
.home-hero .hh-media--multi { display: block; }
.home-hero .hh-media--multi img { position: absolute; object-position: center bottom; filter: drop-shadow(0 14px 9px #34445a16); }
.home-hero .hh-media--multi img:nth-child(1) { left: 0; bottom: 0; width: 32%; height: 66%; z-index: 2; }
.home-hero .hh-media--multi img:nth-child(2) { left: 31%; bottom: 0; width: 33%; height: 70%; z-index: 2; }
.home-hero .hh-media--multi img:nth-child(3) { right: 0; bottom: 0; width: 35%; height: 100%; z-index: 1; }
.home-hero .hh-media--volume img:nth-child(1) { left: 0; bottom: 30px; width: 33%; height: 62%; }
.home-hero .hh-media--volume img:nth-child(2) { left: 32%; bottom: 30px; width: 34%; height: 66%; }
.home-hero .hh-media--volume img:nth-child(3) { right: 0; bottom: 30px; width: 34%; height: 91%; }
.home-hero .hh-volume-labels { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; font-size: 13px; line-height: 1.5; color: var(--hh-muted); }
.home-hero .hh-bar { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); margin-top: 32px; min-height: 44px; }
.home-hero .hh-state { flex: 1 1 auto; min-width: 80px; display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.home-hero .hh-count { flex: none; display: flex; align-items: baseline; gap: 4px; font-family: var(--f-body); font-size: clamp(14px, 1.2vw, 20px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-hero .hh-segments { flex: 1 1 auto; display: grid; grid-template-columns: repeat(7, minmax(24px, 1fr)); gap: 8px; min-width: 0; }
.home-hero .hh-segments[hidden] { display: none; }
.home-hero .hh-segment { position: relative; display: block; min-width: 24px; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.home-hero .hh-segment::before, .home-hero .hh-segment::after { content: ""; position: absolute; inset: 20px 0; border-radius: 2px; }
.home-hero .hh-segment::before { background: var(--hh-rule); transition: background-color 160ms ease; }
.home-hero .hh-segment::after { background: var(--hh-accent); transform: scaleX(0); transform-origin: left center; }
.home-hero .hh-segment[aria-current="true"]::before { background: #0046ff55; }
.home-hero .hh-segment[aria-current="true"]::after { transform: scaleX(var(--hh-segment-progress, 0)); }
.home-hero .hh-segment:hover::before { background: var(--hh-accent); }
.home-hero .hh-range-link { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: clamp(14px, 1.2vw, 20px); font-weight: 500; color: var(--hh-accent); text-decoration: none; }
.home-hero .hh-range-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-hero .hh-ctrl { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #b6c1d0; border-radius: 3px; background: transparent; color: var(--hh-ink); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.home-hero .hh-ctrl:hover { background: #e4ebf5; border-color: #7b8696; }
.home-hero .hh-ctrl:active { background: #d8e2ef; }
.home-hero .hh-ctrl:disabled { opacity: .45; cursor: default; }
.home-hero .hh-ctrl svg { display: block; }
.home-hero a:focus-visible, .home-hero button:focus-visible { outline: 2px solid var(--hh-accent); outline-offset: 4px; }
.home-hero .hh-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-hero .hh-explore-wrap { margin-top: clamp(42px, 4.4vw, 74px); }
.home-hero .hh-explore-wrap .wrap { border-top: 1px solid var(--hh-rule); }
.home-hero .hh-explore { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: clamp(64px, 5.8vw, 96px); padding: 18px 0; font-size: clamp(14px, 1.2vw, 20px); color: var(--hh-muted); text-decoration: none; }
.home-hero .hh-explore-icon { display: grid; place-items: center; width: 24px; height: 24px; color: var(--hh-ink); }
.home-hero .hh-explore-icon svg { width: 22px; height: 22px; }
.home-hero .hh-explore:hover { color: var(--hh-accent); }
.home-catalogue section#products { scroll-margin-top: 0; }
@media (min-width: 781px) and (max-width: 1100px) {
  .home-hero .wrap { width: 92%; }
  .home-hero .hh-grid { gap: 26px; }
  .home-hero .hh-kicker { font-size: 15px; }
  .home-hero .hh-title { font-size: 4.4vw; }
  .home-hero .hh-lede { font-size: 15px; min-height: 6.8em; }
  .home-hero .hh-actions { flex-direction: column; gap: 10px; }
  .home-hero .hh-btn { flex: none; min-height: 48px; }
  .home-hero .hh-bar { flex-wrap: wrap; gap: 12px; }
  .home-hero .hh-state { flex-basis: 100%; }
}
@media (max-width: 780px) {
  .home-hero { padding-top: 32px; }
  .home-hero .wrap { width: auto; margin-inline: 24px; }
  .home-hero .hh-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-hero .hh-kicker { font-size: clamp(14px, 3.7vw, 20px); margin-bottom: 20px; }
  .home-hero .hh-title { font-size: clamp(38px, 10.2vw, 68px); margin-bottom: 22px; }
  .home-hero .hh-lede { font-size: 16px; min-height: 5.1em; margin-bottom: 24px; }
  .home-hero .hh-actions { gap: 10px; margin-bottom: 18px; }
  .home-hero .hh-btn { padding: 12px; min-height: 50px; font-size: 14px; }
  .home-hero .hh-terms { font-size: 13px; }
  .home-hero .hh-viewport { flex: none; height: clamp(300px, 70vw, 480px); min-height: 0; }
  .home-hero .hh-stage { flex: none; padding-inline: 24px; }
  .home-hero .hh-stage .hh-viewport { flex: 1 1 auto; min-width: 0; }
  .home-hero .hh-arrows .hh-prev { left: -16px; }
  .home-hero .hh-arrows .hh-next { right: -16px; }
  .home-hero .hh-caption { padding-left: 16px; margin: 0 0 16px; }
  .home-hero .hh-range { font-size: 20px; }
  .home-hero .hh-spec { font-size: 16px; }
  .home-hero .hh-image-note, .home-hero .hh-volume-labels { font-size: 12px; }
  .home-hero .hh-bar { flex-wrap: wrap; gap: 14px 12px; margin-top: 24px; }
  .home-hero .hh-state { flex-basis: 100%; flex-wrap: wrap; gap: 0; }
  .home-hero .hh-segments { flex-basis: 100%; gap: 6px; }
  .home-hero .hh-range-link { font-size: 14px; }
  .home-hero .hh-explore-wrap { margin-top: 32px; }
  .home-hero .hh-explore { min-height: 64px; font-size: 14px; }
}
@media (max-width: 360px) {
  .home-hero .wrap { margin-inline: 18px; }
  .home-hero .hh-title { font-size: 10vw; }
  .home-hero .hh-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .hh-track { transition: none !important; }
  .home-hero .hh-ctrl, .home-hero .hh-segment::before, .home-hero .hh-workspace-zoom, .home-hero .hh-workspace-crop { transition: none; }
}

/* 英文单词不能按汉字拆分；独立字号和按钮排列保证窄屏仍能完整阅读。 */
.home-hero[lang="en"] .hh-title { font-weight: 600; font-size: clamp(36px, 3.1vw, 59px); letter-spacing: -.035em; }
.home-hero[lang="en"] .hh-range { font-weight: 600; }
.home-hero[lang="en"] .hh-btn { font-size: clamp(13px, 1.05vw, 17px); }
@media (max-width: 1100px) {
  .home-hero[lang="en"] .hh-actions { flex-direction: column; }
  .home-hero[lang="en"] .hh-btn { flex: none; }
}
@media (max-width: 780px) {
  .home-hero[lang="en"] .hh-title { font-size: clamp(32px, 7.7vw, 56px); }
  .home-hero[lang="en"] .hh-btn { font-size: 14px; }
}
