@charset "UTF-8";

/* 案例详情页 (Figma 605:493) 专属样式。内容主轴宽 930px 居中。 */

.cd-page {
  position: relative;
  z-index: 1;
  padding-top: 1px;
}

/* 粒子/极光背景:满帧居中铺底,内容叠于其上 */
.cd-aurora {
  position: absolute;
  left: 50%;
  top: -200px;
  width: 1600px;
  max-width: none;
  height: 1100px;
  transform: translateX(-50%);
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.cd-main {
  position: relative;
  z-index: 2;
  width: min(930px, calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
  /* 与顶部留白呼应,避免正文末尾紧贴页脚 */
  padding-bottom: clamp(80px, 10vw, 120px);
}

/* 返回列表 */
.cd-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: clamp(96px, 13vw, 110px) 0 0;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.071;
  text-transform: uppercase;
}

.cd-back img {
  width: 20px;
  height: 20px;
}

/* 标题 */
.cd-title {
  margin: 42px 0 0;
  padding: 0 10px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: clamp(2.5rem, 3.35vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.0375em;
  text-align: center;
}

/* 通用小标签 */
.cd-label {
  margin: 0;
  color: #fff;
  font-family: var(--font-latin);
  font-size: 0.75rem;
  line-height: 1.333;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 团队介绍 */
.cd-intro {
  display: flex;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 60px);
  margin-top: clamp(64px, 11vw, 130px);
}

.cd-intro__text {
  flex: 0 1 360px;
  padding-top: 18px;
}

.cd-intro__name {
  margin: 40px 0 0;
  color: #fff;
  font-family: var(--font-latin);
  font-size: clamp(2.75rem, 4.4vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.6px;
}

.cd-intro__about {
  margin: 56px 0 0;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.625;
}

.cd-intro__photo {
  flex: 0 0 455px;
  width: 455px;
  height: 455px;
  border-radius: 20px;
  overflow: hidden;
}

.cd-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 正文区 */
.cd-body {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 9vw, 100px);
  margin-top: clamp(64px, 11vw, 130px);
}

.cd-summary {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.cd-summary__lead {
  margin: 0;
  color: #fff;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  line-height: 1.4;
}

.cd-summary__image {
  width: 100%;
  height: clamp(220px, 56vw, 524px);
  border-radius: 20px;
  object-fit: cover;
}

.cd-rich h3 {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.625;
}

.cd-rich p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.625;
}

.cd-rich p + p {
  margin-top: 0.9em;
}

.cd-rich ul,
.cd-rich ol {
  margin: 0.9em 0 0;
  padding-left: 1.25em;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.625;
}

.cd-rich a {
  color: #fff;
  text-underline-offset: 3px;
}

.cd-rich + .cd-rich {
  margin-top: 30px;
}

/* 里程碑卡片 */
.cd-milestones {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 30px 50px 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.cd-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cd-timeline::before {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.cd-milestone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cd-milestone__dot {
  flex: none;
  width: 10px;
  height: 10px;
}

.cd-milestone__head {
  margin: 0;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.071;
  text-transform: uppercase;
}

.cd-milestone__desc {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1;
}

/* 推荐案例 */
.cd-related {
  display: grid;
  gap: 34px;
}

.cd-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cd-related__card {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 118px;
  padding: 0 50px 0 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.cd-related__card strong {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.4px;
}

.cd-related__card span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  line-height: 1.3;
}

.cd-related__card img {
  position: absolute;
  right: 29px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

/* —— 交互反馈 —— */
.cd-related__card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cd-related__card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.cd-related__card:hover img {
  transform: translateY(-50%) translateX(4px);
}

.cd-back,
.cd-back img {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}
.cd-back:hover { color: rgba(255, 255, 255, 0.85); }
.cd-back:hover img { transform: translateX(-4px); }
.cd-back:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 4px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .cd-related__card, .cd-back, .cd-back img { transition: none; }
  .cd-related__card:hover, .cd-back:hover img { transform: none; }
}

@media (max-width: 820px) {
  .cd-intro {
    flex-direction: column;
  }
  .cd-intro__text {
    flex-basis: auto;
  }
  .cd-intro__about {
    max-width: none;
  }
  .cd-intro__photo {
    flex-basis: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .cd-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cd-title {
    padding: 0 0 24px;
  }
  .cd-milestones {
    padding: 18px 18px 40px 22px;
  }
  .cd-related__card {
    padding: 16px 40px 16px 20px;
    min-height: 0;
  }
}
