.page-contact {
  --ct-line: rgba(201, 162, 83, 0.16);
  --ct-line-soft: rgba(201, 162, 83, 0.08);
  --ct-panel: linear-gradient(165deg, #101A2B 0%, #0B1320 72%);
  background-color: var(--ink-950);
  color: var(--warm);
}

.page-contact #routes,
.page-contact #reach,
.page-contact #prepare {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- 首屏 ---------- */
.page-contact .ct-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 44px;
}

.page-contact .ct-hero::before {
  content: "";
  position: absolute;
  inset: -120px -25% auto -25%;
  height: 620px;
  background:
    radial-gradient(90% 70% at 82% 6%, rgba(233, 161, 59, 0.26), transparent 64%),
    linear-gradient(116deg, rgba(210, 87, 31, 0.34) 0%, rgba(233, 161, 59, 0.12) 44%, rgba(7, 12, 22, 0) 76%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
  z-index: -2;
}

.page-contact .ct-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(201, 162, 83, 0.1) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(201, 162, 83, 0.1) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 84%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 84%);
}

.page-contact .ct-hero__inner {
  position: relative;
}

.page-contact h1.display {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: clamp(30px, 7.4vw, 60px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--warm);
}

.page-contact .ct-hero .lede {
  max-width: 620px;
  margin-top: 18px;
}

.page-contact .ct-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-contact .ct-hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ct-line);
}

.page-contact .ct-hero__facts div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-contact .ct-hero__facts dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-contact .ct-hero__facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--gold-200);
}

/* ---------- 三条路径 ---------- */
.page-contact .ct-routes__head {
  max-width: 620px;
}

.page-contact .ct-routes__body {
  display: grid;
  gap: 26px;
  margin-top: 30px;
}

.page-contact .ct-routes__figure {
  margin: 0;
  border: 1px solid var(--ct-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-800);
}

.page-contact .ct-routes__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-contact .ct-routes__figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
  border-top: 1px solid var(--ct-line-soft);
}

.page-contact .ct-routes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-contact .ct-route {
  padding: 18px 18px 18px 20px;
  border-left: 2px solid var(--line-gold-strong);
  border-radius: 0 12px 12px 0;
  background: rgba(16, 26, 43, 0.62);
}

.page-contact .ct-route--teal {
  border-left-color: var(--teal-400);
}

.page-contact .ct-route--amber {
  border-left-color: var(--amber-400);
}

.page-contact .ct-route--gold {
  border-left-color: var(--gold-500);
}

.page-contact .ct-route__idx {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold-200);
  opacity: 0.85;
}

.page-contact .ct-route h3 {
  margin: 6px 0 8px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--warm);
}

.page-contact .ct-route p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--slate);
}

.page-contact .ct-route .ct-route__meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--gold-200);
}

/* ---------- 联系卡 + 右栏 ---------- */
.page-contact .ct-connect__layout {
  display: grid;
  gap: 28px;
}

.page-contact .ct-card {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border: 1px solid var(--line-gold-strong);
  border-radius: var(--radius);
  background: var(--ct-panel);
  box-shadow: var(--shadow);
}

.page-contact .ct-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 240px;
  height: 240px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(233, 161, 59, 0.16), transparent 70%);
}

.page-contact .ct-card__art {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 150px;
  object-fit: cover;
  opacity: 0.26;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent);
}

.page-contact .ct-card__title {
  position: relative;
  margin: 8px 0 10px;
  font-size: clamp(22px, 4.6vw, 28px);
  line-height: 1.25;
  color: var(--warm);
}

.page-contact .ct-card__note {
  position: relative;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.page-contact .ct-contact-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-contact .ct-contact {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--ct-line-soft);
}

.page-contact .ct-contact:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-contact .ct-contact__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.page-contact .ct-contact__value {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--gold-200);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-contact .ct-contact__value--addr {
  font-size: 14px;
  color: var(--warm);
}

.page-contact .copy-btn {
  justify-self: start;
  margin-top: 4px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line-gold-strong);
  border-radius: 999px;
  background: rgba(233, 161, 59, 0.08);
  color: var(--gold-200);
  font-family: var(--font-sans);
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.page-contact .copy-btn:hover,
.page-contact .copy-btn:focus-visible {
  border-color: var(--gold-500);
  background: rgba(233, 161, 59, 0.18);
  color: var(--warm);
}

.page-contact .copy-btn.is-copied {
  border-color: var(--teal-400);
  color: var(--teal-400);
}

.page-contact .ct-connect__main {
  display: grid;
  gap: 44px;
}

.page-contact .ct-block .lede {
  margin-top: 12px;
}

/* ---------- 勾选清单 ---------- */
.page-contact .ct-check {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-contact .ct-check li {
  border: 1px solid var(--ct-line-soft);
  border-radius: 12px;
  background: rgba(16, 26, 43, 0.45);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-contact .ct-check li:hover,
.page-contact .ct-check li:focus-within {
  border-color: var(--line-gold-strong);
  background: rgba(16, 26, 43, 0.72);
}

.page-contact .ct-check__item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 16px;
  cursor: pointer;
}

.page-contact .ct-check input {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  border: 1px solid var(--line-gold-strong);
  border-radius: 4px;
  background: rgba(7, 12, 22, 0.75);
  cursor: pointer;
}

.page-contact .ct-check input:checked {
  border-color: var(--gold-500);
  background: var(--gold-500);
}

.page-contact .ct-check input:focus-visible {
  outline: 2px solid var(--gold-200);
  outline-offset: 2px;
}

.page-contact .ct-check input:checked + .ct-check__text strong {
  color: var(--gold-200);
}

.page-contact .ct-check__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-contact .ct-check__text strong {
  font-size: 15px;
  line-height: 1.4;
  color: var(--warm);
}

.page-contact .ct-check__text em {
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--slate);
}

/* ---------- 谁在回复 ---------- */
.page-contact .ct-team {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-contact .ct-team__item {
  padding: 18px;
  border: 1px solid var(--ct-line-soft);
  border-radius: 12px;
  background: rgba(16, 26, 43, 0.5);
}

.page-contact .ct-team__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  line-height: 1;
  color: var(--gold-500);
}

.page-contact .ct-team__item h3 {
  margin: 10px 0 6px;
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--warm);
}

.page-contact .ct-team__item p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 常见问题 ---------- */
.page-contact .ct-faq {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--ct-line-soft);
}

.page-contact .ct-faq li {
  border-bottom: 1px solid var(--ct-line-soft);
}

.page-contact .ct-faq a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 14px;
  padding: 16px 4px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--warm);
  text-decoration: none;
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.page-contact .ct-faq a:hover,
.page-contact .ct-faq a:focus-visible {
  padding-left: 10px;
  color: var(--gold-200);
}

.page-contact .ct-faq__tag {
  padding: 2px 9px;
  border: 1px solid var(--ct-line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
  white-space: nowrap;
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-contact .ct-team {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .page-contact .ct-hero {
    padding-top: 136px;
    padding-bottom: 56px;
  }

  .page-contact .ct-routes__body {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 34px;
    align-items: start;
  }

  .page-contact .ct-connect__layout {
    grid-template-columns: minmax(300px, 0.86fr) 1.14fr;
    gap: 44px;
    align-items: start;
  }

  .page-contact .ct-card {
    position: sticky;
    top: calc(var(--header-h) + 26px);
  }
}
