@import url("fonts.css?v=9");
@import url("fonts-display.css?v=1");

:root {
  --paper: #faf7f1;
  --paper-2: #f4efe6;
  --paper-3: #ece4d7;
  --surface: #fefcf8;
  --ink: #20261f;
  --ink-2: #3d443a;
  --muted: #74766b;
  --quiet: #98998e;
  --line: rgba(32, 38, 31, 0.14);
  --line-strong: rgba(32, 38, 31, 0.26);
  --green: #242d28;
  --green-2: #333d37;
  --green-3: #5c6660;
  --red: #a6402d;
  --red-2: #873222;
  --gold: #b38a4f;
  --white: #fffdf8;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --headline: "FZCuHeiSongS-B-GB", "FZCuHeiSongS", "FZCuHeiSong", "方正粗黑宋简体", "方正粗黑宋", "Noto Serif SC Display", "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 30px 70px -40px rgba(28, 32, 29, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --read-size: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 620px at 86% -8%, rgba(179, 138, 79, 0.12), transparent 64%),
    radial-gradient(820px 520px at -8% 20%, rgba(36, 45, 40, 0.055), transparent 60%),
    var(--paper);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("../assets/img/noise.svg");
  background-size: 240px 240px;
  opacity: 0.035;
  mix-blend-mode: multiply;
}

::selection { color: var(--white); background: var(--red); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, h5 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
svg { display: block; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.container {
  width: min(1280px, calc(100vw - 96px));
  margin: 0 auto;
}

.serif { font-family: var(--sans); }
h1, h2, .section-head h2, .page-hero h1, .article-head h1, .beginner-copy h2, .modern-copy h2 { text-wrap: balance; }
.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;
}

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}
.eyebrow.is-plain::before { display: none; }
.eyebrow.is-light { color: #d6c3a0; }

.section { padding: 92px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.section-head h2 {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.section-head p { max-width: 480px; margin-top: 12px; color: var(--muted); }
.section-head .head-link { flex: 0 0 auto; padding-bottom: 5px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--red); border-color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.is-light { color: #eee4d1; border-color: rgba(246, 242, 233, 0.32); }
.link-arrow.is-light:hover { color: #fff; border-color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { color: #f8f3e8; background: var(--green); }
.btn-primary:hover { background: var(--green-2); transform: translateY(-2px); }
.btn-outline { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: rgba(32, 38, 31, 0.04); transform: translateY(-2px); }
.btn-light { color: var(--green); background: var(--paper); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  color: var(--ink-2);
  background: rgba(32, 38, 31, 0.045);
  border-radius: 2px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tag.is-solid { color: var(--red); background: rgba(166, 64, 45, 0.09); }
.tag.is-dark { color: #efe5d2; background: rgba(255, 255, 255, 0.1); }

/* ---------- header ---------- */
.topline {
  height: 34px;
  color: rgba(248, 243, 232, 0.72);
  background: #1a211d;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}
.topline .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.topline a { transition: color 0.2s ease; }
.topline a:hover { color: #fff; }
.topline-links { display: flex; align-items: center; gap: 26px; }
.topline-links a { display: inline-flex; align-items: center; gap: 4px; }
.topline-links a svg { width: 11px; height: 11px; }
.topline .dot { color: rgba(248, 243, 232, 0.32); margin: 0 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 233, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -26px rgba(28, 32, 29, 0.6); background: rgba(246, 242, 233, 0.96); }
.header-inner {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 44px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(166, 64, 45, 0.12);
}
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}
.brand-latin {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--muted);
  line-height: 1;
}
.main-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 30px;
  margin-left: 10px;
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--ink-2);
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 21px;
  width: 0;
  height: 2px;
  background: var(--red);
  transform: translateX(-50%);
  transition: width 0.28s var(--ease);
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a.is-active::after { width: 18px; }
.header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover { background: rgba(32, 38, 31, 0.06); }
.icon-btn svg { width: 18px; height: 18px; }
.header-divider { width: 1px; height: 20px; background: var(--line); margin: 0 2px; }
.library-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.library-link:hover { background: var(--surface); border-color: var(--ink); }
.library-link svg { width: 12px; height: 12px; }
.login-link { font-size: 14px; color: var(--muted); padding: 6px; transition: color 0.2s ease; }
.login-link:hover { color: var(--ink); }
.header-tools a, .topline-links a, .main-nav a { white-space: nowrap; }
.menu-btn { display: none; }

/* ---------- search / mobile nav ---------- */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  background: rgba(24, 35, 29, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-box {
  width: min(680px, calc(100vw - 48px));
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5);
  padding: 28px 30px 22px;
  transform: translateY(-12px);
  transition: transform 0.35s var(--ease);
}
.search-panel.is-open .search-box { transform: translateY(0); }
.search-box-head { display: flex; align-items: center; justify-content: space-between; }
.search-box-head .eyebrow { color: var(--muted); }
.search-close { border: 0; background: transparent; padding: 2px; color: var(--muted); }
.search-close svg { width: 20px; height: 20px; }
.search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}
.search-field svg { width: 22px; height: 22px; color: var(--red); }
.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 24px;
}
.search-field input::placeholder { color: var(--quiet); }
.search-suggest { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.search-suggest span { font-size: 13px; color: var(--quiet); margin-right: 4px; }
.search-suggest a { padding: 5px 10px; border: 1px solid var(--line); font-size: 13.5px; transition: border-color 0.2s ease; }
.search-suggest a:hover { border-color: var(--red); color: var(--red); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--paper);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.42s var(--ease), visibility 0.42s ease;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.mobile-nav-links { padding-top: 20px; }
.mobile-nav-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 25px;
}
.mobile-nav-links span { font-family: var(--sans); font-size: 12px; color: var(--quiet); letter-spacing: 0.15em; }
.mobile-nav-foot { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; }
.mobile-nav-foot .btn { flex: 1; }

/* ---------- home hero ---------- */
.hero { position: relative; padding: 62px 0 74px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(440px, 0.94fr);
  gap: 64px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; padding: 10px 0 6px; }
.hero-title {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: clamp(56px, 5.4vw, 80px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.19;
}
.hero-title .accent {
  position: relative;
  color: var(--red);
  white-space: nowrap;
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 10px;
  background: rgba(166, 64, 45, 0.12);
  z-index: -1;
}
.hero-lead {
  max-width: 535px;
  margin-top: 26px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.95;
}
.hero-lead strong { color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 36px; }
.hero-metrics {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 52px;
  width: fit-content;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-metric { min-width: 134px; padding-right: 30px; margin-right: 30px; border-right: 1px solid var(--line); }
.hero-metric:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-metric strong {
  display: block;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.hero-metric span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.05em; }
.hero-visual { position: relative; z-index: 1; }
.hero-art {
  position: relative;
  min-height: 596px;
  padding: 16px;
  background: var(--green);
  border-radius: 210px 210px 2px 2px;
  box-shadow: var(--shadow);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(214, 195, 160, 0.38);
  border-radius: 202px 202px 1px 1px;
  pointer-events: none;
}
.hero-art-media {
  position: relative;
  height: 564px;
  overflow: hidden;
  border-radius: 194px 194px 1px 1px;
  background: #d9d5ca;
}
.hero-art-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(0.82) sepia(0.1) contrast(1.04);
  transform: scale(1.015);
}
.hero-art-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 40, 32, 0.02) 38%, rgba(22, 39, 32, 0.66) 100%);
}
.hero-art-caption {
  position: absolute;
  right: 38px;
  bottom: 38px;
  z-index: 2;
  max-width: 150px;
  color: #f6f1e7;
  text-align: right;
}
.hero-art-caption .cn { font-family: var(--sans); font-size: 23px; letter-spacing: 0.08em; line-height: 1.4; }
.hero-art-caption .en { margin-top: 8px; font-size: 12px; letter-spacing: 0.18em; color: rgba(246, 241, 231, 0.66); text-transform: uppercase; }
.hero-art-caption .rule { width: 44px; height: 1px; background: rgba(246, 241, 231, 0.5); margin: 0 0 14px auto; }
.hero-vertical {
  position: absolute;
  top: 92px;
  right: -21px;
  z-index: 4;
  writing-mode: vertical-rl;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.hero-seal {
  position: absolute;
  z-index: 4;
  top: 56px;
  left: -20px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #f6efe3;
  background: var(--red);
  font-family: var(--sans);
  font-size: 27px;
  line-height: 1;
  box-shadow: 0 10px 30px -14px rgba(122, 40, 26, 0.9);
}
.hero-seal::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(246, 239, 227, 0.6); }
.hero-note {
  position: absolute;
  z-index: 5;
  left: -66px;
  bottom: 42px;
  width: 300px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px -36px rgba(28, 32, 29, 0.7);
}
.hero-note-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-note-head span { font-size: 12.5px; color: var(--red); letter-spacing: 0.14em; }
.hero-note-head em { font-style: normal; font-family: var(--sans); font-size: 13px; color: var(--quiet); }
.hero-note h3 { margin-top: 13px; font-family: var(--sans); font-size: 20px; font-weight: 600; line-height: 1.45; }
.hero-note p { margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.hero-note-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.hero-note-foot small { font-size: 12px; color: var(--quiet); }
.hero-note-foot a { color: var(--red); font-size: 13px; }
.progress-line { height: 2px; background: var(--paper-3); margin-top: 14px; overflow: hidden; }
.progress-line i { display: block; width: 62%; height: 100%; background: var(--red); }
.hero-watermark {
  position: absolute;
  right: 1.5%;
  bottom: -96px;
  z-index: 0;
  font-family: var(--sans);
  font-size: 330px;
  font-weight: 700;
  line-height: 1;
  color: rgba(36, 45, 40, 0.035);
  pointer-events: none;
  user-select: none;
}

.creed-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.creed-strip .container {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-size: 12.5px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.creed-list { display: flex; align-items: center; gap: 0; }
.creed-list span { padding: 0 24px; border-right: 1px solid var(--line); }
.creed-list span:first-child { padding-left: 0; }
.creed-list span:last-child { border-right: 0; }
.creed-list b { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); margin-right: 7px; }

/* ---------- pathways ---------- */
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 32px 34px 30px;
  border: 1px solid var(--line);
  background: rgba(252, 250, 245, 0.58);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease;
}
.path-card::after {
  content: "";
  position: absolute;
  inset: auto -55px -90px auto;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(32, 38, 31, 0.09);
  border-radius: 50%;
  transition: transform 0.6s var(--ease);
}
.path-card:hover { transform: translateY(-5px); border-color: rgba(166, 64, 45, 0.38); box-shadow: 0 28px 60px -46px rgba(28, 32, 29, 0.6); }
.path-card:hover::after { transform: scale(1.2); }
.path-card.is-dark { color: #f3ecdf; background: var(--green); border-color: var(--green); }
.path-card.is-dark::after { border-color: rgba(246, 242, 233, 0.15); }
.path-top { display: flex; align-items: flex-start; justify-content: space-between; }
.path-glyph {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  font-family: var(--sans);
  font-size: 22px;
  color: var(--red);
  line-height: 1;
}
.path-card.is-dark .path-glyph { color: #e5cfaa; border-color: rgba(229, 207, 170, 0.42); }
.path-no { font-family: var(--sans); font-size: 15.5px; color: var(--quiet); letter-spacing: 0.05em; }
.path-card.is-dark .path-no { color: rgba(243, 236, 223, 0.38); }
.path-card h3 { margin-top: 30px; font-family: var(--sans); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.path-card p { margin-top: 11px; max-width: 300px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.path-card.is-dark p { color: rgba(243, 236, 223, 0.62); }
.path-tags { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: auto; padding-top: 30px; }
.path-tags a { position: relative; font-size: 13px; color: var(--ink-2); }
.path-tags a::after { content: "·"; position: absolute; right: -9px; color: var(--quiet); }
.path-tags a:last-child::after { display: none; }
.path-tags a:hover { color: var(--red); }
.path-card.is-dark .path-tags a { color: rgba(243, 236, 223, 0.7); }
.path-card.is-dark .path-tags a:hover { color: #fff; }
.path-arrow { position: absolute; right: 30px; bottom: 27px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--ease); }
.path-arrow svg { width: 14px; height: 14px; }
.path-card:hover .path-arrow { color: var(--white); background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.path-card.is-dark .path-arrow { color: #f3ecdf; border-color: rgba(243, 236, 223, 0.3); }

/* ---------- beginner ---------- */
.beginner-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  padding: 58px 60px;
  background: var(--paper-2);
  border: 1px solid rgba(32, 38, 31, 0.08);
  overflow: hidden;
}
.beginner-wrap::after {
  content: "三";
  position: absolute;
  right: -10px;
  bottom: -68px;
  font-family: var(--sans);
  font-size: 245px;
  line-height: 1;
  color: rgba(32, 38, 31, 0.045);
  pointer-events: none;
}
.beginner-copy { position: relative; z-index: 1; }
.beginner-copy h2 { margin-top: 18px; font-family: var(--sans); font-size: 38px; font-weight: 600; line-height: 1.4; letter-spacing: -0.03em; }
.beginner-copy p { max-width: 310px; margin-top: 15px; color: var(--muted); font-size: 15.5px; line-height: 1.9; }
.beginner-copy .link-arrow { margin-top: 28px; }
.beginner-steps { position: relative; z-index: 1; border-top: 1px solid var(--line-strong); }
.beginner-step {
  display: grid;
  grid-template-columns: 42px 124px 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.beginner-step:last-child { border-bottom: 0; }
.beginner-step .no { font-family: var(--sans); font-size: 13px; color: var(--red); letter-spacing: 0.08em; }
.beginner-step h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; }
.beginner-step p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- latest content ---------- */
.latest-layout { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr); gap: 56px; }
.featured-story { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.featured-media { position: relative; overflow: hidden; aspect-ratio: 16 / 7.2; background: var(--paper-3); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; filter: saturate(0.72) sepia(0.08); transition: transform 0.8s var(--ease); }
.featured-story:hover .featured-media img { transform: scale(1.025); }
.featured-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(25, 31, 27, 0.55)); }
.featured-label { position: absolute; left: 24px; bottom: 22px; z-index: 2; color: #f6f1e7; font-size: 12px; letter-spacing: 0.18em; }
.featured-body { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 36px; padding-top: 22px; }
.featured-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; }
.featured-meta .tag { margin-right: 2px; }
.featured-story h3 { margin-top: 12px; font-family: var(--sans); font-size: 29px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; transition: color 0.2s ease; }
.featured-story:hover h3 { color: var(--red); }
.featured-story .excerpt { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.featured-index { text-align: right; align-self: end; }
.featured-index strong { display: block; font-family: var(--sans); font-size: 54px; font-weight: 400; line-height: 1; color: var(--paper-3); }
.featured-index span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 0.18em; color: var(--quiet); }

.story-list { margin-top: 8px; border-top: 1px solid var(--line); }
.story-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.story-row .date { font-size: 12px; color: var(--quiet); letter-spacing: 0.04em; }
.story-row h4 { font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.5; transition: color 0.2s ease; }
.story-row:hover h4 { color: var(--red); }
.story-row .cat { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.08em; }
.story-row svg { width: 13px; height: 13px; color: var(--quiet); transition: transform 0.3s var(--ease), color 0.2s ease; }
.story-row:hover svg { color: var(--red); transform: translateX(3px); }

.side-card { position: relative; padding: 28px 28px 26px; color: #f2ebde; background: var(--green); overflow: hidden; }
.side-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -75px; bottom: -80px; border: 1px solid rgba(242, 235, 222, 0.14); border-radius: 50%; }
.side-card .eyebrow { color: #ceb992; }
.side-card h3 { margin-top: 20px; font-family: var(--sans); font-size: 25px; font-weight: 600; line-height: 1.5; }
.side-card p { margin-top: 8px; color: rgba(242, 235, 222, 0.58); font-size: 13.5px; line-height: 1.8; }
.practice-figure { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.practice-figure strong { font-family: var(--sans); font-size: 64px; font-weight: 400; line-height: 1; color: #e5cfa8; }
.practice-figure span { font-size: 12px; color: rgba(242, 235, 222, 0.62); letter-spacing: 0.08em; }
.side-card .btn { width: 100%; margin-top: 24px; }
.side-card .progress-line { background: rgba(255, 255, 255, 0.15); }
.side-card .progress-line i { background: #d8b97e; }
.notice-block { margin-top: 34px; }
.notice-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--line-strong); }
.notice-head h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; }
.notice-head a { font-size: 12.5px; color: var(--muted); }
.notice-list a { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.notice-list .tag { flex: 0 0 auto; margin-top: 1px; height: 20px; font-size: 12px; }
.notice-list h4 { font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--ink-2); transition: color 0.2s ease; }
.notice-list a:hover h4 { color: var(--red); }
.notice-list time { display: block; margin-top: 3px; font-size: 12.5px; color: var(--quiet); }

/* ---------- people ---------- */
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.person-card { position: relative; display: block; overflow: hidden; background: var(--paper-3); }
.person-media { position: relative; aspect-ratio: 4 / 5.15; overflow: hidden; }
.person-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(0.72) sepia(0.12) contrast(1.02); transition: transform 0.8s var(--ease), filter 0.5s ease; }
.person-card:hover .person-media img { transform: scale(1.035); filter: saturate(0.9) sepia(0.04); }
.person-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(20, 25, 22, 0.74) 100%); }
.person-body { position: absolute; inset: auto 0 0; z-index: 2; padding: 24px 24px 22px; color: #f5efe4; }
.person-era { font-size: 12px; color: rgba(245, 239, 228, 0.62); letter-spacing: 0.17em; text-transform: uppercase; }
.person-body h3 { margin-top: 6px; font-family: var(--sans); font-size: 28px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.3; }
.person-body p { margin-top: 5px; font-size: 12.5px; color: rgba(245, 239, 228, 0.7); line-height: 1.6; }
.person-arrow { position: absolute; top: 18px; right: 18px; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center; color: #f5efe4; border: 1px solid rgba(245, 239, 228, 0.38); border-radius: 50%; opacity: 0; transform: translateY(5px); transition: opacity 0.25s ease, transform 0.3s var(--ease), background 0.25s ease; }
.person-arrow svg { width: 13px; height: 13px; }
.person-card:hover .person-arrow { opacity: 1; transform: translateY(0); background: var(--red); border-color: var(--red); }

/* ---------- practice band ---------- */
.practice-band { position: relative; margin-top: 20px; color: #f4eddf; background: var(--green); overflow: hidden; }
.practice-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 88% 5%, rgba(179, 138, 79, 0.19), transparent 60%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.02), transparent 50%);
}
.practice-band::after {
  content: "修";
  position: absolute;
  right: 3%;
  bottom: -120px;
  font-family: var(--sans);
  font-size: 400px;
  line-height: 1;
  color: rgba(246, 242, 233, 0.035);
}
.practice-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: 80px; align-items: center; padding: 66px 0; }
.practice-copy h2 { margin-top: 18px; font-family: var(--sans); font-size: clamp(36px, 3.5vw, 50px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.42; }
.practice-copy p { max-width: 480px; margin-top: 17px; font-size: 15.5px; line-height: 1.9; color: rgba(244, 237, 223, 0.6); }
.practice-copy .btn { margin-top: 30px; }
.practice-stats { display: flex; align-items: center; gap: 28px; }
.practice-stat { flex: 1; padding: 26px 0 22px; border-top: 1px solid rgba(244, 237, 223, 0.22); }
.practice-stat strong { display: block; font-family: var(--sans); font-size: 54px; font-weight: 300; line-height: 1; color: #e2cba5; }
.practice-stat span { display: block; margin-top: 9px; font-size: 12.5px; letter-spacing: 0.13em; color: rgba(244, 237, 223, 0.55); }
.practice-divider { width: 1px; height: 64px; background: rgba(244, 237, 223, 0.18); }

/* ---------- footer ---------- */
.site-footer { margin-top: 0; color: rgba(246, 242, 233, 0.66); background: #161c18; }
.footer-top { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr; gap: 60px; padding: 68px 0 52px; }
.footer-brand .brand-name { color: #f4ede0; }
.footer-brand .brand-latin { color: rgba(246, 242, 233, 0.42); }
.footer-brand p { max-width: 300px; margin-top: 22px; font-size: 14px; line-height: 1.95; color: rgba(246, 242, 233, 0.52); }
.footer-brand .footer-seal { display: inline-flex; align-items: center; gap: 10px; margin-top: 23px; font-size: 12.5px; letter-spacing: 0.16em; color: rgba(246, 242, 233, 0.36); }
.footer-seal i { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(166, 64, 45, 0.65); color: #c9745d; font-family: var(--sans); font-style: normal; font-size: 14px; }
.footer-col h4 { margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246, 242, 233, 0.38); }
.footer-col a { display: block; width: fit-content; padding: 5px 0; font-size: 14.5px; color: rgba(246, 242, 233, 0.68); transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }
.footer-qr { display: flex; gap: 12px; margin-top: 18px; }
.qr-box { width: 76px; height: 76px; padding: 7px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.qr-box svg { width: 100%; height: 100%; color: rgba(246, 242, 233, 0.65); }
.footer-qr-label { display: flex; gap: 12px; margin-top: 8px; font-size: 12px; color: rgba(246, 242, 233, 0.35); }
.footer-qr-label span { width: 90px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0 26px; border-top: 1px solid rgba(246, 242, 233, 0.1); font-size: 12.5px; color: rgba(246, 242, 233, 0.32); letter-spacing: 0.02em; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(238, 231, 218, 0.66), transparent 62%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 24px 0 0; font-size: 12.5px; color: var(--quiet); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--line-strong); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr); gap: 72px; align-items: end; padding: 54px 0 60px; }
.page-hero h1 { margin-top: 21px; font-family: var(--sans); font-size: clamp(48px, 5vw, 68px); font-weight: 600; letter-spacing: -0.055em; line-height: 1.24; }
.page-hero-lead { max-width: 610px; margin-top: 20px; color: var(--ink-2); font-size: 16px; line-height: 2; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.page-aside { align-self: stretch; display: flex; align-items: flex-end; justify-content: flex-end; position: relative; min-height: 180px; }
.page-aside .giant-glyph {
  font-family: var(--sans);
  font-size: 190px;
  font-weight: 600;
  line-height: 0.8;
  color: rgba(36, 45, 40, 0.08);
  user-select: none;
}
.page-aside .aside-card {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 240px;
  padding: 19px 20px;
  background: rgba(252, 250, 245, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.aside-card .as-label { font-size: 12px; letter-spacing: 0.16em; color: var(--red); }
.aside-card p { margin-top: 7px; font-family: var(--sans); font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.aside-card small { display: block; margin-top: 10px; font-size: 12.5px; color: var(--quiet); }

.subnav {
  position: sticky;
  top: 80px;
  z-index: 35;
  background: rgba(246, 242, 233, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 60px; }
.subnav-tabs { display: flex; align-items: center; gap: 28px; height: 60px; }
.subnav-tabs a { position: relative; display: inline-flex; align-items: center; height: 100%; font-size: 14px; color: var(--muted); }
.subnav-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.subnav-tabs a:hover { color: var(--ink); }
.subnav-tabs a.is-active { color: var(--red); }
.subnav-tabs a.is-active::after { background: var(--red); }
.subnav-tools { display: flex; align-items: center; gap: 10px; }
.mini-search { display: flex; align-items: center; gap: 9px; width: 210px; height: 34px; padding: 0 11px; border: 1px solid var(--line); background: rgba(252, 250, 245, 0.6); }
.mini-search svg { width: 14px; height: 14px; color: var(--quiet); }
.mini-search input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.mini-search input::placeholder { color: var(--quiet); }
.subnav-count { font-size: 12px; color: var(--quiet); letter-spacing: 0.06em; }

/* ---------- catalog ---------- */
.catalog-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 62px; padding: 52px 0 100px; align-items: start; }
.catalog-side { position: sticky; top: 164px; }
.side-index { border-left: 1px solid var(--line); }
.side-index a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0 9px 17px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--muted); transition: color 0.2s ease, border-color 0.2s ease; }
.side-index a span { font-size: 12px; color: var(--quiet); }
.side-index a:hover { color: var(--ink); }
.side-index a.is-active { color: var(--red); border-left-color: var(--red); }
.side-index a.is-active span { color: var(--red); }
.side-title { margin-bottom: 12px; padding-left: 17px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: var(--quiet); text-transform: uppercase; }
.side-study { margin-top: 34px; padding: 22px 20px; background: var(--green); color: #f1e9db; }
.side-study .eyebrow { font-size: 11.5px; color: #d0bb96; }
.side-study h3 { margin-top: 12px; font-family: var(--sans); font-size: 19px; font-weight: 500; line-height: 1.5; }
.side-study ol { margin-top: 16px; }
.side-study li { display: grid; grid-template-columns: 21px 1fr; gap: 7px; padding: 8px 0; border-top: 1px solid rgba(241, 233, 219, 0.14); font-size: 12.5px; color: rgba(241, 233, 219, 0.65); }
.side-study li b { font-family: var(--sans); font-weight: 400; color: #d9c19a; }
.side-link { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.side-link:hover { color: var(--red); }

.catalog-main { min-width: 0; }
.chapter { margin-bottom: 70px; scroll-margin-top: 170px; }
.chapter-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); margin-bottom: 24px; }
.chapter-title { display: flex; align-items: baseline; gap: 15px; }
.chapter-no { font-family: var(--sans); font-size: 14px; color: var(--red); letter-spacing: 0.06em; }
.chapter-title h2 { font-family: var(--sans); font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.chapter-title .latin { font-size: 12px; letter-spacing: 0.2em; color: var(--quiet); text-transform: uppercase; }
.chapter-head p { max-width: 360px; font-size: 13px; color: var(--muted); line-height: 1.7; text-align: right; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.book-grid.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.book-grid.is-four .book-card { grid-template-columns: 1fr; min-height: 220px; padding: 24px; }
.book-card {
  position: relative;
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 18px;
  min-height: 166px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(252, 250, 245, 0.58);
  transition: border-color 0.3s ease, transform 0.35s var(--ease), background 0.3s ease;
}
.book-card:hover { transform: translateY(-3px); border-color: rgba(166, 64, 45, 0.35); background: var(--surface); }
.book-cover { position: relative; height: 130px; overflow: hidden; background: var(--paper-3); box-shadow: 6px 10px 18px -14px rgba(28, 32, 29, 0.7); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-info { min-width: 0; display: flex; flex-direction: column; }
.book-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 12px; color: var(--quiet); letter-spacing: 0.02em; }
.book-meta .tag { height: 20px; padding: 0 7px; font-size: 11.5px; }
.book-info h3 { margin-top: 8px; font-family: var(--sans); font-size: 21px; font-weight: 600; line-height: 1.4; letter-spacing: -0.015em; }
.book-info h3 a:hover { color: var(--red); }
.book-info p { margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.book-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.book-foot span { font-size: 12.5px; color: var(--quiet); }
.book-foot a { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-2); }
.book-foot a:hover { color: var(--red); }
.book-foot svg { width: 11px; height: 11px; }
.book-card.is-featured { grid-column: span 2; grid-template-columns: 190px minmax(0, 1fr); min-height: 246px; padding: 22px; background: var(--green); color: #f4eddf; border-color: var(--green); }
.book-card.is-featured:hover { background: var(--green-2); border-color: var(--green-2); }
.book-card.is-featured .book-cover { height: 200px; }
.book-card.is-featured .book-meta { color: rgba(244, 237, 223, 0.5); }
.book-card.is-featured .book-meta .tag { color: #e3cda8; background: rgba(255, 255, 255, 0.09); }
.book-card.is-featured h3 { margin-top: 15px; font-size: 32px; color: #f8f3e8; }
.book-card.is-featured p { max-width: 480px; margin-top: 10px; color: rgba(244, 237, 223, 0.58); font-size: 14px; -webkit-line-clamp: 3; }
.book-card.is-featured .book-foot { padding-top: 16px; border-top: 1px solid rgba(244, 237, 223, 0.15); }
.book-card.is-featured .book-foot span { color: rgba(244, 237, 223, 0.48); }
.book-card.is-featured .book-foot a { color: #e3cda8; }
.featured-mark { display: inline-flex; align-items: center; gap: 7px; color: #e3cda8 !important; }

.yiben { position: relative; margin-top: 8px; padding: 42px 46px; background: var(--paper-2); border: 1px solid rgba(32, 38, 31, 0.08); overflow: hidden; scroll-margin-top: 170px; }
.yiben::after { content: "支"; position: absolute; right: 20px; bottom: -80px; font-family: var(--sans); font-size: 230px; line-height: 1; color: rgba(32, 38, 31, 0.04); }
.yiben-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-strong); }
.yiben-head h2 { margin-top: 12px; font-family: var(--sans); font-size: 32px; font-weight: 600; line-height: 1.3; }
.yiben-head p { max-width: 330px; font-size: 12.5px; color: var(--muted); line-height: 1.7; text-align: right; }
.yiben-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 250px 1fr; gap: 44px; margin-top: 28px; }
.yiben-root { align-self: start; padding: 24px; background: var(--green); color: #f1e9db; }
.yiben-root small { font-size: 11.5px; letter-spacing: 0.18em; color: #cbb48e; }
.yiben-root h3 { margin-top: 12px; font-family: var(--sans); font-size: 26px; font-weight: 500; line-height: 1.4; }
.yiben-root p { margin-top: 10px; font-size: 12px; color: rgba(241, 233, 219, 0.55); line-height: 1.7; }
.yiben-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.yiben-branches a { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 15.5px; }
.yiben-branches a:hover { color: var(--red); }
.yiben-branches b { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--quiet); letter-spacing: 0.04em; }
.yiben-branches span { font-family: var(--sans); font-size: 11.5px; color: var(--quiet); }

/* ---------- article ---------- */
.reading-progress { position: fixed; top: 0; left: 0; z-index: 110; height: 2px; width: 0; background: var(--red); }
.article-top { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-head { max-width: 900px; margin: 0 auto; padding: 26px 0 32px; text-align: center; }
.article-kicker { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.article-kicker .tag { height: 21px; padding: 0 8px; font-size: 12px; }
.article-head h1 { margin-top: 23px; font-family: var(--sans); font-size: clamp(36px, 4.1vw, 54px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.36; }
.article-deck { max-width: 700px; margin: 20px auto 0; color: var(--muted); font-family: var(--sans); font-size: 17px; line-height: 1.95; }
.article-byline { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 18px; margin-top: 25px; font-size: 12.5px; color: var(--quiet); }
.article-byline span { position: relative; }
.article-byline span + span::before { content: "·"; position: absolute; left: -11px; color: var(--line-strong); }
.article-byline b { font-weight: 500; color: var(--ink-2); }
.article-tools-top { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; }
.tool-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 1px solid var(--line); background: transparent; font-size: 12px; color: var(--muted); transition: border-color 0.2s ease, color 0.2s ease; }
.tool-btn:hover, .tool-btn.is-active { color: var(--red); border-color: rgba(166, 64, 45, 0.4); }
.tool-btn svg { width: 12px; height: 12px; }

.reading-layout { display: grid; grid-template-columns: 200px minmax(0, 720px) 220px; gap: 44px; justify-content: center; padding: 50px 0 80px; align-items: start; }
.reading-toc { position: sticky; top: 128px; }
.toc-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--quiet); text-transform: uppercase; }
.toc-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.toc-list { margin-top: 15px; border-left: 1px solid var(--line); }
.toc-list a { display: block; padding: 8px 0 8px 15px; margin-left: -1px; border-left: 1px solid transparent; font-size: 13px; color: var(--muted); line-height: 1.6; transition: color 0.2s ease, border-color 0.2s ease; }
.toc-list a:hover { color: var(--ink); }
.toc-list a.is-active { color: var(--red); border-left-color: var(--red); }
.toc-note { margin-top: 28px; padding: 15px 14px; border: 1px solid var(--line); font-size: 12.5px; color: var(--quiet); line-height: 1.8; background: rgba(252, 250, 245, 0.45); }
.toc-note b { display: block; font-weight: 500; color: var(--ink-2); margin-bottom: 3px; }

.article-body { min-width: 0; font-family: var(--sans); font-size: var(--read-size); line-height: 2.08; color: #30362d; }
.article-body > p { margin: 0 0 27px; }
.article-body > p.lead { color: var(--ink); }
.article-body .dropcap {
  float: left;
  margin: 6px 12px 0 0;
  font-family: var(--sans);
  font-size: 68px;
  font-weight: 500;
  line-height: 0.78;
  color: var(--red);
}
.article-body h2 { display: flex; align-items: baseline; gap: 12px; margin: 54px 0 22px; font-size: 27px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: 120px; }
.article-body h2 .h-no { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--red); }
.article-body h3 { margin: 38px 0 16px; font-size: 20px; font-weight: 600; line-height: 1.6; color: var(--ink); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { border-bottom: 1px solid rgba(166, 64, 45, 0.4); color: var(--red-2); }
.article-body a:hover { border-bottom-color: var(--red); }
.article-body .quote {
  position: relative;
  margin: 36px 0;
  padding: 28px 32px 26px 38px;
  background: var(--paper-2);
  border-left: 2px solid var(--red);
  font-size: 21px;
  line-height: 1.95;
  color: var(--ink);
}
.article-body .quote::after { content: "”"; position: absolute; right: 18px; bottom: -15px; font-family: Georgia, serif; font-size: 90px; color: rgba(166, 64, 45, 0.12); }
.article-body .quote p { margin: 0; }
.article-body .quote cite { display: block; margin-top: 14px; font-family: var(--sans); font-size: 12px; font-style: normal; letter-spacing: 0.08em; color: var(--muted); }
.dharma-table { width: 100%; margin: 34px 0 40px; border-collapse: collapse; font-family: var(--sans); font-size: 14px; line-height: 1.7; }
.dharma-table th { padding: 10px 12px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.dharma-table td { padding: 14px 12px; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.dharma-table td:first-child { width: 78px; font-family: var(--sans); font-size: 15.5px; color: var(--ink); white-space: nowrap; }
.dharma-table td:nth-child(2) { width: 37%; color: var(--ink); line-height: 1.9; }
.dharma-table td:nth-child(3) { width: 38px; font-family: var(--sans); font-size: 15px; color: var(--red); }
.dharma-table tr:hover td { background: rgba(238, 231, 218, 0.45); }
.article-body .verse { margin: 30px 0; padding: 22px 0 22px 28px; border-left: 1px solid var(--line-strong); font-size: 20px; line-height: 2.05; letter-spacing: 0.06em; color: var(--ink); }
.article-body .verse span { display: block; }
.article-figure { margin: 38px 0 40px; }
.article-figure img { width: 100%; background: var(--paper-2); }
.article-figure figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; font-family: var(--sans); font-size: 12.5px; color: var(--quiet); line-height: 1.6; }
.article-figure figcaption span:last-child { flex: 0 0 auto; color: var(--line-strong); letter-spacing: 0.1em; }
.glossary {
  margin: 34px 0;
  padding: 22px 24px;
  background: rgba(252, 250, 245, 0.72);
  border: 1px solid var(--line);
}
.glossary .gl-label { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.15em; color: var(--red); }
.glossary .gl-label::before { content: ""; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }
.glossary dl { display: grid; grid-template-columns: 68px 1fr; gap: 8px 14px; margin: 12px 0 0; font-size: 15.5px; line-height: 1.85; }
.glossary dt { font-weight: 600; color: var(--ink); }
.glossary dd { margin: 0; color: var(--muted); font-size: 15.5px; }
.article-end { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 52px 0 40px; color: var(--quiet); font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; }
.article-end::before, .article-end::after { content: ""; width: 48px; height: 1px; background: var(--line); }
.article-end i { width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.author-card { display: grid; grid-template-columns: 54px 1fr auto; gap: 17px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.author-avatar { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-strong); font-family: var(--sans); font-size: 20px; color: var(--red); background: var(--paper-2); }
.author-card h4 { font-family: var(--sans); font-size: 17px; font-weight: 600; }
.author-card p { margin-top: 2px; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.author-card .link-arrow { font-size: 12px; }

.reading-side { position: sticky; top: 128px; }
.rail-block { padding: 20px; border: 1px solid var(--line); background: rgba(252, 250, 245, 0.4); }
.rail-block + .rail-block { margin-top: 16px; }
.rail-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; color: var(--quiet); text-transform: uppercase; }
.rail-title b { font-weight: 500; color: var(--red); letter-spacing: 0.02em; }
.series-card { margin-top: 15px; }
.series-card .s-no { font-family: var(--sans); font-size: 13px; color: var(--red); }
.series-card h3 { margin-top: 6px; font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.5; }
.series-card p { margin-top: 7px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.series-list { margin-top: 14px; border-top: 1px solid var(--line); }
.series-list a { display: flex; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.series-list span { flex: 0 0 auto; color: var(--quiet); font-size: 12px; }
.series-list a:hover { color: var(--red); }
.rail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rail-tags a { padding: 4px 8px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.rail-tags a:hover { border-color: var(--red); color: var(--red); }
.reading-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.reading-actions a { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.reading-actions a:hover { color: var(--red); }
.reading-actions svg { width: 13px; height: 13px; }
.font-tools { display: flex; align-items: center; gap: 5px; margin-top: 14px; }
.font-tools button { width: 32px; height: 30px; border: 1px solid var(--line); background: transparent; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.font-tools button:hover { border-color: var(--ink); color: var(--ink); }
.font-tools span { margin-left: auto; font-size: 12px; color: var(--quiet); }

.related { border-top: 1px solid var(--line); padding: 60px 0 90px; }
.related-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.related-head h2 { font-family: var(--sans); font-size: 30px; font-weight: 600; }
.related-head a { font-size: 13px; color: var(--muted); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.related-card { padding: 22px 22px 20px; border: 1px solid var(--line); background: rgba(252, 250, 245, 0.48); }
.related-card .tag { font-size: 12px; }
.related-card h3 { margin-top: 13px; font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.55; }
.related-card p { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.related-card .link-arrow { margin-top: 15px; font-size: 12.5px; }

/* ---------- people page ---------- */
.lineage {
  position: relative;
  margin: 0 auto;
  padding: 46px 52px 50px;
  color: #f3ecdf;
  background: var(--green);
  overflow: hidden;
}
.lineage::after { content: "傳"; position: absolute; right: -20px; bottom: -90px; font-family: var(--sans); font-size: 280px; line-height: 1; color: rgba(243, 236, 223, 0.035); }
.lineage-head { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.lineage-head h2 { margin-top: 13px; font-family: var(--sans); font-size: 33px; font-weight: 500; line-height: 1.35; }
.lineage-head p { max-width: 310px; font-size: 12.5px; line-height: 1.8; color: rgba(243, 236, 223, 0.52); text-align: right; }
.lineage-track { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 38px; }
.lineage-track::before { content: ""; position: absolute; top: 52px; left: 9%; right: 9%; height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 185, 126, 0.45) 12%, rgba(216, 185, 126, 0.45) 88%, transparent); }
.lineage-node { position: relative; text-align: center; }
.lineage-portrait { display: block; position: relative; width: 104px; height: 104px; margin: 0 auto; border-radius: 50%; overflow: hidden; border: 1px solid rgba(216, 185, 126, 0.55); background: #2b3530; }
.lineage-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(0.6) sepia(0.2); }
.lineage-node:first-child .lineage-portrait { box-shadow: 0 0 0 6px rgba(216, 185, 126, 0.1); }
.lineage-era { margin-top: 15px; font-size: 11px; letter-spacing: 0.15em; color: rgba(216, 185, 126, 0.72); text-transform: uppercase; }
.lineage-node h3 { margin-top: 4px; font-family: var(--sans); font-size: 19px; font-weight: 500; }
.lineage-node p { margin-top: 2px; font-size: 12px; color: rgba(243, 236, 223, 0.44); }
.lineage-arrow { position: absolute; top: 46px; right: -17px; z-index: 2; color: rgba(216, 185, 126, 0.52); }
.lineage-arrow svg { width: 13px; height: 13px; }

.people-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 0 28px; border-bottom: 1px solid var(--line); }
.people-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.people-filters a { display: inline-flex; align-items: center; gap: 8px; height: 33px; padding: 0 13px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.people-filters a span { font-size: 11.5px; color: var(--quiet); }
.people-filters a:hover { color: var(--ink); border-color: var(--line-strong); }
.people-filters a.is-active { color: var(--paper); background: var(--green); border-color: var(--green); }
.people-filters a.is-active span { color: rgba(246, 242, 233, 0.55); }
.people-toolbar .mini-search { width: 200px; }
.era-head { display: flex; align-items: baseline; gap: 14px; margin: 52px 0 20px; }
.era-head h2 { font-family: var(--sans); font-size: 27px; font-weight: 600; }
.era-head span { font-size: 12px; letter-spacing: 0.18em; color: var(--quiet); text-transform: uppercase; }
.era-head .era-rule { flex: 1; height: 1px; background: var(--line); }
.people-grid-lg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.people-grid-lg .person-media { aspect-ratio: 4 / 5; }

.feature-person { display: grid; grid-template-columns: 0.85fr 1.15fr; margin-top: 76px; border: 1px solid var(--line); background: var(--paper-2); }
.feature-person-media { position: relative; min-height: 460px; overflow: hidden; }
.feature-person-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(0.82) sepia(0.08); }
.feature-person-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(238, 231, 218, 0.8)); }
.feature-person-body { position: relative; z-index: 1; padding: 54px 56px; }
.feature-person-body .eyebrow { color: var(--red); }
.feature-person-body h2 { margin-top: 18px; font-family: var(--sans); font-size: 44px; font-weight: 600; line-height: 1.3; }
.feature-person-body .dates { margin-top: 5px; font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.feature-person-body .fp-lead { max-width: 480px; margin-top: 21px; font-family: var(--sans); font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.fp-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.fp-timeline strong { display: block; font-family: var(--sans); font-size: 21px; font-weight: 500; color: var(--red); }
.fp-timeline span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.feature-person-body .link-arrow { margin-top: 30px; }
.people-quote { margin: 80px 0 0; padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.people-quote blockquote { margin: 0; font-family: var(--sans); font-size: clamp(24px, 2.7vw, 34px); font-weight: 400; line-height: 1.8; letter-spacing: -0.02em; color: var(--ink-2); }
.people-quote cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.16em; color: var(--quiet); text-transform: uppercase; }
.modern-revival { display: grid; grid-template-columns: 0.64fr 1.36fr; gap: 0; margin-top: 70px; border: 1px solid var(--line); background: var(--paper-2); }
.modern-media { position: relative; min-height: 400px; overflow: hidden; background: var(--paper-3); }
.modern-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(0.7) sepia(0.1); }
.modern-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 52%, rgba(238, 231, 218, 0.72)); }
.modern-copy { padding: 48px 52px; }
.modern-copy h2 { margin-top: 17px; font-family: var(--sans); font-size: 38px; font-weight: 600; line-height: 1.45; letter-spacing: -0.035em; }
.modern-copy > p { max-width: 560px; margin-top: 17px; font-size: 15px; line-height: 1.95; color: var(--muted); }
.modern-names { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--line-strong); }
.modern-names a { padding: 16px 18px 10px 0; border-right: 1px solid var(--line); }
.modern-names a:last-child { border-right: 0; }
.modern-names b { display: block; font-family: var(--sans); font-size: 19px; font-weight: 600; }
.modern-names span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.modern-names a:hover b { color: var(--red); }

/* ---------- index / proposal ---------- */
.proposal { padding: 70px 0 100px; }
.proposal-cover { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; min-height: 560px; }
.proposal-cover h1 { margin-top: 22px; font-family: var(--sans); font-size: clamp(48px, 5vw, 72px); font-weight: 600; line-height: 1.3; letter-spacing: -0.05em; }
.proposal-cover h1 span { color: var(--red); }
.proposal-cover p { max-width: 570px; margin-top: 24px; font-size: 15px; line-height: 2; color: var(--muted); }
.proposal-meta { display: flex; gap: 26px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; letter-spacing: 0.1em; color: var(--quiet); }
.proposal-meta strong { display: block; margin-bottom: 5px; font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.proposal-cover-art { position: relative; padding: 28px; background: var(--paper-2); border: 1px solid var(--line); }
.proposal-cover-art::before { content: "唯識"; position: absolute; right: 28px; top: 12px; font-family: var(--sans); font-size: 30px; letter-spacing: 0.18em; color: var(--red); writing-mode: vertical-rl; }
.proposal-cover-art .pc-frame { padding: 16px; background: var(--green); border-radius: 180px 180px 1px 1px; }
.proposal-cover-art img { width: 100%; height: 430px; object-fit: cover; object-position: 50% 18%; border-radius: 164px 164px 1px 1px; filter: saturate(0.72) sepia(0.08); }
.proposal-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.swatch { padding: 12px 10px 10px; border: 1px solid var(--line); background: var(--surface); }
.swatch i { display: block; height: 30px; margin-bottom: 8px; }
.swatch b { display: block; font-size: 12px; font-weight: 500; }
.swatch span { font-size: 11px; color: var(--quiet); letter-spacing: 0.04em; }
.proposal-section { margin-top: 82px; }
.proposal-section > h2 { font-family: var(--sans); font-size: 34px; font-weight: 600; }
.proposal-section > p { max-width: 720px; margin-top: 12px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.proposal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.proposal-card { position: relative; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); background: rgba(252, 250, 245, 0.55); transition: border-color 0.25s ease, transform 0.35s var(--ease); }
.proposal-card:hover { transform: translateY(-3px); border-color: rgba(166, 64, 45, 0.4); }
.proposal-card .pc-no { font-family: var(--sans); font-size: 13px; color: var(--red); }
.proposal-card h3 { margin-top: 8px; font-family: var(--sans); font-size: 25px; font-weight: 600; }
.proposal-card p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.proposal-card .pc-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink); }
.proposal-card svg { width: 12px; height: 12px; }
.design-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.principle { padding: 24px 24px 22px; border-top: 2px solid var(--green); background: rgba(252, 250, 245, 0.46); }
.principle b { font-family: var(--sans); font-size: 15.5px; font-weight: 600; }
.principle p { margin-top: 7px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.proposal-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(246, 242, 233, 0.92); backdrop-filter: blur(16px); }
.proposal-nav .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 30px; }
.proposal-nav-links { display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--muted); }
.proposal-nav-links a:hover { color: var(--red); }
.proposal-nav-tag { font-size: 12px; letter-spacing: 0.16em; color: var(--quiet); }
.proposal-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.preview-card { display: block; border: 1px solid var(--line); background: rgba(252, 250, 245, 0.55); transition: transform 0.35s var(--ease), border-color 0.25s ease, box-shadow 0.35s ease; }
.preview-card:hover { transform: translateY(-4px); border-color: rgba(166, 64, 45, 0.35); box-shadow: 0 28px 60px -50px rgba(28, 32, 29, 0.65); }
.preview-shot { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.preview-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.preview-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(32, 38, 31, 0.04); }
.preview-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 19px; }
.preview-meta h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; }
.preview-meta span { display: block; margin-top: 3px; font-size: 12px; letter-spacing: 0.08em; color: var(--quiet); }
.preview-meta .go { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: background 0.2s ease, color 0.2s ease; }
.preview-meta .go svg { width: 12px; height: 12px; }
.preview-card:hover .preview-meta .go { color: #fff; background: var(--red); border-color: var(--red); }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.before-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.before-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
.before-card .ba-label { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.before-card .ba-label b { font-weight: 600; color: var(--ink); }
.before-card .ba-label em { font-style: normal; font-size: 12px; color: var(--quiet); }
.change-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; margin-top: 28px; border-top: 1px solid var(--line-strong); }
.change-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.change-item b { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--red); }
.change-item h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.change-item p { margin-top: 4px; font-size: 12px; line-height: 1.75; color: var(--muted); }
.proposal-footer { margin-top: 90px; padding: 34px 0 40px; border-top: 1px solid var(--line); }
.proposal-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; color: var(--quiet); }
.proposal-footer-links { display: flex; gap: 20px; }
.proposal-footer a:hover { color: var(--red); }

/* ---------- v2 typography · sans first ---------- */
body { font-size: 17px; }
h1, h2, h3, h4 { letter-spacing: -0.025em; }

/* Serif is reserved for the hero / proposal display only. */
.hero-title,
.page-hero h1,
.proposal-cover h1 { font-family: var(--headline); font-weight: 900; }
.hero-title { font-size: clamp(58px, 5.6vw, 84px); letter-spacing: -0.055em; line-height: 1.18; }

.topline { font-size: 13.5px; }
.brand-name { font-size: 22px; }
.brand-latin { font-size: 10.5px; }
.main-nav a { font-size: 16px; }
.library-link { font-size: 14.5px; }
.login-link { font-size: 15px; }
.topline-links { font-size: 13px; }
.eyebrow { font-size: 13.5px; }
.btn { font-size: 15px; }
.btn-sm { font-size: 15px; }
.link-arrow { font-size: 15.5px; }

.section-head h2 { font-size: clamp(32px, 3.1vw, 46px); }
.section-head p { font-size: 16px; }
.hero-lead { font-size: 17.5px; line-height: 1.95; }
.hero-metric strong { font-size: 31px; }
.hero-metric span { font-size: 13.5px; }
.hero-note-head span { font-size: 12.5px; }
.hero-note-head em { font-size: 13.5px; }
.hero-note h3 { font-size: 21px; }
.hero-note p { font-size: 14.5px; }
.hero-note-foot small { font-size: 13px; }
.hero-note-foot a { font-size: 14px; }
.hero-art-caption .cn { font-size: 24px; }
.hero-art-caption .en { font-size: 12.5px; }
.hero-vertical { font-size: 14.5px; }
.creed-strip .container { font-size: 13.5px; }
.creed-list b { font-size: 15.5px; }

.path-card h3 { font-size: 30px; }
.path-card p { font-size: 15px; line-height: 1.8; }
.path-tags a { font-size: 14.5px; }
.path-no { font-size: 15px; }
.path-glyph { font-size: 24px; }

.beginner-copy h2 { font-size: 40px; }
.beginner-copy p { font-size: 15.5px; }
.beginner-step .no { font-size: 14px; }
.beginner-step h3 { font-size: 19.5px; }
.beginner-step p { font-size: 15.5px; }

.featured-meta { font-size: 14px; }
.featured-story h3 { font-size: 32px; }
.featured-story .excerpt { font-size: 16px; }
.story-row .date { font-size: 13px; }
.story-row h4 { font-size: 17.5px; }
.story-row .cat { font-size: 12.5px; }
.side-card h3 { font-size: 27px; }
.side-card p { font-size: 15px; }
.practice-figure span { font-size: 13px; }
.notice-head h3 { font-size: 19px; }
.notice-head a { font-size: 13.5px; }
.notice-list h4 { font-size: 15.5px; }
.notice-list time { font-size: 12.5px; }

.person-body h3 { font-size: 30px; }
.person-body p { font-size: 14px; }
.person-era { font-size: 12px; }
.practice-copy h2 { font-size: clamp(38px, 3.6vw, 52px); }
.practice-copy p { font-size: 15px; }
.practice-stat span { font-size: 13px; }
.practice-stat strong { font-size: 58px; }

.footer-brand p { font-size: 15px; }
.footer-col h4 { font-size: 13px; }
.footer-col a { font-size: 15.5px; }
.footer-bottom { font-size: 12.5px; }
.footer-brand .footer-seal { font-size: 12.5px; }
.footer-qr-label { font-size: 12px; }

.breadcrumb { font-size: 14px; }
.page-hero h1 { font-size: clamp(50px, 5.1vw, 72px); letter-spacing: -0.035em; line-height: 1.25; }
.page-hero-lead { font-size: 16.5px; }
.page-hero-meta .tag { font-size: 13.5px; height: 28px; }
.aside-card .as-label { font-size: 12px; }
.aside-card p { font-size: 16px; }
.aside-card small { font-size: 12.5px; }
.subnav-tabs a { font-size: 15px; }
.subnav-count { font-size: 13px; }
.mini-search input { font-size: 14px; }

.side-title { font-size: 12px; }
.side-index a { font-size: 15px; }
.side-index a span { font-size: 12px; }
.side-study h3 { font-size: 20px; }
.side-study li { font-size: 13.5px; }
.side-link { font-size: 13.5px; }
.chapter-title h2 { font-size: 38px; }
.chapter-head p { font-size: 14px; }
.book-meta { font-size: 12.5px; }
.book-info h3 { font-size: 23px; }
.book-info p { font-size: 14.5px; }
.book-foot span { font-size: 12.5px; }
.book-foot a { font-size: 13px; }
.book-card.is-featured h3 { font-size: 34px; }
.book-card.is-featured p { font-size: 15.5px; }
.yiben-head h2 { font-size: 34px; }
.yiben-head p { font-size: 14px; }
.yiben-root h3 { font-size: 28px; }
.yiben-root p { font-size: 13px; }
.yiben-branches a { font-size: 15px; }
.yiben-branches b, .yiben-branches span { font-size: 12.5px; }

.article-kicker { font-size: 13.5px; }
.article-head h1 { font-size: clamp(40px, 4.2vw, 56px); letter-spacing: -0.03em; line-height: 1.35; }
.article-deck { font-size: 18.5px; }
.article-byline { font-size: 14px; }
.tool-btn { font-size: 13.5px; height: 33px; }
.toc-label { font-size: 12px; }
.toc-list a { font-size: 14.5px; }
.toc-note { font-size: 13px; }
.article-body { font-family: var(--sans); font-size: var(--read-size); line-height: 1.98; color: #30352d; letter-spacing: 0.002em; }
.article-body > p { margin-bottom: 26px; }
.article-body h2 { font-family: var(--sans); font-size: 30px; letter-spacing: -0.025em; }
.article-body h3 { font-family: var(--sans); font-size: 22px; }
.article-body .quote { font-family: var(--sans); font-size: 22px; line-height: 1.85; }
.article-body .verse { font-family: var(--sans); font-size: 20px; }
.article-body .glossary { font-size: 15px; }
.glossary dl { font-size: 15px; }
.glossary dd { font-size: 16px; }
.dharma-table { font-size: 15px; }
.dharma-table th { font-size: 12px; }
.dharma-table td:first-child { font-size: 15px; }
.dharma-table td:nth-child(3) { font-size: 16px; }
.author-card h4 { font-size: 19px; }
.author-card p { font-size: 13.5px; }
.rail-title { font-size: 12px; }
.series-card h3 { font-size: 18px; }
.series-card p { font-size: 13px; }
.series-list a { font-size: 13.5px; }
.rail-tags a { font-size: 12px; }
.reading-actions a { font-size: 13.5px; }
.font-tools span { font-size: 12px; }
.related-head h2 { font-size: 32px; }
.related-head a { font-size: 14px; }
.related-card h3 { font-size: 20px; }
.related-card p { font-size: 13.5px; }

.lineage-head h2 { font-size: 35px; }
.lineage-head p { font-size: 14px; }
.lineage-era { font-size: 12px; }
.lineage-node h3 { font-size: 21px; }
.lineage-node p { font-size: 12.5px; }
.people-filters a { font-size: 13.5px; height: 36px; }
.era-head h2 { font-size: 29px; }
.feature-person-body h2 { font-size: 46px; }
.feature-person-body .dates { font-size: 13px; }
.feature-person-body .fp-lead { font-size: 17px; }
.fp-timeline strong { font-size: 23px; }
.fp-timeline span { font-size: 12.5px; }
.modern-copy h2 { font-size: 40px; }
.modern-copy > p { font-size: 15.5px; }
.modern-names b { font-size: 20px; }
.modern-names span { font-size: 12px; }
.people-quote blockquote { font-size: clamp(26px, 2.8vw, 37px); }

/* ---------- theme toggle ---------- */
.theme-toggle { position: relative; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle svg.icon-sun { display: none !important; }
[data-theme="dark"] .theme-toggle svg.icon-moon { display: none !important; }
[data-theme="dark"] .theme-toggle svg.icon-sun { display: block !important; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .container { width: min(1280px, calc(100vw - 64px)); }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 15px; }
  .header-inner { gap: 18px; }
  .header-tools { gap: 8px; }
  .library-link { padding: 8px 10px; font-size: 13.5px; }
  .login-link { font-size: 13.5px; }
  .hero-grid { gap: 40px; }
  .hero-art { min-height: 550px; }
  .hero-art-media { height: 518px; }
  .hero-note { left: -34px; width: 276px; }
  .reading-layout { grid-template-columns: 180px minmax(0, 680px) 200px; gap: 32px; }
}

@media (max-width: 1080px) {
  .topline { display: none; }
  .site-header { top: 0; }
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-tools .library-link, .header-tools .login-link, .header-divider { display: none; }
  .header-inner { height: 70px; }
  .subnav { top: 70px; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 700px; }
  .hero-title { font-size: clamp(52px, 8vw, 76px); }
  .hero-vertical { display: none; }
  .hero-visual { width: min(560px, 86%); margin-left: auto; }
  .hero-watermark { display: none; }
  .path-grid { grid-template-columns: 1fr 1fr; }
  .path-card:last-child { grid-column: span 2; min-height: 270px; }
  .latest-layout { grid-template-columns: 1fr; gap: 40px; }
  .latest-side { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
  .notice-block { margin-top: 0; }
  .catalog-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
  .book-card { grid-template-columns: 86px minmax(0, 1fr); gap: 14px; padding: 15px; }
  .book-cover { height: 116px; }
  .book-info h3 { font-size: 19px; }
  .book-card.is-featured { grid-template-columns: 160px minmax(0, 1fr); }
  .reading-layout { grid-template-columns: 1fr minmax(0, 700px); }
  .reading-side { display: none; }
  .people-grid, .people-grid-lg { grid-template-columns: repeat(3, 1fr); }
  .lineage { padding: 38px 34px 42px; }
  .page-hero-grid { gap: 40px; }
  .page-aside .giant-glyph { font-size: 150px; }
  .proposal-cover { grid-template-columns: 1fr 0.8fr; gap: 40px; }
}

@media (max-width: 920px) {
  .reading-layout { grid-template-columns: 1fr; }
  .reading-toc { display: none; }
}

@media (max-width: 820px) {
  .container { width: calc(100vw - 40px); }
  .header-inner { height: 64px; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 19px; letter-spacing: 0.06em; }
  .brand-latin { display: none; }
  .header-tools { gap: 6px; }
  .header-tools .icon-btn { width: 34px; height: 34px; }
  .section { padding: 66px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 28px; }
  .section-head .head-link { padding-bottom: 0; }
  .hero { padding: 28px 0 46px; }
  .hero-metrics { width: 100%; justify-content: space-between; }
  .hero-metric { min-width: 0; flex: 1; padding-right: 14px; margin-right: 14px; }
  .hero-metric strong { font-size: 24px; }
  .hero-visual { width: 100%; }
  .hero-art { min-height: 470px; }
  .hero-art-media { height: 438px; }
  .hero-note { left: 12px; width: 280px; bottom: 26px; }
  .hero-seal { left: 12px; top: 30px; }
  .creed-strip .container { align-items: flex-start; flex-direction: column; gap: 8px; padding: 16px 0; }
  .creed-list { flex-wrap: wrap; gap: 8px 0; }
  .creed-list span { padding: 0 14px 0 0; border: 0; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card, .path-card:last-child { grid-column: auto; min-height: 280px; }
  .beginner-wrap { grid-template-columns: 1fr; gap: 34px; padding: 36px 26px; }
  .beginner-step { grid-template-columns: 32px 1fr; gap: 4px 12px; }
  .beginner-step p { grid-column: 2; }
  .latest-side { grid-template-columns: 1fr; }
  .featured-body { grid-template-columns: 1fr; gap: 10px; }
  .featured-index { display: none; }
  .people-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person-body { padding: 16px; }
  .person-body h3 { font-size: 23px; }
  .practice-inner { grid-template-columns: 1fr; gap: 32px; padding: 46px 0; }
  .practice-stats { max-width: 420px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; padding: 48px 0 36px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; padding: 34px 0 40px; }
  .page-aside { justify-content: flex-start; min-height: 0; }
  .page-aside .giant-glyph { display: none; }
  .page-aside .aside-card { position: static; width: min(340px, 100%); }
  .subnav-inner { gap: 12px; }
  .subnav-tabs { gap: 19px; overflow-x: auto; }
  .subnav-tabs a { font-size: 13px; }
  .subnav-tools { display: none; }
  .catalog-layout { grid-template-columns: 1fr; padding-top: 32px; }
  .catalog-side { position: static; }
  .side-index { display: flex; flex-wrap: wrap; border-left: 0; gap: 6px; }
  .side-index a { padding: 7px 10px; border: 1px solid var(--line); }
  .side-index a.is-active { border-color: var(--red); }
  .side-study, .side-link, .side-title { display: none; }
  .book-grid { grid-template-columns: 1fr; }
  .book-grid.is-four { grid-template-columns: 1fr 1fr; }
  .book-card.is-featured { grid-column: auto; grid-template-columns: 110px minmax(0, 1fr); min-height: 190px; padding: 16px; }
  .book-card.is-featured .book-cover { height: 150px; }
  .book-card.is-featured h3 { font-size: 23px; }
  .book-card.is-featured p { font-size: 12.5px; }
  .chapter-head p { display: none; }
  .yiben { padding: 30px 24px; }
  .yiben-grid { grid-template-columns: 1fr; gap: 24px; }
  .yiben-head { align-items: flex-start; flex-direction: column; }
  .yiben-head p { text-align: left; }
  .reading-layout { grid-template-columns: 1fr; padding: 30px 0 56px; }
  .reading-toc { display: none; }
  .article-head { padding-top: 20px; text-align: left; }
  .article-kicker { justify-content: flex-start; }
  .article-deck { margin-left: 0; margin-right: 0; }
  .article-byline { justify-content: flex-start; }
  .article-tools-top { justify-content: flex-start; }
  .article-body { font-size: 17.5px; line-height: 2; }
  .article-body h2 { font-size: 23px; }
  .article-body .quote { font-size: 18px; padding: 22px 20px 20px 24px; }
  .article-body .verse { font-size: 17px; }
  .author-card { grid-template-columns: 46px 1fr; }
  .author-card .link-arrow { grid-column: 2; width: fit-content; }
  .related-grid { grid-template-columns: 1fr; }
  .lineage { margin-left: -20px; margin-right: -20px; padding: 30px 24px 34px; }
  .lineage-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .lineage-head p { text-align: left; }
  .lineage-track { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 8px; }
  .lineage-track::before { display: none; }
  .lineage-node { flex: 0 0 112px; }
  .lineage-arrow { display: none; }
  .people-toolbar { align-items: flex-start; flex-direction: column; padding-top: 30px; }
  .people-toolbar .mini-search { width: 100%; }
  .people-grid-lg { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-person { grid-template-columns: 1fr; margin-top: 48px; }
  .feature-person-media { min-height: 300px; max-height: 380px; }
  .feature-person-media::after { background: linear-gradient(180deg, transparent 50%, rgba(238, 231, 218, 0.9)); }
  .feature-person-body { padding: 30px 26px 34px; }
  .feature-person-body h2 { font-size: 36px; }
  .fp-timeline { gap: 8px; }
  .modern-revival { grid-template-columns: 1fr; }
  .modern-media { min-height: 320px; max-height: 380px; }
  .modern-copy { padding: 32px 26px; }
  .modern-copy h2 { font-size: 30px; }
  .modern-names { grid-template-columns: 1fr; }
  .modern-names a { border-right: 0; border-bottom: 1px solid var(--line); padding: 13px 0; }
  .modern-names a:last-child { border-bottom: 0; }
  .people-quote { margin-top: 54px; }
  .proposal-cover { grid-template-columns: 1fr; gap: 36px; }
  .proposal-cover-art { max-width: 440px; }
  .proposal-swatches { grid-template-columns: repeat(3, 1fr); }
  .proposal-grid { grid-template-columns: 1fr; }
  .proposal-page-grid { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .change-list { grid-template-columns: 1fr; gap: 0; }
  .proposal-nav-links .proposal-nav-tag,
  .proposal-nav-links a:not(:last-child) { display: none; }
  .proposal-nav .container { height: 64px; }
  .proposal-footer .container { flex-direction: column; align-items: flex-start; }
  .design-principles { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 44px; }
  .hero-art { min-height: 410px; }
  .hero-art-media { height: 378px; }
  .hero-art-caption { display: none; }
  .hero-note { width: calc(100% - 42px); left: 21px; bottom: 20px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .featured-story h3 { font-size: 23px; }
  .story-row { grid-template-columns: 70px 1fr 16px; gap: 10px; }
  .story-row h4 { font-size: 15.5px; }
  .people-grid, .people-grid-lg { grid-template-columns: 1fr; }
  .person-media { aspect-ratio: 4 / 4.3; }
  .practice-stats { gap: 14px; }
  .practice-stat strong { font-size: 40px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { font-size: 11.5px; }
  .book-card { grid-template-columns: 78px 1fr; }
  .book-cover { height: 108px; }
  .book-card.is-featured { grid-template-columns: 82px 1fr; }
  .book-card.is-featured .book-cover { height: 120px; }
  .book-grid.is-four { grid-template-columns: 1fr; }
  .yiben-branches { grid-template-columns: 1fr; }
  .dharma-table { font-size: 12.5px; }
  .dharma-table th, .dharma-table td { padding: 10px 7px; }
  .dharma-table th:nth-child(4), .dharma-table td:nth-child(4) { display: none; }
  .page-hero h1 { font-size: 42px; }
  .page-hero-lead { font-size: 15.5px; line-height: 1.9; }
  .article-head h1 { font-size: 31px; }
  .article-deck { font-size: 15px; }
  .article-figure figcaption { flex-direction: column; gap: 2px; }
  .fp-timeline { grid-template-columns: 1fr 1fr; }
  .proposal { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  body::after, .topline, .site-header, .subnav, .reading-progress, .site-footer { display: none !important; }
  body::before { background: #fff; }
  .container { width: 100%; }
}


/* ---------- dark mode ---------- */
[data-theme="dark"] {
  --paper: #111512;
  --paper-2: #181f1b;
  --paper-3: #202722;
  --surface: #191f1b;
  --ink: #ede8dc;
  --ink-2: #c9c6b8;
  --muted: #a5a697;
  --quiet: #7e8275;
  --line: rgba(237, 232, 220, 0.14);
  --line-strong: rgba(237, 232, 220, 0.27);
  --green: #2b342f;
  --green-2: #39443e;
  --green-3: #69736c;
  --red: #d2715a;
  --red-2: #e38a76;
  --gold: #cda66d;
  --white: #fcfaf5;
  --shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.82);
  color-scheme: dark;
}
[data-theme="dark"] body::before {
  background:
    radial-gradient(1000px 620px at 86% -8%, rgba(205, 166, 109, 0.09), transparent 64%),
    radial-gradient(820px 520px at -8% 20%, rgba(43, 52, 47, 0.3), transparent 62%),
    #111512;
}
[data-theme="dark"] body::after { opacity: 0.045; }
[data-theme="dark"] .topline { background: #0c100e; color: rgba(237, 232, 220, 0.58); }
[data-theme="dark"] .site-header { background: rgba(15, 22, 18, 0.9); }
[data-theme="dark"] .site-header.is-scrolled { background: rgba(15, 22, 18, 0.97); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.9); }
[data-theme="dark"] .search-panel { background: rgba(3, 7, 5, 0.7); }
[data-theme="dark"] .search-box { border-color: rgba(237, 232, 220, 0.12); }
[data-theme="dark"] .mobile-nav { background: var(--paper); }
[data-theme="dark"] .hero-art { background: #28332d; }
[data-theme="dark"] .hero-watermark { color: rgba(237, 232, 220, 0.028); }
[data-theme="dark"] .hero-art-media img { filter: saturate(0.66) sepia(0.08) brightness(0.8) contrast(1.04); }
[data-theme="dark"] .hero-note { box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.9); }
[data-theme="dark"] .path-card:not(.is-dark),
[data-theme="dark"] .book-card:not(.is-featured),
[data-theme="dark"] .related-card,
[data-theme="dark"] .rail-block,
[data-theme="dark"] .toc-note,
[data-theme="dark"] .glossary,
[data-theme="dark"] .aside-card,
[data-theme="dark"] .mini-search {
  background: rgba(25, 31, 27, 0.72);
  border-color: var(--line);
}
[data-theme="dark"] .path-card:not(.is-dark)::after { border-color: rgba(237, 232, 220, 0.08); }
[data-theme="dark"] .path-card:hover { border-color: rgba(210, 113, 90, 0.48); }
[data-theme="dark"] .beginner-wrap { background: #181f1b; border-color: var(--line); }
[data-theme="dark"] .beginner-wrap::after { color: rgba(237, 232, 220, 0.035); }
[data-theme="dark"] .featured-media { background: var(--paper-3); }
[data-theme="dark"] .featured-media img { filter: saturate(0.62) sepia(0.06) brightness(0.82) contrast(1.04); }
[data-theme="dark"] .page-hero::before { background: linear-gradient(105deg, rgba(29, 43, 35, 0.72), transparent 62%); }
[data-theme="dark"] .page-aside .giant-glyph { color: rgba(237, 232, 220, 0.055); }
[data-theme="dark"] .subnav { background: rgba(15, 22, 18, 0.94); }
[data-theme="dark"] .book-cover { background: var(--paper-3); box-shadow: 6px 10px 18px -14px rgba(0, 0, 0, 0.85); }
[data-theme="dark"] .book-cover img { filter: brightness(0.86); }
[data-theme="dark"] .yiben { background: #181f1b; border-color: var(--line); }
[data-theme="dark"] .yiben::after { color: rgba(237, 232, 220, 0.035); }
[data-theme="dark"] .article-top { border-color: var(--line); }
[data-theme="dark"] .article-body { color: #d6d0c3; }
[data-theme="dark"] .article-body h2,
[data-theme="dark"] .article-body h3,
[data-theme="dark"] .article-body strong { color: var(--ink); }
[data-theme="dark"] .article-body .quote { background: #1c221e; color: var(--ink); }
[data-theme="dark"] .article-body .quote cite { color: var(--muted); }
[data-theme="dark"] .article-body .verse { color: var(--ink); border-color: var(--line-strong); }
[data-theme="dark"] .article-figure img { filter: brightness(0.86) contrast(1.04); }
[data-theme="dark"] .dharma-table th { border-top-color: var(--ink); border-bottom-color: var(--line-strong); color: var(--muted); }
[data-theme="dark"] .dharma-table td { border-color: var(--line); color: var(--ink-2); }
[data-theme="dark"] .dharma-table td:nth-child(2) { color: var(--ink); }
[data-theme="dark"] .dharma-table tr:hover td { background: rgba(237, 232, 220, 0.045); }
[data-theme="dark"] .author-avatar { background: var(--paper-2); }
[data-theme="dark"] .tool-btn,
[data-theme="dark"] .font-tools button { color: var(--muted); }
[data-theme="dark"] .reading-progress { background: var(--red); }
[data-theme="dark"] .feature-person { background: #181f1b; border-color: var(--line); }
[data-theme="dark"] .feature-person-media::after { background: linear-gradient(90deg, transparent 55%, rgba(15, 22, 18, 0.86)); }
[data-theme="dark"] .modern-revival { background: #181f1b; border-color: var(--line); }
[data-theme="dark"] .modern-media::after { background: linear-gradient(90deg, transparent 52%, rgba(15, 22, 18, 0.78)); }
[data-theme="dark"] .modern-media img { filter: saturate(0.55) sepia(0.05) brightness(0.78); }
[data-theme="dark"] .person-card { background: var(--paper-3); }
[data-theme="dark"] .person-media img,
[data-theme="dark"] .lineage-portrait img { filter: saturate(0.62) sepia(0.06) brightness(0.78) contrast(1.05); }
[data-theme="dark"] .people-filters a { border-color: var(--line); }
[data-theme="dark"] .people-filters a.is-active { background: var(--green); }
[data-theme="dark"] .people-quote { border-color: var(--line); }
[data-theme="dark"] .site-footer { background: #0c100e; }
[data-theme="dark"] .footer-col h4 { color: rgba(237, 232, 220, 0.4); }
[data-theme="dark"] .tag { background: rgba(237, 232, 220, 0.08); color: var(--ink-2); }
[data-theme="dark"] .tag.is-solid { color: var(--red); background: rgba(210, 113, 90, 0.13); }
[data-theme="dark"] .tag.is-dark { color: #efe5d2; background: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .link-arrow { border-color: var(--line-strong); }
[data-theme="dark"] .path-card.is-dark,
[data-theme="dark"] .side-card,
[data-theme="dark"] .practice-band,
[data-theme="dark"] .lineage,
[data-theme="dark"] .book-card.is-featured { background: #242e29; }
[data-theme="dark"] .path-card.is-dark { border-color: #242e29; }
[data-theme="dark"] .path-card.is-dark .path-arrow { border-color: rgba(237, 232, 220, 0.25); }
[data-theme="dark"] .path-card.is-dark .path-tags a { color: rgba(237, 232, 220, 0.68); }
[data-theme="dark"] .side-card::after { border-color: rgba(237, 232, 220, 0.1); }
[data-theme="dark"] .practice-band::before {
  background:
    radial-gradient(700px 360px, rgba(205, 166, 109, 0.14), transparent 60%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.02), transparent 50%);
}
[data-theme="dark"] .practice-band::after { color: rgba(237, 232, 220, 0.028); }
[data-theme="dark"] .footer-bottom { border-color: rgba(237, 232, 220, 0.1); }
[data-theme="dark"] .event-row,
[data-theme="dark"] .article-row,
[data-theme="dark"] .course-card { border-color: var(--line); }
[data-theme="dark"] ::selection { color: #111512; background: #d8b27b; }



[data-theme="dark"] .btn-light { color: #1a211d; background: #e3cfaa; }
[data-theme="dark"] .btn-light:hover { color: #111512; background: #f0dfbd; }








