:root {
  --paper: #f3efe7;
  --paper-deep: #e8e0d3;
  --paper-light: #fbf8f2;
  --ink: #1e2722;
  --ink-soft: #536058;
  --ink-faint: #616c65;
  --line: rgba(30, 39, 34, 0.14);
  --line-strong: rgba(30, 39, 34, 0.26);
  --forest: #24483b;
  --forest-light: #dfe8df;
  --accent: #b34a2c;
  --accent-soft: #f2d7c9;
  --gold: #b88a3e;
  --white: #fffdf8;
  --shadow-sm: 0 8px 24px rgba(36, 48, 41, 0.07);
  --shadow-md: 0 22px 70px rgba(36, 48, 41, 0.1);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --content: 1160px;
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(184, 138, 62, 0.1), transparent 28rem),
    radial-gradient(circle at 15% 80%, rgba(36, 72, 59, 0.07), transparent 32rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(30, 39, 34, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 39, 34, 0.022) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}

::selection {
  color: var(--white);
  background: var(--forest);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px clamp(20px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 231, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--forest);
  border-radius: 50% 50% 50% 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  place-items: center;
  transform: rotate(-4deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.03em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.top-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.top-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.top-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.top-nav a:hover::after,
.top-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.icon-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.menu-button {
  display: none;
}

.mobile-directory {
  position: fixed;
  inset: 78px 0 0;
  z-index: 19;
  padding: 20px;
  background: rgba(30, 39, 34, 0.3);
  backdrop-filter: blur(5px);
}

.mobile-directory-inner {
  max-height: calc(100vh - 118px);
  padding: 22px;
  overflow: auto;
  background: var(--paper-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.app-shell {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  width: min(1540px, calc(100% - 48px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
}

body[data-view="cover"] .app-shell,
body[data-view="preface"] .app-shell {
  display: block;
  width: 100%;
}

body[data-view="cover"] .directory-panel,
body[data-view="preface"] .directory-panel {
  display: none;
}

body[data-view="cover"] .main-content,
body[data-view="preface"] .main-content {
  padding-inline: clamp(20px, 5vw, 76px);
}

.directory-panel {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 42px 26px 32px 4px;
  overflow: auto;
  border-right: 1px solid var(--line);
}

.directory-heading h2 {
  margin: 4px 0 6px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.directory-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.directory-progress {
  display: grid;
  gap: 9px;
  margin: 24px 0 20px;
  color: var(--ink-faint);
  font-size: 12px;
}

.directory-guide-links,
.mobile-guide-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 18px;
}

.directory-guide-links a,
.mobile-guide-links a {
  padding: 8px 10px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.55);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  text-align: center;
  text-decoration: none;
}

.mobile-guide-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.progress-track {
  display: block;
  height: 5px;
  overflow: hidden;
  background: rgba(30, 39, 34, 0.08);
  border-radius: 999px;
}

.progress-track i {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 300ms ease;
}

.directory-list {
  display: grid;
  gap: 5px;
}

.directory-link {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 10px;
  color: var(--ink-soft);
  border-radius: 10px;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.directory-link:hover {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.7);
  transform: translateX(2px);
}

.directory-link[aria-current="page"] {
  color: var(--white);
  background: var(--forest);
}

.directory-link .num {
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 13px;
}

.directory-link[aria-current="page"] .num {
  color: rgba(255, 255, 255, 0.58);
}

.directory-link .name {
  display: block;
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.directory-link .session {
  display: block;
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.directory-link[aria-current="page"] .session {
  color: rgba(255, 255, 255, 0.56);
}

.directory-link[aria-disabled="true"] {
  cursor: default;
  opacity: 0.46;
}

.directory-link[aria-disabled="true"]:hover {
  color: var(--ink-soft);
  background: transparent;
  transform: none;
}

.directory-about {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.main-content {
  width: 100%;
  padding: 0 clamp(28px, 5vw, 76px);
  overflow: hidden;
}

.view {
  width: 100%;
  max-width: var(--content);
  min-height: 100vh;
  margin: 0 auto;
  padding: 52px 0 100px;
  animation: view-in 420ms ease both;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.65fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: end;
  padding: 22px 0 58px;
  border-bottom: 1px solid var(--line);
}

.cover-view {
  display: flex;
  padding-top: 0;
  flex-direction: column;
}

.book-cover-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 34px 0 48px;
}

.book-cover-stage::before {
  position: absolute;
  top: 7%;
  right: 5%;
  width: 240px;
  height: 240px;
  background: rgba(200, 95, 59, 0.08);
  border-radius: 50%;
  content: "";
  filter: blur(1px);
}

.book-cover-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
}

.book-cover-image {
  position: relative;
  z-index: 2;
  width: min(520px, 86%);
  border-radius: 8px;
  filter: drop-shadow(0 36px 38px rgba(49, 38, 25, 0.22));
  mix-blend-mode: multiply;
  transform: rotate(-1.8deg);
}

.cover-caption {
  position: absolute;
  right: 3%;
  bottom: 8%;
  z-index: 3;
  padding: 7px 11px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.cover-orbit {
  position: absolute;
  border: 1px solid rgba(200, 95, 59, 0.24);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
}

.orbit-two {
  width: 390px;
  height: 390px;
  border-color: rgba(36, 72, 59, 0.15);
  transform: translate(30px, -20px);
}

.book-cover-copy {
  position: relative;
  z-index: 2;
  padding: 36px 0;
}

.book-cover-copy h1 {
  margin: 14px 0 12px;
  font-family: var(--serif);
  font-size: clamp(58px, 8.2vw, 116px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.book-cover-copy h1 em {
  color: #dc4f20;
  font-style: normal;
}

.cover-subtitle {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.4;
}

.cover-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.cover-actions,
.preface-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cover-facts,
.preface-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.cover-facts p,
.preface-facts p {
  margin: 0;
}

.cover-facts strong,
.preface-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

.cover-facts span,
.preface-facts span {
  color: var(--ink-faint);
  font-size: 11px;
}

.cover-organizers {
  margin: 20px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
}

.cover-note {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 280px;
  gap: 38px;
  align-items: start;
  padding: 44px 0 66px;
  border-top: 1px solid var(--line);
}

.cover-note blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.5;
}

.cover-note > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.preface-view {
  padding-top: 44px;
}

.preface-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.preface-copy h1 {
  max-width: 900px;
  margin: 12px 0 20px;
  font-family: var(--serif);
  font-size: clamp(44px, 6.2vw, 78px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.preface-photo {
  position: relative;
  margin: 0;
  padding: 12px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transform: rotate(1.5deg);
}

.preface-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}

.preface-photo figcaption {
  padding: 12px 4px 2px;
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.6;
}

.preface-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
  padding-top: 50px;
}

.preface-article > section + section {
  margin-top: 58px;
}

.preface-article h2 {
  margin: 7px 0 18px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.3;
}

.preface-article > section > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.reading-guide {
  display: grid;
  gap: 10px;
}

.reading-guide-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.reading-guide-item > span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 13px;
}

.reading-guide-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.reading-guide-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.principle-list li {
  position: relative;
  padding: 16px 16px 16px 38px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.principle-list li::before {
  position: absolute;
  top: 17px;
  left: 16px;
  color: var(--accent);
  content: "✦";
  font-size: 11px;
}

.preface-book-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 26px;
  background: var(--paper-deep);
  border-radius: var(--radius-md);
}

.preface-book-card img {
  display: block;
  width: 100%;
  border-radius: 4px;
  mix-blend-mode: multiply;
}

.preface-book-card h2 {
  margin-top: 2px;
}

.preface-side {
  position: sticky;
  top: 28px;
}

.organizer-card {
  padding: 22px;
  margin-bottom: 12px;
  color: var(--white);
  background: var(--forest);
  border-radius: var(--radius-md);
}

.organizer-card h2 {
  margin: 4px 0 16px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.organizer-card p:not(.eyebrow) {
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.catalog-view {
  padding-top: 36px;
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 42px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.catalog-hero h1 {
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 86px);
  font-weight: 600;
  line-height: 1.05;
}

.catalog-aside-note {
  padding: 18px;
  background: rgba(255, 253, 248, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.catalog-aside-note strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.catalog-aside-note span {
  color: var(--ink-faint);
  font-size: 11px;
}

.catalog-aside-note p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.hero::before {
  position: absolute;
  top: -20px;
  right: 10%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(200, 95, 59, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero h1 {
  max-width: 820px;
  margin: 12px 0 20px;
  font-family: var(--serif);
  font-size: clamp(42px, 5.3vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.nowrap {
  white-space: nowrap;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-lead {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
}

.hero-aside {
  padding: 24px;
  background: rgba(255, 253, 248, 0.64);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.hero-aside p {
  margin: 0;
}

.hero-aside .fact-number {
  display: block;
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.1;
}

.hero-aside .fact-label {
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.hero-aside .organizers {
  padding-top: 18px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
}

.section {
  padding: 64px 0 0;
}

.section-header {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-header h2,
.about-title {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-intro {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 20px;
}

.search-wrap {
  position: relative;
  flex: 1 1 240px;
  max-width: 360px;
}

.search-wrap svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 17px;
  fill: none;
  stroke: var(--ink-faint);
  stroke-width: 1.7;
  transform: translateY(-50%);
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 42px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.search-input:focus {
  background: var(--white);
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(36, 72, 59, 0.1);
}

.search-hint {
  position: absolute;
  top: 50%;
  right: 14px;
  padding: 2px 6px;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
  transform: translateY(-50%);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-button {
  padding: 7px 13px;
  color: var(--ink-soft);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  transition: all 160ms ease;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.author-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.author-card {
  position: relative;
  display: flex;
  min-height: 270px;
  padding: 26px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.author-card::after {
  position: absolute;
  right: -50px;
  bottom: -68px;
  width: 170px;
  height: 170px;
  background: var(--accent-soft);
  border-radius: 50%;
  content: "";
  opacity: 0.62;
  transition: transform 260ms ease;
}

.author-card:hover {
  z-index: 1;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.author-card:hover::after {
  transform: scale(1.15);
}

.card-meta,
.card-foot {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.session-label,
.theme-label {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.theme-label {
  padding: 4px 9px;
  color: var(--forest);
  background: var(--forest-light);
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.author-card h3 {
  position: relative;
  z-index: 1;
  max-width: 92%;
  margin: 38px 0 12px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.card-author {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.card-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  place-items: center;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.author-card:hover .card-arrow {
  color: var(--white);
  background: var(--forest);
}

.card-arrow svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.card-number {
  font-family: var(--serif);
  font-size: 13px;
}

.empty-filter {
  display: none;
  padding: 46px 20px;
  color: var(--ink-faint);
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}

.empty-filter.visible {
  display: block;
}

.progress-callout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: 28px 30px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
  border-radius: var(--radius-md);
}

.progress-callout::after {
  position: absolute;
  top: -80px;
  right: 80px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.progress-callout h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.progress-callout p {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.progress-ring {
  display: grid;
  width: 78px;
  height: 78px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 24px;
  place-items: center;
}

.book-feature {
  display: grid;
  grid-template-columns: minmax(180px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: 64px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--paper-deep);
  border-radius: var(--radius-lg);
}

.book-feature-image {
  display: block;
  width: min(240px, 100%);
  margin: 0 auto;
  border-radius: 5px;
  filter: drop-shadow(0 22px 28px rgba(30, 39, 34, 0.2));
  mix-blend-mode: multiply;
  transform: rotate(-2deg);
}

.book-object {
  position: relative;
  display: grid;
  width: min(240px, 100%);
  aspect-ratio: 0.7;
  padding: 24px 20px;
  margin: 0 auto;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 38%),
    var(--forest);
  border-radius: 4px 13px 13px 4px;
  box-shadow:
    -12px 13px 0 var(--gold),
    0 30px 55px rgba(30, 39, 34, 0.24);
  align-content: space-between;
  transform: rotate(-3deg);
}

.book-object::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px 8px 8px 2px;
  content: "";
}

.book-object span {
  position: relative;
  z-index: 1;
}

.book-object .book-kicker {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.book-object strong {
  align-self: center;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.35;
}

.book-object .book-authors {
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
}

.book-copy h2 {
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.25;
}

.book-copy p {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--ink-soft);
}

.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  color: var(--white);
  cursor: pointer;
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.button svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.article-header {
  position: relative;
  padding: 8px 0 42px;
  border-bottom: 1px solid var(--line);
}

.article-header::after {
  position: absolute;
  top: 0;
  right: 3%;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(200, 95, 59, 0.18);
  border-radius: 50%;
  content: "";
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
  color: var(--ink-faint);
  font-size: 12px;
}

.breadcrumb a {
  text-decoration: none;
}

.article-header h1 {
  max-width: 950px;
  margin: 12px 0 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.article-deck {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.8;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 30px;
}

.article-author {
  display: flex;
  gap: 11px;
  align-items: center;
}

.author-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 18px;
  place-items: center;
}

.article-author strong {
  display: block;
  font-size: 14px;
}

.article-author span {
  display: block;
  color: var(--ink-faint);
  font-size: 11px;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.article-actions .button {
  min-height: 38px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item {
  padding: 19px 20px;
  border-right: 1px solid var(--line);
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.2;
}

.stat-item span {
  color: var(--ink-faint);
  font-size: 11px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  padding-top: 44px;
}

.article-body > section + section {
  margin-top: 58px;
}

.article-body h2 {
  margin: 7px 0 18px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.article-body .summary {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.signal-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.signal-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.54);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.signal-card strong {
  color: var(--accent);
  font-size: 13px;
}

.signal-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 22px;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 16px;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 26px;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  margin: 9px 0 0 12px;
  background: var(--accent);
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--accent);
}

.timeline-content {
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.timeline-content:last-child {
  border-bottom: 0;
}

.timeline-label {
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin: 5px 0 7px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.timeline-content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.section-explainer {
  max-width: 680px;
  margin: -8px 0 22px;
  color: var(--ink-soft);
  font-size: 14px;
}

.reader-use {
  margin-top: 26px;
}

.reader-use-title {
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.reader-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.reader-use-card {
  padding: 16px;
  background: var(--forest-light);
  border-radius: var(--radius-sm);
}

.reader-use-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.reader-use-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.question-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.question-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px 18px;
  background: rgba(255, 253, 248, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.question-list span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 12px;
}

.question-list p {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
}

.concept-stack {
  display: grid;
  gap: 12px;
}

.concept-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.concept-number {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--forest);
  background: var(--forest-light);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 12px;
  place-items: center;
}

.concept-copy h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.concept-copy p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.concept-copy .concept-statement {
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

.concept-copy .concept-example {
  padding: 13px 15px;
  color: var(--ink-soft);
  background: var(--paper);
  border-radius: 8px;
  font-size: 13px;
}

.concept-example strong {
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.method-stack {
  display: grid;
  gap: 12px;
}

.method-detail {
  padding: 24px;
  background: rgba(255, 253, 248, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.method-detail header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.method-detail header > span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 12px;
}

.method-detail h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.method-detail header p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 12px;
}

.method-detail ol {
  display: grid;
  gap: 8px;
  padding: 0 0 0 52px;
  margin: 18px 0;
  color: var(--ink-soft);
  font-size: 14px;
  list-style: none;
  counter-reset: method-step;
}

.method-detail ol li {
  position: relative;
  counter-increment: method-step;
}

.method-detail ol li::before {
  position: absolute;
  left: -25px;
  color: var(--accent);
  content: counter(method-step);
  font-family: var(--serif);
  font-size: 11px;
}

.method-takeaway {
  margin: 0 0 0 52px;
  padding: 11px 13px;
  color: var(--forest);
  background: var(--forest-light);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
}

.tool-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.tool-index {
  display: grid;
  width: 26px;
  height: 26px;
  margin-bottom: 20px;
  color: var(--forest);
  background: var(--forest-light);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 12px;
  place-items: center;
}

.tool-card h3 {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 700;
}

.tool-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.quote-block {
  position: relative;
  padding: 30px 34px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
  border-radius: var(--radius-md);
}

.quote-block::before {
  position: absolute;
  top: -20px;
  right: 22px;
  color: rgba(255, 255, 255, 0.08);
  content: "“";
  font-family: Georgia, serif;
  font-size: 190px;
  line-height: 1;
}

.quote-block blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.55;
}

.quote-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.quote-list blockquote {
  position: relative;
  margin: 0;
  padding: 15px 18px 15px 48px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.62);
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
}

.quote-list blockquote::before {
  position: absolute;
  top: 13px;
  left: 17px;
  color: var(--accent);
  content: "“";
  font-family: Georgia, serif;
  font-size: 28px;
}

.qa-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.qa-list details {
  background: rgba(255, 253, 248, 0.52);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.qa-list summary {
  position: relative;
  padding: 16px 48px 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 650;
}

.qa-list summary::-webkit-details-marker {
  display: none;
}

.qa-list summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--ink-faint);
  content: "+";
  font-family: var(--serif);
  font-size: 22px;
  transform: translateY(-50%);
}

.qa-list details[open] summary::after {
  content: "−";
}

.qa-list .answer {
  padding: 0 18px 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.action-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.action-list label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  padding: 15px 16px;
  cursor: pointer;
  background: rgba(255, 253, 248, 0.52);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition:
    opacity 160ms ease,
    background 160ms ease;
}

.action-list input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--forest);
}

.action-list span {
  color: var(--ink-soft);
  font-size: 14px;
}

.action-list input:checked + span {
  color: var(--ink-faint);
  text-decoration: line-through;
}

.source-note {
  padding: 20px;
  background: var(--paper-deep);
  border-radius: var(--radius-sm);
}

.source-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.source-note a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
}

.article-sidebar {
  position: sticky;
  top: 32px;
  padding-top: 10px;
}

.side-label {
  margin: 0 0 14px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.article-toc {
  display: grid;
  gap: 3px;
}

.article-toc a {
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 12px;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--accent);
}

.reading-mark {
  width: 100%;
  margin-top: 26px;
}

.reading-mark.is-read {
  color: var(--forest);
  background: var(--forest-light);
  border-color: transparent;
}

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 68px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.prev-next a {
  display: flex;
  min-height: 100px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.52);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  flex-direction: column;
  justify-content: space-between;
}

.prev-next a:last-child {
  text-align: right;
}

.prev-next small {
  color: var(--ink-faint);
  font-size: 10px;
}

.prev-next strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 50px;
  align-items: end;
  padding: 16px 0 50px;
  border-bottom: 1px solid var(--line);
}

.about-hero h1 {
  max-width: 860px;
  margin: 12px 0 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.about-facts {
  display: grid;
  gap: 18px;
}

.about-fact {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.about-fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.about-fact span {
  color: var(--ink-faint);
  font-size: 11px;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.52fr);
  gap: clamp(40px, 8vw, 100px);
  padding-top: 50px;
}

.prose {
  color: var(--ink-soft);
}

.prose h2 {
  margin: 42px 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.9;
}

.prose strong {
  color: var(--ink);
}

.methodology {
  padding: 24px;
  background: var(--paper-deep);
  border-radius: var(--radius-md);
}

.methodology h2 {
  margin: 0 0 17px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.method-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.method-item span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 12px;
}

.method-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 26px;
  padding: 34px clamp(22px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.82);
  background: #182d25;
}

.site-footer strong {
  font-family: var(--serif);
  font-size: 16px;
}

.site-footer p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.footer-note {
  text-align: right;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 48px));
  padding: 12px 17px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 246px minmax(0, 1fr);
    width: min(100% - 30px, 1400px);
  }

  .directory-panel {
    padding-right: 18px;
  }

  .main-content {
    padding: 0 34px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .book-cover-stage {
    gap: 42px;
  }

  .book-cover-visual {
    min-height: 530px;
  }

  .book-cover-image {
    width: min(440px, 92%);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .top-nav {
    gap: 16px;
  }

  .menu-button {
    display: inline-grid;
  }

  .app-shell {
    display: block;
    width: 100%;
  }

  .directory-panel {
    display: none;
  }

  .main-content {
    padding: 0 clamp(20px, 6vw, 54px);
  }

  .view {
    padding-top: 38px;
  }

  .hero,
  .about-hero,
  .preface-hero,
  .book-cover-stage {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    max-width: 540px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    display: none;
  }

  .book-cover-stage {
    min-height: auto;
    padding: 30px 0 50px;
  }

  .book-cover-visual {
    min-height: 500px;
  }

  .book-cover-copy {
    padding-top: 0;
  }

  .cover-note {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .cover-note > p:last-child {
    grid-column: 2;
  }

  .preface-photo {
    max-width: 520px;
  }

  .preface-layout {
    grid-template-columns: 1fr;
  }

  .preface-side {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
  }

  .reader-use-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 68px;
    padding: 11px 17px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    display: none;
  }

  .top-nav a {
    display: none;
  }

  .mobile-directory {
    inset-block-start: 68px;
  }

  .main-content {
    padding: 0 18px;
  }

  .view {
    padding: 28px 0 72px;
  }

  .hero {
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(33px, 9vw, 44px);
  }

  .hero h1 .nowrap {
    white-space: normal;
  }

  .book-cover-stage {
    gap: 12px;
  }

  .book-cover-visual {
    min-height: 390px;
  }

  .book-cover-image {
    width: min(320px, 90%);
  }

  .orbit-one {
    width: 320px;
    height: 320px;
  }

  .orbit-two {
    width: 240px;
    height: 240px;
  }

  .cover-caption {
    right: 2%;
    bottom: 1%;
  }

  .book-cover-copy h1 {
    font-size: clamp(55px, 18vw, 78px);
  }

  .cover-subtitle {
    font-size: 23px;
  }

  .cover-actions .button,
  .preface-links .button {
    width: 100%;
  }

  .cover-note,
  .catalog-hero,
  .preface-side {
    grid-template-columns: 1fr;
  }

  .cover-note > p:last-child {
    grid-column: auto;
  }

  .preface-view {
    padding-top: 28px;
  }

  .preface-copy h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .preface-photo {
    transform: none;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .preface-book-card {
    grid-template-columns: 1fr;
  }

  .preface-book-card img {
    width: 160px;
  }

  .catalog-view {
    padding-top: 22px;
  }

  .catalog-hero h1 {
    font-size: 52px;
  }

  .concept-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .concept-number {
    width: 34px;
    height: 34px;
  }

  .method-detail {
    padding: 20px;
  }

  .method-detail ol {
    padding-left: 30px;
  }

  .method-takeaway {
    margin-left: 0;
  }

  .hero-facts {
    gap: 7px;
  }

  .hero-aside .fact-number {
    font-size: 30px;
  }

  .section {
    padding-top: 46px;
  }

  .section-header {
    display: block;
  }

  .section-intro {
    margin-top: 10px;
  }

  .catalog-tools {
    display: block;
  }

  .search-wrap {
    max-width: none;
  }

  .filter-list {
    margin-top: 12px;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .author-grid {
    grid-template-columns: 1fr;
  }

  .author-card {
    min-height: 250px;
    padding: 22px;
  }

  .progress-callout {
    grid-template-columns: 1fr;
  }

  .progress-ring {
    display: none;
  }

  .book-feature {
    grid-template-columns: 1fr;
    margin-top: 44px;
    padding: 28px 22px;
  }

  .book-object {
    width: 180px;
  }

  .article-header h1 {
    font-size: clamp(38px, 11vw, 55px);
  }

  .article-byline {
    align-items: flex-start;
  }

  .article-actions {
    width: 100%;
    margin-top: 6px;
    margin-left: 0;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stat-item,
  .stat-item:first-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .article-layout {
    padding-top: 34px;
  }

  .article-body > section + section {
    margin-top: 44px;
  }

  .signal-card {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .quote-block {
    padding: 25px 22px;
  }

  .prev-next {
    grid-template-columns: 1fr;
  }

  .prev-next a:last-child {
    text-align: left;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .footer-note {
    text-align: left;
  }
}

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

@media print {
  @page {
    margin: 16mm;
  }

  body {
    color: #111;
    background: white;
  }

  body::before,
  .site-header,
  .directory-panel,
  .site-footer,
  .article-sidebar,
  .article-actions,
  .toast {
    display: none !important;
  }

  .app-shell {
    display: block;
    width: 100%;
  }

  .main-content {
    padding: 0;
  }

  .view {
    max-width: none;
    padding: 0;
  }

  .article-layout {
    display: block;
  }

  .article-body > section {
    break-inside: avoid;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}
