/* 首页精选项目：仅由 website-redesign/index.html 引用。 */
.home-case-map {
  padding-bottom: 16px;
}

.home-featured-projects {
  order: 4;
  width: 100%;
  padding: 0 0 12px;
  color: #e8e8f6;
  letter-spacing: 0;
}

.featured-project__index {
  display: block;
  width: fit-content;
  color: #e8e8f6;
  background: linear-gradient(90deg, #3478f6 0%, #7867e8 54%, #c24e82 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  -webkit-text-fill-color: transparent;
}

.home-featured-projects__list {
  width: 100%;
}

.home-featured-projects__list::before {
  content: "";
  display: block;
  height: 1px;
  margin: 0 32px;
  background: rgba(78, 78, 100, 0.38);
}

.featured-project {
  padding: 72px 0;
}

.featured-project:first-child {
  padding-top: 48px;
}

.featured-project__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 64px;
  align-items: end;
}

.featured-project__copy h3,
.featured-project__results-intro h3 {
  margin-top: 10px;
  font-size: 48px;
  font-weight: 600;
  line-height: 54px;
}

.featured-project__copy h3 a,
.featured-project__results-intro h3 a {
  display: inline-block;
  width: fit-content;
  color: #e8e8f6;
  background: linear-gradient(90deg, #3478f6 0%, #7867e8 54%, #c24e82 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  transition: filter 0.15s ease-in;
  -webkit-text-fill-color: transparent;
}

.featured-project__copy h3 a:hover,
.featured-project__results-intro h3 a:hover,
.featured-project__copy h3 a:focus-visible,
.featured-project__results-intro h3 a:focus-visible {
  filter: brightness(1.16);
}

.featured-project__copy > p,
.featured-project__results-intro > div > p {
  max-width: 540px;
  margin-top: 14px;
  color: #a8a8b6;
  font-size: 14px;
  line-height: 24px;
}

.featured-project__copy > .featured-project__thesis,
.featured-project__results-intro > div > .featured-project__thesis {
  max-width: 620px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 28px;
}

.featured-project__thesis strong {
  color: #8d8af5;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
}

.featured-project__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.featured-project__meta > div {
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(78, 78, 100, 0.38);
  border-radius: 12px;
  background: rgba(20, 20, 25, 0.72);
}

.featured-project__meta dt,
.featured-project__decisions > div > span,
.featured-project__contribution > div > span,
.featured-project__result-copy > span {
  color: #6b6b7b;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.featured-project__meta dd {
  margin-top: 7px;
  color: #e8e8f6;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.featured-project__decisions {
  display: grid;
  margin-top: 32px;
  min-height: 148px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(168, 168, 182, 0.28);
  border-radius: 12px;
  background: rgba(20, 20, 25, 0.86);
  box-shadow: inset 0 1px 0 rgba(232, 232, 246, 0.04), 0 0 8px rgba(10, 10, 14, 0.4);
  overflow: hidden;
}

.featured-project__decisions > div {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 148px;
  padding: 26px 24px;
  flex-direction: column;
  justify-content: flex-start;
}

.featured-project__decisions > div + div {
  border-left: 0;
}

.featured-project__decisions > div + div::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 1px;
  background: rgba(168, 168, 182, 0.24);
}

.featured-project__decisions h4,
.featured-project__contribution h4 {
  margin-top: 6px;
  color: #e8e8f6;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.featured-project__decisions p,
.featured-project__contribution p,
.featured-project__result-copy p,
.featured-project__tail p {
  margin-top: 6px;
  color: #a8a8b6;
  font-size: 13px;
  line-height: 22px;
}

.featured-project__media {
  display: grid;
  width: 100%;
  aspect-ratio: 968 / 590;
  margin-top: 32px;
  padding: 30px 38px 0;
  place-items: end center;
  border: 1px solid rgba(78, 78, 100, 0.38);
  border-radius: 12px;
  background: #141419;
  box-shadow: 0 0 8px rgba(10, 10, 14, 0.4);
  overflow: hidden;
}

.featured-project__media img {
  width: 100%;
  height: auto;
  filter: brightness(0.6);
  transform: scale(1);
  transform-origin: center bottom;
  transition: filter 0.4s ease, transform 0.4s ease;
}

.featured-project__media:hover img,
.featured-project__media:focus-visible img {
  filter: brightness(1);
  transform: scale(1.02);
}

.featured-project__media:focus-visible,
.featured-project__link:focus-visible,
.home-featured-projects__more a:focus-visible,
.featured-project__copy h3 a:focus-visible,
.featured-project__results-intro h3 a:focus-visible {
  outline: 2px solid #6461f1;
  outline-offset: 4px;
}

.featured-project__evidence {
  display: grid;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(78, 78, 100, 0.38);
}

.featured-project__evidence--split {
  grid-template-columns: minmax(260px, 1.15fr) minmax(280px, 1fr) auto;
  gap: 40px;
  align-items: end;
}

.featured-project__result {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.featured-project__result strong,
.featured-project__metrics strong {
  color: #e8e8f6;
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
}

.featured-project__metrics strong {
  width: fit-content;
  color: rgba(52, 120, 246, 0.78);
  -webkit-text-fill-color: currentColor;
}

.featured-project__result > span,
.featured-project__metrics > div > span {
  margin-top: 5px;
  color: #a8a8b6;
  font-size: 13px;
  line-height: 22px;
}

.featured-project__result small,
.featured-project__metrics small {
  margin-top: 4px;
  color: #6b6b7b;
  font-size: 12px;
  line-height: 20px;
}

.featured-project__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  color: #e8e8f6;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
  transition: color 0.15s ease-in;
}

.featured-project__link span {
  color: inherit;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.featured-project__link:hover {
  color: #6461f1;
}

.featured-project__link:hover span {
  transform: translateX(3px);
}

.featured-project__results-intro {
  display: grid;
  grid-template-columns: minmax(200px, 0.48fr) minmax(0, 1.52fr);
  gap: 64px;
  align-items: start;
}

.featured-project__results-intro > div {
  max-width: 660px;
}

.featured-project__metrics {
  display: grid;
  margin-top: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(78, 78, 100, 0.38);
}

.featured-project__metrics > div {
  display: flex;
  min-width: 0;
  padding: 28px 24px 28px 0;
  flex-direction: column;
}

.featured-project__metrics > div + div {
  padding-left: 24px;
}

.featured-project__contribution {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.featured-project__contribution > div {
  position: relative;
  min-height: 142px;
  padding: 24px;
  border: 1px solid rgba(78, 78, 100, 0.38);
  border-radius: 12px;
  background: rgba(20, 20, 25, 0.86);
  box-shadow: 0 0 8px rgba(10, 10, 14, 0.4);
  overflow: hidden;
}

.featured-project__contribution > div::after {
  content: "";
  position: absolute;
  right: -39px;
  bottom: -39px;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(168, 168, 182, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.featured-project__contribution > div > * {
  position: relative;
  z-index: 1;
}

.featured-project__tail {
  display: grid;
  margin-top: 28px;
  padding-top: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
  border-top: 1px solid rgba(78, 78, 100, 0.38);
}

.featured-project__tail p {
  max-width: 670px;
  margin-top: 0;
}

.home-featured-projects__more {
  display: flex;
  padding-top: 8px;
  justify-content: center;
}

.home-featured-projects__more a {
  display: inline-flex;
  min-height: 40px;
  padding: 8px 20px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(78, 78, 100, 0.48);
  border-radius: 9999px;
  color: #e8e8f6;
  background: #141419;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  transition: color 0.15s ease-in, border-color 0.2s ease, background-color 0.2s ease;
}

.home-featured-projects__more a span {
  color: inherit;
  font-size: 16px;
}

.home-featured-projects__more a:hover {
  border-color: rgba(100, 97, 241, 0.68);
  color: #6461f1;
  background: #1f1f26;
}

@media screen and (max-width: 768px) {
  .home-featured-projects {
    padding-top: 0;
  }

  .home-featured-projects__list::before {
    margin-right: 0;
    margin-left: 0;
  }

  .featured-project {
    padding: 56px 0;
  }

  .featured-project__intro,
  .featured-project__results-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .featured-project__copy h3,
  .featured-project__results-intro h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
  }

  .featured-project__decisions {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-project__decisions > div {
    min-height: 0;
    padding: 22px;
  }

  .featured-project__decisions > div + div {
    border-top: 0;
    border-left: 0;
  }

  .featured-project__decisions > div + div::before {
    top: 0;
    right: 22px;
    bottom: auto;
    left: 22px;
    width: auto;
    height: 1px;
  }

  .featured-project__media {
    aspect-ratio: 864 / 540;
    padding: 20px 20px 0;
  }

  .featured-project__evidence--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .featured-project__link {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 640px) {
  .featured-project__meta,
  .featured-project__metrics,
  .featured-project__contribution,
  .featured-project__tail {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-project__metrics > div {
    padding: 24px 0;
  }

  .featured-project__metrics > div + div {
    padding-left: 0;
  }

  .featured-project__tail {
    gap: 24px;
  }

  .featured-project__media {
    aspect-ratio: auto;
    padding: 14px 8px 0;
  }

  .featured-project__result strong,
  .featured-project__metrics strong {
    font-size: 28px;
    line-height: 36px;
  }
}

@media screen and (max-width: 420px) {
  .featured-project__meta {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-featured-projects *,
  .home-featured-projects *::before,
  .home-featured-projects *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
