.page-contact {
  --c-space: clamp(56px, 9vw, 116px);
  --c-line: 1px solid var(--cyan-18);
  background: var(--ink-900);
  color: var(--paper-050);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
}

.page-contact h1,
.page-contact h2,
.page-contact h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.page-contact p {
  margin: 0;
}

.page-contact .eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin: 0 0 14px;
}

.page-contact .section-title {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.24;
}

.page-contact .lede {
  color: var(--mist-300);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 54ch;
}

.page-contact .prose {
  color: var(--mist-300);
  font-size: 15px;
  max-width: 56ch;
  margin-top: 16px;
}

/* ---------- 首屏 ---------- */
.contact-hero {
  position: relative;
  padding: clamp(18px, 3vw, 34px) 0 var(--c-space);
  overflow: hidden;
}

.contact-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.7) contrast(1.05);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 18, 15, 0.88) 0%, rgba(7, 18, 15, 0.74) 48%, var(--ink-900) 100%);
}

.contact-hero::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 10%;
  width: min(700px, 92vw);
  height: min(700px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 239, 201, 0.13), transparent 68%);
  filter: blur(12px);
  z-index: 1;
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
}

.page-contact .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 clamp(22px, 4vw, 38px);
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist-300);
}

.page-contact .breadcrumb a {
  color: var(--mist-300);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-contact .breadcrumb a:hover,
.page-contact .breadcrumb a:focus-visible {
  color: var(--cyan-400);
  border-bottom-color: var(--cyan-400);
}

.page-contact .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-500);
}

.contact-title {
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  line-height: 1.16;
  max-width: 18em;
  margin-bottom: 20px;
  text-wrap: balance;
}

/* ---------- 三条路径 ---------- */
.path-list {
  list-style: none;
  margin: clamp(30px, 5vw, 58px) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: var(--c-line);
}

.path-item {
  position: relative;
  padding: 26px 0 24px;
  border-bottom: var(--c-line);
}

.path-icon {
  display: inline-flex;
  color: var(--cyan-400);
  margin-bottom: 14px;
}

.path-icon svg {
  width: 30px;
  height: 30px;
}

.path-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-200);
}

.path-value {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.1vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--paper-050);
  margin: 8px 0 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.path-value::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 12px;
  background: var(--cyan-400);
  transition: width 0.28s var(--ease);
}

.path-item:hover .path-value::after,
.path-item:focus-within .path-value::after {
  width: 100%;
}

.path-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--mist-300);
  max-width: 36ch;
}

/* ---------- 章节通用 ---------- */
.contact-section {
  position: relative;
  padding: var(--c-space) 0;
}

.contact-section--alt {
  background: linear-gradient(180deg, rgba(13, 33, 28, 0.9), rgba(7, 18, 15, 0.2));
  border-top: var(--c-line);
  border-bottom: var(--c-line);
}

.contact-section--last {
  padding-top: clamp(16px, 3vw, 40px);
}

.section-head {
  max-width: 60ch;
}

.section-head .lede {
  margin-top: 16px;
}

/* ---------- 发信前准备 ---------- */
.prep-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.prep-list {
  list-style: none;
  counter-reset: prep;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  display: grid;
}

.prep-list li {
  position: relative;
  padding: 20px 0 20px 46px;
  border-top: 1px solid var(--cyan-10);
}

.prep-list li::before {
  counter-increment: prep;
  content: "0" counter(prep);
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cyan-400);
}

.prep-list h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
  color: var(--paper-050);
}

.prep-list p {
  font-size: 15px;
  color: var(--mist-300);
  max-width: 46ch;
}

.prep-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.page-contact .figure {
  margin: 0;
}

.page-contact .figure-media {
  border: 2px solid var(--line-500);
  border-radius: 24px 24px 60px 24px;
  overflow: hidden;
  background: linear-gradient(140deg, var(--pitch-600), var(--ink-800));
}

.page-contact .figure-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.6);
}

.page-contact .figure--slant .figure-media {
  transform: skewY(-2deg);
}

.page-contact .figure-caption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist-300);
}

.addr-card {
  padding: 22px clamp(18px, 3vw, 26px);
  background: var(--panel-grad);
  border: 1px solid var(--line-500);
  border-radius: 24px 24px 48px 24px;
}

.addr-line {
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1.62;
  color: var(--paper-050);
}

.addr-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--mist-300);
}

/* ---------- 合作与媒体 ---------- */
.coop-list {
  margin-top: clamp(26px, 4vw, 44px);
  display: grid;
  gap: 14px;
}

.coop-item {
  border: 1px solid var(--line-500);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(20, 50, 41, 0.72), rgba(13, 33, 28, 0.55));
  overflow: hidden;
  transition: border-color 0.24s var(--ease);
}

.coop-item:hover {
  border-color: var(--cyan-32);
}

.coop-item summary {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 20px clamp(18px, 3vw, 28px);
  padding-right: 52px;
  cursor: pointer;
  list-style: none;
}

.coop-item summary::-webkit-details-marker {
  display: none;
}

.coop-item summary::after {
  content: "+";
  position: absolute;
  right: clamp(18px, 3vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--cyan-400);
}

.coop-item[open] summary::after {
  content: "–";
}

.coop-item[open] summary {
  border-bottom: 1px solid var(--cyan-10);
}

.coop-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
}

.coop-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--paper-050);
}

.coop-hint {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist-300);
}

.coop-body {
  padding: 20px clamp(18px, 3vw, 28px) 24px;
  font-size: 15px;
  color: var(--mist-300);
}

.coop-body p {
  max-width: 58ch;
}

.coop-body ul {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  max-width: 58ch;
}

.coop-body li::marker {
  color: var(--cyan-400);
}

/* ---------- 处理流程 ---------- */
.flow {
  list-style: none;
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
}

.flow-step {
  position: relative;
  padding: 22px 0 22px 22px;
  border-left: 1px solid var(--cyan-32);
}

.flow-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--amber-400);
}

.flow-step h3 {
  margin: 8px 0 8px;
  font-size: 1.1rem;
  color: var(--paper-050);
}

.flow-step p {
  font-size: 15px;
  color: var(--mist-300);
  max-width: 34ch;
}

/* ---------- 收尾 ---------- */
.closing-panel {
  position: relative;
  padding: clamp(26px, 5vw, 56px);
  border: 2px solid var(--cyan-18);
  border-radius: var(--radius-panel) var(--radius-panel) 78px var(--radius-panel);
  background: radial-gradient(120% 150% at 12% 0%, rgba(28, 74, 60, 0.85), rgba(7, 18, 15, 0.94));
  overflow: hidden;
}

.closing-panel .lede {
  margin-top: 16px;
}

.closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-contact .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.12s var(--ease);
}

.page-contact .btn--primary {
  background: var(--amber-400);
  border: 1px solid var(--amber-400);
  color: var(--ink-900);
  font-weight: 600;
}

.page-contact .btn--primary:hover,
.page-contact .btn--primary:focus-visible {
  background: var(--cyan-400);
  border-color: var(--cyan-400);
}

.page-contact .btn--ghost {
  background: transparent;
  border: 1px solid var(--cyan-32);
  color: var(--cyan-200);
}

.page-contact .btn--ghost:hover,
.page-contact .btn--ghost:focus-visible {
  border-color: var(--cyan-400);
  color: var(--paper-050);
}

.page-contact .btn:active {
  transform: translateY(1px);
}

.closing-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--mist-300);
  max-width: 52ch;
}

/* ---------- 断点 ---------- */
@media (min-width: 860px) {
  .path-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .path-item {
    padding: 0 clamp(18px, 2.4vw, 32px) 10px;
    border-bottom: 0;
    border-left: var(--c-line);
  }

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

  .path-item:last-child {
    padding-right: 0;
  }

  .path-note {
    max-width: 32ch;
  }
}

@media (min-width: 900px) {
  .prep-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .prep-side {
    margin-top: 44px;
  }
}

@media (min-width: 820px) {
  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .flow-step {
    padding: 24px clamp(16px, 2vw, 24px) 0;
    border-left: 0;
    border-top: 1px solid var(--cyan-32);
  }

  .flow-step:first-child {
    padding-left: 0;
  }

  .flow-step:last-child {
    padding-right: 0;
  }

  .flow-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan-400);
  }

  .flow-step:first-child::before {
    left: 0;
  }
}

@media (max-width: 480px) {
  .path-value {
    font-size: 0.94rem;
  }

  .coop-item summary {
    padding-right: 44px;
  }

  .closing-panel {
    border-radius: 22px 22px 48px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .path-value::after,
  .page-contact .btn,
  .coop-item {
    transition: none;
  }

  .page-contact .figure--slant .figure-media {
    transform: none;
  }
}
