.page-contact {
  --pc-gap: clamp(16px, 2.4vw, 32px);
  --pc-rule: 1px solid var(--grid-line);
  background: var(--ink-deep);
  color: var(--text-bright);
  font-family: var(--f-body);
  padding: 0 var(--gutter) clamp(64px, 8vw, 112px);
}

.page-contact > * {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

/* 面包屑 */
.page-contact > .crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: clamp(20px, 3vw, 36px);
  font-size: 13px;
  color: var(--text-dim);
}

.page-contact .crumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.page-contact .crumbs a:hover,
.page-contact .crumbs a:focus-visible {
  color: var(--volt);
}

.page-contact .crumbs [aria-current="page"] {
  color: var(--text-bright);
}

/* 首屏 */
.contact-hero {
  display: grid;
  gap: var(--pc-gap);
  padding: clamp(28px, 4.4vw, 52px) 0 clamp(32px, 4.4vw, 54px);
  border-bottom: var(--pc-rule);
}

.contact-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.page-contact h1 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 6.6vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 19ch;
}

.contact-hero__lead {
  margin: 0;
  max-width: 56ch;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-hero__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.contact-hero__visual .media {
  aspect-ratio: 16 / 11;
}

.contact-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 场景赛道 */
.scene-rail {
  padding: clamp(32px, 4.6vw, 54px) 0;
  border-bottom: var(--pc-rule);
}

.scene-rail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.scene-rail__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.scene-rail__hint {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.scene-rail__list {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(236px, 1fr);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  border-top: var(--pc-rule);
}

.scene {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 22px;
  border-right: var(--pc-rule);
  scroll-snap-align: start;
  transition: background var(--t-base) var(--ease);
}

.scene:first-child {
  padding-left: 0;
}

.scene:last-child {
  border-right: 0;
}

.scene:hover,
.scene:focus-within {
  background: var(--turf);
}

.scene__num {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--volt);
}

.scene__title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
}

.scene__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* 分栏骨架 */
.contact-frame {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  padding-top: clamp(40px, 5.4vw, 66px);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.4vw, 40px);
}

.aside-block {
  border-top: var(--pc-rule);
  padding-top: 20px;
}

.aside-title {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.aside-intro {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.channel {
  border: var(--pc-rule);
  background: var(--night-blue);
  padding: 18px;
  margin-bottom: 12px;
  transition: border-color var(--t-base) var(--ease), translate var(--t-base) var(--ease);
}

.channel:hover,
.channel:focus-within {
  border-color: var(--volt);
  translate: 0 -2px;
}

.channel:last-of-type {
  margin-bottom: 14px;
}

.channel__name {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.channel__desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.channel__value {
  margin: 0;
  padding-top: 12px;
  border-top: var(--pc-rule);
  font-family: var(--f-mono);
  font-size: 15px;
  color: var(--volt);
  word-break: break-all;
}

.aside-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: var(--pc-rule);
  font-size: 14px;
}

.info-list li:first-child {
  border-top: var(--pc-rule);
}

.info-list__key {
  font-size: 13px;
  color: var(--text-dim);
}

.info-list__val {
  font-family: var(--f-mono);
  color: var(--text-bright);
  word-break: break-all;
  line-height: 1.6;
}

.info-list__val--text {
  font-family: var(--f-body);
  font-size: 14px;
}

/* 右栏章节 */
.contact-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-section {
  padding: clamp(28px, 3.6vw, 44px) 0;
  border-top: var(--pc-rule);
}

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

.contact-section:last-child {
  padding-bottom: 0;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sec-num {
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1;
  padding: 5px 8px;
  background: var(--volt);
  color: var(--ink-deep);
}

.sec-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.32rem, 3.3vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-lead {
  margin: 0 0 18px;
  max-width: 58ch;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-lead + .section-lead {
  margin-top: -6px;
}

.section-tail {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 60ch;
}

.section-tail a,
.section-lead a {
  color: var(--volt);
  text-decoration: none;
  border-bottom: 1px solid var(--grid-line);
  transition: border-color var(--t-base) var(--ease);
}

.section-tail a:hover,
.section-lead a:hover,
.section-tail a:focus-visible,
.section-lead a:focus-visible {
  border-color: var(--volt);
}

/* 反馈要素清单 */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--pc-rule);
}

.check-list > li {
  border-bottom: var(--pc-rule);
}

.check-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px 6px 15px 2px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}

.check-item:hover {
  background: var(--turf);
}

.check-item input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  border: 1px solid var(--text-dim);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.check-item input:checked {
  border-color: var(--volt);
  background: rgba(200, 255, 61, 0.14);
}

.check-item input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--volt);
  border-bottom: 2px solid var(--volt);
  transform: rotate(40deg);
}

.check-item input:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

.check-item__text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
}

.check-item__text strong {
  color: var(--text-bright);
  font-weight: 700;
  margin-right: 8px;
}

.check-item input:checked ~ .check-item__text {
  color: var(--text-dim);
}

/* 邮件标题 */
.subject-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 18px;
  border: 1px dashed var(--grid-line);
  background: var(--night-blue);
}

.subject-band__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.subject-band__value {
  font-family: var(--f-mono);
  font-size: clamp(1rem, 2.6vw, 1.32rem);
  color: var(--volt);
  word-break: break-word;
}

.subject-band__tip {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 58ch;
}

.contact-figure {
  margin: 24px 0 0;
}

.contact-figure .media {
  aspect-ratio: 3 / 2;
}

.contact-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-figure figcaption {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* 处理节奏 */
.pace {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.pace__step {
  position: relative;
  padding: 20px 16px 22px 0;
  border-top: 2px solid var(--grid-line);
}

.pace__step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grid-line);
}

.pace__step--flag::before {
  background: var(--amber);
}

.pace__num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--volt);
}

.pace__title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
}

.pace__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.pace-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  background: var(--turf);
  border-left: 3px solid var(--amber);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* 改进建议 */
.ideas-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ideas-list li {
  padding: 7px 12px;
  border: 1px solid var(--grid-line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.ideas-list li:hover {
  border-color: var(--volt);
  color: var(--text-bright);
}

/* 响应式 */
@media (min-width: 700px) {
  .info-list li {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

@media (min-width: 820px) {
  .pace {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }

  .pace__step {
    padding: 20px 20px 0 0;
  }

  .pace__step:last-child {
    padding-right: 0;
  }
}

@media (min-width: 920px) {
  .contact-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }

  .contact-hero__visual .media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1000px) {
  .contact-frame {
    grid-template-columns: minmax(290px, 368px) minmax(0, 1fr);
  }

  .contact-aside {
    position: sticky;
    top: calc(var(--bar-h) + 20px);
    align-self: start;
  }

  .async-placeholder {
    display: none;
  }
}
