/* ==========================================================================
   韩国午夜剧场 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4640;
  --ink-mute: #6f6a62;
  --paper: #f5f3ef;
  --surface: #ffffff;
  --accent: #c8442e;
  --accent-dark: #a5351f;
  --teal: #2f6f6a;
  --teal-dark: #235450;
  --line: #d8d3ca;
  --line-strong: #1a1a1a;
  --radius: 6px;
  --radius-sm: 4px;
  --shell: 1180px;
  --gutter: 24px;
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.7;
}

strong {
  font-weight: 700;
}

button {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--surface);
  border-bottom: 3px solid var(--line-strong);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.brand-tag {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-mute);
}

.brand:hover .brand-name {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background-color: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ink);
}

.nav-toggle:hover {
  border-color: var(--accent);
}

.nav-toggle:hover .nav-toggle-bar {
  background-color: var(--accent);
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-link.is-current {
  color: var(--accent);
  font-weight: 700;
  border-bottom-color: var(--accent);
}

.site-main {
  display: block;
  width: 100%;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 28px var(--gutter) 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-mute);
}

.breadcrumb a {
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line);
}

.breadcrumb a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 700;
}

.page-header {
  margin-bottom: 38px;
  padding-bottom: 26px;
  border-bottom: 3px solid var(--line-strong);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.page-description {
  max-width: 780px;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-description a {
  color: var(--teal-dark);
  border-bottom: 1px solid var(--teal);
}

.page-description a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.site-footer {
  margin-top: 0;
  background-color: var(--surface);
  border-top: 3px solid var(--line-strong);
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 46px var(--gutter) 30px;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-group-title {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  border-bottom: 1px solid transparent;
}

.footer-list a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
}

.footer-about {
  max-width: 860px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.footer-note {
  max-width: 860px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-mute);
}

.footer-copy {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   components · 通用元件
   -------------------------------------------------------------------------- */

.section-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.section-desc,
.section-intro {
  max-width: 760px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.section-head {
  margin-bottom: 26px;
}

.text-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background-color: var(--ink);
  color: var(--paper);
}

.aside-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.aside-intro {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  display: block;
}

.hero {
  background-color: var(--surface);
  border-bottom: 3px solid var(--line-strong);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 46px;
  align-items: start;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px var(--gutter) 58px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 18px;
  background-color: var(--teal);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: #ffffff;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.hero-lead {
  max-width: 560px;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.hero-facts strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
}

.directions-overview {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 62px var(--gutter) 0;
}

.direction-rows {
  border-top: 3px solid var(--line-strong);
}

.direction-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.direction-row:hover {
  border-bottom-color: var(--line-strong);
}

.direction-main {
  min-width: 0;
}

.direction-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.direction-fit {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.direction-scope {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.direction-link {
  flex: 0 0 auto;
  padding: 10px 20px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.direction-link:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.section-media {
  margin-top: 30px;
}

.section-media img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
}

.flow-overview {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 62px var(--gutter) 0;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.flow-step {
  display: flex;
  gap: 16px;
  padding: 24px 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
}

.flow-step:hover {
  border-top-color: var(--accent);
}

.flow-index {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--teal);
}

.flow-step:hover .flow-index {
  color: var(--accent);
}

.flow-body {
  min-width: 0;
}

.flow-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.flow-prep {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.flow-check {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.flow-more {
  margin-top: 26px;
}

.material-faq {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 62px var(--gutter) 0;
}

.material-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  padding-top: 30px;
  border-top: 3px solid var(--line-strong);
}

.material-column,
.faq-column {
  min-width: 0;
}

.column-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.boundary-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.boundary-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-brief-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.faq-brief-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.faq-brief-q {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.faq-brief-a {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-mute);
}

.column-more {
  margin-top: 20px;
}

.about-entry {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 62px var(--gutter) 72px;
}

.about-entry-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: 34px;
  border-top: 3px solid var(--line-strong);
}

.about-entry-text {
  min-width: 0;
}

.about-entry-text p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.about-entry-text .column-more {
  margin-top: 22px;
}

.about-entry-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   pages · 服务方向
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.service-list {
  min-width: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.service-item:first-of-type {
  border-top: 3px solid var(--line-strong);
}

.service-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-body {
  min-width: 0;
}

.service-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.service-meta {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 16px;
  margin: 14px 0 0;
  font-size: 15px;
}

.service-meta dt {
  color: var(--ink-mute);
  font-weight: 700;
}

.service-meta dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.service-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-mute);
}

.service-note a {
  color: var(--teal-dark);
  font-weight: 700;
  border-bottom: 1px solid var(--teal);
}

.service-note a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.aside-preparation {
  min-width: 0;
  padding: 26px 24px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
}

.prep-list {
  margin-top: 20px;
}

.prep-item {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.prep-index {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
}

.prep-name {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.prep-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-mute);
}

.aside-link {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.aside-link a {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  border-bottom: 1px solid var(--teal);
}

.aside-link a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.judge-block {
  margin-top: 62px;
  padding-top: 34px;
  border-top: 3px solid var(--line-strong);
}

.judge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 26px;
}

.judge-col {
  min-width: 0;
  padding: 22px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.judge-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.judge-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 合作流程
   -------------------------------------------------------------------------- */

.flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.flow-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.flow-overview,
.flow-stages,
.flow-feedback,
.flow-related {
  min-width: 0;
}

.flow-figure {
  margin-top: 24px;
}

.flow-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
}

.flow-stage {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.flow-stage:first-of-type {
  border-top: 3px solid var(--line-strong);
}

.stage-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.stage-index {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
}

.stage-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.stage-desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.stage-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.stage-col {
  min-width: 0;
  padding: 18px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}

.stage-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.stage-col p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-mute);
}

.stage-confirm {
  margin-top: 18px;
  padding: 14px 18px;
  background-color: #efeae2;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.confirm-label {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 10px;
  background-color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.feedback-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.feedback-item {
  min-width: 0;
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
}

.feedback-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.feedback-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.related-links a {
  display: block;
  padding: 14px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.related-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.flow-aside {
  min-width: 0;
  padding: 26px 24px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
}

.aside-checklist {
  margin-top: 20px;
}

.aside-check-item {
  position: relative;
  padding: 12px 0 12px 26px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.aside-check-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 10px;
  background-color: var(--teal);
  border-radius: 2px;
}

.aside-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   pages · 资料说明
   -------------------------------------------------------------------------- */

.material-list {
  min-width: 0;
}

.material-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.material-item:first-of-type {
  border-top: 3px solid var(--line-strong);
}

.material-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.material-body {
  min-width: 0;
}

.material-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.material-meta {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 16px;
  margin: 14px 0 0;
  font-size: 15px;
}

.material-meta dt {
  color: var(--ink-mute);
  font-weight: 700;
}

.material-meta dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.material-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-mute);
}

.aside-confirmation {
  min-width: 0;
  padding: 26px 24px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
}

.confirm-list {
  margin-top: 20px;
}

.confirm-item {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.confirm-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.confirm-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-mute);
}

.aside-more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.aside-more a {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  border-bottom: 1px solid var(--teal);
}

.aside-more a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.boundary-block {
  margin-top: 62px;
  padding-top: 34px;
  border-top: 3px solid var(--line-strong);
}

.boundary-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.boundary-block .boundary-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.boundary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 24px;
}

.boundary-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
  border-bottom: 1px solid var(--teal);
}

.boundary-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 常见问题
   -------------------------------------------------------------------------- */

.page-media {
  margin-top: 26px;
}

.page-media img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
}

.faq-group {
  margin-top: 46px;
  padding-top: 30px;
  border-top: 3px solid var(--line-strong);
}

.faq-group-head {
  margin-bottom: 20px;
}

.faq-group-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.faq-group-note {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-mute);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--accent);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.faq-related {
  margin-top: 56px;
  padding: 30px 26px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
}

.faq-related-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.faq-related-intro {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.faq-related-item a {
  display: block;
  padding: 14px 18px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.faq-related-item a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 关于我们
   -------------------------------------------------------------------------- */

.page-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 54px;
}

.about-block {
  min-width: 0;
}

.block-head {
  padding-bottom: 18px;
  border-bottom: 3px solid var(--line-strong);
}

.block-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.block-lead {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.block-body {
  margin-top: 20px;
}

.block-body p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.block-body p:last-child {
  margin-bottom: 0;
}

.about-media {
  margin-top: 26px;
}

.about-media img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
}

.style-steps {
  margin-top: 22px;
}

.style-step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.style-step:first-child {
  border-top: 1px solid var(--line);
}

.step-index {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
}

.step-body {
  min-width: 0;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.step-body p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.block-foot {
  margin-top: 22px;
}

.block-foot a {
  display: inline-block;
  margin-right: 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--teal);
}

.block-foot a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.principle-item {
  min-width: 0;
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}

.principle-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.principle-item p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.boundaries-block .boundary-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  display: block;
}

.error-block {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px var(--gutter) 90px;
}

.error-code {
  font-family: var(--mono);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.error-title {
  margin-top: 18px;
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
}

.error-text {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.error-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.error-links a {
  display: block;
  padding: 14px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.error-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.error-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 30px;
  padding: 12px 26px;
  background-color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.error-home:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .page-layout,
  .flow-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 30px;
  }

  .hero-inner {
    gap: 34px;
  }

  .hero-title {
    font-size: 34px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .hero-media {
    order: 2;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .flow-steps,
  .feedback-list,
  .judge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .material-faq-grid,
  .about-entry-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .about-entry-media {
    order: 2;
  }

  .page-layout,
  .flow-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .aside-preparation,
  .aside-confirmation,
  .flow-aside {
    max-width: 640px;
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 1 100%;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 12px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    display: block;
    min-height: 44px;
    padding: 12px 4px;
    border-bottom: 0;
  }

  .nav-link.is-current {
    border-bottom: 0;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .section-title,
  .block-title {
    font-size: 21px;
  }

  .service-item,
  .material-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .service-media img,
  .material-figure img {
    aspect-ratio: 16 / 9;
  }

  .service-meta,
  .material-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .stage-columns,
  .principle-list,
  .related-links,
  .faq-related-list,
  .error-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-steps,
  .feedback-list,
  .judge-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-media img,
  .flow-figure img,
  .about-media img,
  .page-media img {
    aspect-ratio: 16 / 9;
  }

  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-code {
    font-size: 48px;
  }

  .error-title {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 16px;
  }

  .hero-inner,
  .directions-overview,
  .flow-overview,
  .material-faq,
  .about-entry,
  .inner-main,
  .footer-inner,
  .error-block {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .direction-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .direction-link {
    width: 100%;
    text-align: center;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .flow-step {
    flex-direction: column;
    gap: 8px;
  }

  .stage-head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .style-step {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
