/* Direction C — Life Continuum */
:root {
  --ink: #2C2A28;
  --muted: #6B645C;
  --paper: #FBF9F6;
  --paper-2: #F3EEE6;
  --indigo: #3D4F7C;
  --indigo-soft: #E8ECF5;
  --gold: #C4A35A;
  --gold-soft: #F5EDD8;
  --blush: #E8C4C0;
  --white: #FFFEFC;
  --line: rgba(44, 42, 40, 0.1);
  --shadow: 0 16px 50px rgba(44, 42, 40, 0.08);
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,246,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-seal {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--gold); display: grid; place-items: center;
  font-family: var(--serif); font-size: 0.68rem; font-weight: 700; color: var(--indigo);
  background: var(--white);
}
.brand strong { display: block; font-family: var(--serif); font-size: 0.98rem; font-weight: 600; }
.brand span { font-size: 0.7rem; color: var(--muted); }
.nav { display: flex; gap: 1.2rem; font-size: 0.88rem; color: var(--muted); flex-wrap: wrap; }
.nav a:hover, .nav a.active { color: var(--indigo); }
.nav a.active { font-weight: 600; }
.nav-actions { display: flex; gap: 0.5rem; align-items: center; }
.lang { font-size: 0.75rem; color: var(--muted); border-bottom: 1px solid var(--line); padding: 0.2rem 0; }
.lang b { color: var(--indigo); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.15rem; border-radius: 999px;
  font-size: 0.88rem; font-weight: 500; transition: 0.2s;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: #324268; }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--indigo); }
.btn-gold-soft { background: var(--gold-soft); color: #5a4a28; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 2.25rem 1.25rem 3.5rem; }
.page-hero { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem 1rem; }
.eyebrow {
  font-size: 0.76rem; letter-spacing: 0.12em; color: var(--gold); font-weight: 600; margin-bottom: 0.75rem;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 600; line-height: 1.35; margin-bottom: 0.85rem;
}
h1 em { font-style: normal; color: var(--indigo); }
.lead { color: var(--muted); font-size: 1.02rem; max-width: 36em; font-weight: 300; margin-bottom: 1.25rem; }
h2 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin-bottom: 0.75rem; }
h3 { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; margin-bottom: 0.4rem; }

.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem 1.5rem;
}
.collage {
  display: grid; grid-template-columns: 1.2fr 0.8fr; grid-template-rows: 1fr 1fr;
  gap: 0.7rem; min-height: 400px;
}
.tile {
  border-radius: 18px; overflow: hidden; position: relative;
  background-size: cover; background-position: center; min-height: 130px;
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36,31,28,0.55), transparent 55%);
}
.tile-lg { grid-row: 1 / span 2; }
.tile-cap {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
  color: #fff; font-size: 0.82rem; font-weight: 500;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.25rem; }
.quote-line {
  border-left: 2px solid var(--gold); padding-left: 1rem;
  font-family: var(--serif); font-size: 0.95rem; color: var(--muted);
}

.continuum-band {
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 2.25rem 0;
}
.stages {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem;
  max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; position: relative;
}
.stages::before {
  content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--blush), var(--gold), var(--indigo)); opacity: 0.4;
}
.stage { position: relative; z-index: 1; text-align: center; }
.stage-dot {
  width: 54px; height: 54px; margin: 0 auto 0.65rem; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600;
  box-shadow: 0 4px 14px rgba(196,163,90,0.15);
}
.stage:nth-child(odd) .stage-dot { border-color: var(--indigo); }
.stage h3 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.stage p { font-size: 0.74rem; color: var(--muted); line-height: 1.45; }
.stage a { display: inline-block; margin-top: 0.35rem; font-size: 0.75rem; color: var(--indigo); font-weight: 500; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; transition: 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { height: 130px; background-size: cover; background-position: center; position: relative; }
.card-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.card:nth-child(2) .card-img::after { background: var(--indigo); }
.card:nth-child(3) .card-img::after { background: var(--blush); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card-body span { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--gold); font-weight: 600; }
.card-body p { font-size: 0.88rem; color: var(--muted); margin-top: 0.35rem; }
.card-body .link { display: inline-block; margin-top: 0.75rem; color: var(--indigo); font-size: 0.85rem; font-weight: 500; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin: 2rem 0 1.15rem; }
.section-head p { color: var(--muted); font-size: 0.92rem; max-width: 28em; }

.soft-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.chapter-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 1.1rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
}
.chapter-row img { width: 120px; height: 80px; object-fit: cover; border-radius: 12px; }
.chapter-row p { font-size: 0.88rem; color: var(--muted); }

.steps { display: grid; gap: 0.85rem; }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem;
  border-bottom: 1px solid var(--line); padding-bottom: 1rem;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--serif); font-size: 1.35rem; color: var(--gold); font-weight: 600;
}
.step p { font-size: 0.9rem; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
th { background: var(--paper-2); color: var(--muted); font-weight: 600; font-size: 0.8rem; }
tr:last-child td { border-bottom: none; }

.prose { max-width: 720px; }
.prose p { margin-bottom: 1rem; color: var(--muted); }
.prose h2 { margin-top: 1.75rem; }
.article-cover {
  height: 300px; border-radius: 22px; margin-bottom: 1.5rem;
  background: linear-gradient(160deg, rgba(61,79,124,0.25), rgba(36,31,28,0.5)),
    url("../assets/c-path.jpg") center/cover no-repeat;
}
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--indigo);
  background: var(--indigo-soft); padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.65rem;
}

.cta-band {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--paper-2), var(--indigo-soft));
  border-radius: 22px; padding: 1.75rem 2rem; text-align: center;
}
.cta-band h2 { max-width: 18em; margin: 0 auto 0.6rem; }
.cta-band p { color: var(--muted); max-width: 32em; margin: 0 auto 1.1rem; }

.showcase-bar {
  background: #241F1C; color: rgba(255,254,252,0.7); font-size: 0.78rem;
  padding: 0.45rem 1.25rem; text-align: center;
}
.showcase-bar a { color: var(--gold); text-decoration: underline; }
.showcase-bar b { color: #fff; }

footer {
  background: #241F1C; color: rgba(255,254,252,0.7); margin-top: 2rem; padding: 2rem 1.25rem 1.25rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem;
}
footer h4 { font-family: var(--serif); color: #fff; font-size: 0.92rem; margin-bottom: 0.6rem; }
footer a, footer p { font-size: 0.84rem; line-height: 1.85; color: rgba(255,254,252,0.55); }
footer a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.75rem; opacity: 0.5;
}
.note {
  font-size: 0.88rem; color: var(--muted); background: var(--gold-soft);
  border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0;
  padding: 0.9rem 1rem; margin: 1rem 0;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid, .cards, .grid-2, .grid-3, .footer-inner, .stages, .chapter-row { grid-template-columns: 1fr; }
  .stages::before { display: none; }
  .collage { min-height: 280px; }
  .chapter-row img { width: 100%; height: 140px; }
}
