:root {
  --paper: #faf9f6;
  --paper-2: #f1efe8;
  --surface: #ffffff;
  --ink: #1b1a17;
  --ink-soft: #58554f;
  --muted: #716e67;
  --line: rgba(27, 26, 23, 0.14);
  --line-strong: rgba(27, 26, 23, 0.3);
  --accent: #4338ca;
  --accent-hover: #3227a8;
  --accent-soft: #eceaff;
  --orange: #d96d37;
  --yellow: #e1b84f;
  --blue: #386e9e;
  --purple: #756293;
  --green: #4e7456;
  --shadow: 0 24px 80px rgba(42, 38, 28, 0.11);
  --sans: "Aptos", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(27, 27, 25, 0.035) 1px, transparent 1px) 0 0 / 96px 100%,
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 76% 6%, rgba(255, 255, 255, 0.82), transparent 30%);
  content: "";
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }

.shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 112px; }
.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;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--surface);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.reading-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 4px;
  left: 0;
  height: 3px;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 249, 246, 0.9);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand-symbol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  gap: 3px;
  width: 28px;
  height: 30px;
  padding: 5px;
  border: 1px solid var(--ink);
}
.brand-symbol i { display: block; height: 10px; background: var(--ink); }
.brand-symbol i:nth-child(2) { height: 19px; background: var(--accent); }
.brand-symbol i:nth-child(3) { height: 14px; background: var(--orange); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.site-nav a { position: relative; padding: 8px 0; color: var(--ink-soft); }
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.site-nav a.active { color: var(--ink); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 240px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 160ms ease, background 160ms ease;
}
.search-box:focus-within { border-bottom-color: var(--accent); background: rgba(255, 255, 255, 0.46); }
.search-box svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}
.search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}
.search-box input::placeholder { color: var(--muted); }
.search-box kbd {
  padding: 1px 5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  font-family: var(--mono);
  font-size: 10px;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  color: var(--surface);
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.header-cta svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  border: 1px solid var(--line-strong);
  background: transparent;
}
.menu-button span { display: block; height: 1px; margin: 6px 0; background: var(--ink); }
.mobile-nav {
  margin: 0 24px 18px;
  padding: 14px 20px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.mobile-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mobile-nav a:last-child { border-bottom: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding-block: 76px 92px;
}
.hero-copy { max-width: 570px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow i { display: inline-block; width: 34px; height: 1px; background: var(--line-strong); }
.hero h1 {
  max-width: 680px;
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(58px, 6.6vw, 96px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.hero h1 em { color: var(--accent); font-style: normal; }

html[lang="en"] .hero h1 {
  font-size: clamp(48px, 5.4vw, 80px);
  letter-spacing: -0.045em;
}
.hero-lead {
  max-width: 540px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 37px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.button-primary { color: var(--surface); background: var(--ink); transition: color 160ms ease, background 160ms ease; }
.button-primary:hover { color: var(--ink); background: transparent; }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 13px;
}
.text-link span { color: var(--accent); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 455px;
  margin-top: 58px;
  border-top: 1px solid var(--line-strong);
}
.hero-stats div { padding: 16px 14px 0 0; }
.hero-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats dt { font-family: var(--serif); font-size: 28px; line-height: 1; }
.hero-stats dd { margin-top: 7px; color: var(--muted); font-size: 11px; }

.hero-atlas {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: rgba(251, 249, 244, 0.66);
  box-shadow: var(--shadow);
}
.hero-atlas::before {
  position: absolute;
  z-index: -1;
  top: 18px;
  right: -18px;
  bottom: -18px;
  left: 18px;
  border: 1px solid var(--line);
  content: "";
}
.atlas-top {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.atlas-status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.atlas-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.atlas-canvas {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(rgba(27, 27, 25, 0.055) 1px, transparent 1px) 0 0 / 100% 86px,
    linear-gradient(90deg, rgba(27, 27, 25, 0.055) 1px, transparent 1px) 0 0 / 86px 100%;
}
.atlas-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.atlas-path { stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 4 5; }
.atlas-path-faint { stroke: var(--line); stroke-width: 1; }
.atlas-lines circle { fill: var(--paper); stroke: var(--accent); stroke-width: 1.5; }
.atlas-node {
  position: absolute;
  display: grid;
  width: 132px;
  min-height: 118px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.atlas-node:hover, .atlas-node:focus-visible {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 12px 30px rgba(67, 56, 202, 0.14);
  transform: translateY(-3px);
}
.atlas-node.is-active { border-color: var(--ink); box-shadow: 5px 5px 0 var(--accent-soft); }
.node-1 { top: 8.5%; left: 3%; }
.node-2 { top: 34%; left: 43%; }
.node-3 { top: 60%; right: 3%; }
.node-4 { top: 14%; right: 8%; }
.node-5 { top: 59%; left: 13%; }
.node-index { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.atlas-node strong {
  align-self: end;
  margin-top: 11px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}
.atlas-node small { color: var(--muted); font-size: 10px; }
.node-icon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; align-self: start; width: 100%; height: 24px; margin-top: 2px; }
.node-icon i { border-top: 2px solid var(--accent); opacity: 0.75; }
.process-icon { gap: 6px; align-items: center; }
.process-icon i { height: 8px; border: 1px solid var(--accent); background: var(--accent-soft); }
.color-icon { grid-template-columns: repeat(4, 1fr); }
.color-icon i { border: 0; background: var(--accent); }
.color-icon i:nth-child(2) { background: var(--blue); }
.color-icon i:nth-child(3) { background: var(--yellow); }
.color-icon i:nth-child(4) { background: var(--orange); }
.scatter-icon { position: relative; display: block; }
.scatter-icon i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}
.scatter-icon i:nth-child(1) { top: 16px; left: 5px; }
.scatter-icon i:nth-child(2) { top: 5px; left: 24px; }
.scatter-icon i:nth-child(3) { top: 18px; left: 39px; }
.scatter-icon i:nth-child(4) { top: 2px; left: 55px; }
.scatter-icon i:nth-child(5) { top: 13px; left: 72px; }
.time-icon { position: relative; display: block; height: 24px; }
.time-icon::before { position: absolute; top: 11px; right: 0; left: 0; height: 1px; background: var(--accent); content: ""; }
.time-icon i {
  position: absolute;
  top: 6px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
}
.time-icon i:nth-child(1) { left: 7px; }
.time-icon i:nth-child(2) { left: 42px; }
.time-icon i:nth-child(3) { left: 77px; }
.atlas-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr auto;
  gap: 22px;
  align-items: end;
  padding: 18px;
  border-top: 1px solid var(--line-strong);
  background: var(--surface);
}
.atlas-detail p:first-child {
  margin-bottom: 5px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.atlas-detail h2 { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.3; }
#atlasDescription { color: var(--muted); font-size: 11px; line-height: 1.65; }
#atlasLink { align-self: center; padding-bottom: 3px; border-bottom: 1px solid var(--line-strong); font-size: 11px; white-space: nowrap; }

.progress-strip { border-block: 1px solid var(--line-strong); background: var(--paper-2); }
.progress-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 220px;
  padding-block: 42px;
}
.progress-copy h2 {
  margin: 12px 0 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
}
.progress-copy > p:last-child { max-width: 590px; color: var(--ink-soft); font-size: 14px; }
.progress-summary { padding-left: 62px; border-left: 1px solid var(--line); }
.progress-number { display: flex; align-items: baseline; gap: 10px; }
.progress-number strong { font-family: var(--serif); font-size: 48px; font-weight: 500; line-height: 1; }
.progress-number span { color: var(--muted); font-size: 12px; }
.progress-track { height: 4px; margin-top: 18px; overflow: hidden; background: rgba(27, 27, 25, 0.12); }
.progress-track span { display: block; width: 0; height: 100%; background: var(--accent); transition: width 400ms ease; }
.progress-summary > p { margin-top: 12px; color: var(--muted); font-size: 11px; }

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 430px);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}
.section-heading h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.section-heading > p { color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.section-heading > p strong { color: var(--ink); font-weight: 500; }

.route-board { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr); gap: 28px; }
.route-visual {
  position: relative;
  min-height: 500px;
  padding: 48px 34px 28px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.route-axis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 44px 34px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.route-axis span:nth-child(2) { text-align: center; }
.route-axis span:last-child { text-align: right; }
.route-grid { position: relative; display: grid; gap: 14px; }
.route-grid::before {
  position: absolute;
  z-index: 0;
  top: 16px;
  bottom: 16px;
  left: 52%;
  width: 1px;
  background: var(--line-strong);
  content: "";
}
.route-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px 150px 1fr;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.route-row span { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.route-row b { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.row-1 { width: 72%; }
.row-2 { width: 84%; margin-left: 9%; }
.row-3 { width: 90%; margin-left: 4%; }
.row-4 { width: 82%; margin-left: 13%; }
.row-5 { width: 68%; margin-left: 25%; }
.route-row i { justify-self: end; display: block; width: 80px; height: 24px; }
.mark-table { border-left: 2px solid var(--accent); background: repeating-linear-gradient(to bottom, transparent 0 5px, rgba(23, 106, 115, 0.28) 5px 6px); }
.mark-flow { background: linear-gradient(90deg, var(--accent-soft) 0 28%, transparent 28% 36%, var(--accent-soft) 36% 64%, transparent 64% 72%, var(--accent-soft) 72%); }
.mark-color { background: linear-gradient(90deg, #316c79, #82b7a8, #e4c766, #e18b54, #b85a6f); }
.mark-scatter {
  background:
    radial-gradient(circle at 15% 70%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 38% 35%, var(--accent) 0 4px, transparent 5px),
    radial-gradient(circle at 63% 55%, var(--accent) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 25%, var(--accent) 0 5px, transparent 6px);
}
.mark-time {
  background:
    linear-gradient(transparent 10px, var(--accent) 10px 12px, transparent 12px),
    radial-gradient(circle at 10% 50%, var(--surface) 0 3px, var(--accent) 4px 6px, transparent 7px),
    radial-gradient(circle at 50% 50%, var(--surface) 0 3px, var(--accent) 4px 6px, transparent 7px),
    radial-gradient(circle at 88% 50%, var(--surface) 0 3px, var(--accent) 4px 6px, transparent 7px);
}
.route-legend { display: flex; gap: 22px; margin-top: 27px; color: var(--muted); font-size: 10px; }
.route-legend span { display: inline-flex; align-items: center; gap: 6px; }
.route-legend i { width: 14px; height: 3px; background: var(--accent-soft); }
.route-legend span:nth-child(2) i { background: var(--accent); }
.route-legend span:nth-child(3) i { background: var(--ink); }
.route-notes { display: grid; align-content: stretch; gap: 1px; border: 1px solid var(--line-strong); background: var(--line); }
.route-notes article { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 30px 26px; background: var(--surface); }
.route-notes article > span { color: var(--accent); font-family: var(--mono); font-size: 10px; }
.route-notes h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.route-notes p { color: var(--muted); font-size: 12px; line-height: 1.75; }

.chapters-section { border-block: 1px solid var(--line-strong); background: var(--paper-2); }
.chapter-tools { justify-self: end; width: 100%; max-width: 430px; }
.filter-row { display: flex; gap: 4px; }
.filter { padding: 7px 11px; border: 1px solid var(--line); background: transparent; font-size: 11px; cursor: pointer; }
.filter:hover { border-color: var(--line-strong); }
.filter.active { color: var(--surface); border-color: var(--ink); background: var(--ink); }
.result-count { margin-top: 10px; color: var(--muted); font-size: 10px; text-align: right; }
.chapter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.chapter-card {
  display: grid;
  grid-template-rows: auto 230px 1fr auto;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.chapter-card:hover { box-shadow: 0 18px 55px rgba(42, 38, 28, 0.09); transform: translateY(-2px); }
.chapter-card[hidden] { display: none; }
.chapter-card:last-child { grid-column: 1 / -1; grid-template-columns: 0.8fr 1.2fr; grid-template-rows: auto 1fr auto; }
.chapter-card:last-child .card-top { grid-column: 1 / -1; }
.chapter-card:last-child .card-visual {
  grid-row: 2 / 4;
  height: 100%;
  min-height: 320px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}
.chapter-card:last-child .card-copy { padding-bottom: 24px; }
.chapter-card:last-child .card-footer { padding-top: 0; }
.card-top { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.chapter-number { font-family: var(--mono); font-size: 10px; }
.chapter-status { position: relative; padding-left: 14px; color: var(--muted); font-size: 10px; }
.chapter-status::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}
.chapter-status[data-state="in-progress"] { color: var(--accent); }
.chapter-status[data-state="in-progress"]::before { border-color: var(--accent); background: var(--accent-soft); }
.chapter-status[data-state="complete"] { color: var(--green); }
.chapter-status[data-state="complete"]::before { border-color: var(--green); background: var(--green); }
.card-visual { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }

.visual-table {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(23, 106, 115, 0.06), transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(27, 27, 25, 0.045) 59px 60px);
}
.table-shell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 44px);
  grid-template-rows: repeat(3, 24px);
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 9px 9px 0 rgba(23, 106, 115, 0.1);
}
.table-shell span { border-bottom: 1px solid var(--line); }
.table-shell span:nth-child(-n+4) { background: var(--accent-soft); }
.table-shell .row-highlight {
  position: absolute;
  top: 39px;
  right: 14px;
  left: 14px;
  height: 24px;
  border-left: 3px solid var(--accent);
  background: rgba(23, 106, 115, 0.12);
}
.type-labels { position: absolute; right: 23px; bottom: 23px; display: flex; gap: 7px; }
.type-labels span { padding: 2px 6px; border: 1px solid var(--line); color: var(--muted); background: var(--paper); font-family: var(--mono); font-size: 8px; }
.visual-process {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(56, 111, 154, 0.05), transparent);
}
.process-node { display: grid; align-content: center; width: 116px; height: 92px; padding: 12px; border: 1px solid var(--line-strong); background: var(--paper); text-align: center; }
.process-node b { color: var(--blue); font-family: var(--mono); font-size: 10px; }
.process-node small { margin-top: 8px; color: var(--muted); font-size: 10px; }
.process-node.active { color: var(--surface); border-color: var(--blue); background: var(--blue); }
.process-node.active b, .process-node.active small { color: inherit; }
.visual-process > i { width: 32px; height: 1px; background: var(--line-strong); }
.visual-color { display: grid; place-items: center; background: #e9e4d8; }
.color-bars { display: grid; grid-template-columns: repeat(6, 44px); transform: rotate(-8deg); }
.color-bars i { height: 150px; background: #2d6975; }
.color-bars i:nth-child(2) { background: #69a89e; }
.color-bars i:nth-child(3) { background: #acd1bd; }
.color-bars i:nth-child(4) { background: #e8c85f; }
.color-bars i:nth-child(5) { background: #df8b4f; }
.color-bars i:nth-child(6) { background: #b95870; }
.gamut-ring { position: absolute; width: 160px; height: 160px; border: 1px solid rgba(27, 27, 25, 0.55); border-radius: 50%; }
.gamut-ring::before, .gamut-ring::after { position: absolute; inset: 18px; border: 1px dashed rgba(27, 27, 25, 0.22); border-radius: 50%; content: ""; }
.gamut-ring::after { inset: 48px; border-style: solid; }
.color-label { position: absolute; right: 22px; bottom: 18px; font-family: var(--mono); font-size: 10px; }
.visual-low { display: grid; place-items: center; padding: 28px 52px; background: linear-gradient(150deg, rgba(97, 123, 87, 0.08), transparent 55%); }
.visual-low svg { width: 100%; }
.visual-low svg path { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.visual-low svg .trend { stroke: var(--green); stroke-width: 2; }
.visual-low circle { fill: var(--green); }
.angle-label { position: absolute; right: 28px; bottom: 22px; padding: 3px 7px; border: 1px solid var(--line); font-family: var(--mono); font-size: 9px; }
.visual-time { position: relative; display: grid; align-content: center; padding: 32px 72px; background: linear-gradient(130deg, rgba(117, 102, 137, 0.09), transparent 58%); }
.timeline { position: relative; display: flex; justify-content: space-between; align-items: center; }
.timeline::before { position: absolute; right: 0; left: 0; height: 1px; background: var(--purple); content: ""; }
.timeline span { position: relative; z-index: 1; width: 11px; height: 11px; border: 3px solid var(--surface); border-radius: 50%; background: var(--purple); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 28px; }
.calendar-grid i { height: 15px; background: rgba(117, 102, 137, 0.1); }
.calendar-grid i:nth-child(3n) { background: rgba(117, 102, 137, 0.3); }
.calendar-grid i:nth-child(5n) { background: rgba(117, 102, 137, 0.55); }
.time-label { position: absolute; right: 22px; bottom: 18px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.card-copy { padding: 28px 28px 26px; }
.card-kicker { color: var(--accent); font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; }
.card-copy h3 { margin: 10px 0 12px; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.25; }
.card-copy > p:not(.card-kicker) { max-width: 560px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.topic-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.topic-tags span { padding: 4px 8px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px 18px; color: var(--muted); font-size: 10px; }
.card-footer > div { display: flex; align-items: center; gap: 12px; }
.card-footer a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.complete-button { padding: 4px 0; border: 0; border-bottom: 1px solid transparent; color: var(--muted); background: transparent; font-size: 10px; cursor: pointer; }
.complete-button:hover { color: var(--ink); border-bottom-color: var(--line); }
.complete-button[aria-pressed="true"] { color: var(--green); }
.search-empty { margin-top: 20px; padding: 50px 24px; border: 1px dashed var(--line-strong); text-align: center; }
.search-empty strong { font-family: var(--serif); font-size: 24px; }
.search-empty p { margin: 8px 0 18px; color: var(--muted); font-size: 12px; }
.search-empty button { padding: 7px 12px; border: 1px solid var(--ink); background: transparent; font-size: 11px; cursor: pointer; }

.method-section { overflow: hidden; }
.method-flow {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: stretch;
  padding: 44px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.method-flow article { position: relative; padding: 20px 12px; }
.method-number { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.method-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 20px 0 24px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 16px; }
.method-flow article:nth-of-type(2) .method-icon { color: var(--surface); border-color: var(--accent); background: var(--accent); }
.method-flow article:nth-of-type(3) .method-icon { border-color: var(--orange); color: var(--orange); }
.method-flow h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.method-flow p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.method-connector { align-self: center; height: 1px; background: var(--line-strong); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border: 1px solid var(--line-strong); }
.audience-grid article { padding: 34px 30px; background: rgba(251, 249, 244, 0.58); }
.audience-grid article + article { border-left: 1px solid var(--line); }
.audience-grid h3 { margin: 16px 0 12px; font-family: var(--serif); font-size: 23px; font-weight: 600; }
.audience-grid p:not(.eyebrow) { color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.audience-grid a { display: inline-block; margin-top: 24px; padding-bottom: 3px; border-bottom: 1px solid var(--line-strong); font-size: 11px; }
.about-section {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 90px;
  padding-top: 80px;
  border-top: 1px solid var(--line-strong);
}
.about-main h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.18;
}
.about-main h2 em { color: var(--accent); font-style: normal; }
.about-copy { padding-top: 38px; }
.about-copy p { color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.about-copy p + p { margin-top: 16px; }
.about-copy .credit { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.site-footer { border-top: 1px solid var(--line-strong); background: var(--ink); color: var(--surface); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 50px; align-items: center; min-height: 128px; }
.footer-brand .brand-symbol { border-color: var(--surface); }
.footer-brand .brand-symbol i { background: var(--surface); }
.footer-brand .brand-symbol i:nth-child(2) { background: #7cc5c3; }
.footer-brand .brand-symbol i:nth-child(3) { background: #ef9b62; }
.footer-brand .brand-copy small, .footer-inner > p { color: rgba(251, 249, 244, 0.58); }
.footer-inner > p { font-size: 10px; }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 60px; min-height: auto; }
  .hero-copy { max-width: 700px; }
  .hero-atlas { max-width: 820px; }
  .route-board { grid-template-columns: 1fr; }
  .route-notes { grid-template-columns: repeat(3, 1fr); }
  .route-notes article { grid-template-columns: 1fr; }
  .chapter-card:last-child { grid-template-columns: 1fr; grid-template-rows: auto 230px 1fr auto; }
  .chapter-card:last-child .card-visual { grid-row: auto; min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .chapter-card:last-child .card-copy { padding-bottom: 26px; }
  .chapter-card:last-child .card-footer { padding-top: 14px; }
  .method-flow { grid-template-columns: repeat(3, 1fr); }
  .method-connector { display: none; }
  .method-flow article + article { border-left: 1px solid var(--line); }
  .about-section { gap: 50px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 36px, 720px); }
  .section { padding-block: 80px; }
  .header-inner { min-height: 72px; }
  .search-box, .header-cta { display: none; }
  .menu-button { display: block; }
  .hero { padding-block: 64px 72px; }
  .hero h1 { font-size: clamp(52px, 13vw, 78px); }
  .atlas-canvas { min-height: 520px; }
  .atlas-node { width: 118px; }
  .node-1 { top: 7%; left: 4%; }
  .node-2 { top: 34%; right: 5%; left: auto; }
  .node-3 { top: 65%; left: 5%; right: auto; }
  .node-4 { top: 31%; right: auto; left: 7%; }
  .node-5 { top: 66%; right: 4%; left: auto; }
  .atlas-lines { display: none; }
  .atlas-detail { grid-template-columns: 1fr; gap: 10px; }
  #atlasLink { justify-self: start; }
  .progress-inner { grid-template-columns: 1fr; gap: 30px; }
  .progress-summary { padding: 28px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .chapter-tools { justify-self: stretch; }
  .result-count { text-align: left; }
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter-card:last-child { grid-column: auto; }
  .route-notes { grid-template-columns: 1fr; }
  .route-notes article { grid-template-columns: 42px 1fr; }
  .method-flow { grid-template-columns: 1fr; padding: 28px; }
  .method-flow article + article { border-top: 1px solid var(--line); border-left: 0; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .about-section { grid-template-columns: 1fr; gap: 20px; }
  .about-copy { padding-top: 10px; }
  .footer-inner { grid-template-columns: 1fr; gap: 14px; padding-block: 34px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .brand-copy small { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .hero-stats div { padding-right: 8px; }
  .hero-stats div + div { padding-left: 10px; }
  .atlas-canvas { min-height: 480px; }
  .atlas-node { width: 106px; min-height: 108px; padding: 10px; }
  .node-1 { top: 4%; left: 3%; }
  .node-4 { top: 28%; left: 4%; }
  .node-2 { top: 29%; right: 3%; }
  .node-5 { top: 67%; left: 5%; }
  .node-3 { top: 68%; right: 3%; }
  .route-visual { padding: 32px 16px 24px; }
  .route-axis { margin-inline: 8px; }
  .route-row { grid-template-columns: 32px 1fr; padding: 0 12px; }
  .route-row i { display: none; }
  .row-1, .row-2, .row-3, .row-4, .row-5 { width: 100%; margin-left: 0; }
  .route-grid::before { display: none; }
  .filter-row { flex-wrap: wrap; }
  .card-visual { height: 205px; }
  .card-copy { padding: 24px 20px; }
  .card-copy h3 { font-size: 24px; }
  .card-footer { align-items: flex-start; flex-direction: column; }
  .card-footer > div { justify-content: space-between; width: 100%; }
  .visual-process { gap: 6px; padding: 18px; }
  .process-node { width: 30%; height: 78px; }
  .visual-process > i { width: 10px; }
  .color-bars { grid-template-columns: repeat(6, 33px); }
  .color-bars i { height: 126px; }
  .visual-low { padding-inline: 24px; }
  .visual-time { padding-inline: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
