/* =====================================================
   AI 通识知识库 · 松弛手写 · 注意力友好排版
   ===================================================== */

/* 粗圆标题：站酷庆科黄油体 + 快乐体；正文：思源黑体圆润可读 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@500;600;700&family=ZCOOL+QingKe+HuangYou&family=ZCOOL+KuaiLe&display=swap");

:root {
  --ink: #2a2926;
  --ink-soft: #3f3d39;
  --ink-mute: #6e6a63;
  --ink-faint: #a39e96;

  --paper: #ffffff;
  --paper-deep: #f7f6f3;
  --paper-card: #ffffff;
  --wash-edge: #eceae6;

  --sage: #8fa88a;
  --sage-deep: #5f7a5c;
  --sage-wash: rgba(143, 168, 138, 0.16);
  --clay: #b89a8c;
  --clay-deep: #8f7266;
  --clay-wash: rgba(184, 154, 140, 0.16);
  --dust-rose: #c4a4a2;
  --dust-rose-deep: #9e7e7c;
  --dust-rose-wash: rgba(196, 164, 162, 0.14);
  --blue-gray: #8fa3b8;
  --blue-gray-deep: #5f7a94;
  --blue-gray-wash: rgba(143, 163, 184, 0.16);
  --lavender: #a99bb0;
  --lavender-deep: #85768c;
  --lavender-wash: rgba(169, 155, 176, 0.14);
  --sand: #c8c2b8;
  --sand-wash: rgba(200, 194, 184, 0.18);
  --ochre: #b8a078;

  --line: rgba(42, 41, 38, 0.08);
  --line-strong: rgba(42, 41, 38, 0.14);
  --shadow: 0 10px 30px rgba(42, 41, 38, 0.05), 0 2px 8px rgba(42, 41, 38, 0.03);
  --shadow-lift: 0 16px 40px rgba(42, 41, 38, 0.08), 0 4px 12px rgba(42, 41, 38, 0.04);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --nav-h: 60px;
  --content-w: 700px;
  --page-w: 1080px;

  /* Attention scale: fewer sizes, bigger gaps */
  --fs-xs: 0.78rem;
  --fs-sm: 0.88rem;
  --fs-base: 0.98rem;
  --fs-md: 1.08rem;
  --fs-lg: 1.28rem;
  --fs-xl: 1.55rem;
  --fs-2xl: 1.9rem;
  --fs-3xl: 2.35rem;
  --fs-hero: clamp(2.35rem, 5.5vw, 3.4rem);

  /* 粗圆标题 + 柔和圆体辅字 + 清晰黑体正文 */
  --font-hand: "ZCOOL QingKe HuangYou", "ZCOOL KuaiLe", "Microsoft YaHei UI",
    "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-soft: "ZCOOL KuaiLe", "ZCOOL QingKe HuangYou", "Microsoft YaHei",
    "PingFang SC", "Noto Sans SC", sans-serif;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Segoe UI", sans-serif;
  --font-display: var(--font-hand);

  --ease: cubic-bezier(0.33, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 28px);
}

body {
  font-family: var(--font);
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--ink);
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(143, 168, 138, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 35% at 100% 0%, rgba(143, 163, 184, 0.07), transparent 50%),
    radial-gradient(ellipse 50% 30% at 100% 100%, rgba(169, 155, 176, 0.05), transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a {
  color: var(--blue-gray-deep);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s, transform 0.25s var(--ease);
}
a:hover { color: var(--clay-deep); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-hand);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--ink);
}

p { color: var(--ink-soft); }

/* ========== Nav ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: 100%;
  max-width: var(--page-w);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-soft);
  font-weight: 400;
  font-size: var(--fs-base);
  letter-spacing: 0.04em;
}
.nav-brand:hover { color: var(--ink); opacity: 0.85; }
.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.45), transparent 50%),
    linear-gradient(145deg, var(--sage) 0%, var(--blue-gray) 55%, var(--dust-rose) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 2px 3px 0 rgba(61,56,53,0.08);
  transform: rotate(-3deg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-mute);
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: all 0.2s var(--ease);
}
.nav-link:hover {
  color: var(--ink);
  background: var(--paper-card);
  border-color: var(--line);
}
.nav-link.active {
  color: var(--ink);
  background: var(--paper-card);
  border-color: var(--line-strong);
  box-shadow: 2px 2px 0 rgba(61,56,53,0.06);
}
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper-card);
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 18px;
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper-card);
    border-bottom: 1.5px solid var(--line);
    padding: 10px 14px 16px;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 14px; border-radius: 14px; }
}

/* ========== Layout ========== */
.page {
  width: 100%;
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 0 20px 88px;
}
.page-narrow { max-width: calc(var(--content-w) + 40px); }
.section { padding: 52px 0 16px; }
.section-header { margin-bottom: 22px; max-width: 36em; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-soft);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: var(--clay-wash);
  border-radius: var(--radius-pill);
  border: 1px dashed var(--clay);
}
.section-title {
  font-family: var(--font-hand);
  font-size: var(--fs-2xl);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-desc {
  font-size: var(--fs-base);
  color: var(--ink-mute);
  max-width: 34em;
  line-height: 1.8;
}

/* ========== Hero ========== */
.hero {
  padding: 40px 0 28px;
  text-align: center;
}
.hero-visual {
  width: min(100%, 880px);
  margin: 0 auto 28px;
  border-radius: 40% 60% 50% 50% / 30% 35% 65% 70%;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(61,56,53,0.08);
  position: relative;
  aspect-ratio: 16/9;
  max-height: 320px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.96);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(255,255,255,0.72) 100%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--sage-wash);
  color: var(--sage-deep);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  border: 1px dashed var(--sage);
}
.hero h1 {
  font-family: var(--font-hand);
  font-size: var(--fs-hero);
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: 0.03em;
}
.hero-lead {
  font-size: var(--fs-lg);
  color: var(--ink-mute);
  max-width: 28em;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-base);
  font-weight: 600;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(160deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: #fff;
  box-shadow: 3px 4px 0 rgba(61,56,53,0.12);
  border-color: rgba(61,56,53,0.1);
}
.btn-primary:hover { color: #fff; }
.btn-secondary {
  background: var(--paper-card);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: 2px 3px 0 rgba(61,56,53,0.06);
}
.btn-ghost {
  background: transparent;
  color: var(--blue-gray-deep);
  border-color: transparent;
}

/* ========== Cards ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--paper-card);
  border-radius: 22px 26px 20px 24px;
  padding: 20px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.25s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 16px 20px 14px 18px;
  border: 1px dashed transparent;
  pointer-events: none;
  transition: border-color 0.25s;
}
.card:hover {
  transform: rotate(-0.4deg) translateY(-2px);
}
.card:hover::before { border-color: var(--sage); }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 14px 18px 12px 16px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1.5px solid var(--line);
  background: var(--paper-deep);
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 12px;
  border: 1.5px solid var(--line);
}
.card-icon.sage { background: var(--sage-wash); }
.card-icon.rose { background: var(--dust-rose-wash); }
.card-icon.blue { background: var(--blue-gray-wash); }
.card-icon.lav { background: var(--lavender-wash); }
.card-icon.clay { background: var(--clay-wash); }
.card-icon.sand { background: var(--sand-wash); }
.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 8px;
}
.card p {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  line-height: 1.6;
}
.card-meta {
  margin-top: 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--sage-deep);
}

/* ========== Beginner triad: 是什么 / 关系 / 怎么用 ========== */
.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 1.2em 0 1.4em;
}
.triad-card {
  padding: 14px 14px 16px;
  border-radius: 16px 20px 14px 18px;
  border: 1.5px solid var(--line);
  background: var(--paper-card);
  box-shadow: var(--shadow);
}
.triad-card .triad-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.triad-card.what { border-color: var(--blue-gray); background: var(--blue-gray-wash); }
.triad-card.what .triad-label { background: rgba(255,255,255,0.7); color: var(--blue-gray-deep); }
.triad-card.me { border-color: var(--sage); background: var(--sage-wash); }
.triad-card.me .triad-label { background: rgba(255,255,255,0.7); color: var(--sage-deep); }
.triad-card.use { border-color: var(--clay); background: var(--clay-wash); }
.triad-card.use .triad-label { background: rgba(255,255,255,0.7); color: var(--clay-deep); }
.triad-card p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 700px) {
  .triad { grid-template-columns: 1fr; }
}

.logic-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0 28px;
}
.logic-step {
  position: relative;
  padding: 16px 14px;
  background: var(--paper-card);
  border: 1.5px solid var(--line);
  border-radius: 18px 22px 16px 20px;
  box-shadow: var(--shadow);
}
.logic-step .ls-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--sage-deep);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.logic-step h3 {
  font-size: var(--fs-base);
  margin-bottom: 6px;
}
.logic-step p {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  line-height: 1.5;
  margin: 0;
}
.logic-step a {
  display: inline-block;
  margin-top: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--sage-deep);
}
@media (max-width: 800px) {
  .logic-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .logic-strip { grid-template-columns: 1fr; }
}

.you-box {
  margin: 1.2em 0;
  padding: 14px 16px;
  border-radius: 14px 18px 12px 16px;
  border: 1.5px solid var(--sage);
  background: var(--sage-wash);
}
.you-box h4 {
  font-size: var(--fs-sm);
  color: var(--sage-deep);
  margin-bottom: 6px;
}
.you-box p, .you-box li {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.you-box ul { margin: 6px 0 0; }
.you-box li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 4px;
}
.you-box li::before {
  content: "·";
  position: absolute;
  left: 0.15em;
  color: var(--sage-deep);
  font-weight: 700;
}

.level-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--sand-wash);
  color: var(--ink-mute);
  border: 1px solid var(--line);
  vertical-align: middle;
  margin-left: 6px;
}

/* ========== External source links ========== */
.links-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1.2em 0 1.6em;
}
.link-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px 14px;
  align-items: start;
  padding: 12px 14px;
  background: var(--paper-card);
  border: 1.5px solid var(--line);
  border-radius: 14px 18px 12px 16px;
  box-shadow: var(--shadow);
}
@media (max-width: 560px) {
  .link-row { grid-template-columns: 1fr; }
}
.link-kind {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--blue-gray-wash);
  color: var(--blue-gray-deep);
  border: 1px solid var(--blue-gray);
  width: fit-content;
}
.link-kind.gh {
  background: var(--sage-wash);
  color: var(--sage-deep);
  border-color: var(--sage);
}
.link-kind.std {
  background: var(--clay-wash);
  color: var(--clay-deep);
  border-color: var(--clay);
}
.link-kind.web {
  background: var(--lavender-wash);
  color: var(--lavender-deep);
  border-color: var(--lavender);
}
.link-body strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink);
  margin-bottom: 4px;
}
.link-body p {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  margin: 0 0 6px;
  line-height: 1.45;
}
.link-body a {
  font-size: var(--fs-sm);
  font-weight: 600;
  word-break: break-all;
  color: var(--blue-gray-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-body a:hover { color: var(--clay-deep); }
.prose a[href^="http"] {
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

/* ========== Figure ========== */
.figure {
  margin: 1.6em 0 1.8em;
  background: var(--paper-card);
  border: 1.5px solid var(--line);
  border-radius: 24px 28px 22px 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.figure-media {
  width: 100%;
  background: var(--paper-deep);
  border-bottom: 1.5px solid var(--line);
}
.figure-media img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  margin: 0 auto;
  filter: saturate(0.92);
}
.figure-cap {
  padding: 12px 18px 14px;
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  line-height: 1.55;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.figure-cap strong {
  color: var(--clay-deep);
  font-weight: 600;
  white-space: nowrap;
}
.figure.side {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
}
.figure.side .figure-media {
  border-bottom: none;
  border-right: 1.5px solid var(--line);
  min-height: 200px;
}
.figure.side .figure-media img {
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.figure.side .figure-cap {
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  gap: 8px;
}
@media (max-width: 700px) {
  .figure.side { grid-template-columns: 1fr; }
  .figure.side .figure-media {
    border-right: none;
    border-bottom: 1.5px solid var(--line);
    min-height: 160px;
  }
  .figure.side .figure-media img { max-height: 220px; height: auto; }
}

/* ========== Visual board / mindmap page ========== */
.viz-board {
  background: var(--paper-card);
  border: 1.5px solid var(--line);
  border-radius: 28px 32px 24px 30px;
  padding: 20px 16px 12px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  overflow-x: auto;
}
.viz-board h3 {
  text-align: center;
  font-size: var(--fs-base);
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 600;
}
.viz-hint {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  margin-bottom: 12px;
}

/* hand-drawn node chips used in CSS mind maps */
.mind-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 8px 4px 16px;
  min-width: 640px;
}
.mind-root {
  padding: 14px 22px;
  background: linear-gradient(160deg, var(--sage-wash), var(--blue-gray-wash));
  border: 2px solid var(--sage-deep);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--ink);
  box-shadow: 3px 4px 0 rgba(61,56,53,0.08);
  text-align: center;
  max-width: 280px;
}
.mind-branch-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px 0 0;
  position: relative;
}
.mind-branch-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 14px;
  border-top: 2px dashed var(--ink-faint);
  border-radius: 50%;
}
.mind-col {
  flex: 1 1 140px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mind-node {
  width: 100%;
  padding: 10px 12px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px 20px 14px 18px;
  line-height: 1.35;
  box-shadow: 2px 2px 0 rgba(61,56,53,0.05);
}
.mind-node small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 3px;
}
.mind-node.n-sage { background: var(--sage-wash); border-color: var(--sage); }
.mind-node.n-rose { background: var(--dust-rose-wash); border-color: var(--dust-rose); }
.mind-node.n-blue { background: var(--blue-gray-wash); border-color: var(--blue-gray); }
.mind-node.n-lav { background: var(--lavender-wash); border-color: var(--lavender); }
.mind-node.n-clay { background: var(--clay-wash); border-color: var(--clay); }
.mind-node.n-sand { background: var(--sand-wash); border-color: var(--sand); }
.mind-leaf {
  width: 100%;
  padding: 7px 8px;
  font-size: 11px;
  color: var(--ink-soft);
  background: var(--paper-card);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
  line-height: 1.35;
}
.mind-connector {
  width: 2px;
  height: 16px;
  background: repeating-linear-gradient(
    to bottom,
    var(--ink-faint) 0 4px,
    transparent 4px 7px
  );
  margin: 0 auto;
}

/* Flow steps visual */
.flow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}
.flow-step {
  flex: 1 1 100px;
  max-width: 140px;
  min-width: 96px;
  padding: 14px 10px;
  text-align: center;
  background: var(--paper-card);
  border: 1.5px solid var(--line-strong);
  border-radius: 18px 22px 16px 20px;
  box-shadow: 2px 3px 0 rgba(61,56,53,0.05);
}
.flow-step .num {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 22px;
  border-radius: 50%;
  background: var(--sage-wash);
  border: 1.5px solid var(--sage);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--sage-deep);
}
.flow-step h4 {
  font-size: var(--fs-sm);
  margin-bottom: 4px;
}
.flow-step p {
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.4;
  margin: 0;
}
.flow-arrow {
  display: flex;
  align-items: center;
  color: var(--ink-faint);
  font-size: 18px;
  padding: 0 2px;
  align-self: center;
}
@media (max-width: 600px) {
  .flow-arrow { display: none; }
  .flow-step { max-width: none; flex: 1 1 42%; }
}

/* ========== Group list ========== */
.group {
  background: var(--paper-card);
  border-radius: 22px 26px 20px 24px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.group-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-top: 1px dashed var(--line);
  transition: background 0.15s;
  color: inherit;
}
.group-item:first-child { border-top: none; }
.group-item:hover { background: rgba(154, 171, 150, 0.08); color: inherit; }
.group-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  margin-top: 2px;
  border: 1.5px solid var(--line);
  background: var(--sand-wash);
}
.group-item-body { flex: 1; min-width: 0; }
.group-item-title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.group-item-desc {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  line-height: 1.55;
}
.group-item-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--sage-deep);
  background: var(--sage-wash);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--sage);
  white-space: nowrap;
  margin-top: 4px;
}

/* ========== Prose ========== */
.prose { max-width: var(--content-w); margin: 0 auto; }
.prose h2 {
  font-size: var(--fs-xl);
  margin: 2.1em 0 0.55em;
  padding-bottom: 6px;
  border-bottom: 1.5px dashed var(--line-strong);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: var(--fs-lg);
  margin: 1.5em 0 0.45em;
  color: var(--ink-soft);
}
.prose p {
  margin-bottom: 1em;
  font-size: var(--fs-md);
  line-height: 1.78;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.15em 0.1em; }
.prose li {
  position: relative;
  padding-left: 1.35em;
  margin-bottom: 0.5em;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: var(--fs-md);
}
.prose ul li::before {
  content: "✧";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  color: var(--clay);
}
.prose ol { counter-reset: ol; }
.prose ol li { counter-increment: ol; }
.prose ol li::before {
  content: counter(ol);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.1em;
  height: 1.1em;
  font-size: 11px;
  font-weight: 700;
  color: var(--sage-deep);
  background: var(--sage-wash);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--dust-rose);
  background: var(--dust-rose-wash);
  border-radius: 0 16px 16px 0;
  color: var(--ink-soft);
  font-size: var(--fs-base);
  line-height: 1.65;
}
.prose blockquote strong { color: var(--dust-rose-deep); }
.prose code {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.88em;
  background: var(--sand-wash);
  padding: 0.12em 0.4em;
  border-radius: 5px;
  color: var(--ink);
  border: 1px solid var(--line);
}

.analogy {
  display: flex;
  gap: 12px;
  margin: 1.3em 0;
  padding: 14px 16px;
  background: var(--paper-card);
  border-radius: 18px 22px 16px 20px;
  border: 1.5px dashed var(--ochre);
  box-shadow: var(--shadow);
}
.analogy-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%;
  background: var(--sand-wash);
  border: 1.5px solid var(--sand);
  display: grid;
  place-items: center;
  font-size: 17px;
}
.analogy-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--clay-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.analogy-text {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* Compare duo */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 1.4em 0;
}
.compare-box {
  padding: 16px;
  border-radius: 18px 22px 16px 20px;
  border: 1.5px solid var(--line);
  background: var(--paper-card);
}
.compare-box h4 {
  font-size: var(--fs-base);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.compare-box p {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.55;
}
.compare-box.a { background: var(--blue-gray-wash); border-color: var(--blue-gray); }
.compare-box.b { background: var(--sage-wash); border-color: var(--sage); }
@media (max-width: 560px) {
  .compare { grid-template-columns: 1fr; }
}

/* ========== Timeline ========== */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 0;
  border-left: 2px dashed var(--ink-faint);
}
.timeline-item {
  position: relative;
  padding-bottom: 30px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50% 45% 55% 50%;
  background: var(--paper-card);
  border: 2.5px solid var(--sage);
  box-shadow: 0 0 0 4px var(--sage-wash);
}
.timeline-year {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--sage-deep);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.timeline-title {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline-body {
  font-size: var(--fs-base);
  color: var(--ink-mute);
  line-height: 1.65;
}
.timeline-card {
  margin-top: 10px;
  padding: 12px 14px;
  background: var(--paper-card);
  border-radius: 14px 18px 12px 16px;
  border: 1.5px dashed var(--line-strong);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

/* ========== Framework cards ========== */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.fw-card {
  background: var(--paper-card);
  border-radius: 22px 26px 20px 24px;
  padding: 20px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s var(--ease);
}
.fw-card:hover { transform: rotate(0.3deg) translateY(-2px); }
.fw-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.fw-name { font-size: var(--fs-lg); font-weight: 600; }
.fw-origin { font-size: var(--fs-xs); color: var(--ink-mute); margin-top: 3px; }
.fw-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--sand-wash);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.fw-badge.hot {
  background: var(--dust-rose-wash);
  color: var(--dust-rose-deep);
  border-color: var(--dust-rose);
}
.fw-badge.prod {
  background: var(--sage-wash);
  color: var(--sage-deep);
  border-color: var(--sage);
}
.fw-badge.china {
  background: var(--clay-wash);
  color: var(--clay-deep);
  border-color: var(--clay);
}
.fw-desc {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  line-height: 1.6;
  flex: 1;
}
.fw-analogy {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  background: var(--paper);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed var(--ochre);
  line-height: 1.55;
}
.fw-analogy span { font-weight: 700; color: var(--clay-deep); }
.fw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fw-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--blue-gray-wash);
  color: var(--blue-gray-deep);
  border: 1px solid var(--blue-gray);
}

/* ========== Glossary ========== */
.glossary-search-wrap {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  padding: 12px 0 14px;
  background: linear-gradient(var(--paper) 65%, transparent);
  margin-bottom: 6px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper-card);
  border: 1.5px solid var(--line-strong);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}
.search-icon { position: relative; width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid var(--ink-mute); border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; right: -5px; bottom: -2px; border-radius: 2px; background: var(--ink-mute); transform: rotate(45deg); }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--ink);
}
.search-box input::placeholder { color: var(--ink-faint); }
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  background: var(--paper-card);
  color: var(--ink-mute);
  border: 1.5px solid var(--line);
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--sage); color: var(--ink); }
.chip.active {
  background: var(--sage-wash);
  color: var(--sage-deep);
  border-color: var(--sage);
  font-weight: 600;
}

.term-card {
  background: var(--paper-card);
  border-radius: 20px 24px 18px 22px;
  padding: 20px 22px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  scroll-margin-top: 140px;
}
.term-card.hidden { display: none; }
.term-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.term-en {
  font-size: var(--fs-xl);
  font-weight: 600;
}
.term-zh {
  font-size: var(--fs-base);
  color: var(--ink-mute);
  font-weight: 500;
}
.term-cat {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--lavender-wash);
  color: var(--lavender-deep);
  border: 1px solid var(--lavender);
}
.term-plain {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 12px;
}
.term-origin {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  margin-bottom: 10px;
  padding: 8px 12px;
  background: var(--blue-gray-wash);
  border-radius: 12px;
  border-left: 3px solid var(--blue-gray);
  line-height: 1.5;
}
.term-origin strong { color: var(--blue-gray-deep); }
.term-analogy {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: var(--sand-wash);
  border-radius: 12px;
  border: 1px dashed var(--ochre);
}
.term-analogy-icon { font-size: 16px; flex-shrink: 0; }
.term-analogy p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.term-analogy strong { color: var(--clay-deep); font-weight: 600; }

/* ========== Stack ========== */
.stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
}
.stack-layer {
  padding: 16px 18px;
  border-radius: 18px 22px 16px 20px;
  text-align: center;
  border: 1.5px solid var(--line-strong);
  background: var(--paper-card);
  box-shadow: 2px 3px 0 rgba(61,56,53,0.05);
}
.stack-layer h4 { font-size: var(--fs-base); margin-bottom: 4px; }
.stack-layer p { font-size: var(--fs-xs); color: var(--ink-mute); margin: 0; }
.stack-layer.l1 { background: var(--blue-gray-wash); border-color: var(--blue-gray); }
.stack-layer.l2 { background: var(--lavender-wash); border-color: var(--lavender); }
.stack-layer.l3 { background: var(--sage-wash); border-color: var(--sage); }
.stack-layer.l4 { background: var(--dust-rose-wash); border-color: var(--dust-rose); }
.stack-layer.l5 { background: var(--clay-wash); border-color: var(--clay); }
.stack-arrow {
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1;
}

/* ========== Stats ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0;
}
.stat {
  text-align: center;
  padding: 18px 10px;
  background: var(--paper-card);
  border-radius: 18px 22px 16px 20px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
}
.stat-num {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--sage-deep);
  margin-bottom: 4px;
}
.stat-label {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  font-weight: 500;
}
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Pill nav ========== */
.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.pill-nav a {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  background: var(--paper-card);
  color: var(--ink-mute);
  border: 1.5px solid var(--line);
}
.pill-nav a:hover {
  color: var(--sage-deep);
  border-color: var(--sage);
  background: var(--sage-wash);
}

/* ========== Page hero ========== */
.page-hero { padding: 40px 0 24px; }
.page-hero h1 {
  font-size: var(--fs-3xl);
  margin-bottom: 12px;
}
.page-hero .lead {
  font-size: var(--fs-md);
  color: var(--ink-mute);
  max-width: 38em;
  line-height: 1.65;
}
.page-hero-art {
  margin-top: 20px;
  border-radius: 28px 40% 24px 32px / 28px 30% 28px 40%;
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  max-height: 220px;
}
.page-hero-art img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(0.9);
}

/* ========== Table ========== */
.table-wrap {
  overflow-x: auto;
  border-radius: 20px 24px 18px 22px;
  border: 1.5px solid var(--line);
  background: var(--paper-card);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 640px;
}
th {
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--paper-deep);
  border-bottom: 1.5px solid var(--line);
}
td {
  padding: 13px 14px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
  line-height: 1.55;
}
tr:last-child td { border-bottom: none; }
td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* ========== Path ========== */
.path-steps { display: flex; flex-direction: column; }
.path-step {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.path-step:last-child { border-bottom: none; }
.path-num {
  width: 34px;
  height: 34px;
  border-radius: 50% 45% 55% 50%;
  background: var(--sage);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 rgba(61,56,53,0.1);
}
.path-content h3 { font-size: var(--fs-md); margin-bottom: 5px; }
.path-content p {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.path-content a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--sage-deep);
}

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 20px 48px;
  text-align: center;
  background: #fafafa;
}
.footer-inner { max-width: var(--page-w); margin: 0 auto; }
.footer p {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.footer-note {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  max-width: 40em;
  margin: 10px auto 0;
  line-height: 1.6;
}

/* ========== Tape / sticker decoration ========== */
.tape {
  display: inline-block;
  padding: 2px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--sand-wash);
  border: 1px solid var(--sand);
  transform: rotate(-2deg);
  margin-bottom: 8px;
}

/* ========== Utility ========== */
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes inkDraw {
  from { width: 0; opacity: 0.2; }
  to { width: 100%; opacity: 1; }
}
.animate-in { animation: fadeUp 0.7s var(--ease-out) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ========== Scroll progress ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--sage), var(--blue-gray), var(--dust-rose));
  box-shadow: 0 0 12px rgba(143, 168, 138, 0.45);
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ========== Reveal on scroll ========== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ========== Pyramid text structure ========== */
.pyramid {
  margin: 1.4em 0 1.8em;
  padding: 0;
}
.pyramid-apex {
  font-family: var(--font-hand);
  font-size: clamp(1.28rem, 2.6vw, 1.65rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--sage-wash), var(--blue-gray-wash));
  border-radius: 18px 28px 16px 22px;
  border: 1.5px solid var(--line);
  position: relative;
}
.pyramid-apex::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 12px;
  max-width: 4.5em;
  background: linear-gradient(90deg, var(--clay), transparent);
  border-radius: 2px;
  animation: inkDraw 0.9s var(--ease-out) both;
}
.pyramid-mid {
  margin: 0 0 12px;
  padding: 4px 2px 4px 14px;
  border-left: 3px solid var(--sage);
}
.pyramid-mid p,
.pyramid-mid li {
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 0.55em;
}
.pyramid-mid ul { margin: 0; }
.pyramid-mid li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.45em;
}
.pyramid-mid li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--sage-deep);
  font-weight: 700;
}
.pyramid-deep {
  margin: 10px 0 0;
  border-radius: 16px 20px 14px 18px;
  border: 1.5px dashed var(--line-strong);
  background: var(--paper-deep);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}
.pyramid-deep[open] {
  border-style: solid;
  border-color: var(--blue-gray);
  box-shadow: var(--shadow);
  background: var(--paper-card);
}
.pyramid-deep summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 16px;
  font-family: var(--font-soft);
  font-size: var(--fs-sm);
  color: var(--blue-gray-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  transition: background 0.2s;
}
.pyramid-deep summary::-webkit-details-marker { display: none; }
.pyramid-deep summary::before {
  content: "✎";
  font-family: var(--font-hand);
  font-size: 1.1em;
  transition: transform 0.3s var(--ease-spring);
}
.pyramid-deep[open] summary::before {
  content: "✓";
  color: var(--sage-deep);
}
.pyramid-deep summary:hover { background: var(--blue-gray-wash); }
.pyramid-deep-body {
  padding: 0 16px 16px;
  border-top: 1px dashed var(--line);
}
.pyramid-deep-body p,
.pyramid-deep-body li {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0.6em 0;
}
.pyramid-deep-body h4 {
  font-family: var(--font-soft);
  font-size: var(--fs-base);
  margin: 0.8em 0 0.35em;
  color: var(--ink);
}

/* Nearby source chips — attention secondary zone */
.source-near {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
  align-items: center;
}
.source-near .src-label {
  font-family: var(--font-soft);
  font-size: 11px;
  color: var(--ink-faint);
  margin-right: 2px;
}
.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-gray-deep);
  background: var(--paper-card);
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.source-chip:hover {
  transform: translateY(-2px) rotate(-0.5deg);
  border-color: var(--blue-gray);
  background: var(--blue-gray-wash);
  color: var(--blue-gray-deep);
  box-shadow: var(--shadow);
  opacity: 1;
}
.source-chip::before {
  content: "↗";
  font-size: 11px;
  opacity: 0.7;
}

/* Attention ladder labels */
.attn-hint {
  font-family: var(--font-soft);
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* Enhanced cards / interactive lift */
.card,
.fw-card,
.term-card,
.logic-step,
.link-row,
.triad-card {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}
.card:hover,
.fw-card:hover,
.logic-step:hover,
.link-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.term-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-lift);
}
.btn {
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, background 0.25s, opacity 0.2s;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(95, 122, 92, 0.35);
  color: #fff;
}
.chip,
.nav-link,
.pill-nav a {
  transition: transform 0.2s var(--ease-spring), background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:active,
.nav-link:active { transform: scale(0.96); }
.group-item {
  transition: background 0.25s, transform 0.25s var(--ease);
}
.group-item:hover {
  transform: translateX(4px);
}

/* Figure hover soft zoom */
.figure-media img {
  transition: transform 0.7s var(--ease-out), filter 0.4s;
}
.figure:hover .figure-media img {
  transform: scale(1.02);
  filter: saturate(1);
}

/* Back to top */
.back-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50% 45% 55% 50%;
  background: var(--paper-card);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow);
  color: var(--sage-deep);
  font-family: var(--font-hand);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.35s var(--ease-spring), background 0.2s;
}
.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--sage-wash);
  transform: translateY(-3px) rotate(-6deg);
}

/* Reading focus: prose denser control */
.prose {
  max-width: var(--content-w);
}
.prose h2 {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: var(--fs-xl);
  letter-spacing: 0.03em;
  margin: 2.4em 0 0.7em;
  padding-bottom: 8px;
  border-bottom: 1.5px dashed var(--line-strong);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.prose h3 {
  font-family: var(--font-soft);
  font-weight: 400;
  font-size: var(--fs-lg);
  margin: 1.5em 0 0.5em;
}
.prose p {
  line-height: 1.85;
  margin-bottom: 1em;
  max-width: 40em;
}
.page-hero h1 {
  font-family: var(--font-hand);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.page-hero .lead {
  line-height: 1.8;
  max-width: 34em;
}
.nav-brand span:last-child,
.nav-link {
  font-family: var(--font-soft);
}
.hero-badge,
.section-eyebrow {
  font-family: var(--font-soft);
}
.stat-num {
  font-family: var(--font-hand);
  font-weight: 400;
}

/* Stagger children utility */
.stagger > *.reveal:nth-child(1) { transition-delay: 0.02s; }
.stagger > *.reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > *.reveal:nth-child(3) { transition-delay: 0.14s; }
.stagger > *.reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger > *.reveal:nth-child(5) { transition-delay: 0.26s; }
.stagger > *.reveal:nth-child(6) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}

/* Dark: cool neutral, not warm yellow */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f7;
    --ink-soft: #e5e5ea;
    --ink-mute: #98989f;
    --ink-faint: #636366;
    --paper: #000000;
    --paper-deep: #1c1c1e;
    --paper-card: #1c1c1e;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.16);
    --shadow: 0 8px 28px rgba(0,0,0,0.45);
  }
  body {
    background-color: #000000;
    background-image:
      radial-gradient(ellipse 70% 40% at 0% 0%, rgba(143, 168, 138, 0.08), transparent 55%),
      radial-gradient(ellipse 60% 35% at 100% 0%, rgba(143, 163, 184, 0.08), transparent 50%);
  }
  .nav { background: rgba(0, 0, 0, 0.82); }
  .footer { background: #0a0a0a; }
  .hero-visual::after {
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.75) 100%);
  }
  .glossary-search-wrap {
    background: linear-gradient(#000 65%, transparent);
  }
  .btn-primary { color: #fff; }
  .btn-primary:hover { color: #fff; }
  .path-num { color: #fff; }
  .nav-logo { color: #fff; }
}

/* =====================================================
   Interactive Sandboxes
   ===================================================== */
.sandbox {
  margin: 1.5em 0 2em;
  background: var(--paper-card);
  border: 1.5px solid var(--line);
  border-radius: 22px 28px 20px 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.sandbox:hover { box-shadow: var(--shadow-lift); }
.sandbox-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--sage-wash), var(--blue-gray-wash));
  border-bottom: 1.5px solid var(--line);
}
.sandbox-head h3 {
  font-family: var(--font-hand);
  font-size: var(--fs-lg);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.02em;
}
.sandbox-tag {
  font-family: var(--font-soft);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--paper-card);
  border: 1px solid var(--line-strong);
  color: var(--ink-mute);
}
.sandbox-body { padding: 16px 18px 18px; }
.sandbox-hint {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  line-height: 1.65;
  margin: 0 0 14px;
}
.sandbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px) {
  .sandbox-grid { grid-template-columns: 1fr; }
}
.sandbox label {
  display: block;
  font-family: var(--font-soft);
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.sandbox textarea,
.sandbox input[type="text"],
.sandbox select {
  width: 100%;
  font-family: var(--font);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1.5px solid var(--line-strong);
  border-radius: 12px 16px 12px 14px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  resize: vertical;
}
.sandbox textarea:focus,
.sandbox input[type="text"]:focus,
.sandbox select:focus {
  border-color: var(--sage);
  background: #fff;
  box-shadow: 0 0 0 3px var(--sage-wash);
}
.sandbox textarea { min-height: 96px; }
.sandbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.sandbox .btn-sm {
  padding: 8px 16px;
  font-size: var(--fs-sm);
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.sandbox-out {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--paper-deep);
  border-radius: 14px 18px 12px 16px;
  border: 1.5px dashed var(--line-strong);
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--ink-soft);
  white-space: pre-wrap;
  min-height: 3em;
  transition: border-color 0.3s, background 0.3s;
}
.sandbox-out.is-live {
  border-style: solid;
  border-color: var(--sage);
  background: linear-gradient(180deg, rgba(143,168,138,0.08), var(--paper-deep));
}
.sandbox-out .out-title {
  font-family: var(--font-soft);
  font-size: 12px;
  color: var(--sage-deep);
  margin-bottom: 6px;
}
.sandbox-meter {
  height: 12px;
  border-radius: 999px;
  background: var(--fill, var(--paper-deep));
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 8px 0;
}
.sandbox-meter > i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage), var(--blue-gray));
  transition: width 0.45s var(--ease-out);
}
.sandbox-meter.warn > i { background: linear-gradient(90deg, var(--ochre), var(--dust-rose)); }
.sandbox-meter.danger > i { background: linear-gradient(90deg, var(--dust-rose), #c45c5c); }
.sandbox-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}
.sandbox-chip {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--paper-card);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  font-family: var(--font);
}
.sandbox-chip:hover {
  border-color: var(--sage);
  transform: translateY(-1px);
}
.sandbox-chip.active {
  background: var(--sage-wash);
  border-color: var(--sage);
  color: var(--sage-deep);
  font-weight: 600;
}
.sandbox-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.sandbox-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper-deep);
  opacity: 0.45;
  transform: translateX(-4px);
  transition: all 0.4s var(--ease-out);
}
.sandbox-step.on {
  opacity: 1;
  transform: none;
  border-color: var(--sage);
  background: var(--sage-wash);
}
.sandbox-step .sn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.sandbox-step .st { font-family: var(--font-soft); font-size: var(--fs-sm); color: var(--ink); margin-bottom: 2px; }
.sandbox-step .sd { font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.5; }
.sandbox-kb {
  max-height: 140px;
  overflow: auto;
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  line-height: 1.55;
  padding: 8px 10px;
  background: var(--paper-deep);
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.sandbox-kb b { color: var(--ink-soft); }
.sandbox-mini {
  margin: 1.2em 0;
}
.sandbox-note {
  margin-top: 10px;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  line-height: 1.5;
}
.sandbox-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.sandbox-tab {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-soft);
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  border: 1.5px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.sandbox-tab:hover { background: var(--fill-secondary, var(--paper-deep)); color: var(--ink); }
.sandbox-tab.active {
  background: var(--paper-card);
  border-color: var(--line-strong);
  color: var(--sage-deep);
  box-shadow: var(--shadow);
  font-weight: 600;
}
.sandbox-panel { display: none; }
.sandbox-panel.active { display: block; animation: fadeUp 0.4s var(--ease-out); }

/* ========== Unified spine path ========== */
.path-line {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 6px 4px;
  margin: 8px 0 12px;
  padding: 8px 0;
}
.path-node {
  flex: 1 1 100px;
  max-width: 140px;
  min-width: 96px;
  text-align: center;
  padding: 14px 10px 12px;
  background: var(--paper-card);
  border: 1.5px solid var(--line);
  border-radius: 18px 22px 16px 20px;
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.25s;
}
.path-node:hover {
  transform: translateY(-4px);
  border-color: var(--sage);
  box-shadow: var(--shadow-lift);
  opacity: 1;
  color: inherit;
}
.path-node .pn {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.path-node .pt {
  display: block;
  font-family: var(--font-hand);
  font-size: var(--fs-base);
  color: var(--ink);
  margin-bottom: 4px;
}
.path-node .pd {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.35;
}
.path-join {
  align-self: center;
  color: var(--ink-faint);
  font-size: 14px;
  padding: 0 2px;
  user-select: none;
}
@media (max-width: 700px) {
  .path-join { display: none; }
  .path-node { max-width: none; flex: 1 1 42%; }
}

/* Station header on main line */
.station {
  margin: 3em 0 1em;
  padding-top: 0.5em;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.station-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-soft);
  font-size: var(--fs-xs);
  color: var(--sage-deep);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.station-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-wash);
}
.station h2 {
  font-family: var(--font-hand);
  font-size: var(--fs-2xl);
  font-weight: 400;
  border: none;
  margin: 0 0 0.5em;
  padding: 0;
}
.station-next {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2em 0 1em;
  padding: 16px;
  background: var(--paper-deep);
  border-radius: 16px;
  border: 1.5px dashed var(--line-strong);
  align-items: center;
  justify-content: space-between;
}
.station-next p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  flex: 1;
  min-width: 200px;
}
.spine-nav {
  position: sticky;
  top: calc(var(--nav-h) + 2px);
  z-index: 40;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0 12px;
  margin-bottom: 8px;
  background: linear-gradient(var(--paper) 70%, transparent);
  scrollbar-width: none;
}
.spine-nav::-webkit-scrollbar { display: none; }
.spine-nav a {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-family: var(--font-soft);
  color: var(--ink-mute);
  background: var(--paper-card);
  border: 1.5px solid var(--line);
  white-space: nowrap;
  transition: all 0.2s;
}
.spine-nav a:hover,
.spine-nav a.is-active {
  color: var(--sage-deep);
  border-color: var(--sage);
  background: var(--sage-wash);
  opacity: 1;
}

/* =====================================================
   Responsive · phone / tablet / desktop
   ===================================================== */
.page {
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  padding-bottom: max(72px, env(safe-area-inset-bottom));
}
.nav-inner {
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* Desktop: compact top nav, core links only in HTML */
.nav-core {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-more-wrap {
  position: relative;
}
.nav-more-btn {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-soft);
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  border: 1.5px solid var(--line);
  background: var(--paper-card);
  cursor: pointer;
}
.nav-more-btn[aria-expanded="true"] {
  border-color: var(--sage);
  color: var(--sage-deep);
  background: var(--sage-wash);
}
.nav-more-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  padding: 8px;
  background: var(--paper-card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  z-index: 120;
}
.nav-more-panel.open { display: block; animation: fadeUp 0.25s var(--ease-out); }
.nav-more-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.nav-more-panel a:hover {
  background: var(--paper-deep);
  color: var(--ink);
  opacity: 1;
}
.nav-more-panel .hint {
  font-size: 11px;
  color: var(--ink-faint);
  padding: 6px 12px 8px;
  line-height: 1.4;
}

.freq-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}
.freq-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  color: var(--ink-mute);
  text-decoration: none;
}
.freq-pill b {
  font-family: var(--font-hand);
  font-weight: 400;
  color: var(--sage-deep);
  font-size: 13px;
}
.freq-pill:hover { border-color: var(--sage); color: var(--ink); opacity: 1; }

.freq-badge {
  display: inline-block;
  font-size: 10px;
  font-family: var(--font-soft);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
  background: var(--dust-rose-wash);
  color: var(--dust-rose-deep);
  border: 1px solid var(--dust-rose);
}
.freq-badge.high { background: rgba(255, 90, 90, 0.12); color: #b54a4a; border-color: rgba(181,74,74,0.35); }
.freq-badge.mid { background: var(--sand-wash); color: var(--clay-deep); border-color: var(--sand); }
.freq-badge.low { background: var(--paper-deep); color: var(--ink-faint); border-color: var(--line); }

@media (max-width: 900px) {
  .nav-more-wrap { display: none; }
  :root {
    --nav-h: 56px;
    --fs-md: 1.02rem;
    --content-w: 100%;
  }
  .hero { padding: 28px 0 20px; }
  .hero-visual {
    max-height: 200px;
    border-radius: 24px;
  }
  .hero-lead { font-size: var(--fs-base); max-width: none; }
  .section { padding: 36px 0 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-grid { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: 1fr; }
  .triad { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .logic-strip { grid-template-columns: 1fr; }
  .figure.side { grid-template-columns: 1fr; }
  .table-wrap { margin-left: -4px; margin-right: -4px; border-radius: 14px; }
  .sandbox-grid { grid-template-columns: 1fr; }
  .sandbox-head { flex-direction: column; align-items: flex-start; }
  .station-next { flex-direction: column; align-items: stretch; }
  .station-next .btn { width: 100%; justify-content: center; }
  .spine-nav {
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
  }
  .path-line { gap: 8px; }
  .path-node { flex: 1 1 calc(50% - 8px); max-width: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .link-row { grid-template-columns: 1fr; }
  .back-top { right: 14px; bottom: 18px; }
  .nav-links {
    max-height: min(70vh, 420px);
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .page { padding-left: 14px; padding-right: 14px; }
  .pyramid-apex { font-size: 1.15rem; padding: 12px 14px; }
  .sandbox-body { padding: 14px; }
  .nav-brand span:last-child { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .stat-num { font-size: var(--fs-xl); }
}

@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
  }
  .nav-links .nav-link-mobile-only { display: none; }
}

/* Bottom safe dock on mobile for primary CTA */
.mobile-dock {
  display: none;
}
@media (max-width: 900px) {
  .mobile-dock {
    display: flex;
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 95;
    gap: 8px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
  }
  .mobile-dock a {
    flex: 1;
    text-align: center;
    padding: 11px 8px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-soft);
  }
  .mobile-dock a.primary {
    background: var(--sage);
    color: #fff;
  }
  .mobile-dock a.ghost {
    background: var(--paper-deep);
    color: var(--ink-soft);
    border: 1px solid var(--line);
  }
  body { padding-bottom: 64px; }
}

/* =====================================================
   Docs-style left sidebar shell (参考课程/文档站)
   ===================================================== */
:root {
  --sidebar-w: 260px;
  --topbar-h: 52px;
}

body.has-sidebar {
  overflow-x: hidden;
}

.app-shell {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: #fafaf8;
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 80;
  scrollbar-width: thin;
}

.sidebar-inner {
  padding: 18px 14px 28px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-soft);
  font-size: var(--fs-base);
  color: var(--ink);
  margin-bottom: 6px;
}
.sidebar-brand:hover { opacity: 1; color: var(--ink); }

.sidebar-tagline {
  font-size: 11px;
  color: var(--ink-faint);
  margin: 0 0 18px 42px;
  line-height: 1.4;
}

.sidebar-group {
  margin-bottom: 18px;
}
.sidebar-group-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0 10px 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.35;
  transition: background 0.15s, color 0.15s;
}
.sidebar-link:hover {
  background: rgba(143, 168, 138, 0.12);
  color: var(--ink);
  opacity: 1;
}
.sidebar-link.is-active {
  background: var(--sage-wash);
  color: var(--sage-deep);
  font-weight: 600;
}
.sidebar-link.sub {
  padding-left: 28px;
  font-size: 12px;
  color: var(--ink-mute);
}
.sidebar-link .sl-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  color: var(--sage-deep);
}

.sidebar-foot {
  margin-top: 12px;
  padding: 12px 10px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
}
.sidebar-foot a {
  color: var(--sage-deep);
  font-weight: 600;
}

.main-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.sidebar-toggle {
  display: none;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper-card);
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--font);
}
.topbar-title {
  font-family: var(--font-soft);
  font-size: 14px;
  color: var(--ink-mute);
  flex: 1;
}
.topbar-cta {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sage-wash);
  color: var(--sage-deep);
  border: 1px solid var(--sage);
}

.main-col > .page,
.main-col > main.page {
  flex: 1;
}

.sidebar-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 75;
}

/* Hero redesign */
.hero-v2 {
  padding: 28px 0 20px;
}
.hero-v2-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.hero-v2 h1 {
  font-family: var(--font-hand);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.hero-v2 .lead {
  font-size: var(--fs-md);
  color: var(--ink-mute);
  line-height: 1.75;
  max-width: 34em;
  margin-bottom: 22px;
}
.hero-v2-art {
  border-radius: 24px 32px 22px 28px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4/3;
  background: var(--paper-deep);
}
.hero-v2-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logic-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0 8px;
}

/* =====================================================
   Science-led learning + industry atlas
   ===================================================== */
.learning-shell, .page-wide { max-width: 1180px; }
.learn-tools { display: flex; align-items: center; gap: 8px; }
.text-size-toggle {
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 6px 10px;
  background: #fff; color: var(--ink-soft); font-size: 12px; font-weight: 700;
}
.large-reading-text { --fs-base: 1.08rem; --fs-md: 1.18rem; --fs-sm: .96rem; }

.learning-hero, .industry-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center;
  min-height: 460px; padding: 44px 0 36px;
}
.learning-hero h1, .industry-hero h1 {
  font-size: clamp(2.7rem, 4.6vw, 4rem); line-height: 1.08; max-width: 9em; margin: 0 0 20px;
}
.learning-hero h1 { white-space: nowrap; max-width: none; }
.learning-hero .lead, .industry-hero .lead { max-width: 36em; font-size: 1.12rem; line-height: 1.85; color: var(--ink-mute); }
.session-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 16px; color: var(--ink-mute); font-size: 13px; }
.session-choice button, .analogy-options button, .confidence-check button {
  padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-soft); font-size: 13px;
}
.session-choice button:hover, .session-choice button.active, .analogy-options button.active, .confidence-check button:hover {
  border-color: var(--sage); background: var(--sage-wash); color: var(--sage-deep);
}
.learning-actions { justify-content: flex-start; margin-top: 14px; }
.learning-hero-art { position: relative; aspect-ratio: 4/3; min-height: 340px; }
.learning-hero-art > img { width: 100%; height: 100%; object-fit: cover; border-radius: 42% 58% 44% 56% / 50% 44% 56% 50%; opacity: .86; filter: saturate(.82) contrast(.96); }
.learning-hero-art::after { content: ""; position: absolute; inset: -6%; background: radial-gradient(ellipse, transparent 48%, #fff 74%); pointer-events: none; }
.watercolor-note { position: absolute; z-index: 3; padding: 8px 13px; background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: var(--shadow); font-family: var(--font-soft); font-size: 13px; }
.note-one { left: 5%; bottom: 14%; transform: rotate(-3deg); border-radius: 44% 56% 48% 52%; }
.note-two { right: 4%; top: 18%; transform: rotate(2deg); border-radius: 54% 46% 58% 42%; }

.learning-band { margin: 22px 0 68px; padding: 30px 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(143,168,138,.06), rgba(143,163,184,.04), rgba(196,164,162,.05)); }
.compact-head { margin-bottom: 24px; }
.memory-loop { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; gap: 10px; }
.memory-loop::before { content: ""; position: absolute; top: 18px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, var(--sage), var(--blue-gray), var(--dust-rose)); opacity: .45; }
.memory-loop li { position: relative; text-align: center; z-index: 1; }
.memory-loop li > span { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 10px; border-radius: 50%; background: #fff; border: 2px solid var(--sage); color: var(--sage-deep); font-size: 12px; font-weight: 700; }
.memory-loop strong { display: block; font-family: var(--font-soft); font-size: 14px; font-weight: 400; }
.memory-loop small { display: block; color: var(--ink-mute); font-size: 11px; margin-top: 4px; line-height: 1.45; }

.learning-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 46px; align-items: start; margin-bottom: 72px; }
.recall-stage, .concept-rail { min-width: 0; }
.stage-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.stage-label { display: block; color: var(--sage-deep); font-size: 11px; font-weight: 700; letter-spacing: .12em; margin-bottom: 7px; }
.stage-head h2, .concept-rail h2 { font-size: var(--fs-2xl); }
.review-count { font-size: 12px; color: var(--ink-mute); white-space: nowrap; padding-top: 6px; }
.prior-bridge { padding: 20px 0 24px; border-top: 1px dashed var(--line-strong); }
.prompt-title { margin-bottom: 12px; font-weight: 600; }
.analogy-options { display: flex; flex-wrap: wrap; gap: 8px; }
.analogy-feedback { margin-top: 12px; min-height: 2em; color: var(--ink-mute); font-size: var(--fs-sm); }
.recall-card { padding: 28px; border: 1.5px solid rgba(143,168,138,.35); background: rgba(255,255,255,.94); border-radius: 26px 34px 24px 30px; box-shadow: var(--shadow); }
.recall-question { font-family: var(--font-soft); font-size: var(--fs-lg); line-height: 1.55; color: var(--ink); margin-bottom: 16px; }
.recall-card textarea { width: 100%; border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 14px; resize: vertical; font: inherit; font-size: var(--fs-base); line-height: 1.7; color: var(--ink); background: var(--paper-deep); }
.recall-card textarea:focus { outline: 3px solid var(--sage-wash); border-color: var(--sage); background: #fff; }
.answer-panel { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.answer-panel h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.confidence-check { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--ink-mute); }
.next-review { margin-top: 10px; color: var(--sage-deep); font-size: 13px; }
.concept-rail { position: sticky; top: calc(var(--topbar-h) + 24px); padding-left: 28px; border-left: 1px solid var(--line); }
.mini-concept-map { position: relative; height: 330px; margin: 18px 0 12px; }
.mini-concept-map .map-watercolor { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: contain; opacity: .68; mix-blend-mode: multiply; }
.map-node { position: absolute; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 45% 55% 48% 52%; background: #fff; border: 1.5px solid var(--line-strong); color: var(--ink); font-family: var(--font-soft); font-size: 14px; box-shadow: var(--shadow); }
.map-node small { display: block; color: var(--ink-mute); font-family: var(--font); font-size: 10px; }
.map-node.core { left: calc(50% - 42px); top: 108px; width: 84px; height: 84px; background: var(--sage-wash); border-color: var(--sage); }
.map-node.prompt { left: 0; top: 12px; }.map-node.rag { right: 0; top: 12px; }.map-node.tool { left: 0; bottom: 12px; }.map-node.agent { right: 0; bottom: 12px; }.map-node.boundary { left: calc(50% - 38px); bottom: -6px; }
.map-reading { font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.7; }
.text-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; }

.science-section { margin: 70px 0; }
.friction-table > div { display: grid; grid-template-columns: 130px 1fr 150px; gap: 18px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.friction-table strong { font-family: var(--font-soft); font-weight: 400; }
.friction-table span { color: var(--ink-soft); font-size: var(--fs-sm); }
.friction-table em { color: var(--sage-deep); font-style: normal; font-size: 12px; }
.evidence-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 34px; }
.evidence-list article { padding: 24px 0; border-top: 1px solid var(--line); }
.evidence-list article > strong { font-size: 10px; letter-spacing: .12em; color: var(--sage-deep); }
.evidence-list h3 { margin: 5px 0 8px; font-size: var(--fs-lg); }
.evidence-list p { font-size: var(--fs-sm); color: var(--ink-mute); }
.evidence-list a { font-size: 12px; font-weight: 600; }
.quiet-close { margin-top: 28px; padding: 28px 32px; background: var(--blue-gray-wash); border-radius: 36px 28px 42px 26px; }
.quiet-close span { display: block; font-size: 11px; color: var(--blue-gray-deep); letter-spacing: .1em; }
.quiet-close strong { display: block; margin: 7px 0; font-family: var(--font-soft); font-size: var(--fs-xl); font-weight: 400; }
.quiet-close p { font-size: var(--fs-sm); color: var(--ink-mute); }
.next-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Industry pages */
.industry-hero { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.watercolor-orbit { position: relative; min-height: 390px; background: radial-gradient(circle at 50% 50%, var(--sage-wash), transparent 22%), radial-gradient(circle at 20% 25%, var(--blue-gray-wash), transparent 27%), radial-gradient(circle at 80% 73%, var(--dust-rose-wash), transparent 28%); }
.orbit-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 170px; height: 140px; text-align: center; border: 1.5px solid var(--sage); background: rgba(255,255,255,.9); border-radius: 48% 52% 42% 58%; font-family: var(--font-soft); font-size: var(--fs-lg); box-shadow: var(--shadow); }
.orbit-core small { font-family: var(--font); color: var(--ink-mute); font-size: 10px; }
.watercolor-orbit > span { position: absolute; padding: 10px 14px; background: rgba(255,255,255,.9); border: 1px solid var(--line-strong); font-size: 12px; box-shadow: var(--shadow); }
.watercolor-orbit .o1 { left: 5%; top: 14%; border-radius: 60% 40% 55% 45%; }.watercolor-orbit .o2 { right: 5%; top: 18%; border-radius: 45% 55% 42% 58%; }.watercolor-orbit .o3 { right: 0; bottom: 17%; border-radius: 52% 48% 58% 42%; }.watercolor-orbit .o4 { left: 2%; bottom: 14%; border-radius: 44% 56% 48% 52%; }.watercolor-orbit .o5 { left: 42%; bottom: 0; border-radius: 55% 45% 52% 48%; }
.station-intro { color: var(--ink-mute); max-width: 50em; margin: -4px 0 24px; }
.ecosystem-layers { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 24px; }
.ecosystem-layers article { padding: 24px 4px; border-top: 1px solid var(--line); }
.ecosystem-layers article > span { color: var(--sage-deep); font-size: 10px; letter-spacing: .1em; }
.ecosystem-layers h3 { font-size: var(--fs-xl); margin: 6px 0 8px; }
.ecosystem-layers p { font-size: var(--fs-sm); color: var(--ink-mute); }
.ecosystem-layers a { font-size: 12px; font-weight: 600; }
.adoption-ladder { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.adoption-ladder > div { min-height: 230px; padding: 22px 18px; background: var(--paper-deep); border-top: 3px solid var(--sage); }
.adoption-ladder > div:nth-child(2) { border-color: var(--blue-gray); }.adoption-ladder > div:nth-child(3) { border-color: var(--dust-rose); }.adoption-ladder > div:nth-child(4) { border-color: var(--lavender); }
.adoption-ladder span { font-size: 10px; letter-spacing: .1em; color: var(--ink-mute); }.adoption-ladder strong { display: block; font-family: var(--font-soft); font-weight: 400; font-size: var(--fs-lg); margin: 8px 0; }.adoption-ladder p { font-size: var(--fs-sm); color: var(--ink-mute); }.adoption-ladder em { display: block; margin-top: 16px; font-size: 11px; font-style: normal; color: var(--sage-deep); }
.capability-table table { min-width: 860px; }
.guardrail-flow { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin: 22px 0; }
.guardrail-flow > div { text-align: center; padding: 18px 8px; border-bottom: 2px solid var(--sage); background: var(--paper-deep); }
.guardrail-flow b { display: block; color: var(--sage-deep); font-size: 11px; }.guardrail-flow strong { display: block; margin: 5px 0; font-family: var(--font-soft); font-weight: 400; }.guardrail-flow span { font-size: 11px; color: var(--ink-mute); }
.source-ledger, .case-ledger { border-top: 1px solid var(--line); }
.source-ledger a, .case-ledger a { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 17px 4px; border-bottom: 1px solid var(--line); color: inherit; }
.source-ledger strong, .case-ledger strong { font-family: var(--font-soft); font-weight: 400; }.source-ledger span, .case-ledger p { color: var(--ink-mute); font-size: var(--fs-sm); }

.auto-hero { grid-template-columns: 1fr 1fr; }
.auto-watercolor { min-height: 360px; display: grid; align-content: center; justify-items: center; margin: 0; }
.auto-watercolor img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 44% 56% 48% 52% / 52% 46% 54% 48%; filter: saturate(.82) contrast(.98); }
.auto-watercolor figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-mute); letter-spacing: .04em; }
.auto-chain { display: grid; grid-template-columns: repeat(6,1fr); gap: 5px; margin: 24px 0; }
.auto-chain a { position: relative; padding: 18px 12px; min-height: 145px; background: var(--paper-deep); border-top: 2px solid var(--sage); color: inherit; }
.auto-chain a:nth-child(2n) { border-color: var(--blue-gray); }.auto-chain b { display: block; font-size: 11px; color: var(--sage-deep); }.auto-chain strong { display: block; font-family: var(--font-soft); font-weight: 400; margin: 12px 0 6px; }.auto-chain span { font-size: 10px; color: var(--ink-mute); }
.principle-callout { display: flex; gap: 10px; padding: 18px 22px; background: var(--sage-wash); border-radius: 18px 26px 16px 22px; font-size: var(--fs-sm); }
.scenario-block { scroll-margin-top: 80px; margin: 42px 0 54px; }
.scenario-block > header { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; margin-bottom: 18px; }
.scenario-block > header > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 48% 52% 44% 56%; background: var(--sage-wash); color: var(--sage-deep); font-weight: 700; font-size: 12px; }
.scenario-block h3 { font-size: var(--fs-xl); margin-bottom: 5px; }.scenario-block header p { color: var(--ink-mute); font-size: var(--fs-sm); }
.scenario-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-left: 66px; }
.scenario-cases > div { padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px 26px 18px 24px; background: #fff; }
.scenario-cases h4 { font-size: var(--fs-lg); margin-bottom: 12px; }.scenario-cases p { font-size: var(--fs-sm); margin: 6px 0; color: var(--ink-mute); }.scenario-cases p b { color: var(--ink-soft); }.scenario-cases em { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); color: var(--sage-deep); font-size: 11px; font-style: normal; }
.case-ledger a { grid-template-columns: 170px 260px 1fr; }.case-ledger a > span { font-size: 11px; color: var(--sage-deep); font-weight: 700; }.case-ledger p { margin: 0; }.source-disclaimer { margin-top: 14px; font-size: 12px; color: var(--ink-faint); }
.pilot-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }.pilot-grid article { padding: 20px 18px; background: var(--paper-deep); border-radius: 18px 24px 16px 22px; }.pilot-grid span { color: var(--sage-deep); font-size: 10px; font-weight: 700; }.pilot-grid h3 { margin: 6px 0; }.pilot-grid p { font-size: var(--fs-sm); color: var(--ink-mute); }.pilot-picker { margin-top: 18px; padding: 22px 26px; border-left: 3px solid var(--dust-rose); background: var(--dust-rose-wash); }.pilot-picker h3 { margin-bottom: 5px; }
.risk-lines > div { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 16px 4px; border-bottom: 1px solid var(--line); }.risk-lines strong { font-family: var(--font-soft); font-weight: 400; }.risk-lines span { color: var(--ink-mute); font-size: var(--fs-sm); }

@media (max-width: 960px) {
  .learning-hero, .industry-hero { grid-template-columns: 1fr; min-height: 0; gap: 18px; padding-top: 26px; }
  .learning-hero-art { min-height: 240px; max-height: 320px; order: -1; }
  .learning-hero h1, .industry-hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); white-space: normal; }
  .memory-loop { grid-template-columns: 1fr; gap: 0; }
  .memory-loop::before { top: 18px; bottom: 18px; left: 17px; right: auto; width: 2px; height: auto; }
  .memory-loop li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; text-align: left; padding: 8px 0; }
  .memory-loop li > span { grid-row: 1 / 3; margin: 0; }.memory-loop small { margin: 0; }
  .learning-grid { grid-template-columns: 1fr; gap: 36px; }.concept-rail { position: static; padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .ecosystem-layers { grid-template-columns: 1fr 1fr; }.adoption-ladder, .pilot-grid { grid-template-columns: 1fr 1fr; }
  .guardrail-flow { grid-template-columns: 1fr; }.guardrail-flow > div { text-align: left; display: grid; grid-template-columns: 28px 120px 1fr; align-items: center; }
  .auto-chain { grid-template-columns: repeat(3,1fr); }.scenario-cases { margin-left: 0; }.case-ledger a { grid-template-columns: 130px 1fr; }.case-ledger p { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .learning-band { margin-left: -14px; margin-right: -14px; padding: 24px 18px; }
  .session-choice span { width: 100%; }.recall-card { padding: 20px 16px; }.stage-head { display: block; }.review-count { display: block; margin-top: 8px; }
  .friction-table > div, .risk-lines > div { grid-template-columns: 1fr; gap: 4px; }.evidence-list, .ecosystem-layers, .adoption-ladder, .scenario-cases, .pilot-grid { grid-template-columns: 1fr; }
  .source-ledger a, .case-ledger a { grid-template-columns: 1fr; gap: 4px; }.case-ledger p { grid-column: auto; }
  .auto-chain { grid-template-columns: 1fr 1fr; }.principle-callout { display: block; }.scenario-block > header { grid-template-columns: 42px 1fr; }.scenario-block > header > span { width: 36px; height: 36px; }
}
.logic-card {
  display: block;
  padding: 18px 16px;
  background: var(--paper-card);
  border: 1.5px solid var(--line);
  border-radius: 18px 22px 16px 20px;
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.25s;
}
.logic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--sage);
  opacity: 1;
  color: inherit;
}
.logic-card .lc-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sage-deep);
  margin-bottom: 8px;
}
.logic-card h3 {
  font-family: var(--font-hand);
  font-size: var(--fs-lg);
  font-weight: 400;
  margin: 0 0 8px;
}
.logic-card p {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  line-height: 1.55;
  margin: 0 0 10px;
}
.logic-card .lc-go {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-gray-deep);
}

@media (max-width: 960px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-105%);
    transition: transform 0.3s var(--ease-out);
    box-shadow: var(--shadow-lift);
  }
  body.sidebar-open .sidebar {
    transform: translateX(0);
  }
  body.sidebar-open .sidebar-mask {
    display: block;
  }
  .sidebar-toggle { display: inline-flex; align-items: center; }
  .hero-v2-grid { grid-template-columns: 1fr; }
  .hero-v2-art { max-height: 220px; aspect-ratio: 16/9; order: -1; }
  .logic-cards { grid-template-columns: 1fr; }
  .topbar-cta { display: none; }
  .mobile-dock { display: none !important; }
}

@media (min-width: 961px) {
  body.has-sidebar > .nav { display: none; }
  body.has-sidebar > .mobile-dock { display: none !important; }
}
/* =====================================================
   Editorial grid refinement · 2026-07
   Swiss grid discipline + restrained editorial typography.
   Watercolor remains the emotional layer; type and spacing carry structure.
   ===================================================== */
:root {
  --sidebar-w: 240px;
  --topbar-h: 56px;
  --page-w: 1200px;
  --content-w: 720px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 24px rgba(42, 41, 38, 0.045);
  --shadow-lift: 0 14px 36px rgba(42, 41, 38, 0.075);
  --font-hand: "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-soft: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: var(--font-hand);
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.625rem;
  --fs-2xl: clamp(2rem, 3vw, 2.75rem);
  --fs-3xl: clamp(2.4rem, 4vw, 3.75rem);
  --fs-hero: clamp(3rem, 5.2vw, 5.5rem);
}

html { scroll-padding-top: calc(var(--topbar-h) + 28px); }
body {
  font-size: var(--fs-md);
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
p { max-width: 66ch; }

.page,
.main-col > .page,
.main-col > main.page {
  max-width: 1240px;
  padding-left: clamp(24px, 4vw, 64px);
  padding-right: clamp(24px, 4vw, 64px);
  padding-bottom: 120px;
}
.page-narrow { max-width: 820px; }
.learning-shell,
.page-wide { max-width: 1280px; }
.section { padding: 80px 0 24px; }
.section-header { max-width: 720px; margin-bottom: 32px; }
.section-title { margin-bottom: 14px; line-height: 1.2; }
.section-desc { max-width: 58ch; line-height: 1.75; }

.sidebar { background: #fbfbf9; }
.sidebar-inner { padding: 24px 16px 36px; }
.sidebar-brand {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sidebar-tagline { margin: 2px 0 24px 42px; }
.sidebar-group { margin-bottom: 24px; }
.sidebar-group-title {
  padding: 0 10px 7px;
  font-size: 9px;
  letter-spacing: 0.16em;
}
.sidebar-link {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12.5px;
}
.sidebar-link.is-active { box-shadow: inset 2px 0 0 var(--sage-deep); }
.topbar { padding: 0 clamp(20px, 3vw, 44px); }
.topbar-title { font-size: 12px; letter-spacing: 0.04em; }
.topbar-cta { border-radius: 6px; padding: 6px 11px; }

.hero-v2 { padding: clamp(52px, 7vw, 96px) 0 56px; }
.hero-v2-grid {
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero-v2 h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
.hero-v2 .lead {
  max-width: 58ch;
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 30px;
}
.hero-v2-art {
  border-radius: 16px;
  border: 0;
  box-shadow: var(--shadow-lift);
}
.hero-actions { gap: 10px; justify-content: flex-start; }
.btn {
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 7px;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--sage-deep); box-shadow: none; }
.btn-secondary { box-shadow: none; }

.section-eyebrow,
.hero-badge {
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  letter-spacing: 0.13em;
}
.logic-cards { gap: 0 28px; margin: 52px 0 16px; }
.logic-card,
.card {
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
  box-shadow: none;
  background: transparent;
}
.logic-card { padding: 22px 0 26px; }
.logic-card:hover,
.card:hover { transform: none; box-shadow: none; }
.logic-card .lc-kicker { letter-spacing: 0.12em; margin-bottom: 12px; }
.logic-card h3 { font-size: 1.35rem; line-height: 1.35; }
.logic-card p { max-width: 48ch; line-height: 1.7; }

.station {
  margin: clamp(76px, 9vw, 120px) 0 24px;
  padding-top: 0;
}
.station-label {
  margin-bottom: 14px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.station-label .dot { width: 6px; height: 6px; box-shadow: none; }
.station h2 { max-width: 16em; margin-bottom: 0.65em; line-height: 1.2; }
.station-intro { max-width: 64ch; line-height: 1.8; }
.spine-nav {
  top: var(--topbar-h);
  padding: 12px 0;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
}
.spine-nav a {
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  letter-spacing: 0.04em;
}
.spine-nav a:hover,
.spine-nav a.is-active {
  border-color: var(--sage-deep);
  background: transparent;
}

.spine-nav a span {
  margin-right: 5px;
  color: var(--sage-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.learning-hero,
.industry-hero {
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: clamp(44px, 7vw, 96px);
  min-height: 520px;
  padding: clamp(56px, 7vw, 92px) 0 64px;
}
.learning-hero h1,
.industry-hero h1 {
  max-width: 10.5ch;
  font-size: clamp(3.3rem, 5.3vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin-bottom: 26px;
}
.learning-hero h1 { white-space: normal; max-width: 10.5ch; }
.learning-hero .lead,
.industry-hero .lead { max-width: 58ch; line-height: 1.85; }
.learning-hero-art > img,
.auto-watercolor img {
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
}
.auto-watercolor img { height: auto; }
.learning-hero-art::after { inset: -1px; background: linear-gradient(180deg, transparent 72%, rgba(255,255,255,.28)); }
.auto-watercolor figcaption { align-self: start; letter-spacing: 0.08em; }

/* =====================================================
   Responsive image integrity
   Content images always remain fully visible at their native ratio.
   ===================================================== */
img { max-width: 100%; height: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-visual,
.card-thumb,
.figure-media,
.figure.side .figure-media,
.page-hero-art,
.hero-v2-art,
.learning-hero-art,
.auto-watercolor {
  height: auto;
  max-height: none;
  min-height: 0;
  aspect-ratio: auto;
}
.hero-visual img,
.card-thumb img,
.figure-media img,
.figure.side .figure-media img,
.page-hero-art img,
.hero-v2-art img,
.learning-hero-art > img,
.auto-watercolor img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.hero-visual::after,
.learning-hero-art::after { display: none; }

/* =====================================================
   Selected product direction · Feishu AI ecosystem
   ===================================================== */
.ecosystem-page { background: #fffefa; }
.ecosystem-page .sidebar { background: rgba(255,254,250,.97); }
.ecosystem-topbar { justify-content: space-between; }
.ecosystem-search { width: min(280px, 34vw); }
.ecosystem-search input {
  width: 100%; height: 38px; border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 0 13px; background: #fff; color: var(--ink); font: 500 13px/1 var(--font);
}
.ecosystem-search input:focus { outline: 3px solid var(--sage-wash); border-color: var(--sage); }
.ecosystem-canvas { width: min(100%, 1320px); margin: 0 auto; padding: 0 clamp(24px, 4.5vw, 68px) 72px; }
.ecosystem-hero {
  display: grid; grid-template-columns: minmax(270px,.72fr) minmax(0,1.28fr); gap: clamp(28px,4vw,62px);
  align-items: center; min-height: 500px; padding: 46px 0 30px; border-bottom: 1px solid var(--line);
}
.ecosystem-hero-copy h1 {
  max-width: 9em; margin: 0; color: var(--ink); font: 500 clamp(3.2rem,5vw,5.2rem)/1.12 var(--font-soft);
  letter-spacing: -.055em; text-wrap: balance;
}
.ecosystem-hero-copy p { max-width: 34em; margin: 22px 0 28px; color: var(--ink-mute); font-size: 16px; line-height: 1.8; }
.ecosystem-primary {
  min-width: 250px; min-height: 58px; border: 0; border-radius: 6px; padding: 0 26px;
  background: #2467c7; color: #fff; font: 600 16px/1 var(--font); box-shadow: 0 9px 24px rgba(36,103,199,.18);
}
.ecosystem-primary:hover { background: #1958ae; transform: translateY(-1px); }
.ecosystem-art-frame { margin: 0; min-width: 0; }
.ecosystem-art-frame img { display: block; width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.ecosystem-art-frame figcaption { margin-top: 8px; color: var(--ink-faint); text-align: right; font-size: 11px; letter-spacing: .05em; }

.knowledge-spine {
  display: grid; grid-template-columns: repeat(6,1fr); border-bottom: 1px solid var(--line); margin-bottom: 72px;
}
.knowledge-spine a { min-width: 0; padding: 22px 18px; color: inherit; border-right: 1px solid var(--line); }
.knowledge-spine a:last-child { border-right: 0; }
.knowledge-spine span { display: block; color: var(--sage-deep); font-size: 10px; letter-spacing: .1em; }
.knowledge-spine strong { display: block; margin: 6px 0; font-family: var(--font-soft); font-size: 17px; font-weight: 500; }
.knowledge-spine small { display: block; color: var(--ink-mute); font-size: 11px; line-height: 1.55; }
.knowledge-spine a:hover { background: var(--sage-wash); }

.scenario-system, .system-roadmap { margin: 0 0 86px; scroll-margin-top: 80px; }
.system-heading { display: grid; grid-template-columns: minmax(300px,.85fr) minmax(320px,1.15fr); gap: 36px; align-items: end; margin-bottom: 24px; }
.system-heading span { display: block; color: var(--sage-deep); font-size: 11px; font-weight: 700; letter-spacing: .12em; margin-bottom: 7px; }
.system-heading h2 { margin: 0; font-size: clamp(2rem,3.2vw,3.2rem); line-height: 1.2; }
.system-heading > p { margin: 0; color: var(--ink-mute); font-size: 14px; line-height: 1.8; }
.scenario-list { border-top: 1px solid var(--line-strong); }
.scenario-row { border-bottom: 1px solid var(--line); }
.scenario-toggle {
  width: 100%; min-height: 76px; display: grid; grid-template-columns: 46px minmax(150px,.7fr) minmax(260px,1.3fr) auto;
  gap: 18px; align-items: center; border: 0; padding: 0 8px; background: transparent; color: inherit; text-align: left;
}
.scenario-toggle:hover { background: rgba(143,168,138,.055); }
.scenario-index { color: var(--ink-faint); font-size: 10px; }
.scenario-toggle strong { font-family: var(--font-soft); font-size: 20px; font-weight: 500; }
.scenario-toggle small { color: var(--ink-mute); font-size: 13px; }
.scenario-open { color: var(--sage-deep); font-size: 11px; }
.scenario-detail {
  display: grid; grid-template-columns: repeat(3,1fr) auto; gap: 28px; align-items: start;
  margin: 0 8px 18px 54px; padding: 22px 24px; background: rgba(237,242,235,.58); border: 1px solid rgba(99,125,104,.18); border-radius: 12px;
}
.scenario-detail[hidden] { display: none; }
.scenario-detail b { display: block; color: var(--sage-deep); font-size: 11px; letter-spacing: .04em; }
.scenario-detail p { margin: 7px 0 0; color: var(--ink-mute); font-size: 12px; line-height: 1.7; }
.scenario-detail > a { align-self: center; min-width: 138px; padding: 11px 13px; border: 1px solid #2467c7; border-radius: 6px; color: #1f61bd; text-align: center; font-size: 12px; font-weight: 600; }
.scenario-empty { padding: 30px 0; color: var(--ink-mute); }

.system-roadmap ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.system-roadmap li { display: grid; grid-template-columns: 58px minmax(280px,1fr) auto; gap: 24px; align-items: center; min-height: 94px; border-bottom: 1px solid var(--line); }
.system-roadmap li > span { color: var(--ink-faint); font-size: 10px; }
.system-roadmap strong { font: 500 20px/1.3 var(--font-soft); }
.system-roadmap p { margin: 5px 0 0; color: var(--ink-mute); font-size: 13px; }
.system-roadmap a { color: var(--sage-deep); font-size: 12px; font-weight: 600; border-bottom: 1px solid rgba(99,125,104,.45); padding-bottom: 3px; }
.ecosystem-flow { display: flex; align-items: center; justify-content: center; gap: clamp(18px,4vw,52px); padding: 24px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-soft); }
.ecosystem-flow b { color: var(--sage); font-weight: 400; }

@media (max-width: 1250px) {
  .ecosystem-hero { grid-template-columns: 1fr; }
  .ecosystem-hero-copy { max-width: 720px; }
  .ecosystem-art-frame { width: min(100%, 820px); }
}

@media (max-width: 1100px) {
  .knowledge-spine { grid-template-columns: repeat(3,1fr); }
  .knowledge-spine a:nth-child(3) { border-right: 0; }
  .knowledge-spine a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .scenario-detail { grid-template-columns: repeat(3,1fr); }
  .scenario-detail > a { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 700px) {
  .ecosystem-topbar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .ecosystem-topbar .topbar-title { display: none; }
  .ecosystem-search { width: 100%; }
  .ecosystem-canvas { padding: 0 18px 48px; }
  .ecosystem-hero { min-height: 0; padding: 54px 0 26px; gap: 24px; }
  .ecosystem-hero-copy h1 { font-size: clamp(2.75rem,13vw,4rem); }
  .ecosystem-primary { width: 100%; }
  .ecosystem-art-frame figcaption { text-align: left; }
  .knowledge-spine { grid-template-columns: 1fr 1fr; margin-bottom: 56px; }
  .knowledge-spine a:nth-child(3) { border-right: 1px solid var(--line); }
  .knowledge-spine a:nth-child(2n) { border-right: 0; }
  .knowledge-spine a:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .system-heading { grid-template-columns: 1fr; gap: 14px; }
  .scenario-toggle { grid-template-columns: 28px 1fr auto; gap: 10px; padding: 14px 4px; }
  .scenario-toggle small { grid-column: 2; }
  .scenario-open { grid-column: 3; grid-row: 1 / span 2; }
  .scenario-detail { grid-template-columns: 1fr; margin-left: 28px; padding: 18px; gap: 18px; }
  .scenario-detail > a { grid-column: auto; width: 100%; }
  .system-roadmap li { grid-template-columns: 32px 1fr; gap: 12px; padding: 18px 0; }
  .system-roadmap li > a { grid-column: 2; justify-self: start; }
  .ecosystem-flow { flex-direction: column; gap: 9px; text-align: center; }
  .ecosystem-flow b { transform: rotate(90deg); }
}

.learning-band {
  margin: 8px 0 96px;
  padding: 36px 0;
  background: transparent;
  border-color: var(--line-strong);
}
.memory-loop { gap: 20px; }
.memory-loop strong { font-family: var(--font); font-weight: 600; }
.learning-grid { gap: clamp(48px, 7vw, 92px); margin-bottom: 104px; }
.recall-card {
  padding: 32px;
  border-radius: 10px;
  border-color: var(--line-strong);
  box-shadow: none;
}
.recall-question { font-family: var(--font); font-weight: 600; }
.recall-card textarea { border-radius: 6px; }
.concept-rail { padding-left: 36px; }
.map-node { border-radius: 50%; box-shadow: none; font-family: var(--font); font-weight: 600; }
.science-section { margin: 104px 0; }
.evidence-list { gap: 0 48px; }
.evidence-list article { padding: 28px 0 32px; }
.quiet-close { border-radius: 10px; padding: 32px; }

.ecosystem-layers { gap: 0 36px; }
.ecosystem-layers article { padding: 28px 0 34px; }
.adoption-ladder { gap: 1px; background: var(--line); }
.adoption-ladder > div {
  min-height: 250px;
  padding: 28px 22px;
  background: #fff;
  border-top-width: 4px;
}
.guardrail-flow { gap: 1px; background: var(--line); }
.guardrail-flow > div { background: #fff; padding: 24px 10px; }
.source-ledger a,
.case-ledger a { padding: 22px 0; }
.auto-chain { gap: 1px; background: var(--line); }
.auto-chain a { background: #fff; min-height: 160px; padding: 22px 14px; }
.principle-callout { border-radius: 8px; padding: 20px 24px; }
.scenario-block { margin: 56px 0 80px; }
.scenario-cases { gap: 1px; background: var(--line); }
.scenario-cases > div { border: 0; border-radius: 0; padding: 28px; }
.pilot-grid { gap: 1px; background: var(--line); }
.pilot-grid article { border-radius: 0; background: #fff; padding: 26px 22px; }
.pilot-picker { padding: 26px 30px; }
.station-next { border-radius: 8px; padding: 20px 22px; }

@media (max-width: 960px) {
  :root { --sidebar-w: min(84vw, 320px); }
  .page,
  .main-col > .page,
  .main-col > main.page {
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
    padding-bottom: 88px;
  }
  .topbar { padding: 0 20px; }
  .sidebar-toggle { min-height: 36px; border-radius: 6px; }
  .hero-v2 { padding: 30px 0 64px; }
  .hero-v2-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-v2-art { max-height: none; aspect-ratio: 4 / 3; }
  .hero-v2 h1 {
    max-width: 11ch;
    font-size: clamp(2.55rem, 10vw, 4rem);
    line-height: 1.13;
    margin-bottom: 20px;
  }
  .logic-cards { margin-top: 44px; }
  .logic-card { padding: 22px 0 24px; }
  .learning-hero,
  .industry-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 30px 0 64px;
  }
  .learning-hero-art,
  .auto-watercolor { order: -1; min-height: 0; max-height: none; }
  .learning-hero h1,
  .industry-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 10vw, 4rem);
    line-height: 1.12;
  }
  .learning-band { margin-bottom: 72px; }
  .science-section { margin: 80px 0; }
  .concept-rail { padding-left: 0; }
}

@media (max-width: 620px) {
  :root {
    --fs-md: 1rem;
    --fs-base: 0.975rem;
    --fs-lg: 1.18rem;
    --fs-xl: 1.45rem;
  }
  body { line-height: 1.72; }
  .page,
  .main-col > .page,
  .main-col > main.page { padding-left: 20px; padding-right: 20px; }
  .topbar { gap: 10px; padding: 0 16px; }
  .sidebar-toggle,
  .text-size-toggle { min-height: 40px; }
  .session-choice button,
  .analogy-options button,
  .confidence-check button { min-height: 40px; }
  .topbar-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-v2-grid { gap: 30px; }
  .hero-v2 h1,
  .learning-hero h1,
  .industry-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
  }
  .hero-v2 .lead,
  .learning-hero .lead,
  .industry-hero .lead { font-size: 1rem; line-height: 1.8; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-actions .btn { min-height: 50px; }
  .section { padding-top: 64px; }
  .station { margin-top: 72px; }
  .station h2 { max-width: 13em; }
  .logic-cards { gap: 0; }
  .learning-band { margin-left: 0; margin-right: 0; padding: 30px 0; }
  .recall-card { padding: 22px 18px; }
  .memory-loop li { padding: 10px 0; }
  .spine-nav { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .scenario-block > header { gap: 12px; }
  .scenario-cases > div { padding: 24px 20px; }
  .auto-chain a { min-height: 132px; }
  .source-ledger a,
  .case-ledger a { padding: 20px 0; }
  .station-next { padding: 18px; }
}

@media (max-width: 390px) {
  .page,
  .main-col > .page,
  .main-col > main.page { padding-left: 18px; padding-right: 18px; }
  .spine-nav { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .auto-chain { grid-template-columns: 1fr; }
  .auto-chain a { min-height: 0; }
}

/* Enterprise practice · attention-led watercolor components */
.attention-lead strong {
  color: var(--sage-deep);
  background: linear-gradient(transparent 62%, var(--sage-wash) 62%);
  padding: 0 0.08em;
}

.hero-figure,
.attention-figure { margin-top: 18px; }

.station-thesis {
  font-size: var(--fs-lg);
  line-height: 1.75;
  margin: 0 0 20px;
}

.station-thesis strong {
  color: var(--sage-deep);
  background: linear-gradient(transparent 66%, var(--sage-wash) 66%);
}

.attention-grid,
.capability-map,
.capability-grid,
.workflow-grid,
.role-grid,
.governance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}

.attention-grid.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.attention-card,
.capability-card,
.workflow-card,
.phase-card,
.role-card,
.role-action-card,
.governance-card {
  background: var(--paper-card);
  border: 1.5px solid var(--line);
  border-radius: 18px 24px 17px 22px;
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
}

.attention-card:nth-child(3n + 1),
.capability-card:nth-child(3n + 1),
.phase-card:nth-child(3n + 1),
.governance-card:nth-child(3n + 1) {
  background: linear-gradient(145deg, var(--sage-wash), #fff 58%);
}

.attention-card:nth-child(3n + 2),
.capability-card:nth-child(3n + 2),
.phase-card:nth-child(3n + 2),
.governance-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, var(--blue-gray-wash), #fff 58%);
}

.attention-card:nth-child(3n),
.capability-card:nth-child(3n),
.phase-card:nth-child(3n),
.governance-card:nth-child(3n) {
  background: linear-gradient(145deg, var(--clay-wash), #fff 58%);
}

.attention-card h3,
.capability-card h3,
.workflow-card h3,
.phase-card h3,
.role-card h3,
.role-action-card h3,
.governance-card h3 { margin: 4px 0 9px; }

.attention-card p,
.capability-card p,
.workflow-card p,
.phase-card p,
.role-card p,
.role-action-card p,
.governance-card p { font-size: var(--fs-sm); line-height: 1.7; }

.card-index,
.capability-tag,
.phase-number {
  display: inline-flex;
  color: var(--sage-deep);
  background: var(--sage-wash);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.boundary-line {
  border-top: 1px dashed var(--line-strong);
  padding-top: 9px;
  margin-top: 9px;
}

.role-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

.role-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 46% 54% 51% 49%;
  color: #fff;
  background: var(--sage);
  font-family: var(--font-hand);
  font-size: var(--fs-lg);
}

.boundary-banner,
.boundary-note {
  background: var(--clay-wash);
  border-left: 3px solid var(--clay);
  border-radius: 6px 14px 14px 6px;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.65;
  padding: 10px 12px;
  margin: 12px 0;
}

.detail-panel {
  margin: 18px 0;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--sand-wash);
  padding: 12px 14px;
}

.detail-panel summary {
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.detail-panel p,
.detail-panel ol { margin-top: 10px; color: var(--ink-soft); }

.detail-panel ol { padding-left: 22px; list-style: decimal; }

.workflow-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.workflow-number {
  flex: 0 0 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 45% 55% 50% 50%;
  background: var(--sage);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.workflow-kicker {
  color: var(--ink-mute);
  font-size: var(--fs-xs);
  line-height: 1.5;
  margin-bottom: 4px;
}

.micro-flow,
.iteration-loop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.micro-flow li,
.iteration-loop span {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  color: var(--ink-soft);
  font-size: 12px;
}

.micro-flow li:not(:last-child)::after {
  content: "→";
  color: var(--ink-faint);
  margin-left: 10px;
}

.problem-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.problem-filter button {
  min-height: 40px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  color: var(--ink-mute);
  background: var(--paper-card);
}

.problem-filter button[aria-pressed="true"] {
  color: var(--sage-deep);
  border-color: var(--sage);
  background: var(--sage-wash);
}

.problem-filter button:focus-visible,
.copy-block button:focus-visible {
  outline: 3px solid var(--blue-gray-wash);
  outline-offset: 2px;
}

.workflow-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  transition: opacity 0.22s var(--ease), filter 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.workflow-card.is-muted {
  opacity: 0.28;
  filter: saturate(0.5);
}

.workflow-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.workflow-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 6px 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  color: var(--ink-mute);
  font-size: 12px;
}

.workflow-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.workflow-legend i {
  min-width: 38px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--sage-wash);
  color: var(--sage-deep);
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.workflow-value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 16px 0;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.workflow-value > span,
.boundary-note > span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  color: var(--sage-deep);
  background: var(--sage-wash);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.workflow-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.workflow-route li {
  position: relative;
  min-width: 0;
  min-height: 104px;
  padding: 13px 12px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px 18px 15px 17px;
  background: rgba(255,255,255,.82);
}

.workflow-route li:nth-child(2) { background: var(--blue-gray-wash); }
.workflow-route li:nth-child(3) { background: var(--sage-wash); }

.workflow-route li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -9px;
  width: 10px;
  height: 1px;
  background: var(--sage);
}

.workflow-route span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-mute);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.workflow-route strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.workflow-card .boundary-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 9px;
  margin: 0 0 12px;
  border-left-width: 0;
  border: 1px solid rgba(184,154,140,.24);
  border-radius: 14px;
}

.workflow-card .boundary-note > span {
  color: var(--clay-deep);
  background: rgba(184,154,140,.17);
}

.workflow-card .boundary-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.workflow-card details {
  margin-top: 6px;
  border-top: 1px dashed var(--line-strong);
  padding-top: 10px;
}

.workflow-card details summary {
  color: var(--blue-gray-deep);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.phase-roadmap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.phase-card ul {
  list-style: disc;
  padding-left: 18px;
  margin-top: 12px;
}

.phase-card li {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: 7px;
}

.iteration-loop {
  justify-content: center;
  padding: 18px;
  border: 1px dashed var(--sage);
  border-radius: var(--radius-lg);
  background: var(--sage-wash);
}

.iteration-loop i { color: var(--sage-deep); font-style: normal; }

.copy-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.copy-block code {
  flex: 1;
  white-space: normal;
  overflow-wrap: anywhere;
}

.copy-block button {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid var(--sage);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  color: var(--sage-deep);
  background: var(--sage-wash);
}

.role-action-card a {
  display: inline-flex;
  margin-top: 10px;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.reference-groups {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.reference-groups section {
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 14px;
}

.reference-date {
  color: var(--ink-mute);
  font-size: var(--fs-sm);
}

.next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .phase-roadmap { grid-template-columns: 1fr 1fr; }
  .attention-grid.four-up { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .attention-grid,
  .attention-grid.four-up,
  .capability-map,
  .capability-grid,
  .workflow-grid,
  .role-triad,
  .role-grid,
  .governance-grid,
  .phase-roadmap { grid-template-columns: 1fr; }

  .copy-block { flex-direction: column; }
  .copy-block button { width: 100%; }
  .workflow-card.is-muted { display: none; }
  .station-thesis { font-size: var(--fs-md); }
  .workflow-card { padding: 20px 16px; }
  .workflow-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .workflow-route { gap: 6px; }
  .workflow-route li {
    min-height: 116px;
    padding: 11px 9px;
  }
  .workflow-route li:not(:last-child)::after { right: -7px; width: 8px; }
  .workflow-route strong { font-size: 12px; line-height: 1.5; }
  .workflow-value,
  .workflow-card .boundary-note { grid-template-columns: 1fr; gap: 7px; }
}

@media (max-width: 360px) {
  .workflow-route { grid-template-columns: 1fr; }
  .workflow-route li { min-height: 0; }
  .workflow-route li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -8px;
    width: 1px;
    height: 9px;
  }
}

/* ========== Data to knowledge · technical knowledge base ========== */
.data-knowledge-page {
  --data-blue: #627d91;
  --data-violet: #817895;
  --data-clay: #ad7654;
}

.data-kb-shell { max-width: 1180px; padding-bottom: 72px; }
.data-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: 650px;
  padding: 46px 0 52px;
  border-bottom: 1px solid var(--line);
}
.data-hero-copy h1 {
  max-width: 8em;
  margin: 12px 0 20px;
  font: 500 clamp(3.1rem, 6vw, 5.5rem)/1.03 var(--font-serif);
  letter-spacing: -.055em;
}
.data-hero-copy .lead { max-width: 32em; color: var(--ink-mute); font-size: 1.05rem; line-height: 1.9; }
.eyebrow {
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.data-thesis {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  margin: 26px 0;
  border-left: 3px solid var(--sage);
  padding: 13px 18px;
  background: var(--sage-wash);
  color: var(--ink-soft);
  line-height: 1.7;
}
.data-thesis strong { color: var(--sage-deep); white-space: nowrap; }
.data-hero-art { margin: 0; }
.data-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 28px 48px 34px 52px;
  filter: saturate(.84) contrast(.97);
}
.data-hero-art figcaption,
.storage-layout figcaption {
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.6;
}

.data-section { padding: 66px 0; border-bottom: 1px solid var(--line); }
.data-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}
.data-section-head h2 { margin-top: 7px; font: 500 clamp(2rem, 4vw, 3.3rem)/1.16 var(--font-serif); letter-spacing: -.035em; }
.data-section-head > p { max-width: 32em; color: var(--ink-mute); line-height: 1.75; }

.knowledge-pipeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  list-style: none;
}
.knowledge-pipeline li {
  position: relative;
  min-height: 180px;
  padding: 18px 14px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.knowledge-pipeline li:nth-child(3n+1) { background: rgba(99,125,104,.06); }
.knowledge-pipeline li:nth-child(3n+2) { background: rgba(98,125,145,.06); }
.knowledge-pipeline li:nth-child(3n) { background: rgba(129,120,149,.06); }
.knowledge-pipeline span { display: block; color: var(--sage-deep); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.knowledge-pipeline strong { display: block; margin: 42px 0 8px; font: 600 1.04rem/1.3 var(--font-serif); }
.knowledge-pipeline small { color: var(--ink-mute); font-size: 11px; line-height: 1.65; }

.knowledge-object {
  display: grid;
  grid-template-columns: .78fr 1.65fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--paper-card);
}
.object-core { display: flex; flex-direction: column; justify-content: center; min-height: 300px; padding: 34px; background: var(--sage-wash); }
.object-core small { color: var(--sage-deep); font-weight: 700; }
.object-core strong { margin: 12px 0; font: 500 2.1rem/1.2 var(--font-serif); }
.object-core p { color: var(--ink-mute); line-height: 1.7; }
.knowledge-object dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }
.knowledge-object dl div { min-height: 104px; padding: 19px 22px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.knowledge-object dt { margin-bottom: 6px; color: var(--data-blue); font-size: 12px; font-weight: 750; }
.knowledge-object dd { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }

.storage-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 34px; align-items: start; }
.storage-layout figure { position: sticky; top: 82px; margin: 0; }
.storage-layout figure img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: 26px; }
.storage-stack { border-top: 1px solid var(--line-strong); }
.storage-stack article { position: relative; padding: 20px 18px 20px 76px; border-bottom: 1px solid var(--line-strong); }
.storage-stack article > span { position: absolute; top: 24px; left: 0; color: var(--data-blue); font-size: 10px; font-weight: 750; }
.storage-stack h3 { margin-bottom: 6px; font: 600 1.12rem/1.3 var(--font-serif); }
.storage-stack p { color: var(--ink-mute); font-size: 13px; line-height: 1.7; }
.storage-stack small { display: block; margin-top: 8px; color: var(--sage-deep); font-size: 10px; line-height: 1.6; }

.denoise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.denoise-grid article { min-height: 300px; padding: 24px 20px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.denoise-grid article:nth-child(2) { background: rgba(98,125,145,.055); }
.denoise-grid article:nth-child(3) { background: rgba(129,120,149,.055); }
.denoise-grid .human-gate { background: var(--sage-wash); }
.denoise-grid span { color: var(--data-blue); font-size: 10px; font-weight: 750; }
.denoise-grid h3 { margin: 28px 0 15px; font: 500 1.35rem/1.3 var(--font-serif); }
.denoise-grid ul { margin: 0; padding-left: 1.2em; color: var(--ink-mute); font-size: 12px; line-height: 1.85; }

.research-cards { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.research-cards article { min-height: 230px; padding: 24px 26px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.research-cards span { color: var(--data-violet); font-size: 10px; font-weight: 750; }
.research-cards h3 { margin: 28px 0 9px; font: 600 1.2rem/1.35 var(--font-serif); }
.research-cards p { color: var(--ink-mute); font-size: 13px; line-height: 1.7; }
.research-cards a { display: inline-flex; margin-top: 16px; color: var(--sage-deep); font-size: 12px; font-weight: 700; }

.tool-table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); }
.tool-table { width: 100%; min-width: 780px; border-collapse: collapse; text-align: left; }
.tool-table th { padding: 14px 16px; color: var(--ink-faint); background: var(--paper-deep); font-size: 10px; letter-spacing: .08em; }
.tool-table td { padding: 18px 16px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 12px; line-height: 1.65; vertical-align: top; }
.tool-table td:first-child { color: var(--data-blue); font-weight: 750; }
.tool-table td a { color: var(--ink); font: 600 1rem/1.4 var(--font-serif); }
.tool-table td small { display: block; margin-top: 4px; color: var(--sage-deep); font-size: 9px; }

.quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quality-grid article { min-height: 150px; padding: 22px; border-top: 3px solid var(--sage); background: var(--paper-deep); }
.quality-grid strong { font: 600 1.12rem/1.3 var(--font-serif); }
.quality-grid p { margin-top: 28px; color: var(--ink-mute); font-size: 12px; line-height: 1.7; }

.starter-section { display: grid; grid-template-columns: .75fr 1.25fr; column-gap: 64px; }
.starter-copy { grid-row: span 2; }
.starter-copy h2 { margin: 9px 0 18px; font: 500 clamp(2.3rem, 4vw, 3.7rem)/1.15 var(--font-serif); letter-spacing: -.04em; }
.starter-copy > p:last-child { color: var(--ink-mute); line-height: 1.8; }
.starter-section > ol { margin: 0; padding: 0; border-top: 1px solid var(--line-strong); list-style: none; }
.starter-section > ol li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.starter-section > ol li > span { color: var(--sage-deep); font-size: 11px; font-weight: 750; }
.starter-section > ol strong { font: 600 1rem/1.4 var(--font-serif); }
.starter-section > ol p { margin-top: 3px; color: var(--ink-mute); font-size: 12px; line-height: 1.6; }
.starter-action { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 20px; background: var(--sage-wash); }
.starter-action small, .starter-action strong { display: block; }
.starter-action small { margin-bottom: 4px; color: var(--sage-deep); font-size: 10px; }
.starter-action strong { font-size: 13px; line-height: 1.6; }
.starter-action .btn { flex: 0 0 auto; }

.data-boundary { display: grid; grid-template-columns: 180px 1fr; gap: 24px; margin-top: 38px; padding: 24px 26px; border-left: 3px solid var(--data-clay); background: rgba(173,118,84,.08); }
.data-boundary strong { color: var(--data-clay); font: 600 1.1rem/1.4 var(--font-serif); }
.data-boundary p { color: var(--ink-mute); font-size: 13px; line-height: 1.75; }

@media (max-width: 960px) {
  .data-hero { grid-template-columns: 1fr; min-height: 0; }
  .data-hero-art { order: -1; }
  .data-hero-art img { max-height: 460px; }
  .knowledge-pipeline { grid-template-columns: repeat(4, 1fr); }
  .denoise-grid { grid-template-columns: repeat(2, 1fr); }
  .storage-layout { grid-template-columns: 1fr; }
  .storage-layout figure { position: static; }
  .starter-section { grid-template-columns: 1fr; }
  .starter-copy { grid-row: auto; margin-bottom: 28px; }
  .starter-action { grid-column: auto; }
}

@media (max-width: 680px) {
  .data-kb-shell { padding-bottom: 46px; }
  .data-hero { gap: 20px; padding: 22px 0 36px; }
  .data-hero-copy h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .data-thesis { grid-template-columns: 1fr; gap: 4px; }
  .data-section { padding: 46px 0; }
  .data-section-head { grid-template-columns: 1fr; gap: 10px; }
  .knowledge-pipeline { grid-template-columns: repeat(2, 1fr); }
  .knowledge-pipeline li { min-height: 150px; }
  .knowledge-pipeline strong { margin-top: 28px; }
  .knowledge-object { grid-template-columns: 1fr; }
  .object-core { min-height: 220px; }
  .knowledge-object dl { grid-template-columns: 1fr; }
  .knowledge-object dl div { min-height: 84px; border-left: 0; }
  .denoise-grid, .research-cards, .quality-grid { grid-template-columns: 1fr; }
  .denoise-grid article { min-height: 0; }
  .starter-action { align-items: stretch; flex-direction: column; }
  .starter-action .btn { width: 100%; }
  .data-boundary { grid-template-columns: 1fr; gap: 8px; }
}

/* ========== Cognitive science × management × AI ========== */
.cognitive-ai-page {
  --cognition-blue: #5f788a;
  --cognition-rose: #a47370;
  --cognition-gold: #9a815a;
}
.cognition-shell { padding-bottom: 56px; }
.cognition-hero {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(440px,1.12fr);
  align-items: center;
  gap: 56px;
  min-height: 700px;
  padding: 48px 0 60px;
  border-bottom: 1px solid var(--line);
}
.cognition-hero h1 {
  max-width: 10em;
  margin: 13px 0 22px;
  font: 500 clamp(3rem,5.35vw,5rem)/1.08 var(--font-serif);
  letter-spacing: -.055em;
}
.cognition-hero .lead { max-width: 35em; color: var(--ink-mute); font-size: 1.03rem; line-height: 1.9; }
.cognition-thesis { margin: 27px 0; padding: 17px 19px; border-left: 3px solid var(--sage); background: var(--sage-wash); }
.cognition-thesis strong, .cognition-thesis span { display: block; }
.cognition-thesis strong { margin-bottom: 6px; color: var(--sage-deep); font-size: 13px; }
.cognition-thesis span { color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.cognition-hero-art { margin: 0; }
.cognition-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  border-radius: 38px 52px 42px 58px;
  filter: saturate(.82) contrast(.98);
}
.cognition-hero-art figcaption { margin-top: 10px; color: var(--ink-faint); font-size: 12px; }
.myth-guard { display: grid; grid-template-columns: 180px 1fr; gap: 22px; margin: 24px 0 0; padding: 21px 24px; border: 1px solid var(--line); background: rgba(164,115,112,.055); }
.myth-guard strong { color: var(--cognition-rose); font: 600 1.05rem/1.5 var(--font-serif); }
.myth-guard p { color: var(--ink-mute); font-size: 13px; line-height: 1.75; }

.cognition-section { padding: 68px 0; border-bottom: 1px solid var(--line); }
.cognition-section-head { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); align-items: end; gap: 30px; margin-bottom: 31px; }
.cognition-section-head h2 { margin-top: 7px; font: 500 clamp(2rem,4vw,3.4rem)/1.16 var(--font-serif); letter-spacing: -.037em; }
.cognition-section-head > p { color: var(--ink-mute); font-size: 13px; line-height: 1.8; }

.collision-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.collision-grid article { min-height: 295px; padding: 25px 24px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.collision-grid article:nth-child(2n) { background: var(--paper-deep); }
.collision-grid span, .collision-grid small { color: var(--cognition-blue); font-size: 11px; font-weight: 750; }
.collision-grid h3 { margin: 42px 0 11px; font: 600 1.28rem/1.35 var(--font-serif); }
.collision-grid p { color: var(--ink-mute); font-size: 13px; line-height: 1.75; }
.collision-grid small { display: block; margin-top: 22px; color: var(--sage-deep); line-height: 1.6; }

.cognition-loop { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); list-style: none; }
.cognition-loop li { min-height: 250px; padding: 19px 14px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.cognition-loop li:nth-child(3n+1) { background: rgba(95,120,138,.06); }
.cognition-loop li:nth-child(3n+2) { background: rgba(99,125,104,.06); }
.cognition-loop li:nth-child(3n) { background: rgba(164,115,112,.05); }
.cognition-loop span { color: var(--cognition-blue); font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.cognition-loop strong { display: block; margin: 40px 0 10px; font: 600 1.06rem/1.35 var(--font-serif); }
.cognition-loop p { color: var(--ink-mute); font-size: 12px; line-height: 1.68; }
.cognition-loop small { display: block; margin-top: 19px; color: var(--sage-deep); font-size: 10px; font-weight: 700; }

.decision-matrix { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.decision-matrix article { min-height: 285px; padding: 23px 21px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.decision-matrix .rights-auto { border-top: 4px solid var(--sage); }
.decision-matrix .rights-review { border-top: 4px solid var(--cognition-blue); }
.decision-matrix .rights-human { border-top: 4px solid var(--cognition-gold); }
.decision-matrix .rights-stop { border-top: 4px solid var(--cognition-rose); }
.decision-matrix span { color: var(--ink-faint); font-size: 11px; font-weight: 750; }
.decision-matrix h3 { margin: 40px 0 11px; font: 600 1.15rem/1.4 var(--font-serif); }
.decision-matrix p { color: var(--ink-mute); font-size: 13px; line-height: 1.7; }
.decision-matrix strong { display: block; margin-top: 24px; color: var(--sage-deep); font-size: 11px; }

.memory-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; }
.memory-stack { border-top: 1px solid var(--line-strong); }
.memory-stack article { display: grid; grid-template-columns: 180px .75fr 1.25fr; gap: 20px; align-items: start; padding: 23px 4px; border-bottom: 1px solid var(--line); }
.memory-stack span { color: var(--cognition-blue); font-size: 11px; font-weight: 750; }
.memory-stack h3 { font: 600 1.08rem/1.45 var(--font-serif); }
.memory-stack p { color: var(--ink-mute); font-size: 12px; line-height: 1.72; }
.memory-rule { padding: 31px 28px; background: var(--sage-wash); }
.memory-rule h3 { margin: 10px 0 27px; font: 500 1.75rem/1.25 var(--font-serif); }
.memory-rule ul { margin: 0; padding: 0; list-style: none; }
.memory-rule li { padding: 15px 0; border-top: 1px solid rgba(99,125,104,.2); }
.memory-rule li strong, .memory-rule li span { display: block; }
.memory-rule li strong { color: var(--sage-deep); font-size: 12px; }
.memory-rule li span { margin-top: 4px; color: var(--ink-mute); font-size: 12px; line-height: 1.6; }
.memory-rule > a { display: inline-flex; margin-top: 24px; color: var(--sage-deep); font-size: 11px; font-weight: 750; }

.agent-org { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.agent-org article { min-height: 235px; padding: 23px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.agent-org .principal { grid-column: 1 / -1; display: grid; grid-template-columns: 120px .5fr 1.5fr; align-items: center; min-height: 145px; background: var(--sage-wash); }
.agent-org span { color: var(--cognition-rose); font-size: 11px; font-weight: 750; }
.agent-org h3 { margin: 37px 0 10px; font: 600 1.2rem/1.35 var(--font-serif); }
.agent-org .principal h3 { margin: 0; font-size: 1.45rem; }
.agent-org p { color: var(--ink-mute); font-size: 12px; line-height: 1.72; }

.research-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.research-grid a { min-height: 310px; padding: 22px 20px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); color: inherit; }
.research-grid a:nth-child(2n) { background: var(--paper-deep); }
.research-grid span { color: var(--cognition-blue); font-size: 10px; font-weight: 750; }
.research-grid h3 { margin: 35px 0 10px; font: 600 1.14rem/1.4 var(--font-serif); }
.research-grid p { color: var(--ink-mute); font-size: 12px; line-height: 1.72; }
.research-grid small { display: block; margin-top: 20px; color: var(--cognition-rose); font-size: 10px; line-height: 1.6; }
.thinker-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.thinker-grid article { min-height: 235px; padding: 23px 24px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.thinker-grid span { color: var(--cognition-blue); font-size: 11px; font-weight: 750; }
.thinker-grid h3 { margin: 34px 0 10px; font: 600 1.16rem/1.4 var(--font-serif); }
.thinker-grid p { color: var(--ink-mute); font-size: 12px; line-height: 1.75; }

.resource-columns { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.resource-columns > div > h3 { margin-bottom: 17px; font: 600 1.2rem/1.4 var(--font-serif); }
.book-route { margin: 0; padding: 0; border-top: 1px solid var(--line-strong); list-style: none; }
.book-route li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.book-route > li > span { color: var(--cognition-blue); font-size: 10px; font-weight: 750; }
.book-route a { color: var(--ink); }
.book-route strong { font: 600 1rem/1.4 var(--font-serif); }
.book-route p { margin-top: 5px; color: var(--ink-mute); font-size: 11px; line-height: 1.65; }
.cognition-tools { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.cognition-tools article { min-height: 270px; padding: 21px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.cognition-tools span { color: var(--cognition-rose); font-size: 10px; font-weight: 750; }
.cognition-tools h3 { margin: 34px 0 10px; font: 600 1.2rem/1.35 var(--font-serif); }
.cognition-tools h3 a { color: var(--ink); }
.cognition-tools p { color: var(--ink-mute); font-size: 12px; line-height: 1.7; }
.cognition-tools small { display: block; margin-top: 18px; color: var(--sage-deep); font-size: 9px; line-height: 1.6; }
.cognition-start { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.cognition-start h2 { max-width: 17em; margin: 9px 0 14px; font: 500 clamp(2.2rem,4vw,3.55rem)/1.15 var(--font-serif); letter-spacing: -.04em; }
.cognition-start p:last-child { max-width: 55em; color: var(--ink-mute); font-size: 13px; line-height: 1.75; }

@media (max-width: 980px) {
  .cognition-hero { grid-template-columns: 1fr; min-height: 0; }
  .cognition-hero-art { order: -1; }
  .collision-grid, .agent-org, .thinker-grid { grid-template-columns: repeat(2,1fr); }
  .cognition-loop { grid-template-columns: repeat(4,1fr); }
  .decision-matrix, .research-grid { grid-template-columns: repeat(2,1fr); }
  .memory-layout, .resource-columns { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .cognition-shell { padding-bottom: 42px; }
  .cognition-hero { gap: 20px; padding: 22px 0 38px; }
  .cognition-hero h1 { font-size: clamp(2.25rem,10vw,3.05rem); line-height: 1.17; }
  .myth-guard, .cognition-section-head, .memory-stack article, .agent-org .principal, .cognition-start { grid-template-columns: 1fr; }
  .cognition-section { padding: 48px 0; }
  .cognition-section-head { gap: 10px; }
  .collision-grid, .decision-matrix, .agent-org, .research-grid, .thinker-grid, .cognition-tools { grid-template-columns: 1fr; }
  .cognition-loop { grid-template-columns: repeat(2,1fr); }
  .cognition-loop li { min-height: 215px; }
  .collision-grid article, .decision-matrix article, .research-grid a { min-height: 0; }
  .agent-org .principal { grid-column: auto; min-height: 0; }
  .agent-org .principal h3 { margin-top: 30px; }
  .memory-stack article { gap: 7px; }
  .cognition-start .btn { width: 100%; }
}

/* ========== AI innovation & entrepreneurship ========== */
.innovation-page {
  --venture-rose: #a66f70;
  --venture-blue: #607b90;
  --venture-gold: #a88350;
}
.venture-shell { max-width: 1180px; padding-bottom: 72px; }
.venture-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  min-height: 680px;
  padding: 46px 0 56px;
  border-bottom: 1px solid var(--line);
}
.venture-hero h1 {
  max-width: 10em;
  margin: 12px 0 22px;
  font: 500 clamp(3rem, 5.6vw, 5.1rem)/1.06 var(--font-serif);
  letter-spacing: -.055em;
}
.venture-hero .lead { max-width: 34em; color: var(--ink-mute); font-size: 1.06rem; line-height: 1.9; }
.venture-thesis { margin: 27px 0; padding: 16px 19px; border-left: 3px solid var(--sage); background: var(--sage-wash); }
.venture-thesis strong, .venture-thesis span { display: block; }
.venture-thesis strong { margin-bottom: 5px; color: var(--sage-deep); font-size: 12px; }
.venture-thesis span { color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.venture-hero-art { margin: 0; }
.venture-hero-art img, .venture-loop-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(.84) contrast(.97);
}
.venture-hero-art img { border-radius: 34px 54px 40px 50px; }
.venture-hero-art figcaption { margin-top: 10px; color: var(--ink-faint); font-size: 12px; }

.venture-section { padding: 66px 0; border-bottom: 1px solid var(--line); }
.venture-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}
.venture-section-head h2 { margin-top: 7px; font: 500 clamp(2rem, 4vw, 3.35rem)/1.16 var(--font-serif); letter-spacing: -.035em; }
.venture-section-head > p { color: var(--ink-mute); line-height: 1.75; }
.venture-loop-art { max-width: 900px; margin: 0 auto 34px; }
.venture-loop-art img { border: 1px solid var(--line); border-radius: 28px; }
.venture-loop {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  list-style: none;
}
.venture-loop li { min-height: 245px; padding: 18px 14px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.venture-loop li:nth-child(3n+1) { background: rgba(99,125,104,.055); }
.venture-loop li:nth-child(3n+2) { background: rgba(96,123,144,.055); }
.venture-loop li:nth-child(3n) { background: rgba(166,111,112,.05); }
.venture-loop span { color: var(--sage-deep); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.venture-loop strong { display: block; margin: 38px 0 9px; font: 600 1.02rem/1.35 var(--font-serif); }
.venture-loop p { color: var(--ink-mute); font-size: 11px; line-height: 1.65; }
.venture-loop small { display: block; margin-top: 14px; color: var(--venture-blue); font-size: 9px; line-height: 1.55; }

.venture-capabilities { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.venture-capabilities article { min-height: 390px; padding: 24px 20px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.venture-capabilities article:nth-child(2), .venture-capabilities article:nth-child(4) { background: var(--paper-deep); }
.venture-capabilities span { color: var(--venture-blue); font-size: 10px; font-weight: 750; }
.venture-capabilities h3 { margin: 30px 0 11px; font: 500 1.55rem/1.25 var(--font-serif); }
.venture-capabilities > article > strong { display: block; margin-bottom: 12px; color: var(--sage-deep); font-size: 13px; }
.venture-capabilities p { color: var(--ink-mute); font-size: 12px; line-height: 1.7; }
.venture-capabilities ul { margin: 22px 0 0; padding-left: 1.15em; color: var(--ink-soft); font-size: 11px; line-height: 1.8; }

.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.principle-grid article { min-height: 280px; padding: 24px 25px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.principle-grid article:nth-child(2n) { background: rgba(99,125,104,.045); }
.principle-grid span { color: var(--venture-rose); font-size: 10px; font-weight: 750; }
.principle-grid h3 { margin: 35px 0 10px; font: 600 1.2rem/1.35 var(--font-serif); }
.principle-grid p { color: var(--ink-mute); font-size: 12px; line-height: 1.75; }
.principle-grid a { display: inline-flex; margin-top: 18px; color: var(--sage-deep); font-size: 11px; font-weight: 700; }

.evidence-layout { display: grid; grid-template-columns: 1.05fr .95fr .95fr; border: 1px solid var(--line-strong); }
.evidence-layout article { min-height: 300px; padding: 27px 25px; border-right: 1px solid var(--line-strong); }
.evidence-layout article:last-child { border-right: 0; background: var(--sage-wash); }
.evidence-layout .evidence-highlight { background: rgba(96,123,144,.07); }
.evidence-highlight > strong { display: block; margin-bottom: 26px; color: var(--venture-blue); font: 500 4.3rem/1 var(--font-serif); }
.evidence-layout span { display: block; margin-bottom: 48px; color: var(--venture-blue); font-size: 10px; font-weight: 750; }
.evidence-layout h3 { margin-bottom: 10px; font: 600 1.18rem/1.4 var(--font-serif); }
.evidence-layout p { color: var(--ink-mute); font-size: 12px; line-height: 1.75; }
.evidence-layout a { display: inline-flex; margin-top: 16px; color: var(--sage-deep); font-size: 11px; font-weight: 700; }

.venture-ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.venture-ladder article { min-height: 250px; padding: 22px 20px; border-top: 3px solid var(--sage); background: var(--paper-deep); }
.venture-ladder article:nth-child(2) { border-color: var(--venture-blue); }
.venture-ladder article:nth-child(3) { border-color: var(--venture-rose); }
.venture-ladder article:nth-child(4) { border-color: var(--venture-gold); }
.venture-ladder span { color: var(--ink-faint); font-size: 10px; font-weight: 750; }
.venture-ladder h3 { margin: 34px 0 11px; font: 600 1.18rem/1.35 var(--font-serif); }
.venture-ladder p { color: var(--ink-mute); font-size: 12px; line-height: 1.7; }
.venture-ladder small { display: block; margin-top: 20px; color: var(--sage-deep); font-size: 10px; line-height: 1.6; }

.metric-cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.metric-cards article { min-height: 160px; padding: 22px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.metric-cards strong { font: 600 1.08rem/1.3 var(--font-serif); }
.metric-cards p { margin-top: 30px; color: var(--ink-mute); font-size: 12px; line-height: 1.7; }

.moat-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.moat-grid article { min-height: 210px; padding: 20px 17px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.moat-grid span { color: var(--venture-gold); font-size: 10px; font-weight: 750; }
.moat-grid h3 { margin: 38px 0 9px; font: 600 1.05rem/1.35 var(--font-serif); }
.moat-grid p { color: var(--ink-mute); font-size: 11px; line-height: 1.65; }

.venture-tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.venture-tool-grid article { min-height: 280px; padding: 22px 20px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.venture-tool-grid span { color: var(--venture-blue); font-size: 10px; font-weight: 750; }
.venture-tool-grid h3 { margin: 36px 0 10px; font: 600 1.3rem/1.3 var(--font-serif); }
.venture-tool-grid h3 a { color: var(--ink); }
.venture-tool-grid p { color: var(--ink-mute); font-size: 12px; line-height: 1.7; }
.venture-tool-grid small { display: block; margin-top: 20px; color: var(--venture-rose); font-size: 9px; line-height: 1.6; }

.reading-route { margin: 0; padding: 0; border-top: 1px solid var(--line-strong); list-style: none; }
.reading-route li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.reading-route > li > span { color: var(--venture-blue); font-size: 10px; font-weight: 750; }
.reading-route strong { font: 600 1.08rem/1.4 var(--font-serif); }
.reading-route p { margin-top: 4px; color: var(--ink-mute); font-size: 12px; line-height: 1.65; }

.venture-start { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.venture-start h2 { max-width: 18em; margin: 9px 0 14px; font: 500 clamp(2.2rem, 4vw, 3.55rem)/1.15 var(--font-serif); letter-spacing: -.04em; }
.venture-start p:last-child { max-width: 50em; color: var(--ink-mute); line-height: 1.75; }

@media (max-width: 980px) {
  .venture-hero { grid-template-columns: 1fr; min-height: 0; }
  .venture-hero-art { order: -1; }
  .venture-hero-art img { max-height: 480px; }
  .venture-loop { grid-template-columns: repeat(4, 1fr); }
  .venture-capabilities, .venture-ladder, .venture-tool-grid { grid-template-columns: repeat(2, 1fr); }
  .moat-grid { grid-template-columns: repeat(3, 1fr); }
  .evidence-layout { grid-template-columns: 1fr 1fr; }
  .evidence-layout article:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line-strong); }
}

@media (max-width: 680px) {
  .venture-shell { padding-bottom: 46px; }
  .venture-hero { gap: 20px; padding: 22px 0 36px; }
  .venture-hero h1 { font-size: clamp(2.25rem, 10vw, 3rem); line-height: 1.18; }
  .venture-section { padding: 46px 0; }
  .venture-section-head { grid-template-columns: 1fr; gap: 10px; }
  .venture-loop { grid-template-columns: repeat(2, 1fr); }
  .venture-loop li { min-height: 210px; }
  .venture-capabilities, .principle-grid, .evidence-layout, .venture-ladder, .metric-cards, .moat-grid, .venture-tool-grid { grid-template-columns: 1fr; }
  .venture-capabilities article, .venture-tool-grid article { min-height: 0; }
  .evidence-layout article, .evidence-layout article:last-child { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .reading-route li { grid-template-columns: 44px 1fr; }
  .venture-start { grid-template-columns: 1fr; align-items: stretch; }
  .venture-start .btn { width: 100%; }
}

/* ========== Industry discovery & AI solution method ========== */
.industry-discovery-page {
  --industry-blue: #617c8e;
  --industry-rose: #a57572;
  --industry-gold: #a48759;
}
.industry-discovery-hero { grid-template-columns: minmax(0,.92fr) minmax(430px,1.08fr); }
.industry-discovery-hero h1 { max-width: 10em; }
.industry-thesis { margin: 26px 0; padding: 16px 19px; border-left: 3px solid var(--sage); background: var(--sage-wash); }
.industry-thesis strong, .industry-thesis span { display: block; }
.industry-thesis strong { margin-bottom: 5px; color: var(--sage-deep); font-size: 11px; }
.industry-thesis span { color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.industry-discovery-art { margin: 0; }
.industry-discovery-art img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: contain; border-radius: 34px 48px 38px 54px; filter: saturate(.82) contrast(.98); }
.industry-discovery-art figcaption { margin-top: 9px; color: var(--ink-faint); font-size: 11px; }

.industry-section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: 28px; }
.industry-section-head > div > p { margin-top: 8px; color: var(--ink-mute); line-height: 1.75; }
.industry-section-head > strong { color: var(--industry-blue); font: 500 1.45rem/1.25 var(--font-serif); text-align: right; }
.industry-scout { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); list-style: none; counter-reset: none; }
.industry-scout > li { display: grid; grid-template-columns: 36px 1fr; min-height: 330px; padding: 24px 20px 22px 14px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.industry-scout > li:nth-child(2n) { background: var(--paper-deep); }
.industry-scout > li > span { color: var(--industry-blue); font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.industry-scout small { color: var(--sage-deep); font-size: 10px; font-weight: 750; }
.industry-scout h3 { margin: 27px 0 10px; font: 600 1.25rem/1.35 var(--font-serif); }
.industry-scout p { margin-bottom: 18px; color: var(--ink-mute); font-size: 12px; line-height: 1.75; }
.industry-scout b { display: block; margin-top: 7px; color: var(--ink-soft); font-size: 10px; line-height: 1.55; }
.source-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.source-strip a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--industry-blue); font-size: 10px; font-weight: 700; }

.industry-canvas { display: grid; grid-template-columns: .82fr 1.18fr; border: 1px solid var(--line-strong); }
.canvas-core { display: flex; flex-direction: column; justify-content: center; min-height: 330px; padding: 34px; background: var(--sage-wash); }
.canvas-core small { color: var(--sage-deep); font-size: 10px; font-weight: 750; }
.canvas-core strong { margin: 18px 0; font: 500 2rem/1.25 var(--font-serif); }
.canvas-core p { color: var(--ink-mute); font-size: 12px; line-height: 1.75; }
.industry-canvas dl { display: grid; grid-template-columns: repeat(2,1fr); margin: 0; }
.industry-canvas dl div { min-height: 150px; padding: 24px 22px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.industry-canvas dl div:nth-last-child(-n+2) { border-bottom: 0; }
.industry-canvas dt { margin-bottom: 30px; color: var(--industry-rose); font-size: 10px; font-weight: 750; }
.industry-canvas dd { margin: 0; color: var(--ink-soft); font: 500 1rem/1.5 var(--font-serif); }

.ai-role-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.ai-role-grid article { min-height: 280px; padding: 23px 20px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.ai-role-grid article:nth-child(2n) { background: var(--paper-deep); }
.ai-role-grid span { color: var(--industry-blue); font-size: 10px; font-weight: 750; }
.ai-role-grid h3 { margin: 42px 0 10px; font: 500 1.65rem/1.2 var(--font-serif); }
.ai-role-grid p { color: var(--ink-mute); font-size: 12px; line-height: 1.7; }
.ai-role-grid small { display: block; margin-top: 25px; color: var(--sage-deep); font-size: 10px; line-height: 1.6; }
.solution-formula { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; margin-top: 18px; padding: 26px; border-left: 3px solid var(--industry-gold); background: rgba(164,135,89,.08); }
.solution-formula small, .solution-formula strong { display: block; }
.solution-formula small { margin-bottom: 10px; color: var(--industry-gold); font-size: 10px; font-weight: 750; }
.solution-formula strong { font: 500 1.28rem/1.55 var(--font-serif); }
.solution-formula p { color: var(--ink-mute); font-size: 12px; line-height: 1.75; }

.auto-example-cuts { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.auto-example-cuts article { min-height: 230px; padding: 24px 25px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.auto-example-cuts span { color: var(--industry-rose); font-size: 10px; font-weight: 750; }
.auto-example-cuts h3 { margin: 30px 0 10px; font: 600 1.2rem/1.35 var(--font-serif); }
.auto-example-cuts p { color: var(--ink-mute); font-size: 12px; line-height: 1.75; }
.auto-example-cuts small { display: block; margin-top: 18px; color: var(--sage-deep); font-size: 10px; line-height: 1.6; }
.auto-boundary { display: grid; grid-template-columns: 220px 1fr; gap: 26px; margin-top: 20px; padding: 25px; background: var(--sage-wash); }
.auto-boundary strong { font: 600 1.18rem/1.45 var(--font-serif); }
.auto-boundary p { color: var(--ink-mute); font-size: 12px; line-height: 1.75; }
.auto-boundary a { grid-column: 2; color: var(--sage-deep); font-size: 10px; font-weight: 750; }

.industry-principles { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.industry-principles article { min-height: 290px; padding: 22px 18px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.industry-principles article:nth-child(2n) { background: var(--paper-deep); }
.industry-principles span { color: var(--industry-blue); font-size: 10px; font-weight: 750; }
.industry-principles h3 { margin: 38px 0 12px; font: 600 1.1rem/1.4 var(--font-serif); }
.industry-principles p { color: var(--ink-mute); font-size: 11px; line-height: 1.75; }

.industry-resource-columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; }
.industry-resource-columns > div > h3, .resource-subhead { margin-bottom: 16px; font: 600 1.18rem/1.4 var(--font-serif); }
.research-ledger { border-top: 1px solid var(--line-strong); }
.research-ledger a { display: block; padding: 20px 4px; border-bottom: 1px solid var(--line); color: inherit; }
.research-ledger span { display: block; margin-bottom: 8px; color: var(--industry-blue); font-size: 10px; font-weight: 750; }
.research-ledger strong { font: 600 1.05rem/1.4 var(--font-serif); }
.research-ledger p { margin-top: 7px; color: var(--ink-mute); font-size: 11px; line-height: 1.7; }
.resource-subhead { margin-top: 50px; }
.industry-tools { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.industry-tools article { min-height: 265px; padding: 22px 20px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.industry-tools span { color: var(--industry-rose); font-size: 10px; font-weight: 750; }
.industry-tools h3 { margin: 36px 0 10px; font: 600 1.25rem/1.3 var(--font-serif); }
.industry-tools h3 a { color: var(--ink); }
.industry-tools p { color: var(--ink-mute); font-size: 12px; line-height: 1.7; }
.industry-tools small { display: block; margin-top: 21px; color: var(--sage-deep); font-size: 9px; line-height: 1.6; }
.industry-start { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 36px; }
.industry-start h2 { max-width: 16em; }
.industry-start p { max-width: 55em; margin-top: 10px; color: var(--ink-mute); line-height: 1.75; }

@media (max-width: 980px) {
  .industry-discovery-hero { grid-template-columns: 1fr; }
  .industry-discovery-art { order: -1; }
  .industry-scout { grid-template-columns: repeat(2,1fr); }
  .ai-role-grid, .industry-tools { grid-template-columns: repeat(2,1fr); }
  .industry-principles { grid-template-columns: repeat(3,1fr); }
  .industry-resource-columns { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .industry-discovery-hero h1 { font-size: clamp(2.35rem,11vw,3.2rem); }
  .industry-section-head, .industry-canvas, .solution-formula, .auto-boundary, .industry-start { grid-template-columns: 1fr; }
  .industry-section-head > strong { text-align: left; }
  .industry-scout, .ai-role-grid, .auto-example-cuts, .industry-principles, .industry-tools { grid-template-columns: 1fr; }
  .industry-scout > li { min-height: 0; }
  .industry-canvas dl { grid-template-columns: 1fr; }
  .industry-canvas dl div, .industry-canvas dl div:nth-last-child(-n+2) { min-height: 110px; border-left: 0; border-bottom: 1px solid var(--line); }
  .auto-boundary a { grid-column: auto; }
  .industry-start .btn { width: 100%; }
}

/* ========== Shared visual connection across the knowledge base ========== */
.global-visual-bridge {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr);
  gap: 36px;
  align-items: center;
  margin: 58px 0 24px;
  padding: 28px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(110deg,rgba(99,125,104,.055),rgba(255,255,255,.24));
}
.global-visual-bridge figure { margin: 0; }
.global-visual-bridge img { display: block; width: 100%; height: auto; max-height: 390px; object-fit: contain; border-radius: 28px 38px 30px 42px; filter: saturate(.84) contrast(.98); }
.global-visual-bridge h2 { margin: 8px 0 12px; font: 500 clamp(1.8rem,3.2vw,2.9rem)/1.18 var(--font-serif); letter-spacing: -.03em; }
.global-visual-bridge > div > p:not(.eyebrow) { color: var(--ink-mute); font-size: 13px; line-height: 1.75; }
.global-visual-bridge a { display: inline-flex; margin-top: 19px; color: var(--sage-deep); font-size: 11px; font-weight: 750; }

/* ========== Social cognition & relationship collaboration ========== */
.social-intelligence-page { --social-blue:#607b8c; --social-rose:#a47471; --social-gold:#9b8058; }
.social-shell { padding-bottom: 58px; }
.social-hero { display:grid; grid-template-columns:minmax(0,.88fr) minmax(440px,1.12fr); gap:54px; align-items:center; min-height:700px; padding:46px 0 60px; border-bottom:1px solid var(--line); }
.social-hero h1 { max-width:9.5em; margin:13px 0 22px; font:500 clamp(3rem,5.35vw,5rem)/1.07 var(--font-serif); letter-spacing:-.055em; }
.social-hero .lead { max-width:35em; color:var(--ink-mute); font-size:1.04rem; line-height:1.9; }
.social-thesis { margin:27px 0; padding:17px 19px; border-left:3px solid var(--sage); background:var(--sage-wash); }
.social-thesis strong,.social-thesis span { display:block; }
.social-thesis strong { margin-bottom:6px; color:var(--sage-deep); font-size:13px; line-height:1.65; }
.social-thesis span { color:var(--ink-soft); font-size:13px; line-height:1.75; }
.social-hero-art { margin:0; }
.social-hero-art img { display:block; width:100%; height:auto; max-height:650px; object-fit:contain; border-radius:38px 52px 42px 58px; filter:saturate(.82) contrast(.98); }
.social-hero-art figcaption,.audience-structure-art figcaption { margin-top:10px; color:var(--ink-faint); font-size:12px; line-height:1.6; }
.social-boundary-note { display:grid; grid-template-columns:190px 1fr; gap:22px; margin-top:24px; padding:21px 24px; border:1px solid var(--line); background:rgba(164,116,113,.055); }
.social-boundary-note strong { color:var(--social-rose); font:600 1.05rem/1.5 var(--font-serif); }
.social-boundary-note p { color:var(--ink-mute); font-size:13px; line-height:1.75; }
.social-section { padding:68px 0; border-bottom:1px solid var(--line); }
.social-section-head { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); gap:30px; align-items:end; margin-bottom:31px; }
.social-section-head h2 { margin-top:7px; font:500 clamp(2rem,4vw,3.4rem)/1.16 var(--font-serif); letter-spacing:-.037em; }
.social-section-head>p { color:var(--ink-mute); font-size:13px; line-height:1.8; }

.social-layers,.communication-canvas,.ai-social-loop { display:grid; grid-template-columns:repeat(5,1fr); margin:0; padding:0; border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); list-style:none; }
.social-layers li { min-height:330px; padding:22px 18px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.social-layers li:nth-child(2n),.communication-canvas article:nth-child(2n),.ai-social-loop li:nth-child(2n) { background:var(--paper-deep); }
.social-layers span,.communication-canvas span,.ai-social-loop span { color:var(--social-blue); font-size:10px; font-weight:750; }
.social-layers strong { display:block; margin-top:31px; color:var(--sage-deep); font-size:11px; }
.social-layers h3 { margin:9px 0 12px; font:600 1.16rem/1.4 var(--font-serif); }
.social-layers p,.communication-canvas p,.ai-social-loop p { color:var(--ink-mute); font-size:12px; line-height:1.72; }
.social-layers small { display:block; margin-top:22px; color:var(--social-rose); font-size:10px; line-height:1.6; }
.audience-structure-art { max-width:1040px; margin:0 auto 30px; }
.audience-structure-art img { display:block; width:100%; height:auto; max-height:650px; object-fit:contain; border:1px solid var(--line); border-radius:30px; filter:saturate(.83) contrast(.98); }
.communication-canvas article { min-height:220px; padding:21px 18px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.communication-canvas h3,.ai-social-loop h3 { margin:35px 0 10px; font:600 1.08rem/1.4 var(--font-serif); }

.argument-stack { display:grid; grid-template-columns:.78fr 1.22fr; border:1px solid var(--line-strong); }
.argument-core { display:flex; flex-direction:column; justify-content:center; min-height:360px; padding:35px; background:var(--sage-wash); }
.argument-core small { color:var(--sage-deep); font-size:11px; font-weight:750; }
.argument-core strong { margin:18px 0; font:500 2rem/1.25 var(--font-serif); }
.argument-core p { color:var(--ink-mute); font-size:12px; line-height:1.75; }
.argument-stack dl { display:grid; grid-template-columns:repeat(2,1fr); margin:0; }
.argument-stack dl div { min-height:120px; padding:22px; border-left:1px solid var(--line); border-bottom:1px solid var(--line); }
.argument-stack dt { margin-bottom:20px; color:var(--social-rose); font-size:10px; font-weight:750; }
.argument-stack dd { margin:0; color:var(--ink-soft); font-size:13px; line-height:1.65; }
.value-heuristic { display:grid; grid-template-columns:.72fr 1.28fr; gap:32px; margin-top:24px; padding:25px 28px; border-left:3px solid var(--social-gold); background:rgba(155,128,88,.075); }
.value-heuristic h3 { margin-top:7px; font:600 1.2rem/1.4 var(--font-serif); }
.value-heuristic>p { color:var(--ink-mute); font-size:13px; line-height:1.8; }
.value-heuristic>p strong { color:var(--ink); }

.listening-loop { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; }
.listening-loop article { min-height:250px; padding:22px 20px; border-top:3px solid var(--sage); background:var(--paper-deep); }
.listening-loop article:nth-child(2) { border-color:var(--social-blue); }
.listening-loop article:nth-child(3) { border-color:var(--social-gold); }
.listening-loop article:nth-child(4) { border-color:var(--social-rose); }
.listening-loop span { color:var(--ink-faint); font-size:10px; font-weight:750; }
.listening-loop h3 { margin:35px 0 11px; font:600 1.08rem/1.4 var(--font-serif); }
.listening-loop p { color:var(--ink-mute); font-size:12px; line-height:1.72; }
.relationship-grid,.social-research-grid,.social-thinker-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.relationship-grid article,.social-research-grid a,.social-thinker-grid article { min-height:300px; padding:23px 24px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.relationship-grid article:nth-child(2n),.social-research-grid a:nth-child(2n) { background:var(--paper-deep); }
.relationship-grid span,.social-research-grid span,.social-thinker-grid span { color:var(--social-blue); font-size:10px; font-weight:750; }
.relationship-grid h3,.social-research-grid h3,.social-thinker-grid h3 { margin:34px 0 10px; font:600 1.16rem/1.4 var(--font-serif); }
.relationship-grid ul { margin:0; padding-left:1.15em; color:var(--ink-mute); font-size:12px; line-height:1.85; }
.relationship-grid small,.social-research-grid small { display:block; margin-top:20px; color:var(--social-rose); font-size:10px; line-height:1.6; }
.social-research-grid a { color:inherit; }
.social-research-grid p,.social-thinker-grid p { color:var(--ink-mute); font-size:12px; line-height:1.72; }

.boundary-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.boundary-grid article { min-height:245px; padding:22px 20px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.boundary-grid span { color:var(--social-rose); font-size:10px; font-weight:750; }
.boundary-grid h3 { margin:36px 0 11px; font:600 1.14rem/1.4 var(--font-serif); }
.boundary-grid p { color:var(--ink-mute); font-size:12px; line-height:1.72; }
.ai-social-loop li { min-height:230px; padding:20px 17px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.ai-social-prompt { display:grid; grid-template-columns:180px 1fr auto; gap:25px; align-items:center; margin-top:22px; padding:24px; background:var(--sage-wash); }
.ai-social-prompt strong { font:600 1.15rem/1.4 var(--font-serif); }
.ai-social-prompt p { color:var(--ink-mute); font-size:12px; line-height:1.72; }
.ai-social-prompt a { color:var(--sage-deep); font-size:11px; font-weight:750; }

.social-resource-columns { display:grid; grid-template-columns:.8fr 1.2fr; gap:40px; }
.social-resource-columns>div>h3 { margin-bottom:17px; font:600 1.2rem/1.4 var(--font-serif); }
.social-book-route { margin:0; padding:0; border-top:1px solid var(--line-strong); list-style:none; }
.social-book-route li { display:grid; grid-template-columns:42px 1fr; gap:13px; padding:18px 0; border-bottom:1px solid var(--line); }
.social-book-route>li>span { color:var(--social-blue); font-size:10px; font-weight:750; }
.social-book-route a { color:var(--ink); }
.social-book-route strong { font:600 1rem/1.4 var(--font-serif); }
.social-book-route p { margin-top:5px; color:var(--ink-mute); font-size:11px; line-height:1.65; }
.social-tools { display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.social-tools article { min-height:285px; padding:22px 21px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.social-tools span { color:var(--social-rose); font-size:10px; font-weight:750; }
.social-tools h3 { margin:35px 0 10px; font:600 1.2rem/1.35 var(--font-serif); }
.social-tools h3 a { color:var(--ink); }
.social-tools p { color:var(--ink-mute); font-size:12px; line-height:1.7; }
.social-tools small { display:block; margin-top:19px; color:var(--sage-deep); font-size:9px; line-height:1.6; }
.social-start { display:grid; grid-template-columns:1fr auto; gap:40px; align-items:end; }
.social-start h2 { max-width:17em; margin:9px 0 14px; font:500 clamp(2.2rem,4vw,3.55rem)/1.15 var(--font-serif); letter-spacing:-.04em; }
.social-start p:last-child { max-width:55em; color:var(--ink-mute); font-size:13px; line-height:1.75; }

@media (max-width:980px) {
  .social-hero { grid-template-columns:1fr; min-height:0; }
  .social-hero-art { order:-1; }
  .social-layers,.communication-canvas,.listening-loop,.ai-social-loop { grid-template-columns:repeat(3,1fr); }
  .relationship-grid,.social-research-grid,.social-thinker-grid { grid-template-columns:repeat(2,1fr); }
  .boundary-grid { grid-template-columns:repeat(2,1fr); }
  .social-resource-columns,.global-visual-bridge { grid-template-columns:1fr; }
}
@media (max-width:680px) {
  .social-hero { gap:20px; padding:22px 0 38px; }
  .social-hero h1 { font-size:clamp(2.25rem,10vw,3.05rem); line-height:1.17; }
  .social-boundary-note,.social-section-head,.argument-stack,.value-heuristic,.ai-social-prompt,.social-start { grid-template-columns:1fr; }
  .social-section { padding:48px 0; }
  .social-section-head { gap:10px; }
  .social-layers,.communication-canvas,.listening-loop,.relationship-grid,.boundary-grid,.ai-social-loop,.social-research-grid,.social-thinker-grid,.social-tools { grid-template-columns:1fr; }
  .social-layers li,.communication-canvas article,.listening-loop article,.relationship-grid article,.boundary-grid article,.social-research-grid a { min-height:0; }
  .social-layers p,.communication-canvas p,.listening-loop p,.relationship-grid ul,.boundary-grid p,.ai-social-loop p,.social-research-grid p,.social-thinker-grid p,.social-tools p { font-size:13px; line-height:1.78; }
  .argument-stack dl { grid-template-columns:1fr; }
  .argument-stack dl div { border-left:0; }
  .social-start .btn { width:100%; }
  .global-visual-bridge { gap:20px; margin:40px 0 18px; padding:18px; }
}

/* ========== Productivity revolutions: history, capital and AI value ========== */
.productivity-page { --era-blue:#637d8d; --era-gold:#9e8356; --era-rust:#a26e5f; }
.productivity-hero {
  display:grid;
  grid-template-columns:minmax(330px,.78fr) minmax(0,1.22fr);
  gap:clamp(34px,5vw,76px);
  align-items:center;
  min-height:680px;
  padding:clamp(42px,7vw,92px) 0;
  border-bottom:1px solid var(--line);
}
.productivity-hero h1 {
  max-width:10em;
  margin:12px 0 24px;
  font:600 clamp(3rem,5.7vw,5.5rem)/1.08 var(--font-serif);
  letter-spacing:-.055em;
}
.productivity-hero .lead { max-width:42em; color:var(--ink-mute); font-size:15px; line-height:1.9; }
.productivity-hero-art { margin:0; }
.productivity-hero-art img {
  display:block;
  width:100%;
  height:auto;
  max-height:680px;
  object-fit:contain;
  border-radius:34px 56px 40px 62px;
  background:#f4eee2;
  filter:saturate(.82) contrast(.98);
}
.productivity-jump { display:flex; flex-wrap:wrap; gap:8px; margin-top:28px; }
.productivity-jump a {
  padding:9px 14px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  color:var(--ink-soft);
  font-size:11px;
}
.productivity-jump a:hover { border-color:var(--sage); background:var(--sage-wash); }
.productivity-principle {
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:42px;
  margin:34px 0 0;
  padding:30px 34px;
  border-left:4px solid var(--era-gold);
  background:linear-gradient(110deg,rgba(158,131,86,.09),rgba(99,125,141,.05));
}
.productivity-principle h2 { margin:7px 0 0; font:600 clamp(1.55rem,3vw,2.45rem)/1.25 var(--font-serif); }
.productivity-principle>p { color:var(--ink-mute); font-size:13px; line-height:1.85; }
.productivity-section { padding:clamp(64px,8vw,108px) 0; border-bottom:1px solid var(--line); }
.productivity-section-head {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);
  gap:42px;
  align-items:end;
  margin-bottom:34px;
}
.productivity-section-head h2 { margin:8px 0 0; font:600 clamp(2.15rem,4.2vw,4rem)/1.14 var(--font-serif); letter-spacing:-.045em; }
.productivity-section-head>p { color:var(--ink-mute); font-size:13px; line-height:1.8; }
.era-flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.era-card { min-width:0; min-height:500px; padding:25px 24px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.era-card:nth-child(even) { background:var(--paper-deep); }
.era-card-ai { background:linear-gradient(145deg,var(--sage-wash),rgba(99,125,141,.06)) !important; }
.era-index { color:var(--ink-faint); font-size:10px; font-weight:800; letter-spacing:.1em; }
.era-date { margin:32px 0 7px; color:var(--era-rust); font-size:11px; font-weight:750; }
.era-card h3 { margin:0 0 14px; font:600 1.5rem/1.3 var(--font-serif); }
.era-thesis { min-height:82px; color:var(--ink-mute); font-size:13px; line-height:1.72; }
.era-card dl { margin:24px 0 0; border-top:1px solid var(--line); }
.era-card dl div { display:grid; grid-template-columns:58px 1fr; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); }
.era-card dt { color:var(--era-blue); font-size:10px; font-weight:750; }
.era-card dd { min-width:0; margin:0; color:var(--ink-soft); font-size:11px; line-height:1.55; }
.capital-rule { display:grid; grid-template-columns:.72fr 1.28fr; gap:36px; align-items:stretch; }
.capital-rule-copy { padding:34px; background:var(--paper-deep); }
.capital-rule-copy h3 { font:600 1.55rem/1.35 var(--font-serif); }
.capital-rule-copy ol { margin:24px 0 0; padding-left:1.2em; color:var(--ink-mute); font-size:12px; line-height:1.9; }
.capital-matrix {
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  padding:0 0 28px 28px;
  border-left:1px solid var(--line-strong);
  border-bottom:1px solid var(--line-strong);
}
.matrix-cell { min-height:150px; padding:24px; border-top:1px solid var(--line-strong); border-right:1px solid var(--line-strong); }
.matrix-cell strong,.matrix-cell span { display:block; }
.matrix-cell strong { font:600 1.05rem/1.4 var(--font-serif); }
.matrix-cell span { margin-top:28px; color:var(--ink-mute); font-size:11px; }
.matrix-cell.high { background:var(--sage-wash); }
.matrix-cell.opportunity { background:rgba(99,125,141,.08); }
.matrix-cell.warning { background:rgba(162,110,95,.08); }
.matrix-axis { position:absolute; left:0; top:50%; color:var(--ink-faint); font-size:9px; transform:translate(-42%,-50%) rotate(-90deg); }
.matrix-axis.bottom { top:auto; right:0; bottom:0; left:auto; transform:none; }
.capital-layers { display:grid; grid-template-columns:repeat(3,1fr); margin-top:42px; border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.capital-layers article { min-height:260px; padding:23px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.capital-layers article:nth-child(even) { background:var(--paper-deep); }
.capital-layers span { color:var(--era-blue); font-size:10px; font-weight:800; }
.capital-layers h3 { margin:35px 0 11px; font:600 1.15rem/1.4 var(--font-serif); }
.capital-layers p { color:var(--ink-mute); font-size:12px; line-height:1.75; }
.capital-layers small { display:block; margin-top:22px; color:var(--era-rust); font-size:10px; }
.evidence-note { display:grid; grid-template-columns:180px 1fr; gap:28px; margin-top:28px; padding:26px 30px; border-top:2px solid var(--era-rust); background:rgba(162,110,95,.055); }
.evidence-note strong { font:600 1.05rem/1.4 var(--font-serif); }
.evidence-note p { color:var(--ink-mute); font-size:12px; line-height:1.8; }
.value-stair { display:grid; grid-template-columns:repeat(4,1fr); align-items:end; }
.value-stair article { min-height:240px; padding:22px; border:1px solid var(--line-strong); border-right:0; }
.value-stair article:last-child { border-right:1px solid var(--line-strong); }
.value-stair article:nth-child(2) { min-height:280px; background:var(--paper-deep); }
.value-stair article:nth-child(3) { min-height:320px; background:rgba(99,125,141,.07); }
.value-stair article:nth-child(4) { min-height:360px; background:var(--sage-wash); }
.value-stair span { color:var(--era-rust); font-size:10px; font-weight:750; }
.value-stair h3 { margin:32px 0 12px; font:600 1.15rem/1.4 var(--font-serif); }
.value-stair p { color:var(--ink-mute); font-size:12px; line-height:1.7; }
.value-stair strong { display:block; margin-top:32px; color:var(--era-blue); font-size:10px; }
.value-equation { display:grid; grid-template-columns:1fr 60px 1fr; gap:24px; align-items:center; margin-top:40px; padding:34px; border:1px solid var(--line-strong); }
.value-equation h3 { margin:7px 0 12px; font:600 1.6rem/1.35 var(--font-serif); }
.value-equation>div>p:last-child { color:var(--ink-mute); font-size:12px; line-height:1.75; }
.equation-minus { color:var(--era-rust); font:500 2.4rem var(--font-serif); text-align:center; }
.tob-tog { display:grid; grid-template-columns:repeat(2,1fr); margin-top:28px; border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.tob-tog article { min-height:330px; padding:30px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.tob-tog article:nth-child(2) { background:var(--paper-deep); }
.tob-tog h3 { margin:10px 0 25px; font:600 1.55rem/1.35 var(--font-serif); }
.tob-tog ul { margin:0; padding-left:1.2em; color:var(--ink-mute); font-size:13px; line-height:2; }
.project-gate { display:grid; grid-template-columns:.62fr 1.38fr; gap:46px; margin-top:42px; padding:38px; background:linear-gradient(120deg,var(--sage-wash),rgba(158,131,86,.06)); }
.project-gate h2 { margin:9px 0 0; font:600 clamp(1.8rem,3.5vw,3.1rem)/1.2 var(--font-serif); }
.project-gate ol { display:grid; grid-template-columns:repeat(2,1fr); gap:0 28px; margin:0; padding-left:1.25em; color:var(--ink-soft); font-size:12px; line-height:1.8; }
.project-gate li { padding:9px 0; border-bottom:1px solid var(--line); }
.source-columns { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.source-columns>div { padding:24px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.source-columns h3 { margin-bottom:20px; font:600 1.15rem/1.4 var(--font-serif); }
.source-columns a { display:block; padding:15px 0; border-top:1px solid var(--line); color:inherit; }
.source-columns a strong,.source-columns a span { display:block; }
.source-columns a strong { font-size:12px; }
.source-columns a span { margin-top:5px; color:var(--ink-mute); font-size:10px; line-height:1.55; }
.source-boundary { margin-top:24px; padding:20px 24px; border-left:3px solid var(--era-blue); color:var(--ink-mute); font-size:11px; line-height:1.75; background:rgba(99,125,141,.055); }
.productivity-actions { justify-content:flex-start; margin:40px 0 70px; }

@media (max-width:1050px) {
  .productivity-hero { grid-template-columns:1fr; min-height:0; }
  .productivity-hero-art { order:-1; }
  .era-flow,.capital-layers { grid-template-columns:repeat(2,1fr); }
  .value-stair { grid-template-columns:repeat(2,1fr); align-items:stretch; }
  .value-stair article,.value-stair article:nth-child(2),.value-stair article:nth-child(3),.value-stair article:nth-child(4) { min-height:270px; border-right:1px solid var(--line-strong); }
  .source-columns { grid-template-columns:1fr; }
}
@media (max-width:720px) {
  .productivity-hero { gap:22px; padding:26px 0 52px; }
  .productivity-hero h1 { font-size:clamp(2.55rem,11vw,3.55rem); }
  .productivity-hero .lead { font-size:14px; }
  .productivity-hero-art img { border-radius:22px 32px 25px 38px; }
  .productivity-principle,.productivity-section-head,.capital-rule,.evidence-note,.value-equation,.tob-tog,.project-gate { grid-template-columns:1fr; gap:20px; }
  .productivity-principle { padding:24px; }
  .era-flow,.capital-layers,.value-stair { grid-template-columns:1fr; }
  .era-card,.capital-layers article,.value-stair article,.value-stair article:nth-child(2),.value-stair article:nth-child(3),.value-stair article:nth-child(4) { min-height:0; }
  .era-thesis { min-height:0; }
  .capital-matrix { min-height:360px; padding-left:20px; }
  .matrix-cell { min-height:150px; padding:16px 13px; }
  .matrix-cell span { margin-top:18px; }
  .value-equation { padding:24px; }
  .equation-minus { transform:rotate(90deg); }
  .project-gate { padding:26px; }
  .project-gate ol { grid-template-columns:1fr; }
  .productivity-actions .btn { width:100%; }
}

/* ========== Structured expression & pyramid thinking ========== */
.structured-expression-page { --expression-blue:#627d92; --expression-rose:#a87672; --expression-gold:#a1875f; }
.expression-hero .social-hero-art img,
.expression-map-art img { background:#f7f1e6; }
.expression-boundary { background:linear-gradient(105deg,rgba(98,125,146,.07),rgba(168,118,114,.05)); }
.expression-boundary strong { color:var(--expression-blue); }

.expression-directions,.method-pair { display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.expression-directions article,.method-pair>article { min-height:330px; padding:28px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.expression-directions article:nth-child(2),.method-pair>article:nth-child(2) { background:var(--paper-deep); }
.expression-directions span,.method-pair>article>span { color:var(--expression-blue); font-size:10px; font-weight:750; letter-spacing:.08em; }
.expression-directions h3,.method-pair h3 { margin:36px 0 18px; font:600 1.38rem/1.35 var(--font-serif); }
.expression-directions ol { margin:0; padding-left:1.25em; color:var(--ink-mute); font-size:13px; line-height:1.95; }
.expression-directions small,.method-pair small { display:block; margin-top:26px; color:var(--expression-rose); font-size:10px; line-height:1.65; }

.pyramid-anatomy,.delivery-levels { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.pyramid-anatomy article,.delivery-levels article { min-height:230px; padding:22px 20px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.pyramid-anatomy article:nth-child(2n),.delivery-levels article:nth-child(2n) { background:var(--paper-deep); }
.pyramid-anatomy span,.delivery-levels span { color:var(--expression-blue); font-size:10px; font-weight:750; }
.pyramid-anatomy h3,.delivery-levels h3 { margin:35px 0 11px; font:600 1.12rem/1.4 var(--font-serif); }
.pyramid-anatomy p,.delivery-levels p { color:var(--ink-mute); font-size:12px; line-height:1.75; }

.argument-check-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.argument-check-grid article { min-height:235px; padding:22px 20px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.argument-check-grid article:first-child { grid-row:span 2; display:flex; flex-direction:column; justify-content:center; background:var(--sage-wash); }
.argument-check-grid article:nth-child(3),.argument-check-grid article:nth-child(5),.argument-check-grid article:nth-child(7) { background:var(--paper-deep); }
.argument-check-grid span { color:var(--expression-rose); font-size:10px; font-weight:750; }
.argument-check-grid h3 { margin:32px 0 10px; font:600 1.2rem/1.35 var(--font-serif); }
.argument-check-grid p { color:var(--ink-mute); font-size:12px; line-height:1.75; }

.method-pair dl { display:grid; grid-template-columns:repeat(2,1fr); margin:0; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.method-pair dl div { min-height:118px; padding:16px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.method-pair dt { margin-bottom:8px; color:var(--expression-rose); font-size:10px; font-weight:750; }
.method-pair dd { margin:0; color:var(--ink-mute); font-size:12px; line-height:1.65; }

.expression-practice-loop,.agent-expression-flow { display:grid; grid-template-columns:repeat(3,1fr); margin:0; padding:0; border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); list-style:none; }
.expression-practice-loop li,.agent-expression-flow article { min-height:250px; padding:23px 22px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.expression-practice-loop li:nth-child(2n),.agent-expression-flow article:nth-child(2n) { background:var(--paper-deep); }
.expression-practice-loop span,.agent-expression-flow span { color:var(--expression-blue); font-size:10px; font-weight:750; }
.expression-practice-loop h3,.agent-expression-flow h3 { margin:34px 0 11px; font:600 1.16rem/1.4 var(--font-serif); }
.expression-practice-loop p,.agent-expression-flow p { color:var(--ink-mute); font-size:12px; line-height:1.75; }

.social-resource-columns>div>a { display:block; padding:18px 4px; border-top:1px solid var(--line); color:inherit; }
.social-resource-columns>div>a:last-child { border-bottom:1px solid var(--line); }
.social-resource-columns>div>a strong,.social-resource-columns>div>a span { display:block; }
.social-resource-columns>div>a strong { font:600 1rem/1.4 var(--font-serif); }
.social-resource-columns>div>a span { margin-top:6px; color:var(--ink-mute); font-size:11px; line-height:1.65; }

.expression-skill-card { display:grid; grid-template-columns:.68fr 1.32fr; gap:36px; align-items:start; }
.expression-skill-card h2 { margin:8px 0 26px; font:500 clamp(2rem,3.8vw,3.25rem)/1.16 var(--font-serif); letter-spacing:-.035em; }
.expression-skill-card dl { display:grid; grid-template-columns:repeat(2,1fr); margin:0; border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.expression-skill-card dl div { min-height:118px; padding:18px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.expression-skill-card dt { margin-bottom:8px; color:var(--expression-blue); font-size:10px; font-weight:750; }
.expression-skill-card dd { margin:0; color:var(--ink-mute); font-size:12px; line-height:1.65; }
.expression-skill-card>.btn { grid-column:2; justify-self:start; }

/* Every knowledge page gets one compact visual reading lens. */
.global-structure-lens { display:grid; grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr); gap:34px; align-items:center; margin:24px 0 58px; padding:28px; border:1px solid var(--line); background:linear-gradient(120deg,rgba(98,125,146,.06),rgba(247,241,230,.72)); }
.global-structure-lens h2 { margin:8px 0 20px; font:500 clamp(1.65rem,3vw,2.6rem)/1.2 var(--font-serif); letter-spacing:-.03em; }
.global-structure-lens ol { margin:0; padding:0; list-style:none; }
.global-structure-lens li { display:grid; grid-template-columns:24px 1fr; gap:8px; padding:9px 0; border-top:1px solid var(--line); color:var(--ink-mute); font-size:12px; line-height:1.6; }
.global-structure-lens li span { color:var(--expression-blue,#627d92); font-weight:750; }
.global-structure-lens a { display:inline-flex; margin-top:17px; color:var(--sage-deep); font-size:11px; font-weight:750; }
.global-structure-lens figure { margin:0; }
.global-structure-lens img { display:block; width:100%; height:auto; max-height:430px; object-fit:contain; border-radius:26px 38px 30px 44px; filter:saturate(.83) contrast(.98); }

/* Cross-disciplinary 80/20 judgment unit */
.global-judgment-unit {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  margin: clamp(36px, 6vw, 76px) 0;
  padding: clamp(26px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.global-judgment-unit figure { margin: 0; }
.global-judgment-unit img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(.82) contrast(.98);
}
.global-judgment-copy { min-width: 0; }
.global-judgment-copy h2 {
  max-width: 16em;
  margin: 7px 0 22px;
  font: 600 clamp(1.75rem, 3.2vw, 3.1rem)/1.28 var(--font-serif);
  letter-spacing: -.04em;
}
.global-judgment-copy ol { margin: 22px 0; padding-left: 20px; color: var(--ink-soft); line-height: 1.95; }
.global-lens-list { border-top: 1px solid var(--line); }
.global-lens-list a {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.global-lens-list strong { font: 600 14px var(--font-serif); }
.global-lens-list span { color: var(--ink-soft); font-size: 12px; }
.global-unit-action { color: var(--sage); font-size: 12px; font-weight: 700; }

/* Knowledge illustrations must stay complete at every viewport. */
.hero-visual img,
.card-thumb img,
.figure-media img,
.figure.side .figure-media img,
.page-hero-art img,
.hero-v2-art img,
.learning-hero-art > img,
.auto-watercolor img {
  object-fit: contain;
  object-position: center;
  background: rgba(247, 245, 239, .45);
}

@media (max-width: 760px) {
  .global-judgment-unit { grid-template-columns: 1fr; gap: 22px; }
  .global-judgment-unit figure { order: 2; }
  .global-judgment-copy h2 { font-size: 2rem; }
  .global-lens-list a { grid-template-columns: 110px 1fr; }
}

@media (max-width:980px) {
  .pyramid-anatomy,.delivery-levels,.argument-check-grid { grid-template-columns:repeat(2,1fr); }
  .argument-check-grid article:first-child { grid-row:auto; }
  .expression-practice-loop,.agent-expression-flow { grid-template-columns:repeat(2,1fr); }
  .expression-skill-card,.global-structure-lens { grid-template-columns:1fr; }
  .expression-skill-card>.btn { grid-column:auto; }
}
@media (max-width:680px) {
  .expression-directions,.method-pair,.pyramid-anatomy,.delivery-levels,.argument-check-grid,.expression-practice-loop,.agent-expression-flow { grid-template-columns:1fr; }
  .expression-directions article,.method-pair>article,.pyramid-anatomy article,.delivery-levels article,.argument-check-grid article,.expression-practice-loop li,.agent-expression-flow article { min-height:0; }
  .method-pair dl,.expression-skill-card dl { grid-template-columns:1fr; }
  .global-structure-lens { gap:18px; margin:18px 0 40px; padding:18px; }
  .global-structure-lens figure { order:-1; }
  .global-structure-lens li,.expression-directions ol,.pyramid-anatomy p,.delivery-levels p,.argument-check-grid p,.method-pair dd,.expression-practice-loop p,.agent-expression-flow p,.expression-skill-card dd { font-size:13px; }
}
