/* =================================================
   THE CIVILIZATION STACK · 文明栈
   ================================================= */

:root {
  --bg: #0a0a0c;
  --bg-2: #111118;
  --bg-3: #1a1a22;
  --ink: #f5f1e8;
  --ink-dim: #a8a59c;
  --ink-mute: #6b6964;
  --gold: #d4af37;
  --gold-soft: #c9a96e;
  --line: rgba(245,241,232,0.08);
  --line-strong: rgba(245,241,232,0.18);

  --c-information: #4ecdc4;
  --c-matter:      #c87f4e;
  --c-energy:      #ffb627;
  --c-biology:     #6cc04a;
  --c-consciousness: #a06cd5;
  --c-ideology:    #e9528c;
  --c-spacetime:   #4d7fff;

  --serif: "Fraunces", "Noto Serif SC", Georgia, serif;
  --sans:  "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono:  "JetBrains Mono", "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* zh-mode: switch all default body type to Chinese fonts */
html[data-lang="zh"] body { font-family: "Noto Sans SC", "Inter", sans-serif; }
html[data-lang="zh"] .title-en,
html[data-lang="zh"] .layer-en,
html[data-lang="zh"] [data-en]:not([data-zh]),
html[data-lang="zh"] .lang-en { display: none; }

html[data-lang="en"] .title-zh,
html[data-lang="en"] .layer-zh,
html[data-lang="en"] [data-zh]:not([data-en]),
html[data-lang="en"] .lang-zh { display: none; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  body { font-size: 16px; }
}

/* =================================================
   TOP BAR
   ================================================= */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.lang-toggle {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }

.lang-toggle .lang-sep { margin: 0 4px; opacity: 0.4; }

html[data-lang="en"] .lang-toggle .lang-en { color: var(--gold); }
html[data-lang="zh"] .lang-toggle .lang-zh { color: var(--gold); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .topbar { padding: 12px 20px; }
}

/* =================================================
   HERO
   ================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212,175,55,0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 90%, rgba(77,127,255,0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(233,82,140,0.04), transparent 60%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}

.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--ink);
}

.title-zh {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
}

.subtitle {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  max-width: 720px;
  color: var(--ink-dim);
  margin-bottom: 48px;
  font-weight: 300;
}

html[data-lang="zh"] .subtitle { font-weight: 400; }

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Tower */
.tower-wrap {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 720px;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .tower-wrap { display: none; }
}

.tower .ring ellipse {
  fill: none;
  stroke: var(--ink-dim);
  stroke-width: 1;
  opacity: 0.6;
  transition: stroke 0.5s, opacity 0.5s;
}

.tower .ring text {
  font-family: var(--mono);
  font-size: 10px;
  fill: var(--ink-dim);
  letter-spacing: 0.12em;
}

.tower .ring[data-layer="information"] ellipse { stroke: var(--c-information); }
.tower .ring[data-layer="matter"] ellipse { stroke: var(--c-matter); }
.tower .ring[data-layer="energy"] ellipse { stroke: var(--c-energy); }
.tower .ring[data-layer="biology"] ellipse { stroke: var(--c-biology); }
.tower .ring[data-layer="consciousness"] ellipse { stroke: var(--c-consciousness); }
.tower .ring[data-layer="ideology"] ellipse { stroke: var(--c-ideology); }
.tower .ring[data-layer="spacetime"] ellipse { stroke: var(--c-spacetime); }

@keyframes ringPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.tower .ring ellipse { animation: ringPulse 6s ease-in-out infinite; }
.tower .ring:nth-child(1) ellipse { animation-delay: 0s; }
.tower .ring:nth-child(2) ellipse { animation-delay: 0.5s; }
.tower .ring:nth-child(3) ellipse { animation-delay: 1.0s; }
.tower .ring:nth-child(4) ellipse { animation-delay: 1.5s; }
.tower .ring:nth-child(5) ellipse { animation-delay: 2.0s; }
.tower .ring:nth-child(6) ellipse { animation-delay: 2.5s; }
.tower .ring:nth-child(7) ellipse { animation-delay: 3.0s; }

/* =================================================
   OVERVIEW
   ================================================= */

.overview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
  background: var(--bg-2);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; gap: 48px; }
}

.section-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--ink);
}

html[data-lang="zh"] .section-h { font-family: "Noto Serif SC", serif; font-weight: 700; }

.overview p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin-bottom: 20px;
}

.overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat {
  border: 1px solid var(--line);
  padding: 28px 24px;
  background: var(--bg);
  transition: border-color 0.3s, transform 0.3s;
}

.stat:hover { border-color: var(--gold); transform: translateY(-2px); }

.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.04em;
}

.stat-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 8px;
}

/* =================================================
   SECTION HEAD (shared)
   ================================================= */

.section-head {
  max-width: 760px;
  margin: 0 auto 80px;
  text-align: center;
}

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--ink-dim);
  margin-top: 16px;
}

html[data-lang="zh"] .lede { font-family: "Noto Serif SC", serif; font-style: normal; font-weight: 400; }

/* =================================================
   STACK · LAYERS
   ================================================= */

.stack {
  padding: 120px 0;
}

.layer {
  border-top: 1px solid var(--line);
  padding: 80px 0;
  position: relative;
}

.layer:last-child { border-bottom: 1px solid var(--line); }

.layer::before {
  content: "";
  position: absolute;
  left: 0; top: 80px;
  width: 4px;
  height: calc(100% - 160px);
  background: var(--layer-c, var(--gold));
  opacity: 0.6;
}

#layer-information { --layer-c: var(--c-information); }
#layer-matter      { --layer-c: var(--c-matter); }
#layer-energy      { --layer-c: var(--c-energy); }
#layer-biology     { --layer-c: var(--c-biology); }
#layer-consciousness { --layer-c: var(--c-consciousness); }
#layer-ideology    { --layer-c: var(--c-ideology); }
#layer-spacetime   { --layer-c: var(--c-spacetime); }

.layer-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
  padding-left: 24px;
}

.layer-index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--layer-c, var(--gold));
  letter-spacing: 0.1em;
  margin-top: 12px;
}

.layer-titles h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 6px;
}

.layer-zh { font-family: "Noto Serif SC", serif !important; font-weight: 700 !important; }

.layer-q {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-dim);
  margin-top: 12px;
  font-weight: 300;
}

html[data-lang="zh"] .layer-q { font-style: normal; font-family: "Noto Serif SC", serif; }

.layer-body {
  padding-left: 24px;
  max-width: 880px;
}

.layer-body p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 22px;
}

.layer-body p strong, .layer-body p em { color: var(--ink); }

/* example pills */
.examples-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}

.ex-pill {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--layer-c, var(--line-strong));
  border-radius: 999px;
  font-size: 13.5px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: all 0.25s;
  cursor: default;
}

.ex-pill:hover {
  background: var(--layer-c);
  color: var(--bg);
}

/* mini timeline */
.mini-timeline {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--bg-2);
  border-left: 3px solid var(--layer-c, var(--gold));
}

.mini-timeline h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--layer-c, var(--gold));
  margin-bottom: 20px;
}

.mini-timeline ul { list-style: none; }

.mini-timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

.mini-timeline li:last-child { border-bottom: none; }

.t-year {
  font-family: var(--mono);
  color: var(--ink-mute);
  font-size: 13px;
}

.t-evt { color: var(--ink); }

.callout {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 24px;
}

.callout-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.callout-link {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 17px;
}

.callout-link:hover { text-decoration: underline; }

/* ideology grid */
.ideology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 760px) {
  .ideology-grid { grid-template-columns: 1fr; }
  .layer-head { grid-template-columns: 1fr; gap: 16px; padding-left: 16px; }
  .layer::before { left: -8px; }
  .layer-body { padding-left: 16px; }
  .mini-timeline { padding: 20px 18px; }
  .mini-timeline li { grid-template-columns: 90px 1fr; gap: 12px; }
}

.ideology-card {
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}

.ideology-card:hover { border-color: var(--c-ideology); }

.ideology-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
  color: var(--c-ideology);
  margin-bottom: 8px;
}

.ideology-card h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--ink);
}

html[data-lang="zh"] .ideology-card h4 { font-family: "Noto Serif SC", serif; font-weight: 700; }

.ideology-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-dim);
}

/* =================================================
   ENGINES
   ================================================= */

.engines {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

@media (max-width: 900px) {
  .engine-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .engine-grid { grid-template-columns: 1fr; }
}

.engine-card {
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.engine-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.engine-card[data-rung="1"] { --rung-c: #ff6b35; }
.engine-card[data-rung="2"] { --rung-c: #ffb627; }
.engine-card[data-rung="3"] { --rung-c: #4ecdc4; }
.engine-card[data-rung="4"] { --rung-c: #f7e9c1; }
.engine-card[data-rung="5"] { --rung-c: #a06cd5; }
.engine-card[data-rung="6"] { --rung-c: #4d7fff; }

.engine-symbol {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 88px;
  line-height: 0.9;
  color: var(--rung-c);
  margin-bottom: 12px;
  opacity: 0.95;
}

.engine-card[data-rung="6"] .engine-symbol {
  font-family: var(--serif);
  font-weight: 300;
}

.engine-rung {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-bottom: 12px;
}

.engine-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--ink);
}

html[data-lang="zh"] .engine-name { font-family: "Noto Serif SC", serif; font-weight: 700; }

.engine-product {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--rung-c);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.engine-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-dim);
  margin-bottom: 24px;
}

.engine-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
}

.engine-frontier {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(77,127,255,0.08) 100%);
  border-color: var(--c-spacetime);
}

.engine-quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.engine-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
}

html[data-lang="zh"] .engine-quote blockquote {
  font-family: "Noto Serif SC", serif;
  font-style: normal;
  font-weight: 400;
}

/* =================================================
   2046 FUSION
   ================================================= */

.fusion {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}

.fusion::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(212,175,55,0.06), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(233,82,140,0.05), transparent 40%);
  pointer-events: none;
}

.fusion .container { position: relative; }

.fusion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}

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

.fusion-card {
  padding: 40px 36px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.fusion-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.fusion-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.fusion-eq {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  flex-wrap: wrap;
}

html[data-lang="zh"] .fusion-eq { font-family: "Noto Serif SC", serif; font-weight: 700; }

.fusion-left, .fusion-right {
  color: var(--ink);
}

.fusion-op {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 28px;
}

.fusion-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold-soft);
  letter-spacing: -0.01em;
}

html[data-lang="zh"] .fusion-card h3 { font-family: "Noto Serif SC", serif; font-weight: 700; }

.fusion-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-dim);
}

.fusion-why {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fusion-why h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

html[data-lang="zh"] .fusion-why h3 { font-family: "Noto Serif SC", serif; font-weight: 700; }

.fusion-why p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-dim);
}

/* =================================================
   SPACETIME
   ================================================= */

.spacetime {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0a0e1c 100%);
  border-top: 1px solid var(--line);
}

.warp-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

@media (max-width: 900px) {
  .warp-grid { grid-template-columns: 1fr; gap: 40px; }
}

.warp-text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  margin-bottom: 24px;
  color: var(--ink);
  letter-spacing: -0.015em;
}

html[data-lang="zh"] .warp-text h3 { font-family: "Noto Serif SC", serif; font-weight: 700; }

.warp-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 20px;
}

.warp-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(77,127,255,0.3));
}

.warp-svg .grid {
  fill: none;
  stroke: rgba(77,127,255,0.4);
  stroke-width: 0.6;
}

@keyframes bubbleRing {
  0%, 100% { stroke-dashoffset: 0; }
  50% { stroke-dashoffset: 20; }
}

.warp-svg .bubble-ring {
  animation: bubbleRing 8s linear infinite;
}

.warp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

@media (max-width: 800px) {
  .warp-stats { grid-template-columns: repeat(2, 1fr); }
}

.warp-stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--c-spacetime);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.warp-stat-label {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}

/* =================================================
   TIMELINE
   ================================================= */

.timeline {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.timeline-bands {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0 40px;
}

.band {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}

.band:last-of-type { border-bottom: none; }

.band-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--c);
}

.band-track {
  position: relative;
  height: 30px;
}

.band-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--c) 30%, var(--c) 100%);
  opacity: 0.3;
}

.band-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--c);
  border-radius: 50%;
  cursor: default;
  transition: transform 0.2s;
}

.band-dot:hover { transform: translate(-50%, -50%) scale(1.5); }

.band-dot span {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-family: var(--mono);
  color: var(--ink-dim);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.band-dot:hover span { opacity: 1; }

.timeline-axis {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 0;
  margin-left: 224px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

@media (max-width: 760px) {
  .band { grid-template-columns: 110px 1fr; gap: 12px; }
  .band-label { font-size: 10px; }
  .timeline-axis { margin-left: 122px; font-size: 9px; flex-wrap: wrap; gap: 4px; }
}

/* =================================================
   PRACTICE
   ================================================= */

.practice {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .practice-grid { grid-template-columns: 1fr; }
}

.practice-card {
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}

.practice-card:hover { border-color: var(--gold); }

.practice-num {
  font-family: var(--serif);
  font-size: 56px;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
}

.practice-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

html[data-lang="zh"] .practice-card h3 { font-family: "Noto Serif SC", serif; font-weight: 700; }

.practice-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-dim);
}

/* =================================================
   CLOSING
   ================================================= */

.closing {
  padding: 160px 0 120px;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.closing-title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

html[data-lang="zh"] .closing-title {
  font-family: "Noto Serif SC", serif;
  font-style: normal;
  font-weight: 700;
}

.closing p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 760px;
  margin: 0 auto 40px;
}

html[data-lang="zh"] .closing p { font-family: "Noto Serif SC", serif; font-weight: 400; }

.closing-sig {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* =================================================
   FOOTER
   ================================================= */

.footer {
  padding: 64px 0 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-tag {
  font-size: 13px;
  color: var(--ink-mute);
}

.footer-links {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.footer-links a { color: var(--ink-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 12px;
}

/* =================================================
   REVEAL ANIMATIONS
   ================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* selection */
::selection {
  background: var(--gold);
  color: var(--bg);
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-soft); }
