/* ==========================================================================
   安怡健康科技 · 大画幅全出血 3D 立体像素浮雕视觉框架 (V2.0)
   Bold Editorial Integration · Seamless Full-Bleed Three.js Architecture
   ========================================================================== */

:root {
  /* Core Palette (Spec §3) */
  --bg-paper: #f8f7ef;
  --bg-paper-elevated: #f2f0e4;
  --ink-primary: #193c32;
  --ink-secondary: #476057;
  --jade-accent: #21634f;
  --jade-deep: #244e45;
  --jade-mid: #72a187;
  --jade-mist: #ece9ce;
  --terracotta: #a95031;
  --warm-gold: #e4ac55;
  --moon-indigo: #11283a;
  --instrument-green: #173a33;
  --hairline: #c9d2c3;

  /* Dark full-bleed band text tokens */
  --dark-text: #f5f5ec;
  --dark-muted: #b4cbc1;
  --dark-line: rgba(236, 233, 206, 0.18);

  /* Typography */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --container-max: 1360px;
  --radius-sm: 3px;
  --nav-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

html.motion-reduced {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--warm-gold);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   Floating Translucent Top Navigation (Adaptive Light/Dark feel)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--nav-height);
  background: rgba(248, 247, 239, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 210, 195, 0.55);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.site-header.over-dark {
  background: rgba(17, 40, 58, 0.72);
  border-bottom-color: rgba(236, 233, 206, 0.14);
  color: var(--dark-text);
}

.site-header.over-green {
  background: rgba(23, 58, 51, 0.74);
  border-bottom-color: rgba(236, 233, 206, 0.14);
  color: var(--dark-text);
}

.site-header.over-dark .nav-links a.active,
.site-header.over-green .nav-links a.active,
.site-header.over-dark .motion-toggle,
.site-header.over-green .motion-toggle,
.site-header.over-dark .mobile-menu-btn,
.site-header.over-green .mobile-menu-btn {
  color: var(--dark-text);
}

.site-header.over-dark .nav-links a,
.site-header.over-green .nav-links a,
.site-header.over-dark .brand-sub,
.site-header.over-green .brand-sub {
  color: var(--dark-muted);
}

.site-header.over-dark .motion-toggle,
.site-header.over-green .motion-toggle {
  border-color: var(--dark-line);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #d95b26;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.brand-logo-svg {
  height: 36px;
  width: auto;
  display: block;
}

.brand-logo-svg.footer-logo {
  height: 40px;
}

.site-header.over-dark .brand-mark,
.site-header.over-green .brand-mark {
  color: #f48c3b;
}

.brand-pixel-seal {
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
  background: var(--ink-primary);
  border-radius: 2px;
}

.site-header.over-dark .brand-pixel-seal,
.site-header.over-green .brand-pixel-seal {
  background: rgba(248, 247, 239, 0.16);
}

.brand-pixel-seal span {
  display: block;
  border-radius: 1px;
  background: var(--jade-mid);
}

.brand-pixel-seal span.hot {
  background: var(--warm-gold);
}

.brand-pixel-seal span.peak {
  background: var(--jade-mist);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--ink-secondary);
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink-primary);
  font-weight: 500;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--terracotta);
}

.site-header.over-dark .nav-links a.active::after,
.site-header.over-green .nav-links a.active::after {
  background: var(--warm-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--ink-primary);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.motion-toggle:hover {
  border-color: var(--jade-accent);
}

.motion-dot {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--jade-accent);
}

.site-header.over-dark .motion-dot,
.site-header.over-green .motion-dot {
  background: var(--warm-gold);
}

.motion-toggle[aria-pressed="false"] .motion-dot {
  background: var(--hairline);
  opacity: 0.4;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--ink-primary);
}

.mobile-drawer {
  display: none;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-paper);
  color: var(--ink-primary);
  padding: 16px 24px 20px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer a {
  display: block;
  padding: 6px 0;
  font-size: 16px;
  border-bottom: 1px dashed rgba(201, 210, 195, 0.65);
}

/* ==========================================================================
   Shared Full-Bleed Architectural Stage Primitives
   ========================================================================== */

.fullbleed-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.fullbleed-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* Feather-soft readable editorial mask on the left so text fuses organically without any box */
.editorial-veil-light {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(248, 247, 239, 0.82) 0%,
    rgba(248, 247, 239, 0.48) 32%,
    rgba(248, 247, 239, 0) 56%
  );
}

.editorial-veil-indigo {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(17, 40, 58, 0.88) 0%,
    rgba(17, 40, 58, 0.56) 34%,
    rgba(17, 40, 58, 0) 60%
  );
}

.editorial-veil-green {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(23, 58, 51, 0.88) 0%,
    rgba(23, 58, 51, 0.54) 35%,
    rgba(23, 58, 51, 0) 62%
  );
}

.stage-overlay {
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.stage-overlay .interactive {
  pointer-events: auto;
}

/* Vertical Eastern poetic margin stamp */
.vertical-seal {
  position: absolute;
  right: 28px;
  top: 104px;
  z-index: 4;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--ink-secondary);
  opacity: 0.72;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.vertical-seal::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  display: inline-block;
}

.vertical-seal.light {
  color: var(--dark-muted);
}

.vertical-seal.light::before {
  background: var(--warm-gold);
}

/* ==========================================================================
   BAND 1: 全屏沉浸首屏《花间步谱》 (100vw × 96vh)
   ========================================================================== */

.blossom-hero {
  min-height: 94vh;
  background: var(--bg-paper);
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

.blossom-copy {
  max-width: 560px;
  padding: 20px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--jade-accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--terracotta);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
  margin: 0 0 24px;
}

.hero-title .nowrap {
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.82;
  color: var(--ink-secondary);
  margin: 0 0 36px;
  max-width: 450px;
}

.hero-subtitle .dot-accent {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  margin-left: 4px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--ink-primary);
  color: var(--bg-paper);
}

.btn-primary:hover {
  background: var(--jade-accent);
}

.btn-secondary {
  background: rgba(248, 247, 239, 0.72);
  color: var(--ink-primary);
  border-color: var(--ink-primary);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(25, 60, 50, 0.08);
}

.scroll-cue {
  position: absolute;
  left: 40px;
  bottom: 26px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-secondary);
}

.scroll-cue-line {
  width: 34px;
  height: 1px;
  background: var(--ink-primary);
  opacity: 0.45;
}

/* ==========================================================================
   Seamless Continuum Wrapper for Band 1 (《花间步谱》) -> Band 2 (《青山入格》)
   ========================================================================== */

.hero-scroll-continuum {
  position: relative;
  background: var(--bg-paper);
}

.cascade-bridge-canvas {
  position: absolute;
  left: 0;
  width: 100%;
  top: 58vh;
  height: 76vh;
  z-index: 6;
  pointer-events: none;
}

/* ==========================================================================
   BAND 2: 全画幅《青山入格》品牌理念篇 + 无框三列微浮雕索引
   ========================================================================== */

.footprint-showcase {
  min-height: 86vh;
  background: var(--bg-paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footprint-copy-wrap {
  padding: 84px 0 44px;
  max-width: 470px;
}

.section-kicker {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--jade-accent);
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-kicker.on-dark {
  color: var(--warm-gold);
}

.section-kicker .en-sub {
  font-family: var(--font-mono);
  font-weight: 400;
  opacity: 0.72;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--ink-primary);
}

.section-title.on-dark {
  color: var(--dark-text);
}

.section-lead {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-secondary);
  margin: 0 0 26px;
}

.section-lead.on-dark {
  color: var(--dark-muted);
}

.footprint-annotations {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.annotation-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swatch {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 1px;
  flex-shrink: 0;
}

/* Three-Pillar Seamless Micro-Relief Strip anchored at bottom of 《青山入格》 */
.pillars-wrapper {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(201, 210, 195, 0.85);
  background: rgba(248, 247, 239, 0.76);
  backdrop-filter: blur(8px);
}

#pillars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.pillars-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar-card {
  display: grid;
  grid-template-columns: 1fr;
  padding: 22px 26px 12px;
  border-right: 1px solid var(--hairline);
  transition: background 0.2s ease;
  color: var(--ink-primary);
}

.pillar-card:last-child {
  border-right: none;
}

.pillar-card:hover {
  background: rgba(33, 99, 79, 0.04);
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.pillar-index {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--jade-accent);
}

.pillar-sub {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin: 0 0 6px;
}

.pillar-canvas-slot {
  height: 138px;
  width: 100%;
}

/* ==========================================================================
   BAND 3: 全幅四时流转《运动趣味 · 跑团圈地》 (Auto-Cycling 4 Times of Day)
   ========================================================================== */

.band-moonlight {
  background: #22464b;
  color: var(--dark-text);
}

.daycycle-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  flex: 1;
  width: 100%;
}

.daycycle-item {
  background: transparent;
  border: none;
  border-top: 2px solid rgba(236, 233, 206, 0.22);
  padding: 10px 4px 4px;
  text-align: left;
  color: var(--dark-muted);
  transition: border-color 0.35s ease, color 0.35s ease;
}

.daycycle-item:hover {
  color: var(--dark-text);
}

.daycycle-item.active {
  border-top-color: var(--warm-gold);
  color: var(--dark-text);
}

.daycycle-time {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  display: block;
}

.daycycle-sub {
  font-size: 11.5px;
  opacity: 0.8;
  display: block;
  margin-top: 2px;
}

/* ==========================================================================
   BAND 4: 滚动驱动全幅《步态理论》 (Sticky Full-Bleed Scroll Auto Walk -> Run)
   ========================================================================== */

.gait-scrolly {
  position: relative;
  min-height: 158vh;
  background: var(--instrument-green);
  color: var(--dark-text);
  border-top: 1px solid rgba(236, 233, 206, 0.1);
}

.gait-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.gait-scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--dark-muted);
  margin-bottom: 16px;
}

.gait-scroll-bar {
  width: 72px;
  height: 3px;
  background: rgba(236, 233, 206, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.gait-scroll-fill {
  height: 100%;
  width: 25%;
  background: var(--warm-gold);
  transition: width 0.2s ease;
}

/* ==========================================================================
   Open Staggered Life Stories Gallery (直接错落展开 · 随滚动自动播放)
   ========================================================================== */

.story-gallery-band {
  position: relative;
  background: var(--bg-paper);
  color: var(--ink-primary);
  padding: 88px 0 96px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.story-gallery-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.story-gallery-content {
  position: relative;
  z-index: 2;
}

.story-gallery-header {
  max-width: 560px;
  margin-bottom: 56px;
}

.staggered-stories {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.stagger-row {
  display: grid;
  grid-template-columns: minmax(320px, 6.2fr) minmax(260px, 3.8fr);
  gap: 48px;
  align-items: center;
}

.stagger-row.flip {
  grid-template-columns: minmax(260px, 3.8fr) minmax(320px, 6.2fr);
}

.stagger-row.flip .stagger-copy {
  order: -1;
  padding-left: 24px;
}

.stagger-row.offset-right {
  padding-left: 6%;
}

.stagger-row.offset-left {
  padding-right: 6%;
}

.stagger-stage-slot {
  height: 340px;
  width: 100%;
}

.stagger-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.stagger-tag::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--terracotta);
}

.stagger-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink-primary);
}

.stagger-desc {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-secondary);
  margin: 0 0 14px;
}

.stagger-relation {
  font-size: 13.5px;
  color: var(--jade-accent);
  padding-top: 12px;
  border-top: 1px dashed var(--hairline);
}

.immersive-demo-stage {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.immersive-copy-col {
  padding: 96px 0 40px;
  max-width: 470px;
}

.mode-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 24px;
}

.ghost-btn {
  padding: 8px 15px;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-line);
  background: rgba(248, 247, 239, 0.05);
  color: var(--dark-text);
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ghost-btn:hover {
  background: rgba(248, 247, 239, 0.14);
}

.ghost-btn.active,
.ghost-btn[aria-pressed="true"] {
  background: var(--warm-gold);
  color: #132520;
  border-color: var(--warm-gold);
  font-weight: 600;
}

/* Minimal Hairline Telemetry Numbers (Zero Heavy Boxes!) */
.hairline-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--dark-line);
}

.hm-label {
  font-size: 12px;
  color: var(--dark-muted);
  margin-bottom: 4px;
}

.hm-val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-text);
  line-height: 1.2;
}

.hm-note {
  font-size: 12px;
  color: var(--dark-muted);
  margin-top: 4px;
}

/* Floating Architectural Bottom Control Ribbon over the 3D Stage */
.floating-ribbon {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--dark-line);
  background: rgba(17, 40, 58, 0.64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.floating-ribbon.green {
  background: rgba(23, 58, 51, 0.68);
}

.ribbon-inner {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ribbon-scrubber {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
  font-size: 12px;
  color: var(--dark-muted);
}

.ribbon-scrubber input[type="range"] {
  flex: 1;
  accent-color: var(--warm-gold);
  cursor: pointer;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--warm-gold);
  margin-bottom: 14px;
}

.hud-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm-gold);
}

.legend-inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 12.5px;
  color: var(--dark-muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shape-circle {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.shape-diamond {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  display: inline-block;
}

.shape-square {
  width: 8px;
  height: 8px;
  display: inline-block;
}

.shape-dashed {
  width: 16px;
  height: 0;
  border-top: 2px dashed rgba(248, 247, 239, 0.7);
  display: inline-block;
}

/* ==========================================================================
   BAND 4: 全幅仪器深绿《步态理论》 (#173A33 Full-Bleed)
   ========================================================================== */

.band-instrument {
  background: var(--instrument-green);
  color: var(--dark-text);
  border-top: 1px solid rgba(236, 233, 206, 0.1);
}

/* Borderless integrated telemetry chart bar floating directly over the bottom of the 3D stage */
.integrated-chart-dock {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--dark-line);
  background: linear-gradient(
    180deg,
    rgba(23, 58, 51, 0.48) 0%,
    rgba(23, 58, 51, 0.88) 100%
  );
  backdrop-filter: blur(10px);
}

.integrated-chart-grid {
  display: grid;
  grid-template-columns: minmax(260px, 3.6fr) minmax(380px, 6.4fr);
  gap: 28px;
  align-items: center;
  padding: 18px 0 22px;
}

.integrated-chart-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  cursor: ew-resize;
  user-select: none;
}

/* ==========================================================================
   BAND 5: 全屏驻留滚动叙事《智能硬件》 (Full-Bleed Sticky 100vh Stage!)
   ========================================================================== */

.hardware-scrolly {
  position: relative;
  background: var(--instrument-green);
  color: var(--dark-text);
  border-top: 1px solid var(--dark-line);
}

.hw-sticky-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.hw-bottom-telemetry {
  position: absolute;
  right: 40px;
  bottom: 26px;
  z-index: 4;
  width: min(560px, 50vw);
  padding: 14px 18px 10px;
  background: rgba(16, 44, 38, 0.72);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
}

.hw-bottom-telemetry svg {
  width: 100%;
  height: auto;
  display: block;
  cursor: ew-resize;
}

.hw-telemetry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--dark-muted);
  margin-bottom: 6px;
}

.hw-scroll-beats {
  position: relative;
  z-index: 5;
  margin-top: -92vh;
  padding-bottom: 16vh;
  pointer-events: none;
}

.hw-beats-col {
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  pointer-events: auto;
}

.hw-intro-block {
  padding-top: 28px;
  margin-bottom: 8px;
}

.scroll-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--dark-muted);
  padding: 8px 13px;
  border: 1px dashed var(--dark-line);
  border-radius: var(--radius-sm);
  background: rgba(16, 44, 38, 0.65);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.scroll-sync-pill input {
  accent-color: var(--warm-gold);
}

.phase-beat {
  width: 100%;
  text-align: left;
  padding: 24px 26px;
  border: 1px solid var(--dark-line);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  background: rgba(16, 44, 38, 0.62);
  backdrop-filter: blur(12px);
  color: var(--dark-text);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.phase-beat:hover {
  background: rgba(20, 54, 46, 0.8);
}

.phase-beat.active {
  background: rgba(23, 62, 53, 0.9);
  border-color: rgba(228, 172, 85, 0.45);
  border-left-color: var(--warm-gold);
}

.phase-beat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.phase-beat-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
}

.phase-beat-range {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--warm-gold);
}

.phase-beat p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--dark-muted);
}

/* ==========================================================================
   Collapsible Life Stories Shelf (Seamless Light/Dark Support)
   ========================================================================== */

.stories-band {
  background: var(--bg-paper);
  color: var(--ink-primary);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 26px 0 34px;
}

.stories-shelf-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.story-fold {
  border-top: 1px solid var(--hairline);
}

.story-fold:last-child {
  border-bottom: 1px solid var(--hairline);
}

.story-summary {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: var(--ink-primary);
}

.story-summary:hover .story-name {
  color: var(--jade-accent);
}

.story-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.story-tag {
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--jade-accent);
}

.story-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
}

.story-brief {
  font-size: 14px;
  color: var(--ink-secondary);
}

.story-chevron {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.story-body {
  display: none;
  padding: 6px 0 28px;
}

.story-fold.open .story-body {
  display: grid;
  grid-template-columns: minmax(320px, 6.2fr) minmax(260px, 3.8fr);
  gap: 32px;
  align-items: center;
}

.story-canvas-host {
  position: relative;
  height: 300px;
  background: var(--bg-paper-elevated);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.story-canvas-host canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.story-caption-bar {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-primary);
  font-weight: 500;
}

.story-text p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.82;
  margin: 0 0 18px;
}

.story-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ctrl-btn-light {
  padding: 8px 14px;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-primary);
  transition: all 0.18s ease;
}

.ctrl-btn-light:hover {
  border-color: var(--jade-accent);
}

.ctrl-btn-light.active {
  background: var(--ink-primary);
  color: var(--bg-paper);
  border-color: var(--ink-primary);
}

/* ==========================================================================
   Abstracted Product Capabilities & Bespoke Vector Diagrams
   (Clean Architectural Hairlines · Zero Raw Screenshots · Zero Clutter)
   ========================================================================== */

.product-detail-band {
  background: var(--bg-paper);
  color: var(--ink-primary);
  padding: 68px 0 72px;
  border-top: 1px solid var(--hairline);
}

.product-detail-band.tinted {
  background: var(--bg-paper-elevated);
}

.detail-band-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 38px;
}

.detail-band-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}

.detail-band-head p {
  margin: 0;
  max-width: 460px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.75;
}

.abstract-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink-primary);
  border-bottom: 1px solid var(--hairline);
}

.abstract-col {
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.abstract-col:not(:first-child) {
  padding-left: 28px;
}

.abstract-col:last-child {
  border-right: none;
  padding-right: 0;
}

.abstract-svg-box {
  height: 146px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 60, 50, 0.025);
  border: 1px solid rgba(201, 210, 195, 0.7);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.abstract-svg-box svg {
  width: 100%;
  height: 100%;
  max-height: 124px;
  display: block;
}

.abstract-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #d95b26;
  margin-bottom: 6px;
}

.abstract-col h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink-primary);
}

.abstract-col p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.72;
  margin: 0;
}

.abstract-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.abstract-tag {
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  color: var(--ink-secondary);
  background: var(--bg-paper);
}

/* Compact 6-Dimension Biomechanics Matrix */
.matrix-six {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.matrix-cell {
  padding: 20px 22px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-paper);
}

.matrix-cell h5 {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.matrix-cell h5::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--jade-accent);
  display: inline-block;
}

.matrix-cell p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* 4-Stage Hardware-to-Archive Architecture Flow */
.arch-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-primary);
  border-bottom: 1px solid var(--hairline);
}

.arch-node {
  padding: 26px 22px 26px 0;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.arch-node:not(:first-child) {
  padding-left: 22px;
}

.arch-node:last-child {
  border-right: none;
  padding-right: 0;
}

.arch-node h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0 0 6px;
}

.arch-node p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   BAND 6: 完整体验 & 资料中心 (Xuan-Paper Return)
   ========================================================================== */

.experience-section {
  padding: 96px 0;
  background: var(--bg-paper-elevated);
  border-bottom: 1px solid var(--hairline);
}

.exp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink-primary);
  border-bottom: 1px solid var(--hairline);
}

.exp-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--hairline);
}

.exp-col:not(:first-child) {
  padding-left: 28px;
}

.exp-col:last-child {
  border-right: none;
  padding-right: 0;
}

.exp-voxel-stage {
  height: 176px;
  width: 100%;
  margin-bottom: 20px;
  background: rgba(248, 247, 239, 0.78);
  border: 1px solid rgba(201, 210, 195, 0.78);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.exp-voxel-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.exp-step-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #d95b26;
  margin-bottom: 8px;
}

.exp-col h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 0 0 10px;
}

.exp-col p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.76;
  margin: 0 0 20px;
}

.exp-stat-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-primary);
  padding: 10px 0 0;
  border-top: 1px dashed var(--hairline);
}

.exp-jump-btn {
  align-self: flex-start;
  padding: 8px 15px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--jade-accent);
  background: transparent;
  border: 1px solid var(--jade-accent);
  border-radius: var(--radius-sm);
  transition: background 0.18s ease, color 0.18s ease;
}

.exp-jump-btn:hover {
  background: var(--jade-accent);
  color: var(--bg-paper);
}

.resources-section {
  padding: 92px 0;
  background: var(--bg-paper);
  border-bottom: 1px solid var(--hairline);
}

.resource-list {
  border-top: 1px solid var(--hairline);
}

.resource-item {
  border-bottom: 1px solid var(--hairline);
}

.resource-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 4px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: baseline;
  gap: 20px;
  text-align: left;
  color: var(--ink-primary);
}

.resource-cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--jade-accent);
}

.resource-q {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
}

.resource-toggle-icon {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--ink-secondary);
}

.resource-content {
  display: none;
  padding: 0 4px 28px 160px;
  max-width: 880px;
}

.resource-item.open .resource-content {
  display: block;
}

.resource-content p {
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.85;
  margin: 0 0 14px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--jade-accent);
  border-bottom: 1px solid var(--jade-accent);
  padding-bottom: 2px;
}

.site-footer {
  padding: 48px 0 60px;
  background: var(--bg-paper);
  font-size: 13px;
  color: var(--ink-secondary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-note {
  max-width: 560px;
  line-height: 1.78;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.footer-bottom a:hover {
  color: var(--ink-primary);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints (Mobile-First Stacked Visual Order & Centered 3D)
   ========================================================================== */

@media (max-width: 960px) {
  .container {
    padding: 0 22px;
  }

  .cascade-bridge-canvas,
  .vertical-seal,
  .scroll-cue {
    display: none;
  }

  .editorial-veil-light,
  .editorial-veil-indigo,
  .editorial-veil-green {
    display: none;
  }

  .blossom-hero,
  .footprint-showcase,
  .immersive-demo-stage,
  .gait-scrolly {
    min-height: auto;
  }

  /* Spec §3 Mobile Order: Copy & Controls First (order: 1) -> Centered 3D Canvas (order: 2) -> Dock/Strip (order: 3) */
  .blossom-hero,
  .footprint-showcase,
  .immersive-demo-stage,
  .gait-sticky-stage {
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
  }

  .blossom-hero {
    padding-top: calc(var(--nav-height) + 8px);
  }

  .blossom-hero > .stage-overlay,
  .footprint-showcase > .stage-overlay,
  .immersive-demo-stage > .stage-overlay,
  .gait-sticky-stage > .stage-overlay {
    order: 1;
  }

  .blossom-hero > .fullbleed-canvas,
  .footprint-showcase > .fullbleed-canvas,
  .immersive-demo-stage > .fullbleed-canvas,
  .gait-sticky-stage > .fullbleed-canvas {
    order: 2;
    position: relative;
    height: 360px;
  }

  .pillars-wrapper,
  .floating-ribbon,
  .integrated-chart-dock {
    order: 3;
  }

  .blossom-copy,
  .footprint-copy-wrap,
  .immersive-copy-col {
    max-width: 100%;
    padding: 36px 0 18px;
  }

  .footprint-copy-wrap {
    padding-top: 48px;
  }

  /* Hardware mobile flow: zero clipping, centered 3D stage + chart + tappable phase beats */
  .hardware-scrolly {
    display: flex;
    flex-direction: column;
    padding-top: 44px;
  }

  .hw-scroll-beats {
    order: 1;
    margin-top: 0;
    padding: 0 0 20px;
  }

  .hw-beats-col {
    max-width: 100%;
    gap: 14px;
  }

  .hw-intro-block {
    padding-top: 0;
  }

  .hw-sticky-bg {
    order: 2;
    position: relative;
    height: auto;
    overflow: visible;
    padding-bottom: 36px;
  }

  .hw-sticky-bg .fullbleed-canvas {
    position: relative;
    height: 330px;
  }

  .hw-bottom-telemetry {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 44px);
    margin: 14px auto 0;
  }

  .daycycle-rail {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 12px 16px;
  }

  .story-gallery-band {
    padding: 56px 0 64px;
  }

  .story-gallery-header {
    margin-bottom: 34px;
  }

  .staggered-stories {
    gap: 48px;
  }

  .stagger-row,
  .stagger-row.flip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stagger-row.offset-right,
  .stagger-row.offset-left {
    padding-left: 0;
    padding-right: 0;
  }

  .stagger-row.flip .stagger-copy {
    order: 0;
    padding-left: 0;
  }

  .stagger-stage-slot {
    height: 270px;
  }

  .integrated-chart-grid,
  .exp-grid,
  .abstract-trio,
  .matrix-six,
  .arch-flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .abstract-col,
  .abstract-col:not(:first-child),
  .arch-node,
  .arch-node:not(:first-child) {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
    padding: 22px 0;
  }

  .abstract-col:last-child,
  .arch-node:last-child {
    border-bottom: none;
  }

  .matrix-six {
    gap: 0;
  }

  .exp-col,
  .exp-col:not(:first-child) {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
    padding: 24px 0;
  }

  .exp-col:last-child {
    border-bottom: none;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .brand-sub {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
    padding: 18px 8px 10px;
  }

  .pillar-card:last-child {
    border-bottom: none;
  }

  .pillar-canvas-slot {
    height: 128px;
  }

  .resource-trigger {
    grid-template-columns: 1fr auto;
    padding: 18px 0;
  }

  .resource-cat {
    grid-column: 1 / -1;
    margin-bottom: -10px;
  }

  .resource-q {
    font-size: 18px;
  }

  .resource-content {
    padding-left: 0;
  }
}

@media (max-width: 650px) {
  .container {
    padding: 0 18px;
  }

  .brand-logo-svg {
    height: 30px;
  }

  .en-sub {
    display: none;
  }

  .hero-title {
    font-size: clamp(32px, 9.2vw, 44px);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 15.5px;
    margin-bottom: 24px;
  }

  .hero-cta-row {
    gap: 10px;
  }

  .hero-cta-row .btn {
    flex: 1 1 140px;
    padding: 12px 16px;
    font-size: 14.5px;
  }

  .section-title {
    font-size: clamp(25px, 7vw, 34px);
  }

  .section-lead {
    font-size: 15px;
    line-height: 1.76;
  }

  .blossom-hero > .fullbleed-canvas,
  .footprint-showcase > .fullbleed-canvas {
    height: 320px;
  }

  .immersive-demo-stage > .fullbleed-canvas,
  .gait-sticky-stage > .fullbleed-canvas,
  .hw-sticky-bg .fullbleed-canvas {
    height: 300px;
  }

  .hw-bottom-telemetry {
    width: calc(100% - 36px);
    padding: 12px 12px 8px;
  }

  .phase-beat {
    padding: 18px 18px;
  }

  .phase-beat-title {
    font-size: 17.5px;
  }

  .hairline-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .hm-val {
    font-size: 20px;
  }

  .stagger-stage-slot {
    height: 245px;
  }

  .experience-section,
  .resources-section {
    padding: 60px 0;
  }
}
