/* ============================================================
   Vision Manifesto — 独立于全站 token 的"宣言"视觉语言
   来源：mytest/认知的第五次体外化.html（幻灯片版）
   作用域：仅在 .vision-manifesto 容器内生效，不影响其他页面
   固定深色，不随全站主题切换（刻意的品牌调性选择）
   ============================================================ */

.vision-manifesto {
  --vm-bg: #080b0f;
  --vm-bg-soft: #0f1318;
  --vm-text: #e9e7e1;
  --vm-text-dim: #8c8b85;
  --vm-text-mute: #55554f;
  --vm-accent: #d4a574;
  --vm-accent-b: #ecbf8a;
  --vm-red: #c75b5b;
  --vm-green: #6fa079;
  --vm-line: rgba(233, 231, 225, 0.1);
  --vm-serif: "Noto Serif SC Local", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --vm-sans: var(--font-plex-sans), "PingFang SC", "Microsoft YaHei", sans-serif;

  background: radial-gradient(ellipse at 50% 0%, var(--vm-bg-soft) 0%, var(--vm-bg) 55%, #040608 100%);
  color: var(--vm-text);
  font-family: var(--vm-sans);
  -webkit-font-smoothing: antialiased;
}

.vision-manifesto * {
  box-sizing: border-box;
}

.vm-section {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
}

.vm-section + .vm-section {
  border-top: 1px solid var(--vm-line);
}

.vm-narrow {
  max-width: 680px;
  margin: 0 auto;
}

.vm-center {
  text-align: center;
}

/* ---------- reveal (scroll-triggered) ---------- */
.vm-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.vm-reveal.vm-shown {
  opacity: 1;
  transform: none;
}

/* ---------- typography helpers ---------- */
.vm-serif {
  font-family: var(--vm-serif);
}

.vm-accent {
  color: var(--vm-accent);
}

.vm-accent-b {
  color: var(--vm-accent-b);
}

.vm-red {
  color: var(--vm-red);
}

.vm-green {
  color: var(--vm-green);
}

.vm-dim {
  color: var(--vm-text-dim);
}

.vm-mute {
  color: var(--vm-text-mute);
}

.vm-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--vm-accent);
  border: 1px solid rgba(212, 165, 116, 0.4);
  padding: 0.4em 1.2em;
  border-radius: 999px;
  text-transform: uppercase;
}

.vm-hr {
  height: 1px;
  background: var(--vm-line);
  margin: 2.5rem 0;
  border: none;
}

/* ---------- text utilities (替代 inline style) ---------- */
.vm-tag-center {
  display: block;
  text-align: center;
}

.vm-text-lead {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--vm-text);
}

.vm-text-bridge {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--vm-text-dim);
  text-align: center;
}

.vm-text-note {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--vm-text-dim);
}

.vm-text-small {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--vm-text-dim);
}

.vm-internal-divide {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--vm-line);
}

/* ---------- hero ---------- */
.vm-hero {
  padding: clamp(5rem, 14vw, 9rem) 1.5rem clamp(4rem, 10vw, 6rem);
  text-align: center;
}

.vm-hero-title {
  font-family: var(--vm-serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #f4f2ec;
}

.vm-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--vm-text-dim);
  margin-top: 1.4rem;
  letter-spacing: 0.03em;
  font-weight: 300;
}

/* ---------- story lines ---------- */
.vm-story .vm-line {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.9;
  color: var(--vm-text);
  margin-bottom: 0.5rem;
}

.vm-story .vm-line.muted {
  color: var(--vm-text-dim);
}

.vm-story .vm-line.quote {
  font-family: var(--vm-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  color: #f0ede5;
  padding-left: 1.2rem;
  border-left: 2px solid var(--vm-accent);
  margin: 1.2rem 0;
}

.vm-story .vm-line.gap {
  margin-top: 1.8rem;
}

.vm-story .vm-line.punch {
  font-family: var(--vm-serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--vm-accent-b);
  margin-top: 0.8rem;
}

/* ---------- convergence cards (opening 3 stories) ---------- */
.vm-conv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 800px) {
  .vm-conv-grid {
    grid-template-columns: 1fr;
  }
}

.vm-conv-card {
  border: 1px solid var(--vm-line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
}

.vm-conv-card .vm-conv-name {
  font-family: var(--vm-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--vm-accent-b);
}

.vm-conv-card .vm-conv-year {
  font-size: 0.8rem;
  color: var(--vm-accent);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

.vm-conv-lines {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.vm-conv-row {
  font-size: 0.8rem;
  color: var(--vm-text-dim);
}

.vm-conv-row .vm-conv-track {
  margin-top: 0.3rem;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.vm-conv-row .vm-conv-fill {
  position: absolute;
  inset: 0 0 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(212, 165, 116, 0.1), var(--vm-accent));
}

.vm-conv-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--vm-text-dim);
  line-height: 1.6;
}

/* ---------- question ---------- */
.vm-question .vm-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--vm-text-dim);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.vm-question .vm-mid {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--vm-text);
  margin-bottom: 1.2rem;
}

.vm-question .vm-big {
  font-family: var(--vm-serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.65;
  color: #f2efe8;
}

.vm-question .vm-big em {
  color: var(--vm-accent-b);
  font-style: normal;
}

/* ---------- spectrum ---------- */
.vm-spectrum-wrap {
  margin: 3rem 0 1.5rem;
}

.vm-spectrum {
  display: flex;
  height: clamp(48px, 8vw, 70px);
  align-items: center;
  overflow: visible;
  position: relative;
}

.vm-spec-band {
  flex: 1;
  height: 40%;
}

.vm-spec-b1 {
  flex: 4.5;
  background: #3a2a4a;
}

.vm-spec-b2 {
  flex: 4;
  background: #2a2a3a;
}

.vm-spec-b3 {
  flex: 3.5;
  background: #2a3530;
}

.vm-spec-b4 {
  flex: 4;
  background: #3a3025;
}

.vm-spec-b5 {
  flex: 4.5;
  background: #2a2520;
}

.vm-spec-vis-col {
  flex: 0.22;
  position: relative;
  height: 100%;
  z-index: 3;
}

.vm-spec-vis-bar {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 60%;
  background: linear-gradient(90deg, #7b4ab8, #4a6fd4, #5fd46a, #e8d63c, #e8923c, #d4483c);
  border: 2px solid var(--vm-accent-b);
  border-radius: 2px;
  box-shadow: 0 0 24px rgba(236, 191, 138, 0.55), 0 0 6px rgba(236, 191, 138, 0.8);
}

.vm-spec-annot {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--vm-accent-b);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.06em;
  font-weight: 600;
  line-height: 1.4;
}

.vm-spec-annot .vm-nm {
  font-size: 0.65rem;
  color: var(--vm-text-dim);
  font-weight: 400;
  display: block;
}

.vm-spec-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--vm-text-mute);
  margin-top: 1rem;
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vm-spec-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--vm-text-dim);
  line-height: 1.8;
}

/* ---------- proposition (核心命题) ---------- */
.vm-prop {
  text-align: center;
}

.vm-prop .vm-row {
  font-family: var(--vm-serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  line-height: 1.7;
}

.vm-prop .vm-neq {
  color: var(--vm-red);
}

.vm-prop .vm-row.vm-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--vm-text-dim);
  font-weight: 400;
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* ---------- timeline ---------- */
.vm-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 2.5rem 0 1rem;
  position: relative;
  gap: 0.5rem;
}

.vm-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.9rem;
  height: 1px;
  background: var(--vm-line);
}

.vm-tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.vm-tl-time {
  font-size: 0.7rem;
  color: var(--vm-text-mute);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  text-align: center;
}

.vm-tl-num {
  font-family: var(--vm-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--vm-accent);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1.5px solid var(--vm-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vm-bg);
  position: relative;
  z-index: 2;
}

.vm-tl-name {
  font-family: var(--vm-serif);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.8rem;
  color: #f0ede5;
  text-align: center;
}

.vm-tl-cap {
  font-size: 0.7rem;
  color: var(--vm-text-dim);
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.vm-tl-now .vm-tl-num {
  background: var(--vm-accent);
  color: var(--vm-bg);
  box-shadow: 0 0 16px rgba(212, 165, 116, 0.5);
}

.vm-tl-now .vm-tl-time,
.vm-tl-now .vm-tl-cap {
  color: var(--vm-accent);
}

@media (max-width: 700px) {
  .vm-timeline {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .vm-timeline::before {
    left: 1.1rem;
    top: 0;
    bottom: 0;
    right: auto;
    width: 1px;
    height: auto;
  }

  .vm-tl-node {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 1rem;
  }

  .vm-tl-time,
  .vm-tl-name,
  .vm-tl-cap {
    text-align: left;
  }
}

/* ---------- two columns ---------- */
.vm-cols {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  margin-top: 1.5rem;
}

@media (max-width: 700px) {
  .vm-cols {
    flex-direction: column;
  }
}

.vm-col {
  flex: 1;
}

.vm-col-head {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--vm-text-mute);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.vm-col-head.vm-red-h {
  color: var(--vm-red);
}

.vm-col-head.vm-green-h {
  color: var(--vm-green);
}

.vm-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vm-col-list li {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 1.8;
  color: var(--vm-text);
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.7rem;
}

.vm-col-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vm-text-mute);
}

.vm-col-list.vm-red-list li::before {
  background: var(--vm-red);
}

.vm-col-list.vm-green-list li::before {
  background: var(--vm-green);
}

.vm-col-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--vm-line);
  border-radius: 0.6rem;
  padding: 1.4rem;
}

.vm-col-card.vm-dim-card {
  opacity: 0.6;
}

.vm-col-card.vm-accent-card {
  border-color: rgba(212, 165, 116, 0.35);
  background: rgba(212, 165, 116, 0.04);
}

/* ---------- flow (bottleneck -> solution) ---------- */
.vm-flow-top {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--vm-text-mute);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.vm-flow-problem {
  font-family: var(--vm-serif);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--vm-text);
  line-height: 1.6;
}

.vm-arrow-d {
  color: var(--vm-accent);
  font-size: 1.3rem;
  text-align: center;
  line-height: 1;
  margin: 1rem 0;
}

/* ---------- table ---------- */
.vm-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  margin: 1.5rem 0;
}

.vm-tbl th {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--vm-text-mute);
  font-weight: 500;
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--vm-line);
  text-transform: uppercase;
}

.vm-tbl td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--vm-line);
  color: var(--vm-text);
}

.vm-tbl .vm-name {
  font-family: var(--vm-serif);
  font-weight: 600;
  color: #f0ede5;
}

.vm-tbl tr.vm-hi td {
  color: var(--vm-accent-b);
  font-weight: 600;
}

.vm-tbl tr.vm-hi .vm-name {
  color: var(--vm-accent-b);
}

.vm-tbl tr.vm-hi td:first-child {
  box-shadow: inset 3px 0 0 var(--vm-accent);
}

@media (max-width: 600px) {
  .vm-tbl {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ---------- vs compare ---------- */
.vm-vs {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 1.5rem;
}

@media (max-width: 700px) {
  .vm-vs {
    flex-direction: column;
    gap: 2rem;
  }
}

.vm-vs-col {
  flex: 1;
}

.vm-vs-head {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--vm-text-mute);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.vm-vs-body {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 1.85;
  color: var(--vm-text);
}

.vm-vs-body .vm-ex {
  font-family: var(--vm-serif);
  color: #f0ede5;
  font-size: clamp(0.95rem, 1.7vw, 1.1rem);
  display: block;
  margin-top: 0.3rem;
}

.vm-vs-col.vm-l .vm-vs-head {
  color: var(--vm-red);
}

.vm-vs-col.vm-r .vm-vs-head {
  color: var(--vm-green);
}

/* ---------- role progression ---------- */
.vm-roles {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 2;
  margin-top: 1.5rem;
}

.vm-roles .vm-r {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.vm-roles .vm-r .vm-era {
  flex: 0 0 6rem;
  color: var(--vm-text-dim);
  font-size: 0.85rem;
}

.vm-roles .vm-r .vm-txt {
  color: var(--vm-text);
}

.vm-roles .vm-r.vm-hi {
  margin-top: 1.2rem;
}

.vm-roles .vm-r.vm-hi .vm-era {
  color: var(--vm-accent);
}

.vm-roles .vm-r.vm-hi .vm-txt {
  color: var(--vm-accent-b);
  font-weight: 600;
  font-family: var(--vm-serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.vm-roles .vm-r.vm-hi .vm-still {
  color: var(--vm-text);
  font-weight: 400;
  font-family: var(--vm-sans);
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
}

/* ---------- steps ---------- */
.vm-steps {
  list-style: none;
  counter-reset: vm-s;
  padding: 0;
  margin: 0;
}

.vm-steps li {
  counter-increment: vm-s;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.75;
  color: var(--vm-text);
  padding-left: 2.4rem;
  position: relative;
  margin-bottom: 0.8rem;
}

.vm-steps li::before {
  content: counter(vm-s);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--vm-serif);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--vm-accent);
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--vm-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-b-note {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ---------- scissors chart (剪刀差) ---------- */
.vm-scissors {
  width: 100%;
  height: clamp(180px, 30vw, 280px);
  margin: 1.5rem 0;
}

/* ---------- mantra / closing ---------- */
.vm-mantra .vm-m {
  font-family: var(--vm-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.85;
  color: #f0ede8;
  margin-bottom: 0.4rem;
}

.vm-mantra .vm-m.vm-dim {
  color: var(--vm-text-dim);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.vm-closing .vm-lead-c {
  font-family: var(--vm-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.8;
  color: #f0ede5;
}

/* ---------- CTA buttons ---------- */
.vm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2.2rem;
}

.vm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 160ms ease-out;
  border: 1px solid var(--vm-line);
}

.vm-btn-primary {
  background: var(--vm-accent);
  color: #1a1408;
  border-color: var(--vm-accent);
}

.vm-btn-primary:hover {
  background: var(--vm-accent-b);
  border-color: var(--vm-accent-b);
}

.vm-btn-secondary {
  background: transparent;
  color: var(--vm-text);
  border-color: var(--vm-line);
}

.vm-btn-secondary:hover {
  border-color: var(--vm-text-dim);
  color: #f0ede5;
}

/* ---------- deep-read link ---------- */
.vm-deepread {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--vm-text-mute);
}

.vm-deepread a {
  color: var(--vm-accent);
  border-bottom: 1px solid rgba(212, 165, 116, 0.3);
  padding-bottom: 1px;
  transition: color 160ms ease-out, border-color 160ms ease-out;
}

.vm-deepread a:hover {
  color: var(--vm-accent-b);
  border-color: var(--vm-accent-b);
}

@media (prefers-reduced-motion: reduce) {
  .vm-reveal {
    transition: none !important;
  }
}
