/* ==========================================================================
   天美影视集团 · yxdsjy.com
   全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base
   ========================================================================== */

:root {
  --ink: #14201d;
  --paper: #f6f2e9;
  --warm: #fdfbf6;
  --terracotta: #b8552f;
  --muted: #6f8a82;
  --line: #ded5c4;
  --max-width: 1120px;
  --gutter: 24px;
  --radius: 2px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", "Menlo", "Consolas", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

::selection {
  background: var(--terracotta);
  color: var(--warm);
}

/* 等宽数字用于编号与相对日期 */
.eyebrow,
.index-no,
.stream-no,
.principle-no,
.ready-no,
.entry-index,
.stage-num,
.group-range,
.group-date,
.handoff-step,
.crew-index,
.req-num,
.clause-num,
.next-index,
.next-entry-index,
.next-index,
.error-code,
.page-fact,
.page-facts,
.page-meta,
.page-tag,
.page-kicker,
.topic-meta,
.filter-summary {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ==========================================================================
   layout — 全站骨架
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* 统一内容容器 */
.header-inner,
.hero-inner,
.brand-split,
.service-index,
.stage-snapshot,
.topic-preview,
.brief-ready,
.related-links,
.footer-inner,
.footer-bottom,
.inner-main > .breadcrumb,
.inner-main > .page-header,
.inner-main > .page-head,
.inner-main > .page-hero,
.inner-main > .page-title-block,
.inner-main > .archive-entries,
.inner-main > .selection-guide,
.inner-main > .mismatch-notes,
.inner-main > .next-steps,
.inner-main > .stage-overview,
.inner-main > .page-layout,
.inner-main > .crew-grid-section,
.inner-main > .handoff-section,
.inner-main > .collab-section,
.inner-main > .next-entry-section,
.inner-main > .filter-bar,
.inner-main > .topic-list,
.inner-main > .empty-state,
.inner-main > .insights-feedback,
.inner-main > .brief-requirements,
.inner-main > .brief-quote,
.inner-main > .brief-delivery,
.inner-main > .brief-feedback,
.inner-main > .faq-groups,
.inner-main > .page-media,
.inner-main > .next-steps {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* 内页统一纵向节奏 */
.inner-main {
  padding-bottom: 80px;
}

.inner-main > section,
.inner-main > .page-layout {
  margin-top: 64px;
}

.inner-main > .page-header {
  margin-top: 28px;
}

.inner-main > .breadcrumb {
  margin-top: 24px;
}

.inner-main > .related-links {
  margin-top: 64px;
}

/* ==========================================================================
   components — 页头与导航
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: var(--warm);
  border-bottom: 1px solid #26332f;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--warm);
  white-space: nowrap;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 18px;
  margin-right: 10px;
  background: var(--terracotta);
}

.brand:hover {
  color: #ffffff;
}

.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-list li {
  display: flex;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: #d9d3c6;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover {
  color: #ffffff;
  border-bottom-color: #4a5a54;
}

.nav-list a.is-current {
  color: #ffffff;
  border-bottom-color: var(--terracotta);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #3a4a44;
  border-radius: var(--radius);
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--warm);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  background: var(--ink);
  border-top: 1px solid #26332f;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px var(--gutter) 16px;
}

.mobile-nav-list li {
  border-bottom: 1px solid #26332f;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
  color: #e6e0d4;
}

.mobile-nav-list a.is-current {
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--terracotta);
  padding-left: 12px;
}

/* ==========================================================================
   components — 按钮
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary,
.btn.btn-primary,
.feedback-links .btn-primary {
  background: var(--terracotta);
  color: var(--warm);
  border-color: var(--terracotta);
}

.btn-primary:hover,
.btn.btn-primary:hover,
.feedback-links .btn-primary:hover {
  background: #9c4526;
  border-color: #9c4526;
  color: var(--warm);
}

.btn-ghost,
.btn.btn-ghost,
.feedback-links .btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover,
.btn.btn-ghost:hover,
.feedback-links .btn-ghost:hover {
  background: var(--ink);
  color: var(--warm);
}

/* ==========================================================================
   components — 区块标题
   ========================================================================== */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.section-title,
.section-head h2,
.section-head .section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1 1 320px;
  min-width: 0;
}

.section-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 720px;
}

/* ==========================================================================
   components — 面包屑与内页标题区
   ========================================================================== */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.page-header {
  padding-bottom: 4px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.page-head,
.page-hero,
.page-title-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.page-tag,
.page-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

.page-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 760px;
}

.page-facts,
.page-fact,
.page-meta {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  max-width: 760px;
}

/* ==========================================================================
   components — 图片容器
   ========================================================================== */

.hero-media,
.topic-figure,
.entry-media,
.media-frame,
.content-media,
.brief-figure,
.page-media,
.group-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--warm);
  overflow: hidden;
}

.hero-media img,
.topic-figure img,
.entry-media img,
.media-frame img,
.content-media img,
.brief-figure img,
.page-media img,
.group-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

figcaption,
.media-caption,
.entry-media figcaption,
.brief-figure figcaption,
.content-media figcaption,
.page-media figcaption {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--warm);
}

/* ==========================================================================
   components — 编号索引行（通用）
   ========================================================================== */

.index-row,
.stream-item,
.next-item,
.next-entry-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.index-no,
.stream-no,
.next-index,
.next-entry-index {
  flex: 0 0 auto;
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracotta);
  font-weight: 600;
}

/* ==========================================================================
   components — 相关链接条
   ========================================================================== */

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.related-links-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--warm);
}

.related-links-item:hover {
  border-color: var(--ink);
  background: var(--paper);
}

/* ==========================================================================
   components — 页脚
   ========================================================================== */

.site-footer {
  flex-shrink: 0;
  margin-top: 80px;
  background: var(--ink);
  color: #cfc9bd;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px 48px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: 0.02em;
}

.footer-position {
  font-size: 14px;
  line-height: 1.7;
  color: #b9b2a4;
}

.footer-note {
  font-size: 13px;
  line-height: 1.7;
  color: #8e8a80;
  border-top: 1px solid #2a3733;
  padding-top: 10px;
  margin-top: 4px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--warm);
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #b9b2a4;
  border-bottom: 1px solid transparent;
}

.footer-col a:hover {
  color: #ffffff;
  border-bottom-color: var(--terracotta);
}

.footer-bottom {
  padding-top: 16px;
  padding-bottom: 24px;
  border-top: 1px solid #2a3733;
}

.footer-bottom p {
  font-size: 12px;
  line-height: 1.7;
  color: #8e8a80;
}

/* ==========================================================================
   pages — 首页
   ========================================================================== */

.home-main {
  padding-bottom: 0;
}

/* 首屏 */
.hero {
  padding-top: 48px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

.hero-copy h1 {
  font-size: 36px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #33403b;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.duty-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.duty-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--warm);
  min-width: 0;
}

.duty-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.duty-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-media {
  aspect-ratio: 16 / 11;
  min-width: 0;
}

/* 双轨主体 */
.brand-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.brand-thesis {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.brand-thesis h2 {
  font-size: 24px;
  line-height: 1.4;
}

.brand-thesis p {
  font-size: 15px;
  line-height: 1.85;
  color: #33403b;
}

.thesis-principles {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.principle-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.principle-no {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta);
  padding-top: 2px;
}

.principle-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.column-stream {
  min-width: 0;
}

.stream-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 4px;
}

.stream-item {
  align-items: flex-start;
  gap: 16px;
  padding: 18px 4px;
}

.stream-item:hover {
  background: var(--warm);
}

.stream-no {
  padding-top: 2px;
}

.stream-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.stream-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.stream-link {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.stream-link:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.stream-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* 服务索引 */
.service-index {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
}

.index-rows {
  border-top: 1px solid var(--line);
}

.index-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 200px) minmax(0, 1fr) 32px;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.index-row:hover {
  background: var(--warm);
  border-bottom-color: var(--ink);
}

.index-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.index-name:hover {
  color: var(--terracotta);
}

.index-scene {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  min-width: 0;
}

.index-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
}

.index-arrow::before {
  content: "→";
}

.index-arrow:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* 阶段快照 */
.stage-snapshot {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.snapshot-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.snapshot-group .group-date {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.02em;
}

.snapshot-group .group-stage {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.task-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.task-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.task-line:last-child {
  border-bottom: none;
}

.task-name {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  min-width: 0;
}

.task-role {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.snapshot-more {
  margin-top: 24px;
}

.snapshot-more a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
  border-bottom: 1px solid var(--terracotta);
}

.snapshot-more a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* 专题摘要 */
.topic-preview {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
}

.topic-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}

.topic-figure {
  aspect-ratio: 4 / 3;
  min-width: 0;
}

.topic-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.topic-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.topic-item:hover {
  border-color: var(--ink);
}

.topic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.topic-tag,
.topic-use {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.topic-tag {
  color: var(--terracotta);
  border-color: #e2c3b3;
}

.topic-heading {
  font-size: 17px;
  line-height: 1.5;
}

.topic-heading a {
  color: var(--ink);
}

.topic-heading a:hover {
  color: var(--terracotta);
}

.topic-point {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* 委托准备 */
.brief-ready {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
}

.ready-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line);
}

.ready-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.ready-no {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta);
  padding-top: 2px;
}

.ready-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ready-name {
  font-size: 15px;
  font-weight: 700;
}

.ready-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.ready-note {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.8;
  color: #33403b;
}

.ready-note a {
  color: var(--terracotta);
  font-weight: 600;
  border-bottom: 1px solid var(--terracotta);
}

.ready-note a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ==========================================================================
   pages — 服务档案
   ========================================================================== */

.archive-entries {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.archive-entries > .section-title {
  margin-bottom: 4px;
}

.entry {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 28px;
  padding: 24px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 160ms ease;
}

.entry:hover {
  border-color: var(--ink);
}

.entry-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.entry-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta);
}

.entry-name {
  font-size: 20px;
  line-height: 1.4;
}

.entry-scene {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.entry-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.entry-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}

.entry-field:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.field-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.field-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.entry-media {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

/* 选型对照 */
.selection-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.selection-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--warm);
  min-width: 0;
}

.selection-heading {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.selection-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.selection-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #33403b;
}

.selection-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
}

/* 错配说明 */
.term-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.term-item {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.term-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.term-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  min-width: 0;
}

/* 下一步入口 */
.next-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.next-item {
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.next-item a {
  display: grid;
  grid-template-columns: 40px minmax(0, 200px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  min-height: 44px;
}

.next-item a:hover {
  background: var(--warm);
}

.next-name {
  font-size: 16px;
  font-weight: 600;
}

.next-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  min-width: 0;
}

/* ==========================================================================
   pages — 制作阶段
   ========================================================================== */

.stage-overview-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stage-overview-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: var(--warm);
  min-width: 0;
}

.stage-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.06em;
}

.stage-name {
  font-size: 16px;
  font-weight: 700;
}

.stage-goal {
  font-size: 13px;
  line-height: 1.7;
  color: #33403b;
}

.stage-output {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 8px;
  margin-top: 2px;
}

/* 主内容 + 侧栏 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.page-primary {
  min-width: 0;
}

.page-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.aside-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title,
.aside-block-title {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* 阶段分组 */
.stage-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stage-group {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.stage-group .group-date {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.group-range {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.02em;
}

.stage-group .group-stage {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.task-rows {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.task-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 6px 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.task-row:first-child {
  padding-top: 0;
}

.task-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.task-row .task-name {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  min-width: 0;
}

.task-row .task-role {
  font-size: 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1px 8px;
  white-space: nowrap;
}

.task-output {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* 客户配合清单 */
.coop-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coop-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}

.coop-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.coop-stage {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  font-weight: 600;
}

.coop-item p {
  font-size: 13px;
  line-height: 1.7;
  color: #33403b;
}

/* ==========================================================================
   pages — 职能与团队
   ========================================================================== */

.crew-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.crew-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color 160ms ease;
}

.crew-card:hover {
  border-color: var(--ink);
}

.crew-card-wide {
  grid-column: 1 / -1;
}

.crew-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.06em;
}

.crew-name {
  font-size: 19px;
  line-height: 1.4;
}

.crew-role {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.crew-duties {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}

.crew-duties li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #33403b;
}

.crew-duties li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
}

.crew-output {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
}

.crew-output-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* 交接节点 */
.handoff-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: handoff;
}

.handoff-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--warm);
  min-width: 0;
}

.handoff-step {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.06em;
}

.handoff-name {
  font-size: 16px;
  font-weight: 700;
}

.handoff-pair,
.handoff-confirm {
  font-size: 13px;
  line-height: 1.7;
  color: #33403b;
  min-width: 0;
}

.handoff-label {
  display: inline-block;
  margin-right: 6px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* 协作说明 */
.collab-section {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 36px;
  align-items: start;
}

.collab-media {
  min-width: 0;
}

.media-frame {
  aspect-ratio: 4 / 3;
}

.collab-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.collab-text {
  font-size: 15px;
  line-height: 1.85;
  color: #33403b;
}

.collab-points {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.collab-point {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.collab-point-name {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--terracotta);
  min-width: 72px;
}

/* 相关入口 */
.next-entry-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.next-entry-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 200px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.next-entry-row:hover {
  background: var(--warm);
}

.next-entry-row a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.next-entry-row a:hover {
  color: var(--terracotta);
}

.next-entry-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  min-width: 0;
}

/* ==========================================================================
   pages — 影像专题
   ========================================================================== */

.content-media-inline {
  margin-top: 8px;
  aspect-ratio: 21 / 9;
}

/* 筛选条 */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.filter-label {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  min-width: 48px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  color: #33403b;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-tag:hover {
  border-color: var(--ink);
}

.filter-tag.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--warm);
}

.filter-summary {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  padding-top: 4px;
}

/* 专题卡片 */
.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.topic-card:hover {
  border-color: var(--ink);
}

.topic-card .topic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.topic-theme,
.topic-usage {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.topic-theme {
  color: var(--terracotta);
  border-color: #e2c3b3;
}

.topic-title {
  font-size: 17px;
  line-height: 1.5;
}

.topic-title a {
  color: var(--ink);
}

.topic-title a:hover {
  color: var(--terracotta);
}

.topic-excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.topic-link {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
  border-bottom: 1px solid var(--terracotta);
}

.topic-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--warm);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-state[hidden] {
  display: none;
}

.empty-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.empty-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.empty-tips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 18px;
  list-style: disc;
}

.empty-tips li {
  font-size: 14px;
  line-height: 1.7;
  color: #33403b;
}

.empty-reset {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.empty-reset:hover {
  background: var(--ink);
  color: var(--warm);
}

/* 反馈入口 */
.insights-feedback {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feedback-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feedback-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feedback-link:hover {
  border-color: var(--ink);
}

/* ==========================================================================
   pages — 委托须知
   ========================================================================== */

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  transform: translateY(-120%);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--warm);
  background: var(--terracotta);
  border-radius: 0 0 var(--radius) 0;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* 需求清单 */
.brief-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 32px;
  align-items: start;
}

.brief-body {
  min-width: 0;
}

.req-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.req-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.req-num {
  flex: 0 0 auto;
  min-width: 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta);
  padding-top: 2px;
}

.req-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.req-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.req-text {
  font-size: 14px;
  line-height: 1.75;
  color: #33403b;
}

.req-ask {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.brief-figure {
  aspect-ratio: 4 / 3;
  min-width: 0;
}

/* 报价条款 */
.clause-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.clause-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.clause-num {
  flex: 0 0 auto;
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta);
  padding-top: 2px;
}

.clause-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.clause-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.clause-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* 规则摘要卡 */
.rule-card {
  padding: 24px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: var(--radius);
}

.rule-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rule-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.rule-name {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.rule-text {
  font-size: 14px;
  line-height: 1.75;
  color: #33403b;
}

.rule-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* 委托须知侧栏 */
.brief-delivery + .page-layout {
  margin-top: 48px;
}

.page-aside .aside-block .doc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doc-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}

.doc-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.doc-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.doc-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.path-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.path-item {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.path-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--warm);
  background: var(--ink);
  border-radius: var(--radius);
}

.path-text {
  font-size: 13px;
  line-height: 1.7;
  color: #33403b;
  min-width: 0;
}

.aside-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.aside-link-list a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* 委托须知反馈段 */
.brief-feedback {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brief-feedback h2 {
  font-size: 22px;
}

.feedback-text {
  font-size: 15px;
  line-height: 1.8;
  color: #33403b;
  max-width: 720px;
}

/* ==========================================================================
   pages — 常见问题
   ========================================================================== */

.page-media {
  aspect-ratio: 21 / 9;
  margin-top: 28px;
}

.faq-groups {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq-group {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: 32px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.faq-group .group-title {
  min-width: 0;
}

.faq-group .group-title h2 {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.faq-group .group-title p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.qa-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.qa-item {
  border-bottom: 1px solid var(--line);
}

.qa-item:first-child {
  border-top: 1px solid var(--line);
}

.qa-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.qa-question::-webkit-details-marker {
  display: none;
}

.qa-question::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease;
}

.qa-item[open] .qa-question::after {
  content: "−";
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.qa-question:hover {
  color: var(--terracotta);
}

.qa-answer {
  padding: 0 4px 18px;
  font-size: 14px;
  line-height: 1.8;
  color: #33403b;
}

.qa-answer p {
  max-width: 720px;
}

.qa-answer a {
  color: var(--terracotta);
  border-bottom: 1px solid var(--terracotta);
}

.qa-answer a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* 下一步入口卡 */
.next-intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 720px;
}

.next-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.next-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color 160ms ease;
}

.next-card:hover {
  border-color: var(--ink);
}

.next-card h3 {
  font-size: 16px;
  line-height: 1.5;
}

.next-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.next-card a {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
  border-bottom: 1px solid var(--terracotta);
}

.next-card a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ==========================================================================
   pages — 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--gutter);
}

.error-panel {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-top: 3px solid var(--terracotta);
  border-radius: var(--radius);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--terracotta);
}

.error-panel h1 {
  font-size: 30px;
  line-height: 1.35;
}

.error-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #33403b;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.error-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-links a:hover {
  border-color: var(--ink);
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .nav-list a {
    padding: 0 10px;
    font-size: 14px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }
}

@media (max-width: 960px) {
  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-inner,
  .brand-split,
  .topic-layout,
  .collab-section,
  .brief-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .page-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .snapshot-grid,
  .handoff-timeline,
  .next-cards,
  .selection-columns,
  .rule-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-overview-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
  }

  .entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .entry-head {
    padding-right: 0;
    padding-bottom: 14px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stage-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .stage-group .group-date {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding-right: 0;
    padding-bottom: 10px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .faq-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 15px;
    line-height: 1.75;
  }

  .header-inner {
    min-height: 60px;
    gap: 12px;
  }

  .brand {
    font-size: 16px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-copy h1 {
    font-size: 26px;
    line-height: 1.35;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
  }

  .duty-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .brand-split,
  .service-index,
  .stage-snapshot,
  .topic-preview,
  .brief-ready {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .inner-main {
    padding-bottom: 56px;
  }

  .inner-main > section,
  .inner-main > .page-layout {
    margin-top: 40px;
  }

  .inner-main > .related-links {
    margin-top: 40px;
  }

  .page-title {
    font-size: 26px;
    line-height: 1.4;
  }

  .page-head,
  .page-hero,
  .page-title-block {
    padding-top: 14px;
    padding-bottom: 18px;
    gap: 10px;
  }

  .page-lead {
    font-size: 15px;
  }

  .section-title,
  .section-head h2 {
    font-size: 20px;
  }

  .section-head {
    gap: 8px;
    margin-bottom: 20px;
  }

  .index-row {
    grid-template-columns: 32px minmax(0, 1fr) 28px;
    gap: 4px 12px;
    padding: 16px 0;
  }

  .index-scene {
    grid-column: 2 / 3;
    font-size: 13px;
  }

  .index-arrow {
    grid-row: 1 / 3;
    grid-column: 3 / 4;
    align-self: center;
  }

  .snapshot-grid,
  .selection-columns,
  .handoff-timeline,
  .next-cards,
  .rule-list,
  .crew-grid,
  .topic-list,
  .stage-overview-list,
  .page-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .crew-card-wide {
    grid-column: auto;
  }

  .topic-figure,
  .brief-figure,
  .media-frame {
    aspect-ratio: 16 / 10;
  }

  .entry-media,
  .content-media-inline,
  .page-media {
    aspect-ratio: 16 / 10;
  }

  .topic-layout {
    gap: 24px;
  }

  .task-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 0;
  }

  .task-row .task-role,
  .task-output {
    justify-self: start;
  }

  .term-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .next-item a,
  .next-entry-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 14px 0;
  }

  .next-desc,
  .next-entry-desc {
    grid-column: 2 / 3;
  }

  .ready-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .footer-inner {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .footer-col a {
    min-height: 32px;
  }

  .related-links {
    gap: 8px;
  }

  .related-links-item {
    min-height: 40px;
  }

  .filter-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .filter-tag {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .topic-card {
    padding: 18px;
  }

  .rule-card {
    padding: 18px;
  }

  .error-main {
    padding: 48px var(--gutter);
  }

  .error-panel {
    padding: 24px;
  }

  .error-panel h1 {
    font-size: 24px;
  }

  .error-actions .btn {
    flex: 1 1 auto;
  }

  .collab-point {
    flex-direction: column;
    gap: 4px;
  }

  .collab-point-name {
    min-width: 0;
  }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
