:root {
  --paper: #FBF6EE;
  --ink: #2A211B;
  --accent: #C4612C;
  --muted: #6B5A4C;
  --line: #D9C9B6;
  --tint: #F1E5D6;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", Georgia, serif;
  --sans: -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Arial, sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  --shell: 1180px;
  --inner: 1120px;
}

/* ============================= base ============================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 0 0 6px 0;
  font-size: 14px;
}

.skip-link:focus {
  transform: translateY(0);
  text-decoration: none;
}

/* ============================= layout ============================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  min-height: 44px;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.primary-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 15px;
  border-radius: 4px;
}

.nav-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--accent);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.site-main {
  display: block;
}

.home-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  max-width: var(--inner);
  margin: 0 auto;
  padding: 0 24px 72px;
  min-width: 0;
}

.site-main > section,
.inner-main > section {
  margin-top: 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 20px 0 0;
}

.page-title {
  font-size: 40px;
  line-height: 1.25;
  margin: 0;
}

.inner-main > .page-title {
  margin-top: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-kicker {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.page-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 780px;
  margin-bottom: 14px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin: 0;
}

.page-meta li {
  position: relative;
}

.page-meta li + li::before {
  content: "·";
  margin-right: 12px;
  color: var(--line);
}

.page-meta-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
}

.page-meta-row dt {
  color: var(--muted);
}

.page-meta-row dd {
  margin: 0;
  color: var(--ink);
}

.site-footer {
  background: var(--tint);
  border-top: 1px solid var(--line);
  margin-top: 64px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px 40px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-slogan {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-boundary {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  font-size: 13px;
  font-family: var(--sans);
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--ink);
  font-size: 14px;
  display: inline-block;
  min-height: 24px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

/* ============================= components ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--paper);
}

.btn-primary:hover {
  background: #a44f22;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-head h2,
.section-heading,
.section-title {
  font-size: 28px;
  line-height: 1.3;
}

.section-heading {
  margin-bottom: 12px;
}

.section-note,
.section-intro,
.section-desc,
.section-lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.section-intro,
.section-lead {
  margin-bottom: 22px;
  max-width: 780px;
}

.section-index,
.section-kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.text-link:hover {
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* ============================= index page ============================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px 44px;
  padding-top: 48px;
}

.hero-copy {
  min-width: 0;
  align-self: start;
}

.hero-kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
  background: var(--tint);
}

.hero-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.series-index {
  grid-column: 1 / -1;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 26px;
}

.series-index-title {
  font-size: 18px;
  margin-bottom: 14px;
}

.series-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 40px;
}

.series-index-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 14px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--line);
}

.series-index-list > .series-index-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.series-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.series-body {
  min-width: 0;
}

.series-name {
  display: inline-block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.series-name:hover {
  color: var(--accent);
  text-decoration: none;
}

.series-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.series-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.channel-strip {
  margin-top: 40px;
}

.channel-title {
  font-size: 15px;
  font-family: var(--sans);
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}

.channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.channel-tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.channel-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.picks-list {
  border-top: 1px solid var(--line);
}

.pick-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 110px 40px;
  align-items: center;
  gap: 8px 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pick-num {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--accent);
  font-weight: 700;
}

.pick-main {
  min-width: 0;
}

.pick-title {
  display: inline-block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.pick-title:hover {
  color: var(--accent);
  text-decoration: none;
}

.pick-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.pick-channel {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 10px;
  text-align: center;
  white-space: nowrap;
}

.pick-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 16px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.pick-arrow:hover {
  border-color: var(--accent);
  background: var(--tint);
  text-decoration: none;
}

.feature-spread {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px 44px;
  align-items: start;
}

.feature-media {
  min-width: 0;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: var(--tint);
}

.feature-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.theme-stack {
  min-width: 0;
}

.theme-stack h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.theme-summary {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.theme-summary:first-of-type {
  padding-top: 0;
}

.theme-summary:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.theme-name {
  font-size: 20px;
  margin-bottom: 6px;
}

.theme-name a {
  color: var(--ink);
}

.theme-name a:hover {
  color: var(--accent);
  text-decoration: none;
}

.theme-curation {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}

.theme-relation {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.theme-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step {
  padding: 20px 20px 20px 0;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.process-step:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-step:not(:first-child) {
  padding-left: 20px;
}

.step-num {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.step-name {
  font-size: 18px;
  margin-bottom: 6px;
}

.step-out {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.process-more {
  margin-top: 16px;
  font-size: 14px;
}

.process-more a {
  font-weight: 700;
}

.guide-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.guide-col {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tint);
}

.guide-col-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.guide-col-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.guide-col-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.verify-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 40px;
}

.verify-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.verify-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.verify-mark::before {
  content: "✓";
}

.verify-body {
  min-width: 0;
}

.verify-name {
  font-size: 16px;
  margin-bottom: 3px;
}

.verify-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.notes-list {
  border-top: 1px solid var(--line);
}

.notes-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.notes-month {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.notes-body {
  min-width: 0;
}

.notes-topic {
  font-size: 17px;
  margin-bottom: 3px;
}

.notes-scope {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.notes-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.boundary-strip {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 26px;
}

.boundary-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.boundary-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 820px;
}

.boundary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.boundary-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.related-links-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.related-links-item {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

/* ============================= origin page ============================= */
.origin-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px 44px;
  align-items: start;
  margin-top: 40px;
}

.lead-media {
  min-width: 0;
}

.lead-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--tint);
}

.lead-media figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.lead-copy {
  min-width: 0;
}

.lead-copy h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.lead-copy p {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 12px;
}

.lead-hints {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead-hint {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.lead-hint::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.story-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.story-row:first-of-type {
  border-top: 1px solid var(--line);
}

.section-label {
  min-width: 0;
}

.label-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.section-label h3 {
  font-size: 20px;
}

.section-body {
  min-width: 0;
}

.section-body p {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.principle-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.principle-item {
  display: grid;
  grid-template-columns: 60px 200px minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 8px 28px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.principle-index {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
}

.principle-name {
  font-size: 17px;
}

.principle-desc {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
}

.principle-evidence {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.bridge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bridge-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.bridge-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.bridge-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.related-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.related-item {
  border-bottom: 1px solid var(--line);
}

.related-item a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 14px 0;
  color: var(--ink);
}

.related-item a:hover {
  text-decoration: none;
  color: var(--accent);
}

.related-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.related-desc {
  font-size: 14px;
  color: var(--muted);
}

/* ============================= production page ============================= */
.process-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px 44px;
  align-items: start;
  margin-top: 40px;
}

.process-media {
  min-width: 0;
}

.process-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: var(--tint);
}

.process-media figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.process-intro {
  min-width: 0;
}

.process-intro h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.process-intro p {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 12px;
}

.process-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px 40px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.process-section .section-head {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.process-section .section-head h2 {
  font-size: 22px;
}

.process-section .section-body {
  min-width: 0;
}

.check-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.check-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.process-table-section {
  margin-top: 48px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.process-table caption {
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--tint);
}

.process-table th,
.process-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.process-table thead th {
  background: var(--tint);
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.process-table tbody th {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.process-table tbody td {
  color: var(--muted);
}

.process-table tbody tr:last-child th,
.process-table tbody tr:last-child td {
  border-bottom: 0;
}

.material-rules,
.preflight-checks {
  margin-top: 48px;
}

.rule-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.rule-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 8px 28px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.rule-item h3 {
  font-size: 17px;
}

.rule-scope {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.rule-item > p:last-child {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.preflight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.preflight-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preflight-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.preflight-pass {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.preflight-record {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.related-card {
  min-width: 0;
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  transition: border-color 0.18s ease;
}

a.related-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.related-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.related-card h3 a {
  color: var(--ink);
}

.related-card h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.related-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.related-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.related-card .related-name {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.related-card .related-desc {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================= series page ============================= */
.year-index {
  margin-top: 40px;
}

.year-index-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.year-index-item {
  min-width: 0;
}

.year-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}

.year-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.year-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.series-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px 44px;
  align-items: start;
  margin-top: 32px;
}

.series-media {
  min-width: 0;
}

.series-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: var(--tint);
}

.series-media figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.series-intro-copy {
  min-width: 0;
}

.series-intro-copy h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.series-intro-copy p {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 12px;
}

.series-intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 700;
}

.year-block {
  margin-top: 48px;
}

.year-heading {
  font-size: 26px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 8px;
}

.month-group {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.month-group:last-child {
  border-bottom: 0;
}

.month-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  margin-bottom: 12px;
}

.month-heading {
  font-size: 19px;
}

.month-summary {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entry-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  min-width: 0;
}

.entry-no {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  padding-top: 2px;
}

.entry-body {
  min-width: 0;
}

.entry-title {
  font-size: 17px;
  margin-bottom: 4px;
}

.entry-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 4px;
}

.entry-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.theme-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.theme-summary-item {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tint);
}

.theme-summary-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.theme-summary-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.theme-summary-rel {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.history-jump-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.history-jump-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.history-jump-item a {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.history-jump-item a:hover {
  color: var(--accent);
  text-decoration: none;
}

.history-state {
  font-size: 13px;
  color: var(--muted);
}

.history-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.related-links-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 40px;
  border-top: 1px solid var(--line);
}

.related-link-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.related-link-item a {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.related-link-item a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ============================= themes page ============================= */
.theme-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px 44px;
  align-items: start;
  margin-top: 40px;
}

.curatorial-copy {
  min-width: 0;
}

.curatorial-copy h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.curatorial-copy p {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 12px;
}

.curatorial-notes {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.curatorial-notes li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.curatorial-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.theme-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.theme-index-item {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  scroll-margin-top: 90px;
}

.theme-index-name {
  font-size: 19px;
  margin-bottom: 6px;
}

.theme-index-desc {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 6px;
}

.theme-index-scope {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.theme-index-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.watch-order-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.watch-order-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.watch-order-num {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--accent);
  font-weight: 700;
  padding-top: 2px;
}

.watch-order-body {
  min-width: 0;
}

.watch-order-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.watch-order-purpose {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 4px;
}

.watch-order-relation {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.watch-order-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.entry-relations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.relation-item {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tint);
}

.relation-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.relation-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 10px;
}

.relation-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

/* ============================= guide page ============================= */
.content-media {
  margin-top: 20px;
}

.content-media img {
  width: 100%;
  max-height: 420px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 8px;
  background: var(--tint);
}

.content-media figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.guide-intro {
  margin-top: 40px;
}

.guide-intro h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.guide-intro-body {
  max-width: 820px;
}

.guide-intro-body p {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 12px;
}

.verify-steps {
  margin-top: 48px;
}

.verify-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.verify-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.verify-num {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--accent);
  font-weight: 700;
  padding-top: 2px;
}

.verify-step .verify-body {
  min-width: 0;
}

.verify-step .verify-name {
  font-size: 18px;
  margin-bottom: 4px;
}

.verify-target {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 4px;
}

.verify-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.device-notes {
  margin-top: 48px;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.device-card {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.device-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.device-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.device-tip {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.faq {
  margin-top: 48px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 16px;
  max-width: 820px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.feedback-prep {
  margin-top: 48px;
}

.feedback-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.feedback-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tint);
}

.feedback-name {
  font-size: 16px;
  margin-bottom: 4px;
}

.feedback-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.feedback-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.feedback-note a {
  font-weight: 700;
}

/* ============================= notes page ============================= */
.notes-month-groups {
  margin-top: 40px;
}

.notes-month-groups .month-group {
  padding: 20px 0;
}

.month-group-title {
  font-size: 19px;
}

.month-group-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.note-record {
  min-width: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.note-topic {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.note-body {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 4px;
}

.note-scope {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.note-scope a {
  font-weight: 700;
}

.change-scope {
  margin-top: 48px;
}

.scope-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.scope-table th,
.scope-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.scope-table thead th {
  background: var(--tint);
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.scope-table tbody th {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.scope-table tbody td {
  color: var(--muted);
}

.scope-table tbody tr:last-child th,
.scope-table tbody tr:last-child td {
  border-bottom: 0;
}

.boundary-list {
  margin-top: 48px;
}

.boundary-items {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.boundary-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.boundary-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.boundary-item .boundary-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin: 0;
  max-width: none;
}

.boundary-alt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.feedback-note {
  margin-top: 48px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feedback-grid .feedback-item {
  background: transparent;
}

.feedback-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================= error page ============================= */
.error-main {
  max-width: var(--inner);
  margin: 0 auto;
  padding: 72px 24px;
}

.error-panel {
  max-width: 620px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.error-title {
  font-size: 40px;
  margin-bottom: 14px;
}

.error-lead {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-guide {
  margin-top: 32px;
}

.error-guide-title {
  font-size: 22px;
  margin-bottom: 14px;
}

.error-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.error-links li {
  border-bottom: 1px solid var(--line);
}

.error-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
}

/* ============================= responsive ============================= */
@media (max-width: 960px) {
  .header-inner {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 48px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
  }

  .nav-list > li:last-child .nav-link {
    border-bottom: 0;
  }

  .home-main,
  .inner-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-title,
  .hero-copy h1,
  .error-title {
    font-size: 32px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 32px;
  }

  .hero-lead {
    max-width: none;
  }

  .series-index-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .series-index-list > .series-index-item:nth-last-child(-n + 2) {
    border-bottom: 1px dotted var(--line);
  }

  .series-index-list > .series-index-item:last-child {
    border-bottom: 0;
  }

  .pick-row {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px 16px;
  }

  .pick-channel {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .pick-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .feature-spread,
  .origin-lead,
  .process-lead,
  .series-intro,
  .theme-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step {
    padding: 18px 18px 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--line);
    padding-right: 18px;
  }

  .process-step:nth-child(even) {
    padding-left: 18px;
  }

  .process-step:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .guide-columns,
  .bridge-grid,
  .related-grid,
  .theme-summary-grid,
  .entry-relations-grid,
  .device-grid,
  .feedback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .verify-items {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .section-label {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .label-index {
    margin-bottom: 0;
  }

  .principle-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 4px 16px;
  }

  .principle-name {
    grid-column: 2;
  }

  .principle-desc,
  .principle-evidence {
    grid-column: 2;
  }

  .process-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .rule-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .preflight-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .history-jump-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-links-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .feedback-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .boundary-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    padding: 40px 20px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 16px 20px 24px;
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 15px;
  }

  .header-inner {
    height: 64px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand-mark {
    font-size: 19px;
  }

  .brand-sub {
    font-size: 11px;
  }

  .primary-nav {
    top: 64px;
    padding: 8px 16px 12px;
  }

  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .inner-main {
    padding-bottom: 48px;
  }

  .page-title,
  .hero-copy h1,
  .error-title {
    font-size: 28px;
  }

  .page-lead,
  .hero-lead,
  .error-lead {
    font-size: 15px;
  }

  .site-main > section,
  .inner-main > section {
    margin-top: 40px;
  }

  .section-head h2,
  .section-heading,
  .section-title,
  .theme-stack h2,
  .lead-copy h2,
  .process-intro h2,
  .series-intro-copy h2,
  .curatorial-copy h2,
  .guide-intro h2 {
    font-size: 22px;
  }

  .hero {
    padding-top: 24px;
    gap: 22px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    flex: 1 1 auto;
    padding: 0 16px;
  }

  .series-index {
    padding: 18px 16px;
  }

  .series-index-item {
    grid-template-columns: 36px minmax(0, 1fr);
    row-gap: 4px;
  }

  .series-link {
    grid-column: 2;
    justify-self: start;
  }

  .channel-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .channel-tag {
    flex: none;
  }

  .pick-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .pick-title {
    font-size: 17px;
  }

  .pick-channel {
    grid-column: 2;
  }

  .pick-arrow {
    display: none;
  }

  .feature-media img {
    aspect-ratio: 4 / 3;
  }

  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .guide-columns,
  .bridge-grid,
  .related-grid,
  .theme-summary-grid,
  .entry-relations-grid,
  .device-grid,
  .feedback-grid,
  .history-jump-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .notes-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .notes-link {
    justify-self: start;
  }

  .boundary-strip {
    padding: 18px 16px;
  }

  .related-links {
    gap: 8px 16px;
  }

  .story-row {
    padding: 18px 0;
  }

  .principle-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 14px 0;
  }

  .entry-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .entry-title {
    font-size: 16px;
  }

  .year-link {
    padding: 0 12px;
    font-size: 14px;
  }

  .theme-index-item,
  .relation-item,
  .preflight-item,
  .device-card,
  .feedback-item {
    padding: 16px;
  }

  .verify-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 16px 0;
  }

  .watch-order-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 16px 0;
  }

  .faq-question {
    font-size: 16px;
    min-height: 48px;
  }

  .scope-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .scope-table th,
  .scope-table td {
    white-space: normal;
    min-width: 120px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-bottom {
    padding: 14px 16px 22px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-actions .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .channel-tag,
  .pick-arrow,
  .related-card {
    transition: none;
  }
}
