/* ==========================================================================
   茄子污污视频 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --ink: #0f1b22;
  --ink-soft: #1f2f38;
  --paper: #f4f6f7;
  --line: #dfe6e9;
  --steel: #2f7f9c;
  --amber: #e08a2e;
  --muted: #5b6b73;
  --white: #ffffff;
  --radius: 6px;
  --shell: 1120px;
  --col: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 15px;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt,
figure,
figcaption {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--steel);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}

strong {
  font-weight: 700;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 60;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0;
  font-size: 14px;
  max-width: 100%;
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--white);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid #24343d;
}

.header-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  color: var(--white);
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  color: var(--white);
  text-decoration: none;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8fa4ad;
  line-height: 1.2;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #c8d5da;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
}

.nav-item a:hover,
.nav-item a:focus-visible {
  color: var(--white);
  background: #1b2a32;
  text-decoration: none;
}

.nav-item.is-current a {
  color: var(--white);
  background: var(--ink-soft);
  box-shadow: inset 0 -2px 0 var(--steel);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #33454f;
  border-radius: var(--radius);
  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: #c8d5da;
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.inner-main {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--steel);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #a9b8be;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.page-header {
  padding: 14px 0 0;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  max-width: 900px;
}

/* --------------------------------------------------------------------------
   components · 通用模块
   -------------------------------------------------------------------------- */

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.section-intro,
.section-lead,
.section-desc,
.page-lead,
.page-summary {
  color: var(--muted);
  font-size: 15px;
  max-width: var(--col);
}

.section-head {
  margin-bottom: 20px;
}

.section-index,
.section-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 6px;
}

.section-foot {
  margin-top: 20px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 127, 156, 0.4);
  padding-bottom: 2px;
}

.link-more::after {
  content: "→";
  font-size: 13px;
}

.link-more:hover,
.link-more:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background: var(--amber);
  color: #23160a;
  border-color: var(--amber);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #c9791f;
  border-color: #c9791f;
  color: #23160a;
}

.btn-ghost,
.btn-outline {
  background: transparent;
  color: #dbe6ea;
  border-color: #3c505a;
}

.btn-ghost:hover,
.btn-ghost:focus-visible,
.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--white);
  border-color: #7f96a0;
  background: rgba(255, 255, 255, 0.06);
}

/* 图片容器与图片约束 */
.hero-media,
.media-figure,
.card-media,
.entry-figure,
.content-media,
.glossary-figure,
.records-figure {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #e7edef;
}

.hero-media img,
.media-figure img,
.card-media img,
.entry-figure img,
.content-media img,
.glossary-figure img,
.records-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption,
.media-caption {
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}

/* 参数行 / 元信息行 */
.meta-row,
.page-meta,
.hero-facts,
.entry-params,
.process-fields,
.node-fields,
.step-fields,
.timeline-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.meta-item,
.fact-row,
.param-row,
.process-field,
.node-field,
.step-field,
.timeline-field {
  flex: 1 1 180px;
  min-width: 180px;
  padding: 10px 14px;
  border-right: 1px solid var(--line);
}

.meta-item:last-child,
.fact-row:last-child,
.param-row:last-child,
.process-field:last-child,
.node-field:last-child,
.step-field:last-child,
.timeline-field:last-child {
  border-right: 0;
}

.meta-item dt,
.fact-row dt,
.param-row dt,
.process-field dt,
.node-field dt,
.step-field dt,
.timeline-field dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 2px;
}

.meta-item dd,
.fact-row dd,
.param-row dd,
.process-field dd,
.node-field dd,
.step-field dd,
.timeline-field dd {
  font-size: 14px;
  color: var(--ink);
}

/* 表格 */
.data-table,
.deliver-table,
.combo-table,
.stage-table {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 14px;
  overflow: hidden;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  white-space: normal;
  word-break: break-word;
}

.data-table thead th,
.deliver-table thead th,
.combo-table thead th,
.stage-table thead th {
  background: var(--ink-soft);
  color: #e6eef1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--ink-soft);
}

.data-table tbody th,
.deliver-table tbody th,
.combo-table tbody th,
.stage-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  background: #eef3f5;
}

.data-table tbody th,
.data-table tbody td,
.deliver-table tbody th,
.deliver-table tbody td,
.combo-table tbody td,
.stage-table tbody th,
.stage-table tbody td {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: top;
  word-break: break-word;
}

.data-table tbody tr > *:last-child,
.deliver-table tbody tr > *:last-child,
.combo-table tbody tr > *:last-child,
.stage-table tbody tr > *:last-child {
  border-right: 0;
}

/* FAQ 可展开条目 */
.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-question {
  position: relative;
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  background: #f8fafb;
}

.faq-answer {
  padding: 12px 16px 16px;
  font-size: 14.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* 相关入口列表 */
.related-list,
.entry-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-item,
.entry-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.related-item a,
.entry-item a,
.entry-link {
  display: block;
  padding: 14px 16px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}

.related-item a:hover,
.entry-item a:hover,
.related-item a:focus-visible,
.entry-item a:focus-visible {
  border-color: var(--steel);
  text-decoration: none;
}

.related-name,
.entry-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 4px;
}

.related-desc,
.entry-desc,
.entry-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.related-item a:hover .related-name,
.entry-item a:hover .entry-name {
  color: var(--ink);
}

/* 锚点条 / 索引条 */
.anchor-bar,
.topic-index,
.toc-bar {
  margin: 22px 0 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.anchor-list,
.topic-index-list,
.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anchor-item a,
.topic-index-item a,
.toc-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.anchor-item a:hover,
.topic-index-item a:hover,
.toc-item a:hover,
.anchor-item a:focus-visible,
.topic-index-item a:focus-visible,
.toc-item a:focus-visible {
  border-color: var(--steel);
  color: var(--steel);
  text-decoration: none;
}

.topic-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.04em;
}

.topic-range {
  color: var(--muted);
  font-weight: 600;
}

/* 页脚 */
.site-footer {
  background: var(--ink);
  color: #b9c7cd;
  margin-top: 0;
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 36px 24px 24px;
}

.footer-return {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #24343d;
}

.footer-return a {
  font-size: 13.5px;
  font-weight: 600;
  color: #dbe6ea;
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.footer-return a:hover,
.footer-return a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0;
}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  font-size: 13.5px;
  color: #a9b8be;
  text-decoration: none;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #24343d;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: baseline;
}

.footer-brand {
  font-size: 13.5px;
  font-weight: 700;
  color: #dbe6ea;
  margin: 0;
}

.footer-note,
.footer-copy {
  font-size: 12.5px;
  color: #8fa4ad;
  margin: 0;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.site-home .site-main {
  width: 100%;
}

/* 深色首屏 */
.hero {
  background: var(--ink);
  color: #dbe6ea;
  border-bottom: 1px solid #24343d;
}

.hero-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin-bottom: 12px;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.24;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 15.5px;
  line-height: 1.8;
  color: #b9c7cd;
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-facts {
  background: #16232b;
  border-color: #2a3b45;
}

.hero-facts .fact-row {
  border-right-color: #2a3b45;
}

.hero-facts .fact-row dt {
  color: #8fa4ad;
}

.hero-facts .fact-row dd {
  color: #dbe6ea;
}

.hero-media {
  border-color: #2a3b45;
  background: #16232b;
  aspect-ratio: 4 / 3;
}

.hero-media figcaption {
  background: #16232b;
  border-top-color: #2a3b45;
  color: #8fa4ad;
}

/* 通用 section */
.section {
  padding: 56px 0;
}

.section-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

/* 编号内容目录 */
.section-index .section-head {
  margin-bottom: 16px;
}

.index-nav {
  border-top: 1px solid var(--line);
}

.index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.index-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}

.index-row:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.index-row:nth-child(even) {
  padding-left: 24px;
}

.index-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.index-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.index-link:hover,
.index-link:focus-visible {
  color: var(--steel);
  text-decoration: underline;
}

.index-note {
  grid-column: 2;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* 服务与交付口径交错区 */
.media-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.media-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.media-block-reverse .media-figure {
  order: 2;
}

.media-block-reverse .media-body {
  order: 1;
}

.media-figure {
  aspect-ratio: 16 / 10;
}

.media-body {
  min-width: 0;
}

.media-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.media-body p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.point-list {
  margin-bottom: 16px;
}

.point-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 8px;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
}

/* 精选影像条带 */
.card-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.card:hover {
  border-color: var(--steel);
}

.card-link {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.card-link:hover,
.card-link:focus-visible {
  text-decoration: none;
}

.card-media {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  aspect-ratio: 16 / 10;
}

.card-body {
  padding: 14px 16px 18px;
}

.card-num {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 6px;
}

.card-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.card-link:hover .card-title,
.card-link:focus-visible .card-title {
  color: var(--steel);
}

.card-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.card-meta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* 制作流程节点条 */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-node {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.process-step {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 6px;
}

.process-name {
  font-size: 16px;
  margin-bottom: 12px;
}

.process-fields {
  flex-direction: column;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  margin-top: auto;
}

.process-fields .process-field {
  flex: 0 0 auto;
  min-width: 0;
  padding: 8px 0;
  border-right: 0;
  border-top: 1px solid var(--line);
}

.process-fields .process-field dt {
  font-size: 11.5px;
}

.process-fields .process-field dd {
  font-size: 13px;
}

/* 主题系列索引 */
.series-list {
  border-top: 1px solid var(--line);
}

.series-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 240px) minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}

.series-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.series-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.series-link:hover,
.series-link:focus-visible {
  color: var(--steel);
  text-decoration: underline;
}

.series-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* 术语索引速览 */
.glossary-brief {
  border-top: 1px solid var(--line);
}

.glossary-row {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}

.glossary-brief .term-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.glossary-brief .term-def {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* 项目记录时间线（首页） */
.timeline {
  border-left: 2px solid var(--line);
  padding-left: 0;
}

.timeline-item {
  position: relative;
  padding: 0 0 22px 26px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--steel);
}

.timeline-num {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 4px;
}

.timeline-body {
  min-width: 0;
}

.timeline-name {
  font-size: 17px;
  margin-bottom: 10px;
}

.timeline-fields {
  background: var(--white);
}

/* 合作路径入口 */
.section-cta {
  background: var(--ink-soft);
  border-top: 1px solid #2a3b45;
}

.section-cta .section-head h2,
.section-cta .section-title {
  color: var(--white);
}

.section-cta .section-desc {
  color: #b9c7cd;
}

.cta-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.cta-step {
  border: 1px solid #33454f;
  border-radius: var(--radius);
  background: #16232b;
  padding: 16px;
}

.cta-step-num {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 6px;
}

.cta-step-name {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-step-text {
  font-size: 14px;
  color: #b9c7cd;
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   pages · 内页通用
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 18px 0 0;
}

.page-hero .page-lead,
.page-hero .page-summary {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.page-hero .meta-row,
.page-hero .page-meta {
  margin-top: 4px;
}

.page-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 8px;
}

.content-section {
  padding: 40px 0 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

/* 精选影像：影像条目交错列表 */
.entry-list {
  display: block;
  margin-top: 22px;
}

.entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.entry:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.entry-media-left .entry-figure {
  order: 1;
}

.entry-media-left .entry-body {
  order: 2;
}

.entry-media-right .entry-figure {
  order: 2;
}

.entry-media-right .entry-body {
  order: 1;
}

.entry-figure {
  aspect-ratio: 16 / 10;
}

.entry-body {
  min-width: 0;
}

.entry-index {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 6px;
}

.entry-title {
  font-size: 19px;
  margin-bottom: 12px;
}

.entry-params {
  margin-bottom: 14px;
}

.entry-text {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

/* 交付形态说明表 / 组合建议表等区块 */
.deliver-table-section,
.combo-section,
.stage-table-section {
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.deliver-table-section .section-intro,
.combo-section .section-intro,
.stage-table-section .section-lead {
  margin-bottom: 18px;
}

/* 相关入口区块 */
.related-section,
.related-entry {
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.related-section .section-title,
.related-entry .section-title {
  margin-bottom: 18px;
}

/* 主题系列 */
.series-section {
  padding: 40px 0 0;
}

.series-section .section-intro {
  margin-bottom: 20px;
}

.series-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.series-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.series-item .series-num {
  font-size: 13px;
}

.series-name {
  font-size: 19px;
}

.series-tag {
  margin: 0 0 0 auto;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--steel);
  border: 1px solid rgba(47, 127, 156, 0.35);
  border-radius: var(--radius);
  padding: 3px 10px;
}

.series-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.series-field {
  min-width: 0;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
}

.series-field p {
  font-size: 14.5px;
  color: var(--ink);
  margin: 0;
}

.field-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.field-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--steel);
}

.content-media-inline {
  margin-top: 20px;
  aspect-ratio: 21 / 9;
}

/* 拍摄方法 */
.content-shell {
  max-width: var(--col);
  margin: 0 auto;
}

.content-shell .section-head {
  margin-bottom: 18px;
}

.media-block .media-figure {
  aspect-ratio: 16 / 9;
}

.content-shell .media-block {
  display: block;
  border-top: 0;
  padding: 0 0 24px;
}

.method-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.method-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.method-index {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin: 0;
}

.method-name {
  font-size: 18px;
}

.method-stage {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--steel);
  border: 1px solid rgba(47, 127, 156, 0.35);
  border-radius: var(--radius);
  padding: 3px 10px;
  white-space: nowrap;
}

.method-text {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 12px;
}

.method-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  margin-bottom: 8px;
}

.method-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

/* 项目记录 */
.records-timeline,
.records-roles,
.records-checklist {
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.records-timeline {
  border-top: 0;
  margin-top: 32px;
}

.records-timeline .section-intro,
.records-roles .section-intro,
.records-checklist .section-intro {
  margin-bottom: 20px;
}

.timeline-list {
  border-left: 2px solid var(--line);
}

.timeline-list .timeline-item {
  padding: 0 0 20px 26px;
}

.timeline-node {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px 18px;
}

.node-index {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 4px;
}

.node-name {
  font-size: 17px;
  margin-bottom: 12px;
}

.node-fields {
  background: #f8fafb;
}

.records-figure {
  margin-top: 24px;
  aspect-ratio: 21 / 9;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checklist-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px 18px;
}

.checklist-name {
  font-size: 16px;
  margin-bottom: 8px;
}

.checklist-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.checklist-desc a {
  color: var(--steel);
  font-weight: 600;
}

/* 术语索引 */
.glossary-section {
  padding: 36px 0 0;
}

.glossary-section .section-lead {
  margin-bottom: 22px;
}

.glossary-group {
  border-top: 1px solid var(--line);
  padding: 22px 0 6px;
}

.group-title {
  font-size: 18px;
  margin-bottom: 14px;
}

.glossary-figure {
  margin-bottom: 16px;
  aspect-ratio: 21 / 9;
}

.term-row {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.term-cell {
  font-size: 14.5px;
  color: var(--ink);
  min-width: 0;
}

.glossary-group .term-name {
  font-weight: 600;
  color: var(--ink);
}

.glossary-group .term-def {
  color: var(--muted);
}

.glossary-group .term-usage {
  color: var(--muted);
  font-size: 13.5px;
}

/* 合作路径 */
.section-scope,
.section-checklist,
.section-steps,
.section-faq,
.section-related {
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.section-scope {
  border-top: 0;
  margin-top: 32px;
}

.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
}

.section-scope .section-lead,
.section-checklist .section-lead,
.section-steps .section-lead,
.section-faq .section-lead,
.section-related .section-lead {
  margin-bottom: 20px;
}

.scope-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scope-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px 20px;
}

.scope-col-title {
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.scope-col-in .scope-col-title {
  color: var(--steel);
}

.scope-col-out .scope-col-title {
  color: var(--muted);
}

.scope-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  margin-bottom: 9px;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
}

.scope-col-out .scope-list li::before {
  background: #b6c3c8;
}

.scope-name {
  font-weight: 600;
}

.scope-desc {
  color: var(--muted);
}

.scope-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}

.checklist-layout .media-figure {
  aspect-ratio: 4 / 3;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.step-index {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 6px;
}

.step-name {
  font-size: 16px;
  margin-bottom: 12px;
}

.step-fields {
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: transparent;
  margin-top: auto;
}

.step-fields .step-field {
  flex: 0 0 auto;
  min-width: 0;
  padding: 8px 0;
  border-right: 0;
  border-top: 1px solid var(--line);
}

.step-fields .step-field dt {
  font-size: 11.5px;
}

.step-fields .step-field dd {
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.error-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}

.error-inner {
  max-width: var(--col);
}

.error-code {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 10px;
}

.error-title {
  font-size: 32px;
  margin-bottom: 14px;
}

.error-text {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-actions .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.error-actions .btn-ghost:hover,
.error-actions .btn-ghost:focus-visible {
  color: var(--steel);
  border-color: var(--steel);
  background: var(--white);
}

.error-links {
  padding: 40px 0 0;
}

.error-links .section-title {
  margin-bottom: 18px;
}

.error-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.error-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 14px 16px;
}

.error-item a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--steel);
  text-decoration: none;
  margin-bottom: 4px;
}

.error-item a:hover,
.error-item a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.error-item-desc {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 44px 24px;
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-body .series-field:last-child {
    grid-column: span 2;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .term-row {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  }

  .glossary-group .term-usage {
    grid-column: 1 / -1;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 21px;
  }

  h3 {
    font-size: 17px;
  }

  .header-inner {
    min-height: 58px;
    padding: 0 16px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 1 100%;
    margin-left: 0;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 6px 0 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
    white-space: normal;
  }

  .nav-item.is-current a {
    box-shadow: inset 3px 0 0 var(--steel);
  }

  .inner-main,
  .error-main {
    padding: 0 16px 52px;
  }

  .breadcrumb {
    padding-top: 14px;
    font-size: 12.5px;
  }

  .page-header {
    padding-top: 10px;
  }

  .page-title {
    font-size: 28px;
  }

  .section {
    padding: 40px 0;
  }

  .section-inner {
    padding: 0 16px;
  }

  .hero-inner {
    padding: 32px 16px 36px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
  }

  .index-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .index-row {
    flex: 0 0 auto;
    display: block;
    min-width: 200px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
  }

  .index-row:nth-child(odd),
  .index-row:nth-child(even) {
    padding-left: 14px;
    padding-right: 14px;
    border-right: 1px solid var(--line);
  }

  .index-num {
    display: block;
    margin-bottom: 4px;
  }

  .index-link {
    display: block;
    margin-bottom: 4px;
  }

  .media-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
  }

  .media-block-reverse .media-figure,
  .media-block-reverse .media-body {
    order: initial;
  }

  .card-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .series-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px 12px;
  }

  .series-note {
    grid-column: 2;
  }

  .glossary-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .timeline-item {
    padding-left: 22px;
  }

  .cta-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .entry-media-left .entry-figure,
  .entry-media-left .entry-body,
  .entry-media-right .entry-figure,
  .entry-media-right .entry-body {
    order: initial;
  }

  .content-shell {
    max-width: 100%;
  }

  .method-head {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px 10px;
  }

  .method-stage {
    grid-column: 2;
    justify-self: start;
  }

  .checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .series-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .series-body .series-field:last-child {
    grid-column: span 1;
  }

  .series-tag {
    margin-left: 0;
  }

  .term-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 0;
  }

  .glossary-group .term-usage {
    grid-column: auto;
  }

  .scope-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .checklist-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-list,
  .entry-list,
  .error-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-list {
    display: block;
  }

  .meta-item,
  .fact-row,
  .param-row,
  .process-field,
  .node-field,
  .step-field,
  .timeline-field {
    flex: 1 1 100%;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .meta-item:last-child,
  .fact-row:last-child,
  .param-row:last-child,
  .process-field:last-child,
  .node-field:last-child,
  .step-field:last-child,
  .timeline-field:last-child {
    border-bottom: 0;
  }

  .data-table,
  .deliver-table,
  .combo-table,
  .stage-table {
    font-size: 13.5px;
  }

  .data-table thead th,
  .deliver-table thead th,
  .combo-table thead th,
  .stage-table thead th,
  .data-table tbody th,
  .data-table tbody td,
  .deliver-table tbody th,
  .deliver-table tbody td,
  .combo-table tbody td,
  .stage-table tbody th,
  .stage-table tbody td {
    padding: 9px 10px;
  }

  .footer-inner {
    padding: 28px 16px 20px;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .error-hero {
    padding: 36px 0 28px;
  }

  .error-title {
    font-size: 26px;
  }

  .error-actions .btn {
    flex: 1 1 160px;
  }
}

@media (max-width: 390px) {
  .header-inner {
    padding: 0 12px;
  }

  .inner-main,
  .error-main {
    padding: 0 12px 44px;
  }

  .section-inner {
    padding: 0 12px;
  }

  .hero-inner {
    padding: 26px 12px 30px;
  }

  .hero-copy h1,
  .page-title,
  .error-title {
    font-size: 25px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .btn {
    padding: 0 16px;
    font-size: 14px;
  }

  .anchor-item a,
  .topic-index-item a,
  .toc-item a {
    padding: 6px 11px;
    font-size: 13px;
  }
}
